	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_do_interrupt
_b43_do_interrupt:                      ## @b43_do_interrupt
	.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
	movq	%rdi, %rbx
	movq	_B43_MMIO_GEN_IRQ_REASON@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_b43_read32
	movl	%eax, %r14d
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	cmpl	$-1, %r14d
	je	LBB0_3
## %bb.1:
	andl	(%rbx), %r14d
	je	LBB0_3
## %bb.2:
	movq	_B43_MMIO_DMA0_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	andl	$130048, %eax                   ## imm = 0x1FC00
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_B43_MMIO_DMA1_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	andl	$56320, %eax                    ## imm = 0xDC00
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	_B43_MMIO_DMA2_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	andl	$56320, %eax                    ## imm = 0xDC00
	movq	8(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	_B43_MMIO_DMA3_REASON@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	andl	$121856, %eax                   ## imm = 0x1DC00
	movq	8(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	_B43_MMIO_DMA4_REASON@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_b43_read32
	andl	$56320, %eax                    ## imm = 0xDC00
	movq	8(%rbx), %rcx
	movl	%eax, 16(%rcx)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_b43_write32
	movq	_B43_MMIO_DMA0_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movq	_B43_MMIO_DMA1_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movq	_B43_MMIO_DMA2_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movl	(%r13), %esi
	movq	8(%rbx), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movl	(%r12), %esi
	movq	8(%rbx), %rax
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	callq	_b43_write32
	movq	_B43_MMIO_GEN_IRQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_b43_write32
	movl	%r14d, 16(%rbx)
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_GEN_IRQ_REASON,4,2    ## @B43_MMIO_GEN_IRQ_REASON
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_B43_MMIO_DMA0_REASON,4,2       ## @B43_MMIO_DMA0_REASON
	.comm	_B43_MMIO_DMA1_REASON,4,2       ## @B43_MMIO_DMA1_REASON
	.comm	_B43_MMIO_DMA2_REASON,4,2       ## @B43_MMIO_DMA2_REASON
	.comm	_B43_MMIO_DMA3_REASON,4,2       ## @B43_MMIO_DMA3_REASON
	.comm	_B43_MMIO_DMA4_REASON,4,2       ## @B43_MMIO_DMA4_REASON
	.comm	_B43_MMIO_GEN_IRQ_MASK,4,2      ## @B43_MMIO_GEN_IRQ_MASK
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.no_dead_strip	_b43_do_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_do_interrupt
_b43_do_interrupt:                      ; @b43_do_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x21, _B43_MMIO_GEN_IRQ_REASON@GOTPAGE
Lloh1:
	ldr	x21, [x21, _B43_MMIO_GEN_IRQ_REASON@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_b43_read32
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	ands	w20, w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x22, _B43_MMIO_DMA0_REASON@GOTPAGE
Lloh3:
	ldr	x22, [x22, _B43_MMIO_DMA0_REASON@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_read32
	and	w8, w0, #0x1fc00
	ldr	x9, [x19, #8]
	str	w8, [x9]
Lloh4:
	adrp	x23, _B43_MMIO_DMA1_REASON@GOTPAGE
Lloh5:
	ldr	x23, [x23, _B43_MMIO_DMA1_REASON@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_read32
	mov	w25, #56320
	and	w8, w0, w25
	ldr	x9, [x19, #8]
	str	w8, [x9, #4]
Lloh6:
	adrp	x24, _B43_MMIO_DMA2_REASON@GOTPAGE
Lloh7:
	ldr	x24, [x24, _B43_MMIO_DMA2_REASON@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_read32
	and	w8, w0, w25
	ldr	x9, [x19, #8]
	str	w8, [x9, #8]
Lloh8:
	adrp	x26, _B43_MMIO_DMA3_REASON@GOTPAGE
Lloh9:
	ldr	x26, [x26, _B43_MMIO_DMA3_REASON@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_b43_read32
	and	w8, w0, #0x1fc00
	and	w8, w8, #0xffffdfff
	ldr	x9, [x19, #8]
	str	w8, [x9, #12]
Lloh10:
	adrp	x27, _B43_MMIO_DMA4_REASON@GOTPAGE
Lloh11:
	ldr	x27, [x27, _B43_MMIO_DMA4_REASON@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_b43_read32
	and	w8, w0, w25
	ldr	x9, [x19, #8]
	str	w8, [x9, #16]
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_write32
	ldr	w1, [x22]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_b43_write32
	ldr	w1, [x23]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_b43_write32
	ldr	w1, [x24]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_b43_write32
	ldr	w1, [x26]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #12]
	mov	x0, x19
	bl	_b43_write32
	ldr	w1, [x27]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, #16]
	mov	x0, x19
	bl	_b43_write32
Lloh12:
	adrp	x8, _B43_MMIO_GEN_IRQ_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_MMIO_GEN_IRQ_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_write32
	str	w20, [x19, #16]
Lloh15:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_GEN_IRQ_REASON,4,2    ; @B43_MMIO_GEN_IRQ_REASON
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_B43_MMIO_DMA0_REASON,4,2       ; @B43_MMIO_DMA0_REASON
	.comm	_B43_MMIO_DMA1_REASON,4,2       ; @B43_MMIO_DMA1_REASON
	.comm	_B43_MMIO_DMA2_REASON,4,2       ; @B43_MMIO_DMA2_REASON
	.comm	_B43_MMIO_DMA3_REASON,4,2       ; @B43_MMIO_DMA3_REASON
	.comm	_B43_MMIO_DMA4_REASON,4,2       ; @B43_MMIO_DMA4_REASON
	.comm	_B43_MMIO_GEN_IRQ_MASK,4,2      ; @B43_MMIO_GEN_IRQ_MASK
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.no_dead_strip	_b43_do_interrupt
.subsections_via_symbols
