	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tree_codes
_get_tree_codes:                        ## @get_tree_codes
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%rcx, %r14
	movl	16(%rbp), %r12d
	movslq	%r8d, %rax
	leaq	(%rax,%rax,2), %rcx
	movl	(%r14,%rcx,4), %r15d
	cmpl	$-1, %r15d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r9
	addq	%r13, %r9
	incl	%r12d
	leaq	(%rax,%rax,2), %rbx
	movl	4(%r14,%rbx,4), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	pushq	24(%rbp)
	pushq	%r12
	callq	_get_tree_codes
	addq	$16, %rsp
	addq	%r13, %r13
	incq	%r13
	movslq	8(%r14,%rbx,4), %rax
	leaq	(%rax,%rax,2), %rcx
	movl	(%r14,%rcx,4), %r15d
	cmpl	$-1, %r15d
	je	LBB0_1
LBB0_2:
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_FFMAX
	movq	$-1, %rdx
	movl	%eax, %ecx
	shlq	%cl, %rdx
	orq	%r13, %rdx
	notq	%rdx
	movq	24(%rbp), %rbx
	movslq	(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rdx, (%rcx,%rax,8)
	movl	%r12d, %edi
	movl	$1, %esi
	callq	_FFMAX
	movslq	(%rbx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	cmpl	$1, %r12d
	adcl	$0, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax,%rcx,4)
	incl	(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_tree_codes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tree_codes
_get_tree_codes:                        ; @get_tree_codes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x23, x5
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	mov	w8, #12
	smull	x8, w4, w8
	ldr	w26, [x3, x8]
	cmn	w26, #1
	b.ne	LBB0_3
; %bb.1:
	mov	x25, x3
	sxtw	x8, w4
	mov	w27, #12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x5, x23, #1
	add	w20, w20, #1
	madd	x26, x8, x27, x25
	ldr	w4, [x26, #4]
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	mov	x3, x25
	mov	x6, x20
	mov	x7, x19
	bl	_get_tree_codes
	mov	w8, #1
	bfi	x8, x23, #1, #63
	mov	x23, x8
	ldrsw	x8, [x26, #8]
	mul	x9, x8, x27
	ldr	w26, [x25, x9]
	cmn	w26, #1
	b.eq	LBB0_2
LBB0_3:
	mov	x0, x20
	mov	w1, #1
	bl	_FFMAX
	mov	x8, #-1
	lsl	x8, x8, x0
	orr	x8, x8, x23
	mvn	x8, x8
	ldrsw	x9, [x19]
	str	x8, [x24, x9, lsl #3]
	mov	x0, x20
	mov	w1, #1
	bl	_FFMAX
	ldrsw	x8, [x19]
	str	x0, [x22, x8, lsl #3]
	cmp	w20, #0
	cinc	w9, w26, eq
	str	w9, [x21, x8, lsl #2]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_tree_codes
.subsections_via_symbols
