If you think that was a comment on indian genes, take a step back and read it again. Its a farcical comment about how men do not treat women equally and those who don't are recessive morons.
It's highly ironic to say "its dehumanizing!!" to say to a man that his treatment of women makes him a lesser being with the amount of abuse, neglect, and forced labor women are expected to take on by the men "dehumanized" here.
I think he's making a sarcastic statement about the revealing of sexist men, who think that, "because they are men, they are superior" when reality is just balancing out the ingrained sexism in all of our societies.
Racist? I agree that it's not a particularly nice thing to say, and I'll change it, to avoid triggering people, but this is a new definition of the word "racist." Thanks for educating me.