	.file	"extr_enic_main.c_enic_rq_alloc_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	enic_rq_alloc_buf, @function
enic_rq_alloc_buf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rdi]
	call	vnic_dev_priv@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR 8[rax]
	test	rsi, rsi
	je	.L2
	mov	ecx, DWORD PTR 4[rax]
	mov	r8d, DWORD PTR [rax]
	mov	rdi, rbp
	xor	edx, edx
	call	enic_queue_rq_desc@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[r12]
	mov	ebx, DWORD PTR VLAN_ETH_HLEN[rip]
	add	ebx, DWORD PTR [rdi]
	mov	esi, ebx
	call	netdev_alloc_skb_ip_align@PLT
	mov	r13, rax
	test	rax, rax
	je	.L7
	mov	ecx, DWORD PTR PCI_DMA_FROMDEVICE[rip]
	mov	esi, DWORD PTR [rax]
	mov	edx, ebx
	mov	edi, DWORD PTR [r12]
	call	pci_map_single@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	r14d, eax
	call	enic_dma_map_check@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	mov	r8d, ebx
	mov	ecx, r14d
	mov	rsi, r13
	mov	rdi, rbp
	xor	edx, edx
	call	enic_queue_rq_desc@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r13
	call	dev_kfree_skb@PLT
.L7:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	enic_rq_alloc_buf, .-enic_rq_alloc_buf
	.comm	VLAN_ETH_HLEN,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	ENOMEM,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_enic_main.c_enic_rq_alloc_buf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enic_rq_alloc_buf, %function
enic_rq_alloc_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	sub	sp, sp, #8
	ldr	r0, [r0, #4]
	bl	vnic_dev_priv
	ldr	r2, [r4]
	ldr	r1, [r2, #8]
	cmp	r1, #0
	beq	.L2
	ldm	r2, {r2, r3}
	mov	r5, #0
	str	r2, [sp]
	mov	r0, r4
	mov	r2, #0
	bl	enic_queue_rq_desc
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L10
	mov	r5, r0
	ldr	r0, [r0, #4]
	ldr	r2, [r3]
	ldr	r8, [r0]
	add	r8, r8, r2
	mov	r1, r8
	bl	netdev_alloc_skb_ip_align
	subs	r7, r0, #0
	beq	.L7
	ldr	r3, .L10+4
	mov	r2, r8
	ldr	r3, [r3]
	ldr	r1, [r7]
	ldr	r0, [r5]
	bl	pci_map_single
	mov	r6, r0
	mov	r0, r5
	mov	r1, r6
	bl	enic_dma_map_check
	bl	unlikely
	subs	r5, r0, #0
	bne	.L9
	mov	r3, r6
	mov	r1, r7
	mov	r0, r4
	mov	r2, r5
	str	r8, [sp]
	bl	enic_queue_rq_desc
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r7
	bl	dev_kfree_skb
.L7:
	ldr	r3, .L10+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	VLAN_ETH_HLEN
	.word	PCI_DMA_FROMDEVICE
	.word	ENOMEM
	.size	enic_rq_alloc_buf, .-enic_rq_alloc_buf
	.comm	VLAN_ETH_HLEN,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
