	.file	"extr_llex.c_read_long_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"string"
.LC1:
	.string	"comment"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"unfinished long %s (starting at line %d)"
	.text
	.p2align 4
	.type	read_long_string, @function
read_long_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14d, DWORD PTR [rdi]
	call	save_and_next@PLT
	mov	rdi, r15
	call	currIsNewline@PLT
	test	rax, rax
	jne	.L24
.L2:
	test	rbx, rbx
	lea	r12, .LC0[rip]
	lea	rax, .LC1[rip]
	cmove	r12, rax
	lea	r13, .LC2[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR 4[r15]
	cmp	eax, 93
	je	.L4
.L25:
	jg	.L5
	cmp	eax, 10
	je	.L6
	cmp	eax, 13
	jne	.L7
.L6:
	mov	rdi, r15
	mov	esi, 10
	call	save@PLT
	mov	rdi, r15
	call	inclinenumber@PLT
	test	rbx, rbx
	jne	.L3
	mov	edi, DWORD PTR 8[r15]
	call	luaZ_resetbuffer@PLT
	mov	eax, DWORD PTR 4[r15]
	cmp	eax, 93
	jne	.L25
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r15
	call	skip_sep@PLT
	cmp	eax, ebp
	jne	.L3
	mov	rdi, r15
	call	save_and_next@PLT
	test	rbx, rbx
	je	.L1
	mov	edi, DWORD PTR 8[r15]
	add	ebp, 2
	call	luaZ_bufflen@PLT
	lea	edx, [rbp+rbp]
	mov	edi, DWORD PTR 8[r15]
	movsx	rbp, ebp
	movsx	rdx, edx
	sub	rax, rdx
	mov	r12, rax
	call	luaZ_buffer@PLT
	mov	rdx, r12
	mov	rdi, r15
	lea	rsi, 0[rbp+rax]
	call	luaX_newstring@PLT
	mov	DWORD PTR [rbx], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, 128
	jne	.L7
	mov	edi, DWORD PTR 12[r15]
	mov	rdx, r12
	mov	rsi, r13
	mov	ecx, r14d
	call	luaO_pushfstring@PLT
	mov	edx, DWORD PTR TK_EOS[rip]
	mov	rdi, r15
	mov	rsi, rax
	call	lexerror@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r15
	test	rbx, rbx
	je	.L12
	call	save_and_next@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	call	next@PLT
	jmp	.L3
.L24:
	mov	rdi, r15
	call	inclinenumber@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	read_long_string, .-read_long_string
	.comm	TK_EOS,4,4
	.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_llex.c_read_long_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"string\000"
	.align	2
.LC1:
	.ascii	"comment\000"
	.align	2
.LC2:
	.ascii	"unfinished long %s (starting at line %d)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_long_string, %function
read_long_string:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	ldr	r10, [r0]
	bl	save_and_next
	mov	r0, r4
	bl	currIsNewline
	cmp	r0, #0
	bne	.L25
.L2:
	ldr	r3, .L27
	cmp	r5, #0
	ldr	r7, .L27+4
	moveq	r7, r3
	ldr	r9, .L27+8
	ldr	r8, .L27+12
.L3:
	ldr	r3, [r4, #4]
	cmp	r3, #93
	beq	.L4
.L26:
	bgt	.L5
	cmp	r3, #10
	beq	.L6
	cmp	r3, #13
	bne	.L7
.L6:
	mov	r1, #10
	mov	r0, r4
	bl	save
	mov	r0, r4
	bl	inclinenumber
	cmp	r5, #0
	bne	.L3
	ldr	r0, [r4, #8]
	bl	luaZ_resetbuffer
	ldr	r3, [r4, #4]
	cmp	r3, #93
	bne	.L26
.L4:
	mov	r0, r4
	bl	skip_sep
	cmp	r0, r6
	bne	.L3
	mov	r0, r4
	bl	save_and_next
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r0, [r4, #8]
	bl	luaZ_buffer
	mov	r7, r0
	ldr	r0, [r4, #8]
	bl	luaZ_bufflen
	add	r6, r6, #2
	add	r7, r7, r6
	sub	r2, r0, r6, lsl #1
	mov	r1, r7
	mov	r0, r4
	bl	luaX_newstring
	str	r0, [r5]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	cmp	r3, #128
	bne	.L7
	mov	r2, r7
	mov	r1, r9
	mov	r3, r10
	ldr	r0, [r4, #12]
	bl	luaO_pushfstring
	ldr	r2, [r8]
	mov	r1, r0
	mov	r0, r4
	bl	lexerror
	b	.L3
.L7:
	cmp	r5, #0
	mov	r0, r4
	beq	.L12
	bl	save_and_next
	b	.L3
.L12:
	bl	next
	b	.L3
.L25:
	mov	r0, r4
	bl	inclinenumber
	b	.L2
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	TK_EOS
	.size	read_long_string, .-read_long_string
	.comm	TK_EOS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
