	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_add_rq_rb
_cfq_add_rq_rb:                         ## @cfq_add_rq_rb
	.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	%rdi, %r15
	callq	_RQ_CFQQ
	movq	%rax, %rbx
	movq	16(%rax), %r12
	movq	24(%rax), %r14
	movq	%r15, %rdi
	callq	_rq_is_sync
	incl	(%r12,%rax,4)
	leaq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_elv_rb_add
	movq	%rbx, %rdi
	callq	_cfq_cfqq_on_rr
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cfq_add_cfqq_rr
LBB0_2:
	movq	(%rbx), %r12
	movl	(%r14), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_cfq_choose_req
	movq	%rax, (%rbx)
	cmpq	%rax, %r12
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cfq_prio_tree_add
	movq	(%rbx), %r12
LBB0_4:
	xorl	%edi, %edi
	testq	%r12, %r12
	sete	%dil
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cfq_add_rq_rb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_add_rq_rb
_cfq_add_rq_rb:                         ; @cfq_add_rq_rb
	.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	x21, x0
	bl	_RQ_CFQQ
	mov	x19, x0
	ldp	x22, x20, [x0, #16]
	mov	x0, x21
	bl	_rq_is_sync
	lsl	x8, x0, #2
	ldr	w9, [x22, x8]
	add	w9, w9, #1
	str	w9, [x22, x8]
	add	x0, x19, #8
	mov	x1, x21
	bl	_elv_rb_add
	mov	x0, x19
	bl	_cfq_cfqq_on_rr
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_cfq_add_cfqq_rr
LBB0_2:
	ldr	x22, [x19]
	ldr	w3, [x20]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_cfq_choose_req
	str	x0, [x19]
	cmp	x22, x0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_cfq_prio_tree_add
	ldr	x22, [x19]
LBB0_4:
	cmp	x22, #0
	cset	w0, eq
	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
	b	_BUG_ON
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cfq_add_rq_rb
.subsections_via_symbols
