	.file	"extr_qla_os.c_qla2x00_free_fw_dump.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qla2x00_free_fw_dump, @function
qla2x00_free_fw_dump:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR 72[rdi]
	mov	rbp, QWORD PTR 88[rdi]
	test	rdx, rdx
	je	.L2
	mov	rcx, QWORD PTR 64[rdi]
	mov	esi, DWORD PTR FCE_SIZE[rip]
	mov	rdi, QWORD PTR 80[rdi]
	call	dma_free_coherent@PLT
.L2:
	mov	rdx, QWORD PTR 48[rbx]
	test	rdx, rdx
	je	.L3
	mov	rcx, QWORD PTR 40[rbx]
	mov	rdi, QWORD PTR 80[rbx]
	mov	esi, DWORD PTR EFT_SIZE[rip]
	call	dma_free_coherent@PLT
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L4
	call	vfree@PLT
.L4:
	mov	rdi, QWORD PTR 8[rbp]
	mov	QWORD PTR 72[rbx], 0
	mov	QWORD PTR 64[rbx], 0
	mov	QWORD PTR 56[rbx], 0
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	test	rdi, rdi
	je	.L5
	call	vfree@PLT
.L5:
	mov	rdi, QWORD PTR 24[rbp]
	mov	QWORD PTR 8[rbp], 0
	mov	QWORD PTR 0[rbp], 0
	test	rdi, rdi
	je	.L6
	call	vfree@PLT
.L6:
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 16[rbp], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qla2x00_free_fw_dump, .-qla2x00_free_fw_dump
	.comm	FCE_SIZE,4,4
	.comm	EFT_SIZE,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_qla_os.c_qla2x00_free_fw_dump.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla2x00_free_fw_dump, %function
qla2x00_free_fw_dump:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #36]
	push	{r4, r5, r6, lr}
	cmp	r2, #0
	mov	r4, r0
	ldr	r5, [r0, #44]
	beq	.L2
	ldr	r3, .L24
	ldr	r1, [r3]
	ldr	r3, [r0, #32]
	ldr	r0, [r0, #40]
	bl	dma_free_coherent
.L2:
	ldr	r2, [r4, #24]
	cmp	r2, #0
	beq	.L3
	ldr	r3, .L24+4
	ldr	r0, [r4, #40]
	ldr	r1, [r3]
	ldr	r3, [r4, #20]
	bl	dma_free_coherent
.L3:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L4
	bl	vfree
.L4:
	mov	r3, #0
	ldr	r0, [r5, #4]
	str	r3, [r4, #36]
	cmp	r0, r3
	str	r3, [r4, #32]
	str	r3, [r4, #28]
	str	r3, [r4, #24]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	str	r3, [r4]
	beq	.L5
	bl	vfree
.L5:
	mov	r3, #0
	ldr	r0, [r5, #12]
	str	r3, [r5, #4]
	cmp	r0, r3
	str	r3, [r5]
	beq	.L6
	bl	vfree
.L6:
	mov	r3, #0
	str	r3, [r5, #12]
	str	r3, [r5, #8]
	pop	{r4, r5, r6, pc}
.L25:
	.align	2
.L24:
	.word	FCE_SIZE
	.word	EFT_SIZE
	.size	qla2x00_free_fw_dump, .-qla2x00_free_fw_dump
	.comm	FCE_SIZE,4,4
	.comm	EFT_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
