	.file	"extr_cfq-iosched.c_cfq_update_idle_window.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"idle=%d"
	.text
	.p2align 4
	.type	cfq_update_idle_window, @function
cfq_update_idle_window:
.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
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	cfq_cfqq_sync@PLT
	test	eax, eax
	jne	.L35
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	mov	rdi, rbp
	call	cfq_class_idle@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, rbp
	call	cfq_cfqq_idle_window@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	r13d, eax
	mov	eax, DWORD PTR 4[rdx]
	add	eax, DWORD PTR [rdx]
	cmp	eax, 3
	jg	.L36
.L5:
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR REQ_NOIDLE[rip], eax
	jne	.L30
.L6:
	mov	rdi, QWORD PTR 16[rbx]
	call	atomic_read@PLT
	test	eax, eax
	je	.L30
	cmp	QWORD PTR [r12], 0
	jne	.L37
.L30:
	test	r13d, r13d
	je	.L1
	mov	rdi, r12
	mov	rsi, rbp
	lea	rdx, .LC0[rip]
	xor	ecx, ecx
	call	cfq_log_cfqq@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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	cfq_clear_cfqq_idle_window@PLT
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	mov	rdi, rbp
	call	cfq_mark_cfqq_deep@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rdi, rbp
	call	cfq_cfqq_deep@PLT
	test	eax, eax
	jne	.L10
	mov	rdi, rbp
	call	CFQQ_SEEKY@PLT
	test	rax, rax
	jne	.L30
.L10:
	mov	edi, DWORD PTR 8[rbx]
	call	sample_valid@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [r12]
	cmp	QWORD PTR [rbx], rax
	jg	.L30
	cmp	r13d, 1
	je	.L1
	mov	rdi, r12
	mov	rsi, rbp
	mov	ecx, 1
	lea	rdx, .LC0[rip]
	call	cfq_log_cfqq@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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	cfq_mark_cfqq_idle_window@PLT
	.cfi_endproc
.LFE0:
	.size	cfq_update_idle_window, .-cfq_update_idle_window
	.comm	REQ_NOIDLE,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_update_idle_window.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"idle=%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cfq_update_idle_window, %function
cfq_update_idle_window:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, r1
	mov	r4, r1
	mov	r5, r2
	bl	cfq_cfqq_sync
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	cfq_class_idle
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	cfq_cfqq_idle_window
	ldr	r2, [r4]
	mov	r7, r0
	ldm	r2, {r2, r3}
	add	r3, r3, r2
	cmp	r3, #3
	bgt	.L35
.L5:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L6
	ldr	r1, .L37
	ldr	r2, [r3]
	ldr	r3, [r1]
	tst	r2, r3
	bne	.L30
.L6:
	ldr	r0, [r5, #8]
	bl	atomic_read
	cmp	r0, #0
	beq	.L30
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L36
.L30:
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	mov	r1, r4
	mov	r3, #0
	ldr	r2, .L37+4
	bl	cfq_log_cfqq
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	cfq_clear_cfqq_idle_window
.L35:
	mov	r0, r4
	bl	cfq_mark_cfqq_deep
	b	.L5
.L36:
	mov	r0, r4
	bl	cfq_cfqq_deep
	cmp	r0, #0
	bne	.L10
	mov	r0, r4
	bl	CFQQ_SEEKY
	cmp	r0, #0
	bne	.L30
.L10:
	ldr	r0, [r5, #4]
	bl	sample_valid
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, [r5]
	ldr	r3, [r6]
	cmp	r2, r3
	bgt	.L30
	cmp	r7, #1
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	mov	r1, r4
	mov	r3, #1
	ldr	r2, .L37+4
	bl	cfq_log_cfqq
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	cfq_mark_cfqq_idle_window
.L38:
	.align	2
.L37:
	.word	REQ_NOIDLE
	.word	.LC0
	.size	cfq_update_idle_window, .-cfq_update_idle_window
	.comm	REQ_NOIDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
