	.file	"extr_e100.c_e100_tx_clean.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cb[%d]->status = 0x%04X\n"
	.text
	.p2align 4
	.type	e100_tx_clean, @function
e100_tx_clean:
.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
	lea	r14, 8[rdi]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rdi]
	mov	rdi, r14
	call	spin_lock@PLT
	mov	rbx, QWORD PTR 32[rbp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rbx], 0
	mov	rbx, QWORD PTR 24[rbx]
	add	DWORD PTR 12[rbp], 1
	mov	QWORD PTR 32[rbp], rbx
.L2:
	mov	edi, DWORD PTR cb_complete[rip]
	mov	r15d, DWORD PTR [rbx]
	call	cpu_to_le16@PLT
	test	r15d, eax
	je	.L17
	xor	eax, eax
	call	rmb@PLT
	mov	eax, DWORD PTR [rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	rcx, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	esi, DWORD PTR tx_done[rip]
	mov	r9, rbx
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 80
	sub	r9, QWORD PTR 24[rbp]
	lea	r8, .LC0[rip]
	shr	r9, 5
	call	netif_printk@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], 0
	setne	dil
	call	likely@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR 8[rbx]
	add	DWORD PTR 4[r12], 1
	mov	edi, DWORD PTR 16[rbx]
	mov	r15d, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	rax, QWORD PTR [rax]
	add	DWORD PTR [r12], eax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 20[rbx]
	mov	r13d, eax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	edx, r13d
	mov	ecx, r15d
	mov	esi, eax
	mov	r13d, 1
	call	pci_unmap_single@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	dev_kfree_skb_any@PLT
	mov	QWORD PTR 8[rbx], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r14
	call	spin_unlock@PLT
	xor	edi, edi
	test	r13d, r13d
	jne	.L18
	call	unlikely@PLT
	test	rax, rax
	jne	.L19
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L18:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[rbp]
	call	netif_queue_stopped@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L1
.L19:
	mov	rdi, QWORD PTR 0[rbp]
	call	netif_wake_queue@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	e100_tx_clean, .-e100_tx_clean
	.comm	tx_done,4,4
	.comm	cb_complete,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	KERN_DEBUG,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_e100.c_e100_tx_clean.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cb[%d]->status = 0x%04X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e100_tx_clean, %function
e100_tx_clean:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	mov	r6, #0
	ldr	r7, [r0], #4
	sub	sp, sp, #36
	str	r6, [sp, #20]
	str	r0, [sp, #28]
	ldr	r8, .L19
	bl	spin_lock
	ldr	r10, .L19+4
	ldr	r4, [r5, #20]
	ldr	fp, .L19+8
	b	.L2
.L3:
	ldr	r3, [r5, #8]
	str	r6, [r4]
	ldr	r4, [r4, #16]
	add	r3, r3, #1
	str	r4, [r5, #20]
	str	r3, [r5, #8]
.L2:
	ldr	r0, [r8]
	ldr	r9, [r4]
	bl	cpu_to_le16
	tst	r9, r0
	beq	.L16
	bl	rmb
	ldr	r3, [r5, #16]
	ldr	r1, .L19+12
	sub	r3, r4, r3
	umull	r0, r1, r3, r1
	ldr	r2, [r4]
	lsr	r3, r1, #4
	ldr	r1, .L19+16
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	str	fp, [sp]
	ldr	r3, [r5]
	ldr	r2, [r10]
	ldr	r1, [r1]
	mov	r0, r5
	bl	netif_printk
	ldr	r0, [r4, #4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	likely
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4, #4]
	ldr	r2, [r7]
	ldr	r1, [r3]
	ldr	r3, [r7, #4]
	add	r2, r2, r1
	add	r3, r3, #1
	stm	r7, {r2, r3}
	ldr	r0, [r4, #12]
	ldr	r9, [r5, #12]
	bl	le32_to_cpu
	mov	r1, r0
	ldr	r0, [r4, #8]
	str	r1, [sp, #24]
	bl	le16_to_cpu
	mov	r3, #1
	str	r3, [sp, #20]
	ldr	r3, .L19+20
	mov	r2, r0
	ldr	r1, [sp, #24]
	ldr	r3, [r3]
	mov	r0, r9
	bl	pci_unmap_single
	ldr	r0, [r4, #4]
	bl	dev_kfree_skb_any
	str	r6, [r4, #4]
	b	.L3
.L16:
	ldr	r0, [sp, #28]
	bl	spin_unlock
	ldr	r3, [sp, #20]
	cmp	r3, #0
	ldreq	r0, [sp, #20]
	bne	.L17
	bl	unlikely
	cmp	r0, #0
	bne	.L18
.L1:
	ldr	r0, [sp, #20]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r0, [r5]
	bl	netif_queue_stopped
	subs	r0, r0, #0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	beq	.L1
.L18:
	ldr	r0, [r5]
	bl	netif_wake_queue
	ldr	r0, [sp, #20]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	.align	2
.L19:
	.word	cb_complete
	.word	KERN_DEBUG
	.word	.LC0
	.word	-858993459
	.word	tx_done
	.word	PCI_DMA_TODEVICE
	.size	e100_tx_clean, .-e100_tx_clean
	.comm	tx_done,4,4
	.comm	cb_complete,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	KERN_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
