	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_set_firmware_waking_vector ## -- Begin function acpi_set_firmware_waking_vector
	.p2align	4, 0x90
_acpi_set_firmware_waking_vector:       ## @acpi_set_firmware_waking_vector
	.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
	movl	%edi, %ebx
	leaq	_acpi_set_firmware_waking_vector(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	movq	_acpi_gbl_FACS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, 16(%rax)
	cmpl	$33, (%rax)
	jl	LBB0_3
## %bb.1:
	cmpl	$0, 4(%rax)
	jle	LBB0_3
## %bb.2:
	movq	$0, 8(%rax)
LBB0_3:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_gbl_FACS,8,3              ## @acpi_gbl_FACS
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_set_firmware_waking_vector ; -- Begin function acpi_set_firmware_waking_vector
	.p2align	2
_acpi_set_firmware_waking_vector:       ; @acpi_set_firmware_waking_vector
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, _acpi_set_firmware_waking_vector@PAGE
Lloh1:
	add	x0, x0, _acpi_set_firmware_waking_vector@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
Lloh2:
	adrp	x8, _acpi_gbl_FACS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _acpi_gbl_FACS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	w19, [x8, #16]
	ldr	w9, [x8]
	cmp	w9, #33
	b.lt	LBB0_3
; %bb.1:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.2:
	str	xzr, [x8, #8]
LBB0_3:
Lloh5:
	adrp	x8, _AE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_gbl_FACS,8,3              ; @acpi_gbl_FACS
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
