	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FreeBSDProcessList_scanMemoryInfo
_FreeBSDProcessList_scanMemoryInfo:     ## @FreeBSDProcessList_scanMemoryInfo
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$4, -312(%rbp)
	movq	_MIB_hw_physmem@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-312(%rbp), %r15
	movl	$2, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	(%r13), %eax
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	movl	%ecx, (%r13)
	movq	_MIB_vm_stats_vm_v_active_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movq	_pageSizeKb@GOTPCREL(%rip), %rbx
	movl	(%r13), %eax
	imull	(%rbx), %eax
	movl	%eax, (%r13)
	movq	_MIB_vm_stats_vm_v_wire_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %r14
	movl	$4, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	4(%r13), %eax
	imull	(%rbx), %eax
	movl	%eax, 4(%r13)
	movq	_MIB_vfs_bufspace@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	4(%r13), %eax
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	movl	%ecx, 4(%r13)
	movq	_MIB_vm_stats_vm_v_cache_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r13), %r12
	movl	$4, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%rbx, %r15
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	8(%r13), %eax
	imull	(%rbx), %eax
	movl	%eax, 8(%r13)
	cmpq	$0, 16(%r13)
	je	LBB0_1
## %bb.2:
	movq	$4, -312(%rbp)
	movq	_MIB_kstat_zfs_misc_arcstats_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-312(%rbp), %rcx
	movl	$5, %esi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	movl	(%r12), %eax
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
	movl	(%r14), %edi
	subl	%ecx, %edi
	movl	%edi, (%r14)
	addl	%ecx, %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_3
LBB0_1:
	movl	(%r14), %edi
LBB0_3:
	addl	(%r13), %edi
	movl	%edi, 12(%r13)
	leaq	-304(%rbp), %rsi
	xorl	%ebx, %ebx
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_kvm_getswapinfo
	movl	$0, %edx
	testl	%eax, %eax
	jle	LBB0_11
## %bb.4:
	movl	%eax, %ecx
	cmpl	$4, %eax
	jae	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_6:
	movl	%ecx, %eax
	andl	$-4, %eax
	movq	%rcx, %rdx
	shlq	$4, %rdx
	andq	$-64, %rdx
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	pxor	%xmm3, %xmm3
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	-304(%rbp,%rsi), %xmm7
	movdqa	-288(%rbp,%rsi), %xmm5
	movdqa	-272(%rbp,%rsi), %xmm6
	movdqa	-256(%rbp,%rsi), %xmm8
	movdqa	%xmm7, %xmm4
	punpckhdq	%xmm5, %xmm4            ## xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
	paddd	%xmm4, %xmm3
	movdqa	%xmm6, %xmm4
	punpckhdq	%xmm8, %xmm4            ## xmm4 = xmm4[2],xmm8[2],xmm4[3],xmm8[3]
	paddd	%xmm4, %xmm2
	punpckldq	%xmm5, %xmm7            ## xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
	paddd	%xmm7, %xmm0
	punpckldq	%xmm8, %xmm6            ## xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1]
	paddd	%xmm6, %xmm1
	addq	$64, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
## %bb.8:
	paddd	%xmm3, %xmm2
	pshufd	$85, %xmm2, %xmm3               ## xmm3 = xmm2[1,1,1,1]
	paddd	%xmm2, %xmm3
	movd	%xmm3, %edx
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ebx
	cmpq	%rcx, %rax
	je	LBB0_11
LBB0_9:
	subq	%rax, %rcx
	shlq	$4, %rax
	addq	%rbp, %rax
	addq	$-296, %rax                     ## imm = 0xFED8
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rax), %edx
	addl	-8(%rax), %ebx
	addq	$16, %rax
	decq	%rcx
	jne	LBB0_10
LBB0_11:
	movl	(%r15), %eax
	imull	%eax, %edx
	movl	%edx, 16(%r13)
	imull	%eax, %ebx
	movl	%ebx, 20(%r13)
	movq	$0, 24(%r13)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MIB_hw_physmem,4,2             ## @MIB_hw_physmem
	.comm	_MIB_vm_stats_vm_v_active_count,4,2 ## @MIB_vm_stats_vm_v_active_count
	.comm	_pageSizeKb,4,2                 ## @pageSizeKb
	.comm	_MIB_vm_stats_vm_v_wire_count,4,2 ## @MIB_vm_stats_vm_v_wire_count
	.comm	_MIB_vfs_bufspace,4,2           ## @MIB_vfs_bufspace
	.comm	_MIB_vm_stats_vm_v_cache_count,4,2 ## @MIB_vm_stats_vm_v_cache_count
	.comm	_MIB_kstat_zfs_misc_arcstats_size,4,2 ## @MIB_kstat_zfs_misc_arcstats_size
	.no_dead_strip	_FreeBSDProcessList_scanMemoryInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FreeBSDProcessList_scanMemoryInfo
_FreeBSDProcessList_scanMemoryInfo:     ; @FreeBSDProcessList_scanMemoryInfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w8, #4
	str	x8, [sp]
Lloh3:
	adrp	x8, _MIB_hw_physmem@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIB_hw_physmem@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x3, sp
	mov	w1, #2
	mov	x2, x19
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldr	w8, [x19]
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #10
	str	w8, [x19]
