	.file	"extr_lvm.c_luaV_gettable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"index"
.LC1:
	.string	"loop in gettable"
	.text
	.p2align 4
	.globl	luaV_gettable
	.type	luaV_gettable, @function
luaV_gettable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR MAXTAGLOOP[rip]
	mov	DWORD PTR 12[rsp], ecx
	test	eax, eax
	jle	.L2
	mov	r12, rsi
	mov	r14, rdx
	xor	ebx, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r12
	call	hvalue@PLT
	mov	rsi, r14
	mov	rdi, rax
	mov	r15, rax
	call	luaH_get@PLT
	mov	rdi, rax
	mov	r13, rax
	call	ttisnil@PLT
	test	rax, rax
	je	.L5
	mov	esi, DWORD PTR [r15]
	mov	edx, DWORD PTR TM_INDEX[rip]
	mov	rdi, rbp
	call	fasttm@PLT
	mov	r15, rax
	test	rax, rax
	je	.L5
.L6:
	mov	rdi, r15
	call	ttisfunction@PLT
	test	rax, rax
	jne	.L18
.L7:
	add	ebx, 1
	cmp	DWORD PTR MAXTAGLOOP[rip], ebx
	jle	.L2
	mov	r12, r15
.L8:
	mov	rdi, r12
	call	ttistable@PLT
	test	rax, rax
	jne	.L19
	mov	edx, DWORD PTR TM_INDEX[rip]
	mov	rdi, rbp
	mov	rsi, r12
	call	luaT_gettmbyobj@PLT
	mov	rdi, rax
	mov	r15, rax
	call	ttisnil@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbp
	lea	rdx, .LC0[rip]
	mov	rsi, r12
	call	luaG_typeerror@PLT
	mov	rdi, r15
	call	ttisfunction@PLT
	test	rax, rax
	je	.L7
.L18:
	mov	esi, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	r8, r14
	mov	rcx, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdx, r15
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	callTMres@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	luaG_runerror@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdx, r13
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	setobj2s@PLT
	.cfi_endproc
.LFE0:
	.size	luaV_gettable, .-luaV_gettable
	.comm	TM_INDEX,4,4
	.comm	MAXTAGLOOP,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_lvm.c_luaV_gettable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"index\000"
	.align	2
.LC1:
	.ascii	"loop in gettable\000"
	.text
	.align	2
	.global	luaV_gettable
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaV_gettable, %function
luaV_gettable:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L22
	mov	r8, r0
	ldr	r0, [r9]
	sub	sp, sp, #20
	cmp	r0, #0
	str	r3, [sp, #12]
	ble	.L2
	mov	r5, r1
	mov	fp, r2
	mov	r6, #0
	ldr	r10, .L22+4
	b	.L9
.L21:
	mov	r0, r5
	bl	hvalue
	mov	r1, fp
	mov	r4, r0
	bl	luaH_get
	mov	r7, r0
	bl	ttisnil
	cmp	r0, #0
	beq	.L5
	ldr	r1, [r4]
	mov	r0, r8
	ldr	r2, [r10]
	bl	fasttm
	subs	r4, r0, #0
	beq	.L5
.L6:
	mov	r0, r4
	bl	ttisfunction
	cmp	r0, #0
	bne	.L20
.L7:
	ldr	r3, [r9]
	cmp	r3, r6
	ble	.L2
	mov	r5, r4
.L9:
	mov	r0, r5
	bl	ttistable
	cmp	r0, #0
	add	r6, r6, #1
	bne	.L21
	mov	r1, r5
	ldr	r2, [r10]
	mov	r0, r8
	bl	luaT_gettmbyobj
	mov	r4, r0
	bl	ttisnil
	cmp	r0, #0
	beq	.L6
	mov	r1, r5
	ldr	r2, .L22+8
	mov	r0, r8
	bl	luaG_typeerror
	mov	r0, r4
	bl	ttisfunction
	cmp	r0, #0
	beq	.L7
.L20:
	mov	r3, r5
	mov	r2, r4
	mov	r0, r8
	ldr	r1, [sp, #12]
	str	fp, [sp]
	bl	callTMres
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r8
	ldr	r1, .L22+12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	luaG_runerror
.L5:
	mov	r2, r7
	mov	r0, r8
	ldr	r1, [sp, #12]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	setobj2s
.L23:
	.align	2
.L22:
	.word	MAXTAGLOOP
	.word	TM_INDEX
	.word	.LC0
	.word	.LC1
	.size	luaV_gettable, .-luaV_gettable
	.comm	TM_INDEX,4,4
	.comm	MAXTAGLOOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
