	.file	"extr_lparser.c_leaveblock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	leaveblock, @function
leaveblock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR 32[rbx]
	mov	rsi, QWORD PTR [rbx]
	mov	QWORD PTR 24[rdi], rax
	mov	edi, DWORD PTR 16[rdi]
	call	removevars@PLT
	cmp	QWORD PTR 16[rbx], 0
	jne	.L7
.L2:
	mov	eax, DWORD PTR 24[rbx]
	mov	edi, 1
	test	eax, eax
	je	.L3
	xor	edi, edi
	cmp	QWORD PTR 16[rbx], 0
	sete	dil
.L3:
	call	lua_assert@PLT
	mov	rax, QWORD PTR 0[rbp]
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	sete	dil
	call	lua_assert@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	luaK_patchtohere@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rbx]
	mov	esi, DWORD PTR OP_CLOSE[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdi, rbp
	call	luaK_codeABC@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	leaveblock, .-leaveblock
	.comm	OP_CLOSE,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_lparser.c_leaveblock.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	leaveblock, %function
leaveblock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r5, [r0, #12]
	sub	sp, sp, #12
	ldr	r3, [r5, #16]
	ldr	r0, [r0, #8]
	ldr	r1, [r5]
	str	r3, [r4, #12]
	bl	removevars
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L10
.L2:
	ldr	r3, [r5, #12]
	cmp	r3, #0
	ldrne	r0, [r5, #8]
	moveq	r0, #1
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	lua_assert
	ldr	r3, [r4]
	ldr	r0, [r5]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	mov	r0, r4
	ldr	r3, [r4]
	ldr	r1, [r5, #4]
	str	r3, [r4, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	luaK_patchtohere
.L10:
	mov	r3, #0
	ldr	r1, .L11
	ldr	r2, [r5]
	str	r3, [sp]
	mov	r0, r4
	ldr	r1, [r1]
	bl	luaK_codeABC
	b	.L2
.L12:
	.align	2
.L11:
	.word	OP_CLOSE
	.size	leaveblock, .-leaveblock
	.comm	OP_CLOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
