	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memstat_sysctl_malloc          ## -- Begin function memstat_sysctl_malloc
	.p2align	4, 0x90
_memstat_sysctl_malloc:                 ## @memstat_sysctl_malloc
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %rdi
	callq	_LIST_EMPTY
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	$4, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	leaq	-68(%rbp), %rbx
	leaq	-64(%rbp), %r14
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$4, -64(%rbp)
	jne	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$4, -64(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$4, -64(%rbp)
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	-68(%rbp), %rax
	movslq	-44(%rbp), %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,4), %rdi
	orq	$4, %rdi
	imulq	%rax, %rdi
	addq	$4, %rdi
	movq	%rdi, -64(%rbp)
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_sysctlbyname
	testq	%rax, %rax
	jns	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_free
	movq	$4, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_sysctlbyname
	testq	%rax, %rax
	jns	LBB0_2
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EACCES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.10:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_11:
	movq	_MEMSTAT_ERROR_DATAERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EACCES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_MEMSTAT_ERROR_VERSION@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_MEMSTAT_ERROR_PERMISSION@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_MEMSTAT_ERROR_NOMEMORY@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_18:
	movl	$-1, %eax
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.21:
	cmpq	$15, %rax
	jbe	LBB0_39
## %bb.22:
	movq	(%r13), %rax
	movq	_MALLOC_TYPE_STREAM_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.23:
	movl	8(%r13), %ecx
	movl	%ecx, -44(%rbp)
	movl	12(%r13), %eax
	movl	%eax, -68(%rbp)
	testl	%eax, %eax
	jle	LBB0_38
## %bb.24:
	movq	%r13, %r15
	addq	$16, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_25:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	movq	_EPERM@GOTPCREL(%rip), %rdi
	movq	_MEMSTAT_ERROR_PERMISSION@GOTPCREL(%rip), %rdx
	movq	%rdx, %rsi
	cmpq	(%rdi), %rax
	je	LBB0_27
## %bb.26:
	movq	_MEMSTAT_ERROR_VERSION@GOTPCREL(%rip), %rsi
LBB0_27:
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movq	(%rsi), %rax
	jmp	LBB0_40
LBB0_28:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	32(%r14), %r8
	movq	24(%r14), %r9
	movq	(%r14), %r11
	movq	8(%r14), %r10
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=1
	subq	%r11, %r10
	subq	%r9, %r8
	movq	%r8, 40(%r14)
	movq	%r10, 16(%r14)
	incl	%ebx
	cmpl	-68(%rbp), %ebx
	jge	LBB0_38
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ALLOCATOR_MALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	__memstat_mt_allocate
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_33
	jmp	LBB0_41
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ALLOCATOR_MALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_memstat_mtl_find
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_37
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=1
	addq	$4, %r15
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	__memstat_mt_reset_stats
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_28
## %bb.34:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	48(%r14), %rax
	movq	32(%r14), %r8
	movq	24(%r14), %r9
	movq	(%r14), %r11
	movq	8(%r14), %r10
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	56(%r14), %ebx
	addq	$32, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r15), %rcx
	movq	24(%r15), %rsi
	movq	16(%r15), %rdi
	movq	8(%r15), %r14
	movl	(%r15), %r12d
	addq	$40, %r15
	addq	%rcx, %r8
	addq	%rsi, %r9
	addq	%rdi, %r10
	addq	%r14, %r11
	orl	%r12d, %ebx
	movq	%rcx, (%rax)
	movq	%rsi, -8(%rax)
	movq	%rdi, -16(%rax)
	movq	%r14, -24(%rax)
	movl	%r12d, -32(%rax)
	incq	%rdx
	movslq	-44(%rbp), %rcx
	addq	$40, %rax
	cmpq	%rcx, %rdx
	jl	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r8, 32(%r14)
	movq	%r9, 24(%r14)
	movq	%r10, 8(%r14)
	movq	%r11, (%r14)
	movl	%ebx, 56(%r14)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-44(%rbp), %ecx
	jmp	LBB0_31
