	.file	"extr_lgc.c_luaC_barrier_.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	luaC_barrier_
	.type	luaC_barrier_, @function
luaC_barrier_:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	G@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	isblack@PLT
	test	rax, rax
	jne	.L2
.L4:
	xor	edi, edi
.L3:
	call	lua_assert@PLT
	mov	rax, QWORD PTR GCSpause[rip]
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], rax
	setne	dil
	call	lua_assert@PLT
	mov	rdi, r12
	call	gch@PLT
	mov	rcx, QWORD PTR LUA_TTABLE[rip]
	xor	edi, edi
	cmp	QWORD PTR [rax], rcx
	setne	dil
	call	lua_assert@PLT
	mov	rdi, rbp
	call	keepinvariantout@PLT
	test	rax, rax
	je	.L5
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	reallymarkobject@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	issweepphase@PLT
	mov	edi, eax
	call	lua_assert@PLT
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	makewhite@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r13
	call	iswhite@PLT
	test	rax, rax
	je	.L4
	mov	rsi, r13
	mov	rdi, rbp
	call	isdead@PLT
	test	eax, eax
	jne	.L4
	mov	rdi, rbp
	mov	rsi, r12
	call	isdead@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	luaC_barrier_, .-luaC_barrier_
	.comm	LUA_TTABLE,8,8
	.comm	GCSpause,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_barrier_.c"
	.text
	.align	2
	.global	luaC_barrier_
	.syntax unified
	.arm
	.fpu softvfp
	.type	luaC_barrier_, %function
luaC_barrier_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	bl	G
	mov	r4, r0
	mov	r0, r5
	bl	isblack
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r0, #0
.L3:
	bl	lua_assert
	ldr	r3, .L11
	ldr	r0, [r4]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
	bl	lua_assert
	mov	r0, r5
	bl	gch
	ldr	r3, .L11+4
	ldr	r0, [r0]
	ldr	r3, [r3]
	subs	r0, r0, r3
	movne	r0, #1
	bl	lua_assert
	mov	r0, r4
	bl	keepinvariantout
	cmp	r0, #0
	beq	.L5
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	reallymarkobject
.L5:
	mov	r0, r4
	bl	issweepphase
	bl	lua_assert
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	makewhite
.L2:
	mov	r0, r6
	bl	iswhite
	cmp	r0, #0
	beq	.L4
	mov	r1, r6
	mov	r0, r4
	bl	isdead
	cmp	r0, #0
	bne	.L4
	mov	r1, r5
	mov	r0, r4
	bl	isdead
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L3
.L12:
	.align	2
.L11:
	.word	GCSpause
	.word	LUA_TTABLE
	.size	luaC_barrier_, .-luaC_barrier_
	.comm	LUA_TTABLE,4,4
	.comm	GCSpause,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
