	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lex                            ## -- Begin function lex
	.p2align	4, 0x90
_lex:                                   ## @lex
	.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	_buffers@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_vec_tail
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_vec_len
	testl	%eax, %eax
	jle	LBB0_1
## %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vec_pop                        ## TAILCALL
LBB0_1:
	movq	(%r14), %rdi
	callq	_vec_len
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	movq	_eof_token@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	callq	_current_file
	xorl	%r14d, %r14d
	cmpl	$1, (%rax)
	sete	%r14b
	xorl	%eax, %eax
	callq	_do_read_token
	movq	(%rax), %rcx
	movq	_TSPACE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_do_read_token
	movl	$1, 8(%rax)
	movq	(%rax), %rcx
	cmpq	(%rbx), %rcx
	je	LBB0_4
LBB0_6:
	movl	%r14d, 12(%rax)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffers,8,3                    ## @buffers
	.comm	_eof_token,8,3                  ## @eof_token
	.comm	_TSPACE,8,3                     ## @TSPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lex                            ; -- Begin function lex
	.p2align	2
_lex:                                   ; @lex
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _buffers@GOTPAGE
Lloh1:
	ldr	x20, [x20, _buffers@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_vec_tail
	mov	x19, x0
	bl	_vec_len
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vec_pop
LBB0_2:
	ldr	x0, [x20]
	bl	_vec_len
	cmp	w0, #1
	b.le	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _eof_token@GOTPAGE
Lloh3:
	ldr	x8, [x8, _eof_token@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_8
LBB0_4:
	bl	_current_file
	ldr	w8, [x0]
	cmp	w8, #1
	cset	w19, eq
	bl	_do_read_token
	ldr	x8, [x0]
Lloh5:
	adrp	x20, _TSPACE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _TSPACE@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	w21, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_do_read_token
	str	w21, [x0, #8]
	ldr	x8, [x0]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_7:
	str	w19, [x0, #12]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_buffers,8,3                    ; @buffers
	.comm	_eof_token,8,3                  ; @eof_token
	.comm	_TSPACE,8,3                     ; @TSPACE
.subsections_via_symbols
