A patient presents with weakness of hip abduction and a positive Trendelenburg sign on the right side.Which nerve is most likely injured?