	.file	"extr_as-iosched.c_as_remove_queued_request.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	as_remove_queued_request, @function
as_remove_queued_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	rq_is_sync@PLT
	mov	rdi, rbp
	movsx	rbx, eax
	mov	rax, QWORD PTR [r12]
	mov	r13, QWORD PTR [rax]
	call	RQ_STATE@PLT
	xor	edi, edi
	cmp	QWORD PTR AS_RQ_QUEUED[rip], rax
	setne	dil
	call	WARN_ON@PLT
	mov	rdi, rbp
	call	RQ_IOC@PLT
	test	rax, rax
	je	.L2
	mov	rdi, QWORD PTR [rax]
	mov	r12, rax
	test	rdi, rdi
	je	.L2
	call	atomic_read@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	BUG_ON@PLT
	mov	rdi, QWORD PTR [r12]
	call	atomic_dec@PLT
.L2:
	mov	rax, QWORD PTR 0[r13]
	lea	rbx, [rax+rbx*8]
	cmp	QWORD PTR [rbx], rbp
	je	.L12
.L3:
	mov	rdi, rbp
	call	rq_fifo_clear@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	as_del_rq_rb@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	as_find_next_rq@PLT
	mov	QWORD PTR [rbx], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	as_remove_queued_request, .-as_remove_queued_request
	.comm	AS_RQ_QUEUED,8,8
	.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_as-iosched.c_as_remove_queued_request.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	as_remove_queued_request, %function
as_remove_queued_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	bl	rq_is_sync
	ldr	r3, [r5]
	mov	r6, r0
	mov	r0, r4
	ldr	r7, [r3]
	bl	RQ_STATE
	ldr	r3, .L13
	ldr	r3, [r3]
	subs	r0, r3, r0
	movne	r0, #1
	bl	WARN_ON
	mov	r0, r4
	bl	RQ_IOC
	subs	r5, r0, #0
	beq	.L2
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L2
	bl	atomic_read
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r0, [r5]
	bl	atomic_dec
.L2:
	ldr	r5, [r7]
	ldr	r3, [r5, r6, lsl #2]
	cmp	r3, r4
	beq	.L12
.L3:
	mov	r0, r4
	bl	rq_fifo_clear
	mov	r1, r4
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	as_del_rq_rb
.L12:
	mov	r1, r4
	mov	r0, r7
	bl	as_find_next_rq
	str	r0, [r5, r6, lsl #2]
	b	.L3
.L14:
	.align	2
.L13:
	.word	AS_RQ_QUEUED
	.size	as_remove_queued_request, .-as_remove_queued_request
	.comm	AS_RQ_QUEUED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
