	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rclex_peekch
_rclex_peekch:                          ## @rclex_peekch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_rclex_lastch@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_rclex_readch
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, (%rbx)
	movq	_rclex_tok_pos@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_rclex_tok@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	leaq	-1(%rcx), %rdi
	movq	%rdi, (%rdx)
	movq	$0, -8(%rsi,%rcx,8)
	jmp	LBB0_5
LBB0_2:
	movl	$-1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_rclex_lastch,4,2               ## @rclex_lastch
	.comm	_rclex_tok_pos,8,3              ## @rclex_tok_pos
	.comm	_rclex_tok,8,3                  ## @rclex_tok
	.no_dead_strip	_rclex_peekch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rclex_peekch
_rclex_peekch:                          ; @rclex_peekch
	.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
Lloh0:
	adrp	x19, _rclex_lastch@GOTPAGE
Lloh1:
	ldr	x19, [x19, _rclex_lastch@GOTPAGEOFF]
	ldr	w0, [x19]
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.1:
	bl	_rclex_readch
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	str	w0, [x19]
Lloh2:
	adrp	x8, _rclex_tok_pos@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rclex_tok_pos@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.3:
Lloh4:
	adrp	x10, _rclex_tok@GOTPAGE
Lloh5:
	ldr	x10, [x10, _rclex_tok@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	sub	x9, x9, #1
	str	x9, [x8]
	str	xzr, [x10, x9, lsl #3]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_rclex_lastch,4,2               ; @rclex_lastch
	.comm	_rclex_tok_pos,8,3              ; @rclex_tok_pos
	.comm	_rclex_tok,8,3                  ; @rclex_tok
	.no_dead_strip	_rclex_peekch
.subsections_via_symbols
