	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function traversestack
_traversestack:                         ## @traversestack
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_gt
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_markvalue
	movq	(%r14), %r12
	movq	32(%r14), %rbx
	cmpq	24(%r14), %rbx
	jbe	LBB0_2
## %bb.1:
	movq	%r12, %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %r13
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	8(%r14), %rax
	setle	%dil
	callq	_lua_assert
	movq	(%rbx), %r12
	cmpq	%r12, %r13
	cmovgq	%r13, %r12
	addq	$8, %rbx
	cmpq	24(%r14), %rbx
	jbe	LBB0_2
## %bb.3:
	movq	(%r14), %rax
LBB0_4:
	movq	16(%r14), %rbx
	cmpq	%rax, %rbx
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_markvalue
	incq	%rbx
	cmpq	(%r14), %rbx
	jl	LBB0_9
LBB0_5:
	cmpq	%r12, %rbx
	jg	LBB0_8
## %bb.6:
	leaq	1(%r12), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_setnilvalue
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkstacksizes                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_traversestack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function traversestack
_traversestack:                         ; @traversestack
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_gt
	mov	x1, x0
	mov	x0, x21
	bl	_markvalue
	ldr	x20, [x19]
	ldp	x8, x22, [x19, #24]
	cmp	x22, x8
	b.ls	LBB0_2
; %bb.1:
	mov	x8, x20
	b	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	cset	w0, le
	bl	_lua_assert
	ldr	x8, [x22], #8
	cmp	x20, x8
	csel	x20, x20, x8, gt
	ldr	x8, [x19, #24]
	cmp	x22, x8
	b.ls	LBB0_2
; %bb.3:
	ldr	x8, [x19]
LBB0_4:
	ldr	x22, [x19, #16]
	cmp	x22, x8
	b.ge	LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_markvalue
	add	x22, x22, #1
	ldr	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	cmp	x22, x20
	b.gt	LBB0_9
; %bb.7:
	add	x21, x20, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_setnilvalue
	add	x22, x22, #1
	cmp	x21, x22
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	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	_checkstacksizes
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_traversestack
.subsections_via_symbols
