	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil6210_hardirq
_wil6210_hardirq:                       ## @wil6210_hardirq
	.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	%rsi, %r15
	movl	%edi, %r14d
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_RGF_DMA_PSEUDO_CAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_wil_r
	movl	%eax, %ebx
	testl	%eax, %eax
	sete	%al
	cmpb	$-1, %bl
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_wil6210_debug_irq_mask
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ebx, %edi
	callq	_trace_wil6210_irq_pseudo
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_wil_dbg_irq
	movq	%r15, %rdi
	callq	_wil6210_mask_irq_pseudo
	movq	_BIT_DMA_PSEUDO_CAUSE_RX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	*(%r15)
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmoveq	%rcx, %r12
LBB0_5:
	movq	_BIT_DMA_PSEUDO_CAUSE_TX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	*8(%r15)
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmoveq	%rcx, %r12
LBB0_7:
	movq	_BIT_DMA_PSEUDO_CAUSE_MISC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.9:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_wil6210_irq_misc
	movq	%rax, %rcx
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	cmoveq	%rax, %r12
	cmpq	%rax, %r12
	je	LBB0_12
	jmp	LBB0_11
LBB0_8:
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r12
	je	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	callq	_wil6210_unmask_irq_pseudo
	movq	%r12, %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,8,3                ## @IRQ_HANDLED
	.comm	_RGF_DMA_PSEUDO_CAUSE,4,2       ## @RGF_DMA_PSEUDO_CAUSE
	.comm	_IRQ_NONE,8,3                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pseudo IRQ 0x%08x\n"

	.comm	_BIT_DMA_PSEUDO_CAUSE_RX,4,2    ## @BIT_DMA_PSEUDO_CAUSE_RX
	.comm	_IRQ_WAKE_THREAD,8,3            ## @IRQ_WAKE_THREAD
	.comm	_BIT_DMA_PSEUDO_CAUSE_TX,4,2    ## @BIT_DMA_PSEUDO_CAUSE_TX
	.comm	_BIT_DMA_PSEUDO_CAUSE_MISC,4,2  ## @BIT_DMA_PSEUDO_CAUSE_MISC
	.no_dead_strip	_wil6210_hardirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil6210_hardirq
_wil6210_hardirq:                       ; @wil6210_hardirq
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _RGF_DMA_PSEUDO_CAUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RGF_DMA_PSEUDO_CAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wil_r
	mov	x21, x0
	mov	w8, #255
	bics	wzr, w8, w0
	ccmp	w0, #0, #4, ne
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_wil6210_debug_irq_mask
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
LBB0_3:
	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
LBB0_4:
	mov	x0, x21
	bl	_trace_wil6210_irq_pseudo
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_wil_dbg_irq
	mov	x0, x19
	bl	_wil6210_mask_irq_pseudo
Lloh11:
	adrp	x8, _BIT_DMA_PSEUDO_CAUSE_RX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BIT_DMA_PSEUDO_CAUSE_RX@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x23, _IRQ_WAKE_THREAD@GOTPAGE
Lloh15:
	ldr	x23, [x23, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x19]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	ldr	x8, [x23]
	cmp	x0, x8
	csel	x22, x8, x22, eq
LBB0_6:
Lloh16:
	adrp	x8, _BIT_DMA_PSEUDO_CAUSE_TX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BIT_DMA_PSEUDO_CAUSE_TX@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	ldr	x8, [x23]
	cmp	x0, x8
	csel	x22, x8, x22, eq
LBB0_8:
Lloh19:
	adrp	x8, _BIT_DMA_PSEUDO_CAUSE_MISC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BIT_DMA_PSEUDO_CAUSE_MISC@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_wil6210_irq_misc
	mov	x8, x0
	ldr	x0, [x23]
	cmp	x8, x0
	csel	x22, x0, x22, eq
	cmp	x22, x0
	b.eq	LBB0_3
	b	LBB0_11
LBB0_10:
	ldr	x0, [x23]
	cmp	x22, x0
	b.eq	LBB0_3
LBB0_11:
	mov	x0, x19
	bl	_wil6210_unmask_irq_pseudo
	mov	x0, x22
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,8,3                ; @IRQ_HANDLED
	.comm	_RGF_DMA_PSEUDO_CAUSE,4,2       ; @RGF_DMA_PSEUDO_CAUSE
	.comm	_IRQ_NONE,8,3                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pseudo IRQ 0x%08x\n"

	.comm	_BIT_DMA_PSEUDO_CAUSE_RX,4,2    ; @BIT_DMA_PSEUDO_CAUSE_RX
	.comm	_IRQ_WAKE_THREAD,8,3            ; @IRQ_WAKE_THREAD
	.comm	_BIT_DMA_PSEUDO_CAUSE_TX,4,2    ; @BIT_DMA_PSEUDO_CAUSE_TX
	.comm	_BIT_DMA_PSEUDO_CAUSE_MISC,4,2  ; @BIT_DMA_PSEUDO_CAUSE_MISC
	.no_dead_strip	_wil6210_hardirq
.subsections_via_symbols
