	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function note_tree_search
_note_tree_search:                      ## @note_tree_search
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movq	(%r13), %rdx
	movzbl	(%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_load_subtree
	movq	%rbx, %rdi
	callq	_free
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_GET_PTR_TYPE
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_CLR_PTR_TYPE
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SUBTREE_SHA1_PREFIXCMP
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %edi
	movq	%r14, %rsi
	callq	_GET_NIBBLE
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movq	%r14, %r15
	movzbl	%al, %r14d
	movq	(%rcx,%r14,8), %rbx
	movq	%rbx, %rdi
	callq	_GET_PTR_TYPE
	cmpl	$128, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_CLR_PTR_TYPE
	movq	%rax, (%r13)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	incb	(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_CLR_PTR_TYPE
	movq	%rax, %r12
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_SUBTREE_SHA1_PREFIXCMP
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%r14,8)
	movq	(%r13), %rdx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movzbl	(%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_load_subtree
	movq	%r12, %rdi
	callq	_free
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_1
LBB0_9:
	movq	(%r13), %rax
	shlq	$3, %r14
	addq	(%rax), %r14
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_note_tree_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function note_tree_search
_note_tree_search:                      ; @note_tree_search
	.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, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	xzr, [x8]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x20]
	ldrb	w3, [x21]
	mov	x0, x22
	mov	x1, x23
	bl	_load_subtree
	mov	x0, x23
	bl	_free
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_GET_PTR_TYPE
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_CLR_PTR_TYPE
	mov	x23, x0
	ldr	w1, [x0]
	mov	x0, x19
	bl	_SUBTREE_SHA1_PREFIXCMP
	cbz	w0, LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w0, [x21]
	mov	x1, x19
	bl	_GET_NIBBLE
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	w24, w0
	ldr	x23, [x8, w0, uxtw #3]
	mov	x0, x23
	bl	_GET_PTR_TYPE
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_CLR_PTR_TYPE
	str	x0, [x20]
	ldrb	w8, [x21]
	add	w8, w8, #1
	strb	w8, [x21]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_CLR_PTR_TYPE
	mov	x23, x0
	ldr	w1, [x0]
	mov	x0, x19
	bl	_SUBTREE_SHA1_PREFIXCMP
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	xzr, [x8, x24, lsl #3]
	b	LBB0_2
LBB0_10:
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x0, x8, x24, lsl #3
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_note_tree_search
.subsections_via_symbols
