	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function singlestep
_singlestep:                            ## @singlestep
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_G
	movq	%rax, %rbx
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_16
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$130, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_lua_assert
	jmp	LBB0_17
LBB0_8:
	movq	%rbx, %rcx
	addq	$12, %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$128, %edx
	jmp	LBB0_10
LBB0_11:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_makewhite
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_checkSizes
	movl	$134, (%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_7:
	movq	%rbx, %rcx
	addq	$20, %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$129, %edx
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sweepstep                      ## TAILCALL
LBB0_3:
	movl	$0, 4(%rbx)
	movq	32(%rbx), %rdi
	callq	_lua_assert
	movq	%rbx, %rdi
	callq	_propagatemark
	cmpq	$0, 32(%rbx)
	jne	LBB0_5
## %bb.4:
	movl	$135, (%rbx)
LBB0_5:
	movl	4(%rbx), %ebx
	jmp	LBB0_17
LBB0_2:
	movl	40(%rbx), %eax
	shll	$3, %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_restartcollection
	movl	$132, (%rbx)
	movl	4(%rbx), %ebx
	jmp	LBB0_17
LBB0_12:
	cmpl	$0, 12(%rbx)
	je	LBB0_15
## %bb.13:
	movl	8(%rbx), %eax
	movq	_KGC_EMERGENCY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_15:
	movl	$133, (%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, %rdi
	callq	_propagateall
	movq	%r14, %rdi
	callq	_atomic
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_entersweep
	movq	%rbx, %rdi
	callq	_gettotalbytes
	movl	%eax, 24(%rbx)
	movl	%r15d, %eax
	jmp	LBB0_18
LBB0_14:
	movq	%r14, %rdi
	callq	_runafewfinalizers
	movl	%eax, %ebx
	movq	_GCFINALIZECOST@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_KGC_EMERGENCY,4,2              ## @KGC_EMERGENCY
	.comm	_GCFINALIZECOST,4,2             ## @GCFINALIZECOST
	.no_dead_strip	_singlestep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function singlestep
_singlestep:                            ; @singlestep
	.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	x20, x0
	bl	_G
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #130
	mov	x3, #0
	b	LBB0_7
LBB0_3:
	mov	x0, #0
	bl	_lua_assert
	mov	w0, #0
	b	LBB0_17
LBB0_4:
	add	x3, x19, #12
	mov	x0, x20
	mov	x1, x19
	mov	w2, #128
	b	LBB0_7
LBB0_5:
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_makewhite
	mov	x0, x20
	mov	x1, x19
	bl	_checkSizes
	mov	w0, #0
	mov	w8, #134
	str	w8, [x19]
	b	LBB0_17
LBB0_6:
	add	x3, x19, #20
	mov	x0, x20
	mov	x1, x19
	mov	w2, #129
LBB0_7:
	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	_sweepstep
LBB0_8:
	str	wzr, [x19, #4]
	ldr	x0, [x19, #32]
	bl	_lua_assert
	mov	x0, x19
	bl	_propagatemark
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_10
; %bb.9:
	mov	w8, #135
	str	w8, [x19]
LBB0_10:
	ldr	w0, [x19, #4]
	b	LBB0_17
LBB0_11:
	ldr	w8, [x19, #40]
	lsl	w8, w8, #3
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_restartcollection
	mov	w8, #132
	str	w8, [x19]
	ldr	w0, [x19, #4]
	b	LBB0_17
LBB0_12:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_14
; %bb.13:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _KGC_EMERGENCY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KGC_EMERGENCY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
LBB0_14:
	mov	w0, #0
	mov	w8, #133
	str	w8, [x19]
	b	LBB0_17
LBB0_15:
	mov	x0, x19
	bl	_propagateall
	mov	x0, x20
	bl	_atomic
	mov	x21, x0
	mov	x0, x20
	bl	_entersweep
	mov	x0, x19
	bl	_gettotalbytes
	str	w0, [x19, #24]
	mov	x0, x21
	b	LBB0_17
LBB0_16:
	mov	x0, x20
	bl	_runafewfinalizers
Lloh5:
	adrp	x8, _GCFINALIZECOST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GCFINALIZECOST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w0, w8, w0
LBB0_17:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.comm	_KGC_EMERGENCY,4,2              ; @KGC_EMERGENCY
	.comm	_GCFINALIZECOST,4,2             ; @GCFINALIZECOST
	.no_dead_strip	_singlestep
.subsections_via_symbols
