	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsc_hw_get_irq_status
_gsc_hw_get_irq_status:                 ## @gsc_hw_get_irq_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GSC_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rdi), %rax
	movq	%rax, %rdi
	callq	_readl
	movq	_GSC_IRQ_STATUS_OR_IRQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_GSC_IRQ_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GSC_IRQ_OVERRUN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSC_IRQ,8,3                    ## @GSC_IRQ
	.comm	_GSC_IRQ_STATUS_OR_IRQ,4,2      ## @GSC_IRQ_STATUS_OR_IRQ
	.comm	_GSC_IRQ_OVERRUN,4,2            ## @GSC_IRQ_OVERRUN
	.comm	_GSC_IRQ_DONE,4,2               ## @GSC_IRQ_DONE
	.no_dead_strip	_gsc_hw_get_irq_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsc_hw_get_irq_status
_gsc_hw_get_irq_status:                 ; @gsc_hw_get_irq_status
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GSC_IRQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GSC_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh3:
	adrp	x8, _GSC_IRQ_STATUS_OR_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSC_IRQ_STATUS_OR_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GSC_IRQ_DONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GSC_IRQ_DONE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _GSC_IRQ_OVERRUN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _GSC_IRQ_OVERRUN@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSC_IRQ,8,3                    ; @GSC_IRQ
	.comm	_GSC_IRQ_STATUS_OR_IRQ,4,2      ; @GSC_IRQ_STATUS_OR_IRQ
	.comm	_GSC_IRQ_OVERRUN,4,2            ; @GSC_IRQ_OVERRUN
	.comm	_GSC_IRQ_DONE,4,2               ; @GSC_IRQ_DONE
	.no_dead_strip	_gsc_hw_get_irq_status
.subsections_via_symbols
