	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpuidle_disable_device         ## -- Begin function cpuidle_disable_device
	.p2align	4, 0x90
_cpuidle_disable_device:                ## @cpuidle_disable_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_cpuidle_get_driver
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	_cpuidle_curr_governor@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	$0, (%rbx)
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_5:
	movq	%rbx, %rdi
	callq	_cpuidle_remove_state_sysfs
	movq	_enabled_devices@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpuidle_curr_governor,8,3      ## @cpuidle_curr_governor
	.comm	_enabled_devices,4,2            ## @enabled_devices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpuidle_disable_device         ; -- Begin function cpuidle_disable_device
	.p2align	2
_cpuidle_disable_device:                ; @cpuidle_disable_device
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_cpuidle_get_driver
	cbz	w0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _cpuidle_curr_governor@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpuidle_curr_governor@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	str	xzr, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_cpuidle_remove_state_sysfs
Lloh3:
	adrp	x8, _enabled_devices@GOTPAGE
Lloh4:
	ldr	x8, [x8, _enabled_devices@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cpuidle_curr_governor,8,3      ; @cpuidle_curr_governor
	.comm	_enabled_devices,4,2            ; @enabled_devices
.subsections_via_symbols
