	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_eth_interrupt
_sh_eth_interrupt:                      ## @sh_eth_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	%rsi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	movq	8(%rax), %r15
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r12), %r13d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	_EESR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	callq	_ctrl_inl
	movq	_EESR_FRC@GOTPCREL(%rip), %r8
	movq	_EESR_RMAF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	orl	(%r8), %ecx
	movq	_EESR_RRF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_RTLF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_RTSF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_PRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_CERF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	(%r15), %ecx
	orl	4(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movq	_EESR@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movl	%ebx, %edi
	movq	%rsi, %r14
	movl	%r13d, %esi
	movq	%r8, %r13
	callq	_ctrl_outl
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%r13), %ecx
	movq	_EESR_RRF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_RTLF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_RTSF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_EESR_PRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	(%rax), %r14d
	movq	_EESR_CERF@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_sh_eth_rx
LBB0_3:
	testl	%ebx, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_sh_eth_txfree
	movq	%r12, %rdi
	callq	_netif_wake_queue
LBB0_5:
	testl	%ebx, 4(%r15)
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sh_eth_error
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_EESR,4,2                       ## @EESR
	.comm	_EESR_FRC,4,2                   ## @EESR_FRC
	.comm	_EESR_RMAF,4,2                  ## @EESR_RMAF
	.comm	_EESR_RRF,4,2                   ## @EESR_RRF
	.comm	_EESR_RTLF,4,2                  ## @EESR_RTLF
	.comm	_EESR_RTSF,4,2                  ## @EESR_RTSF
	.comm	_EESR_PRE,4,2                   ## @EESR_PRE
	.comm	_EESR_CERF,4,2                  ## @EESR_CERF
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_sh_eth_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_eth_interrupt
_sh_eth_interrupt:                      ; @sh_eth_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w24, [x20]
	bl	_spin_lock
Lloh3:
	adrp	x8, _EESR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EESR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, w24
	bl	_ctrl_inl
Lloh6:
	adrp	x8, _EESR_FRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EESR_FRC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EESR_RMAF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EESR_RMAF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x28, _EESR_RRF@GOTPAGE
Lloh13:
	ldr	x28, [x28, _EESR_RRF@GOTPAGEOFF]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w8, w8, w9
Lloh14:
	adrp	x25, _EESR_RTLF@GOTPAGE
Lloh15:
	ldr	x25, [x25, _EESR_RTLF@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w8, w9
Lloh16:
	adrp	x21, _EESR_RTSF@GOTPAGE
Lloh17:
	ldr	x21, [x21, _EESR_RTSF@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh18:
	adrp	x26, _EESR_PRE@GOTPAGE
Lloh19:
	ldr	x26, [x26, _EESR_PRE@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w8, w8, w9
Lloh20:
	adrp	x27, _EESR_CERF@GOTPAGE
Lloh21:
	ldr	x27, [x27, _EESR_CERF@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w8, w8, w9
	ldp	w9, w10, [x23]
	orr	w8, w8, w9
	orr	w8, w8, w10
	tst	w8, w0
	b.eq	LBB0_7
; %bb.1:
	mov	x22, x0
Lloh22:
	adrp	x8, _EESR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EESR@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	w1, w8, w24
	bl	_ctrl_outl
Lloh25:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh27:
	ldr	w24, [x8]
Lloh28:
	adrp	x8, _EESR_FRC@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EESR_FRC@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _EESR_RMAF@GOTPAGE
Lloh32:
	ldr	x9, [x9, _EESR_RMAF@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w8, w8, w9
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w8, w8, w9
	tst	w8, w22
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_sh_eth_rx
LBB0_3:
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_sh_eth_txfree
	mov	x0, x20
	bl	_netif_wake_queue
LBB0_5:
	ldr	w8, [x23, #4]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x22
	bl	_sh_eth_error
	b	LBB0_8
LBB0_7:
	ldr	w24, [sp, #12]                  ; 4-byte Folded Reload
LBB0_8:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_EESR,4,2                       ; @EESR
	.comm	_EESR_FRC,4,2                   ; @EESR_FRC
	.comm	_EESR_RMAF,4,2                  ; @EESR_RMAF
	.comm	_EESR_RRF,4,2                   ; @EESR_RRF
	.comm	_EESR_RTLF,4,2                  ; @EESR_RTLF
	.comm	_EESR_RTSF,4,2                  ; @EESR_RTSF
	.comm	_EESR_PRE,4,2                   ; @EESR_PRE
	.comm	_EESR_CERF,4,2                  ; @EESR_CERF
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_sh_eth_interrupt
.subsections_via_symbols
