	.file	"extr_qlge_main.c_ql_tx_ring_clean.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Freeing lost SKB %p, from queue %d, index %d.\n"
	.text
	.p2align 4
	.type	ql_tx_ring_clean, @function
ql_tx_ring_clean:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR [rdi]
	test	esi, esi
	jle	.L16
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, .LC0[rip]
	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, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], 0
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r12, QWORD PTR 8[rsp]
	mov	r15d, r12d
	sal	r12, 4
	add	r12, QWORD PTR 8[r13]
	mov	ecx, DWORD PTR [r12]
	test	ecx, ecx
	jle	.L3
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbx, rbp
	sal	rbx, 4
	add	rbx, QWORD PTR 8[r12]
	je	.L4
	mov	r8, QWORD PTR [rbx]
	test	r8, r8
	je	.L4
	mov	eax, DWORD PTR 12[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, DWORD PTR 4[r13]
	mov	r9d, r15d
	mov	esi, DWORD PTR ifdown[rip]
	mov	rcx, r14
	mov	rdi, r13
	push	rax
	.cfi_def_cfa_offset 96
	call	netif_err@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	rsi, rbx
	mov	rdi, r13
	call	ql_unmap_send@PLT
	mov	rdi, QWORD PTR [rbx]
	call	dev_kfree_skb@PLT
	mov	QWORD PTR [rbx], 0
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
.L4:
	add	rbp, 1
	cmp	DWORD PTR [r12], ebp
	jg	.L5
.L3:
	add	QWORD PTR 8[rsp], 1
	mov	rax, QWORD PTR 8[rsp]
	cmp	DWORD PTR 0[r13], eax
	jg	.L6
	add	rsp, 24
	.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
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	ql_tx_ring_clean, .-ql_tx_ring_clean
	.comm	ifdown,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_qlge_main.c_ql_tx_ring_clean.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Freeing lost SKB %p, from queue %d, index %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_tx_ring_clean, %function
ql_tx_ring_clean:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	cmp	r2, #0
	bxle	lr
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	mov	r10, #0
	ldr	fp, .L20
	sub	sp, sp, #20
.L6:
	ldr	r8, [r9, #8]
	ldr	r3, [r8, r10, lsl #3]
	add	r8, r8, r10, lsl #3
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
.L5:
	ldr	r5, [r8, #4]
	add	r6, r4, r4, lsl #1
	adds	r7, r5, r6, lsl #2
	add	r4, r4, #1
	beq	.L4
	ldr	r2, [r5, r6, lsl #2]
	cmp	r2, #0
	beq	.L4
	ldr	r1, [r7, #8]
	stm	sp, {r2, r10}
	str	r1, [sp, #8]
	ldr	r1, .L20+4
	mov	r3, fp
	ldr	r2, [r9, #4]
	ldr	r1, [r1]
	mov	r0, r9
	bl	netif_err
	ldr	r2, [r7, #4]
	mov	r1, r7
	mov	r0, r9
	bl	ql_unmap_send
	ldr	r0, [r5, r6, lsl #2]
	bl	dev_kfree_skb
	mov	r2, #0
	ldr	r3, [r8]
	str	r2, [r5, r6, lsl #2]
.L4:
	cmp	r3, r4
	bgt	.L5
	ldr	r2, [r9]
.L3:
	add	r10, r10, #1
	cmp	r2, r10
	bgt	.L6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	ifdown
	.size	ql_tx_ring_clean, .-ql_tx_ring_clean
	.comm	ifdown,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
