	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walkStatEntryTree
_walkStatEntryTree:                     ## @walkStatEntryTree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	16(%rdi), %rax
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	incq	%rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%rax,%rcx,8), %rbx
	jne	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %rcx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-2(%rcx), %rdx
	movq	%rdx, (%rdi)
	movq	-16(%rax,%rcx,8), %rbx
	decq	%rcx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, (%rax,%rcx,8)
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	16(%rdi), %rax
	movq	%rbx, 8(%rax,%rcx,8)
	incq	%rcx
	jmp	LBB0_7
LBB0_8:
	movq	%rcx, (%rdi)
	xorl	%eax, %eax
	cmpq	8(%rdi), %rcx
	setbe	%al
	movl	%eax, %edi
	callq	_Assert
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_walkStatEntryTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walkStatEntryTree
_walkStatEntryTree:                     ; @walkStatEntryTree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x0, #16]
	ldr	x10, [x0]
	ldr	x19, [x9, x10, lsl #3]
	cbz	x19, LBB0_11
; %bb.1:
	add	x8, x10, #2
	add	x9, x9, x10, lsl #3
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19]
	cbnz	x10, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9]
	cmp	x19, x10
	b.ne	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x8, #2
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x10, x8, #3
	str	x10, [x0]
	ldur	x19, [x9, #-16]
	sub	x8, x8, #1
	sub	x9, x9, #8
	cbnz	x19, LBB0_2
	b	LBB0_11
LBB0_7:
	mov	x19, #0
	b	LBB0_11
LBB0_8:
	str	x19, [x9]
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x9
	ldr	x9, [x0, #16]
	str	x19, [x9, x8, lsl #3]
	ldr	x9, [x19, #8]
	add	x8, x8, #1
	cbnz	x9, LBB0_9
LBB0_10:
	sub	x8, x8, #1
	str	x8, [x0]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	cset	w0, ls
	bl	_Assert
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_walkStatEntryTree
.subsections_via_symbols
