	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_isr                         ## -- Begin function il_isr
	.p2align	4, 0x90
_il_isr:                                ## @il_isr
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	_CSR_INT_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	__il_rd
	movl	%eax, %r15d
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__il_wr
	movq	_CSR_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__il_rd
	movl	%eax, %r14d
	movq	_CSR_FH_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	__il_rd
	movl	%eax, %r12d
	movl	%r14d, %eax
	orl	%r12d, %eax
	je	LBB0_3
## %bb.5:
	cmpl	$-1, %r14d
	je	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	andl	$-16, %eax
	cmpl	$-1515870816, %eax              ## imm = 0xA5A5A5A0
	je	LBB0_7
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_D_ISR
	movq	_CSR_INT_BIT_SCD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	xorl	%edi, %edi
	orl	%r12d, %r14d
	setne	%dil
	callq	_likely
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	8(%rbx), %rdi
	callq	_tasklet_schedule
	jmp	LBB0_10
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_ISR
	movq	_S_INT_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_il_enable_interrupts
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_IL_WARN
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
LBB0_10:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_11:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_CSR_INT_MASK,4,2               ## @CSR_INT_MASK
	.comm	_CSR_INT,4,2                    ## @CSR_INT
	.comm	_CSR_FH_INT_STATUS,4,2          ## @CSR_FH_INT_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignore interrupt, inta == 0, inta_fh == 0\n"

L_.str.1:                               ## @.str.1
	.asciz	"HARDWARE GONE?? INTA == 0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"ISR inta 0x%08x, enabled 0x%08x, fh 0x%08x\n"

	.comm	_CSR_INT_BIT_SCD,4,2            ## @CSR_INT_BIT_SCD
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_S_INT_ENABLED,4,2              ## @S_INT_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_isr                         ; -- Begin function il_isr
	.p2align	2
_il_isr:                                ; @il_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x21, _CSR_INT_MASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CSR_INT_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	__il_rd
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	__il_wr
Lloh2:
	adrp	x8, _CSR_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR_INT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__il_rd
	mov	x21, x0
Lloh5:
	adrp	x8, _CSR_FH_INT_STATUS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CSR_FH_INT_STATUS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	__il_rd
	orr	w8, w21, w0
	cbz	w8, LBB0_5
; %bb.2:
	and	w8, w21, #0xfffffff0
	cmn	w21, #1
	mov	w9, #42400
	movk	w9, #42405, lsl #16
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_8
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_IL_WARN
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_ISR
Lloh14:
	adrp	x8, _S_INT_ENABLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_INT_ENABLED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_il_enable_interrupts
LBB0_7:
Lloh17:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh18:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	mov	x22, x0
	stp	x20, x22, [sp, #8]
	str	x21, [sp]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_ISR
Lloh21:
	adrp	x8, _CSR_INT_BIT_SCD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CSR_INT_BIT_SCD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	bic	w8, w21, w8
	orr	w8, w8, w22
	cmp	w8, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_10
; %bb.9:
	add	x0, x19, #8
	bl	_tasklet_schedule
LBB0_10:
Lloh24:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_11:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_12:
	ldr	w0, [x20]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_CSR_INT_MASK,4,2               ; @CSR_INT_MASK
	.comm	_CSR_INT,4,2                    ; @CSR_INT
	.comm	_CSR_FH_INT_STATUS,4,2          ; @CSR_FH_INT_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignore interrupt, inta == 0, inta_fh == 0\n"

l_.str.1:                               ; @.str.1
	.asciz	"HARDWARE GONE?? INTA == 0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"ISR inta 0x%08x, enabled 0x%08x, fh 0x%08x\n"

	.comm	_CSR_INT_BIT_SCD,4,2            ; @CSR_INT_BIT_SCD
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_S_INT_ENABLED,4,2              ; @S_INT_ENABLED
.subsections_via_symbols
