	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_memory_stats          ## -- Begin function cache_do_memory_stats
	.p2align	4, 0x90
_cache_do_memory_stats:                 ## @cache_do_memory_stats
	.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
	movl	%esi, %edx
	movq	%rdi, %rsi
	leaq	-48(%rbp), %rdi
	callq	_cache_bclear
	movq	_PTR_INTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_MAX_RECORD_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	cmpl	%ecx, %r13d
	jle	LBB0_1
LBB0_5:
	movl	-48(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	%r13d, %rbx
	decq	%rbx
	movq	_FreeCnt@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	3(%rax), %ecx
	movslq	%ecx, %rcx
	incq	%rbx
	incl	%r13d
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movq	8(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_cache_bprintf
	movq	_MAX_RECORD_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PTR_INTS,4,2                   ## @PTR_INTS
	.comm	_MAX_RECORD_WORDS,4,2           ## @MAX_RECORD_WORDS
	.comm	_FreeCnt,8,3                    ## @FreeCnt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FreeCnt[%d] = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_do_memory_stats          ; -- Begin function cache_do_memory_stats
	.p2align	2
_cache_do_memory_stats:                 ; @cache_do_memory_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x2, x1
	mov	x1, x0
	add	x0, sp, #8
	bl	_cache_bclear
Lloh0:
	adrp	x8, _PTR_INTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTR_INTS@GOTPAGEOFF]
Lloh2:
	ldrsw	x19, [x8]
Lloh3:
	adrp	x21, _MAX_RECORD_WORDS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_RECORD_WORDS@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w9, w8, #3
	cmp	w19, w9
	b.le	LBB0_2
LBB0_1:
	ldr	w0, [sp, #8]
	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
	add	sp, sp, #64
	ret
LBB0_2:
Lloh5:
	adrp	x22, _FreeCnt@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FreeCnt@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w8, #3
	cmp	x19, w9, sxtw
	add	x19, x19, #1
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	ldr	x3, [x9, x19, lsl #3]
	cbz	x3, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_cache_bprintf
	ldr	w8, [x21]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PTR_INTS,4,2                   ; @PTR_INTS
	.comm	_MAX_RECORD_WORDS,4,2           ; @MAX_RECORD_WORDS
	.comm	_FreeCnt,8,3                    ; @FreeCnt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FreeCnt[%d] = %d\n"

.subsections_via_symbols
