	.file	"extr_lgc.c_singlestep.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	singlestep, @function
singlestep:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	G@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	add	eax, -128
	cmp	eax, 7
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR 12[rbp]
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR KGC_EMERGENCY[rip]
	cmp	DWORD PTR 8[rbp], eax
	jne	.L18
.L14:
	mov	DWORD PTR 0[rbp], 133
	xor	r13d, r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	propagateall@PLT
	mov	rdi, r12
	call	atomic@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	entersweep@PLT
	mov	rdi, rbp
	call	gettotalbytes@PLT
	mov	DWORD PTR 24[rbp], eax
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rbp
	xor	r13d, r13d
	call	makewhite@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	checkSizes@PLT
	mov	DWORD PTR 0[rbp], 134
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	lea	rcx, 20[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, 129
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sweepstep@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	DWORD PTR 4[rbp], 0
	mov	rdi, QWORD PTR 32[rbp]
	call	lua_assert@PLT
	mov	rdi, rbp
	call	propagatemark@PLT
	cmp	QWORD PTR 32[rbp], 0
	je	.L19
.L13:
	mov	r13d, DWORD PTR 4[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR 40[rbp]
	mov	rdi, rbp
	sal	eax, 3
	mov	DWORD PTR 4[rbp], eax
	call	restartcollection@PLT
	mov	r13d, DWORD PTR 4[rbp]
	mov	DWORD PTR 0[rbp], 132
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	ecx, ecx
	pop	r12
	.cfi_def_cfa_offset 16
	mov	edx, 130
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sweepstep@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rcx, 12[rbp]
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, 128
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	sweepstep@PLT
.L2:
	.cfi_restore_state
	xor	r13d, r13d
	xor	edi, edi
	call	lua_assert@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
	mov	rdi, r12
	call	runafewfinalizers@PLT
	imul	eax, DWORD PTR GCFINALIZECOST[rip]
	mov	r13d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	DWORD PTR 0[rbp], 135
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	singlestep, .-singlestep
	.comm	KGC_EMERGENCY,4,4
	.comm	GCFINALIZECOST,4,4
	.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_singlestep.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	singlestep, %function
singlestep:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	G
	ldr	r3, [r0]
	mov	r4, r0
	sub	r3, r3, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	bl	propagateall
	mov	r0, r5
	bl	atomic
	mov	r3, r0
	mov	r0, r5
	mov	r5, r3
	bl	entersweep
	mov	r0, r4
	bl	gettotalbytes
	str	r0, [r4, #24]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	mov	r1, r0
	mov	r3, #0
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r2, #130
	b	sweepstep
.L10:
	mov	r0, r5
	mov	r1, r4
	add	r3, r4, #12
	mov	r2, #128
	pop	{r4, r5, r6, lr}
	b	sweepstep
.L9:
	ldr	r1, [r0, #16]
	bl	makewhite
	mov	r1, r4
	mov	r0, r5
	bl	checkSizes
	mov	r5, #0
	mov	r3, #134
	mov	r0, r5
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r5
	mov	r1, r4
	add	r3, r4, #20
	mov	r2, #129
	pop	{r4, r5, r6, lr}
	b	sweepstep
.L7:
	mov	r3, #0
	ldr	r0, [r0, #28]
	str	r3, [r4, #4]
	bl	lua_assert
	mov	r0, r4
	bl	propagatemark
	ldr	r3, [r4, #28]
	ldr	r5, [r4, #4]
	cmp	r3, #0
	moveq	r3, #135
	mov	r0, r5
	streq	r3, [r4]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, [r0, #32]
	lsl	r3, r3, #2
	str	r3, [r0, #4]
	bl	restartcollection
	mov	r3, #132
	ldr	r5, [r4, #4]
	str	r3, [r4]
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, [r0, #12]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L21
	ldr	r2, [r0, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L20
.L14:
	mov	r3, #133
	mov	r5, #0
	str	r3, [r4]
	b	.L1
.L20:
	mov	r0, r5
	bl	runafewfinalizers
	ldr	r3, .L21+4
	ldr	r5, [r3]
	mul	r5, r0, r5
	b	.L1
.L2:
	mov	r0, #0
	bl	lua_assert
	mov	r5, #0
	b	.L1
.L22:
	.align	2
.L21:
	.word	KGC_EMERGENCY
	.word	GCFINALIZECOST
	.size	singlestep, .-singlestep
	.comm	KGC_EMERGENCY,4,4
	.comm	GCFINALIZECOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
