I would try and fix thyroid first. Same time i would do the following:
See an endocrinologist
Further labs. Like dhea s, acth, cortisol (to help check adrenals), thyroid antibodies, igf-1, fasting insulin,dht
Ultrasound of thyroid
Maybe even adrenals ultrasound
Pituitary MRI
Self Exam your balls
Also if you can’t get your middle leg to perform, use Viagra/Cialis for now.