	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_status
_get_status:                            ## @get_status
	.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	_num_gpes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ACPI_NUM_FIXED_EVENTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	xorl	%r12d, %r12d
	cmpq	%rdi, %rcx
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	%rdi, %rax
	jle	LBB0_6
## %bb.2:
	movq	%rdx, %r15
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_acpi_get_gpe_device
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_ACPI_EXCEPTION
LBB0_4:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	subq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_get_event_status          ## TAILCALL
LBB0_5:
	movl	(%r15), %edi
	movq	_ACPI_NOT_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_get_gpe_status            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_num_gpes,8,3                   ## @num_gpes
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ## @ACPI_NUM_FIXED_EVENTS
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_NOT_FOUND,4,2               ## @AE_NOT_FOUND
	.comm	_ACPI_NOT_ISR,4,2               ## @ACPI_NOT_ISR
	.no_dead_strip	_get_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_status
_get_status:                            ; @get_status
	.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, _num_gpes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_gpes@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ACPI_NUM_FIXED_EVENTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_NUM_FIXED_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, x8
	cmp	x9, x0
	b.le	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cmp	x8, x0
	b.le	LBB0_6
; %bb.2:
	mov	x21, x2
	mov	x0, x20
	mov	x1, x2
	bl	_acpi_get_gpe_device
	cbz	w0, LBB0_7
; %bb.3:
	mov	x22, x0
	mov	x0, x20
	bl	_ACPI_EXCEPTION
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	sub	x0, x20, x8
	mov	x1, 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
	b	_acpi_get_event_status
LBB0_7:
Lloh6:
	adrp	x8, _ACPI_NOT_ISR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_NOT_ISR@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, 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
	b	_acpi_get_gpe_status
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_num_gpes,8,3                   ; @num_gpes
	.comm	_ACPI_NUM_FIXED_EVENTS,8,3      ; @ACPI_NUM_FIXED_EVENTS
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_NOT_FOUND,4,2               ; @AE_NOT_FOUND
	.comm	_ACPI_NOT_ISR,4,2               ; @ACPI_NOT_ISR
	.no_dead_strip	_get_status
.subsections_via_symbols
