	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_stat_irq                   ## -- Begin function eth_stat_irq
	.p2align	4, 0x90
_eth_stat_irq:                          ## @eth_stat_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, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rdi
	addq	$8, %rdi
	callq	___raw_readl
	movl	%eax, %ebx
	movq	(%r14), %rsi
	addq	$8, %rsi
	movl	$-1, %edi
	callq	___raw_writel
	movq	_MAC2_RX_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_switch_port_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rax
	movq	(%rax), %rax
	incl	(%rax)
LBB0_2:
	movq	_MAC1_RX_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_switch_port_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	incl	(%rax)
LBB0_4:
	movq	_MAC0_RX_ERROR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_switch_port_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	incl	(%rax)
LBB0_6:
	movq	_MAC0_STATUS_CHANGE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	___raw_readl
	movl	%eax, %ecx
	andl	$1, %ecx
	movq	_switch_port_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	8(%rdx), %rsi
	movl	%ecx, (%rsi)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$1, %ecx
	movl	%ecx, 4(%rsi)
	shrl	$2, %eax
	andl	$3, %eax
	cmpl	$1, %eax
	movl	$100, %ecx
	movl	$10, %edi
	cmovel	%ecx, %edi
	cmpl	$2, %eax
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovnel	%edi, %eax
	movl	%eax, 8(%rsi)
	movq	(%rdx), %rdi
	callq	_cns3xxx_adjust_link
LBB0_8:
	movq	_MAC1_STATUS_CHANGE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	callq	___raw_readl
	movl	%eax, %ecx
	andl	$1, %ecx
	movq	_switch_port_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rdx), %rdx
	movq	8(%rdx), %rsi
	movl	%ecx, (%rsi)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$1, %ecx
	movl	%ecx, 4(%rsi)
	shrl	$2, %eax
	andl	$3, %eax
	cmpl	$1, %eax
	movl	$100, %ecx
	movl	$10, %edi
	cmovel	%ecx, %edi
	cmpl	$2, %eax
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovnel	%edi, %eax
	movl	%eax, 8(%rsi)
	movq	(%rdx), %rdi
	callq	_cns3xxx_adjust_link
LBB0_10:
	movq	_MAC2_STATUS_CHANGE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$12, %rdi
	callq	___raw_readl
	movl	%eax, %ecx
	andl	$1, %ecx
	movq	_switch_port_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	24(%rdx), %rdx
	movq	8(%rdx), %rsi
	movl	%ecx, (%rsi)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$1, %ecx
	movl	%ecx, 4(%rsi)
	shrl	$2, %eax
	andl	$3, %eax
	cmpl	$1, %eax
	movl	$100, %ecx
	movl	$10, %edi
	cmovel	%ecx, %edi
	cmpl	$2, %eax
	movl	$1000, %eax                     ## imm = 0x3E8
	cmovnel	%edi, %eax
	movl	%eax, 8(%rsi)
	movq	(%rdx), %rdi
	callq	_cns3xxx_adjust_link
LBB0_12:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC2_RX_ERROR,4,2              ## @MAC2_RX_ERROR
	.comm	_switch_port_tab,8,3            ## @switch_port_tab
	.comm	_MAC1_RX_ERROR,4,2              ## @MAC1_RX_ERROR
	.comm	_MAC0_RX_ERROR,4,2              ## @MAC0_RX_ERROR
	.comm	_MAC0_STATUS_CHANGE,4,2         ## @MAC0_STATUS_CHANGE
	.comm	_MAC1_STATUS_CHANGE,4,2         ## @MAC1_STATUS_CHANGE
	.comm	_MAC2_STATUS_CHANGE,4,2         ## @MAC2_STATUS_CHANGE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eth_stat_irq                   ; -- Begin function eth_stat_irq
	.p2align	2
_eth_stat_irq:                          ; @eth_stat_irq
	.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	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
	add	x0, x8, #8
	bl	___raw_readl
	mov	x20, x0
	ldr	x8, [x19]
	add	x1, x8, #8
	mov	w0, #-1
	bl	___raw_writel
Lloh0:
	adrp	x8, _MAC2_RX_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC2_RX_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _switch_port_tab@GOTPAGE
Lloh4:
	ldr	x21, [x21, _switch_port_tab@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_2:
Lloh5:
	adrp	x8, _MAC1_RX_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC1_RX_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_4:
Lloh8:
	adrp	x8, _MAC0_RX_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAC0_RX_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_6:
Lloh11:
	adrp	x8, _MAC0_STATUS_CHANGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC0_STATUS_CHANGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	___raw_readl
	and	w9, w0, #0x1
	ldr	x8, [x21]
	ldr	x8, [x8]
	ubfx	w10, w0, #4, #1
	ldp	x8, x11, [x8]
	stp	w9, w10, [x11]
	ubfx	w9, w0, #2, #2
	mov	w10, #10
	mov	w12, #100
	cmp	w9, #1
	csel	w10, w12, w10, eq
	mov	w12, #1000
	cmp	w9, #2
	csel	w9, w12, w10, eq
	str	w9, [x11, #8]
	mov	x0, x8
	bl	_cns3xxx_adjust_link
LBB0_8:
Lloh14:
	adrp	x8, _MAC1_STATUS_CHANGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAC1_STATUS_CHANGE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #4
	bl	___raw_readl
	and	w9, w0, #0x1
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ubfx	w10, w0, #4, #1
	ldp	x8, x11, [x8]
	stp	w9, w10, [x11]
	ubfx	w9, w0, #2, #2
	mov	w10, #10
	mov	w12, #100
	cmp	w9, #1
	csel	w10, w12, w10, eq
	mov	w12, #1000
	cmp	w9, #2
	csel	w9, w12, w10, eq
	str	w9, [x11, #8]
	mov	x0, x8
	bl	_cns3xxx_adjust_link
LBB0_10:
Lloh17:
	adrp	x8, _MAC2_STATUS_CHANGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAC2_STATUS_CHANGE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #12
	bl	___raw_readl
	and	w9, w0, #0x1
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	ubfx	w10, w0, #4, #1
	ldp	x8, x11, [x8]
	stp	w9, w10, [x11]
	ubfx	w9, w0, #2, #2
	mov	w10, #10
	mov	w12, #100
	cmp	w9, #1
	csel	w10, w12, w10, eq
	mov	w12, #1000
	cmp	w9, #2
	csel	w9, w12, w10, eq
	str	w9, [x11, #8]
	mov	x0, x8
	bl	_cns3xxx_adjust_link
LBB0_12:
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh22:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC2_RX_ERROR,4,2              ; @MAC2_RX_ERROR
	.comm	_switch_port_tab,8,3            ; @switch_port_tab
	.comm	_MAC1_RX_ERROR,4,2              ; @MAC1_RX_ERROR
	.comm	_MAC0_RX_ERROR,4,2              ; @MAC0_RX_ERROR
	.comm	_MAC0_STATUS_CHANGE,4,2         ; @MAC0_STATUS_CHANGE
	.comm	_MAC1_STATUS_CHANGE,4,2         ; @MAC1_STATUS_CHANGE
	.comm	_MAC2_STATUS_CHANGE,4,2         ; @MAC2_STATUS_CHANGE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
