Caster Semenya is XY with a DSD (5-ARD), and absolutely should not compete with females. The same goes for Imane Khelif who was the same DSD.
People with this condition have internal testes, a male level of testosterone, and a male level of muscle development. That a doctor assigned them female at birth and put a F on the birth certificate does not change this.
The upshot of this is that women with a genetic advantage are banned, but men with a genetic advantage aren't; is this not straightforwardly sex discrimination?
That's dumb as fuck. Olympics have always been for genetic freaks, whatever line we draw between "male" and "female" categories is completely arbitrary. Using reproductive organs was bad enough, are we now supposed to look at microscopic chains of amino acids to sort people? IMO, this decision just serves to further illustrate the insanity that is gender segregation.