	.file	"extr_ec_bhf.c_ec_bhf_process_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Couldn't allocate a skb_buff for a packet of size %u\n"
	.text
	.p2align 4
	.type	ec_bhf_process_rx, @function
ec_bhf_process_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
	lea	r13, .LC0[rip]
	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	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR [rdi]
	lea	rdx, [rax+rax*2]
	mov	rax, QWORD PTR 16[rdi]
	lea	r14, [rax+rdx*8]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, rax
	call	skb_put_data@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	rdi, rbp
	call	eth_type_trans@PLT
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	add	DWORD PTR 8[rbx], r12d
	call	netif_rx@PLT
.L4:
	mov	QWORD PTR [r14], 0
	mov	rsi, r14
	mov	rdi, rbx
	call	ec_bhf_add_rx_desc@PLT
	mov	rax, QWORD PTR [rbx]
	movsx	rcx, DWORD PTR 12[rbx]
	xor	edx, edx
	add	rax, 1
	div	rcx
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rdx
	lea	rdx, [rdx+rdx*2]
	lea	r14, [rax+rdx*8]
.L2:
	mov	rdi, r14
	call	ec_bhf_pkt_received@PLT
	test	rax, rax
	je	.L8
	mov	edi, DWORD PTR 8[r14]
	call	le16_to_cpu@PLT
	and	eax, DWORD PTR RXHDR_LEN_MASK[rip]
	mov	edi, DWORD PTR 24[rbx]
	lea	r12d, -8[rax]
	mov	r15, QWORD PTR 16[r14]
	mov	esi, r12d
	call	netdev_alloc_skb_ip_align@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L9
	mov	rdi, rbx
	call	PRIV_TO_DEV@PLT
	mov	edx, r12d
	mov	rsi, r13
	mov	edi, eax
	call	dev_err_ratelimited@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	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	ec_bhf_process_rx, .-ec_bhf_process_rx
	.comm	RXHDR_LEN_MASK,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_ec_bhf.c_ec_bhf_process_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Couldn't allocate a skb_buff for a packet of size %"
	.ascii	"u\012\000"
	.global	__aeabi_uidivmod
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ec_bhf_process_rx, %function
ec_bhf_process_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0]
	ldr	r5, [r0, #12]
	add	r3, r3, r3, lsl #1
	mov	r4, r0
	mov	r7, #0
	ldr	r8, .L10
	ldr	r9, .L10+4
	add	r5, r5, r3, lsl #2
	b	.L2
.L9:
	mov	r2, r6
	mov	r1, fp
	bl	skb_put_data
	mov	r0, r10
	ldr	r1, [r4, #16]
	bl	eth_type_trans
	ldr	r2, [r4, #4]
	str	r0, [r10]
	add	r6, r2, r6
	mov	r0, r10
	str	r6, [r4, #4]
	bl	netif_rx
.L4:
	mov	r1, r5
	str	r7, [r5]
	mov	r0, r4
	bl	ec_bhf_add_rx_desc
	ldr	r0, [r4]
	ldr	r1, [r4, #8]
	add	r0, r0, #1
	bl	__aeabi_uidivmod
	ldr	r5, [r4, #12]
	add	r3, r1, r1, lsl #1
	str	r1, [r4]
	add	r5, r5, r3, lsl #2
.L2:
	mov	r0, r5
	bl	ec_bhf_pkt_received
	cmp	r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r0, [r5, #4]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r2, [r8]
	ldr	r0, [r4, #16]
	and	r6, r6, r2
	sub	r6, r6, #8
	mov	r1, r6
	ldr	fp, [r5, #8]
	bl	netdev_alloc_skb_ip_align
	subs	r10, r0, #0
	bne	.L9
	mov	r0, r4
	bl	PRIV_TO_DEV
	mov	r2, r6
	mov	r1, r9
	bl	dev_err_ratelimited
	b	.L4
.L11:
	.align	2
.L10:
	.word	RXHDR_LEN_MASK
	.word	.LC0
	.size	ec_bhf_process_rx, .-ec_bhf_process_rx
	.comm	RXHDR_LEN_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
