	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_valid_gpe_event        ## -- Begin function acpi_ev_valid_gpe_event
	.p2align	4, 0x90
_acpi_ev_valid_gpe_event:               ## @acpi_ev_valid_gpe_event
	.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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_ACPI_FUNCTION_ENTRY
	movq	_acpi_gbl_gpe_xrupt_list_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_FALSE@GOTPCREL(%rip), %rax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	8(%rcx), %rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	(%rsi), %rsi
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	16(%rsi), %rdi
	cmpq	%rbx, %rdi
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	8(%rsi), %edx
	shll	$3, %edx
	movslq	%edx, %rdx
	leaq	(%rdi,%rdx,4), %rdx
	cmpq	%rbx, %rdx
	jbe	LBB0_7
## %bb.6:
	movq	%r8, %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_gbl_gpe_xrupt_list_head,8,3 ## @acpi_gbl_gpe_xrupt_list_head
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_valid_gpe_event        ; -- Begin function acpi_ev_valid_gpe_event
	.p2align	2
_acpi_ev_valid_gpe_event:               ; @acpi_ev_valid_gpe_event
	.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
	bl	_ACPI_FUNCTION_ENTRY
Lloh0:
	adrp	x8, _acpi_gbl_gpe_xrupt_list_head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _acpi_gbl_gpe_xrupt_list_head@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.1:
Lloh3:
	adrp	x10, _FALSE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9]
	cbz	x9, LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x11, [x9, #8]
	cbnz	x11, LBB0_5
	b	LBB0_2
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	x11, [x11]
	cbz	x11, LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11, #16]
	cmp	x12, x19
	b.hi	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w13, [x11, #8]
	lsl	w13, w13, #3
	add	x12, x12, w13, sxtw #2
	cmp	x12, x19
	b.ls	LBB0_4
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x8, x10
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_gbl_gpe_xrupt_list_head,8,3 ; @acpi_gbl_gpe_xrupt_list_head
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
