A Thermodynamic Criterion for the Formation of Circumplanetary Disks | Synapse