	.file	"extr_qla_attr.c_qla2x00_fw_state_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x%x\n"
.LC1:
	.string	"ISP reset active.\n"
.LC2:
	.string	"0x%x 0x%x 0x%x 0x%x 0x%x\n"
	.text
	.p2align 4
	.type	qla2x00_fw_state_show, @function
qla2x00_fw_state_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	class_to_shost@PLT
	mov	edi, eax
	call	shost_priv@PLT
	mov	ebx, DWORD PTR QLA_FUNCTION_FAILED[rip]
	mov	rdi, QWORD PTR [rax]
	mov	rbp, rax
	call	IS_QLAFX00@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, rbp
	call	qla2x00_reset_active@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR [rax]
	test	esi, esi
	je	.L12
.L5:
	cmp	DWORD PTR QLA_SUCCESS[rip], ebx
	je	.L6
	mov	rdi, rsp
	mov	edx, 20
	mov	esi, -1
	call	memset@PLT
.L6:
	mov	eax, DWORD PTR 16[rsp]
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, r12
	push	rax
	.cfi_def_cfa_offset 88
	mov	eax, DWORD PTR 20[rsp]
	push	rax
	.cfi_def_cfa_offset 96
	mov	r9d, DWORD PTR 24[rsp]
	xor	eax, eax
	mov	r8d, DWORD PTR 20[rsp]
	mov	ecx, DWORD PTR 16[rsp]
	call	snprintf@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR ql_log_warn[rip]
	lea	rcx, .LC1[rip]
	mov	edx, 28796
	mov	rsi, rbp
	call	ql_log@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r13
	call	qlafx00_fw_state_show@PLT
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r12
	mov	ecx, eax
	xor	eax, eax
	call	snprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, rsp
	mov	rdi, rbp
	call	qla2x00_get_firmware_state@PLT
	mov	ebx, eax
	jmp	.L5
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qla2x00_fw_state_show, .-qla2x00_fw_state_show
	.comm	ql_log_warn,4,4
	.comm	QLA_SUCCESS,4,4
	.comm	QLA_FUNCTION_FAILED,4,4
	.comm	PAGE_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_attr.c_qla2x00_fw_state_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%x\012\000"
	.align	2
.LC1:
	.ascii	"ISP reset active.\012\000"
	.align	2
.LC2:
	.ascii	"0x%x 0x%x 0x%x 0x%x 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla2x00_fw_state_show, %function
qla2x00_fw_state_show:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L16
	sub	sp, sp, #40
	mov	r7, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r6, r0
	bl	class_to_shost
	bl	shost_priv
	ldr	r3, .L16+4
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r8, [r3]
	bl	IS_QLAFX00
	cmp	r0, #0
	bne	.L11
	mov	r0, r4
	bl	qla2x00_reset_active
	cmp	r0, #0
	bne	.L12
	ldr	r3, [r4]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
.L5:
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r3, r8
	bne	.L6
.L15:
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #32]
	add	r0, sp, #20
	ldm	r0, {r0, ip, lr}
.L7:
	stm	sp, {r0, ip, lr}
	ldr	r1, .L16+12
	str	r2, [sp, #12]
	mov	r0, r5
	ldr	r1, [r1]
	ldr	r2, .L16+16
	bl	snprintf
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L16+20
	mov	r1, r4
	ldr	r0, [r3]
	ldr	r2, .L16+24
	ldr	r3, .L16+28
	bl	ql_log
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L15
.L6:
	mvn	r1, #0
	mov	r2, r1
	mov	lr, r1
	mov	ip, r1
	mov	r0, r1
	mov	r3, r1
	str	r1, [sp, #16]
	str	r1, [sp, #20]
	str	r1, [sp, #24]
	str	r1, [sp, #28]
	str	r1, [sp, #32]
	b	.L7
.L11:
	mov	r1, r7
	mov	r2, r5
	mov	r0, r6
	bl	qlafx00_fw_state_show
	ldr	r2, .L16+12
	mov	r3, r0
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, .L16+32
	bl	snprintf
	b	.L1
.L13:
	mov	r0, r4
	add	r1, sp, #16
	bl	qla2x00_get_firmware_state
	mov	r8, r0
	b	.L5
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	QLA_FUNCTION_FAILED
	.word	QLA_SUCCESS
	.word	PAGE_SIZE
	.word	.LC2
	.word	ql_log_warn
	.word	28796
	.word	.LC1
	.word	.LC0
	.size	qla2x00_fw_state_show, .-qla2x00_fw_state_show
	.comm	ql_log_warn,4,4
	.comm	QLA_SUCCESS,4,4
	.comm	QLA_FUNCTION_FAILED,4,4
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
