They should tell you if the problem is with her hips or if there is a problem with her spine that is causing her difficulty walking and squatting, At her age, I do not think I would consider surgery even if the problem was surgically correctable, I think the recuperation period would be too hard on her.