Lloh6:
	adrp	x8, _MIB_vm_stats_vm_v_active_count@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIB_vm_stats_vm_v_active_count@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x3, sp
	mov	w1, #4
	mov	x2, x19
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
Lloh9:
	adrp	x22, _pageSizeKb@GOTPAGE
Lloh10:
	ldr	x22, [x22, _pageSizeKb@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x19]
	mul	w8, w9, w8
	str	w8, [x19]
Lloh11:
	adrp	x8, _MIB_vm_stats_vm_v_wire_count@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MIB_vm_stats_vm_v_wire_count@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x3, sp
	mov	w1, #4
	mov	x2, x20
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldr	w8, [x22]
	ldr	w9, [x19, #4]
	mul	w8, w9, w8
	str	w8, [x19, #4]
Lloh14:
	adrp	x8, _MIB_vfs_bufspace@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MIB_vfs_bufspace@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x3, sp
	mov	w1, #2
	mov	x2, x20
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldr	w8, [x19, #4]
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #10
	str	w8, [x19, #4]
Lloh17:
	adrp	x8, _MIB_vm_stats_vm_v_cache_count@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MIB_vm_stats_vm_v_cache_count@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x21, x19, #8
	mov	x3, sp
	mov	w1, #4
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldr	w8, [x22]
	ldr	w9, [x19, #8]
	mul	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #4
	str	x8, [sp]
Lloh20:
	adrp	x8, _MIB_kstat_zfs_misc_arcstats_size@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MIB_kstat_zfs_misc_arcstats_size@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x3, sp
	mov	w1, #5
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	ldr	w8, [x21]
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w9, w8, #10
	ldr	w8, [x20]
	sub	w8, w8, w9
	str	w8, [x20]
	lsl	w9, w9, #1
	str	w9, [x21]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20]
LBB0_3:
	ldr	w9, [x19]
	add	w0, w8, w9
	str	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #16
	mov	w3, #0
	bl	_kvm_getswapinfo
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w8, w0
	cmp	w0, #8
	b.hs	LBB0_7
; %bb.5:
	mov	x9, #0
	mov	w11, #0
	mov	w10, #0
	b	LBB0_10
LBB0_6:
	mov	w11, #0
	mov	w10, #0
	b	LBB0_12
LBB0_7:
	movi.2d	v0, #0000000000000000
	and	x9, x8, #0xfffffff8
	movi.2d	v1, #0000000000000000
	add	x10, sp, #8
	add	x10, x10, #64
	mov	x11, x9
	movi.2d	v3, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	x12, x10, #64
	ld2.2d	{ v16, v17 }, [x12]
	sub	x12, x10, #32
	ld2.2d	{ v18, v19 }, [x12]
	mov	x12, x10
	ld2.2d	{ v20, v21 }, [x12], #32
	ld2.2d	{ v22, v23 }, [x12]
	xtn.2s	v24, v17
	xtn.2s	v25, v19
	xtn.2s	v26, v21
	xtn.2s	v27, v23
	add.2s	v4, v4, v24
	add.2s	v5, v5, v25
	add.2s	v6, v6, v26
	add.2s	v7, v7, v27
	xtn.2s	v16, v16
	xtn.2s	v17, v18
	xtn.2s	v18, v20
	xtn.2s	v19, v22
	add.2s	v0, v0, v16
	add.2s	v1, v1, v17
	add.2s	v3, v3, v18
	add.2s	v2, v2, v19
	add	x10, x10, #128
	subs	x11, x11, #8
	b.ne	LBB0_8
; %bb.9:
	add.2s	v4, v5, v4
	add.2s	v4, v6, v4
	add.2s	v4, v7, v4
	addp.2s	v4, v4, v4
	fmov	w10, s4
	add.2s	v0, v1, v0
	add.2s	v0, v3, v0
	add.2s	v0, v2, v0
	addp.2s	v0, v0, v0
	fmov	w11, s0
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_10:
	add	x12, sp, #8
	add	x12, x12, x9, lsl #4
	add	x12, x12, #8
	sub	x8, x8, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x12]
	add	w10, w10, w9
	ldur	w9, [x12, #-8]
	add	w11, w11, w9
	add	x12, x12, #16
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	ldr	w8, [x22]
	mul	w9, w10, w8
	mul	w8, w11, w8
	stp	w9, w8, [x19, #16]
	str	xzr, [x19, #24]
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MIB_hw_physmem,4,2             ; @MIB_hw_physmem
	.comm	_MIB_vm_stats_vm_v_active_count,4,2 ; @MIB_vm_stats_vm_v_active_count
	.comm	_pageSizeKb,4,2                 ; @pageSizeKb
	.comm	_MIB_vm_stats_vm_v_wire_count,4,2 ; @MIB_vm_stats_vm_v_wire_count
	.comm	_MIB_vfs_bufspace,4,2           ; @MIB_vfs_bufspace
	.comm	_MIB_vm_stats_vm_v_cache_count,4,2 ; @MIB_vm_stats_vm_v_cache_count
	.comm	_MIB_kstat_zfs_misc_arcstats_size,4,2 ; @MIB_kstat_zfs_misc_arcstats_size
	.no_dead_strip	_FreeBSDProcessList_scanMemoryInfo
.subsections_via_symbols
