A 34-year-old man presents with primary infertility after trying to conceive for 3 years. His past medical history is unremarkable, and he has normal secondary sexual characteristics. A semen analysis shows azoospermia, while hormonal evaluation reveals elevated FSH and normal testosterone levels. Karyotyping is normal (46,XY). The next step in the diagnostic evaluation should be: