	.file	"extr_lgc.c_traverseephemeron.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	traverseephemeron, @function
traverseephemeron:
.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, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	rdi, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	gnodelast@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	r12, rax
	test	edx, edx
	jle	.L15
	xor	r13d, r13d
	xor	r14d, r14d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	r13, 1
	cmp	DWORD PTR 0[rbp], r13d
	jle	.L2
.L4:
	mov	rdi, QWORD PTR 8[rbp]
	lea	r15, 0[0+r13*4]
	add	rdi, r15
	call	valiswhite@PLT
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR 8[rbp]
	mov	r14d, 1
	add	r13, 1
	add	rdi, r15
	call	gcvalue@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	reallymarkobject@PLT
	cmp	DWORD PTR 0[rbp], r13d
	jg	.L4
.L2:
	xor	esi, esi
	mov	rdi, rbp
	call	gnode@PLT
	mov	r15, rax
	cmp	r12, rax
	jbe	.L5
	mov	DWORD PTR 12[rsp], 0
	xor	r13d, r13d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L31:
	call	removeentry@PLT
.L7:
	add	r15, 4
	cmp	r12, r15
	jbe	.L30
.L9:
	mov	rdi, r15
	call	checkdeadkey@PLT
	mov	rdi, r15
	call	gval@PLT
	mov	rdi, rax
	call	ttisnil@PLT
	mov	rdi, r15
	test	rax, rax
	jne	.L31
	call	gkey@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	iscleared@PLT
	mov	rdi, r15
	test	rax, rax
	je	.L8
	call	gval@PLT
	mov	rdi, rax
	call	valiswhite@PLT
	mov	DWORD PTR 12[rsp], 1
	test	rax, rax
	mov	eax, 1
	cmovne	r13d, eax
	add	r15, 4
	cmp	r12, r15
	ja	.L9
.L30:
	mov	rax, QWORD PTR GCSatomic[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L14
	and	r13d, 1
	je	.L10
.L14:
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	call	linktable@PLT
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L8:
	.cfi_restore_state
	call	gval@PLT
	mov	rdi, rax
	call	valiswhite@PLT
	test	rax, rax
	je	.L7
	mov	rdi, r15
	mov	r14d, 1
	call	gval@PLT
	mov	rdi, rax
	call	gcvalue@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	reallymarkobject@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	je	.L13
	lea	rsi, 12[rbx]
	mov	rdi, rbp
	call	linktable@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR GCSatomic[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L14
.L13:
	lea	rsi, 8[rbx]
	mov	rdi, rbp
	call	linktable@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	xor	r14d, r14d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	traverseephemeron, .-traverseephemeron
	.comm	GCSatomic,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_traverseephemeron.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverseephemeron, %function
traverseephemeron:
	@ 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
	mov	r6, r0
	mov	r0, r1
	bl	gnodelast
	ldr	r3, [r5]
	mov	r7, r0
	cmp	r3, #0
	ble	.L14
	mov	r4, #0
	mov	r8, r4
	b	.L4
.L3:
	ldr	r3, [r5]
	cmp	r3, r4
	ble	.L2
.L4:
	ldr	r0, [r5, #4]
	lsl	r9, r4, #2
	add	r0, r0, r4, lsl #2
	bl	valiswhite
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L3
	ldr	r0, [r5, #4]
	mov	r8, #1
	add	r0, r0, r9
	bl	gcvalue
	mov	r1, r0
	mov	r0, r6
	bl	reallymarkobject
	ldr	r3, [r5]
	cmp	r3, r4
	bgt	.L4
.L2:
	mov	r1, #0
	mov	r0, r5
	bl	gnode
	cmp	r7, r0
	mov	r4, r0
	bls	.L5
	mov	r9, #0
	mov	r10, r9
	b	.L9
.L30:
	bl	removeentry
.L7:
	add	r4, r4, #4
	cmp	r7, r4
	bls	.L29
.L9:
	mov	r0, r4
	bl	checkdeadkey
	mov	r0, r4
	bl	gval
	bl	ttisnil
	cmp	r0, #0
	mov	r0, r4
	bne	.L30
	bl	gkey
	mov	r1, r0
	mov	r0, r6
	bl	iscleared
	cmp	r0, #0
	mov	r0, r4
	beq	.L8
	bl	gval
	bl	valiswhite
	cmp	r0, #0
	movne	r9, #1
	movne	r10, r9
	bne	.L7
	add	r4, r4, #4
	cmp	r7, r4
	mov	r10, #1
	bhi	.L9
.L29:
	ldr	r3, .L31
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	orrne	r9, r9, #1
	cmp	r9, #0
	beq	.L10
.L13:
	mov	r0, r5
	add	r1, r6, #12
	bl	linktable
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	bl	gval
	bl	valiswhite
	cmp	r0, #0
	beq	.L7
	mov	r0, r4
	bl	gval
	bl	gcvalue
	mov	r1, r0
	mov	r0, r6
	bl	reallymarkobject
	mov	r8, #1
	b	.L7
.L10:
	cmp	r10, #0
	beq	.L12
	mov	r0, r5
	add	r1, r6, #8
	bl	linktable
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, .L31
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
.L12:
	mov	r0, r5
	add	r1, r6, #4
	bl	linktable
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	mov	r8, #0
	b	.L2
.L32:
	.align	2
.L31:
	.word	GCSatomic
	.size	traverseephemeron, .-traverseephemeron
	.comm	GCSatomic,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
