Sorry to hear that - hope we can help, or at least encourage you.
Have you been offered physiotherapy - if not , ask.
A rowing machine might help as you are in control of the exercise - if your put most of your push on the other leg, you will still get movement in the bad leg, & gradually increase the push on it.
Your HbA1c is high, & steps to reducing it will help heal. Reducing carbs is a useful step. You will find plenty of diet advice on the forum. It makes a difference - I was becoming crippled with leg muscle pains, & low carb restored my health.