	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_string_vec_add                 ## -- Begin function string_vec_add
	.p2align	4, 0x90
_string_vec_add:                        ## @string_vec_add
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %eax
	cmpl	4(%rdi), %eax
	jne	LBB0_3
## %bb.1:
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$16, %esi
	cmovnel	%ecx, %esi
	movl	%esi, 4(%r12)
	movq	8(%r12), %rdi
	shll	$3, %esi
	callq	_realloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_5
LBB0_4:
	leal	1(%r14), %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strncpy
	movslq	%r14d, %rax
	movb	$0, (%rbx,%rax)
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_fatal_error
	testl	%r14d, %r14d
	jne	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_fatal_error
	xorl	%ebx, %ebx
LBB0_7:
	movq	8(%r12), %rax
	movslq	(%r12), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r12)
	movq	%rbx, (%rax,%rcx,8)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_string_vec_add                 ; -- Begin function string_vec_add
	.p2align	2
_string_vec_add:                        ; @string_vec_add
	.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
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	lsl	w9, w8, #1
	mov	w10, #16
	cmp	w8, #0
	csel	w8, w10, w9, eq
	str	w8, [x19, #4]
	ldr	x0, [x19, #8]
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
LBB0_2:
	cbz	w20, LBB0_5
LBB0_3:
	add	w0, w20, #1
	bl	_malloc
	mov	x22, x0
	mov	x1, x21
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x22, w20, sxtw]
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_error
	cbnz	w20, LBB0_3
LBB0_5:
	mov	x0, x21
	bl	_strdup
	mov	x22, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_error
LBB0_7:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	str	x22, [x8, x9, lsl #3]
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory"

.subsections_via_symbols
