	.file	"extr_qlcnic_83xx_init.c_qlcnic_83xx_load_fw_image_from_host.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"No file FW image, loading flash FW image.\n"
	.text
	.p2align 4
	.type	qlcnic_83xx_load_fw_image_from_host, @function
qlcnic_83xx_load_fw_image_from_host:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR QLC_83XX_FW_FILE_NAME[rip]
	mov	ebx, DWORD PTR EIO[rip]
	call	request_firmware@PLT
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	edx, DWORD PTR QLC_83XX_BOOT_FROM_FLASH[rip]
	mov	esi, DWORD PTR QLCNIC_FW_IMG_VALID[rip]
	mov	rdi, rbp
	call	QLC_SHARED_REG_WR32@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	qlcnic_83xx_copy_fw_file@PLT
	test	rax, rax
	je	.L4
	mov	eax, ebx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	neg	eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR QLC_83XX_BOOT_FROM_FILE[rip]
	mov	esi, DWORD PTR QLCNIC_FW_IMG_VALID[rip]
	mov	rdi, rbp
	call	QLC_SHARED_REG_WR32@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qlcnic_83xx_load_fw_image_from_host, .-qlcnic_83xx_load_fw_image_from_host
	.comm	QLC_83XX_FW_FILE_NAME,4,4
	.comm	QLC_83XX_BOOT_FROM_FLASH,4,4
	.comm	QLC_83XX_BOOT_FROM_FILE,4,4
	.comm	QLCNIC_FW_IMG_VALID,4,4
	.comm	EIO,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_qlcnic_83xx_init.c_qlcnic_83xx_load_fw_image_from_host.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No file FW image, loading flash FW image.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_83xx_load_fw_image_from_host, %function
qlcnic_83xx_load_fw_image_from_host:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, .L7
	ldr	r3, .L7+4
	push	{r4, r5, r6, lr}
	ldr	r2, [r0]
	mov	r4, r0
	ldr	r1, [r1]
	ldr	r0, [r0, #4]
	ldr	r6, [r3]
	bl	request_firmware
	cmp	r0, #0
	beq	.L2
	ldr	r1, .L7+8
	ldr	r0, [r4]
	bl	dev_err
	ldr	r3, .L7+12
	ldr	r2, .L7+16
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	QLC_SHARED_REG_WR32
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	qlcnic_83xx_copy_fw_file
	subs	r5, r0, #0
	rsbne	r5, r6, #0
	bne	.L1
	ldr	r3, .L7+12
	ldr	r2, .L7+20
	mov	r0, r4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	QLC_SHARED_REG_WR32
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	QLC_83XX_FW_FILE_NAME
	.word	EIO
	.word	.LC0
	.word	QLCNIC_FW_IMG_VALID
	.word	QLC_83XX_BOOT_FROM_FLASH
	.word	QLC_83XX_BOOT_FROM_FILE
	.size	qlcnic_83xx_load_fw_image_from_host, .-qlcnic_83xx_load_fw_image_from_host
	.comm	QLC_83XX_FW_FILE_NAME,4,4
	.comm	QLC_83XX_BOOT_FROM_FLASH,4,4
	.comm	QLC_83XX_BOOT_FROM_FILE,4,4
	.comm	QLCNIC_FW_IMG_VALID,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
