	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readc_string
_readc_string:                          ## @readc_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movb	(%rcx), %al
	cmpb	$13, %al
	je	LBB0_3
## %bb.1:
	testb	%al, %al
	jne	LBB0_5
## %bb.2:
	movb	8(%rdi), %cl
	movq	_EOF@GOTPCREL(%rip), %rax
	movsbl	(%rax), %edx
	cmpb	%dl, %cl
	movl	$10, %eax
	cmovel	%edx, %eax
	cmpb	$10, %cl
	cmovel	%edx, %eax
	jmp	LBB0_6
LBB0_3:
	leaq	1(%rcx), %rax
	movq	%rax, (%rdi)
	movl	$10, %eax
	cmpb	$10, 1(%rcx)
	jne	LBB0_6
## %bb.4:
	addq	$2, %rcx
	movq	%rcx, (%rdi)
	jmp	LBB0_6
LBB0_5:
	leaq	1(%rcx), %rax
	movq	%rax, (%rdi)
	movsbl	(%rcx), %eax
LBB0_6:
	movb	%al, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,1,0                        ## @EOF
	.no_dead_strip	_readc_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readc_string
_readc_string:                          ; @readc_string
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cmp	w9, #13
	b.eq	LBB0_3
; %bb.1:
	cbnz	w9, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
	ldrb	w9, [x0, #8]
Lloh2:
	ldrsb	w8, [x8]
	cmp	w9, w8, uxtb
	ccmp	w9, #10, #4, ne
	mov	w9, #10
	csel	w8, w8, w9, eq
	b	LBB0_7
LBB0_3:
	add	x9, x8, #1
	str	x9, [x0]
	ldrb	w9, [x8, #1]
	cmp	w9, #10
	b.ne	LBB0_5
; %bb.4:
	add	x8, x8, #2
	str	x8, [x0]
LBB0_5:
	mov	w8, #10
	b	LBB0_7
LBB0_6:
	add	x9, x8, #1
	str	x9, [x0]
	ldrsb	w8, [x8]
LBB0_7:
	strb	w8, [x0, #8]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,1,0                        ; @EOF
	.no_dead_strip	_readc_string
.subsections_via_symbols
