	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FileGetString                  ## -- Begin function FileGetString
	.p2align	4, 0x90
_FileGetString:                         ## @FileGetString
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	decq	%rdx
	leaq	-40(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_ReadFile
	movq	_FALSE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_memchr
	movq	%rax, %rbx
	movq	-40(%rbp), %rax
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	subq	%r15, %rbx
	incq	%rbx
	movq	%rbx, %rsi
	subq	%rax, %rsi
	movq	_FILE_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_SetFilePointer
	movq	%rbx, %rax
LBB0_3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movb	$0, (%r15,%rax)
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_5:
	movl	(%r12), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_CURRENT,4,2               ## @FILE_CURRENT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_OutputCodePage,4,2             ## @OutputCodePage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FileGetString                  ; -- Begin function FileGetString
	.p2align	2
_FileGetString:                         ; @FileGetString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	sub	x2, x2, #1
	add	x3, sp, #8
	mov	x4, #0
	bl	_ReadFile
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	w1, #10
	bl	_memchr
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_3
; %bb.2:
	sub	x9, x0, x19
	add	x21, x9, #1
	sub	x1, x21, x8
Lloh0:
	adrp	x8, _FILE_CURRENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_CURRENT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_SetFilePointer
	mov	x8, x21
LBB0_3:
	cbz	x8, LBB0_5
; %bb.4:
	strb	wzr, [x19, x8]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_CURRENT,4,2               ; @FILE_CURRENT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_OutputCodePage,4,2             ; @OutputCodePage
.subsections_via_symbols
