	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaC_step                      ## -- Begin function luaC_step
	.p2align	4, 0x90
_luaC_step:                             ## @luaC_step
	.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, %r14
	callq	_G
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_getdebt
	cmpl	$0, 12(%r15)
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movq	_GCSTEPSIZE@GOTPCREL(%rip), %r12
	movq	_GCSpause@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_singlestep
	xorl	%edx, %edx
	subl	(%r12), %edx
	subl	%eax, %ebx
	movq	(%r15), %rax
	movq	(%r13), %rcx
	cmpl	%edx, %ebx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_2
	jmp	LBB0_4
LBB0_7:
	movq	_GCSTEPSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %esi
	negl	%esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaE_setdebt                   ## TAILCALL
LBB0_5:
	cmpq	%rcx, %rax
	jne	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setpause                       ## TAILCALL
LBB0_6:
	movl	%ebx, %eax
	cltd
	idivl	8(%r15)
	movq	_STEPMULADJ@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_luaE_setdebt
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_runafewfinalizers              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GCSTEPSIZE,4,2                 ## @GCSTEPSIZE
	.comm	_GCSpause,8,3                   ## @GCSpause
	.comm	_STEPMULADJ,4,2                 ## @STEPMULADJ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaC_step                      ; -- Begin function luaC_step
	.p2align	2
_luaC_step:                             ; @luaC_step
	.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
	bl	_getdebt
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x22, _GCSTEPSIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GCSTEPSIZE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _GCSpause@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GCSpause@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_singlestep
	sub	w21, w21, w0
	ldr	w10, [x22]
	ldr	x8, [x20]
	ldr	x9, [x23]
	neg	w10, w10
	cmp	w21, w10
	b.le	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x8, x9
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _GCSTEPSIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GCSTEPSIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	mov	w9, #-10
	mul	w1, w8, w9
	mov	x0, x20
	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
	b	_luaE_setdebt
LBB0_5:
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x20
	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
	b	_setpause
LBB0_7:
	ldr	w8, [x20, #8]
	sdiv	w8, w21, w8
Lloh7:
	adrp	x9, _STEPMULADJ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _STEPMULADJ@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	mul	w1, w9, w8
	mov	x0, x20
	bl	_luaE_setdebt
	mov	x0, x19
	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
	b	_runafewfinalizers
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GCSTEPSIZE,4,2                 ; @GCSTEPSIZE
	.comm	_GCSpause,8,3                   ; @GCSpause
	.comm	_STEPMULADJ,4,2                 ; @STEPMULADJ
.subsections_via_symbols
