	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_setter_handle
_acpi_setter_handle:                    ## @acpi_setter_handle
	.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
	movq	_cm_setv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	(%rdi), %eax
	btl	%esi, %eax
	jae	LBB0_4
## %bb.2:
	movl	4(%rdi), %edi
	movq	%rbx, %rsi
	callq	_acpi_get_handle
	movq	%rax, %rcx
	movq	_AE_OK@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_warn
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cm_setv,8,3                    ## @cm_setv
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_AE_OK,8,3                      ## @AE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error finding %s\n"

	.no_dead_strip	_acpi_setter_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_setter_handle
_acpi_setter_handle:                    ; @acpi_setter_handle
	.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
Lloh0:
	adrp	x8, _cm_setv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cm_setv@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x19, [x8, w1, sxtw #3]
	cbz	x19, LBB0_5
; %bb.1:
	ldr	w8, [x0]
	lsr	w8, w8, w1
	tbz	w8, #0, LBB0_5
; %bb.2:
	ldr	w0, [x0, #4]
	mov	x1, x19
	bl	_acpi_get_handle
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_warn
LBB0_5:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cm_setv,8,3                    ; @cm_setv
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_AE_OK,8,3                      ; @AE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error finding %s\n"

	.no_dead_strip	_acpi_setter_handle
.subsections_via_symbols
