	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadString                     ## -- Begin function ReadString
	.p2align	4, 0x90
_ReadString:                            ## @ReadString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	_TT_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-24(%rbp), %rcx
	xorl	%edx, %edx
	callq	_PC_ExpectTokenType
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	-24(%rbp), %edi
	callq	_StripDoubleQuotes
	movl	-24(%rbp), %esi
	movq	_MAX_STRINGFIELD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_strncpy
	movslq	(%rbx), %rax
	movb	$0, -1(%rax,%r14)
	movl	$1, %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TT_STRING,4,2                  ## @TT_STRING
	.comm	_MAX_STRINGFIELD,4,2            ## @MAX_STRINGFIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadString                     ; -- Begin function ReadString
	.p2align	2
_ReadString:                            ; @ReadString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
Lloh0:
	adrp	x8, _TT_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TT_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_PC_ExpectTokenType
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_StripDoubleQuotes
	ldr	w1, [sp, #8]
Lloh3:
	adrp	x20, _MAX_STRINGFIELD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MAX_STRINGFIELD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_strncpy
	ldrsw	x8, [x20]
	add	x8, x8, x19
	sturb	wzr, [x8, #-1]
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TT_STRING,4,2                  ; @TT_STRING
	.comm	_MAX_STRINGFIELD,4,2            ; @MAX_STRINGFIELD
.subsections_via_symbols
