	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_suspend                   ## -- Begin function acpi_suspend
	.p2align	4, 0x90
_acpi_suspend:                          ## @acpi_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$0, -32(%rbp)
	movq	_PM_SUSPEND_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -24(%rbp)
	movq	_PM_SUSPEND_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	$0, -16(%rbp)
	movq	_PM_SUSPEND_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	cmpl	$5, %edi
	jg	LBB0_7
## %bb.1:
	movslq	%edi, %rax
	movl	-32(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_9
## %bb.3:
	movl	%eax, %edi
	addq	$32, %rsp
	popq	%rbp
	jmp	_pm_suspend                     ## TAILCALL
LBB0_4:
	cmpl	$4, %edi
	jne	LBB0_7
## %bb.5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_9
## %bb.6:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbp
	jmp	_hibernate                      ## TAILCALL
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_SUSPEND_STANDBY,4,2         ## @PM_SUSPEND_STANDBY
	.comm	_PM_SUSPEND_MEM,4,2             ## @PM_SUSPEND_MEM
	.comm	_PM_SUSPEND_MAX,4,2             ## @PM_SUSPEND_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_suspend                   ; -- Begin function acpi_suspend
	.p2align	2
_acpi_suspend:                          ; @acpi_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, _PM_SUSPEND_STANDBY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PM_SUSPEND_STANDBY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	wzr, w8, [sp]
Lloh6:
	adrp	x8, _PM_SUSPEND_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PM_SUSPEND_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
Lloh9:
	adrp	x8, _PM_SUSPEND_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PM_SUSPEND_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #16]
	cmp	w0, #5
	b.gt	LBB0_7
; %bb.1:
	mov	x8, sp
	ldr	w8, [x8, w0, sxtw #2]
	cbz	w8, LBB0_4
; %bb.2:
	ldur	x9, [x29, #-8]
Lloh12:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_pm_suspend
LBB0_4:
	cmp	w0, #4
	b.ne	LBB0_7
; %bb.5:
	ldur	x8, [x29, #-8]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_hibernate
LBB0_7:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldur	x9, [x29, #-8]
Lloh21:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.8:
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_SUSPEND_STANDBY,4,2         ; @PM_SUSPEND_STANDBY
	.comm	_PM_SUSPEND_MEM,4,2             ; @PM_SUSPEND_MEM
	.comm	_PM_SUSPEND_MAX,4,2             ; @PM_SUSPEND_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
