	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_install_fadt_gpes      ## -- Begin function acpi_ev_install_fadt_gpes
	.p2align	4, 0x90
_acpi_ev_install_fadt_gpes:             ## @acpi_ev_install_fadt_gpes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ev_install_fadt_gpes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_acpi_gbl_fadt_gpe_device@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_acpi_gbl_gpe_fadt_blocks@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %esi
	callq	_acpi_ev_initialize_gpe_block
	movl	(%r15), %edi
	movq	(%r12), %rax
	movl	4(%rax), %esi
	callq	_acpi_ev_initialize_gpe_block
	movl	(%r14), %edi
	callq	_acpi_ut_release_mutex
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ev_install_fadt_gpes,4,2       ## @ev_install_fadt_gpes
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
	.comm	_acpi_gbl_fadt_gpe_device,4,2   ## @acpi_gbl_fadt_gpe_device
	.comm	_acpi_gbl_gpe_fadt_blocks,8,3   ## @acpi_gbl_gpe_fadt_blocks
	.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_ev_install_fadt_gpes      ; -- Begin function acpi_ev_install_fadt_gpes
	.p2align	2
_acpi_ev_install_fadt_gpes:             ; @acpi_ev_install_fadt_gpes
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _ev_install_fadt_gpes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ev_install_fadt_gpes@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x20, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_acpi_ut_acquire_mutex
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, _acpi_gbl_fadt_gpe_device@GOTPAGE
Lloh6:
	ldr	x21, [x21, _acpi_gbl_fadt_gpe_device@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh7:
	adrp	x22, _acpi_gbl_gpe_fadt_blocks@GOTPAGE
Lloh8:
	ldr	x22, [x22, _acpi_gbl_gpe_fadt_blocks@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w1, [x8]
	bl	_acpi_ev_initialize_gpe_block
	ldr	w0, [x21]
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	bl	_acpi_ev_initialize_gpe_block
	ldr	w0, [x20]
	bl	_acpi_ut_release_mutex
Lloh9:
	adrp	x8, _AE_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ev_install_fadt_gpes,4,2       ; @ev_install_fadt_gpes
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
	.comm	_acpi_gbl_fadt_gpe_device,4,2   ; @acpi_gbl_fadt_gpe_device
	.comm	_acpi_gbl_gpe_fadt_blocks,8,3   ; @acpi_gbl_gpe_fadt_blocks
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
