	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_init                     ## -- Begin function alloc_init
	.p2align	4, 0x90
_alloc_init:                            ## @alloc_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	%r14, 24(%r15)
	movl	%ebx, (%r15)
	movq	_THRNUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	orl	%ebx, %eax
	movl	%eax, 8(%r15)
	incl	%ebx
	movl	%ebx, 4(%r15)
	movl	$100, 12(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r15)
	movups	%xmm0, 48(%r15)
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	movl	$100, %esi
	callq	_prealloc_blocks
	cmpq	$0, 24(%r15)
	je	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	16(%r15), %rbx
	movq	%rbx, %rdi
	callq	_lock_quick_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$64, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lock_protect                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_THRNUM_SHIFT,4,2               ## @THRNUM_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_init                     ; -- Begin function alloc_init
	.p2align	2
_alloc_init:                            ; @alloc_init
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	str	x21, [x19, #24]
	str	w20, [x19]
Lloh0:
	adrp	x8, _THRNUM_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THRNUM_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w9, w20, w8
	mov	w10, #-1
	lsl	w8, w10, w8
	orn	w8, w9, w8
	add	w9, w9, #1
	stp	w9, w8, [x19, #4]
	mov	w8, #100
	str	w8, [x19, #12]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #100
	bl	_prealloc_blocks
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.2:
	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
LBB0_3:
	add	x20, x19, #16
	mov	x0, x20
	bl	_lock_quick_init
	mov	x0, x20
	mov	x1, x19
	mov	w2, #64
	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
	b	_lock_protect
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_THRNUM_SHIFT,4,2               ; @THRNUM_SHIFT
.subsections_via_symbols
