	.file	"extr_defxx.c_dfx_rcv_queue_process.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: Could not allocate receive buffer.  Dropping packet.\n"
	.text
	.p2align 4
	.type	dfx_rcv_queue_process, @function
dfx_rcv_queue_process:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbp, QWORD PTR 80[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	cmp	QWORD PTR 0[rbp], rax
	je	.L1
	mov	rbx, rdi
	lea	r12, 20[rsp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	add	DWORD PTR 72[rbx], 1
.L5:
	mov	rax, QWORD PTR 8[rbx]
	add	DWORD PTR 16[rbx], 1
	add	rax, 1
	mov	QWORD PTR 8[rbx], rax
	cmp	rax, QWORD PTR 0[rbp]
	je	.L1
.L9:
	mov	rdx, QWORD PTR [rbx]
	cdqe
	mov	esi, DWORD PTR RCV_BUFF_K_DESCR[rip]
	mov	edi, DWORD PTR 48[rbx]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	r13, QWORD PTR [rdx+rax*8]
	mov	rdx, QWORD PTR 56[rbx]
	mov	rdx, QWORD PTR [rdx]
	mov	r14d, DWORD PTR [rdx+rax*4]
	mov	edx, 4
	add	esi, r14d
	call	dma_sync_single_for_cpu@PLT
	movsx	rsi, DWORD PTR RCV_BUFF_K_DESCR[rip]
	mov	edx, 4
	mov	rdi, r12
	add	rsi, r13
	call	memcpy@PLT
	mov	edx, DWORD PTR 20[rsp]
	test	DWORD PTR PI_FMC_DESCR_M_RCC_FLUSH[rip], edx
	je	.L3
	test	DWORD PTR PI_FMC_DESCR_M_RCC_CRC[rip], edx
	jne	.L17
	add	DWORD PTR 68[rbx], 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, DWORD PTR PI_FMC_DESCR_V_LEN[rip]
	and	edx, DWORD PTR PI_FMC_DESCR_M_LEN[rip]
	mov	esi, DWORD PTR FDDI_K_LLC_ZLEN[rip]
	sar	edx, cl
	mov	DWORD PTR [rsp], edx
	lea	r15d, -4[rdx]
	mov	edx, DWORD PTR FDDI_K_LLC_LEN[rip]
	mov	edi, r15d
	call	IN_RANGE@PLT
	mov	ecx, DWORD PTR [rsp]
	test	eax, eax
	jne	.L6
	add	DWORD PTR 64[rbx], 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	lea	edx, -1[rcx]
	mov	rdi, QWORD PTR 40[rbx]
	mov	esi, edx
	mov	DWORD PTR [rsp], edx
	call	netdev_alloc_skb@PLT
	mov	edx, DWORD PTR [rsp]
	test	rax, rax
	je	.L18
	mov	esi, DWORD PTR RCV_BUFF_K_PADDING[rip]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	DWORD PTR [rsp], edx
	mov	edi, DWORD PTR 48[rbx]
	mov	QWORD PTR 8[rsp], rax
	add	esi, r14d
	call	dma_sync_single_for_cpu@PLT
	mov	r8, QWORD PTR 8[rsp]
	movsx	rsi, DWORD PTR RCV_BUFF_K_PADDING[rip]
	mov	edx, DWORD PTR [rsp]
	mov	rdi, r8
	add	rsi, r13
	mov	QWORD PTR [rsp], r8
	call	skb_copy_to_linear_data@PLT
	mov	r8, QWORD PTR [rsp]
	mov	esi, 3
	mov	rdi, r8
	call	skb_reserve@PLT
	mov	r8, QWORD PTR [rsp]
	mov	esi, r15d
	mov	rdi, r8
	call	skb_put@PLT
	mov	r8, QWORD PTR [rsp]
	mov	rsi, QWORD PTR 40[rbx]
	mov	rdi, r8
	call	fddi_type_trans@PLT
	mov	r8, QWORD PTR [rsp]
	mov	DWORD PTR 8[r8], eax
	mov	rax, QWORD PTR [r8]
	mov	rdi, r8
	add	DWORD PTR 32[rbx], eax
	call	netif_rx@PLT
	movsx	rax, DWORD PTR RCV_BUFF_K_DA[rip]
	add	DWORD PTR 28[rbx], 1
	test	BYTE PTR 0[r13+rax], 1
	je	.L5
	add	DWORD PTR 24[rbx], 1
	jmp	.L5
.L18:
	mov	rax, QWORD PTR 40[rbx]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR [rax]
	call	printk@PLT
	add	DWORD PTR 52[rbx], 1
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dfx_rcv_queue_process, .-dfx_rcv_queue_process
	.comm	SKBUFF_RX_COPYBREAK,4,4
	.comm	RCV_BUFF_K_PADDING,4,4
	.comm	RCV_BUFF_K_DESCR,4,4
	.comm	RCV_BUFF_K_DA,4,4
	.comm	PI_RCV_DATA_K_SIZE_MAX,4,4
	.comm	PI_FMC_DESCR_V_LEN,4,4
	.comm	PI_FMC_DESCR_M_RCC_FLUSH,4,4
	.comm	PI_FMC_DESCR_M_RCC_CRC,4,4
	.comm	PI_FMC_DESCR_M_LEN,4,4
	.comm	NEW_SKB_SIZE,4,4
	.comm	FDDI_K_LLC_ZLEN,4,4
	.comm	FDDI_K_LLC_LEN,4,4
	.comm	DMA_FROM_DEVICE,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_defxx.c_dfx_rcv_queue_process.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Could not allocate receive buffer.  Dropping pa"
	.ascii	"cket.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfx_rcv_queue_process, %function
dfx_rcv_queue_process:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r0, #52]
	ldr	ip, [r0, #4]
	ldr	r3, [r9]
	ldr	r2, .L20
	sub	sp, sp, #20
	cmp	r3, ip
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L1
	mov	r4, r0
	ldr	fp, .L20+4
	ldr	r7, .L20+8
	ldr	r10, .L20+12
	b	.L9
.L17:
	ldr	r2, .L20+16
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r3, [r4, #48]
	ldreq	r3, [r4, #44]
	addne	r3, r3, #1
	addeq	r3, r3, #1
	strne	r3, [r4, #48]
	streq	r3, [r4, #44]
.L5:
	ldr	ip, [r4, #4]
	ldr	r2, [r9]
	ldr	r3, [r4, #8]
	add	ip, ip, #1
	add	r3, r3, #1
	cmp	ip, r2
	str	ip, [r4, #4]
	str	r3, [r4, #8]
	beq	.L1
.L9:
	ldr	r3, [r4, #36]
	ldr	r1, [r7]
	ldr	r3, [r3]
	ldr	lr, [r4]
	ldr	r6, [r3, ip, lsl #2]
	mov	r2, #4
	ldr	r3, [fp]
	add	r1, r6, r1
	ldr	r0, [r4, #28]
	ldr	r5, [lr, ip, lsl #2]
	bl	dma_sync_single_for_cpu
	ldr	r1, [r7]
	mov	r2, #4
	add	r1, r5, r1
	add	r0, sp, #8
	bl	memcpy
	ldr	r3, [sp, #8]
	ldr	r2, [r10]
	tst	r3, r2
	bne	.L17
	ldr	r2, .L20+20
	ldr	r1, .L20+24
	ldr	r2, [r2]
	ldr	r8, [r1]
	and	r3, r3, r2
	asr	r8, r3, r8
	sub	r3, r8, #4
	mov	r0, r3
	str	r3, [sp]
	ldr	r3, .L20+28
	ldr	r2, [r3]
	ldr	r3, .L20+32
	ldr	r1, [r3]
	bl	IN_RANGE
	cmp	r0, #0
	ldreq	r3, [r4, #40]
	addeq	r3, r3, #1
	streq	r3, [r4, #40]
	beq	.L5
.L6:
	sub	r2, r8, #1
	mov	r1, r2
	ldr	r0, [r4, #24]
	str	r2, [sp, #4]
	bl	netdev_alloc_skb
	subs	r8, r0, #0
	ldr	r2, [sp, #4]
	beq	.L18
	ldr	r3, .L20+36
	ldr	r0, [r4, #28]
	ldr	r1, [r3]
	ldr	r3, [fp]
	add	r1, r6, r1
	str	r2, [sp, #4]
	bl	dma_sync_single_for_cpu
	ldr	r3, .L20+36
	ldr	r2, [sp, #4]
	ldr	r1, [r3]
	mov	r0, r8
	add	r1, r5, r1
	bl	skb_copy_to_linear_data
	mov	r1, #3
	mov	r0, r8
	bl	skb_reserve
	ldr	r1, [sp]
	mov	r0, r8
	bl	skb_put
	ldr	r1, [r4, #24]
	mov	r0, r8
	bl	fddi_type_trans
	ldr	r3, [r4, #20]
	ldr	r2, [r8]
	str	r0, [r8, #4]
	add	r3, r3, r2
	str	r3, [r4, #20]
	mov	r0, r8
	bl	netif_rx
	ldr	r3, [r4, #16]
	ldr	r2, .L20+40
	add	r3, r3, #1
	ldr	r2, [r2]
	str	r3, [r4, #16]
	ldrb	r3, [r5, r2]	@ zero_extendqisi2
	tst	r3, #1
	ldrne	r3, [r4, #12]
	addne	r3, r3, #1
	strne	r3, [r4, #12]
	b	.L5
.L18:
	ldr	r3, [r4, #24]
	ldr	r0, .L20+44
	ldr	r1, [r3]
	bl	printk
	ldr	r3, [r4, #32]
	add	r3, r3, #1
	str	r3, [r4, #32]
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	DMA_FROM_DEVICE
	.word	RCV_BUFF_K_DESCR
	.word	PI_FMC_DESCR_M_RCC_FLUSH
	.word	PI_FMC_DESCR_M_RCC_CRC
	.word	PI_FMC_DESCR_M_LEN
	.word	PI_FMC_DESCR_V_LEN
	.word	FDDI_K_LLC_LEN
	.word	FDDI_K_LLC_ZLEN
	.word	RCV_BUFF_K_PADDING
	.word	RCV_BUFF_K_DA
	.word	.LC0
	.size	dfx_rcv_queue_process, .-dfx_rcv_queue_process
	.comm	SKBUFF_RX_COPYBREAK,4,4
	.comm	RCV_BUFF_K_PADDING,4,4
	.comm	RCV_BUFF_K_DESCR,4,4
	.comm	RCV_BUFF_K_DA,4,4
	.comm	PI_RCV_DATA_K_SIZE_MAX,4,4
	.comm	PI_FMC_DESCR_V_LEN,4,4
	.comm	PI_FMC_DESCR_M_RCC_FLUSH,4,4
	.comm	PI_FMC_DESCR_M_RCC_CRC,4,4
	.comm	PI_FMC_DESCR_M_LEN,4,4
	.comm	NEW_SKB_SIZE,4,4
	.comm	FDDI_K_LLC_ZLEN,4,4
	.comm	FDDI_K_LLC_LEN,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
