	.file	"extr_lcode.c_luaK_dischargevars.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaK_dischargevars
	.type	luaK_dischargevars, @function
luaK_dischargevars:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	add	eax, -128
	cmp	eax, 4
	ja	.L11
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdx, .L4[rip]
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L3-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	luaK_setoneret@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rcx, QWORD PTR 32[rsi]
	mov	esi, DWORD PTR OP_GETUPVAL[rip]
	xor	r8d, r8d
	xor	edx, edx
.L14:
	mov	rdi, r12
	call	luaK_codeABC@PLT
	mov	QWORD PTR 32[rbp], rax
	mov	rax, QWORD PTR VRELOCABLE[rip]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR VNONRELOC[rip]
	mov	DWORD PTR [rsi], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rsi]
	call	freereg@PLT
	mov	eax, DWORD PTR 8[rbp]
	cmp	eax, 130
	je	.L16
	xor	edi, edi
	cmp	eax, 129
	sete	dil
	call	lua_assert@PLT
	mov	esi, DWORD PTR OP_GETTABUP[rip]
.L9:
	mov	rcx, QWORD PTR 24[rbp]
	mov	r8, QWORD PTR 16[rbp]
	xor	edx, edx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, QWORD PTR 24[rbp]
	mov	rdi, r12
	call	freereg@PLT
	mov	esi, DWORD PTR OP_GETTABLE[rip]
	jmp	.L9
.L11:
	.cfi_def_cfa_offset 8
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	luaK_dischargevars, .-luaK_dischargevars
	.comm	VRELOCABLE,8,8
	.comm	VNONRELOC,4,4
	.comm	OP_GETUPVAL,4,4
	.comm	OP_GETTABUP,4,4
	.comm	OP_GETTABLE,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_lcode.c_luaK_dischargevars.c"
	.text
	.align	2
	.global	luaK_dischargevars
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaK_dischargevars, %function
luaK_dischargevars:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r1]
	mov	r4, r1
	sub	r3, r3, #128
	mov	r5, r0
	sub	sp, sp, #12
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L3
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	mov	r2, #0
	ldr	r3, .L14
	str	r2, [sp]
	ldr	r1, [r3]
	ldr	r3, [r4, #16]
.L11:
	bl	luaK_codeABC
	ldr	r3, .L14+4
	str	r0, [r4, #16]
	ldr	r3, [r3]
	str	r3, [r4]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	luaK_setoneret
.L6:
	ldr	r3, .L14+8
	ldr	r3, [r3]
	str	r3, [r1]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	ldr	r1, [r1, #8]
	bl	freereg
	ldr	r0, [r4, #4]
	cmp	r0, #130
	beq	.L13
	sub	r0, r0, #129
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r3, .L14+12
	ldr	r1, [r3]
.L9:
	ldr	r3, [r4, #8]
	mov	r0, r5
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, [r4, #12]
	b	.L11
.L13:
	ldr	r1, [r4, #12]
	mov	r0, r5
	bl	freereg
	ldr	r3, .L14+16
	ldr	r1, [r3]
	b	.L9
.L15:
	.align	2
.L14:
	.word	OP_GETUPVAL
	.word	VRELOCABLE
	.word	VNONRELOC
	.word	OP_GETTABUP
	.word	OP_GETTABLE
	.size	luaK_dischargevars, .-luaK_dischargevars
	.comm	VRELOCABLE,4,4
	.comm	VNONRELOC,4,4
	.comm	OP_GETUPVAL,4,4
	.comm	OP_GETTABUP,4,4
	.comm	OP_GETTABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
