	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function estimate_repack_memory
_estimate_repack_memory:                ## @estimate_repack_memory
	.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	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_approximate_object_count
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	(%rax,%rax,4), %rbx
	shlq	$2, %rbx
	movq	_delta_base_cache_limit@GOTPCREL(%rip), %rax
	movq	_max_delta_cache_size@GOTPCREL(%rip), %rcx
	addq	(%r14), %rbx
	addq	8(%r14), %rbx
	addq	(%rax), %rbx
	addq	(%rcx), %rbx
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_delta_base_cache_limit,8,3     ## @delta_base_cache_limit
	.comm	_max_delta_cache_size,8,3       ## @max_delta_cache_size
	.no_dead_strip	_estimate_repack_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function estimate_repack_memory
_estimate_repack_memory:                ; @estimate_repack_memory
	.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
	mov	x19, x0
	bl	_approximate_object_count
	mov	x8, #0
	cbz	x19, LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	ldp	x8, x9, [x19]
	mov	w10, #20
Lloh0:
	adrp	x11, _delta_base_cache_limit@GOTPAGE
Lloh1:
	ldr	x11, [x11, _delta_base_cache_limit@GOTPAGEOFF]
Lloh2:
	adrp	x12, _max_delta_cache_size@GOTPAGE
Lloh3:
	ldr	x12, [x12, _max_delta_cache_size@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
Lloh5:
	ldr	x12, [x12]
	madd	x8, x0, x10, x8
	add	x8, x8, x9
	add	x8, x8, x11
	add	x8, x8, x12
LBB0_3:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_delta_base_cache_limit,8,3     ; @delta_base_cache_limit
	.comm	_max_delta_cache_size,8,3       ; @max_delta_cache_size
	.no_dead_strip	_estimate_repack_memory
.subsections_via_symbols
