	.file	"extr_rocker_main.c_rocker_port_poll_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rx desc received with err %d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"rx processing failed with err %d\n"
	.text
	.p2align 4
	.type	rocker_port_poll_rx, @function
rocker_port_poll_rx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdi
	call	rocker_port_napi_rx_get@PLT
	mov	r13, QWORD PTR 16[rax]
	mov	rbp, rax
	test	ebx, ebx
	jg	.L3
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	xor	eax, eax
	call	net_ratelimit@PLT
	test	rax, rax
	jne	.L24
.L6:
	mov	rax, QWORD PTR 8[rbp]
	add	DWORD PTR [rax], 1
.L7:
	mov	rdi, r15
	add	r12d, 1
	call	rocker_desc_gen_clear@PLT
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r13
	call	rocker_desc_head_set@PLT
	cmp	ebx, r12d
	je	.L8
.L3:
	mov	rdi, rbp
	call	rocker_desc_tail_get@PLT
	mov	r15, rax
	test	rax, rax
	je	.L25
	mov	rdi, r15
	call	rocker_desc_err@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L26
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r13
	call	rocker_port_rx_proc@PLT
	test	eax, eax
	je	.L7
	mov	DWORD PTR 4[rsp], eax
	xor	eax, eax
	call	net_ratelimit@PLT
	mov	edx, DWORD PTR 4[rsp]
	test	rax, rax
	je	.L6
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC1[rip]
	call	netdev_err@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, QWORD PTR 8[rbp]
	mov	edx, r14d
	lea	rsi, .LC0[rip]
	call	netdev_err@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, r12d
	call	napi_complete_done@PLT
.L8:
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	call	rocker_dma_ring_credits_set@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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	rocker_port_poll_rx, .-rocker_port_poll_rx
	.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_rocker_main.c_rocker_port_poll_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rx desc received with err %d\012\000"
	.align	2
.LC1:
	.ascii	"rx processing failed with err %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rocker_port_poll_rx, %function
rocker_port_poll_rx:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r1
	sub	sp, sp, #12
	str	r0, [sp, #4]
	bl	rocker_port_napi_rx_get
	cmp	r8, #0
	mov	r5, r0
	mov	r6, #0
	ldr	r7, [r0, #8]
	ble	.L8
	ldr	fp, .L27
	ldr	r10, .L27+4
	b	.L3
.L26:
	bl	net_ratelimit
	cmp	r0, #0
	bne	.L24
.L6:
	ldr	r2, [r5, #4]
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
.L7:
	mov	r0, r4
	bl	rocker_desc_gen_clear
	add	r6, r6, #1
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	bl	rocker_desc_head_set
	cmp	r8, r6
	beq	.L8
.L3:
	mov	r0, r5
	bl	rocker_desc_tail_get
	subs	r4, r0, #0
	beq	.L25
	bl	rocker_desc_err
	subs	r9, r0, #0
	bne	.L26
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	bl	rocker_port_rx_proc
	subs	r9, r0, #0
	beq	.L7
	bl	net_ratelimit
	cmp	r0, #0
	beq	.L6
	mov	r2, r9
	mov	r1, fp
	ldr	r0, [r5, #4]
	bl	netdev_err
	b	.L6
.L24:
	mov	r2, r9
	mov	r1, r10
	ldr	r0, [r5, #4]
	bl	netdev_err
	b	.L6
.L25:
	mov	r1, r6
	ldr	r0, [sp, #4]
	bl	napi_complete_done
.L8:
	mov	r1, r5
	mov	r0, r7
	mov	r2, r6
	bl	rocker_dma_ring_credits_set
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	.LC0
	.size	rocker_port_poll_rx, .-rocker_port_poll_rx
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
