	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peek_token                     ## -- Begin function peek_token
	.p2align	4, 0x90
_peek_token:                            ## @peek_token
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_token@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_5:
	movq	_tval@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_lexchar@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_tlpos@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	movq	_lexline@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	_tline@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movq	%rsi, %rdi
	callq	_get_token
	movl	%eax, (%r14)
	movl	(%r12), %ecx
	movl	(%r13), %edx
	cmpl	%edx, %ecx
	je	LBB0_3
## %bb.2:
	movq	_prev_line@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_token_line@GOTPCREL(%rip), %rdi
	movl	%esi, (%rdi)
LBB0_3:
	movq	_lexchar@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	movl	(%r15), %edi
	movl	%edi, (%r8)
	movl	%esi, (%r15)
	movl	%edx, (%r12)
	movl	%ecx, (%r13)
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_token,4,2                      ## @token
	.comm	_lexchar,4,2                    ## @lexchar
	.comm	_tlpos,4,2                      ## @tlpos
	.comm	_lexline,4,2                    ## @lexline
	.comm	_tline,4,2                      ## @tline
	.comm	_prev_line,4,2                  ## @prev_line
	.comm	_token_line,4,2                 ## @token_line
	.comm	_tval,8,3                       ## @tval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peek_token                     ; -- Begin function peek_token
	.p2align	2
_peek_token:                            ; @peek_token
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x24, _token@GOTPAGE
Lloh1:
	ldr	x24, [x24, _token@GOTPAGEOFF]
	ldr	w0, [x24]
	cbz	w0, LBB0_4
; %bb.1:
	cbz	x19, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _tval@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tval@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x20, _lexchar@GOTPAGE
Lloh6:
	ldr	x20, [x20, _lexchar@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh7:
	adrp	x21, _tlpos@GOTPAGE
Lloh8:
	ldr	x21, [x21, _tlpos@GOTPAGEOFF]
	str	w8, [x21]
Lloh9:
	adrp	x22, _lexline@GOTPAGE
Lloh10:
	ldr	x22, [x22, _lexline@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh11:
	adrp	x23, _tline@GOTPAGE
Lloh12:
	ldr	x23, [x23, _tline@GOTPAGEOFF]
	str	w8, [x23]
	mov	x0, x1
	bl	_get_token
	str	w0, [x24]
	ldr	w8, [x22]
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x10, _prev_line@GOTPAGE
Lloh14:
	ldr	x10, [x10, _prev_line@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	adrp	x11, _token_line@GOTPAGE
Lloh17:
	ldr	x11, [x11, _token_line@GOTPAGEOFF]
Lloh18:
	str	w10, [x11]
LBB0_6:
	ldr	w10, [x20]
	ldr	w11, [x21]
	str	w11, [x20]
	str	w10, [x21]
	str	w9, [x22]
	str	w8, [x23]
	cbnz	x19, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_token,4,2                      ; @token
	.comm	_lexchar,4,2                    ; @lexchar
	.comm	_tlpos,4,2                      ; @tlpos
	.comm	_lexline,4,2                    ; @lexline
	.comm	_tline,4,2                      ; @tline
	.comm	_prev_line,4,2                  ; @prev_line
	.comm	_token_line,4,2                 ; @token_line
	.comm	_tval,8,3                       ; @tval
.subsections_via_symbols
