	.file	"extr_ltable.c_luaH_getn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaH_getn
	.type	luaH_getn, @function
luaH_getn:
.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
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR [rdi]
	test	r12d, r12d
	je	.L2
	mov	rdx, QWORD PTR 8[rdi]
	lea	eax, -1[r12]
	lea	rdi, [rdx+rax*4]
	call	ttisnil@PLT
	test	rax, rax
	jne	.L17
.L2:
	mov	rdi, rbp
	call	isdummy@PLT
	test	rax, rax
	je	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L18:
	.cfi_restore_state
	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	unbound_search@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	r12d, 1
	jbe	.L6
	mov	r13d, r12d
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L5:
	lea	ebx, 0[r13+r12]
	mov	rax, QWORD PTR 8[rbp]
	shr	ebx
	lea	edx, -1[rbx]
	lea	rdi, [rax+rdx*4]
	call	ttisnil@PLT
	test	rax, rax
	cmovne	r13d, ebx
	cmove	r12d, ebx
	mov	eax, r13d
	sub	eax, r12d
	cmp	eax, 1
	ja	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	luaH_getn, .-luaH_getn
	.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_getn.c"
	.text
	.align	2
	.global	luaH_getn
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaH_getn, %function
luaH_getn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	mov	r6, r0
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r0, #4]
	sub	r0, r4, #-1073741823
	add	r0, r3, r0, lsl #2
	bl	ttisnil
	cmp	r0, #0
	bne	.L17
.L2:
	mov	r0, r6
	bl	isdummy
	cmp	r0, #0
	beq	.L18
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r1, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	unbound_search
.L17:
	cmp	r4, #1
	bls	.L6
	mov	r7, r4
	mov	r4, #0
.L5:
	add	r5, r7, r4
	ldr	r3, [r6, #4]
	lsr	r5, r5, #1
	sub	r0, r5, #-1073741823
	add	r0, r3, r0, lsl #2
	bl	ttisnil
	cmp	r0, #0
	moveq	r4, r5
	movne	r7, r5
	sub	r3, r7, r4
	cmp	r3, #1
	bhi	.L5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, #0
	b	.L1
	.size	luaH_getn, .-luaH_getn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
