	.file	"extr_ltable.c_luaH_next.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaH_next
	.type	luaH_next, @function
luaH_next:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	call	findindex@PLT
	lea	ebp, 1[rax]
	mov	eax, DWORD PTR [r12]
	cmp	eax, ebp
	jle	.L2
	movsx	r14, ebp
	sal	r14, 2
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR [r12]
	add	r14, 4
	cmp	eax, ebp
	jle	.L2
.L5:
	mov	rdi, QWORD PTR 8[r12]
	add	ebp, 1
	add	rdi, r14
	call	ttisnil@PLT
	test	eax, eax
	jne	.L3
	mov	edi, ebp
	call	cast_num@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	setnvalue@PLT
	mov	rdx, QWORD PTR 8[r12]
	lea	rsi, 1[rbx]
	mov	rdi, r13
	add	rdx, r14
	call	setobj2s@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	sub	ebp, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, ebp
	mov	rdi, r12
	call	gnode@PLT
	mov	edi, eax
	call	gval@PLT
	mov	rdi, rax
	call	ttisnil@PLT
	test	eax, eax
	je	.L12
	add	ebp, 1
.L6:
	mov	rdi, r12
	call	sizenode@PLT
	cmp	eax, ebp
	jg	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, ebp
	mov	rdi, r12
	call	gnode@PLT
	mov	edi, eax
	call	gkey@PLT
	mov	rsi, rbx
	mov	rdi, r13
	mov	rdx, rax
	call	setobj2s@PLT
	mov	esi, ebp
	mov	rdi, r12
	call	gnode@PLT
	mov	edi, eax
	call	gval@PLT
	lea	rsi, 1[rbx]
	mov	rdi, r13
	mov	rdx, rax
	call	setobj2s@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	luaH_next, .-luaH_next
	.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_ltable.c_luaH_next.c"
	.text
	.align	2
	.global	luaH_next
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaH_next, %function
luaH_next:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	mov	r6, r2
	bl	findindex
	ldr	r3, [r5]
	add	r4, r0, #1
	cmp	r3, r4
	bgt	.L5
	b	.L2
.L3:
	ldr	r3, [r5]
	cmp	r3, r4
	ble	.L2
.L5:
	ldr	r0, [r5, #4]
	lsl	r8, r4, #2
	add	r0, r0, r4, lsl #2
	bl	ttisnil
	cmp	r0, #0
	add	r4, r4, #1
	bne	.L3
	mov	r0, r4
	bl	cast_num
	mov	r1, r0
	mov	r0, r6
	bl	setnvalue
	ldr	r2, [r5, #4]
	mov	r0, r7
	add	r1, r6, #1
	add	r2, r2, r8
	bl	setobj2s
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	sub	r4, r4, r3
	b	.L6
.L8:
	mov	r1, r4
	mov	r0, r5
	bl	gnode
	bl	gval
	bl	ttisnil
	cmp	r0, #0
	beq	.L12
	add	r4, r4, #1
.L6:
	mov	r0, r5
	bl	sizenode
	cmp	r0, r4
	bgt	.L8
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r1, r4
	mov	r0, r5
	bl	gnode
	bl	gkey
	mov	r1, r6
	mov	r2, r0
	mov	r0, r7
	bl	setobj2s
	mov	r1, r4
	mov	r0, r5
	bl	gnode
	bl	gval
	add	r1, r6, #1
	mov	r2, r0
	mov	r0, r7
	bl	setobj2s
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
	.size	luaH_next, .-luaH_next
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
