	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kstack_import
_kstack_import:                         ## @kstack_import
	.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	%edx, %ebx
	movq	%rsi, %r14
	movq	_UMA_ANYDOMAIN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_DOMAINSET_RR
	jmp	LBB0_3
LBB0_2:
	movl	%ecx, %edi
	callq	_DOMAINSET_PREF
LBB0_3:
	movq	%rax, %r15
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.5:
	movl	%ebx, %r13d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_kstack_pages@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_vm_thread_stack_create
	movq	%rax, (%r14,%rbx,8)
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_6
## %bb.8:
	movl	%r13d, %ebx
	jmp	LBB0_9
LBB0_4:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UMA_ANYDOMAIN,4,2              ## @UMA_ANYDOMAIN
	.comm	_kstack_pages,4,2               ## @kstack_pages
	.no_dead_strip	_kstack_import
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kstack_import
_kstack_import:                         ; @kstack_import
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _UMA_ANYDOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMA_ANYDOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
	bl	_DOMAINSET_RR
	b	LBB0_3
LBB0_2:
	mov	x0, x3
	bl	_DOMAINSET_PREF
LBB0_3:
	mov	x20, x0
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x21, #0
	mov	w22, w22
Lloh3:
	adrp	x23, _kstack_pages@GOTPAGE
Lloh4:
	ldr	x23, [x23, _kstack_pages@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	add	x1, sp, #12
	mov	x0, x20
	bl	_vm_thread_stack_create
	str	x0, [x19, x21, lsl #3]
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_5
; %bb.7:
	mov	x21, x22
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UMA_ANYDOMAIN,4,2              ; @UMA_ANYDOMAIN
	.comm	_kstack_pages,4,2               ; @kstack_pages
	.no_dead_strip	_kstack_import
.subsections_via_symbols
