Here is a simplified S36012 power supply circuit diagram: