	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_preferred_base
_cleanup_preferred_base:                ## @cleanup_preferred_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_pbase_tree@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	$0, (%rax)
	testq	%rbx, %rbx
	je	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	8(%rbx), %r14
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rbx
	testq	%r14, %r14
	jne	LBB0_7
LBB0_1:
	movq	_pbase_tree_cache@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	(%rdi,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rdi
	callq	_free
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_FREE_AND_NULL
	movq	(%r14), %rdi
	jmp	LBB0_5
LBB0_6:
	movq	_done_pbase_paths@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_FREE_AND_NULL
	movq	_done_pbase_paths_alloc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_done_pbase_paths_num@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pbase_tree,8,3                 ## @pbase_tree
	.comm	_pbase_tree_cache,8,3           ## @pbase_tree_cache
	.comm	_done_pbase_paths,8,3           ## @done_pbase_paths
	.comm	_done_pbase_paths_alloc,8,3     ## @done_pbase_paths_alloc
	.comm	_done_pbase_paths_num,8,3       ## @done_pbase_paths_num
	.no_dead_strip	_cleanup_preferred_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_preferred_base
_cleanup_preferred_base:                ; @cleanup_preferred_base
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _pbase_tree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pbase_tree@GOTPAGEOFF]
	ldr	x19, [x8]
	str	xzr, [x8]
	cbz	x19, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x20, [x19]
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x19, x20
	cbnz	x20, LBB0_1
LBB0_2:
Lloh2:
	adrp	x19, _pbase_tree_cache@GOTPAGE
Lloh3:
	ldr	x19, [x19, _pbase_tree_cache@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_7
; %bb.3:
	mov	x20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	bl	_ARRAY_SIZE
	cmp	x20, w0, uxtw
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x0, x20, lsl #3]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x8]
	bl	_free
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
	bl	_FREE_AND_NULL
	ldr	x0, [x19]
	b	LBB0_4
LBB0_7:
Lloh4:
	adrp	x8, _done_pbase_paths@GOTPAGE
Lloh5:
	ldr	x8, [x8, _done_pbase_paths@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	bl	_FREE_AND_NULL
Lloh7:
	adrp	x8, _done_pbase_paths_alloc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _done_pbase_paths_alloc@GOTPAGEOFF]
Lloh9:
	str	xzr, [x8]
Lloh10:
	adrp	x8, _done_pbase_paths_num@GOTPAGE
Lloh11:
	ldr	x8, [x8, _done_pbase_paths_num@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pbase_tree,8,3                 ; @pbase_tree
	.comm	_pbase_tree_cache,8,3           ; @pbase_tree_cache
	.comm	_done_pbase_paths,8,3           ; @done_pbase_paths
	.comm	_done_pbase_paths_alloc,8,3     ; @done_pbase_paths_alloc
	.comm	_done_pbase_paths_num,8,3       ; @done_pbase_paths_num
	.no_dead_strip	_cleanup_preferred_base
.subsections_via_symbols
