Instead of two AND gates and an OR gate, I used one big AND-OR hybrid to reduce the transistor count to only 34 instead of 42. In an IC, this could be reduced to 26 transistors but that's with the convenience of having a body terminal which is only easily available in ICs. If I tried to do it with 26 transistors then without a body terminal there would be some voltage drop corresponding to the transistors activation voltage.