	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moresubs
_moresubs:                              ## @moresubs
	.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	%esi, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	xorl	%edi, %edi
	cmpq	%rax, (%r14)
	setbe	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_assert
	movslq	%ebx, %r12
	leaq	(%r12,%r12,2), %rbx
	shrq	%rbx
	movq	8(%r14), %rdi
	leaq	8(,%rbx,8), %rsi
	cmpq	16(%r14), %rdi
	je	LBB0_4
## %bb.6:
	callq	_REALLOC
	movq	%rax, %r13
	testq	%r13, %r13
	jne	LBB0_8
	jmp	LBB0_11
LBB0_4:
	movq	%rsi, %rdi
	callq	_MALLOC
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_VS
	movl	%eax, %r15d
	movq	8(%r14), %rdi
	callq	_VS
	movl	(%r14), %edx
	shll	$3, %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_memcpy
	testq	%r13, %r13
	je	LBB0_11
LBB0_8:
	leaq	1(%rbx), %r15
	movq	%r13, 8(%r14)
	movq	(%r14), %rax
	cmpq	%rbx, %rax
	ja	LBB0_10
## %bb.9:
	leaq	(,%rax,8), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	subq	%rax, %rsi
	shlq	$3, %rsi
	callq	___bzero
	movq	%r15, (%r14)
	movq	%r15, %rax
LBB0_10:
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r12, (%r14)
	seta	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_11:
	movq	_REG_ESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_ESPACE,4,2                 ## @REG_ESPACE
	.no_dead_strip	_moresubs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function moresubs
_moresubs:                              ; @moresubs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, w20, uxtw
	cset	w0, ls
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	sxtw	x22, w20
	add	x8, x22, w20, sxtw #1
	lsr	x24, x8, #1
	add	x23, x24, #1
	ldp	x0, x8, [x19, #8]
	lsl	x1, x23, #3
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	bl	_REALLOC
	mov	x20, x0
	cbnz	x20, LBB0_7
	b	LBB0_10
LBB0_5:
	mov	x0, x1
	bl	_MALLOC
	cbz	x0, LBB0_10
; %bb.6:
	mov	x20, x0
	bl	_VS
	mov	x21, x0
	ldr	x0, [x19, #8]
	bl	_VS
	mov	x1, x0
	ldr	w8, [x19]
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_memcpy
	cbz	x20, LBB0_10
LBB0_7:
	str	x20, [x19, #8]
	ldr	x8, [x19]
	cmp	x8, x24
	b.hi	LBB0_9
; %bb.8:
	add	x0, x20, x8, lsl #3
	sub	x8, x23, x8
	lsl	x1, x8, #3
	bl	_bzero
	str	x23, [x19]
	mov	x8, x23
LBB0_9:
	cmp	x8, x23
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	cmp	x8, x22
	cset	w0, hi
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_assert
LBB0_10:
Lloh0:
	adrp	x8, _REG_ESPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_ESPACE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_ESPACE,4,2                 ; @REG_ESPACE
	.no_dead_strip	_moresubs
.subsections_via_symbols
