	.file	"extr_lgc.c_luaC_freeallobjects.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaC_freeallobjects
	.type	luaC_freeallobjects, @function
luaC_freeallobjects:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	G@PLT
	mov	esi, 1
	mov	rbx, rax
	mov	rdi, rax
	call	separatetobefnz@PLT
	xor	edi, edi
	cmp	QWORD PTR 24[rbx], 0
	sete	dil
	call	lua_assert@PLT
	mov	rdi, rbp
	call	callallpendingfinalizers@PLT
	xor	edi, edi
	cmp	QWORD PTR 40[rbx], 0
	sete	dil
	call	lua_assert@PLT
	mov	eax, DWORD PTR WHITEBITS[rip]
	lea	rsi, 24[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR KGC_NORMAL[rip]
	mov	DWORD PTR 32[rbx], eax
	call	sweepwholelist@PLT
	lea	rsi, 16[rbx]
	mov	rdi, rbp
	call	sweepwholelist@PLT
	mov	rdi, rbp
	lea	rsi, 8[rbx]
	call	sweepwholelist@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	lua_assert@PLT
	.cfi_endproc
.LFE0:
	.size	luaC_freeallobjects, .-luaC_freeallobjects
	.comm	WHITEBITS,4,4
	.comm	KGC_NORMAL,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_luaC_freeallobjects.c"
	.text
	.align	2
	.global	luaC_freeallobjects
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaC_freeallobjects, %function
luaC_freeallobjects:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	G
	mov	r4, r0
	mov	r1, #1
	bl	separatetobefnz
	ldr	r0, [r4, #12]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	mov	r0, r5
	bl	callallpendingfinalizers
	ldr	r0, [r4, #24]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #20]
	str	r3, [r4, #16]
	add	r1, r4, #12
	mov	r0, r5
	bl	sweepwholelist
	add	r1, r4, #8
	mov	r0, r5
	bl	sweepwholelist
	mov	r0, r5
	add	r1, r4, #4
	bl	sweepwholelist
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	clz	r0, r0
	lsr	r0, r0, #5
	b	lua_assert
.L5:
	.align	2
.L4:
	.word	WHITEBITS
	.word	KGC_NORMAL
	.size	luaC_freeallobjects, .-luaC_freeallobjects
	.comm	WHITEBITS,4,4
	.comm	KGC_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
