	.file	"extr_farch.c_efx_farch_rx_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	efx_farch_rx_write
	.type	efx_farch_rx_write, @function
efx_farch_rx_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	esi, DWORD PTR 4[rdi]
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	and	esi, DWORD PTR 8[rbp]
	mov	rdi, rbp
	call	efx_farch_build_rx_desc@PLT
	mov	eax, DWORD PTR 0[rbp]
	lea	esi, 1[rax]
	mov	DWORD PTR 0[rbp], esi
	cmp	esi, DWORD PTR 4[rbp]
	jne	.L3
.L2:
	xor	eax, eax
	call	wmb@PLT
	mov	esi, DWORD PTR FRF_AZ_RX_DESC_WPTR_DWORD[rip]
	mov	edi, DWORD PTR 4[rsp]
	mov	edx, DWORD PTR 4[rbp]
	and	edx, DWORD PTR 8[rbp]
	call	EFX_POPULATE_DWORD_1@PLT
	mov	rdi, rbp
	call	efx_rx_queue_index@PLT
	mov	edx, DWORD PTR FR_AZ_RX_DESC_UPD_DWORD_P0[rip]
	lea	rsi, 4[rsp]
	mov	rdi, r12
	mov	ecx, eax
	call	efx_writed_page@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	efx_farch_rx_write, .-efx_farch_rx_write
	.comm	FR_AZ_RX_DESC_UPD_DWORD_P0,4,4
	.comm	FRF_AZ_RX_DESC_WPTR_DWORD,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_farch.c_efx_farch_rx_write.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	efx_farch_rx_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	efx_farch_rx_write, %function
efx_farch_rx_write:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0]
	ldr	r2, [r0, #4]
	ldr	r1, .L9
	sub	sp, sp, #12
	cmp	r3, r2
	mov	r4, r0
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	ldr	r5, [r0, #12]
	beq	.L2
.L3:
	ldr	r1, [r4, #8]
	mov	r0, r4
	and	r1, r1, r3
	bl	efx_farch_build_rx_desc
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	add	r3, r3, #1
	cmp	r3, r2
	str	r3, [r4]
	bne	.L3
.L2:
	bl	wmb
	ldmib	r4, {r1, r2}
	ldr	r3, .L9+4
	and	r2, r2, r1
	ldr	r0, [sp]
	ldr	r1, [r3]
	bl	EFX_POPULATE_DWORD_1
	ldr	r3, .L9+8
	mov	r0, r4
	ldr	r4, [r3]
	bl	efx_rx_queue_index
	mov	r2, r4
	mov	r3, r0
	mov	r1, sp
	mov	r0, r5
	bl	efx_writed_page
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	FRF_AZ_RX_DESC_WPTR_DWORD
	.word	FR_AZ_RX_DESC_UPD_DWORD_P0
	.size	efx_farch_rx_write, .-efx_farch_rx_write
	.comm	FR_AZ_RX_DESC_UPD_DWORD_P0,4,4
	.comm	FRF_AZ_RX_DESC_WPTR_DWORD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
