	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_namespaces
_create_namespaces:                     ## @create_namespaces
	.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
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	jle	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mutex_lock_nested
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_scan_labels
	movq	%rax, %r14
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	xorl	%r12d, %r12d
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addl	%ebx, %eax
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	callq	_mutex_unlock
	incl	%r12d
	movl	(%r15), %eax
	decl	%ebx
	cmpl	%eax, %r12d
	jl	LBB0_7
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
LBB0_8:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_create_namespaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_namespaces
_create_namespaces:                     ; @create_namespaces
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	mov	x1, x20
	bl	_mutex_lock_nested
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x21, x21, #4
	cmp	x20, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_scan_labels
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	w21, #0
	mov	w22, #-1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, w22
	ldr	x9, [x19, #8]
	add	x0, x9, w8, sxtw #2
	bl	_mutex_unlock
	add	w21, w21, #1
	ldr	w8, [x19]
	sub	w22, w22, #1
	cmp	w21, w8
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_create_namespaces
.subsections_via_symbols
