Comp org was a beast of a class when I took it 25 years ago, and it sounds like that hasn’t changed a bit. I didn’t pass it so much as I survived it. Pre-med students at my alma mater talked about organic chemistry being a weed out class, and I think comp org was a weed out class for our computer science program.
I encourage you to avail yourself of any tutoring resources that may be available to you, including fellow students, because dropping or failing could delay your graduation by a semester or more. Depending on the size of your university, the structure/curriculum map of your program, how often the classes are offered, etc.
You have my utmost sympathy for what you’re going through, both in terms of academics and gender identity/dysphoria. Hang in there.