	.file	"extr_dpaa2-eth.c_xdp_enqueue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xdp_enqueue, @function
xdp_enqueue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	dpaa2_fd_get_frc@PLT
	or	eax, DWORD PTR DPAA2_FD_FRC_FAEADV[rip]
	mov	rdi, r12
	mov	esi, eax
	call	dpaa2_fd_set_frc@PLT
	mov	esi, DWORD PTR DPAA2_FD_CTRL_ASAL[rip]
	mov	rdi, r12
	call	dpaa2_fd_set_ctrl@PLT
	mov	r13d, DWORD PTR DPAA2_FAEAD_A4V[rip]
	xor	esi, esi
	mov	rdi, r15
	or	r13d, DWORD PTR DPAA2_FAEAD_A2V[rip]
	or	r13d, DWORD PTR DPAA2_FAEAD_EBDDV[rip]
	call	dpaa2_get_faead@PLT
	mov	edi, r13d
	mov	rbx, rax
	call	cpu_to_le32@PLT
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 8[rbx], eax
	mov	rax, QWORD PTR 8[rbp]
	lea	r13, [rax+r14*4]
	mov	eax, DWORD PTR DPAA2_ETH_ENQUEUE_RETRIES[rip]
	test	eax, eax
	jle	.L4
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	add	ebx, 1
	cmp	DWORD PTR DPAA2_ETH_ENQUEUE_RETRIES[rip], ebx
	jle	.L1
.L3:
	xor	ecx, ecx
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	[QWORD PTR 0[rbp]]
	mov	edx, eax
	add	edx, DWORD PTR EBUSY[rip]
	je	.L8
.L1:
	add	rsp, 8
	.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
.L4:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xdp_enqueue, .-xdp_enqueue
	.comm	EBUSY,4,4
	.comm	DPAA2_FD_FRC_FAEADV,4,4
	.comm	DPAA2_FD_CTRL_ASAL,4,4
	.comm	DPAA2_FAEAD_EBDDV,4,4
	.comm	DPAA2_FAEAD_A4V,4,4
	.comm	DPAA2_FAEAD_A2V,4,4
	.comm	DPAA2_ETH_ENQUEUE_RETRIES,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_dpaa2-eth.c_xdp_enqueue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xdp_enqueue, %function
xdp_enqueue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r7, r2
	mov	r6, r1
	mov	r9, r3
	bl	dpaa2_fd_get_frc
	mov	r1, r0
	ldr	r3, .L9
	mov	r0, r6
	ldr	r3, [r3]
	orr	r1, r1, r3
	bl	dpaa2_fd_set_frc
	ldr	r3, .L9+4
	mov	r0, r6
	ldr	r1, [r3]
	bl	dpaa2_fd_set_ctrl
	ldr	r1, .L9+8
	ldr	r2, .L9+12
	ldr	r3, .L9+16
	ldr	r2, [r2]
	ldr	r4, [r1]
	ldr	r3, [r3]
	orr	r4, r4, r2
	mov	r1, #0
	mov	r0, r7
	orr	r4, r4, r3
	bl	dpaa2_get_faead
	mov	r8, r0
	mov	r0, r4
	mov	r4, #0
	bl	cpu_to_le32
	ldr	r7, .L9+20
	ldr	r1, [r5, #4]
	ldr	r2, [r7]
	str	r0, [r8, #4]
	cmp	r2, r4
	add	r9, r1, r9, lsl #2
	str	r4, [r8]
	ble	.L4
	ldr	r8, .L9+24
.L3:
	mov	r3, #0
	mov	r2, r6
	mov	r1, r9
	mov	r0, r5
	ldr	r10, [r5]
	blx	r10
	ldr	r3, [r8]
	add	r4, r4, #1
	cmn	r0, r3
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r3, [r7]
	cmp	r3, r4
	bgt	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	DPAA2_FD_FRC_FAEADV
	.word	DPAA2_FD_CTRL_ASAL
	.word	DPAA2_FAEAD_A4V
	.word	DPAA2_FAEAD_A2V
	.word	DPAA2_FAEAD_EBDDV
	.word	DPAA2_ETH_ENQUEUE_RETRIES
	.word	EBUSY
	.size	xdp_enqueue, .-xdp_enqueue
	.comm	EBUSY,4,4
	.comm	DPAA2_FD_FRC_FAEADV,4,4
	.comm	DPAA2_FD_CTRL_ASAL,4,4
	.comm	DPAA2_FAEAD_EBDDV,4,4
	.comm	DPAA2_FAEAD_A4V,4,4
	.comm	DPAA2_FAEAD_A2V,4,4
	.comm	DPAA2_ETH_ENQUEUE_RETRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
