My dog is also 12. Spent about a grand on her six weeks ago at the vet.
The vet also told me about some other potential problems (heart murmur and cancer). I love my dog, but I’m not throwing a ton of money at more surgery so that she’ll make 14 years instead of 13.