	.file	"extr_lcode.c_luaK_setlist.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaK_setlist
	.type	luaK_setlist, @function
luaK_setlist:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	eax, -1[rdx]
	mov	r13d, 0
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	cdq
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	idiv	DWORD PTR LFIELDS_PER_FLUSH[rip]
	cmp	DWORD PTR LUA_MULTRET[rip], ecx
	cmovne	r13d, ecx
	xor	edi, edi
	test	ecx, ecx
	setne	dil
	lea	ebp, 1[rax]
	call	lua_assert@PLT
	cmp	DWORD PTR MAXARG_C[rip], ebp
	jl	.L3
	mov	esi, DWORD PTR OP_SETLIST[rip]
	mov	r8d, ebp
	mov	ecx, r13d
	mov	edx, ebx
	mov	rdi, r12
	call	luaK_codeABC@PLT
.L4:
	add	ebx, 1
	mov	DWORD PTR [r12], ebx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR OP_SETLIST[rip]
	mov	ecx, r13d
	mov	edx, ebx
	xor	r8d, r8d
	mov	rdi, r12
	call	luaK_codeABC@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR Instruction[rip]
	mov	esi, ebp
	mov	r13d, DWORD PTR [rax]
	call	cast@PLT
	mov	rdi, r12
	mov	esi, eax
	mov	edx, r13d
	call	luaK_code@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	luaK_setlist, .-luaK_setlist
	.comm	OP_SETLIST,4,4
	.comm	MAXARG_C,4,4
	.comm	LUA_MULTRET,4,4
	.comm	LFIELDS_PER_FLUSH,4,4
	.comm	Instruction,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_setlist.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	luaK_setlist
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaK_setlist, %function
luaK_setlist:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r1
	ldr	r1, .L8
	sub	sp, sp, #12
	ldr	r1, [r1]
	mov	r6, r0
	sub	r0, r2, #1
	mov	r4, r3
	bl	__aeabi_idiv
	mov	r7, r0
	ldr	r3, .L8+4
	subs	r0, r4, #0
	ldr	r3, [r3]
	movne	r0, #1
	cmp	r3, r4
	moveq	r4, #0
	bl	lua_assert
	ldr	r3, .L8+8
	add	r7, r7, #1
	ldr	r3, [r3]
	cmp	r3, r7
	blt	.L3
	ldr	r2, .L8+12
	str	r7, [sp]
	ldr	r1, [r2]
	mov	r3, r4
	mov	r2, r5
	mov	r0, r6
	bl	luaK_codeABC
	add	r5, r5, #1
	str	r5, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	mov	r1, #0
	ldr	r2, .L8+12
	str	r1, [sp]
	mov	r3, r4
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r5
	bl	luaK_codeABC
	ldr	r3, .L8+16
	mov	r1, r7
	ldr	r0, [r3]
	bl	cast
	ldr	r3, [r6, #4]
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r6
	bl	luaK_code
	add	r5, r5, #1
	str	r5, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	.align	2
.L8:
	.word	LFIELDS_PER_FLUSH
	.word	LUA_MULTRET
	.word	MAXARG_C
	.word	OP_SETLIST
	.word	Instruction
	.size	luaK_setlist, .-luaK_setlist
	.comm	OP_SETLIST,4,4
	.comm	MAXARG_C,4,4
	.comm	LUA_MULTRET,4,4
	.comm	LFIELDS_PER_FLUSH,4,4
	.comm	Instruction,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
