	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axienet_eth_irq
_axienet_eth_irq:                       ## @axienet_eth_irq
	.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, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_XAE_IP_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_axienet_ior
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_XAE_INT_RXFIFOOVR_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	incl	4(%rbx)
LBB0_4:
	movq	_XAE_INT_RXRJECT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	incl	(%rbx)
LBB0_6:
	movq	_XAE_IS_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_axienet_iow
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XAE_IP_OFFSET,4,2              ## @XAE_IP_OFFSET
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_XAE_INT_RXFIFOOVR_MASK,4,2     ## @XAE_INT_RXFIFOOVR_MASK
	.comm	_XAE_INT_RXRJECT_MASK,4,2       ## @XAE_INT_RXRJECT_MASK
	.comm	_XAE_IS_OFFSET,4,2              ## @XAE_IS_OFFSET
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_axienet_eth_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axienet_eth_irq
_axienet_eth_irq:                       ; @axienet_eth_irq
	.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	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _XAE_IP_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XAE_IP_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_axienet_ior
	cbz	w0, LBB0_6
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x8, _XAE_INT_RXFIFOOVR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XAE_INT_RXFIFOOVR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_3:
Lloh6:
	adrp	x8, _XAE_INT_RXRJECT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XAE_INT_RXRJECT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
Lloh9:
	adrp	x8, _XAE_IS_OFFSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XAE_IS_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_axienet_iow
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_XAE_IP_OFFSET,4,2              ; @XAE_IP_OFFSET
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_XAE_INT_RXFIFOOVR_MASK,4,2     ; @XAE_INT_RXFIFOOVR_MASK
	.comm	_XAE_INT_RXRJECT_MASK,4,2       ; @XAE_INT_RXRJECT_MASK
	.comm	_XAE_IS_OFFSET,4,2              ; @XAE_IS_OFFSET
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_axienet_eth_irq
.subsections_via_symbols
