	.file	"extr_cciss.c_cciss_softirq_done.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Done with %p\n"
	.text
	.p2align 4
	.type	cciss_softirq_done, @function
cciss_softirq_done:
.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
	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	rbp, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR hba[rip]
	mov	QWORD PTR 8[rsp], rdi
	mov	r13d, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	rdx, QWORD PTR 0[rbp]
	mov	r12, QWORD PTR 40[rbp]
	mov	r14, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR XFER_READ[rip]
	cmp	QWORD PTR 32[rbp], rax
	jne	.L3
	mov	r13d, DWORD PTR PCI_DMA_FROMDEVICE[rip]
.L3:
	mov	eax, DWORD PTR 24[rbp]
	xor	r15d, r15d
	xor	ebx, ebx
	test	eax, eax
	jg	.L4
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	add	r15d, 1
.L8:
	mov	edx, DWORD PTR 8[rax]
	mov	rdi, QWORD PTR 8[r14]
	mov	ecx, r13d
	xor	esi, esi
	add	ebx, 1
	call	pci_unmap_page@PLT
	cmp	DWORD PTR 24[rbp], ebx
	jle	.L9
.L4:
	movsx	rax, r15d
	mov	rcx, QWORD PTR CCISS_SG_CHAIN[rip]
	lea	rax, [rax+rax*2]
	lea	rax, [r12+rax*8]
	cmp	QWORD PTR [rax], rcx
	jne	.L17
	mov	rsi, rbp
	mov	rdi, r14
	mov	r15d, 1
	call	cciss_unmap_sg_chain_block@PLT
	mov	rax, QWORD PTR 16[r14]
	mov	rdx, QWORD PTR 8[rbp]
	mov	r12, QWORD PTR [rax+rdx*8]
	mov	rax, r12
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 8[r14]
	lea	rsi, .LC0[rip]
	mov	rdx, rbx
	call	dev_dbg@PLT
	mov	rsi, QWORD PTR REQ_TYPE_BLOCK_PC[rip]
	cmp	QWORD PTR [rbx], rsi
	jne	.L6
	mov	rax, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 16[rbx], eax
.L6:
	mov	rax, QWORD PTR 8[rsp]
	xor	esi, esi
	cmp	QWORD PTR 8[rax], 0
	je	.L10
	mov	esi, DWORD PTR EIO[rip]
	neg	esi
.L10:
	mov	rdi, QWORD PTR 8[rsp]
	xor	r12d, r12d
	call	blk_end_request_all@PLT
	mov	rsi, r12
	mov	rdi, r14
	call	spin_lock_irqsave@PLT
	mov	rsi, rbp
	mov	rdi, r14
	call	cmd_free@PLT
	mov	rdi, r14
	call	cciss_check_queues@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rsi, r12
	mov	rdi, r14
	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
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	cciss_softirq_done, .-cciss_softirq_done
	.comm	hba,8,8
	.comm	XFER_READ,8,8
	.comm	REQ_TYPE_BLOCK_PC,8,8
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	EIO,4,4
	.comm	CCISS_SG_CHAIN,8,8
	.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_cciss.c_cciss_softirq_done.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Done with %p\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cciss_softirq_done, %function
cciss_softirq_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L18
	ldr	r7, [r0, #12]
	ldr	r3, .L18+4
	ldr	r1, [r2]
	mov	fp, r0
	ldr	r0, [r7, #16]
	ldr	r3, [r3]
	ldr	r2, [r7]
	cmp	r0, r1
	ldr	r8, [r3, r2, lsl #2]
	ldreq	r3, .L18+8
	ldrne	r3, .L18+12
	ldr	r6, [r7, #20]
	ldr	r9, [r3]
	ldr	r3, [r7, #12]
	cmp	r3, #0
	ble	.L9
	mov	r4, #0
	ldr	r10, .L18+16
	mov	r5, r4
	b	.L4
.L8:
	ldr	r2, [r3, #4]
	mov	r1, #0
	mov	r3, r9
	ldr	r0, [r8, #4]
	bl	pci_unmap_page
	ldr	r3, [r7, #12]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L9
.L4:
	ldr	r1, [r6, r4, lsl #4]
	ldr	r2, [r10]
	add	r3, r6, r4, lsl #4
	cmp	r1, r2
	addne	r4, r4, #1
	bne	.L8
	mov	r1, r7
	mov	r0, r8
	bl	cciss_unmap_sg_chain_block
	ldr	r3, [r8, #8]
	ldr	r2, [r7, #4]
	mov	r4, #1
	ldr	r6, [r3, r2, lsl #2]
	mov	r3, r6
	b	.L8
.L9:
	mov	r2, fp
	ldr	r1, .L18+20
	ldr	r0, [r8, #4]
	bl	dev_dbg
	ldr	r3, .L18+24
	ldr	r2, [fp]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, [r7, #8]
	ldreq	r3, [r3]
	streq	r3, [fp, #8]
.L6:
	mov	r4, #0
	ldr	r1, [fp, #4]
	mov	r0, fp
	cmp	r1, #0
	ldrne	r3, .L18+28
	ldrne	r1, [r3]
	rsbne	r1, r1, #0
	bl	blk_end_request_all
	mov	r1, r4
	mov	r0, r8
	bl	spin_lock_irqsave
	mov	r1, r7
	mov	r0, r8
	bl	cmd_free
	mov	r0, r8
	bl	cciss_check_queues
	mov	r1, r4
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	spin_unlock_irqrestore
.L19:
	.align	2
.L18:
	.word	XFER_READ
	.word	hba
	.word	PCI_DMA_FROMDEVICE
	.word	PCI_DMA_TODEVICE
	.word	CCISS_SG_CHAIN
	.word	.LC0
	.word	REQ_TYPE_BLOCK_PC
	.word	EIO
	.size	cciss_softirq_done, .-cciss_softirq_done
	.comm	hba,4,4
	.comm	XFER_READ,4,4
	.comm	REQ_TYPE_BLOCK_PC,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	PCI_DMA_FROMDEVICE,4,4
	.comm	EIO,4,4
	.comm	CCISS_SG_CHAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
