	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_isr
_ipw_isr:                               ## @ipw_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	leaq	8(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	_STATUS_INT_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.3:
	movq	_IPW_INTA_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipw_read32
	movl	%eax, %r12d
	movq	_IPW_INTA_MASK_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ipw_read32
	cmpl	$-1, %r12d
	je	LBB0_4
## %bb.5:
	movl	%eax, %r15d
	movq	_IPW_INTA_MASK_ALL@GOTPCREL(%rip), %rax
	andl	%r12d, %r15d
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	___ipw_disable_interrupts
	andl	(%r12), %r15d
	movq	_IPW_INTA_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_ipw_write32
	movl	%r15d, 4(%rbx)
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_tasklet_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r13
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_IPW_WARNING
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_8:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_STATUS_INT_ENABLED,4,2         ## @STATUS_INT_ENABLED
	.comm	_IPW_INTA_RW,4,2                ## @IPW_INTA_RW
	.comm	_IPW_INTA_MASK_R,4,2            ## @IPW_INTA_MASK_R
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ INTA == 0xFFFFFFFF\n"

	.comm	_IPW_INTA_MASK_ALL,4,2          ## @IPW_INTA_MASK_ALL
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ipw_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_isr
_ipw_isr:                               ; @ipw_isr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x1
	add	x19, x1, #8
	mov	x0, x19
	bl	_spin_lock
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _STATUS_INT_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_INT_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
Lloh3:
	adrp	x22, _IPW_INTA_RW@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IPW_INTA_RW@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_ipw_read32
	mov	x21, x0
Lloh5:
	adrp	x8, _IPW_INTA_MASK_R@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPW_INTA_MASK_R@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipw_read32
	cmn	w21, #1
	b.eq	LBB0_6
; %bb.3:
Lloh8:
	adrp	x23, _IPW_INTA_MASK_ALL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IPW_INTA_MASK_ALL@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w21, w0, w21
	tst	w21, w8
	b.eq	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	___ipw_disable_interrupts
	ldr	w8, [x23]
	and	w21, w21, w8
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_ipw_write32
	str	w21, [x20, #4]
	add	x0, x20, #12
	bl	_tasklet_schedule
Lloh10:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_WARNING
LBB0_7:
Lloh16:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh17:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock
LBB0_9:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_STATUS_INT_ENABLED,4,2         ; @STATUS_INT_ENABLED
	.comm	_IPW_INTA_RW,4,2                ; @IPW_INTA_RW
	.comm	_IPW_INTA_MASK_R,4,2            ; @IPW_INTA_MASK_R
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ INTA == 0xFFFFFFFF\n"

	.comm	_IPW_INTA_MASK_ALL,4,2          ; @IPW_INTA_MASK_ALL
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ipw_isr
.subsections_via_symbols
