	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_get_io_context
_cfq_get_io_context:                    ## @cfq_get_io_context
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	___GFP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%esi, %edi
	callq	_might_sleep_if
	movq	(%r12), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_get_io_context
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_cfq_cic_lookup
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	callq	_smp_read_barrier_depends
	movl	4(%r14), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	_cfq_ioc_set_ioprio
	jmp	LBB0_13
LBB0_2:
	movq	_EEXIST@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_cfq_alloc_io_context
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	callq	_cfq_cic_link
	movl	(%r13), %ecx
	addl	%eax, %ecx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_cfq_cic_free
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_cfq_cic_lookup
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %rbx
	jmp	LBB0_8
LBB0_7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movq	%rbx, %rdi
	callq	_cfq_cic_free
LBB0_11:
	movq	%r14, %rdi
	callq	_put_io_context
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %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
	.comm	_EEXIST,4,2                     ## @EEXIST
	.no_dead_strip	_cfq_get_io_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_get_io_context
_cfq_get_io_context:                    ; @cfq_get_io_context
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___GFP_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___GFP_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w1
	bl	_might_sleep_if
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_get_io_context
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_cfq_cic_lookup
	mov	x22, x0
	cbz	x0, LBB0_4
LBB0_2:
	bl	_smp_read_barrier_depends
	ldr	w0, [x19, #4]
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.3:
	mov	x0, x19
	bl	_cfq_ioc_set_ioprio
	b	LBB0_13
LBB0_4:
Lloh3:
	adrp	x23, _EEXIST@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EEXIST@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_cfq_alloc_io_context
	cbz	x0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x3, x20
	bl	_cfq_cic_link
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_cfq_cic_free
	mov	x0, x21
	mov	x1, x19
	bl	_cfq_cic_lookup
	cbz	x0, LBB0_5
; %bb.8:
	mov	x22, x0
	b	LBB0_2
LBB0_9:
	cbz	w0, LBB0_2
; %bb.10:
	mov	x0, x22
	bl	_cfq_cic_free
LBB0_11:
	mov	x0, x19
	bl	_put_io_context
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.comm	_EEXIST,4,2                     ; @EEXIST
	.no_dead_strip	_cfq_get_io_context
.subsections_via_symbols
