	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finalize_tree
_finalize_tree:                         ## @finalize_tree
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	12(%rdi), %r15
	movq	%r15, %rdi
	callq	_has_local_rule
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	20(%rbx), %eax
	movl	%eax, %ecx
	jmp	LBB0_4
LBB0_7:
	retq
LBB0_3:
	movq	_authz_access_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_authz_access_none@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	movl	%eax, 16(%rbx)
	movl	%ecx, 12(%rbx)
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_subnode_hash
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	24(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_tree
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_tree
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_subnode_array
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_subnode_array
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_finalize_subnode_array
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_link_prefix_patterns
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_link_prefix_patterns
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_combine_right_limits           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_authz_access_write,4,2         ## @authz_access_write
	.comm	_authz_access_none,4,2          ## @authz_access_none
	.no_dead_strip	_finalize_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finalize_tree
_finalize_tree:                         ; @finalize_tree
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_remember_state
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	add	x20, x0, #12
	mov	x0, x20
	bl	_has_local_rule
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21, #20]
	mov	x9, x8
	b	LBB0_5
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
LBB0_4:
	.cfi_restore_state
Lloh0:
	adrp	x8, _authz_access_write@GOTPAGE
Lloh1:
	ldr	x8, [x8, _authz_access_write@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _authz_access_none@GOTPAGE
Lloh4:
	ldr	x9, [x9, _authz_access_none@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
LBB0_5:
	stp	w9, w8, [x21, #12]
	ldr	w0, [x21, #8]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_subnode_hash
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x0, [x8, #24]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_tree
	ldr	x8, [x21]
	ldr	x0, [x8, #16]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_tree
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_subnode_array
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_subnode_array
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	mov	x1, x20
	mov	x2, x22
	bl	_finalize_subnode_array
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_link_prefix_patterns
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_link_prefix_patterns
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_combine_right_limits
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_authz_access_write,4,2         ; @authz_access_write
	.comm	_authz_access_none,4,2          ; @authz_access_none
	.no_dead_strip	_finalize_tree
.subsections_via_symbols