LBB0_38:
	movq	%r13, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_39:
	movq	_MEMSTAT_ERROR_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_40:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_41:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	__memstat_mtl_empty
	movq	%r13, %rdi
	callq	_free
	movq	_MEMSTAT_ERROR_NOMEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kern.smp.maxcpus"

	.comm	_errno,8,3                      ## @errno
	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_EPERM,8,3                      ## @EPERM
	.comm	_MEMSTAT_ERROR_PERMISSION,8,3   ## @MEMSTAT_ERROR_PERMISSION
	.comm	_MEMSTAT_ERROR_DATAERROR,8,3    ## @MEMSTAT_ERROR_DATAERROR
L_.str.1:                               ## @.str.1
	.asciz	"kern.malloc_count"

	.comm	_MEMSTAT_ERROR_VERSION,8,3      ## @MEMSTAT_ERROR_VERSION
	.comm	_MEMSTAT_ERROR_NOMEMORY,8,3     ## @MEMSTAT_ERROR_NOMEMORY
L_.str.2:                               ## @.str.2
	.asciz	"kern.malloc_stats"

	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_MALLOC_TYPE_STREAM_VERSION,8,3 ## @MALLOC_TYPE_STREAM_VERSION
	.comm	_ALLOCATOR_MALLOC,4,2           ## @ALLOCATOR_MALLOC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memstat_sysctl_malloc          ; -- Begin function memstat_sysctl_malloc
	.p2align	2
