	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zallocstats                    ## -- Begin function zallocstats
	.p2align	4, 0x90
_zallocstats:                           ## @zallocstats
	.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
	movl	24(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_printf
	movq	8(%r14), %rcx
	movq	16(%r14), %rax
	movl	%eax, %esi
	subl	%ecx, %esi
	cmpq	%rcx, %rax
	cmovel	%r15d, %esi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %r9
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rdi
	movq	%rdi, %rcx
	addq	%rax, %rcx
	xorl	%ebx, %ebx
	cmpq	%r9, %rcx
	setne	%bl
	cmovel	%r8d, %edi
	addl	%edi, %r15d
	addl	%ebx, %edx
	movq	8(%rax), %rax
	movl	%eax, %edi
	subl	%ecx, %edi
	testq	%rax, %rax
	cmovel	%r8d, %edi
	addl	%edi, %esi
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%edx, %edx
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d bytes reserved"

L_.str.1:                               ## @.str.1
	.asciz	" %d bytes allocated\n%d fragments (%d bytes fragmented)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zallocstats                    ; -- Begin function zallocstats
	.p2align	2
_zallocstats:                           ; @zallocstats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w1, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldp	x8, x9, [x19, #8]
	sub	w10, w9, w8
	cmp	x9, x8
	csel	w1, wzr, w10, eq
	cbz	x9, LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w10, #0
	ldr	x11, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x9]
	add	x13, x9, x12
	cmp	x13, x11
	csel	w12, wzr, w12, eq
	add	w10, w12, w10
	cinc	w8, w8, ne
	ldr	x9, [x9, #8]
	sub	w12, w9, w13
	cmp	x9, #0
	csel	w12, wzr, w12, eq
	add	w1, w12, w1
	cbnz	x9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w10, #0
	mov	w8, #0
LBB0_4:
	stp	x8, x10, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d bytes reserved"

l_.str.1:                               ; @.str.1
	.asciz	" %d bytes allocated\n%d fragments (%d bytes fragmented)\n"

.subsections_via_symbols
