	.file	"extr_natsemi.c_reinit_rx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reinit_rx, @function
reinit_rx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	edx, DWORD PTR RX_RING_SIZE[rip]
	mov	QWORD PTR 24[rax], 0
	mov	r12, rax
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR 16[r12], rax
	test	edx, edx
	jle	.L2
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[r12]
.L3:
	mov	edi, DWORD PTR DescOwn[rip]
	lea	rbp, [rax+rbx*4]
	add	rbx, 1
	call	cpu_to_le32@PLT
	mov	DWORD PTR 0[rbp], eax
	cmp	DWORD PTR RX_RING_SIZE[rip], ebx
	jg	.L6
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	refill_rx@PLT
	.cfi_endproc
.LFE0:
	.size	reinit_rx, .-reinit_rx
	.comm	RX_RING_SIZE,4,4
	.comm	DescOwn,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_natsemi.c_reinit_rx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reinit_rx, %function
reinit_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r0
	bl	netdev_priv
	mov	r4, #0
	ldr	r7, .L7
	ldr	r5, [r0, #4]
	ldr	r3, [r7]
	str	r5, [r0, #8]
	cmp	r3, r4
	str	r4, [r0, #12]
	str	r3, [r0]
	ble	.L2
	mov	r6, r0
	ldr	r9, .L7+4
	b	.L3
.L6:
	ldr	r5, [r6, #4]
.L3:
	ldr	r0, [r9]
	bl	cpu_to_le32
	str	r0, [r5, r4, lsl #2]
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L6
.L2:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	refill_rx
.L8:
	.align	2
.L7:
	.word	RX_RING_SIZE
	.word	DescOwn
	.size	reinit_rx, .-reinit_rx
	.comm	RX_RING_SIZE,4,4
	.comm	DescOwn,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
