	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_pstate_adjust_idle_pstate
_intel_pstate_adjust_idle_pstate:       ## @intel_pstate_adjust_idle_pstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	callq	_intel_pstate_get_scaled_busy
	movl	$100, %esi
	subl	%eax, %esi
	movq	%r14, %rdi
	callq	_pid_calc
	movl	%eax, %esi
	negl	%esi
	cmovsl	%eax, %esi
	movq	%rbx, %rdi
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	callq	_intel_pstate_pstate_increase
	jmp	LBB0_3
LBB0_1:
	callq	_intel_pstate_pstate_decrease
LBB0_3:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_intel_pstate_normal_mode       ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_pstate_adjust_idle_pstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_pstate_adjust_idle_pstate
_intel_pstate_adjust_idle_pstate:       ; @intel_pstate_adjust_idle_pstate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #16
	bl	_intel_pstate_get_scaled_busy
	mov	w8, #100
	sub	w1, w8, w0
	mov	x0, x20
	bl	_pid_calc
	cmp	w0, #0
	cneg	w1, w0, mi
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_intel_pstate_pstate_increase
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_intel_pstate_pstate_decrease
LBB0_3:
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_intel_pstate_normal_mode
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_pstate_adjust_idle_pstate
.subsections_via_symbols
