	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadText                       ## -- Begin function ReadText
	.p2align	4, 0x90
_ReadText:                              ## @ReadText
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -136(%rbp)                 ## 8-byte Spill
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%rdx, %r12
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movw	$2573, -70(%rbp)                ## imm = 0xA0D
	movl	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	%rsi, %r15
	movq	$0, (%rsi)
	movl	$0, (%rdx)
	xorl	%esi, %esi
	callq	_GetFileSize
	movl	%eax, %ebx
	movl	%eax, -68(%rbp)
	movq	_INVALID_FILE_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	%r15, %r13
	testl	%r14d, %r14d
	jne	LBB0_67
	jmp	LBB0_64
LBB0_2:
	movl	%r14d, -88(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	2(%rbx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r14
	leaq	-68(%rbp), %rcx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_ReadFile
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movslq	-68(%rbp), %rax
	movl	$0, (%r14,%rax,4)
	movslq	-68(%rbp), %rax
	movl	$0, 4(%r14,%rax,4)
	movl	-68(%rbp), %r12d
	cmpl	$2, %r12d
	movq	%r15, %r13
	jl	LBB0_16
## %bb.5:
	movl	(%r14), %eax
	cmpl	$254, %eax
	je	LBB0_11
## %bb.6:
	cmpl	$255, %eax
	jne	LBB0_12
## %bb.7:
	cmpl	$254, 4(%r14)
	jne	LBB0_12
## %bb.8:
	movl	$2, %ebx
	movl	$129, -76(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_24
LBB0_9:
	movq	%r15, %r13
	jmp	LBB0_63
LBB0_10:
	movq	%r15, %r13
	jmp	LBB0_60
LBB0_11:
	movl	$2, %ebx
	cmpl	$255, 4(%r14)
	je	LBB0_20
LBB0_12:
	cmpl	$3, %r12d
	jb	LBB0_16
## %bb.13:
	cmpl	$239, %eax
	jne	LBB0_16
## %bb.14:
	cmpl	$187, 4(%r14)
	jne	LBB0_16
## %bb.15:
	movl	$3, %ebx
	cmpl	$191, 8(%r14)
	je	LBB0_17
LBB0_16:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_AnalyzeEncoding
	movq	_CP_ACP@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %ecx
	addl	$-128, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_17:
	movq	_CP_UTF8@GOTPCREL(%rip), %rsi
	movl	$128, %eax
LBB0_18:
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %r15d
	movl	-68(%rbp), %ecx
	subl	%ebx, %ecx
	jle	LBB0_25
## %bb.19:
	leal	(%r14,%rbx,4), %edx
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_26
	jmp	LBB0_59
LBB0_20:
	movl	-68(%rbp), %r12d
	leal	-1(%r12), %eax
	movl	$130, -76(%rbp)                 ## 4-byte Folded Spill
	cmpl	%eax, %ebx
	jge	LBB0_24
## %bb.21:
	movl	%ebx, %eax
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	rolq	$32, (%r14,%rax,4)
	addq	$2, %rax
	movslq	-68(%rbp), %r12
	leaq	-1(%r12), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_22
	jmp	LBB0_24
LBB0_23:
	xorl	%ebx, %ebx
	movl	$129, -76(%rbp)                 ## 4-byte Folded Spill
	movl	-68(%rbp), %r12d
LBB0_24:
	movl	%ebx, %eax
	leaq	(%r14,%rax,4), %r8
	subl	%ebx, %r12d
	xorl	%eax, %eax
	jmp	LBB0_30
LBB0_25:
	xorl	%r12d, %r12d
LBB0_26:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	1(%r12), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_59
## %bb.27:
	movq	%rax, %r8
	movl	-68(%rbp), %ecx
	subl	%ebx, %ecx
	jle	LBB0_29
## %bb.28:
	leal	(%r14,%rbx,4), %edx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movq	%r8, %rbx
	movl	%r12d, %r9d
	callq	_MultiByteToWideChar
	movq	%rbx, %r8
	testl	%eax, %eax
	je	LBB0_69
LBB0_29:
	movslq	%r12d, %rax
	movl	$0, (%r8,%rax,4)
	movq	%r8, %rax
LBB0_30:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_47
## %bb.31:
	leal	-1(%r12), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	$32, (%r8,%r15,4)
LBB0_33:                                ##   in Loop: Header=BB0_35 Depth=1
	movl	%ebx, %ecx
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=1
	leal	1(%rcx), %ebx
	cmpl	%r12d, %ebx
	jge	LBB0_48
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r15
	movl	(%r8,%r15,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_32
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	$10, %ecx
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	$13, %ecx
	jne	LBB0_33
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	-108(%rbp), %ebx                ## 4-byte Folded Reload
	jge	LBB0_41
## %bb.39:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpl	$10, 4(%r8,%r15,4)
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_35 Depth=1
	incl	%ebx
	movq	_EOLN_CRLF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	-64(%rbp,%rcx,4)
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_35 Depth=1
	cltq
	leaq	(%r8,%rax,4), %rdx
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movq	%r13, %rdi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_Append
	testl	%eax, %eax
	je	LBB0_58
## %bb.42:                              ##   in Loop: Header=BB0_35 Depth=1
	leaq	-70(%rbp), %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %r12
	movq	%r13, %rdi
	movq	%r14, %rsi
	leaq	-70(%rbp), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Append
	testl	%eax, %eax
	je	LBB0_58
## %bb.43:                              ##   in Loop: Header=BB0_35 Depth=1
	leal	1(%rbx), %eax
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	cmpl	$13, (%r8,%r15,4)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	_EOLN_CR@GOTPCREL(%rip), %rcx
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	_EOLN_LF@GOTPCREL(%rip), %rcx
LBB0_46:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	(%rcx), %rcx
	incl	-64(%rbp,%rcx,4)
	movl	%ebx, %ecx
	movq	%r12, %r13
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_34
LBB0_47:
	movl	$1, %ecx
	xorl	%eax, %eax
	jmp	LBB0_49
LBB0_48:
	addl	$2, %ecx
LBB0_49:
	cmpq	$0, (%r13)
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_52
## %bb.50:
	cmpq	-104(%rbp), %r8                 ## 8-byte Folded Reload
	jne	LBB0_52
## %bb.51:
	movq	%r8, (%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	%rax, %r12
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_53
LBB0_52:
	cltq
	leaq	(%r8,%rax,4), %rdx
	subl	%eax, %ecx
	movq	%r13, %rdi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_Append
	testl	%eax, %eax
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_58
LBB0_53:
	movq	_EOLN_CRLF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%eax, (%rdi)
	movq	_EOLN_LF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-64(%rbp,%rcx,4), %edx
	movslq	%eax, %rsi
	cmpl	-64(%rbp,%rsi,4), %edx
	jle	LBB0_55
## %bb.54:
	movl	%ecx, (%rdi)
	movq	%rcx, %rax
LBB0_55:
	movq	_EOLN_CR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-64(%rbp,%rcx,4), %edx
	cltq
	cmpl	-64(%rbp,%rax,4), %edx
	jle	LBB0_57
## %bb.56:
	movl	%ecx, (%rdi)
LBB0_57:
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	%ebx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_61
LBB0_58:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_67
LBB0_59:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_60:
	xorl	%ebx, %ebx
LBB0_61:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	testq	%rbx, %rbx
	je	LBB0_63
## %bb.62:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_63:
	movl	-88(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	jne	LBB0_67
LBB0_64:
	cmpq	$0, (%r13)
	je	LBB0_66
## %bb.65:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	(%r13), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	movq	$0, (%r13)
	movl	$0, (%r12)
	jmp	LBB0_67
LBB0_66:
	xorl	%r14d, %r14d
LBB0_67:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_70
## %bb.68:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_69:
	movq	%r8, %rbx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_61
LBB0_70:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_23
	.long	L0_0_set_20
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_INVALID_FILE_SIZE,4,2          ## @INVALID_FILE_SIZE
	.comm	_CP_ACP,4,2                     ## @CP_ACP
	.comm	_CP_UTF8,4,2                    ## @CP_UTF8
	.comm	_EOLN_CRLF,8,3                  ## @EOLN_CRLF
	.comm	_EOLN_CR,8,3                    ## @EOLN_CR
	.comm	_EOLN_LF,8,3                    ## @EOLN_LF
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DEFAULT_UNREACHABLE,4,2        ## @DEFAULT_UNREACHABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadText                       ; -- Begin function ReadText
	.p2align	2
_ReadText:                              ; @ReadText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x4
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	w8, #2573
	strh	w8, [sp, #50]
	str	wzr, [sp, #64]
	str	xzr, [sp, #56]
	str	xzr, [x1]
	str	wzr, [x2]
	mov	x1, #0
	bl	_GetFileSize
	str	w0, [sp, #52]
Lloh6:
	adrp	x8, _INVALID_FILE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INVALID_FILE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_60
; %bb.1:
	mov	x26, x0
	bl	_GetProcessHeap
	add	w2, w26, #2
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_60
; %bb.2:
	mov	x23, x0
	add	x3, sp, #52
	mov	x0, x24
	mov	x1, x23
	mov	x2, x26
	mov	x4, #0
	bl	_ReadFile
	cbz	w0, LBB0_51
; %bb.3:
	ldrsw	x8, [sp, #52]
	str	wzr, [x23, x8, lsl #2]
	ldrsw	x8, [sp, #52]
	add	x8, x23, x8, lsl #2
	str	wzr, [x8, #4]
	ldr	w1, [sp, #52]
	cmp	w1, #2
	b.lt	LBB0_15
; %bb.4:
	ldr	w8, [x23]
	cmp	w8, #254
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #255
	b.ne	LBB0_10
; %bb.6:
	ldr	w9, [x23, #4]
	cmp	w9, #254
	b.ne	LBB0_10
; %bb.7:
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	mov	w24, #2
	mov	w8, #129
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	b	LBB0_24
LBB0_8:
	ldr	w9, [x23, #4]
	cmp	w9, #255
	b.ne	LBB0_10
; %bb.9:
	mov	w24, #2
	b	LBB0_19
LBB0_10:
	cmp	w1, #3
	b.lo	LBB0_15
; %bb.11:
	cmp	w8, #239
	b.ne	LBB0_15
; %bb.12:
	ldr	w8, [x23, #4]
	cmp	w8, #187
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x23, #8]
	cmp	w8, #191
	b.ne	LBB0_15
; %bb.14:
	mov	w24, #3
	b	LBB0_16
LBB0_15:
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_AnalyzeEncoding
Lloh9:
	adrp	x8, _CP_ACP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CP_ACP@GOTPAGEOFF]
	sub	w9, w0, #128
	mov	x28, x0
	mov	w24, #0
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_16
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_16:
Lloh13:
	adrp	x8, _CP_UTF8@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CP_UTF8@GOTPAGEOFF]
	mov	w28, #128
LBB0_17:
	ldr	w26, [x8]
	ldr	w8, [sp, #52]
	sub	w3, w8, w24
	cmp	w3, #1
	b.lt	LBB0_42
; %bb.18:
	add	w2, w23, w24, lsl #2
	mov	x0, x26
	mov	w1, #0
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x27, x0
	cbnz	w0, LBB0_43
	b	LBB0_51
LBB0_19:
	ldr	w1, [sp, #52]
	sub	w8, w1, #1
	cmp	w24, w8
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	b.ge	LBB0_22
; %bb.20:
	mov	w8, w24
	ldrsw	x1, [sp, #52]
	sub	x9, x1, #1
	add	x10, x23, w24, uxtw #2
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10]
	rev64.2s	v0, v0
	str	d0, [x10], #8
	add	x8, x8, #2
	cmp	x8, x9
	b.lt	LBB0_21
LBB0_22:
	mov	w8, #130
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	b	LBB0_24
LBB0_23:
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	mov	w24, #0
	mov	w8, #129
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w1, [sp, #52]
LBB0_24:
	mov	x26, #0
	add	x28, x23, w24, uxtw #2
	sub	w27, w1, w24
	subs	w24, w27, #1
	b.lt	LBB0_47
LBB0_25:
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	w22, #0
	mov	w8, #0
	add	x21, sp, #56
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x25, w22
	ldr	w9, [x28, w22, sxtw #2]
	cbz	w9, LBB0_36
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w9, #10
	b.eq	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w9, #13
	b.ne	LBB0_39
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w22, w24
	b.ge	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x9, x25, #1
	ldr	w10, [x28, x9, lsl #2]
	cmp	w10, #10
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_26 Depth=1
Lloh15:
	adrp	x10, _EOLN_CRLF@GOTPAGE
Lloh16:
	ldr	x10, [x10, _EOLN_CRLF@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	lsl	x10, x10, #2
	ldr	w11, [x21, x10]
	add	w11, w11, #1
	str	w11, [x21, x10]
	b	LBB0_40
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x9, x28, w8, sxtw #2
	sub	w8, w22, w8
	stp	x9, x8, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_Append
	cbz	w0, LBB0_50
; %bb.33:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x0, sp, #50
	bl	_ARRAY_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, sp, #50
	stp	x8, x0, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_Append
	cbz	w0, LBB0_50
; %bb.34:                               ;   in Loop: Header=BB0_26 Depth=1
	add	w8, w22, #1
	ldr	w9, [x28, x25, lsl #2]
	cmp	w9, #13
	b.ne	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_26 Depth=1
Lloh18:
	adrp	x9, _EOLN_CR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _EOLN_CR@GOTPAGEOFF]
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w9, #32
	str	w9, [x28, x25, lsl #2]
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_26 Depth=1
Lloh20:
	adrp	x9, _EOLN_LF@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EOLN_LF@GOTPAGEOFF]
LBB0_38:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x21, x9]
	add	w10, w10, #1
	str	w10, [x21, x9]
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x9, x22
LBB0_40:                                ;   in Loop: Header=BB0_26 Depth=1
	add	w22, w9, #1
	cmp	w22, w27
	b.lt	LBB0_26
; %bb.41:
	add	w9, w9, #2
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_48
LBB0_42:
	mov	w27, #0
LBB0_43:
	str	w28, [sp, #44]                  ; 4-byte Folded Spill
	bl	_GetProcessHeap
	add	w2, w27, #1
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_51
; %bb.44:
	mov	x28, x0
	ldr	w8, [sp, #52]
	sub	w3, w8, w24
	cmp	w3, #1
	b.lt	LBB0_46
; %bb.45:
	add	w2, w23, w24, lsl #2
	mov	x0, x26
	mov	w1, #0
	mov	x4, x28
	mov	x5, x27
	bl	_MultiByteToWideChar
	cbz	w0, LBB0_66
LBB0_46:
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	str	wzr, [x28, w27, sxtw #2]
	mov	x26, x28
	subs	w24, w27, #1
	b.ge	LBB0_25
LBB0_47:
	mov	w8, #0
	mov	w9, #1
LBB0_48:
	ldr	x10, [x20]
	cmp	x10, #0
	ccmp	x28, x26, #0, eq
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	b.eq	LBB0_52
; %bb.49:
	add	x10, x28, w8, sxtw #2
	sub	w8, w9, w8
	stp	x10, x8, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_Append
	cbnz	w0, LBB0_53
LBB0_50:
Lloh22:
	adrp	x8, _FALSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh24:
	ldr	w25, [x8]
	b	LBB0_64
LBB0_51:
	mov	x26, #0
	b	LBB0_58
LBB0_52:
	mov	x26, #0
	str	x28, [x20]
	str	w27, [x19]
LBB0_53:
Lloh25:
	adrp	x8, _EOLN_CRLF@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EOLN_CRLF@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x8]
	str	w9, [x22]
Lloh28:
	adrp	x8, _EOLN_LF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EOLN_LF@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x8]
	add	x8, sp, #56
	ldr	w11, [x8, x10, lsl #2]
	sbfiz	x12, x9, #2, #32
	ldr	w12, [x8, x12]
	cmp	w11, w12
	b.le	LBB0_55
; %bb.54:
	str	w10, [x22]
	mov	x9, x10
LBB0_55:
Lloh31:
	adrp	x10, _EOLN_CR@GOTPAGE
Lloh32:
	ldr	x10, [x10, _EOLN_CR@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	ldr	w11, [x8, x10, lsl #2]
	sbfiz	x9, x9, #2, #32
	ldr	w8, [x8, x9]
	cmp	w11, w8
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	b.le	LBB0_57
; %bb.56:
	str	w10, [x22]
LBB0_57:
	str	w8, [x21]
Lloh34:
	adrp	x8, _TRUE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh36:
	ldr	w25, [x8]
LBB0_58:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
	cbz	x26, LBB0_60
; %bb.59:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x26
	bl	_HeapFree
LBB0_60:
	cbnz	w25, LBB0_64
; %bb.61:
	ldr	x8, [x20]
	cbz	x8, LBB0_63
; %bb.62:
	bl	_GetProcessHeap
	ldr	x2, [x20]
	mov	w1, #0
	bl	_HeapFree
	mov	w25, #0
	str	xzr, [x20]
	str	wzr, [x19]
	b	LBB0_64
LBB0_63:
	mov	w25, #0
LBB0_64:
	ldr	x8, [sp, #72]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_67
; %bb.65:
	mov	x0, x25
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_66:
	mov	x26, x28
	b	LBB0_58
LBB0_67:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_INVALID_FILE_SIZE,4,2          ; @INVALID_FILE_SIZE
	.comm	_CP_ACP,4,2                     ; @CP_ACP
	.comm	_CP_UTF8,4,2                    ; @CP_UTF8
	.comm	_EOLN_CRLF,8,3                  ; @EOLN_CRLF
	.comm	_EOLN_CR,8,3                    ; @EOLN_CR
	.comm	_EOLN_LF,8,3                    ; @EOLN_LF
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DEFAULT_UNREACHABLE,4,2        ; @DEFAULT_UNREACHABLE
.subsections_via_symbols
