	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheInternalFreeBlock         ## -- Begin function CacheInternalFreeBlock
	.p2align	4, 0x90
_CacheInternalFreeBlock:                ## @CacheInternalFreeBlock
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	leaq	8(%rbx), %r15
	movl	8(%rbx), %edi
	movq	_CACHE_BLOCK@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_ListEntry@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_CONTAINING_RECORD
	movq	%rax, %r12
	cmpq	%rbx, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	movq	%r12, %rbx
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movl	(%r13), %esi
	movl	(%r14), %edx
	callq	_CONTAINING_RECORD
	movq	%rax, %r12
	movq	%rax, %rbx
	addq	$8, %rbx
	cmpq	%r15, %rbx
	jne	LBB0_2
LBB0_4:
	movq	%r15, %rbx
LBB0_5:
	movq	%r15, %rdi
	callq	_IsListEmpty
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_RemoveEntryList
	movq	(%r12), %rdi
	movq	_TAG_CACHE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FrLdrTempFree
	movq	_TAG_CACHE_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_FrLdrTempFree
	movq	_CacheBlockCount@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	decl	%ecx
	movl	%ecx, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	imull	(%rax), %ecx
	imull	4(%rax), %ecx
	movq	_CacheSizeCurrent@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %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	"CacheInternalFreeBlock()\n"

	.comm	_CACHE_BLOCK,4,2                ## @CACHE_BLOCK
	.comm	_ListEntry,4,2                  ## @ListEntry
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TAG_CACHE_DATA,4,2             ## @TAG_CACHE_DATA
	.comm	_TAG_CACHE_BLOCK,4,2            ## @TAG_CACHE_BLOCK
	.comm	_CacheBlockCount,4,2            ## @CacheBlockCount
	.comm	_CacheSizeCurrent,4,2           ## @CacheSizeCurrent
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheInternalFreeBlock         ; -- Begin function CacheInternalFreeBlock
	.p2align	2
_CacheInternalFreeBlock:                ; @CacheInternalFreeBlock
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x20, x19
	ldr	w0, [x20, #8]!
Lloh2:
	adrp	x23, _CACHE_BLOCK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CACHE_BLOCK@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh4:
	adrp	x24, _ListEntry@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ListEntry@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_CONTAINING_RECORD
	mov	x21, x0
	cmp	x0, x19
	b.eq	LBB0_4
; %bb.1:
	add	x22, x21, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_CONTAINING_RECORD
	mov	x21, x0
	add	x22, x0, #8
	cmp	x22, x20
	b.ne	LBB0_2
LBB0_4:
	mov	x22, x20
LBB0_5:
	mov	x0, x20
	bl	_IsListEmpty
	cbz	x0, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	x0, x22
	bl	_RemoveEntryList
	ldr	x0, [x21]
Lloh8:
	adrp	x8, _TAG_CACHE_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TAG_CACHE_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_FrLdrTempFree
Lloh11:
	adrp	x8, _TAG_CACHE_BLOCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TAG_CACHE_BLOCK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_FrLdrTempFree
Lloh14:
	adrp	x8, _CacheBlockCount@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CacheBlockCount@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	w8, w10, [x19]
	mul	w8, w8, w9
	mul	w8, w8, w10
Lloh16:
	adrp	x9, _CacheSizeCurrent@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CacheSizeCurrent@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
Lloh19:
	adrp	x8, _TRUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CacheInternalFreeBlock()\n"

	.comm	_CACHE_BLOCK,4,2                ; @CACHE_BLOCK
	.comm	_ListEntry,4,2                  ; @ListEntry
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TAG_CACHE_DATA,4,2             ; @TAG_CACHE_DATA
	.comm	_TAG_CACHE_BLOCK,4,2            ; @TAG_CACHE_BLOCK
	.comm	_CacheBlockCount,4,2            ; @CacheBlockCount
	.comm	_CacheSizeCurrent,4,2           ; @CacheSizeCurrent
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
