	.file	"extr_en_main.c_mlx5e_free_rx_descs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx5e_free_rx_descs
	.type	mlx5e_free_rx_descs, @function
mlx5e_free_rx_descs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ[rip]
	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
	lea	rbp, 16[rdi]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	cmp	QWORD PTR [rdi], rax
	jne	.L7
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	call	mlx5_wq_cyc_get_tail@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	[QWORD PTR 8[rbx]]
	mov	rdi, rbp
	call	mlx5_wq_cyc_pop@PLT
.L7:
	mov	rdi, rbp
	call	mlx5_wq_cyc_is_empty@PLT
	test	eax, eax
	je	.L8
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR 24[rdi]
	mov	ebp, DWORD PTR 40[rdi]
	lea	r12, 32[rdi]
	test	eax, eax
	jle	.L5
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, ebp
	mov	rdi, rbx
	add	r13d, 1
	call	[QWORD PTR 8[rbx]]
	mov	esi, ebp
	mov	rdi, r12
	call	mlx5_wq_ll_get_wqe_next_ix@PLT
	mov	ebp, eax
	cmp	DWORD PTR 24[rbx], r13d
	jg	.L4
	mov	rdi, r12
	call	mlx5_wq_ll_is_empty@PLT
	test	eax, eax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 32[rbx]
	mov	r14d, DWORD PTR [rax]
	mov	edi, r14d
	call	be16_to_cpu@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	ebp, eax
	call	mlx5_wq_ll_get_wqe@PLT
	mov	esi, ebp
	mov	rdi, rbx
	mov	r13, rax
	call	[QWORD PTR 8[rbx]]
	mov	rdx, r13
	mov	esi, r14d
	mov	rdi, r12
	call	mlx5_wq_ll_pop@PLT
.L5:
	mov	rdi, r12
	call	mlx5_wq_ll_is_empty@PLT
	test	eax, eax
	je	.L6
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	mlx5e_free_rx_descs, .-mlx5e_free_rx_descs
	.comm	MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ,8,8
	.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_en_main.c_mlx5e_free_rx_descs.c"
	.text
	.align	2
	.global	mlx5e_free_rx_descs
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5e_free_rx_descs, %function
mlx5e_free_rx_descs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r2, r3
	mov	r4, r0
	addne	r5, r0, #8
	beq	.L14
.L7:
	mov	r0, r5
	bl	mlx5_wq_cyc_is_empty
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r5
	bl	mlx5_wq_cyc_get_tail
	ldr	r3, [r4, #4]
	mov	r1, r0
	mov	r0, r4
	blx	r3
	mov	r0, r5
	bl	mlx5_wq_cyc_pop
	b	.L7
.L14:
	ldr	r3, [r0, #12]
	ldr	r5, [r0, #20]
	cmp	r3, #0
	add	r6, r0, #16
	ble	.L5
	mov	r7, #0
.L4:
	mov	r1, r5
	ldr	r3, [r4, #4]
	mov	r0, r4
	blx	r3
	mov	r1, r5
	mov	r0, r6
	bl	mlx5_wq_ll_get_wqe_next_ix
	ldr	r3, [r4, #12]
	add	r7, r7, #1
	cmp	r3, r7
	mov	r5, r0
	bgt	.L4
.L5:
	mov	r0, r6
	bl	mlx5_wq_ll_is_empty
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4, #16]
	ldr	r7, [r3]
	mov	r0, r7
	bl	be16_to_cpu
	mov	r5, r0
	mov	r0, r6
	mov	r1, r5
	bl	mlx5_wq_ll_get_wqe
	mov	r1, r5
	mov	r5, r0
	ldr	r3, [r4, #4]
	mov	r0, r4
	blx	r3
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	bl	mlx5_wq_ll_pop
	b	.L5
.L16:
	.align	2
.L15:
	.word	MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ
	.size	mlx5e_free_rx_descs, .-mlx5e_free_rx_descs
	.comm	MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
