	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_pcie_topaz_interrupt
_qtnf_pcie_topaz_interrupt:             ## @qtnf_pcie_topaz_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_get_bus_priv
	movq	%rax, %rbx
	cmpl	$0, 16(%rax)
	je	LBB0_1
LBB0_5:
	incl	12(%rbx)
	leaq	8(%rbx), %rdi
	callq	_qtnf_shm_ipc_irq_handler
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_qtnf_shm_ipc_irq_handler
	movq	%r14, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_disable_rx_irqs
	movq	%r14, %rdi
	callq	___napi_schedule
LBB0_7:
	movq	%rbx, %rdi
	callq	_tasklet_hi_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_qtnf_topaz_intx_asserted
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$0, 16(%rbx)
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_qtnf_deassert_intx
	jmp	LBB0_5
LBB0_2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_qtnf_pcie_topaz_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_pcie_topaz_interrupt
_qtnf_pcie_topaz_interrupt:             ; @qtnf_pcie_topaz_interrupt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x0, x1
	bl	_get_bus_priv
	mov	x19, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_5
LBB0_1:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x0, x19, #8
	bl	_qtnf_shm_ipc_irq_handler
	add	x0, x19, #4
	bl	_qtnf_shm_ipc_irq_handler
	mov	x0, x20
	bl	_napi_schedule_prep
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_disable_rx_irqs
	mov	x0, x20
	bl	___napi_schedule
LBB0_3:
	mov	x0, x19
	bl	_tasklet_hi_schedule
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_qtnf_topaz_intx_asserted
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_1
; %bb.7:
	mov	x0, x19
	bl	_qtnf_deassert_intx
	b	LBB0_1
LBB0_8:
Lloh2:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_qtnf_pcie_topaz_interrupt
.subsections_via_symbols
