	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eps_cpu_exit
_eps_cpu_exit:                          ## @eps_cpu_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r12d
	movq	_eps_cpu@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movq	_MSR_IA32_PERF_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsr
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_eps_set_state
	movl	(%r15), %edi
	callq	_cpufreq_frequency_table_put_attr
	movq	(%r13), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_kfree
	movq	(%r13), %rax
	movq	$0, (%rax,%r12,8)
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eps_cpu,8,3                    ## @eps_cpu
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MSR_IA32_PERF_STATUS,4,2       ## @MSR_IA32_PERF_STATUS
	.no_dead_strip	_eps_cpu_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eps_cpu_exit
_eps_cpu_exit:                          ; @eps_cpu_exit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w19, [x0]
Lloh0:
	adrp	x22, _eps_cpu@GOTPAGE
Lloh1:
	ldr	x22, [x22, _eps_cpu@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x21, [x8, x19, lsl #3]
	cbz	x21, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _MSR_IA32_PERF_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSR_IA32_PERF_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_rdmsr
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_eps_set_state
	ldr	w0, [x20]
	bl	_cpufreq_frequency_table_put_attr
	ldr	x8, [x22]
	lsl	x19, x19, #3
	ldr	x0, [x8, x19]
	bl	_kfree
	mov	w0, #0
	ldr	x8, [x22]
	str	xzr, [x8, x19]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_eps_cpu,8,3                    ; @eps_cpu
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MSR_IA32_PERF_STATUS,4,2       ; @MSR_IA32_PERF_STATUS
	.no_dead_strip	_eps_cpu_exit
.subsections_via_symbols
