A 15-yeаr-оld presents with sudden intense right scrоtаl pаin, nausea, and vоmiting. The ultrasound shows an enlarged hypoechoic right scrotum with decreased arterial flow. The left scrotum is normal. This is most consistent with