	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_buf_add_string_nospace      ## -- Begin function tl_buf_add_string_nospace
	.p2align	4, 0x90
_tl_buf_add_string_nospace:             ## @tl_buf_add_string_nospace
	.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	%esi, %ebx
	movq	%rdi, %r14
	testl	%esi, %esi
	jns	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
LBB0_2:
	movq	_buf@GOTPCREL(%rip), %r15
	movq	_buf_pos@GOTPCREL(%rip), %r12
	movslq	(%r12), %rdi
	shlq	$3, %rdi
	addq	(%r15), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	(%r12), %rax
	movslq	%ebx, %rcx
	addq	%rax, %rcx
	movl	%ecx, (%r12)
	movq	(%r15), %rax
	movq	$0, (%rax,%rcx,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buf,8,3                        ## @buf
	.comm	_buf_pos,4,2                    ## @buf_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_buf_add_string_nospace      ; -- Begin function tl_buf_add_string_nospace
	.p2align	2
_tl_buf_add_string_nospace:             ; @tl_buf_add_string_nospace
	.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
	mov	x20, x0
	tbz	w1, #31, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_strlen
	mov	x19, x0
LBB0_2:
Lloh0:
	adrp	x21, _buf@GOTPAGE
Lloh1:
	ldr	x21, [x21, _buf@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _buf_pos@GOTPAGE
Lloh3:
	ldr	x22, [x22, _buf_pos@GOTPAGEOFF]
	ldrsw	x9, [x22]
	add	x0, x8, x9, lsl #3
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [x22]
	add	w8, w8, w19
	str	w8, [x22]
	ldr	x9, [x21]
	str	xzr, [x9, w8, sxtw #3]
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_buf,8,3                        ; @buf
	.comm	_buf_pos,4,2                    ; @buf_pos
.subsections_via_symbols
