+ if (flags == SYS_OVERRIDE_DISABLE) {
+
+ printf("Process %s [%d] disabling system_override()\n", current_proc()->p_comm, current_proc()->p_pid);
+
+ lck_mtx_lock(&sys_override_lock);
+
+ if (io_throttle_assert_cnt > 0)
+ sys_override_io_throttle(THROTTLE_IO_ENABLE);
+ if (cpu_throttle_assert_cnt > 0)
+ sys_override_cpu_throttle(CPU_THROTTLE_ENABLE);
+
+ sys_override_enabled = 0;
+
+ lck_mtx_unlock(&sys_override_lock);
+
+ goto out;
+ }
+