	.file	"extr_mspro_block.c_mspro_queue_rq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mspro_queue_rq, @function
mspro_queue_rq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	memstick_get_drvdata@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	spin_lock_irq@PLT
	cmp	QWORD PTR 8[rbp], 0
	jne	.L11
	cmp	QWORD PTR 16[rbp], 0
	jne	.L12
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 8[rbp], rdi
	call	blk_mq_start_request@PLT
	mov	rdi, r12
	call	mspro_block_issue_req@PLT
	test	rax, rax
	je	.L5
	mov	QWORD PTR 8[rbp], 0
.L5:
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR BLK_STS_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	mov	rdi, QWORD PTR [rbx]
	call	blk_mq_start_request@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR BLK_STS_IOERR[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR BLK_STS_DEV_RESOURCE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mspro_queue_rq, .-mspro_queue_rq
	.comm	BLK_STS_OK,4,4
	.comm	BLK_STS_IOERR,4,4
	.comm	BLK_STS_DEV_RESOURCE,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_mspro_block.c_mspro_queue_rq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mspro_queue_rq, %function
mspro_queue_rq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r3]
	mov	r5, r1
	mov	r0, r6
	bl	memstick_get_drvdata
	mov	r4, r0
	bl	spin_lock_irq
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L11
	ldr	r7, [r4, #8]
	cmp	r7, #0
	bne	.L12
	ldr	r0, [r5]
	str	r0, [r4, #4]
	bl	blk_mq_start_request
	mov	r0, r6
	bl	mspro_block_issue_req
	cmp	r0, #0
	strne	r7, [r4, #4]
	mov	r0, r4
	bl	spin_unlock_irq
	ldr	r3, .L13
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r4
	bl	spin_unlock_irq
	ldr	r0, [r5]
	bl	blk_mq_start_request
	ldr	r3, .L13+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, r4
	bl	spin_unlock_irq
	ldr	r3, .L13+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	BLK_STS_OK
	.word	BLK_STS_IOERR
	.word	BLK_STS_DEV_RESOURCE
	.size	mspro_queue_rq, .-mspro_queue_rq
	.comm	BLK_STS_OK,4,4
	.comm	BLK_STS_IOERR,4,4
	.comm	BLK_STS_DEV_RESOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
