	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next_token                     ## -- Begin function next_token
	.p2align	4, 0x90
_next_token:                            ## @next_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_token@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_lexline@GOTPCREL(%rip), %r8
	movq	_tline@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, (%r8)
	je	LBB0_3
## %bb.2:
	movq	_cur_line@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movq	_token_line@GOTPCREL(%rip), %rdx
	movl	%edi, (%rdx)
LBB0_3:
	movq	_tlpos@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_lexchar@GOTPCREL(%rip), %rdi
	movl	%edx, (%rdi)
	movq	%rsi, (%r8)
	movl	$0, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_6:
	movq	_tval@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %rdi
	callq	_get_token
	movq	_cur_line@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_token_line@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	testq	%rbx, %rbx
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_token,4,2                      ## @token
	.comm	_lexline,8,3                    ## @lexline
	.comm	_tline,8,3                      ## @tline
	.comm	_cur_line,4,2                   ## @cur_line
	.comm	_token_line,4,2                 ## @token_line
	.comm	_tlpos,4,2                      ## @tlpos
	.comm	_lexchar,4,2                    ## @lexchar
	.comm	_tval,8,3                       ## @tval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next_token                     ; -- Begin function next_token
	.p2align	2
_next_token:                            ; @next_token
	.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
Lloh0:
	adrp	x8, _token@GOTPAGE
Lloh1:
	ldr	x8, [x8, _token@GOTPAGEOFF]
	ldr	w0, [x8]
	cbz	w0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x9, _lexline@GOTPAGE
Lloh3:
	ldr	x9, [x9, _lexline@GOTPAGEOFF]
	ldr	x11, [x9]
Lloh4:
	adrp	x10, _tline@GOTPAGE
Lloh5:
	ldr	x10, [x10, _tline@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x11, x10
	b.eq	LBB0_3
; %bb.2:
Lloh7:
	adrp	x11, _cur_line@GOTPAGE
Lloh8:
	ldr	x11, [x11, _cur_line@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
Lloh10:
	adrp	x12, _token_line@GOTPAGE
Lloh11:
	ldr	x12, [x12, _token_line@GOTPAGEOFF]
Lloh12:
	str	w11, [x12]
LBB0_3:
Lloh13:
	adrp	x11, _tlpos@GOTPAGE
Lloh14:
	ldr	x11, [x11, _tlpos@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
Lloh16:
	adrp	x12, _lexchar@GOTPAGE
Lloh17:
	ldr	x12, [x12, _lexchar@GOTPAGEOFF]
Lloh18:
	str	w11, [x12]
	str	x10, [x9]
	str	wzr, [x8]
	cbz	x19, LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _tval@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tval@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x1
	bl	_get_token
Lloh22:
	adrp	x8, _cur_line@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cur_line@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _token_line@GOTPAGE
Lloh26:
	ldr	x9, [x9, _token_line@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	cbnz	x19, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_token,4,2                      ; @token
	.comm	_lexline,8,3                    ; @lexline
	.comm	_tline,8,3                      ; @tline
	.comm	_cur_line,4,2                   ; @cur_line
	.comm	_token_line,4,2                 ; @token_line
	.comm	_tlpos,4,2                      ; @tlpos
	.comm	_lexchar,4,2                    ; @lexchar
	.comm	_tval,8,3                       ; @tval
.subsections_via_symbols
