	.file	"extr_fm10k_main.c_fm10k_clean_rx_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fm10k_clean_rx_irq, @function
fm10k_clean_rx_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR 16[rsi]
	mov	QWORD PTR 8[rsp], rdi
	mov	rdi, rsi
	call	fm10k_desc_unused@PLT
	mov	DWORD PTR 4[rsp], 0
	mov	r14, rax
	.p2align 4,,10
	.p2align 3
.L2:
	xor	edi, edi
	cmp	r15d, ebx
	setb	dil
	call	likely@PLT
	test	rax, rax
	je	.L4
	cmp	QWORD PTR FM10K_RX_BUFFER_WRITE[rip], r14
	jle	.L13
.L3:
	mov	esi, DWORD PTR 24[r13]
	mov	rdi, r13
	call	FM10K_RX_DESC@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L4
	xor	eax, eax
	call	dma_rmb@PLT
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	fm10k_fetch_rx_buffer@PLT
	mov	r12, rax
	test	rax, rax
	je	.L4
	mov	rsi, rbp
	mov	rdi, r13
	add	r14, 1
	call	fm10k_is_non_eop@PLT
	test	rax, rax
	jne	.L2
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	call	fm10k_cleanup_headers@PLT
	test	rax, rax
	jne	.L7
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	add	r15d, 1
	call	fm10k_process_skb_fields@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r12
	add	DWORD PTR 4[rsp], eax
	xor	r12d, r12d
	call	fm10k_receive_skb@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r14
	mov	rdi, r13
	xor	r14d, r14d
	call	fm10k_alloc_rx_buffers@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r12d, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR 16[r13], r12
	mov	rdi, r13
	call	u64_stats_update_begin@PLT
	mov	ebx, DWORD PTR 4[rsp]
	add	DWORD PTR 4[r13], r15d
	mov	rdi, r13
	add	DWORD PTR 8[r13], ebx
	call	u64_stats_update_end@PLT
	mov	rax, QWORD PTR 8[rsp]
	add	DWORD PTR [rax], r15d
	add	DWORD PTR 4[rax], ebx
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fm10k_clean_rx_irq, .-fm10k_clean_rx_irq
	.comm	FM10K_RX_BUFFER_WRITE,8,8
	.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_fm10k_main.c_fm10k_clean_rx_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fm10k_clean_rx_irq, %function
fm10k_clean_rx_irq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	sub	sp, sp, #20
	mov	r0, r1
	mov	r5, r1
	ldr	r4, [r1, #12]
	str	r2, [sp, #4]
	bl	fm10k_desc_unused
	mov	r8, #0
	mov	r6, r0
	ldr	r10, .L17
	str	r8, [sp, #12]
.L2:
	ldr	r3, [sp, #4]
	cmp	r8, r3
	movcs	r0, #0
	movcc	r0, #1
	bl	likely
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r10]
	cmp	r3, r6
	ble	.L16
.L3:
	mov	r0, r5
	ldr	r1, [r5, #16]
	bl	FM10K_RX_DESC
	ldr	r3, [r0]
	mov	r9, r0
	cmp	r3, #0
	add	r6, r6, #1
	beq	.L4
	bl	dma_rmb
	mov	r2, r4
	mov	r1, r9
	mov	r0, r5
	bl	fm10k_fetch_rx_buffer
	subs	r4, r0, #0
	beq	.L4
	mov	r1, r9
	mov	r0, r5
	bl	fm10k_is_non_eop
	subs	r7, r0, #0
	bne	.L2
	mov	r2, r4
	mov	r1, r9
	mov	r0, r5
	bl	fm10k_cleanup_headers
	subs	r3, r0, #0
	movne	r4, r7
	str	r3, [sp, #8]
	bne	.L2
	mov	r1, r9
	mov	r2, r4
	mov	r0, r5
	bl	fm10k_process_skb_fields
	mov	r2, r0
	ldr	r3, [sp, #12]
	mov	r1, r4
	add	r3, r3, r2
	str	r3, [sp, #12]
	ldr	r3, [sp, #8]
	mov	r0, fp
	mov	r4, r3
	add	r8, r8, #1
	bl	fm10k_receive_skb
	b	.L2
.L16:
	mov	r1, r6
	mov	r0, r5
	bl	fm10k_alloc_rx_buffers
	mov	r6, #0
	b	.L3
.L4:
	str	r4, [r5, #12]
	mov	r0, r5
	bl	u64_stats_update_begin
	ldmib	r5, {r2, r3}
	ldr	r4, [sp, #12]
	add	r2, r2, r8
	add	r3, r3, r4
	stmib	r5, {r2, r3}
	mov	r0, r5
	bl	u64_stats_update_end
	ldm	fp, {r2, r3}
	mov	r0, r8
	add	r2, r2, r8
	add	r3, r3, r4
	str	r2, [fp]
	str	r3, [fp, #4]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	FM10K_RX_BUFFER_WRITE
	.size	fm10k_clean_rx_irq, .-fm10k_clean_rx_irq
	.comm	FM10K_RX_BUFFER_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
