	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_fixed_event_detect     ## -- Begin function acpi_ev_fixed_event_detect
	.p2align	4, 0x90
_acpi_ev_fixed_event_detect:            ## @acpi_ev_fixed_event_detect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ACPI_INTERRUPT_NOT_HANDLED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_ev_fixed_event_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movq	_ACPI_REGISTER_PM1_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_acpi_hw_register_read
	movq	_ACPI_REGISTER_PM1_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_acpi_hw_register_read
	movl	-48(%rbp), %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_ACPI_NUM_FIXED_EVENTS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	$8, %r12d
	xorl	%ebx, %ebx
	movq	_acpi_gbl_fixed_event_info@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$16, %r12
	cmpq	%rax, %rbx
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	-8(%rcx,%r12), %rdx
	testq	%rdx, -48(%rbp)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx,%r12), %rcx
	testq	%rcx, -56(%rbp)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_acpi_os_fixed_event_count
	movq	%rbx, %rdi
	callq	_acpi_ev_fixed_event_dispatch
	orq	%rax, %r14
	movq	(%r15), %rax
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_INTERRUPT_NOT_HANDLED,8,3 ## @ACPI_INTERRUPT_NOT_HANDLED
	.comm	_ev_fixed_event_detect,4,2      ## @ev_fixed_event_detect
	.comm	_ACPI_REGISTER_PM1_STATUS,4,2   ## @ACPI_REGISTER_PM1_STATUS
	.comm	_ACPI_REGISTER_PM1_ENABLE,4,2   ## @ACPI_REGISTER_PM1_ENABLE
	.comm	_ACPI_DB_INTERRUPTS,4,2         ## @ACPI_DB_INTERRUPTS
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ## @ACPI_NUM_FIXED_EVENTS
	.comm	_acpi_gbl_fixed_event_info,8,3  ## @acpi_gbl_fixed_event_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_fixed_event_detect     ; -- Begin function acpi_ev_fixed_event_detect
	.p2align	2
_acpi_ev_fixed_event_detect:            ; @acpi_ev_fixed_event_detect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _ACPI_INTERRUPT_NOT_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_INTERRUPT_NOT_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _ev_fixed_event_detect@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ev_fixed_event_detect@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
Lloh6:
	adrp	x8, _ACPI_REGISTER_PM1_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_REGISTER_PM1_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_acpi_hw_register_read
Lloh9:
	adrp	x8, _ACPI_REGISTER_PM1_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_REGISTER_PM1_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_acpi_hw_register_read
	ldr	w0, [sp, #8]
	bl	_ACPI_DEBUG_PRINT
Lloh12:
	adrp	x21, _ACPI_NUM_FIXED_EVENTS@GOTPAGE
Lloh13:
	ldr	x21, [x21, _ACPI_NUM_FIXED_EVENTS@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x20, #0
Lloh14:
	adrp	x23, _acpi_gbl_fixed_event_info@GOTPAGE
Lloh15:
	ldr	x23, [x23, _acpi_gbl_fixed_event_info@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x22, x22, #16
	cmp	x20, x8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [sp, #8]
	ldr	x9, [x23]
	ldr	x11, [x9, x22]
	tst	x11, x10
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [sp]
	add	x9, x9, x22
	ldr	x9, [x9, #8]
	tst	x9, x10
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_acpi_os_fixed_event_count
	mov	x0, x20
	bl	_acpi_ev_fixed_event_dispatch
	orr	x19, x0, x19
	ldr	x8, [x21]
	b	LBB0_2
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_INTERRUPT_NOT_HANDLED,8,3 ; @ACPI_INTERRUPT_NOT_HANDLED
	.comm	_ev_fixed_event_detect,4,2      ; @ev_fixed_event_detect
	.comm	_ACPI_REGISTER_PM1_STATUS,4,2   ; @ACPI_REGISTER_PM1_STATUS
	.comm	_ACPI_REGISTER_PM1_ENABLE,4,2   ; @ACPI_REGISTER_PM1_ENABLE
	.comm	_ACPI_DB_INTERRUPTS,4,2         ; @ACPI_DB_INTERRUPTS
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ; @ACPI_NUM_FIXED_EVENTS
	.comm	_acpi_gbl_fixed_event_info,8,3  ; @acpi_gbl_fixed_event_info
.subsections_via_symbols
