	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_set_request
_cfq_set_request:                       ## @cfq_set_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
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movq	%rsi, %rdi
	callq	_rq_data_dir
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_rq_is_sync
	movl	%eax, %r14d
	movq	___GFP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_might_sleep_if
	movq	%r13, %rdi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_cfq_get_io_context
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_spin_lock_irqsave
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cic_to_cfqq
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	cmpq	%r13, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_cfq_cfqq_coop
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_cfq_cfqq_split_coop
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_cfq_log_cfqq
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_split_cfqq
	testq	%rax, %rax
	je	LBB0_2
## %bb.8:
	movq	%rax, %r15
LBB0_9:
	cmpq	$0, 24(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_cfq_merge_cfqqs
	movq	%rax, %r15
	jmp	LBB0_11
LBB0_12:
	movq	%r13, %rdi
	callq	_cfq_schedule_dispatch
	movl	(%r15), %edi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_cfq_log
	movl	$1, %eax
	jmp	LBB0_13
LBB0_4:
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_cfq_get_queue
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	_cic_set_cfqq
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	16(%r15), %rax
	movslq	%ecx, %rcx
	incl	(%rax,%rcx,4)
	incl	8(%r15)
	movq	(%r12), %rax
	movq	%rbx, (%rax)
	movq	(%r12), %rax
	movq	%r15, 8(%rax)
	movl	4(%r15), %edi
	callq	_cfq_ref_get_cfqg
	movq	(%r12), %rcx
	movq	%rax, 16(%rcx)
	movl	(%r14), %edi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_WAIT,4,2                 ## @__GFP_WAIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"breaking apart cfqq"

L_.str.1:                               ## @.str.1
	.asciz	"set_request fail"

	.no_dead_strip	_cfq_set_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_set_request
_cfq_set_request:                       ; @cfq_set_request
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	mov	x0, x1
	bl	_rq_data_dir
	mov	x21, x0
	mov	x0, x20
	bl	_rq_is_sync
	mov	x26, x0
Lloh0:
	adrp	x8, ___GFP_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w24
	bl	_might_sleep_if
	mov	x0, x23
	mov	x1, x24
	bl	_cfq_get_io_context
	mov	x22, x0
	ldr	w0, [x19]
	bl	_spin_lock_irqsave
	cbz	x22, LBB0_10
; %bb.1:
Lloh3:
	adrp	x27, l_.str@PAGE
Lloh4:
	add	x27, x27, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x26
	bl	_cic_to_cfqq
	cbz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	cmp	x0, x23
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_cfq_cfqq_coop
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_cfq_cfqq_split_coop
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	mov	x1, x25
	mov	x2, x27
	bl	_cfq_log_cfqq
	mov	x0, x22
	mov	x1, x25
	bl	_split_cfqq
	cbz	x0, LBB0_2
; %bb.7:
	mov	x25, x0
LBB0_8:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_12
; %bb.9:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	bl	_cfq_merge_cfqqs
	mov	x25, x0
	b	LBB0_12
LBB0_10:
	mov	x0, x23
	bl	_cfq_schedule_dispatch
	ldr	w0, [x19]
	bl	_spin_unlock_irqrestore
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_cfq_log
	mov	w0, #1
	b	LBB0_13
LBB0_11:
	ldr	w2, [x22]
	mov	x0, x23
	mov	x1, x26
	mov	x3, x24
	bl	_cfq_get_queue
	mov	x25, x0
	mov	x0, x22
	mov	x1, x25
	mov	x2, x26
	bl	_cic_set_cfqq
LBB0_12:
	ldr	x8, [x25, #16]
	sbfiz	x9, x21, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldp	w0, w8, [x25, #4]
	add	w8, w8, #1
	str	w8, [x25, #8]
	ldr	x8, [x20]
	str	x22, [x8]
	ldr	x8, [x20]
	str	x25, [x8, #8]
	bl	_cfq_ref_get_cfqg
	ldr	x8, [x20]
	str	x0, [x8, #16]
	ldr	w0, [x19]
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"breaking apart cfqq"

l_.str.1:                               ; @.str.1
	.asciz	"set_request fail"

	.no_dead_strip	_cfq_set_request
.subsections_via_symbols
