	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_should_idle
_cfq_should_idle:                       ## @cfq_should_idle
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_cfqq_prio
	movl	%eax, %ebx
	movq	(%r15), %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	callq	_BUG_ON
	xorl	%edi, %edi
	cmpl	$0, (%r12)
	sete	%dil
	callq	_BUG_ON
	movq	_IDLE_WORKLOAD@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %ebx
	je	LBB0_9
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.2:
	movq	%r15, %rdi
	callq	_cfq_cfqq_idle_window
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	16(%r14), %edi
	callq	_blk_queue_nonrot
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.4:
	cmpq	$0, 8(%r14)
	je	LBB0_9
LBB0_5:
	movl	(%r12), %ecx
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_cfq_cfqq_sync
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.7:
	movl	(%r12), %ecx
LBB0_8:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_cfq_log_cfqq
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDLE_WORKLOAD,4,2              ## @IDLE_WORKLOAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not idling. st->count:%d"

	.no_dead_strip	_cfq_should_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_should_idle
_cfq_should_idle:                       ; @cfq_should_idle
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_cfqq_prio
	mov	x21, x0
	ldr	x22, [x19]
	cmp	x22, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x22]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh0:
	adrp	x8, _IDLE_WORKLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDLE_WORKLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_10
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.2:
	mov	x0, x19
	bl	_cfq_cfqq_idle_window
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20, #16]
	bl	_blk_queue_nonrot
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
LBB0_5:
	ldr	w3, [x22]
	cmp	w3, #1
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_cfq_cfqq_sync
	cbz	x0, LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_11
LBB0_8:
	ldr	w3, [x22]
LBB0_9:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_cfq_log_cfqq
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IDLE_WORKLOAD,4,2              ; @IDLE_WORKLOAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not idling. st->count:%d"

	.no_dead_strip	_cfq_should_idle
.subsections_via_symbols
