	.file	"extr_lgc.c_traverseweakvalue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	traverseweakvalue, @function
traverseweakvalue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	gnodelast@PLT
	cmp	QWORD PTR [r14], 0
	mov	rdi, r14
	setg	r13b
	xor	esi, esi
	mov	rbp, rax
	call	gnode@PLT
	cmp	rbp, rax
	jbe	.L2
	mov	rbx, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	call	removeentry@PLT
.L4:
	add	rbx, 4
	cmp	rbp, rbx
	jbe	.L2
.L5:
	mov	rdi, rbx
	call	checkdeadkey@PLT
	mov	rdi, rbx
	call	gval@PLT
	mov	edi, eax
	call	ttisnil@PLT
	mov	rdi, rbx
	test	rax, rax
	jne	.L12
	call	gkey@PLT
	mov	edi, eax
	call	ttisnil@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	lua_assert@PLT
	mov	rdi, rbx
	call	gkey@PLT
	mov	rdi, r12
	mov	esi, eax
	call	markvalue@PLT
	test	r13d, r13d
	jne	.L4
	mov	rdi, rbx
	xor	r13d, r13d
	call	gval@PLT
	mov	rdi, r12
	mov	esi, eax
	call	iscleared@PLT
	test	rax, rax
	setne	r13b
	add	rbx, 4
	cmp	rbp, rbx
	ja	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR GCSpropagate[rip]
	cmp	QWORD PTR [r12], rax
	je	.L13
	test	r13d, r13d
	jne	.L14
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	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	linkgclist@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR 12[r12]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	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	linkgclist@PLT
	.cfi_endproc
.LFE0:
	.size	traverseweakvalue, .-traverseweakvalue
	.comm	GCSpropagate,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_lgc.c_traverseweakvalue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverseweakvalue, %function
traverseweakvalue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r7, r0
	mov	r0, r1
	bl	gnodelast
	mov	r1, #0
	ldr	r6, [r8]
	mov	r5, r0
	cmp	r6, r1
	mov	r0, r8
	movle	r6, #0
	movgt	r6, #1
	bl	gnode
	cmp	r5, r0
	bls	.L2
	mov	r4, r0
	b	.L5
.L11:
	bl	removeentry
.L4:
	add	r4, r4, #4
	cmp	r5, r4
	bls	.L2
.L5:
	mov	r0, r4
	bl	checkdeadkey
	mov	r0, r4
	bl	gval
	bl	ttisnil
	cmp	r0, #0
	mov	r0, r4
	bne	.L11
	bl	gkey
	bl	ttisnil
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	mov	r0, r4
	bl	gkey
	mov	r1, r0
	mov	r0, r7
	bl	markvalue
	cmp	r6, #0
	bne	.L4
	mov	r0, r4
	bl	gval
	mov	r1, r0
	mov	r0, r7
	bl	iscleared
	add	r4, r4, #4
	subs	r6, r0, #0
	movne	r6, #1
	cmp	r5, r4
	bhi	.L5
.L2:
	ldr	r3, .L13
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
	cmp	r6, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r8
	ldr	r1, [r7, #4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	linkgclist
.L12:
	mov	r0, r8
	ldr	r1, [r7, #8]
	pop	{r4, r5, r6, r7, r8, lr}
	b	linkgclist
.L14:
	.align	2
.L13:
	.word	GCSpropagate
	.size	traverseweakvalue, .-traverseweakvalue
	.comm	GCSpropagate,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
