	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_init
_tree_init:                             ## @tree_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	leal	1(%rcx), %eax
	movl	%eax, (%rdi)
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.1:
	movl	%eax, %r8d
	decq	%r8
	movl	$1, %eax
	cmpl	$1, %ecx
	je	LBB0_5
## %bb.2:
	movq	%r8, %rcx
	andq	$-2, %rcx
	movq	$-1, %rax
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rsi), %edx
	andl	$2147483647, %edx               ## imm = 0x7FFFFFFF
	movl	(%rdi,%rdx,4), %edx
	decl	%edx
	movl	%edx, -4(%rdi,%rsi,8)
	movl	%esi, %edx
	andl	$2147483647, %edx               ## imm = 0x7FFFFFFF
	movl	(%rdi,%rdx,4), %edx
	decl	%edx
	movl	%edx, (%rdi,%rsi,8)
	incq	%rsi
	leaq	(%rcx,%rax), %rdx
	addq	$-2, %rdx
	addq	$-2, %rax
	cmpq	$-1, %rdx
	jne	LBB0_3
## %bb.4:
	negq	%rax
LBB0_5:
	testb	$1, %r8b
	je	LBB0_7
## %bb.6:
	movl	%eax, %ecx
	andl	$-2, %ecx
	movl	(%rdi,%rcx,2), %ecx
	decl	%ecx
	movl	%ecx, (%rdi,%rax,4)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tree_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_init
_tree_init:                             ; @tree_init
	.cfi_startproc
; %bb.0:
	add	w8, w1, #1
	str	w8, [x0]
	mov	w8, #1
	lsl	w8, w8, w1
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w9, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ubfx	x10, x9, #1, #31
	ldr	w10, [x0, x10, lsl #2]
	sub	w10, w10, #1
	str	w10, [x0, x9, lsl #2]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tree_init
.subsections_via_symbols
