The surgery-related damage to the ovarian reserve is positively related to whether the endometriomas are bilateral and to the cyst size and is negatively related to the preoperative serum AMH level of the patients. The gene discussed is AMH; the disease is cyst.