	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rclex_readch
_rclex_readch:                          ## @rclex_readch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_rclex_lastch@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$-1, %ebx
	je	LBB0_2
## %bb.1:
	movl	$-1, (%rax)
LBB0_9:
	movl	%ebx, %edi
	callq	_rclex_tok_add_char
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_cpp_pipe@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	$-1, %ebx
	testl	%edi, %edi
	je	LBB0_9
## %bb.3:
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movl	$-1, %ebx
	leaq	-25(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_fread
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	-25(%rbp), %ebx
	cmpl	$13, %ebx
	setne	%al
	testl	%ebx, %ebx
	setne	%cl
	testb	%al, %cl
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_feof
	testq	%rax, %rax
	je	LBB0_6
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_rclex_lastch,4,2               ## @rclex_lastch
	.comm	_cpp_pipe,4,2                   ## @cpp_pipe
	.no_dead_strip	_rclex_readch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rclex_readch
_rclex_readch:                          ; @rclex_readch
	.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
Lloh0:
	adrp	x8, _rclex_lastch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rclex_lastch@GOTPAGEOFF]
	ldr	w19, [x8]
	cmn	w19, #1
	b.eq	LBB0_3
; %bb.1:
	mov	w9, #-1
	str	w9, [x8]
LBB0_2:
	mov	x0, x19
	bl	_rclex_tok_add_char
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
Lloh2:
	adrp	x20, _cpp_pipe@GOTPAGE
Lloh3:
	ldr	x20, [x20, _cpp_pipe@GOTPAGEOFF]
	ldr	w0, [x20]
	cbz	w0, LBB0_8
; %bb.4:
	bl	_feof
	mov	w19, #-1
	cbnz	x0, LBB0_2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_feof
	cbnz	x0, LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x20]
	add	x0, sp, #15
	mov	w1, #1
	mov	w2, #1
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w19, [sp, #15]
	cmp	w19, #13
	ccmp	w19, #0, #4, ne
	ldr	w0, [x20]
	ccmp	w0, #0, #4, eq
	b.ne	LBB0_5
	b	LBB0_2
LBB0_8:
	mov	w19, #-1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rclex_lastch,4,2               ; @rclex_lastch
	.comm	_cpp_pipe,4,2                   ; @cpp_pipe
	.no_dead_strip	_rclex_readch
.subsections_via_symbols
