	.file	"extr_cfq-iosched.c_cfq_set_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"set_request fail"
.LC1:
	.string	"breaking apart cfqq"
	.text
	.p2align 4
	.type	cfq_set_request, @function
cfq_set_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR [rsp], rdi
	mov	rdi, rsi
	mov	DWORD PTR 12[rsp], edx
	mov	rbp, QWORD PTR [rax]
	call	rq_data_dir@PLT
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], eax
	call	rq_is_sync@PLT
	mov	edi, DWORD PTR __GFP_WAIT[rip]
	mov	r12d, eax
	and	edi, ebx
	call	might_sleep_if@PLT
	mov	esi, ebx
	mov	rdi, rbp
	call	cfq_get_io_context@PLT
	mov	edi, DWORD PTR [r14]
	xor	esi, esi
	mov	rbx, rax
	call	spin_lock_irqsave@PLT
	test	rbx, rbx
	jne	.L2
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	cmp	rbp, rax
	je	.L4
	mov	rdi, rax
	call	cfq_cfqq_coop@PLT
	test	rax, rax
	je	.L7
	mov	rdi, r14
	call	cfq_cfqq_split_coop@PLT
	test	rax, rax
	je	.L7
	mov	rsi, r14
	mov	rdx, r13
	mov	rdi, rbp
	call	cfq_log_cfqq@PLT
	mov	rsi, r14
	mov	rdi, rbx
	call	split_cfqq@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L7
.L2:
	mov	esi, r12d
	mov	rdi, rbx
	call	cic_to_cfqq@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L24
.L4:
	mov	edx, DWORD PTR [rbx]
	mov	ecx, DWORD PTR 12[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	call	cfq_get_queue@PLT
	mov	edx, r12d
	mov	rdi, rbx
	mov	rsi, rax
	mov	r14, rax
	call	cic_set_cfqq@PLT
.L6:
	mov	rdx, QWORD PTR 16[r14]
	movsx	rax, DWORD PTR 8[rsp]
	mov	rbp, QWORD PTR [r15]
	add	DWORD PTR [rdx+rax*4], 1
	mov	edi, DWORD PTR 4[r14]
	add	DWORD PTR 8[r14], 1
	mov	QWORD PTR 0[rbp], rbx
	mov	QWORD PTR 8[rbp], r14
	call	cfq_ref_get_cfqg@PLT
	xor	esi, esi
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rax]
	call	spin_unlock_irqrestore@PLT
	xor	eax, eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmp	QWORD PTR 24[r14], 0
	je	.L6
	mov	rdx, r14
	mov	rsi, rbx
	mov	rdi, rbp
	call	cfq_merge_cfqqs@PLT
	mov	r14, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, rbp
	call	cfq_schedule_dispatch@PLT
	mov	rax, QWORD PTR [rsp]
	xor	esi, esi
	mov	edi, DWORD PTR [rax]
	call	spin_unlock_irqrestore@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	cfq_log@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	cfq_set_request, .-cfq_set_request
	.comm	__GFP_WAIT,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_cfq-iosched.c_cfq_set_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"set_request fail\000"
	.align	2
.LC1:
	.ascii	"breaking apart cfqq\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cfq_set_request, %function
cfq_set_request:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0, #4]
	sub	sp, sp, #12
	mov	r8, r0
	mov	r0, r1
	mov	r10, r2
	mov	r9, r1
	ldr	r5, [r3]
	bl	rq_data_dir
	mov	fp, r0
	mov	r0, r9
	str	fp, [sp, #4]
	bl	rq_is_sync
	ldr	r3, .L27
	mov	r6, r0
	ldr	r0, [r3]
	and	r0, r0, r10
	bl	might_sleep_if
	mov	r1, r10
	mov	r0, r5
	bl	cfq_get_io_context
	mov	r4, r0
	mov	r1, #0
	ldr	r0, [r8]
	bl	spin_lock_irqsave
	cmp	r4, #0
	beq	.L23
	ldr	r7, .L27+4
	b	.L2
.L26:
	cmp	r5, fp
	beq	.L4
	bl	cfq_cfqq_coop
	cmp	r0, #0
	beq	.L7
	mov	r0, fp
	bl	cfq_cfqq_split_coop
	cmp	r0, #0
	beq	.L7
	mov	r1, fp
	mov	r2, r7
	mov	r0, r5
	bl	cfq_log_cfqq
	mov	r1, fp
	mov	r0, r4
	bl	split_cfqq
	subs	fp, r0, #0
	bne	.L7
.L2:
	mov	r1, r6
	mov	r0, r4
	bl	cic_to_cfqq
	subs	fp, r0, #0
	bne	.L26
.L4:
	mov	r1, r6
	ldr	r2, [r4]
	mov	r3, r10
	mov	r0, r5
	bl	cfq_get_queue
	mov	r2, r6
	mov	fp, r0
	mov	r1, r0
	mov	r0, r4
	bl	cic_set_cfqq
.L6:
	ldr	r2, [fp, #12]
	ldr	r1, [sp, #4]
	ldr	r5, [r9]
	ldr	r3, [r2, r1, lsl #2]
	add	r3, r3, #1
	str	r3, [r2, r1, lsl #2]
	ldmib	fp, {r0, r3}
	add	r3, r3, #1
	str	r3, [fp, #8]
	stm	r5, {r4, fp}
	bl	cfq_ref_get_cfqg
	mov	r1, #0
	str	r0, [r5, #8]
	ldr	r0, [r8]
	bl	spin_unlock_irqrestore
	mov	r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r3, [fp, #16]
	cmp	r3, #0
	beq	.L6
	mov	r2, fp
	mov	r0, r5
	mov	r1, r4
	bl	cfq_merge_cfqqs
	mov	fp, r0
	b	.L6
.L23:
	mov	r0, r5
	bl	cfq_schedule_dispatch
	mov	r1, #0
	ldr	r0, [r8]
	bl	spin_unlock_irqrestore
	mov	r0, r5
	ldr	r1, .L27+8
	bl	cfq_log
	mov	r0, #1
	b	.L1
.L28:
	.align	2
.L27:
	.word	__GFP_WAIT
	.word	.LC1
	.word	.LC0
	.size	cfq_set_request, .-cfq_set_request
	.comm	__GFP_WAIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
