for the following circuit, I need to complete a truth table and determine the logic function that the circuit implements.

I'm not sure whether Q6 is able to be in SAT mode while Q3 is in REVERSE and Q4+Q5 both are OFF, since on the one hand maybe Q6 can conduct through BE junction diode independently on Q4/Q5 states, but on the other hand if Q6 conducts through BE junction, then It forces Q9 to conduct and if Q4+Q5 are off maybe Q7 can conduct with Q8 and I get a short in the output.

Please help me with such confusing circuits. In addition I'm not sure how to determine Q7 states when Q6 is SAT and Q4+Q5 are off or Q6 is OFF and Q4/Q5 are in SAT, also my table does not much the table in the solution.

**My table:**

The table in the solution:

Thanks in advance!

The table in the solution:

Thanks in advance!