	.file	"extr_ehea_main.c_ehea_proc_rwqes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CQE"
.LC1:
	.string	"LL rq1: skb=NULL"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Not enough memory to allocate skb\n"
	.section	.rodata.str1.1
.LC3:
	.string	"rq2: skb=NULL"
.LC4:
	.string	"rq3: skb=NULL"
	.text
	.p2align 4
	.type	ehea_proc_rwqes, @function
ehea_proc_rwqes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	rbx, QWORD PTR 64[rsi]
	mov	r14, QWORD PTR 72[rsi]
	mov	QWORD PTR 32[rsp], rdi
	mov	DWORD PTR 56[rsp], edx
	mov	rdi, rbx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 56[rsi]
	mov	DWORD PTR 108[rsp], 0
	mov	DWORD PTR 104[rsp], 0
	mov	QWORD PTR 80[rsp], rax
	mov	rax, QWORD PTR 40[rsi]
	mov	QWORD PTR 72[rsp], rax
	mov	rax, QWORD PTR 24[rsi]
	mov	QWORD PTR 48[rsp], rax
	mov	eax, DWORD PTR 48[rsi]
	mov	DWORD PTR 92[rsp], eax
	mov	eax, DWORD PTR 32[rsi]
	mov	DWORD PTR 88[rsp], eax
	mov	eax, DWORD PTR 16[rsi]
	mov	DWORD PTR 60[rsp], eax
	lea	rax, 112[rsp]
	mov	rsi, rax
	mov	QWORD PTR 24[rsp], rax
	call	ehea_poll_rq1@PLT
	test	rax, rax
	je	.L17
	test	r15d, r15d
	jle	.L17
	mov	QWORD PTR 40[rsp], 0
	mov	r12, rax
	xor	r13d, r13d
	lea	rax, 116[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 108[rsp]
	mov	QWORD PTR 64[rsp], rax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 112[rsp]
	mov	DWORD PTR 12[rsp], eax
	xor	eax, eax
	call	rmb@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r12
	call	ehea_check_cqe@PLT
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR 116[rsp]
	cmp	eax, 1
	je	.L55
	mov	rdx, r12
	cmp	eax, 2
	je	.L56
	mov	rdi, QWORD PTR 48[rsp]
	mov	esi, DWORD PTR 60[rsp]
	call	get_skb_by_index@PLT
	xor	edi, edi
	test	rax, rax
	mov	r15, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L57
	mov	rdi, QWORD PTR 32[rsp]
	mov	rcx, rbp
	mov	rdx, r12
	mov	rsi, r15
	call	ehea_fill_skb@PLT
	add	DWORD PTR 108[rsp], 1
.L8:
	mov	rcx, QWORD PTR [r15]
	mov	eax, DWORD PTR [r12]
	lea	rdi, 12[rbp]
	add	QWORD PTR 40[rsp], rcx
	test	DWORD PTR EHEA_CQE_VLAN_TAG_XTRACT[rip], eax
	je	.L12
	mov	rsi, QWORD PTR [r14]
	test	rsi, rsi
	jne	.L58
.L12:
	mov	rsi, r15
	call	napi_gro_receive@PLT
.L13:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbx
	call	ehea_poll_rq1@PLT
	mov	r12, rax
	cmp	DWORD PTR 56[rsp], r13d
	jle	.L18
	test	rax, rax
	je	.L18
.L14:
	mov	rdi, rbx
	add	r13d, 1
	call	ehea_inc_rq1@PLT
	mov	rdi, r14
	call	netif_msg_rx_status@PLT
	test	rax, rax
	je	.L3
	lea	rdx, .LC0[rip]
	mov	esi, 16
	mov	rdi, r12
	call	ehea_dump@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	add	DWORD PTR 8[rbp], 1
	mov	r8, QWORD PTR 64[rsp]
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, DWORD PTR 116[rsp]
	lea	rcx, 104[rsp]
	call	ehea_treat_poll_error@PLT
	test	eax, eax
	je	.L13
.L18:
	mov	ebx, DWORD PTR 40[rsp]
.L2:
	add	DWORD PTR 0[rbp], r13d
	mov	esi, DWORD PTR 12[rsp]
	mov	edx, r13d
	mov	rdi, rbp
	add	DWORD PTR 4[rbp], ebx
	call	ehea_refill_rq1@PLT
	mov	esi, DWORD PTR 104[rsp]
	mov	rdi, rbp
	call	ehea_refill_rq2@PLT
	mov	esi, DWORD PTR 108[rsp]
	mov	rdi, rbp
	call	ehea_refill_rq3@PLT
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L59
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L56:
	.cfi_restore_state
	mov	rdi, QWORD PTR 72[rsp]
	mov	esi, DWORD PTR 88[rsp]
	call	get_skb_by_index@PLT
	xor	edi, edi
	test	rax, rax
	mov	r15, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L60
	mov	rdi, QWORD PTR 32[rsp]
	mov	rcx, rbp
	mov	rdx, r12
	mov	rsi, r15
	call	ehea_fill_skb@PLT
	add	DWORD PTR 104[rsp], 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L58:
	mov	edx, DWORD PTR 4[r12]
	mov	rcx, r15
	call	vlan_gro_receive@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L55:
	mov	rdi, QWORD PTR 80[rsp]
	mov	edx, DWORD PTR 112[rsp]
	mov	esi, DWORD PTR 92[rsp]
	call	get_skb_by_index_ll@PLT
	xor	edi, edi
	test	rax, rax
	mov	r15, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L6
	mov	rdi, r14
	call	netif_msg_rx_err@PLT
	test	rax, rax
	jne	.L61
.L7:
	mov	esi, DWORD PTR EHEA_L_PKT_SIZE[rip]
	mov	rdi, QWORD PTR 32[rsp]
	call	netdev_alloc_skb@PLT
	mov	r15, rax
	test	rax, rax
	je	.L62
.L6:
	mov	rax, QWORD PTR 8[r12]
	lea	rsi, 64[r12]
	mov	rdi, r15
	lea	rdx, -4[rax]
	call	skb_copy_to_linear_data@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	rcx, rbp
	mov	rdx, r12
	mov	rsi, r15
	call	ehea_fill_skb@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L61:
	lea	rdi, .LC1[rip]
	call	ehea_info@PLT
	jmp	.L7
.L57:
	mov	rdi, r14
	call	netif_msg_rx_err@PLT
	mov	ebx, DWORD PTR 40[rsp]
	test	rax, rax
	je	.L2
	lea	rdi, .LC4[rip]
	call	ehea_error@PLT
	jmp	.L2
.L60:
	mov	rdi, r14
	call	netif_msg_rx_err@PLT
	mov	ebx, DWORD PTR 40[rsp]
	test	rax, rax
	je	.L2
	lea	rdi, .LC3[rip]
	call	ehea_error@PLT
	jmp	.L2
.L62:
	lea	rdi, .LC2[rip]
	call	ehea_error@PLT
	mov	ebx, DWORD PTR 40[rsp]
	jmp	.L2
.L17:
	mov	DWORD PTR 12[rsp], 0
	xor	ebx, ebx
	xor	r13d, r13d
	jmp	.L2
.L59:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ehea_proc_rwqes, .-ehea_proc_rwqes
	.comm	EHEA_L_PKT_SIZE,4,4
	.comm	EHEA_CQE_VLAN_TAG_XTRACT,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_ehea_main.c_ehea_proc_rwqes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CQE\000"
	.align	2
.LC1:
	.ascii	"LL rq1: skb=NULL\000"
	.align	2
.LC2:
	.ascii	"Not enough memory to allocate skb\012\000"
	.align	2
.LC3:
	.ascii	"rq2: skb=NULL\000"
	.align	2
.LC4:
	.ascii	"rq3: skb=NULL\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ehea_proc_rwqes, %function
ehea_proc_rwqes:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	mov	r9, #0
	sub	sp, sp, #76
	str	r3, [sp, #20]
	ldr	r3, .L50
	str	r2, [sp, #16]
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	ldr	r3, [r7, #36]
	ldr	r8, [r1, #40]
	str	r3, [sp, #40]
	ldr	r3, [r7, #28]
	mov	r4, r2
	str	r3, [sp, #32]
	ldr	r3, [r7, #20]
	mov	r0, r8
	str	r3, [sp, #24]
	ldr	r3, [r7, #32]
	add	r1, sp, #60
	str	r3, [sp, #44]
	ldr	r3, [r7, #24]
	ldr	r10, [r7, #44]
	str	r3, [sp, #36]
	ldr	r3, [r7, #16]
	str	r9, [sp, #56]
	str	r3, [sp, #28]
	str	r9, [sp, #52]
	bl	ehea_poll_rq1
	cmp	r4, r9
	movle	r3, #0
	movgt	r3, #1
	cmp	r0, r9
	moveq	r3, r9
	cmp	r3, r9
	beq	.L16
	mov	r4, r0
	mov	r6, r9
	ldr	fp, .L50+4
	b	.L14
.L3:
	ldr	r3, [sp, #60]
	str	r3, [sp, #12]
	bl	rmb
	mov	r0, r4
	add	r1, sp, #64
	bl	ehea_check_cqe
	cmp	r0, #0
	bne	.L4
	ldr	r3, [sp, #64]
	cmp	r3, #1
	beq	.L42
	cmp	r3, #2
	mov	r2, r4
	beq	.L43
	ldr	r1, [sp, #28]
	ldr	r0, [sp, #24]
	bl	get_skb_by_index
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L44
	mov	r3, r7
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [sp, #20]
	bl	ehea_fill_skb
	ldr	r3, [sp, #56]
	add	r3, r3, #1
	str	r3, [sp, #56]
.L8:
	ldr	r1, [r4]
	ldr	r2, [fp]
	ldr	r3, [r5]
	tst	r1, r2
	add	r9, r9, r3
	add	r0, r7, #12
	beq	.L12
	ldr	r1, [r10]
	cmp	r1, #0
	bne	.L45
.L12:
	mov	r1, r5
	bl	napi_gro_receive
.L13:
	mov	r0, r8
	add	r1, sp, #60
	bl	ehea_poll_rq1
	ldr	r3, [sp, #16]
	mov	r4, r0
	cmp	r0, #0
	cmpne	r3, r6
	ble	.L2
.L14:
	mov	r0, r8
	bl	ehea_inc_rq1
	mov	r0, r10
	bl	netif_msg_rx_status
	cmp	r0, #0
	add	r6, r6, #1
	beq	.L3
	mov	r1, #12
	mov	r0, r4
	ldr	r2, .L50+8
	bl	ehea_dump
	b	.L3
.L4:
	ldr	r3, [r7, #8]
	add	r1, sp, #56
	add	r3, r3, #1
	str	r3, [r7, #8]
	mov	r2, r4
	str	r1, [sp]
	mov	r0, r7
	ldr	r1, [sp, #64]
	add	r3, sp, #52
	bl	ehea_treat_poll_error
	cmp	r0, #0
	beq	.L13
.L2:
	ldm	r7, {r2, r3}
	add	r9, r3, r9
	add	r2, r2, r6
	stm	r7, {r2, r9}
	ldr	r1, [sp, #12]
	mov	r2, r6
	mov	r0, r7
	bl	ehea_refill_rq1
	ldr	r1, [sp, #52]
	mov	r0, r7
	bl	ehea_refill_rq2
	mov	r0, r7
	ldr	r1, [sp, #56]
	bl	ehea_refill_rq3
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L46
	mov	r0, r6
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L43:
	ldr	r1, [sp, #36]
	ldr	r0, [sp, #32]
	bl	get_skb_by_index
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L47
	mov	r3, r7
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [sp, #20]
	bl	ehea_fill_skb
	ldr	r3, [sp, #52]
	add	r3, r3, #1
	str	r3, [sp, #52]
	b	.L8
.L45:
	mov	r3, r5
	ldr	r2, [r4, #4]
	bl	vlan_gro_receive
	b	.L13
.L42:
	ldr	r2, [sp, #60]
	ldr	r1, [sp, #44]
	ldr	r0, [sp, #40]
	bl	get_skb_by_index_ll
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L6
	mov	r0, r10
	bl	netif_msg_rx_err
	cmp	r0, #0
	bne	.L48
.L7:
	ldr	r3, .L50+12
	ldr	r0, [sp, #20]
	ldr	r1, [r3]
	bl	netdev_alloc_skb
	subs	r5, r0, #0
	beq	.L49
.L6:
	ldr	r2, [r4, #8]
	add	r1, r4, #64
	mov	r0, r5
	sub	r2, r2, #4
	bl	skb_copy_to_linear_data
	mov	r3, r7
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [sp, #20]
	bl	ehea_fill_skb
	b	.L8
.L48:
	ldr	r0, .L50+16
	bl	ehea_info
	b	.L7
.L44:
	mov	r0, r10
	bl	netif_msg_rx_err
	cmp	r0, #0
	beq	.L2
	ldr	r0, .L50+20
	bl	ehea_error
	b	.L2
.L47:
	mov	r0, r10
	bl	netif_msg_rx_err
	cmp	r0, #0
	beq	.L2
	ldr	r0, .L50+24
	bl	ehea_error
	b	.L2
.L49:
	ldr	r0, .L50+28
	bl	ehea_error
	b	.L2
.L16:
	mov	r9, r3
	mov	r6, r3
	str	r3, [sp, #12]
	b	.L2
.L46:
	bl	__stack_chk_fail
.L51:
	.align	2
.L50:
	.word	.LC5
	.word	EHEA_CQE_VLAN_TAG_XTRACT
	.word	.LC0
	.word	EHEA_L_PKT_SIZE
	.word	.LC1
	.word	.LC4
	.word	.LC3
	.word	.LC2
	.size	ehea_proc_rwqes, .-ehea_proc_rwqes
	.comm	EHEA_L_PKT_SIZE,4,4
	.comm	EHEA_CQE_VLAN_TAG_XTRACT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
