	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function score_trees
_score_trees:                           ## @score_trees
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	callq	_fill_tree_desc_strict
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fill_tree_desc_strict
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	-52(%rbp), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-72(%rbp), %edi
	callq	_score_missing
	movq	%rax, %r14
	movq	%r12, %rdi
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_update_tree_entry
	addl	%r14d, %ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rcx
	movq	-48(%rbp), %rdx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_base_name_entries_compare
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, %rax
	negq	%rax
	movl	$0, %eax
	sbbl	%eax, %eax
	orq	%rcx, %rdx
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	$1, %eax
	testl	%eax, %eax
	js	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edi
	callq	_score_missing
	movq	%rax, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-68(%rbp), %rdi
	movq	%r15, %rsi
	callq	_oideq
	movl	-72(%rbp), %edi
	movl	-56(%rbp), %esi
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_score_matches
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_score_differs
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_update_tree_entry
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	jmp	LBB0_15
LBB0_16:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_score_trees
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function score_trees
_score_trees:                           ; @score_trees
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x1, x0
	add	x22, sp, #16
	add	x0, sp, #16
	bl	_fill_tree_desc_strict
	mov	x19, x0
	mov	x23, sp
	mov	x0, sp
	mov	x1, x20
	bl	_fill_tree_desc_strict
	mov	x21, x0
	mov	w20, #0
	orr	x22, x22, #0x4
	orr	x23, x23, #0x4
	mov	w25, #-1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [sp, #16]
	bl	_score_missing
	mov	x24, x0
	add	x0, sp, #16
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_update_tree_entry
	add	w20, w20, w24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [sp, #8]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, #0
	cneg	w0, w25, eq
	orr	x8, x8, x9
	cbz	x8, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	tbz	w0, #31, LBB0_7
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #16
	mov	x1, sp
	bl	_base_name_entries_compare
	tbnz	w0, #31, LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [sp]
	bl	_score_missing
	mov	x24, x0
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_oideq
	mov	x8, x0
	ldr	w0, [sp, #16]
	ldr	w1, [sp]
	cbz	w8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_score_matches
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_score_differs
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	add	x0, sp, #16
	bl	_update_tree_entry
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	b	LBB0_2
LBB0_14:
	mov	x0, x19
	bl	_free
	mov	x0, x21
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_score_trees
.subsections_via_symbols
