	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_io_context               ## -- Begin function alloc_io_context
	.p2align	4, 0x90
_alloc_io_context:                      ## @alloc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edx
	movl	%edi, %esi
	movq	_iocontext_cachep@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_kmem_cache_alloc_node
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	72(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_long_set
	leaq	68(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	64(%rbx), %rdi
	callq	_spin_lock_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	leaq	20(%rbx), %rdi
	movups	%xmm0, 24(%rbx)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movq	___GFP_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_INIT_RADIX_TREE
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_INIT_HLIST_HEAD
	movq	$0, 8(%rbx)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iocontext_cachep,4,2           ## @iocontext_cachep
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	___GFP_HIGH,4,2                 ## @__GFP_HIGH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_io_context               ; -- Begin function alloc_io_context
	.p2align	2
_alloc_io_context:                      ; @alloc_io_context
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _iocontext_cachep@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iocontext_cachep@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_kmem_cache_alloc_node
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #72
	mov	w1, #1
	bl	_atomic_long_set
	add	x0, x19, #68
	mov	w1, #1
	bl	_atomic_set
	add	x0, x19, #64
	bl	_spin_lock_init
	stp	xzr, xzr, [x19, #48]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	add	x0, x19, #20
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #24]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, ___GFP_HIGH@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___GFP_HIGH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_INIT_RADIX_TREE
	add	x0, x19, #16
	bl	_INIT_HLIST_HEAD
	str	xzr, [x19, #8]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_iocontext_cachep,4,2           ; @iocontext_cachep
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	___GFP_HIGH,4,2                 ; @__GFP_HIGH
.subsections_via_symbols
