	.file	"extr_ltablib.c_checktab.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"__index"
.LC1:
	.string	"__newindex"
.LC2:
	.string	"__len"
	.text
	.p2align 4
	.type	checktab, @function
checktab:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	lua_type@PLT
	cmp	rax, QWORD PTR LUA_TTABLE[rip]
	jne	.L29
	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
.L29:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbp
	call	lua_getmetatable@PLT
	test	rax, rax
	je	.L3
	mov	r13d, 1
	test	DWORD PTR TAB_R[rip], ebx
	jne	.L30
.L4:
	test	DWORD PTR TAB_W[rip], ebx
	jne	.L31
.L5:
	test	DWORD PTR TAB_L[rip], ebx
	jne	.L32
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r13d
	mov	rdi, rbp
	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
	jmp	lua_pop@PLT
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	add	r13d, 1
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	edx, r13d
	call	checkfield@PLT
	test	rax, rax
	jne	.L5
.L3:
	mov	rdx, QWORD PTR LUA_TTABLE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r12d
	mov	rdi, rbp
	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
	jmp	luaL_checktype@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	add	r13d, 1
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	edx, r13d
	call	checkfield@PLT
	test	rax, rax
	je	.L3
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edx, 2
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	checkfield@PLT
	test	rax, rax
	je	.L3
	mov	r13d, 2
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	checktab, .-checktab
	.comm	TAB_W,4,4
	.comm	TAB_R,4,4
	.comm	TAB_L,4,4
	.comm	LUA_TTABLE,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_ltablib.c_checktab.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"__index\000"
	.align	2
.LC1:
	.ascii	"__newindex\000"
	.align	2
.LC2:
	.ascii	"__len\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	checktab, %function
checktab:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r4, r0
	mov	r6, r1
	bl	lua_type
	ldr	r5, .L31
	ldr	r3, [r5]
	cmp	r0, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r6
	mov	r0, r4
	bl	lua_getmetatable
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L31+4
	ldr	r3, [r3]
	tst	r7, r3
	moveq	r8, #1
	bne	.L28
.L4:
	ldr	r3, .L31+8
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L29
.L5:
	ldr	r3, .L31+12
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L30
.L6:
	mov	r1, r8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	lua_pop
.L30:
	add	r8, r8, #1
	mov	r2, r8
	mov	r0, r4
	ldr	r1, .L31+16
	bl	checkfield
	cmp	r0, #0
	bne	.L6
.L3:
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	luaL_checktype
.L29:
	add	r8, r8, #1
	mov	r2, r8
	mov	r0, r4
	ldr	r1, .L31+20
	bl	checkfield
	cmp	r0, #0
	beq	.L3
	b	.L5
.L28:
	mov	r2, #2
	mov	r0, r4
	ldr	r1, .L31+24
	bl	checkfield
	cmp	r0, #0
	movne	r8, #2
	bne	.L4
	b	.L3
.L32:
	.align	2
.L31:
	.word	LUA_TTABLE
	.word	TAB_R
	.word	TAB_W
	.word	TAB_L
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	checktab, .-checktab
	.comm	TAB_W,4,4
	.comm	TAB_R,4,4
	.comm	TAB_L,4,4
	.comm	LUA_TTABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
