	.file	"extr_qlge_main.c_ql_unmap_send.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unmapping OAL area.\n"
.LC1:
	.string	"unmapping frag %d.\n"
	.text
	.p2align 4
	.type	ql_unmap_send, @function
ql_unmap_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 20[rsp], edx
	sub	edx, 1
	mov	QWORD PTR 8[rsp], rdx
	test	eax, eax
	jg	.L6
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rbx, rax
.L6:
	mov	r9d, ebx
	lea	r15, 0[0+rbx*4]
	test	rbx, rbx
	je	.L3
	mov	ecx, DWORD PTR 4[r12]
	mov	edx, DWORD PTR KERN_DEBUG[rip]
	mov	esi, DWORD PTR tx_done[rip]
	cmp	ebx, 7
	jne	.L4
	cmp	DWORD PTR 20[rsp], 7
	jle	.L4
	lea	r8, .LC0[rip]
	mov	rdi, r12
	xor	eax, eax
	call	netif_printk@PLT
.L3:
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR maplen[rip]
	mov	r14d, DWORD PTR PCI_DMA_TODEVICE[rip]
	add	rdi, r15
	call	dma_unmap_len@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR mapaddr[rip]
	mov	r13d, eax
	add	rdi, r15
	call	dma_unmap_addr@PLT
	mov	edi, DWORD PTR [r12]
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, eax
	call	pci_unmap_single@PLT
.L5:
	lea	rax, 1[rbx]
	cmp	rbx, QWORD PTR 8[rsp]
	jne	.L8
.L1:
	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
.L4:
	.cfi_restore_state
	lea	r8, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	netif_printk@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	ecx, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	esi, DWORD PTR maplen[rip]
	add	rdi, r15
	mov	DWORD PTR 28[rsp], ecx
	call	dma_unmap_len@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR mapaddr[rip]
	mov	DWORD PTR 24[rsp], eax
	add	rdi, r15
	call	dma_unmap_addr@PLT
	mov	ecx, DWORD PTR 28[rsp]
	mov	edx, DWORD PTR 24[rsp]
	mov	edi, DWORD PTR [r12]
	mov	esi, eax
	call	pci_unmap_page@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ql_unmap_send, .-ql_unmap_send
	.comm	tx_done,4,4
	.comm	maplen,4,4
	.comm	mapaddr,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_qlge_main.c_ql_unmap_send.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unmapping OAL area.\012\000"
	.align	2
.LC1:
	.ascii	"unmapping frag %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_unmap_send, %function
ql_unmap_send:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r8, r2, #0
	sub	sp, sp, #20
	ble	.L1
	mov	r7, r0
	mov	r6, r1
	mov	r4, #0
	ldr	fp, .L15
	ldr	r10, .L15+4
	b	.L2
.L14:
	ldr	r0, .L15+8
	str	r0, [sp]
	mov	r0, r7
	bl	netif_printk
.L3:
	ldr	r0, [r6]
	ldr	r3, [r7]
	ldr	r1, [fp]
	add	r0, r0, r9
	str	r3, [sp, #12]
	bl	dma_unmap_addr
	mov	r5, r0
	ldr	r0, [r6]
	ldr	r1, [r10]
	add	r0, r0, r9
	bl	dma_unmap_len
	ldr	r3, [sp, #12]
	mov	r2, r0
	mov	r0, r3
	ldr	r3, .L15+12
	mov	r1, r5
	ldr	r3, [r3]
	add	r4, r4, #1
	bl	pci_unmap_single
	cmp	r8, r4
	beq	.L1
.L2:
	cmp	r4, #0
	lsl	r9, r4, #2
	beq	.L3
	sub	r3, r4, #7
	clz	r3, r3
	cmp	r8, #7
	lsr	r3, r3, #5
	movle	r3, #0
	cmp	r3, #0
	ldr	r3, .L15+16
	ldr	r1, [r3]
	ldr	r3, .L15+20
	ldr	r2, [r3]
	ldr	r3, [r7, #4]
	bne	.L14
	ldr	r0, .L15+24
	str	r4, [sp, #4]
	str	r0, [sp]
	mov	r0, r7
	bl	netif_printk
	ldr	r0, [r6]
	ldr	r3, [r7]
	ldr	r1, [fp]
	add	r0, r0, r9
	str	r3, [sp, #12]
	bl	dma_unmap_addr
	mov	r5, r0
	ldr	r0, [r6]
	ldr	r1, [r10]
	add	r0, r0, r9
	bl	dma_unmap_len
	ldr	r3, [sp, #12]
	mov	r2, r0
	mov	r0, r3
	ldr	r3, .L15+12
	mov	r1, r5
	ldr	r3, [r3]
	add	r4, r4, #1
	bl	pci_unmap_page
	cmp	r8, r4
	bne	.L2
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	.align	2
.L15:
	.word	mapaddr
	.word	maplen
	.word	.LC0
	.word	PCI_DMA_TODEVICE
	.word	tx_done
	.word	KERN_DEBUG
	.word	.LC1
	.size	ql_unmap_send, .-ql_unmap_send
	.comm	tx_done,4,4
	.comm	maplen,4,4
	.comm	mapaddr,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
