Anatomy

Which of the following nerve injury leads to positive Trendelenburg test?