	.file	"extr_qla_os.c_qla2x00_unmap_iobases.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qla2x00_unmap_iobases, @function
qla2x00_unmap_iobases:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	IS_QLA82XX@PLT
	test	rax, rax
	jne	.L23
	mov	rdi, QWORD PTR 24[rbx]
	test	rdi, rdi
	je	.L5
	call	iounmap@PLT
.L5:
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L6
	call	iounmap@PLT
.L6:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L7
	call	iounmap@PLT
.L7:
	mov	rdi, rbx
	call	IS_QLA83XX@PLT
	test	rax, rax
	je	.L8
.L11:
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	iounmap@PLT
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, QWORD PTR 40[rbx]
	call	iounmap@PLT
	mov	eax, DWORD PTR ql2xdbwr[rip]
	test	eax, eax
	je	.L24
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbx
	call	IS_QLA27XX@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, rbx
	call	IS_QLA28XX@PLT
	test	rax, rax
	jne	.L11
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, QWORD PTR 32[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	iounmap@PLT
	.cfi_endproc
.LFE0:
	.size	qla2x00_unmap_iobases, .-qla2x00_unmap_iobases
	.comm	ql2xdbwr,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_unmap_iobases.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla2x00_unmap_iobases, %function
qla2x00_unmap_iobases:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	IS_QLA82XX
	cmp	r0, #0
	bne	.L25
	ldr	r0, [r4, #12]
	cmp	r0, #0
	beq	.L5
	bl	iounmap
.L5:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L6
	bl	iounmap
.L6:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L7
	bl	iounmap
.L7:
	mov	r0, r4
	bl	IS_QLA83XX
	cmp	r0, #0
	beq	.L8
.L11:
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, pc}
	pop	{r4, lr}
	b	iounmap
.L8:
	mov	r0, r4
	bl	IS_QLA27XX
	cmp	r0, #0
	bne	.L11
	mov	r0, r4
	bl	IS_QLA28XX
	cmp	r0, #0
	popeq	{r4, pc}
	b	.L11
.L25:
	ldr	r0, [r4, #20]
	bl	iounmap
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, pc}
	ldr	r0, [r4, #16]
	pop	{r4, lr}
	b	iounmap
.L27:
	.align	2
.L26:
	.word	ql2xdbwr
	.size	qla2x00_unmap_iobases, .-qla2x00_unmap_iobases
	.comm	ql2xdbwr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
