	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_trees
_match_trees:                           ## @match_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	leaq	-56(%rbp), %rdi
	callq	_fill_tree_desc_strict
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpq	$0, -56(%rbp)
	je	LBB0_8
## %bb.1:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_update_tree_entry
	cmpq	$0, -56(%rbp)
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	-104(%rbp), %rsi
	leaq	-42(%rbp), %rdx
	callq	_tree_entry_extract
	movq	%rax, %r15
	movzwl	-42(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_score_trees
	cmpl	%eax, (%r13)
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_free
	movq	-104(%rbp), %rdx
	leaq	L_.str(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_xstrfmt
	movq	%rax, (%rbx)
	movl	%r12d, (%r13)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_xstrfmt
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %r8
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_match_trees
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_8:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s%s/"

	.no_dead_strip	_match_trees
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_trees
_match_trees:                           ; @match_trees
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x1, x0
	add	x0, sp, #24
	bl	_fill_tree_desc_strict
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_8
; %bb.1:
	sub	w25, w19, #1
Lloh0:
	adrp	x26, l_.str@PAGE
Lloh1:
	add	x26, x26, l_.str@PAGEOFF
Lloh2:
	adrp	x27, l_.str.1@PAGE
Lloh3:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	bl	_update_tree_entry
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #14
	bl	_tree_entry_extract
	mov	x28, x0
	ldrh	w0, [sp, #14]
	bl	_S_ISDIR
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	mov	x1, x23
	bl	_score_trees
	ldr	w8, [x22]
	cmp	w8, w0
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	ldr	x0, [x21]
	bl	_free
	ldr	x2, [sp, #16]
	mov	x0, x26
	mov	x1, x20
	bl	_xstrfmt
	str	x0, [x21]
	str	w24, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w19, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #16]
	mov	x0, x27
	mov	x1, x20
	bl	_xstrfmt
	mov	x24, x0
	mov	x0, x28
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	bl	_match_trees
	mov	x0, x24
	bl	_free
	b	LBB0_2
LBB0_8:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s%s/"

	.no_dead_strip	_match_trees
.subsections_via_symbols
