	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_string_len
_append_string_len:                     ## @append_string_len
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	8(%rbx), %rcx
	addq	%r14, %rcx
	cmpq	%rax, %rcx
	jbe	LBB0_7
## %bb.2:
	leaq	(%r14,%rax,2), %r12
	movq	16(%rbx), %rdi
	leaq	(,%r12,4), %rsi
	callq	_heap_realloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, 16(%rbx)
	jmp	LBB0_6
LBB0_4:
	leaq	(,%r14,8), %rdi
	callq	_heap_alloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	leaq	(%r14,%r14), %r12
LBB0_6:
	movq	%r12, (%rbx)
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	leaq	(,%r14,4), %rdx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_9:
	addq	%r14, 8(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_append_string_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_string_len
_append_string_len:                     ; @append_string_len
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x20, #8]
	add	x9, x9, x19
	cmp	x9, x8
	b.ls	LBB0_7
; %bb.2:
	add	x22, x19, x8, lsl #1
	ldr	x0, [x20, #16]
	lsl	x1, x22, #2
	bl	_heap_realloc
	cbz	x0, LBB0_10
; %bb.3:
	str	x0, [x20, #16]
	b	LBB0_6
LBB0_4:
	lsl	x0, x19, #3
	bl	_heap_alloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_10
; %bb.5:
	lsl	x22, x19, #1
LBB0_6:
	str	x22, [x20]
LBB0_7:
	cbz	x19, LBB0_9
; %bb.8:
	ldp	x9, x8, [x20, #8]
	add	x0, x8, x9, lsl #2
	lsl	x2, x19, #2
	mov	x1, x21
	bl	_memcpy
LBB0_9:
	ldr	x8, [x20, #8]
	add	x8, x8, x19
	str	x8, [x20, #8]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_append_string_len
.subsections_via_symbols
