	.file	"extr_e100.c_e100_clean_cbs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e100_clean_cbs, @function
e100_clean_cbs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rsi, QWORD PTR 8[rdi]
	test	rsi, rsi
	je	.L2
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 56[rdi], rax
	je	.L3
	mov	rbp, QWORD PTR 16[rdi]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR [rbx]
	mov	rbp, QWORD PTR 0[rbp]
	add	rax, 1
	mov	QWORD PTR 16[rbx], rbp
	mov	QWORD PTR [rbx], rax
	cmp	rax, QWORD PTR 56[rbx]
	je	.L12
.L5:
	cmp	QWORD PTR 8[rbp], 0
	je	.L4
	mov	edi, DWORD PTR 16[rbp]
	mov	r13d, DWORD PTR PCI_DMA_TODEVICE[rip]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 20[rbp]
	mov	r12d, eax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 52[rbx]
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, eax
	call	pci_unmap_single@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	dev_kfree_skb@PLT
	mov	rbp, QWORD PTR 16[rbx]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR 8[rbx]
.L3:
	mov	edx, DWORD PTR 44[rbx]
	mov	edi, DWORD PTR 48[rbx]
	call	dma_pool_free@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
.L2:
	mov	eax, DWORD PTR cuc_start[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	DWORD PTR 40[rbx], eax
	mov	QWORD PTR 32[rbx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	e100_clean_cbs, .-e100_clean_cbs
	.comm	cuc_start,4,4
	.comm	PCI_DMA_TODEVICE,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_clean_cbs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e100_clean_cbs, %function
e100_clean_cbs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r1, #0
	mov	r4, r0
	beq	.L2
	ldr	r0, [r0, #36]
	ldr	r3, [r4]
	cmp	r0, r3
	beq	.L3
	ldr	r5, [r4, #8]
	ldr	r7, .L16
	b	.L5
.L4:
	ldr	r5, [r5]
	add	r3, r3, #1
	cmp	r3, r0
	str	r5, [r4, #8]
	str	r3, [r4]
	beq	.L15
.L5:
	ldr	r2, [r5, #4]
	cmp	r2, #0
	beq	.L4
	ldr	r0, [r5, #12]
	ldr	r8, [r4, #32]
	bl	le32_to_cpu
	mov	r6, r0
	ldr	r0, [r5, #8]
	bl	le16_to_cpu
	ldr	r3, [r7]
	mov	r2, r0
	mov	r1, r6
	mov	r0, r8
	bl	pci_unmap_single
	ldr	r0, [r5, #4]
	bl	dev_kfree_skb
	ldr	r5, [r4, #8]
	ldr	r0, [r4, #36]
	ldr	r3, [r4]
	b	.L4
.L15:
	ldr	r1, [r4, #4]
.L3:
	ldr	r2, [r4, #24]
	ldr	r0, [r4, #28]
	bl	dma_pool_free
	mov	r3, #0
	str	r3, [r4, #4]
	str	r3, [r4]
.L2:
	mov	r3, #0
	ldr	r2, .L16+4
	str	r3, [r4, #8]
	ldr	r2, [r2]
	str	r3, [r4, #12]
	str	r2, [r4, #20]
	str	r3, [r4, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	PCI_DMA_TODEVICE
	.word	cuc_start
	.size	e100_clean_cbs, .-e100_clean_cbs
	.comm	cuc_start,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
