	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_completed_request
_cfq_completed_request:                 ## @cfq_completed_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_RQ_CFQQ
	movq	%rax, %r12
	movq	32(%rax), %r13
	movq	%rbx, %rdi
	callq	_rq_is_sync
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_REQ_NOIDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_cfq_log_cfqq
	movq	%r13, %rdi
	callq	_cfq_update_hw_tag
	xorl	%edi, %edi
	cmpl	$0, 24(%r13)
	sete	%dil
	callq	_WARN_ON
	xorl	%edi, %edi
	cmpl	$0, 24(%r12)
	sete	%dil
	callq	_WARN_ON
	decl	24(%r13)
	decl	24(%r12)
	movq	%rbx, %rdi
	callq	_RQ_CFQG
	decl	(%rax)
	movq	16(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rq_start_time_ns
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_rq_io_start_time_ns
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_rq_data_dir
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_rq_is_sync
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_cfq_blkiocg_update_completion_stats
	movq	48(%r13), %r14
	movq	%r12, %rdi
	callq	_cfq_cfqq_sync
	decl	(%r14,%rax,4)
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_RQ_CIC
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%rax)
	movq	40(%r13), %rax
	movq	8(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_time_after
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	cmpq	%r12, 32(%r13)
	jne	LBB0_17
LBB0_4:
	movq	%r12, %rdi
	addq	$8, %rdi
	callq	_RB_EMPTY_ROOT
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_cfq_cfqq_slice_new
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_cfq_set_prio_slice
	movq	%r12, %rdi
	callq	_cfq_clear_cfqq_slice_new
LBB0_6:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_cfq_should_wait_busy
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	8(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	16(%r13), %rax
LBB0_9:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, (%r12)
	movq	%r12, %rdi
	callq	_cfq_mark_cfqq_wait_busy
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_cfq_log_cfqq
LBB0_10:
	movq	%r12, %rdi
	callq	_cfq_slice_used
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_cfq_class_idle
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_cfq_slice_expired
	jmp	LBB0_17
LBB0_2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	cmpq	%r12, 32(%r13)
	je	LBB0_4
LBB0_17:
	cmpl	$0, 24(%r13)
	je	LBB0_19
## %bb.18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfq_schedule_dispatch          ## TAILCALL
LBB0_13:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.14:
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_cfq_close_cooperator
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	callq	_cfq_arm_slice_timer
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"complete rqnoidle %d"

	.comm	_REQ_NOIDLE,4,2                 ## @REQ_NOIDLE
L_.str.1:                               ## @.str.1
	.asciz	"will busy wait"

	.no_dead_strip	_cfq_completed_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_completed_request
_cfq_completed_request:                 ; @cfq_completed_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x0, x1
	bl	_RQ_CFQQ
	mov	x20, x0
	ldr	x19, [x0, #32]
	mov	x0, x22
	bl	_rq_is_sync
	mov	x21, x0
Lloh0:
	adrp	x28, _jiffies@GOTPAGE
Lloh1:
	ldr	x28, [x28, _jiffies@GOTPAGEOFF]
	ldr	x23, [x28]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _REQ_NOIDLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REQ_NOIDLE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_log_cfqq
	mov	x0, x19
	bl	_cfq_update_hw_tag
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w8, [x20, #24]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w8, [x19, #24]
	sub	w8, w8, #1
	str	w8, [x19, #24]
	ldr	w8, [x20, #24]
	sub	w8, w8, #1
	str	w8, [x20, #24]
	mov	x0, x22
	bl	_RQ_CFQG
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	ldr	x24, [x20, #16]
	mov	x0, x22
	bl	_rq_start_time_ns
	mov	x25, x0
	mov	x0, x22
	bl	_rq_io_start_time_ns
	mov	x26, x0
	mov	x0, x22
	bl	_rq_data_dir
	mov	x27, x0
	mov	x0, x22
	bl	_rq_is_sync
	mov	x4, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	bl	_cfq_blkiocg_update_completion_stats
	ldr	x24, [x19, #48]
	mov	x0, x20
	bl	_cfq_cfqq_sync
	lsl	x8, x0, #2
	ldr	w9, [x24, x8]
	sub	w9, w9, #1
	str	w9, [x24, x8]
	cbz	w21, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_RQ_CIC
	str	x23, [x0]
	ldr	x8, [x22, #8]
	ldr	x9, [x19, #40]
	ldr	x9, [x9, #8]
	add	x0, x9, x8
	mov	x1, x23
	bl	_time_after
	cbnz	w0, LBB0_3
; %bb.2:
	str	x23, [x19]
LBB0_3:
	ldr	x8, [x19, #32]
	cmp	x8, x20
	b.ne	LBB0_13
; %bb.4:
	add	x0, x20, #8
	bl	_RB_EMPTY_ROOT
	mov	x22, x0
	mov	x0, x20
	bl	_cfq_cfqq_slice_new
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_set_prio_slice
	mov	x0, x20
	bl	_cfq_clear_cfqq_slice_new
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_should_wait_busy
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x19, #16]
LBB0_9:
	ldr	x9, [x28]
	add	x8, x9, x8
	str	x8, [x20]
	mov	x0, x20
	bl	_cfq_mark_cfqq_wait_busy
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_log_cfqq
LBB0_10:
	mov	x0, x20
	bl	_cfq_slice_used
	cbnz	x0, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_cfq_class_idle
	cbz	x0, LBB0_16
LBB0_12:
	mov	x0, x19
	mov	w1, #1
	bl	_cfq_slice_expired
LBB0_13:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_cfq_schedule_dispatch
LBB0_16:
	cbz	w21, LBB0_13
; %bb.17:
	cbz	w22, LBB0_13
; %bb.18:
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_close_cooperator
	cbnz	w0, LBB0_13
; %bb.19:
	mov	x0, x19
	bl	_cfq_arm_slice_timer
	b	LBB0_13
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"complete rqnoidle %d"

	.comm	_REQ_NOIDLE,4,2                 ; @REQ_NOIDLE
l_.str.1:                               ; @.str.1
	.asciz	"will busy wait"

	.no_dead_strip	_cfq_completed_request
.subsections_via_symbols
