You really need to learn how to draw circuit diagrams, I'm going to
have to redraw that to understand it.
+ve rail at the top, ground rail below it, general signal flow left to right....
[ well I've figured out what the circuit is, and its very confused... ]
You should perhaps explain exactly what you want to achieve, so we can figure out
a plausible approach.
BTW why use a 32V supply to charge a 12V battery?