	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91ether_interrupt
_at91ether_interrupt:                   ## @at91ether_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, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_AT91_EMAC_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_at91_emac_read
	movq	%rax, %r12
	movq	_AT91_EMAC_RCOM@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_at91ether_rx
LBB0_2:
	movq	_AT91_EMAC_TCOM@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_AT91_EMAC_TUND@GOTPCREL(%rip), %rax
	movq	_AT91_EMAC_RTRY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	testq	%r12, %rcx
	je	LBB0_5
## %bb.4:
	incl	4(%r14)
LBB0_5:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_dev_kfree_skb_irq
	movq	$0, 8(%r15)
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_dma_unmap_single
LBB0_7:
	movq	%r14, %rdi
	callq	_netif_wake_queue
LBB0_8:
	movq	_AT91_EMAC_RBNA@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_AT91_EMAC_CTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_at91_emac_read
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_AT91_EMAC_RE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	notq	%rsi
	andq	%rax, %rsi
	callq	_at91_emac_write
	movl	(%r15), %edi
	orq	(%r13), %rbx
	movq	%rbx, %rsi
	callq	_at91_emac_write
LBB0_10:
	movq	_AT91_EMAC_ROVR@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_12
## %bb.11:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_12:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_EMAC_ISR,4,2              ## @AT91_EMAC_ISR
	.comm	_AT91_EMAC_RCOM,8,3             ## @AT91_EMAC_RCOM
	.comm	_AT91_EMAC_TCOM,8,3             ## @AT91_EMAC_TCOM
	.comm	_AT91_EMAC_TUND,8,3             ## @AT91_EMAC_TUND
	.comm	_AT91_EMAC_RTRY,8,3             ## @AT91_EMAC_RTRY
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_AT91_EMAC_RBNA,8,3             ## @AT91_EMAC_RBNA
	.comm	_AT91_EMAC_CTL,4,2              ## @AT91_EMAC_CTL
	.comm	_AT91_EMAC_RE,8,3               ## @AT91_EMAC_RE
	.comm	_AT91_EMAC_ROVR,8,3             ## @AT91_EMAC_ROVR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ROVR error\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_at91ether_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91ether_interrupt
_at91ether_interrupt:                   ; @at91ether_interrupt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _AT91_EMAC_ISR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_EMAC_ISR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_at91_emac_read
	mov	x20, x0
Lloh3:
	adrp	x8, _AT91_EMAC_RCOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_EMAC_RCOM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	tst	x8, x0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_at91ether_rx
LBB0_2:
Lloh6:
	adrp	x8, _AT91_EMAC_TCOM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AT91_EMAC_TCOM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _AT91_EMAC_TUND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT91_EMAC_TUND@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _AT91_EMAC_RTRY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AT91_EMAC_RTRY@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	orr	x8, x9, x8
	tst	x8, x20
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_5:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_dev_kfree_skb_irq
	str	xzr, [x21, #8]
	ldp	w2, w1, [x21]
Lloh15:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, #0
	bl	_dma_unmap_single
LBB0_7:
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_8:
Lloh18:
	adrp	x8, _AT91_EMAC_RBNA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AT91_EMAC_RBNA@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_10
; %bb.9:
Lloh21:
	adrp	x22, _AT91_EMAC_CTL@GOTPAGE
Lloh22:
	ldr	x22, [x22, _AT91_EMAC_CTL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_at91_emac_read
	mov	x21, x0
	ldr	w0, [x22]
Lloh23:
	adrp	x23, _AT91_EMAC_RE@GOTPAGE
Lloh24:
	ldr	x23, [x23, _AT91_EMAC_RE@GOTPAGEOFF]
	ldr	x8, [x23]
	bic	x1, x21, x8
	bl	_at91_emac_write
	ldr	w0, [x22]
	ldr	x8, [x23]
	orr	x1, x8, x21
	bl	_at91_emac_write
LBB0_10:
Lloh25:
	adrp	x8, _AT91_EMAC_ROVR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AT91_EMAC_ROVR@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_12
; %bb.11:
	ldr	w1, [x19]
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_12:
Lloh30:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_EMAC_ISR,4,2              ; @AT91_EMAC_ISR
	.comm	_AT91_EMAC_RCOM,8,3             ; @AT91_EMAC_RCOM
	.comm	_AT91_EMAC_TCOM,8,3             ; @AT91_EMAC_TCOM
	.comm	_AT91_EMAC_TUND,8,3             ; @AT91_EMAC_TUND
	.comm	_AT91_EMAC_RTRY,8,3             ; @AT91_EMAC_RTRY
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_AT91_EMAC_RBNA,8,3             ; @AT91_EMAC_RBNA
	.comm	_AT91_EMAC_CTL,4,2              ; @AT91_EMAC_CTL
	.comm	_AT91_EMAC_RE,8,3               ; @AT91_EMAC_RE
	.comm	_AT91_EMAC_ROVR,8,3             ; @AT91_EMAC_ROVR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ROVR error\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_at91ether_interrupt
.subsections_via_symbols
