	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SeparateStringByWidth          ## -- Begin function SeparateStringByWidth
	.p2align	4, 0x90
_SeparateStringByWidth:                 ## @SeparateStringByWidth
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.1:
	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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	movl	$1, %eax
	cmovnel	%esi, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_NewListFast
	movq	%rax, %r13
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_UniStrLen
	movl	%eax, %r14d
	leal	128(,%r14,4), %edi
	callq	_ZeroMalloc
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	js	LBB0_21
## %bb.2:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r15d, %rax
	movl	$0, (%rbx,%rax,4)
	movq	%rbx, %rdi
	callq	_UniCopyStr
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_Insert
	xorl	%r15d, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%r12), %eax
	cmpl	-80(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%eax, %r12d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_21
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %rax
	movl	(%rcx,%rax,4), %r14d
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$10, %r14d
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$13, %r14d
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$10, 4(%rcx,%rax,4)
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rcx,%rax,4), %rdi
	callq	_GetNextWordWidth
	movq	%rbx, %rdi
	movl	%eax, %ebx
	callq	_UniStrWidth
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%eax, %ecx
	jle	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%ecx, %ebx
	jle	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	$0, (%r13,%rax,4)
	movq	%r13, %rdi
	callq	_UniCopyStr
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_Insert
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r15d, %rbx
	movl	%r14d, (%r13,%rbx,4)
	movl	$0, 4(%r13,%rbx,4)
	movq	%r13, %rdi
	callq	_UniStrWidth
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	movq	%r13, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	$0, (%r13,%rbx,4)
	movq	%r13, %rdi
	callq	_UniCopyStr
	movq	%r13, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_21:
	movq	%r13, %rdi
	callq	_LIST_NUM
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:
	leaq	l_.str(%rip), %rdi
	callq	_CopyUniStr
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_Insert
LBB0_23:
	movl	$16, %edi
	callq	_ZeroMalloc
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_LIST_NUM
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	leal	(,%rax,8), %edi
	callq	_ZeroMalloc
	movq	%rax, 8(%r15)
	movq	%r13, %rdi
	callq	_LIST_NUM
	testl	%eax, %eax
	jle	LBB0_26
## %bb.24:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LIST_DATA
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_UniTrimLeft
	movq	8(%r15), %rax
	movq	%r12, (%rax,%rbx,8)
	incq	%rbx
	movq	%r13, %rdi
	callq	_LIST_NUM
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_25
LBB0_26:
	movq	%r13, %rdi
	callq	_ReleaseList
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_Free
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	xorl	%eax, %eax
	jmp	_UniNullToken                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.space	4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SeparateStringByWidth          ; -- Begin function SeparateStringByWidth
	.p2align	2
_SeparateStringByWidth:                 ; @SeparateStringByWidth
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_21
; %bb.1:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	cmp	w1, #0
	csinc	w24, w1, wzr, ne
	mov	x0, #0
	bl	_NewListFast
	mov	x19, x0
	mov	x0, x21
	bl	_UniStrLen
	mov	x22, x0
	lsl	w8, w0, #2
	add	w0, w8, #128
	bl	_ZeroMalloc
	mov	x20, x0
	tbnz	w22, #31, LBB0_15
; %bb.2:
	mov	w26, #0
	mov	w25, #0
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x8, w25
	add	x8, x8, #1
	ldr	w9, [x21, x8, lsl #2]
	cmp	w9, #10
	csel	w25, w8, w25, eq
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	wzr, [x20, w26, sxtw #2]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_UniCopyStr
	mov	x1, x0
	mov	x0, x19
	bl	_Insert
	mov	w23, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w25, #1
	mov	x26, x23
	cmp	w25, w22
	mov	x25, x8
	b.ge	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, w25, sxtw #2
	ldr	w27, [x0]
	cmp	w27, #0
	ccmp	w27, #10, #4, ne
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w27, #13
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_GetNextWordWidth
	mov	x23, x0
	mov	x0, x20
	bl	_UniStrWidth
	sub	w8, w24, w0
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w23, w8
	b.le	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w23, w24
	b.gt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	str	wzr, [x20, w26, sxtw #2]
	mov	x0, x20
	bl	_UniCopyStr
	mov	x1, x0
	mov	x0, x19
	bl	_Insert
	mov	w26, #0
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x8, w26
	add	x23, x8, #1
	str	w27, [x20, w26, sxtw #2]
	str	wzr, [x20, x23, lsl #2]
	mov	x0, x20
	bl	_UniStrWidth
	cmp	w0, w24
	b.lt	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	str	wzr, [x20, x23, lsl #2]
	b	LBB0_5
LBB0_15:
	mov	x0, x19
	bl	_LIST_NUM
	cbnz	w0, LBB0_17
; %bb.16:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CopyUniStr
	mov	x1, x0
	mov	x0, x19
	bl	_Insert
LBB0_17:
	mov	w0, #16
	bl	_ZeroMalloc
	mov	x21, x0
	mov	x0, x19
	bl	_LIST_NUM
	str	w0, [x21]
	lsl	w0, w0, #3
	bl	_ZeroMalloc
	str	x0, [x21, #8]
	mov	x0, x19
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x22, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_LIST_DATA
	mov	x23, x0
	bl	_UniTrimLeft
	ldr	x8, [x21, #8]
	str	x23, [x8, x22, lsl #3]
	add	x22, x22, #1
	mov	x0, x19
	bl	_LIST_NUM
	cmp	x22, w0, sxtw
	b.lt	LBB0_19
LBB0_20:
	mov	x0, x19
	bl	_ReleaseList
	mov	x0, x20
	bl	_Free
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	b	_UniNullToken
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.space	4

.subsections_via_symbols
