	.file	"extr_block.c_mmc_blk_mq_dec_in_flight.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_blk_mq_dec_in_flight, @function
mmc_blk_mq_dec_in_flight:
.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
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, 16[rdi]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	mov	rsi, r13
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	mov	rsi, rbp
	mov	r14, QWORD PTR [rbx]
	mov	rdi, rbx
	call	mmc_issue_type@PLT
	mov	rcx, QWORD PTR [rbx]
	mov	rdi, rbx
	mov	edx, DWORD PTR [r14+rax*4]
	sub	edx, 1
	mov	DWORD PTR [rcx+rax*4], edx
	call	mmc_tot_in_flight@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	rbp, rax
	call	spin_unlock_irqrestore@PLT
	test	rbp, rbp
	je	.L5
	pop	rbx
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbx]
	lea	rsi, 8[rbx]
	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
	jmp	mmc_put_card@PLT
	.cfi_endproc
.LFE0:
	.size	mmc_blk_mq_dec_in_flight, .-mmc_blk_mq_dec_in_flight
	.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_block.c_mmc_blk_mq_dec_in_flight.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_blk_mq_dec_in_flight, %function
mmc_blk_mq_dec_in_flight:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, #0
	mov	r4, r0
	mov	r5, r1
	add	r7, r0, #12
	mov	r1, r6
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r1, r5
	mov	r0, r4
	ldr	r5, [r4]
	bl	mmc_issue_type
	ldr	r3, [r5, r0, lsl #2]
	ldr	r2, [r4]
	sub	r3, r3, #1
	str	r3, [r2, r0, lsl #2]
	mov	r0, r4
	bl	mmc_tot_in_flight
	mov	r5, r0
	mov	r1, r6
	mov	r0, r7
	bl	spin_unlock_irqrestore
	cmp	r5, r6
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r0, [r4, #8]
	add	r1, r4, #4
	pop	{r4, r5, r6, r7, r8, lr}
	b	mmc_put_card
	.size	mmc_blk_mq_dec_in_flight, .-mmc_blk_mq_dec_in_flight
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
