Well, maybe I can give you a little hope too. I'm 37 and have a genetic defect in both hips. The right was fully impinged, the left is a few years behind. I thought my hip flexors just needed more stretching/strengthening...nope, full arthritis in both to the tune of a 70 year old. In December I had the right replaced, weathered the first month of recovery and when I could, got to physical therapy. I was on the court 4 months after and could run balls down I hadn't chased in 3+ years. I was a middling 4.5 and would say that out of the gate I'm a high 4.0 now but am working my way back up...a lot of it is re-organizing my game now that I can hit shots I haven't had in quite some time. The hip replacement increased my mobility and I haven't had any pain since. This has also taken pressure off my left hip after about 6 months and consistent workouts to protect everything. The left symptoms are drastically reduced, which will only push that replacement out further. At 40, I would think you will recover quick and get back to playing at or near the level you were as long as you keep putting the right pieces in place. Take advantage of physical therapy after the 3 month mark when the bone is fully fused.