	.file	"extr_ixgbe_main.c_ixgbe_clean_tx_ring.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_clean_tx_ring, @function
ixgbe_clean_tx_ring:
.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
	mov	r13, rdi
	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
	cmp	QWORD PTR 40[rdi], 0
	jne	.L2
	mov	r12, QWORD PTR [rdi]
	cmp	r12, QWORD PTR 8[rdi]
	je	.L17
	mov	rbx, r12
	sal	rbx, 4
	add	rbx, QWORD PTR 24[rdi]
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r13
	call	ring_is_xdp@PLT
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR 12[rbx]
	call	xdp_return_frame@PLT
.L7:
	mov	esi, DWORD PTR len[rip]
	mov	rdi, rbx
	mov	r15d, DWORD PTR DMA_TO_DEVICE[rip]
	call	dma_unmap_len@PLT
	mov	esi, DWORD PTR dma[rip]
	mov	rdi, rbx
	mov	r14, rax
	call	dma_unmap_addr@PLT
	mov	edi, DWORD PTR 32[r13]
	mov	ecx, r15d
	mov	rdx, r14
	mov	esi, eax
	call	dma_unmap_single@PLT
	mov	r15, QWORD PTR [rbx]
	mov	rsi, r12
	mov	rdi, r13
	mov	QWORD PTR 8[rsp], r15
	call	IXGBE_TX_DESC@PLT
	mov	rbp, rax
	cmp	r15, rax
	jne	.L12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	lea	r15, 2[r12]
	add	rbx, 16
	add	rbp, 4
	mov	r12, r14
.L10:
	mov	esi, DWORD PTR len[rip]
	mov	rdi, rbx
	call	dma_unmap_len@PLT
	test	rax, rax
	jne	.L25
	cmp	rbp, QWORD PTR 8[rsp]
	je	.L13
.L12:
	xor	edi, edi
	lea	r14, 1[r12]
	cmp	QWORD PTR 16[r13], r14
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L26
	xor	esi, esi
	mov	rdi, r13
	mov	rbx, QWORD PTR 24[r13]
	mov	r15d, 1
	call	IXGBE_TX_DESC@PLT
	xor	r12d, r12d
	mov	rbp, rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	mov	ecx, DWORD PTR DMA_TO_DEVICE[rip]
	mov	esi, DWORD PTR len[rip]
	mov	rdi, rbx
	mov	DWORD PTR 28[rsp], ecx
	call	dma_unmap_len@PLT
	mov	esi, DWORD PTR dma[rip]
	mov	rdi, rbx
	mov	QWORD PTR 16[rsp], rax
	call	dma_unmap_addr@PLT
	mov	edi, DWORD PTR 32[r13]
	mov	ecx, DWORD PTR 28[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	esi, eax
	call	dma_unmap_page@PLT
	cmp	rbp, QWORD PTR 8[rsp]
	jne	.L12
.L13:
	xor	edi, edi
	cmp	QWORD PTR 16[r13], r15
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L14
	add	rbx, 16
	mov	r12, r15
.L15:
	cmp	QWORD PTR 8[r13], r12
	jne	.L16
.L17:
	mov	rdi, r13
	call	ring_is_xdp@PLT
	test	rax, rax
	je	.L27
.L5:
	mov	QWORD PTR 8[r13], 0
	mov	QWORD PTR 0[r13], 0
	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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rbx, QWORD PTR 24[r13]
	xor	r12d, r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR 8[rbx]
	call	dev_kfree_skb_any@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	lea	r15, 1[r12]
	jmp	.L13
.L27:
	mov	rdi, r13
	call	txring_txq@PLT
	mov	edi, eax
	call	netdev_tx_reset_queue@PLT
	jmp	.L5
.L2:
	call	ixgbe_xsk_clean_tx_ring@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ixgbe_clean_tx_ring, .-ixgbe_clean_tx_ring
	.comm	len,4,4
	.comm	dma,4,4
	.comm	DMA_TO_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_ixgbe_main.c_ixgbe_clean_tx_ring.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_clean_tx_ring, %function
ixgbe_clean_tx_ring:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #20]
	mov	r7, r0
	cmp	r3, #0
	sub	sp, sp, #12
	bne	.L2
	ldr	r6, [r0]
	ldr	r3, [r0, #4]
	cmp	r6, r3
	beq	.L17
	ldr	r2, [r0, #12]
	add	r4, r6, r6, lsl #1
	ldr	r8, .L28
	add	r4, r2, r4, lsl #2
.L16:
	mov	r0, r7
	bl	ring_is_xdp
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r4, #8]
	bl	xdp_return_frame
.L7:
	ldr	r3, .L28+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r9, [r7, #16]
	bl	dma_unmap_addr
	ldr	r1, [r8]
	mov	r5, r0
	mov	r0, r4
	bl	dma_unmap_len
	ldr	r3, .L28+8
	mov	r2, r0
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r9
	bl	dma_unmap_single
	mov	r1, r6
	mov	r0, r7
	ldr	r10, [r4]
	bl	IXGBE_TX_DESC
	cmp	r10, r0
	mov	r5, r0
	bne	.L12
	b	.L8
.L26:
	add	fp, r6, #2
	mov	r6, r9
	add	r4, r4, #12
	add	r5, r5, #4
.L10:
	mov	r0, r4
	ldr	r1, [r8]
	bl	dma_unmap_len
	cmp	r0, #0
	bne	.L25
	cmp	r5, r10
	beq	.L13
.L12:
	ldr	r0, [r7, #8]
	add	r9, r6, #1
	sub	r0, r0, r9
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L26
	mov	r1, #0
	mov	r0, r7
	ldr	r4, [r7, #12]
	bl	IXGBE_TX_DESC
	mov	fp, #1
	mov	r5, r0
	mov	r6, #0
	b	.L10
.L25:
	ldr	r3, .L28+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r3, [r7, #16]
	str	r3, [sp, #4]
	bl	dma_unmap_addr
	ldr	r1, [r8]
	mov	r9, r0
	mov	r0, r4
	bl	dma_unmap_len
	ldr	r3, [sp, #4]
	mov	r2, r0
	mov	r0, r3
	ldr	r3, .L28+8
	mov	r1, r9
	ldr	r3, [r3]
	bl	dma_unmap_page
	cmp	r5, r10
	bne	.L12
.L13:
	ldr	r0, [r7, #8]
	sub	r0, r0, fp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	moveq	r6, fp
	movne	r6, #0
	ldr	r3, [r7, #4]
	ldrne	r4, [r7, #12]
	addeq	r4, r4, #12
	cmp	r3, r6
	bne	.L16
.L17:
	mov	r0, r7
	bl	ring_is_xdp
	cmp	r0, #0
	beq	.L27
.L5:
	mov	r3, #0
	str	r3, [r7, #4]
	str	r3, [r7]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r0, [r4, #4]
	bl	dev_kfree_skb_any
	b	.L7
.L8:
	add	fp, r6, #1
	b	.L13
.L27:
	mov	r0, r7
	bl	txring_txq
	bl	netdev_tx_reset_queue
	b	.L5
.L2:
	bl	ixgbe_xsk_clean_tx_ring
	b	.L5
.L29:
	.align	2
.L28:
	.word	len
	.word	dma
	.word	DMA_TO_DEVICE
	.size	ixgbe_clean_tx_ring, .-ixgbe_clean_tx_ring
	.comm	len,4,4
	.comm	dma,4,4
	.comm	DMA_TO_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
