Anatomy

A 32-year-old male is admitted to the emergency department with groin pain. Examination reveals that the patient has an indirect inguinal hernia. Which of the following nerves is compressed by the herniating structure in the inguinal canal to give the patient pain?