	.file	"extr_lj_parse.c_lj_parse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lj_parse
	.type	lj_parse, @function
lj_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rbp, QWORD PTR 40[rdi]
	mov	esi, DWORD PTR 36[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	mov	rdi, rbp
	call	lj_str_newz@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	DWORD PTR 32[rbx], eax
	mov	edx, eax
	call	setstrV@PLT
	mov	rdi, rbp
	call	incr_top@PLT
	mov	QWORD PTR 24[rbx], 0
	mov	rsi, r12
	mov	rdi, rbx
	call	fs_init@PLT
	lea	rsi, 12[rsp]
	xor	edx, edx
	mov	rdi, r12
	mov	QWORD PTR 56[rsp], 0
	mov	eax, DWORD PTR PROTO_VARARG[rip]
	mov	QWORD PTR 48[rsp], 0
	or	DWORD PTR 24[rsp], eax
	mov	QWORD PTR 40[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	call	fscope_begin@PLT
	mov	esi, DWORD PTR BC_FUNCV[rip]
	xor	ecx, ecx
	xor	edx, edx
	mov	rdi, r12
	call	bcemit_AD@PLT
	mov	rdi, rbx
	call	lj_lex_next@PLT
	mov	rdi, rbx
	call	parse_chunk@PLT
	mov	rsi, QWORD PTR TK_eof[rip]
	cmp	QWORD PTR [rbx], rsi
	je	.L2
	mov	rdi, rbx
	call	err_token@PLT
.L2:
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, rbx
	call	fs_finish@PLT
	sub	DWORD PTR 0[rbp], 1
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 0
	sete	dil
	mov	r12, rax
	call	lua_assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rbx], 0
	sete	dil
	call	lua_assert@PLT
	xor	edi, edi
	cmp	QWORD PTR [r12], 0
	sete	dil
	call	lua_assert@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lj_parse, .-lj_parse
	.comm	TK_eof,8,8
	.comm	PROTO_VARARG,4,4
	.comm	BC_FUNCV,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_lj_parse.c_lj_parse.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lj_parse
	.syntax unified
	.arm
	.fpu softvfp
	.type	lj_parse, %function
lj_parse:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0, #24]
	ldr	r3, .L7
	sub	sp, sp, #32
	mov	r4, r0
	ldr	r1, [r0, #20]
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	lj_str_newz
	mov	r5, #0
	mov	r2, r0
	ldr	r1, [r6]
	str	r0, [r4, #16]
	mov	r0, r6
	bl	setstrV
	mov	r0, r6
	bl	incr_top
	add	r1, sp, #4
	mov	r0, r4
	str	r5, [r4, #12]
	bl	fs_init
	ldr	r2, .L7+4
	ldr	r3, [sp, #8]
	ldr	r1, [r2]
	add	r0, sp, #4
	orr	r3, r3, r1
	mov	r2, r5
	mov	r1, sp
	str	r3, [sp, #8]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	str	r5, [sp, #12]
	bl	fscope_begin
	ldr	r1, .L7+8
	mov	r3, r5
	mov	r2, r5
	ldr	r1, [r1]
	add	r0, sp, #4
	bl	bcemit_AD
	mov	r0, r4
	bl	lj_lex_next
	mov	r0, r4
	bl	parse_chunk
	ldr	r2, .L7+12
	ldr	r3, [r4]
	ldr	r1, [r2]
	cmp	r3, r1
	beq	.L2
	mov	r0, r4
	bl	err_token
.L2:
	ldr	r1, [r4, #8]
	mov	r0, r4
	bl	fs_finish
	mov	r5, r0
	ldr	r0, [sp, #4]
	ldr	r3, [r6]
	clz	r0, r0
	sub	r3, r3, #1
	str	r3, [r6]
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r0, [r4, #4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r0, [r5]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	PROTO_VARARG
	.word	BC_FUNCV
	.word	TK_eof
	.size	lj_parse, .-lj_parse
	.comm	TK_eof,4,4
	.comm	PROTO_VARARG,4,4
	.comm	BC_FUNCV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
