	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_lex_getlasttokentext       ## -- Begin function isc_lex_getlasttokentext
	.p2align	4, 0x90
_isc_lex_getlasttokentext:              ## @isc_lex_getlasttokentext
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_VALID_LEX
	movl	%eax, %edi
	callq	_REQUIRE
	movl	(%rbx), %edi
	callq	_HEAD
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_REQUIRE
	movl	8(%rbx), %edi
	callq	_isc_buffer_consumedlength
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	_isc_tokentype_eof@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_2:
	callq	_REQUIRE
	movq	%r15, %rdi
	callq	_UNUSED
	movq	(%rbx), %r15
	movl	8(%rbx), %edi
	callq	_isc_buffer_consumedlength
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setle	%dil
	callq	_INSIST
	movl	8(%rbx), %edi
	callq	_isc_buffer_base
	addq	(%rbx), %rax
	movq	%rax, (%r14)
	movl	8(%rbx), %edi
	callq	_isc_buffer_consumedlength
	subq	(%rbx), %rax
	movq	%rax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isc_tokentype_eof,8,3          ## @isc_tokentype_eof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_lex_getlasttokentext       ; -- Begin function isc_lex_getlasttokentext
	.p2align	2
_isc_lex_getlasttokentext:              ; @isc_lex_getlasttokentext
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_VALID_LEX
	bl	_REQUIRE
	ldr	w0, [x20]
	bl	_HEAD
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_REQUIRE
	cmp	x21, #0
	cset	w0, ne
	bl	_REQUIRE
	ldr	w0, [x20, #8]
	bl	_isc_buffer_consumedlength
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _isc_tokentype_eof@GOTPAGE
Lloh1:
	ldr	x9, [x9, _isc_tokentype_eof@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_3:
	bl	_REQUIRE
	mov	x0, x21
	bl	_UNUSED
	ldr	x21, [x20]
	ldr	w0, [x20, #8]
	bl	_isc_buffer_consumedlength
	cmp	x21, x0
	cset	w0, le
	bl	_INSIST
	ldr	w0, [x20, #8]
	bl	_isc_buffer_base
	ldr	x8, [x20]
	add	x8, x0, x8
	str	x8, [x19]
	ldr	w0, [x20, #8]
	bl	_isc_buffer_consumedlength
	ldr	x8, [x20]
	sub	x8, x0, x8
	str	x8, [x19, #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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_isc_tokentype_eof,8,3          ; @isc_tokentype_eof
.subsections_via_symbols
