	.file	"extr_lparser.c_lastlistfield.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lastlistfield, @function
lastlistfield:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rsi], 0
	jne	.L10
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	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
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 24[rsi]
	call	hasmultret@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR VVOID[rip]
	cmp	QWORD PTR 24[rbx], rax
	jne	.L12
.L4:
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	rcx, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	luaK_setlist@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rsi, 24[rbx]
	mov	rdi, rbp
	call	luaK_exp2nextreg@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, 24[rbx]
	mov	rdi, rbp
	call	luaK_setmultret@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	rcx, QWORD PTR LUA_MULTRET[rip]
	mov	esi, DWORD PTR [rax]
	call	luaK_setlist@PLT
	sub	DWORD PTR 8[rbx], 1
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lastlistfield, .-lastlistfield
	.comm	VVOID,8,8
	.comm	LUA_MULTRET,8,8
	.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_lastlistfield.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lastlistfield, %function
lastlistfield:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	cmp	r3, #0
	bxeq	lr
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r1, #12]
	mov	r4, r1
	bl	hasmultret
	cmp	r0, #0
	bne	.L13
	ldr	r3, .L15
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L14
.L4:
	ldr	r3, [r4, #8]
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	luaK_setlist
.L14:
	mov	r0, r5
	add	r1, r4, #12
	bl	luaK_exp2nextreg
	b	.L4
.L13:
	add	r1, r4, #12
	mov	r0, r5
	bl	luaK_setmultret
	ldr	r2, [r4, #8]
	ldr	r3, .L15+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r0, r5
	ldr	r2, [r4, #4]
	bl	luaK_setlist
	ldr	r3, [r4, #4]
	sub	r3, r3, #1
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	VVOID
	.word	LUA_MULTRET
	.size	lastlistfield, .-lastlistfield
	.comm	VVOID,4,4
	.comm	LUA_MULTRET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
