	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memstat_sysctl_uma             ## -- Begin function memstat_sysctl_uma
	.p2align	4, 0x90
_memstat_sysctl_uma:                    ## @memstat_sysctl_uma
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %rdi
	callq	_LIST_EMPTY
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	$4, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-52(%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	-52(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	88(,%rcx,8), %rdi
	imulq	%rax, %rdi
	addq	$64, %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	-52(%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	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_18:
	movl	$-1, %eax
LBB0_19:
	addq	$72, %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_45
## %bb.21:
	cmpq	$15, %rax
	jbe	LBB0_46
## %bb.22:
	movq	(%r13), %rax
	movq	_UMA_STREAM_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_46
## %bb.23:
	movl	8(%r13), %ebx
	movl	12(%r13), %eax
	movl	%eax, -68(%rbp)
	testl	%eax, %eax
	jle	LBB0_45
## %bb.24:
	movq	%r13, %r15
	addq	$16, %r15
	movl	%ebx, %r9d
	andl	$-2, %r9d
	xorl	%r10d, %r10d
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	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_47
LBB0_28:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	24(%r15), %rcx
	movq	%rcx, 56(%r12)
	addl	48(%r12), %ecx
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=1
	addl	%ecx, %eax
	movl	%eax, 48(%r12)
	incl	%r10d
	movq	%r14, %r15
	cmpl	-68(%rbp), %r10d
	jge	LBB0_45
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ALLOCATOR_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	movl	-52(%rbp), %ecx
	incl	%ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	__memstat_mt_allocate
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_33
	jmp	LBB0_48
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	_ALLOCATOR_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_memstat_mtl_find
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=1
	leaq	64(%r15), %r14
	movl	-52(%rbp), %esi
	incl	%esi
	movq	%r12, %rdi
	callq	__memstat_mt_reset_stats
	movl	(%r15), %eax
	movl	%eax, (%r12)
	movl	4(%r15), %ecx
	movl	%ecx, 4(%r12)
	movl	52(%r15), %edx
	movl	%edx, 88(%r12)
	movl	48(%r15), %edx
	movl	%edx, 84(%r12)
	movl	44(%r15), %edx
	movl	%edx, 80(%r12)
	testl	%ebx, %ebx
	jle	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	72(%r12), %r8
	movl	48(%r12), %edx
	cmpl	$1, %ebx
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	jne	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%edi, %edi
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	cmpl	%ecx, %eax
	jl	LBB0_42
	jmp	LBB0_43
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rsi), %rbx
	movq	%rbx, (%r8,%rdi,8)
	addl	%edx, %ebx
	addl	8(%rsi), %eax
	addl	(%rsi), %ecx
	leaq	48(%rsi), %r14
	movq	40(%rsi), %rdx
	movq	%rdx, 8(%r8,%rdi,8)
	addl	%ebx, %edx
	addl	32(%rsi), %eax
	addl	24(%rsi), %ecx
	addq	$2, %rdi
	movq	%r14, %rsi
	cmpq	%rdi, %r9
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	testb	$1, %bl
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	16(%r14), %rsi
	movq	%rsi, (%r8,%rdi,8)
	addl	8(%r14), %eax
	addl	(%r14), %ecx
	addq	$24, %r14
	addl	%esi, %edx
LBB0_41:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	%edx, 48(%r12)
	movl	%eax, (%r12)
	movl	%ecx, 4(%r12)
	cmpl	%ecx, %eax
	jge	LBB0_43
LBB0_42:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	%ecx, (%r12)
	movl	%ecx, %eax
LBB0_43:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	8(%r15), %edx
	movl	%edx, 8(%r12)
	movl	40(%r15), %esi
	movl	%esi, 64(%r12)
	movl	%eax, %esi
	imull	%edx, %esi
	movl	%esi, 12(%r12)
	movl	%edx, %edi
	imull	%ecx, %edi
	movl	%edi, 16(%r12)
	subl	%edi, %esi
	movl	%esi, 20(%r12)
	movl	12(%r15), %esi
	movl	%esi, 24(%r12)
	imull	%edx, %esi
	movl	%esi, 28(%r12)
	subl	%ecx, %eax
	movl	%eax, 32(%r12)
	movq	32(%r15), %rax
	movq	%rax, 40(%r12)
	movq	_UTH_ZONE_SECONDARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%r15)
	je	LBB0_28
## %bb.44:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	48(%r12), %ecx
	jmp	LBB0_29
LBB0_45:
	movq	%r13, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_46:
	movq	_MEMSTAT_ERROR_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_47:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_48:
	movq	-48(%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.maxid"

	.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	"vm.zone_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	"vm.zone_stats"

	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_UMA_STREAM_VERSION,8,3         ## @UMA_STREAM_VERSION
	.comm	_ALLOCATOR_UMA,4,2              ## @ALLOCATOR_UMA
	.comm	_UTH_ZONE_SECONDARY,4,2         ## @UTH_ZONE_SECONDARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memstat_sysctl_uma             ; -- Begin function memstat_sysctl_uma
	.p2align	2
_memstat_sysctl_uma:                    ; @memstat_sysctl_uma
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	add	x0, x0, #8
	bl	_LIST_EMPTY
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	mov	w8, #4
	str	x8, [sp, #64]
	stp	xzr, xzr, [sp, #16]
	add	x25, sp, #64
	add	x26, sp, #72
	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, #76
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	w20, #24
	orr	x19, xzr, #0x40
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh6:
	adrp	x24, _errno@GOTPAGE
Lloh7:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #64]
	cmp	x8, #4
	b.ne	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x27, [sp, #64]
	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, #64]
	cmp	x8, #4
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldpsw	x9, x8, [sp, #72]
	mul	x9, x9, x20
	add	x9, x9, #88
	madd	x0, x9, x8, x19
	str	x0, [sp, #64]
	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, [x24]
Lloh8:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_free
	str	x27, [sp, #64]
	stp	xzr, xzr, [sp, #16]
	stp	x26, x25, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sysctlbyname
	tbz	x0, #63, LBB0_2
LBB0_9:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _EACCES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _EPERM@GOTPAGE
Lloh20:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, _MEMSTAT_ERROR_PERMISSION@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MEMSTAT_ERROR_PERMISSION@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh24:
	adrp	x8, _MEMSTAT_ERROR_DATAERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MEMSTAT_ERROR_DATAERROR@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_15:
	ldr	x8, [x24]
Lloh26:
	adrp	x9, _EACCES@GOTPAGE
Lloh27:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
Lloh29:
	adrp	x10, _EPERM@GOTPAGE
Lloh30:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_10
; %bb.16:
Lloh32:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	b	LBB0_12
LBB0_17:
Lloh34:
	adrp	x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGEOFF]
	b	LBB0_12
LBB0_18:
	ldr	x8, [sp, #64]
	cbz	x8, LBB0_45
; %bb.19:
	cmp	x8, #15
	b.hi	LBB0_24
; %bb.20:
Lloh36:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh38:
	adrp	x9, _EACCES@GOTPAGE
Lloh39:
	ldr	x9, [x9, _EACCES@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
Lloh41:
	adrp	x10, _EPERM@GOTPAGE
Lloh42:
	ldr	x10, [x10, _EPERM@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	cmp	x8, x10
Lloh44:
	adrp	x10, _MEMSTAT_ERROR_PERMISSION@GOTPAGE
Lloh45:
	ldr	x10, [x10, _MEMSTAT_ERROR_PERMISSION@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
Lloh46:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
	csel	x8, x10, x8, eq
LBB0_22:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_23:
	mov	x0, x21
	bl	_free
	b	LBB0_13
LBB0_24:
	ldr	x8, [x21]
Lloh48:
	adrp	x9, _UMA_STREAM_VERSION@GOTPAGE
Lloh49:
	ldr	x9, [x9, _UMA_STREAM_VERSION@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	b.ne	LBB0_46
; %bb.25:
	ldp	w23, w8, [x21, #8]
	str	w8, [sp, #76]
	cmp	w8, #1
	ldr	w20, [sp, #52]                  ; 4-byte Folded Reload
	b.lt	LBB0_45
; %bb.26:
	mov	w24, #0
	add	x28, x21, #16
	and	x25, x23, #0xfffffff8
	add	x8, x25, x25, lsl #1
	lsl	x8, x8, #3
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
Lloh51:
	adrp	x27, _ALLOCATOR_UMA@GOTPAGE
Lloh52:
	ldr	x27, [x27, _ALLOCATOR_UMA@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	x9, [x28, #24]
	str	x9, [x22, #56]
	ldr	w10, [x22, #48]
	add	w9, w10, w9
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w8, w9, w8
	str	w8, [x22, #48]
	add	w24, w24, #1
	ldr	w8, [sp, #76]
	mov	x28, x26
	cmp	w24, w8
	b.ge	LBB0_45
LBB0_29:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
	cbz	w20, LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [x27]
	ldr	w2, [x28, #56]
	ldr	w8, [sp, #72]
	add	w3, w8, #1
	mov	x0, x19
	bl	__memstat_mt_allocate
	mov	x22, x0
	cbnz	x0, LBB0_32
	b	LBB0_47
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w1, [x27]
	ldr	w2, [x28, #56]
	mov	x0, x19
	bl	_memstat_mtl_find
	mov	x22, x0
	cbz	x0, LBB0_30
LBB0_32:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x26, x28, #64
	ldr	w8, [sp, #72]
	add	w1, w8, #1
	mov	x0, x22
	bl	__memstat_mt_reset_stats
	ldr	w9, [x28]
	str	w9, [x22]
	ldr	w10, [x28, #4]
	str	w10, [x22, #4]
	ldr	w8, [x28, #52]
	str	w8, [x22, #88]
	ldur	d0, [x28, #44]
	str	d0, [x22, #80]
	cmp	w23, #1
	b.lt	LBB0_41
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x8, [x22, #72]
	ldr	w11, [x22, #48]
	cmp	w23, #8
	b.hs	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x12, #0
	b	LBB0_38
LBB0_35:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	x12, [sp, #40]                  ; 8-byte Folded Reload
	add	x26, x26, x12
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w10
	movi.2d	v2, #0000000000000000
	mov.s	v2[0], w9
	movi.2d	v5, #0000000000000000
	mov.s	v5[0], w11
	movi.2d	v1, #0000000000000000
	add	x9, x28, #112
	add	x10, x8, #32
	mov	x11, x25
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_36:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x12, x9, #48
	ld3.2d	{ v20, v21, v22 }, [x12]
	add	x12, x9, #96
	mov	x13, x9
	ld3.2d	{ v23, v24, v25 }, [x13], #48
	ld3.2d	{ v26, v27, v28 }, [x13]
	ld3.2d	{ v29, v30, v31 }, [x12]
	xtn.2s	v8, v22
	xtn.2s	v9, v25
	xtn.2s	v10, v28
	xtn.2s	v11, v31
	add.2s	v5, v5, v8
	add.2s	v17, v17, v9
	add.2s	v18, v18, v10
	add.2s	v19, v19, v11
	xtn.2s	v8, v21
	stp	q22, q25, [x10, #-32]
	xtn.2s	v9, v24
	xtn.2s	v10, v27
	xtn.2s	v11, v30
	stp	q28, q31, [x10], #64
	add.2s	v2, v2, v8
	add.2s	v6, v6, v9
	add.2s	v7, v7, v10
	add.2s	v16, v16, v11
	xtn.2s	v20, v20
	xtn.2s	v21, v23
	xtn.2s	v22, v26
	xtn.2s	v23, v29
	add.2s	v0, v0, v20
	add.2s	v1, v1, v21
	add.2s	v3, v3, v22
	add.2s	v4, v4, v23
	add	x9, x9, #192
	subs	x11, x11, #8
	b.ne	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_29 Depth=1
	add.2s	v5, v17, v5
	add.2s	v5, v18, v5
	add.2s	v5, v19, v5
	addp.2s	v5, v5, v5
	fmov	w11, s5
	add.2s	v2, v6, v2
	add.2s	v2, v7, v2
	add.2s	v2, v16, v2
	addp.2s	v2, v2, v2
	fmov	w9, s2
	add.2s	v0, v1, v0
	add.2s	v0, v3, v0
	add.2s	v0, v4, v0
	addp.2s	v0, v0, v0
	fmov	w10, s0
	mov	x12, x25
	cmp	x25, x23
	b.eq	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x8, x8, x12, lsl #3
	sub	x12, x23, x12
	mov	x13, x26
LBB0_39:                                ;   Parent Loop BB0_29 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x26, x13, #24
	ldr	x14, [x13, #16]
	str	x14, [x8], #8
	add	w11, w11, w14
	ldr	w14, [x13, #8]
	add	w9, w9, w14
	ldr	w13, [x13]
	add	w10, w10, w13
	mov	x13, x26
	subs	x12, x12, #1
	b.ne	LBB0_39
LBB0_40:                                ;   in Loop: Header=BB0_29 Depth=1
	str	w11, [x22, #48]
	stp	w9, w10, [x22]
LBB0_41:                                ;   in Loop: Header=BB0_29 Depth=1
	cmp	w9, w10
	b.ge	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_29 Depth=1
	str	w10, [x22]
	mov	x9, x10
LBB0_43:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	w8, [x28, #8]
	str	w8, [x22, #8]
	ldr	w11, [x28, #40]
	str	w11, [x22, #64]
	mul	w11, w9, w8
	mul	w12, w8, w10
	stp	w11, w12, [x22, #12]
	sub	w11, w11, w12
	str	w11, [x22, #20]
	ldr	w11, [x28, #12]
	mul	w8, w11, w8
	stp	w11, w8, [x22, #24]
	sub	w8, w9, w10
	str	w8, [x22, #32]
	ldr	x8, [x28, #32]
	str	x8, [x22, #40]
	ldr	w9, [x28, #16]
Lloh53:
	adrp	x10, _UTH_ZONE_SECONDARY@GOTPAGE
Lloh54:
	ldr	x10, [x10, _UTH_ZONE_SECONDARY@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_27
; %bb.44:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w9, [x22, #48]
	b	LBB0_28
LBB0_45:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_14
LBB0_46:
Lloh56:
	adrp	x8, _MEMSTAT_ERROR_VERSION@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MEMSTAT_ERROR_VERSION@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_23
LBB0_47:
	mov	x0, x19
	bl	__memstat_mtl_empty
	mov	x0, x21
	bl	_free
Lloh59:
	adrp	x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MEMSTAT_ERROR_NOMEMORY@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kern.smp.maxid"

	.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	"vm.zone_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	"vm.zone_stats"

	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_UMA_STREAM_VERSION,8,3         ; @UMA_STREAM_VERSION
	.comm	_ALLOCATOR_UMA,4,2              ; @ALLOCATOR_UMA
	.comm	_UTH_ZONE_SECONDARY,4,2         ; @UTH_ZONE_SECONDARY
.subsections_via_symbols
