	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91ether_start
_at91ether_start:                       ## @at91ether_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_netdev_priv
	movq	8(%rax), %rsi
	movq	16(%rax), %rdx
	movq	_MAX_RX_DESCR@GOTPCREL(%rip), %r9
	cmpl	$0, (%r9)
	jle	LBB0_1
## %bb.2:
	movq	8(%rsi), %r10
	movq	(%rdx), %r8
	leaq	8(%r8), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rdx,8), %ecx
	movl	%ecx, -8(%rdi)
	movq	$0, (%rdi)
	incq	%rdx
	movslq	(%r9), %rcx
	addq	$16, %rdi
	cmpq	%rcx, %rdx
	jl	LBB0_3
## %bb.4:
	decq	%rdx
	jmp	LBB0_5
LBB0_1:
	movq	(%rdx), %r8
	movq	$-1, %rdx
LBB0_5:
	movq	_EMAC_DESC_WRAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shlq	$4, %rdx
	orl	%ecx, (%r8,%rdx)
	movq	$0, (%rax)
	movq	_AT91_EMAC_RBQP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_at91_emac_write
	movq	_AT91_EMAC_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_at91_emac_read
	movq	_AT91_EMAC_RE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movl	(%rbx), %edi
	movq	_AT91_EMAC_TE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_at91_emac_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RX_DESCR,4,2               ## @MAX_RX_DESCR
	.comm	_EMAC_DESC_WRAP,4,2             ## @EMAC_DESC_WRAP
	.comm	_AT91_EMAC_RBQP,4,2             ## @AT91_EMAC_RBQP
	.comm	_AT91_EMAC_CTL,4,2              ## @AT91_EMAC_CTL
	.comm	_AT91_EMAC_RE,8,3               ## @AT91_EMAC_RE
	.comm	_AT91_EMAC_TE,8,3               ## @AT91_EMAC_TE
	.no_dead_strip	_at91ether_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91ether_start
_at91ether_start:                       ; @at91ether_start
	.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
	bl	_netdev_priv
	ldp	x1, x8, [x0, #8]
Lloh0:
	adrp	x9, _MAX_RX_DESCR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_RX_DESCR@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #0
	b.le	LBB0_4
; %bb.1:
	mov	x10, #0
	ldr	x11, [x1, #8]
	ldr	x8, [x8]
	add	x12, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, x10, lsl #3]
	stur	w13, [x12, #-8]
	str	xzr, [x12], #16
	add	x10, x10, #1
	ldrsw	x13, [x9]
	cmp	x10, x13
	b.lt	LBB0_2
; %bb.3:
	sub	x9, x10, #1
	b	LBB0_5
LBB0_4:
	ldr	x8, [x8]
	mov	x9, #-1
LBB0_5:
Lloh2:
	adrp	x10, _EMAC_DESC_WRAP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EMAC_DESC_WRAP@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	lsl	x9, x9, #4
	ldr	w11, [x8, x9]
	orr	w10, w11, w10
	str	w10, [x8, x9]
	str	xzr, [x0]
Lloh5:
	adrp	x8, _AT91_EMAC_RBQP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AT91_EMAC_RBQP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_at91_emac_write
Lloh8:
	adrp	x19, _AT91_EMAC_CTL@GOTPAGE
Lloh9:
	ldr	x19, [x19, _AT91_EMAC_CTL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_at91_emac_read
	ldr	w8, [x19]
Lloh10:
	adrp	x9, _AT91_EMAC_RE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AT91_EMAC_RE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	orr	x9, x9, x0
Lloh13:
	adrp	x10, _AT91_EMAC_TE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _AT91_EMAC_TE@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	orr	x1, x9, x10
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_emac_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RX_DESCR,4,2               ; @MAX_RX_DESCR
	.comm	_EMAC_DESC_WRAP,4,2             ; @EMAC_DESC_WRAP
	.comm	_AT91_EMAC_RBQP,4,2             ; @AT91_EMAC_RBQP
	.comm	_AT91_EMAC_CTL,4,2              ; @AT91_EMAC_CTL
	.comm	_AT91_EMAC_RE,8,3               ; @AT91_EMAC_RE
	.comm	_AT91_EMAC_TE,8,3               ; @AT91_EMAC_TE
	.no_dead_strip	_at91ether_start
.subsections_via_symbols
