	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_sleep
_acpi_sleep:                            ## @acpi_sleep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movq	_acpifd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ACPIIO_REQSLPSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-4(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpifd,4,2                     ## @acpifd
	.comm	_ACPIIO_REQSLPSTATE,4,2         ## @ACPIIO_REQSLPSTATE
	.comm	_EX_IOERR,4,2                   ## @EX_IOERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request sleep type (%d) failed"

	.no_dead_strip	_acpi_sleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_sleep
_acpi_sleep:                            ; @acpi_sleep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	w0, [x29, #-4]
Lloh0:
	adrp	x8, _acpifd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _acpifd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ACPIIO_REQSLPSTATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPIIO_REQSLPSTATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_ioctl
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EX_IOERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EX_IOERR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldur	w2, [x29, #-4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_acpifd,4,2                     ; @acpifd
	.comm	_ACPIIO_REQSLPSTATE,4,2         ; @ACPIIO_REQSLPSTATE
	.comm	_EX_IOERR,4,2                   ; @EX_IOERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request sleep type (%d) failed"

	.no_dead_strip	_acpi_sleep
.subsections_via_symbols
