	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocarc
_allocarc:                              ## @allocarc
	.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
	movq	%rsi, %rbx
	cmpq	$0, 8(%rsi)
	je	LBB0_1
LBB0_16:
	movl	$1, %edi
	callq	_assert
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	jmp	LBB0_17
LBB0_1:
	movslq	(%rbx), %rcx
	movq	_ABSIZE@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ecx
	jge	LBB0_3
## %bb.2:
	movq	%rcx, %rax
	shlq	$4, %rax
	addq	24(%rbx), %rax
	incl	%ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_17
LBB0_3:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_REG_MAX_COMPILE_SPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.6:
	movl	$16, %edi
	callq	_MALLOC
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%r14), %rcx
	addq	$16, (%rcx)
	movq	16(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, 16(%rbx)
	movslq	(%r15), %rcx
	movq	(%rax), %r9
	testq	%rcx, %rcx
	jle	LBB0_15
## %bb.9:
	movl	%ecx, %r8d
	cmpl	$1, %r8d
	jne	LBB0_11
## %bb.10:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_4:
	movq	_REG_ETOOBIG@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_NERR
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%r8d, %edi
	andl	$-2, %edi
	leaq	16(%r9), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, -8(%rdx)
	movq	%rdx, -16(%rdx)
	movq	$0, 8(%rdx)
	addq	$2, %rsi
	leaq	16(%rdx), %rax
	movq	%rax, (%rdx)
	addq	$32, %rdx
	cmpq	%rsi, %rdi
	jne	LBB0_12
LBB0_13:
	testb	$1, %r8b
	je	LBB0_15
## %bb.14:
	shlq	$4, %rsi
	movq	$0, 8(%r9,%rsi)
	leaq	(%r9,%rsi), %rax
	addq	$16, %rax
	movq	%rax, (%r9,%rsi)
LBB0_15:
	shlq	$4, %rcx
	movq	$0, -16(%rcx,%r9)
	movq	%r9, 8(%rbx)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ABSIZE,4,2                     ## @ABSIZE
	.comm	_REG_MAX_COMPILE_SPACE,8,3      ## @REG_MAX_COMPILE_SPACE
	.comm	_REG_ETOOBIG,4,2                ## @REG_ETOOBIG
	.comm	_REG_ESPACE,4,2                 ## @REG_ESPACE
	.no_dead_strip	_allocarc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function allocarc
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_allocarc:                              ; @allocarc
	.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	x19, x1
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #1
	bl	_assert
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	str	x8, [x19, #8]
	b	LBB0_12
LBB0_2:
	ldrsw	x8, [x19]
Lloh0:
	adrp	x21, _ABSIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ABSIZE@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.3:
	ldr	x9, [x19, #24]
	add	x0, x9, x8, lsl #4
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_12
LBB0_4:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _REG_MAX_COMPILE_SPACE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_MAX_COMPILE_SPACE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.5:
	mov	w0, #16
	bl	_MALLOC
	cbz	x0, LBB0_10
; %bb.6:
	ldr	x8, [x20]
	ldr	x9, [x8]
	add	x9, x9, #16
	str	x9, [x8]
	ldr	x8, [x19, #16]
	str	x8, [x0, #8]
	str	x0, [x19, #16]
	ldr	w8, [x21]
	ldr	x9, [x0]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.7:
	cmp	w8, #8
	b.hs	LBB0_13
; %bb.8:
	mov	x10, #0
	b	LBB0_16
LBB0_9:
Lloh5:
	adrp	x8, _REG_ETOOBIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_ETOOBIG@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh7:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	bl	_NERR
	mov	x0, #0
LBB0_12:
	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_13:
	mov	x11, #0
	and	x10, x8, #0xfffffff8
	mov	w12, #16
	dup.2d	v0, x12
	mov	w12, #112
	dup.2d	v1, x12
	mov	w12, #80
	dup.2d	v2, x12
	mov	w12, #48
	dup.2d	v3, x12
	mov	w12, #8
	dup.2d	v4, x12
Lloh9:
	adrp	x12, lCPI0_0@PAGE
Lloh10:
	ldr	q5, [x12, lCPI0_0@PAGEOFF]
	lsl	x12, x8, #4
	and	x12, x12, #0xfffffff80
	dup.2d	v6, x9
	movi.2d	v17, #0000000000000000
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	shl.2d	v7, v5, #4
	add.2d	v7, v7, v6
	add.2d	v16, v7, v0
	add	x13, x9, x11
	add	x14, x13, #64
	add	x15, x13, #96
	st2.2d	{ v16, v17 }, [x13], #32
	add.2d	v18, v7, v3
	mov.16b	v19, v17
	st2.2d	{ v18, v19 }, [x13]
	add.2d	v18, v7, v2
	mov.16b	v19, v17
	st2.2d	{ v18, v19 }, [x14]
	add.2d	v18, v7, v1
	mov.16b	v19, v17
	st2.2d	{ v18, v19 }, [x15]
	add.2d	v5, v5, v4
	add	x11, x11, #128
	cmp	x12, x11
	b.ne	LBB0_14
; %bb.15:
	cmp	x10, x8
	b.eq	LBB0_18
LBB0_16:
	add	x11, x9, x10, lsl #4
	add	x11, x11, #16
	sub	x10, x8, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	stp	x11, xzr, [x11, #-16]
	add	x11, x11, #16
	subs	x10, x10, #1
	b.ne	LBB0_17
LBB0_18:
	add	x8, x9, w8, sxtw #4
	stur	xzr, [x8, #-16]
	str	x9, [x19, #8]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ABSIZE,4,2                     ; @ABSIZE
	.comm	_REG_MAX_COMPILE_SPACE,8,3      ; @REG_MAX_COMPILE_SPACE
	.comm	_REG_ETOOBIG,4,2                ; @REG_ETOOBIG
	.comm	_REG_ESPACE,4,2                 ; @REG_ESPACE
	.no_dead_strip	_allocarc
.subsections_via_symbols
