Medicine

A 25-year-old man presents to the clinic for evaluation of infertility. He has a lifelong history of a productive cough and recurrent pulmonary infections. On his review of symptoms he has indicated chronic problems with abdominal pain, diarrhea, and difficulty gaining weight. He also has diabetes mellitus. His chest x-ray suggests bronchiectasis. Which is the most likely diagnosis?