	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_int_array_append_string     ## -- Begin function tl_int_array_append_string
	.p2align	4, 0x90
_tl_int_array_append_string:            ## @tl_int_array_append_string
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movl	$-1, %eax
	cmpl	$16777215, %ebx                 ## imm = 0xFFFFFF
	jg	LBB0_8
## %bb.1:
	xorl	%ecx, %ecx
	cmpl	$254, %ebx
	setge	%cl
	leal	(%rcx,%rcx,2), %ecx
	leal	(%rbx,%rcx), %r13d
	addl	$4, %r13d
	sarl	$2, %r13d
	movslq	(%r14), %r15
	leal	(%r15,%r13), %ecx
	cmpl	4(%r14), %ecx
	jg	LBB0_8
## %bb.2:
	shlq	$2, %r15
	addq	8(%r14), %r15
	cmpl	$253, %ebx
	jg	LBB0_4
## %bb.3:
	movb	%bl, (%r15)
	incq	%r15
	jmp	LBB0_5
LBB0_4:
	movl	%ebx, %eax
	shll	$8, %eax
	orl	$254, %eax
	movl	%eax, (%r15)
	addq	$4, %r15
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %r12
	leaq	(%r15,%r12), %rdi
	testb	$3, %dil
	je	LBB0_7
## %bb.6:
	notl	%ebx
	subl	%r15d, %ebx
	andl	$3, %ebx
	leaq	1(%rbx), %rsi
	callq	___bzero
	addq	%rbx, %r12
	leaq	(%r15,%r12), %rdi
	incq	%rdi
LBB0_7:
	movslq	(%r14), %rax
	movslq	%r13d, %rcx
	addq	%rax, %rcx
	movl	%ecx, (%r14)
	shlq	$2, %rcx
	addq	8(%r14), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rdi
	sete	%al
	movl	%eax, %edi
	callq	_assert
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_int_array_append_string     ; -- Begin function tl_int_array_append_string
	.p2align	2
_tl_int_array_append_string:            ; @tl_int_array_append_string
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	mov	w8, #16777215
	cmp	w0, w8
	b.gt	LBB0_2
; %bb.1:
	mov	x20, x0
	cmp	w0, #254
	add	w8, w0, #4
	csinc	w8, w8, w0, ge
	add	w8, w8, #3
	asr	w23, w8, #2
	ldp	w8, w9, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	w10, w8, w23
	cmp	w10, w9
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_9
LBB0_3:
	ldr	x9, [x19, #8]
	add	x22, x9, x8, lsl #2
	cmp	w20, #253
	b.gt	LBB0_5
; %bb.4:
	strb	w20, [x22], #1
	b	LBB0_6
LBB0_5:
	mov	w8, #254
	bfi	w8, w20, #8, #24
	str	w8, [x22], #4
LBB0_6:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	sxtw	x21, w20
	add	x0, x22, x21
	tst	x0, #0x3
	b.eq	LBB0_8
; %bb.7:
	mvn	w8, w20
	sub	w8, w8, w22
	and	x20, x8, #0x3
	add	x1, x20, #1
	bl	_bzero
	add	x8, x20, x21
	add	x8, x8, x22
	add	x0, x8, #1
LBB0_8:
	ldr	w8, [x19]
	add	w8, w8, w23
	str	w8, [x19]
	ldr	x9, [x19, #8]
	add	x8, x9, w8, sxtw #2
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	w0, #0
LBB0_9:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