_memstat_sysctl_malloc:                 ; @memstat_sysctl_malloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	add	x0, x0, #8
	bl	_LIST_EMPTY
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	w8, #4
	str	x8, [sp, #48]
	stp	xzr, xzr, [sp, #16]
	add	x25, sp, #48
	add	x26, sp, #56
	stp	x26, x25, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_9
; %bb.1:
	mov	w27, #4
	add	x28, sp, #60
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	orr	x20, xzr, #0x4
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh6:
	adrp	x19, _errno@GOTPAGE
Lloh7:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x24, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ENOMEM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #48]
	cmp	x8, #4
	b.ne	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x27, [sp, #48]
	stp	xzr, xzr, [sp, #16]
	stp	x28, x25, [sp]
	mov	x0, x22
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #48]
	cmp	x8, #4
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldpsw	x9, x8, [sp, #56]
	add	x9, x9, x9, lsl #2
	mov	w10, #4
	bfi	x10, x9, #3, #61
	madd	x0, x10, x8, x20
	str	x0, [sp, #48]
	bl	_malloc
	cbz	x0, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	stp	xzr, xzr, [sp, #16]
	stp	x0, x25, [sp]
	mov	x0, x23
	bl	_sysctlbyname
	tbz	x0, #63, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_free
	str	x27, [sp, #48]
	stp	xzr, xzr, [sp, #16]
	stp	x26, x25, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sysctlbyname
	tbz	x0, #63, LBB0_2
LBB0_9:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _EACCES@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _EPERM@GOTPAGE
Lloh19:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
LBB0_10:
Lloh21:
	adrp	x8, _MEMSTAT_ERROR_PERMISSION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MEMSTAT_ERROR_PERMISSION@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh23:
	adrp	x8, _MEMSTAT_ERROR_DATAERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MEMSTAT_ERROR_DATAERROR@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_15:
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _EACCES@GOTPAGE
Lloh26:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _EPERM@GOTPAGE
Lloh29:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_10
; %bb.16:
Lloh31:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	b	LBB0_12
LBB0_17:
Lloh33:
	adrp	x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGEOFF]
	b	LBB0_12
LBB0_18:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_37
; %bb.19:
	cmp	x8, #15
	b.hi	LBB0_24
; %bb.20:
Lloh35:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh37:
	adrp	x9, _EACCES@GOTPAGE
Lloh38:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
Lloh40:
	adrp	x10, _EPERM@GOTPAGE
Lloh41:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh42:
	ldr	x10, [x10]
	cmp	x8, x10
Lloh43:
	adrp	x10, _MEMSTAT_ERROR_PERMISSION@GOTPAGE
Lloh44:
	ldr	x10, [x10, _MEMSTAT_ERROR_PERMISSION@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh45:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	csel	x8, x10, x8, eq
LBB0_22:
	ldr	x8, [x8]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_23:
	mov	x0, x21
	bl	_free
	b	LBB0_13
LBB0_24:
	ldr	x8, [x21]
Lloh47:
	adrp	x9, _MALLOC_TYPE_STREAM_VERSION@GOTPAGE
Lloh48:
	ldr	x9, [x9, _MALLOC_TYPE_STREAM_VERSION@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	b.ne	LBB0_38
; %bb.25:
	ldp	w3, w8, [x21, #8]
	stp	w3, w8, [sp, #56]
	cmp	w8, #1
	ldr	w20, [sp, #36]                  ; 4-byte Folded Reload
	b.lt	LBB0_37
; %bb.26:
	mov	w23, #0
	add	x25, x21, #16
Lloh50:
	adrp	x24, _ALLOCATOR_MALLOC@GOTPAGE
Lloh51:
	ldr	x24, [x24, _ALLOCATOR_MALLOC@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x25, x25, #4
	ldp	x9, x8, [x22, #24]
	ldp	x11, x10, [x22]
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	sub	x8, x8, x9
	str	x8, [x22, #40]
	sub	x8, x10, x11
	str	x8, [x22, #16]
	add	w23, w23, #1
	ldr	w8, [sp, #60]
	cmp	w23, w8
	b.ge	LBB0_37
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
	cbz	w20, LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	__memstat_mt_allocate
	mov	x22, x0
	cbnz	x0, LBB0_32
	b	LBB0_39
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_memstat_mtl_find
	mov	x22, x0
	cbz	x0, LBB0_36
LBB0_32:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [sp, #56]
	mov	x0, x22
	bl	__memstat_mt_reset_stats
	ldr	w3, [sp, #56]
	cmp	w3, #0
	b.le	LBB0_27
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x12, #0
	ldr	x15, [x22, #48]
	ldp	x9, x8, [x22, #24]
	ldp	x11, x10, [x22]
	ldr	w13, [x22, #56]
	add	x14, x25, #20
	add	x15, x15, #16
LBB0_34:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x17, x16, [x14, #8]
	add	x8, x8, x16
	ldp	x1, x0, [x14, #-8]
	add	x9, x9, x17
	add	x10, x10, x0
	add	x11, x11, x1
	ldur	w2, [x14, #-16]
	orr	w13, w13, w2
	stp	x17, x16, [x15, #8]
	stp	x1, x0, [x15, #-8]
	stur	w2, [x15, #-16]
	add	x12, x12, #1
	ldrsw	x3, [sp, #56]
	add	x14, x14, #40
	add	x15, x15, #40
	cmp	x12, x3
	b.lt	LBB0_34
; %bb.35:                               ;   in Loop: Header=BB0_29 Depth=1
	stp	x9, x8, [x22, #24]
	stp	x11, x10, [x22]
	sub	x25, x14, #16
	str	w13, [x22, #56]
	b	LBB0_28
LBB0_36:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w3, [sp, #56]
	b	LBB0_30
LBB0_37:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_14
LBB0_38:
Lloh52:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_23
LBB0_39:
	mov	x0, x19
	bl	__memstat_mtl_empty
	mov	x0, x21
	bl	_free
Lloh55:
	adrp	x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kern.smp.maxcpus"

	.comm	_errno,8,3                      ; @errno
	.comm	_EACCES,8,3                     ; @EACCES
	.comm	_EPERM,8,3                      ; @EPERM
	.comm	_MEMSTAT_ERROR_PERMISSION,8,3   ; @MEMSTAT_ERROR_PERMISSION
	.comm	_MEMSTAT_ERROR_DATAERROR,8,3    ; @MEMSTAT_ERROR_DATAERROR
l_.str.1:                               ; @.str.1
	.asciz	"kern.malloc_count"

	.comm	_MEMSTAT_ERROR_VERSION,8,3      ; @MEMSTAT_ERROR_VERSION
	.comm	_MEMSTAT_ERROR_NOMEMORY,8,3     ; @MEMSTAT_ERROR_NOMEMORY
l_.str.2:                               ; @.str.2
	.asciz	"kern.malloc_stats"

	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_MALLOC_TYPE_STREAM_VERSION,8,3 ; @MALLOC_TYPE_STREAM_VERSION
	.comm	_ALLOCATOR_MALLOC,4,2           ; @ALLOCATOR_MALLOC
.subsections_via_symbols
