	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheReleaseMemory             ## -- Begin function CacheReleaseMemory
	.p2align	4, 0x90
_CacheReleaseMemory:                    ## @CacheReleaseMemory
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_TRACE
	movq	_CacheManagerInitialized@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	jle	LBB0_5
## %bb.2:
	movq	_CacheManagerDrive@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_CacheInternalFreeBlock
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r15), %rax
	movslq	4(%r15), %rcx
	imulq	%rax, %rcx
	addq	%rcx, %rbx
	cmpq	%r14, %rbx
	jl	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	cmpq	%r14, %rbx
	setge	%al
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CacheReleaseMemory() MinimumAmountToRelease = %d\n"

	.comm	_CacheManagerInitialized,8,3    ## @CacheManagerInitialized
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_CacheManagerDrive,8,2          ## @CacheManagerDrive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheReleaseMemory             ; -- Begin function CacheReleaseMemory
	.p2align	2
_CacheReleaseMemory:                    ; @CacheReleaseMemory
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
Lloh2:
	adrp	x8, _CacheManagerInitialized@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CacheManagerInitialized@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.1:
	cmp	x19, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
Lloh8:
	adrp	x20, _CacheManagerDrive@GOTPAGE
Lloh9:
	ldr	x20, [x20, _CacheManagerDrive@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_CacheInternalFreeBlock
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldpsw	x8, x9, [x20]
	madd	x21, x9, x8, x21
	cmp	x21, x19
	b.lt	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x21, #0
LBB0_6:
	cmp	x21, x19
	cset	w0, ge
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CacheReleaseMemory() MinimumAmountToRelease = %d\n"

	.comm	_CacheManagerInitialized,8,3    ; @CacheManagerInitialized
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_CacheManagerDrive,8,2          ; @CacheManagerDrive
.subsections_via_symbols
