	.file	"extr_qla_sup.c_qla24xx_read_optrom_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qla24xx_read_optrom_data
	.type	qla24xx_read_optrom_data, @function
qla24xx_read_optrom_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r14, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rdi]
	call	scsi_block_requests@PLT
	mov	edi, DWORD PTR MBX_UPDATE_FLASH_ACTIVE[rip]
	mov	rsi, r14
	call	set_bit@PLT
	mov	ecx, r12d
	mov	edx, ebp
	mov	rsi, r13
	sar	ecx, 2
	sar	edx, 2
	mov	rdi, rbx
	call	qla24xx_read_flash_data@PLT
	mov	edi, DWORD PTR MBX_UPDATE_FLASH_ACTIVE[rip]
	mov	rsi, r14
	call	clear_bit@PLT
	mov	edi, DWORD PTR [rbx]
	call	scsi_unblock_requests@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r13
	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
	.cfi_endproc
.LFE0:
	.size	qla24xx_read_optrom_data, .-qla24xx_read_optrom_data
	.comm	MBX_UPDATE_FLASH_ACTIVE,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_sup.c_qla24xx_read_optrom_data.c"
	.text
	.align	2
	.global	qla24xx_read_optrom_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	qla24xx_read_optrom_data, %function
qla24xx_read_optrom_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r4, r0
	mov	r6, r2
	mov	r7, r3
	ldr	r9, [r0, #4]
	ldr	r8, .L4
	ldr	r0, [r0]
	bl	scsi_block_requests
	mov	r1, r9
	ldr	r0, [r8]
	bl	set_bit
	asr	r3, r7, #2
	asr	r2, r6, #2
	mov	r1, r5
	mov	r0, r4
	bl	qla24xx_read_flash_data
	mov	r1, r9
	ldr	r0, [r8]
	bl	clear_bit
	ldr	r0, [r4]
	bl	scsi_unblock_requests
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	.align	2
.L4:
	.word	MBX_UPDATE_FLASH_ACTIVE
	.size	qla24xx_read_optrom_data, .-qla24xx_read_optrom_data
	.comm	MBX_UPDATE_FLASH_ACTIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
