	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GCTM
_GCTM:                                  ## @GCTM
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_G
	movq	%rax, %r14
	movq	16(%rax), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_rawgco2u
	movq	%rax, %r15
	movq	16(%r14), %rax
	cmpq	%rax, %rbx
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_3
LBB0_1:
	movq	$0, 16(%r14)
LBB0_3:
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%r15)
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_makewhite
	movl	(%r15), %esi
	movq	_TM_GC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fasttm
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r12), %ebx
	movl	(%r14), %r13d
	movl	$0, (%r12)
	movl	4(%r14), %ecx
	addl	%ecx, %ecx
	movl	%ecx, (%r14)
	movq	8(%r12), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_setobj
	movq	8(%r12), %rsi
	incq	%rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_setuvalue
	movq	8(%r12), %rsi
	leaq	2(%rsi), %rax
	movq	%rax, 8(%r12)
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_luaD_call
	movl	%ebx, (%r12)
	movl	%r13d, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TM_GC,4,2                      ## @TM_GC
	.no_dead_strip	_GCTM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GCTM
_GCTM:                                  ; @GCTM
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_G
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x22, [x8]
	mov	x0, x22
	bl	_rawgco2u
	mov	x21, x0
	ldr	x8, [x20, #16]
	cmp	x22, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x21, #8]
	str	x9, [x8]
	b	LBB0_3
LBB0_2:
	str	xzr, [x20, #16]
LBB0_3:
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	str	x9, [x21, #8]
	str	x22, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_makewhite
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _TM_GC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TM_GC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fasttm
	cbz	x0, LBB0_5
; %bb.4:
	mov	x2, x0
	ldr	w22, [x19]
	str	wzr, [x19]
	ldp	w23, w8, [x20]
	lsl	w8, w8, #1
	str	w8, [x20]
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_setobj
	ldr	x8, [x19, #8]
	add	x1, x8, #1
	mov	x0, x19
	mov	x2, x21
	bl	_setuvalue
	ldr	x1, [x19, #8]
	add	x8, x1, #2
	str	x8, [x19, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_luaD_call
	str	w22, [x19]
	str	w23, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TM_GC,4,2                      ; @TM_GC
	.no_dead_strip	_GCTM
.subsections_via_symbols
