	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaC_barrier_                  ## -- Begin function luaC_barrier_
	.p2align	4, 0x90
_luaC_barrier_:                         ## @luaC_barrier_
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_G
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_isblack
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_iswhite
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_isdead
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_isdead
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
LBB0_4:
	movl	%r12d, %edi
	callq	_lua_assert
	movq	%rbx, %rdi
	callq	_keepinvariant
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reallymarkobject               ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_issweepphase
	movl	%eax, %edi
	callq	_lua_assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_makewhite                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaC_barrier_                  ; -- Begin function luaC_barrier_
	.p2align	2
_luaC_barrier_:                         ; @luaC_barrier_
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	bl	_G
	mov	x20, x0
	mov	x0, x19
	bl	_isblack
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_iswhite
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_isdead
	cbz	w0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_isdead
	cmp	w0, #0
	cset	w0, eq
LBB0_5:
	bl	_lua_assert
	mov	x0, x20
	bl	_keepinvariant
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_reallymarkobject
LBB0_7:
	mov	x0, x20
	bl	_issweepphase
	bl	_lua_assert
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_makewhite
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
