	.file	"extr_minilua.c_traversetable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	traversetable, @function
traversetable:
.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
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rsi, QWORD PTR 24[rsi]
	test	rsi, rsi
	jne	.L34
.L2:
	mov	edx, DWORD PTR TM_MODE[rip]
	mov	rdi, rbp
	call	gfasttm@PLT
	mov	r13, rax
	test	rax, rax
	je	.L15
	mov	rdi, r13
	call	ttisstring@PLT
	test	rax, rax
	jne	.L3
.L15:
	xor	r12d, r12d
.L4:
	movsx	r15, DWORD PTR 4[rbx]
	lea	eax, -1[r15]
	test	r15d, r15d
	je	.L18
	movsx	r13, eax
	mov	eax, eax
	sub	r15, rax
	sal	r13, 2
	lea	r14, -8[0+r15*4]
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, QWORD PTR 8[rbx]
	mov	rdi, rbp
	add	rsi, r13
	sub	r13, 4
	call	markvalue@PLT
	cmp	r14, r13
	jne	.L8
	mov	DWORD PTR [rsp], r12d
	xor	r15d, r15d
.L7:
	mov	rdi, rbx
	call	sizenode@PLT
	lea	r14d, -1[rax]
	test	eax, eax
	jne	.L9
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	test	r12d, r12d
	je	.L35
.L12:
	test	r15d, r15d
	je	.L36
.L11:
	sub	r14d, 1
	cmp	r14d, -1
	je	.L1
.L9:
	mov	esi, r14d
	mov	rdi, rbx
	call	gnode@PLT
	mov	rdi, rax
	mov	r13, rax
	call	gval@PLT
	mov	rdi, rax
	call	ttisnil@PLT
	test	rax, rax
	je	.L10
	mov	rdi, r13
	sub	r14d, 1
	call	removeentry@PLT
	cmp	r14d, -1
	jne	.L9
.L1:
	mov	eax, DWORD PTR [rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	mov	rdi, r13
	call	gval@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	markvalue@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, r13
	call	gkey@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	markvalue@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	call	markobject@PLT
	mov	rsi, QWORD PTR 24[rbx]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	call	svalue@PLT
	mov	esi, 107
	mov	edi, eax
	call	strchr@PLT
	mov	rdi, r13
	test	rax, rax
	mov	QWORD PTR [rsp], rax
	setne	r12b
	setne	BYTE PTR 14[rsp]
	call	svalue@PLT
	mov	esi, 118
	movzx	r12d, r12b
	mov	edi, eax
	call	strchr@PLT
	mov	rcx, QWORD PTR [rsp]
	test	rax, rax
	mov	r15, rax
	setne	r14b
	setne	BYTE PTR 15[rsp]
	or	rcx, rax
	movzx	r14d, r14b
	je	.L4
	mov	edi, 3
	sal	r14d, 4
	call	bitmask@PLT
	mov	edi, 4
	mov	r13d, eax
	call	bitmask@PLT
	lea	edi, 0[0+r12*8]
	or	r13d, eax
	or	edi, r14d
	not	r13d
	and	DWORD PTR [rbx], r13d
	call	cast_byte@PLT
	or	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 0[rbp]
	mov	rdi, rbx
	mov	DWORD PTR 16[rbx], eax
	call	obj2gco@PLT
	cmp	BYTE PTR 14[rsp], 0
	mov	DWORD PTR 0[rbp], eax
	je	.L19
	cmp	BYTE PTR 15[rsp], 0
	mov	DWORD PTR [rsp], 1
	jne	.L1
.L19:
	test	r15, r15
	je	.L4
	mov	DWORD PTR [rsp], 1
	mov	r15d, 1
	jmp	.L7
.L18:
	mov	DWORD PTR [rsp], r12d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	traversetable, .-traversetable
	.comm	TM_MODE,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_minilua.c_traversetable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traversetable, %function
traversetable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	ldr	r1, [r1, #16]
	mov	r6, r0
	cmp	r1, #0
	bne	.L29
.L2:
	ldr	r3, .L32
	mov	r0, r6
	ldr	r2, [r3]
	bl	gfasttm
	subs	r4, r0, #0
	beq	.L14
	bl	ttisstring
	cmp	r0, #0
	bne	.L3
.L14:
	mov	r7, #0
.L4:
	ldr	r8, [r5, #4]
	cmp	r8, #0
	sub	r4, r8, #1
	beq	.L17
.L7:
	ldr	r1, [r5, #8]
	mov	r0, r6
	add	r1, r1, r4, lsl #2
	sub	r4, r4, #1
	bl	markvalue
	cmn	r4, #1
	bne	.L7
	mov	r9, r7
	mov	r8, #0
.L6:
	mov	r0, r5
	bl	sizenode
	cmp	r0, #0
	sub	r4, r0, #1
	bne	.L8
	b	.L1
.L9:
	cmp	r7, #0
	beq	.L30
.L11:
	cmp	r8, #0
	beq	.L31
.L10:
	subs	r4, r4, #1
	bcc	.L1
.L8:
	mov	r1, r4
	mov	r0, r5
	bl	gnode
	mov	r10, r0
	bl	gval
	bl	ttisnil
	cmp	r0, #0
	beq	.L9
	mov	r0, r10
	bl	removeentry
	subs	r4, r4, #1
	bcs	.L8
.L1:
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L31:
	mov	r0, r10
	bl	gval
	mov	r1, r0
	mov	r0, r6
	bl	markvalue
	b	.L10
.L30:
	mov	r0, r10
	bl	gkey
	mov	r1, r0
	mov	r0, r6
	bl	markvalue
	b	.L11
.L29:
	bl	markobject
	ldr	r1, [r5, #16]
	b	.L2
.L3:
	mov	r0, r4
	bl	svalue
	mov	r1, #107
	bl	strchr
	mov	r3, r0
	mov	r0, r4
	subs	r7, r3, #0
	mov	r4, r3
	movne	r7, #1
	bl	svalue
	mov	r1, #118
	bl	strchr
	subs	r9, r0, #0
	movne	r9, #1
	orrs	r3, r4, r0
	mov	r8, r0
	beq	.L4
	mov	r0, #3
	bl	bitmask
	mov	r4, r0
	mov	r0, #4
	bl	bitmask
	ldr	r3, [r5]
	orr	r4, r4, r0
	bic	r4, r3, r4
	lsl	r0, r9, #4
	str	r4, [r5]
	orr	r0, r0, r7, lsl #3
	bl	cast_byte
	ldr	r3, [r5]
	ldr	r2, [r6]
	orr	r3, r3, r0
	str	r3, [r5]
	mov	r0, r5
	str	r2, [r5, #12]
	bl	obj2gco
	tst	r7, r9
	movne	r9, #1
	str	r0, [r6]
	bne	.L1
	cmp	r8, #0
	movne	r9, #1
	movne	r8, r9
	bne	.L6
	b	.L4
.L17:
	mov	r9, r7
	b	.L6
.L33:
	.align	2
.L32:
	.word	TM_MODE
	.size	traversetable, .-traversetable
	.comm	TM_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
