	.file	"extr_queue.c_mmc_queue_thread.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmc_queue_thread, @function
mmc_queue_thread:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR current[rip]
	mov	edx, DWORD PTR PF_MEMALLOC[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 24[rdi]
	or	DWORD PTR [rax], edx
	call	down@PLT
.L2:
	mov	edi, DWORD PTR [rbx]
	call	spin_lock_irq@PLT
	mov	edi, DWORD PTR TASK_INTERRUPTIBLE[rip]
	call	set_current_state@PLT
	mov	rdi, rbx
	call	blk_queue_plugged@PLT
	test	eax, eax
	je	.L3
	mov	QWORD PTR 16[rbp], 0
	mov	edi, DWORD PTR [rbx]
	call	spin_unlock_irq@PLT
.L4:
	xor	eax, eax
	call	kthread_should_stop@PLT
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR TASK_RUNNING[rip]
	call	set_current_state@PLT
	mov	rdi, rbp
	call	up@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbx
	call	blk_fetch_request@PLT
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 16[rbp], rax
	mov	r12, rax
	call	spin_unlock_irq@PLT
	test	r12, r12
	je	.L4
	mov	edi, DWORD PTR TASK_RUNNING[rip]
	call	set_current_state@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	[QWORD PTR 8[rbp]]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	call	up@PLT
	xor	eax, eax
	call	schedule@PLT
	mov	rdi, rbp
	call	down@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	mmc_queue_thread, .-mmc_queue_thread
	.comm	current,8,8
	.comm	TASK_RUNNING,4,4
	.comm	TASK_INTERRUPTIBLE,4,4
	.comm	PF_MEMALLOC,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_queue.c_mmc_queue_thread.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmc_queue_thread, %function
mmc_queue_thread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r2]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	orr	r3, r3, r1
	ldr	r5, [r0, #12]
	str	r3, [r2]
	mov	r4, r0
	mov	r9, #0
	bl	down
	ldr	r7, .L13+8
	ldr	r8, .L13+12
.L2:
	ldr	r0, [r5]
	bl	spin_lock_irq
	ldr	r0, [r7]
	bl	set_current_state
	mov	r0, r5
	bl	blk_queue_plugged
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r5]
	str	r9, [r4, #8]
	bl	spin_unlock_irq
.L4:
	bl	kthread_should_stop
	cmp	r0, #0
	beq	.L12
	ldr	r0, [r8]
	bl	set_current_state
	mov	r0, r4
	bl	up
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	mov	r0, r5
	bl	blk_fetch_request
	mov	r6, r0
	ldr	r0, [r5]
	str	r6, [r4, #8]
	bl	spin_unlock_irq
	cmp	r6, #0
	beq	.L4
	ldr	r0, [r8]
	bl	set_current_state
	mov	r1, r6
	mov	r0, r4
	ldr	r3, [r4, #4]
	blx	r3
	b	.L2
.L12:
	mov	r0, r4
	bl	up
	bl	schedule
	mov	r0, r4
	bl	down
	b	.L2
.L14:
	.align	2
.L13:
	.word	current
	.word	PF_MEMALLOC
	.word	TASK_INTERRUPTIBLE
	.word	TASK_RUNNING
	.size	mmc_queue_thread, .-mmc_queue_thread
	.comm	current,4,4
	.comm	TASK_RUNNING,4,4
	.comm	TASK_INTERRUPTIBLE,4,4
	.comm	PF_MEMALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
