	.file	"extr_lgc.c_atomic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	atomic, @function
atomic:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	G@PLT
	xor	edi, edi
	cmp	QWORD PTR 40[rax], 0
	mov	r12, QWORD PTR 72[rax]
	mov	rbx, rax
	je	.L7
.L2:
	call	lua_assert@PLT
	mov	edi, DWORD PTR 64[rbx]
	call	iswhite@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	lua_assert@PLT
	mov	eax, DWORD PTR GCSinsideatomic[rip]
	mov	rsi, rbp
	mov	rdi, rbx
	mov	QWORD PTR 8[rbx], 0
	mov	DWORD PTR 60[rbx], eax
	call	markobject@PLT
	lea	rsi, 56[rbx]
	mov	rdi, rbx
	call	markvalue@PLT
	mov	rdi, rbx
	call	markmt@PLT
	mov	rdi, rbx
	call	remarkupvals@PLT
	mov	rdi, rbx
	call	propagateall@PLT
	mov	QWORD PTR 48[rbx], r12
	mov	rdi, rbx
	mov	rbp, QWORD PTR 8[rbx]
	call	propagateall@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, rbx
	call	convergeephemerons@PLT
	mov	rsi, QWORD PTR 32[rbx]
	mov	rdi, rbx
	xor	edx, edx
	call	clearvalues@PLT
	mov	rsi, QWORD PTR 24[rbx]
	xor	edx, edx
	mov	rdi, rbx
	call	clearvalues@PLT
	xor	esi, esi
	mov	rdi, rbx
	mov	r13, QWORD PTR 32[rbx]
	mov	r12, QWORD PTR 24[rbx]
	add	rbp, QWORD PTR 8[rbx]
	call	separatetobefnz@PLT
	mov	DWORD PTR [rbx], 1
	mov	rdi, rbx
	call	markbeingfnz@PLT
	mov	rdi, rbx
	call	propagateall@PLT
	mov	QWORD PTR 8[rbx], 0
	mov	rdi, rbx
	call	convergeephemerons@PLT
	mov	rsi, QWORD PTR 40[rbx]
	mov	rdi, rbx
	xor	edx, edx
	call	clearkeys@PLT
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdi, rbx
	xor	edx, edx
	call	clearkeys@PLT
	mov	rsi, QWORD PTR 32[rbx]
	mov	rdx, r13
	mov	rdi, rbx
	call	clearvalues@PLT
	mov	rsi, QWORD PTR 24[rbx]
	mov	rdx, r12
	mov	rdi, rbx
	call	clearvalues@PLT
	mov	rdi, rbx
	call	luaS_clearcache@PLT
	mov	rdi, rbx
	call	otherwhite@PLT
	mov	edi, eax
	call	cast_byte@PLT
	mov	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR 8[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	add	rax, rbp
	pop	rbp
	.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
.L7:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 32[rax], 0
	sete	dil
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	atomic, .-atomic
	.comm	GCSinsideatomic,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_atomic.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atomic, %function
atomic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	G
	ldr	r3, [r0, #20]
	mov	r4, r0
	cmp	r3, #0
	ldr	r7, [r0, #40]
	ldreq	r0, [r0, #16]
	movne	r0, #0
	clzeq	r0, r0
	lsreq	r0, r0, #5
	bl	lua_assert
	ldr	r0, [r4, #36]
	bl	iswhite
	clz	r0, r0
	mov	r5, #0
	lsr	r0, r0, #5
	bl	lua_assert
	ldr	r3, .L6
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r4
	str	r3, [r4, #32]
	str	r5, [r4, #4]
	bl	markobject
	add	r1, r4, #28
	mov	r0, r4
	bl	markvalue
	mov	r0, r4
	bl	markmt
	mov	r0, r4
	bl	remarkupvals
	mov	r0, r4
	bl	propagateall
	str	r7, [r4, #24]
	mov	r0, r4
	ldr	r6, [r4, #4]
	bl	propagateall
	mov	r0, r4
	str	r5, [r4, #4]
	bl	convergeephemerons
	mov	r2, r5
	ldr	r1, [r4, #16]
	mov	r0, r4
	bl	clearvalues
	mov	r2, r5
	ldr	r1, [r4, #12]
	mov	r0, r4
	bl	clearvalues
	ldr	r3, [r4, #4]
	mov	r1, r5
	mov	r0, r4
	add	r6, r6, r3
	ldr	r8, [r4, #16]
	ldr	r7, [r4, #12]
	bl	separatetobefnz
	mov	r3, #1
	mov	r0, r4
	str	r3, [r4]
	bl	markbeingfnz
	mov	r0, r4
	bl	propagateall
	mov	r0, r4
	str	r5, [r4, #4]
	bl	convergeephemerons
	mov	r2, r5
	ldr	r1, [r4, #20]
	mov	r0, r4
	bl	clearkeys
	mov	r2, r5
	ldr	r1, [r4, #12]
	mov	r0, r4
	bl	clearkeys
	mov	r2, r8
	ldr	r1, [r4, #16]
	mov	r0, r4
	bl	clearvalues
	mov	r2, r7
	ldr	r1, [r4, #12]
	mov	r0, r4
	bl	clearvalues
	mov	r0, r4
	bl	luaS_clearcache
	mov	r0, r4
	bl	otherwhite
	bl	cast_byte
	ldr	r3, [r4, #4]
	str	r0, [r4, #8]
	add	r0, r6, r3
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	GCSinsideatomic
	.size	atomic, .-atomic
	.comm	GCSinsideatomic,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
