	.file	"extr_minilua.c_collectvalidlines.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	collectvalidlines, @function
collectvalidlines:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rsi, rsi
	je	.L2
	cmp	QWORD PTR 8[rsi], 0
	mov	r12, rsi
	je	.L3
.L2:
	mov	edi, DWORD PTR 0[rbp]
	call	setnilvalue@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	incr_top@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	edx, edx
	xor	esi, esi
	call	luaH_new@PLT
	mov	r13, rax
	mov	rax, QWORD PTR [r12]
	mov	r14, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jle	.L5
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR [r14+rbx*4]
	mov	rsi, r13
	mov	rdi, rbp
	add	rbx, 1
	call	luaH_setnum@PLT
	mov	esi, 1
	mov	edi, eax
	call	setbvalue@PLT
	mov	rax, QWORD PTR [r12]
	cmp	DWORD PTR 8[rax], ebx
	jg	.L6
.L5:
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	rdx, r13
	call	sethvalue@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	incr_top@PLT
	.cfi_endproc
.LFE0:
	.size	collectvalidlines, .-collectvalidlines
	.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_collectvalidlines.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	collectvalidlines, %function
collectvalidlines:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r1, #0
	mov	r5, r0
	beq	.L2
	ldr	r4, [r7, #4]
	cmp	r4, #0
	beq	.L3
.L2:
	ldr	r0, [r5]
	bl	setnilvalue
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	incr_top
.L3:
	mov	r2, r4
	mov	r1, r4
	bl	luaH_new
	ldr	r3, [r7]
	mov	r8, r0
	ldr	r2, [r3, #4]
	ldr	r6, [r3]
	cmp	r2, #0
	ble	.L5
	sub	r6, r6, #4
.L6:
	mov	r1, r8
	ldr	r2, [r6, #4]!
	mov	r0, r5
	bl	luaH_setnum
	mov	r1, #1
	bl	setbvalue
	ldr	r3, [r7]
	add	r4, r4, #1
	ldr	r3, [r3, #4]
	cmp	r3, r4
	bgt	.L6
.L5:
	mov	r2, r8
	mov	r0, r5
	ldr	r1, [r5]
	bl	sethvalue
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	incr_top
	.size	collectvalidlines, .-collectvalidlines
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
