	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moxart_mac_interrupt
_moxart_mac_interrupt:                  ## @moxart_mac_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_REG_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_XPKT_OK_INT_STS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_moxart_tx_finished
LBB0_2:
	movq	_RPKT_FINISH@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_RPKT_FINISH_M@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	16(%r14), %edi
	movl	%edi, 16(%r14)
	movq	_REG_INTERRUPT_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	%r14, %rdi
	callq	___napi_schedule
LBB0_5:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_INTERRUPT_STATUS,8,3       ## @REG_INTERRUPT_STATUS
	.comm	_XPKT_OK_INT_STS,4,2            ## @XPKT_OK_INT_STS
	.comm	_RPKT_FINISH,4,2                ## @RPKT_FINISH
	.comm	_RPKT_FINISH_M,4,2              ## @RPKT_FINISH_M
	.comm	_REG_INTERRUPT_MASK,8,3         ## @REG_INTERRUPT_MASK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_moxart_mac_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moxart_mac_interrupt
_moxart_mac_interrupt:                  ; @moxart_mac_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _REG_INTERRUPT_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_INTERRUPT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
Lloh3:
	adrp	x8, _XPKT_OK_INT_STS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XPKT_OK_INT_STS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_moxart_tx_finished
LBB0_2:
Lloh6:
	adrp	x8, _RPKT_FINISH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RPKT_FINISH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_napi_schedule_prep
	cbz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _RPKT_FINISH_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPKT_FINISH_M@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w0, w9, w8
	str	w0, [x19, #16]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _REG_INTERRUPT_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_INTERRUPT_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	bl	___napi_schedule
LBB0_5:
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_INTERRUPT_STATUS,8,3       ; @REG_INTERRUPT_STATUS
	.comm	_XPKT_OK_INT_STS,4,2            ; @XPKT_OK_INT_STS
	.comm	_RPKT_FINISH,4,2                ; @RPKT_FINISH
	.comm	_RPKT_FINISH_M,4,2              ; @RPKT_FINISH_M
	.comm	_REG_INTERRUPT_MASK,8,3         ; @REG_INTERRUPT_MASK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_moxart_mac_interrupt
.subsections_via_symbols
