I woke up and could barely walk I had pain

Patient: I woke up and could barely walk I had pain in both hips and it goes down the front and side of both legs the whole way down to my ankles the pain kind of feels like when u lay on your side to long but its in both legs and hips. Since I’ve been up and moving around its not as bad but the pain is still there. What could this be?

Symptoms: Pain in both hips and it goes down the front and side of both legs from hips to my ankles

Doctor: