	.file	"extr_ehea_main.c_ehea_treat_poll_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Critical receive error for QP %d. Resetting port.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"CQE"
	.text
	.p2align 4
	.type	ehea_treat_poll_error, @function
ehea_treat_poll_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdx]
	test	DWORD PTR EHEA_CQE_STAT_ERR_TCP[rip], eax
	je	.L2
	add	DWORD PTR 40[rdi], 1
.L2:
	test	DWORD PTR EHEA_CQE_STAT_ERR_IP[rip], eax
	je	.L3
	add	DWORD PTR 36[rbx], 1
.L3:
	test	DWORD PTR EHEA_CQE_STAT_ERR_CRC[rip], eax
	je	.L4
	add	DWORD PTR 32[rbx], 1
.L4:
	cmp	esi, 2
	je	.L27
	cmp	esi, 3
	je	.L28
	and	eax, DWORD PTR EHEA_CQE_STAT_FAT_ERR_MASK[rip]
	jne	.L29
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	add	DWORD PTR [rcx], 1
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 28[rbx]
.L25:
	mov	rdx, rbp
	call	get_skb_by_index@PLT
	mov	rdi, rax
	call	dev_kfree_skb@PLT
	mov	eax, DWORD PTR 0[rbp]
	and	eax, DWORD PTR EHEA_CQE_STAT_FAT_ERR_MASK[rip]
	je	.L1
.L29:
	mov	edi, DWORD PTR [rbx]
	call	netif_msg_rx_err@PLT
	test	rax, rax
	jne	.L30
.L8:
	mov	edi, DWORD PTR [rbx]
	call	ehea_schedule_port_reset@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR [rax]
	call	pr_err@PLT
	lea	rdx, .LC1[rip]
	mov	esi, 4
	mov	rdi, rbp
	call	ehea_dump@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L28:
	add	DWORD PTR [r8], 1
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 20[rbx]
	jmp	.L25
	.cfi_endproc
.LFE0:
	.size	ehea_treat_poll_error, .-ehea_treat_poll_error
	.comm	EHEA_CQE_STAT_FAT_ERR_MASK,4,4
	.comm	EHEA_CQE_STAT_ERR_TCP,4,4
	.comm	EHEA_CQE_STAT_ERR_IP,4,4
	.comm	EHEA_CQE_STAT_ERR_CRC,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_treat_poll_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Critical receive error for QP %d. Resetting port.\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"CQE\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ehea_treat_poll_error, %function
ehea_treat_poll_error:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	ldr	r2, .L29
	ldr	ip, [r5]
	ldr	r2, [r2]
	mov	r4, r0
	tst	ip, r2
	ldrne	r2, [r0, #32]
	addne	r2, r2, #1
	strne	r2, [r0, #32]
	ldr	r2, .L29+4
	ldr	r2, [r2]
	tst	ip, r2
	ldrne	r2, [r0, #28]
	addne	r2, r2, #1
	strne	r2, [r0, #28]
	ldr	r2, .L29+8
	ldr	r2, [r2]
	tst	ip, r2
	ldrne	r2, [r0, #24]
	addne	r2, r2, #1
	strne	r2, [r0, #24]
	cmp	r1, #2
	beq	.L26
	cmp	r1, #3
	beq	.L27
.L6:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ands	r0, ip, r0
	popeq	{r4, r5, r6, pc}
	ldr	r0, [r4]
	bl	netif_msg_rx_err
	cmp	r0, #0
	bne	.L28
.L8:
	ldr	r0, [r4]
	bl	ehea_schedule_port_reset
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L26:
	ldr	r1, [r3]
	mov	r2, r5
	add	r1, r1, #1
	str	r1, [r3]
	ldr	r1, [r0, #16]
	ldr	r0, [r0, #20]
	bl	get_skb_by_index
	bl	dev_kfree_skb
	ldr	ip, [r5]
	b	.L6
.L28:
	ldr	r3, [r4, #4]
	ldr	r0, .L29+16
	ldr	r1, [r3]
	bl	pr_err
	mov	r0, r5
	mov	r1, #4
	ldr	r2, .L29+20
	bl	ehea_dump
	b	.L8
.L27:
	ldr	r3, [sp, #16]
	ldr	r1, [sp, #16]
	ldr	r3, [r3]
	mov	r2, r5
	add	r3, r3, #1
	str	r3, [r1]
	ldr	r1, [r0, #8]
	ldr	r0, [r0, #12]
	bl	get_skb_by_index
	bl	dev_kfree_skb
	ldr	ip, [r5]
	b	.L6
.L30:
	.align	2
.L29:
	.word	EHEA_CQE_STAT_ERR_TCP
	.word	EHEA_CQE_STAT_ERR_IP
	.word	EHEA_CQE_STAT_ERR_CRC
	.word	EHEA_CQE_STAT_FAT_ERR_MASK
	.word	.LC0
	.word	.LC1
	.size	ehea_treat_poll_error, .-ehea_treat_poll_error
	.comm	EHEA_CQE_STAT_FAT_ERR_MASK,4,4
	.comm	EHEA_CQE_STAT_ERR_TCP,4,4
	.comm	EHEA_CQE_STAT_ERR_IP,4,4
	.comm	EHEA_CQE_STAT_ERR_CRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
