	.file	"extr_lex.c_isc_lex_getlasttokentext.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	isc_lex_getlasttokentext
	.type	isc_lex_getlasttokentext, @function
isc_lex_getlasttokentext:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	VALID_LEX@PLT
	mov	edi, eax
	call	REQUIRE@PLT
	mov	edi, DWORD PTR [rbx]
	call	HEAD@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbx, rax
	setne	dil
	call	REQUIRE@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	REQUIRE@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	isc_buffer_consumedlength@PLT
	mov	edi, 1
	test	rax, rax
	jne	.L2
	xor	edi, edi
	mov	rax, QWORD PTR isc_tokentype_eof[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
.L2:
	call	REQUIRE@PLT
	mov	rdi, rbp
	call	UNUSED@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rbp, QWORD PTR [rbx]
	call	isc_buffer_consumedlength@PLT
	xor	edi, edi
	cmp	rbp, rax
	setle	dil
	call	INSIST@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rbp, QWORD PTR [rbx]
	call	isc_buffer_base@PLT
	mov	edi, DWORD PTR 8[rbx]
	add	rax, rbp
	mov	QWORD PTR [r12], rax
	call	isc_buffer_consumedlength@PLT
	sub	rax, QWORD PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 8[r12], rax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	isc_lex_getlasttokentext, .-isc_lex_getlasttokentext
	.comm	isc_tokentype_eof,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_lex.c_isc_lex_getlasttokentext.c"
	.text
	.align	2
	.global	isc_lex_getlasttokentext
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_lex_getlasttokentext, %function
isc_lex_getlasttokentext:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	bl	VALID_LEX
	bl	REQUIRE
	ldr	r0, [r4]
	bl	HEAD
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	REQUIRE
	subs	r0, r5, #0
	movne	r0, #1
	bl	REQUIRE
	ldr	r0, [r4, #4]
	bl	isc_buffer_consumedlength
	cmp	r0, #0
	ldreq	r3, .L6
	ldreq	r0, [r5]
	ldreq	r3, [r3]
	movne	r0, #1
	subeq	r0, r0, r3
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	REQUIRE
	mov	r0, r5
	bl	UNUSED
	ldr	r0, [r4, #4]
	ldr	r5, [r4]
	bl	isc_buffer_consumedlength
	cmp	r5, r0
	movgt	r0, #0
	movle	r0, #1
	bl	INSIST
	ldr	r0, [r4, #4]
	ldr	r5, [r4]
	bl	isc_buffer_base
	add	r0, r0, r5
	str	r0, [r6]
	ldr	r0, [r4, #4]
	bl	isc_buffer_consumedlength
	ldr	r3, [r4]
	sub	r0, r0, r3
	str	r0, [r6, #4]
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	isc_tokentype_eof
	.size	isc_lex_getlasttokentext, .-isc_lex_getlasttokentext
	.comm	isc_tokentype_eof,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
