	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readc_file
_readc_file:                            ## @readc_file
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_getc
	movl	%eax, %ebx
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movsbl	(%r14), %eax
	cmpl	%eax, %ebx
	movl	$10, %ecx
	cmovel	%ebx, %ecx
	cmpl	$10, %eax
	cmovnel	%ecx, %ebx
	jmp	LBB0_5
LBB0_2:
	cmpl	$13, %ebx
	jne	LBB0_5
## %bb.3:
	movl	4(%r14), %edi
	callq	_getc
	movl	$10, %ebx
	cmpl	$10, %eax
	je	LBB0_5
## %bb.4:
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_ungetc
LBB0_5:
	movb	%bl, (%r14)
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_readc_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readc_file
_readc_file:                            ; @readc_file
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_getc
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldrsb	w8, [x19]
	cmp	w0, w8
	ccmp	w8, #10, #4, ne
	mov	w8, #10
	csel	w0, w0, w8, eq
	b	LBB0_5
LBB0_2:
	cmp	w0, #13
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_getc
	cmp	w0, #10
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x19, #4]
	bl	_ungetc
	mov	w0, #10
LBB0_5:
	strb	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_readc_file
.subsections_via_symbols
