	.file	"extr_lgc.c_luaC_fullgc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaC_fullgc
	.type	luaC_fullgc, @function
luaC_fullgc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	G@PLT
	mov	rdx, QWORD PTR GCSpropagate[rip]
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	cmp	rax, rdx
	jg	.L2
	lea	rax, 32[rbp]
	mov	QWORD PTR 48[rbp], 0
	mov	QWORD PTR 40[rbp], rax
	mov	rax, QWORD PTR GCSsweepstring[rip]
	mov	QWORD PTR 24[rbp], 0
	mov	QWORD PTR 16[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	mov	QWORD PTR 0[rbp], rax
.L2:
	cmp	QWORD PTR GCSpause[rip], rax
	setne	cl
	xor	edi, edi
	cmp	rdx, rax
	setne	dil
	and	edi, ecx
	call	lua_assert@PLT
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR GCSfinalize[rip]
	je	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	QWORD PTR GCSsweepstring[rip], rax
	mov	edi, 1
	je	.L6
	xor	edi, edi
	cmp	QWORD PTR GCSsweep[rip], rax
	sete	dil
.L6:
	call	lua_assert@PLT
	mov	rdi, rbx
	call	singlestep@PLT
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR GCSfinalize[rip]
	jne	.L3
.L7:
	mov	rdi, rbx
	call	markroot@PLT
	mov	rax, QWORD PTR GCSpause[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbx
	call	singlestep@PLT
	mov	rax, QWORD PTR GCSpause[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L4
.L5:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	setthreshold@PLT
	.cfi_endproc
.LFE0:
	.size	luaC_fullgc, .-luaC_fullgc
	.comm	GCSsweepstring,8,8
	.comm	GCSsweep,8,8
	.comm	GCSpropagate,8,8
	.comm	GCSpause,8,8
	.comm	GCSfinalize,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_luaC_fullgc.c"
	.text
	.align	2
	.global	luaC_fullgc
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaC_fullgc, %function
luaC_fullgc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	bl	G
	ldr	r2, .L15
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r4, r0
	cmp	r3, r2
	bgt	.L2
	mov	r1, #0
	ldr	r9, .L15+4
	str	r1, [r0, #24]
	ldr	r3, [r9]
	add	r0, r0, #16
	str	r3, [r4]
	str	r1, [r4, #12]
	str	r1, [r4, #8]
	str	r1, [r4, #4]
	str	r0, [r4, #20]
.L2:
	ldr	r6, .L15+8
	ldr	r8, .L15+12
	ldr	r0, [r6]
	cmp	r0, r3
	cmpne	r2, r3
	movne	r0, #1
	moveq	r0, #0
	bl	lua_assert
	ldr	r2, [r8]
	ldr	r3, [r4]
	cmp	r3, r2
	beq	.L7
	ldr	r9, .L15+4
	ldr	r7, .L15+16
.L3:
	ldr	r2, [r9]
	cmp	r2, r3
	ldrne	r0, [r7]
	moveq	r0, #1
	subne	r0, r0, r3
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	lua_assert
	mov	r0, r5
	bl	singlestep
	ldr	r3, [r4]
	ldr	r2, [r8]
	cmp	r3, r2
	bne	.L3
.L7:
	mov	r0, r5
	bl	markroot
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L5
.L4:
	mov	r0, r5
	bl	singlestep
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	bne	.L4
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	setthreshold
.L16:
	.align	2
.L15:
	.word	GCSpropagate
	.word	GCSsweepstring
	.word	GCSpause
	.word	GCSfinalize
	.word	GCSsweep
	.size	luaC_fullgc, .-luaC_fullgc
	.comm	GCSsweepstring,4,4
	.comm	GCSsweep,4,4
	.comm	GCSpropagate,4,4
	.comm	GCSpause,4,4
	.comm	GCSfinalize,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
