	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function VM_VmProfile_f
LCPI0_0:
	.long	0x42c80000                      ## float 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_VM_VmProfile_f
	.p2align	4, 0x90
_VM_VmProfile_f:                        ## @VM_VmProfile_f
	.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
	movq	_lastVM@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.2:
	shll	$3, %edi
	callq	_Z_Malloc
	movq	%rax, %r12
	movq	8(%r15), %rcx
	movq	%rcx, (%rax)
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	movl	(%r15), %esi
	cmpl	$2, %esi
	jl	LBB0_11
## %bb.3:
	leaq	-1(%rsi), %rdi
	leaq	-2(%rsi), %rdx
	movl	%edi, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_5
## %bb.4:
	movl	$1, %edx
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_11
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	andq	$-4, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %rcx
	movq	%rcx, 8(%r12,%rdx,8)
	addsd	(%rcx), %xmm0
	movq	16(%rcx), %rcx
	movq	%rcx, 16(%r12,%rdx,8)
	addsd	(%rcx), %xmm0
	movq	16(%rcx), %rcx
	movq	%rcx, 24(%r12,%rdx,8)
	addsd	(%rcx), %xmm0
	movq	16(%rcx), %rcx
	movq	%rcx, 32(%r12,%rdx,8)
	addsd	(%rcx), %xmm0
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_6
## %bb.7:
	incq	%rdx
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	leaq	(%r12,%rdx,8), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %rcx
	movq	%rcx, (%rdx,%rdi,8)
	addsd	(%rcx), %xmm0
	incq	%rdi
	cmpq	%rdi, %rax
	jne	LBB0_10
LBB0_11:
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	_VM_ProfileSort@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_qsort
	cmpl	$0, (%r15)
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %r13
	movsd	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movl	8(%r13), %esi
	movq	%r14, %rdi
	movb	$2, %al
	callq	_Com_Printf
	movq	$0, (%r13)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_Com_Printf
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_Free                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lastVM,8,3                     ## @lastVM
	.comm	_VM_ProfileSort,4,2             ## @VM_ProfileSort
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%2i%% %9i %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"    %9.0f total\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VM_VmProfile_f                 ; -- Begin function VM_VmProfile_f
	.p2align	2
_VM_VmProfile_f:                        ; @VM_VmProfile_f
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x8, _lastVM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lastVM@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cbz	x21, LBB0_9
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.2:
	lsl	w0, w8, #3
	bl	_Z_Malloc
	mov	x19, x0
	ldr	x8, [x21, #8]
	str	x8, [x0]
	ldr	d8, [x8]
	ldr	w1, [x21]
	cmp	w1, #1
	b.le	LBB0_5
; %bb.3:
	add	x9, x19, #8
	sub	x10, x1, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	str	x8, [x9], #8
	ldr	d0, [x8]
	fadd	d8, d8, d0
	subs	x10, x10, #1
	b.ne	LBB0_4
LBB0_5:
Lloh3:
	adrp	x8, _VM_ProfileSort@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_ProfileSort@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_qsort
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x22, #0
	mov	w23, #1120403456
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, x22, lsl #3]
	ldr	d1, [x24]
	fcvt	s0, d1
	fmov	s2, w23
	fmul	s0, s0, s2
	fcvt	d0, s0
	fdiv	d0, d0, d8
	fcvtzs	w8, d0
	scvtf	d0, w8
	ldr	w8, [x24, #8]
	str	x8, [sp, #8]
	str	d1, [sp]
	mov	x0, x20
	bl	_Com_Printf
	str	xzr, [x24]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_7
LBB0_8:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	fmov	d0, d8
	bl	_Com_Printf
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_Z_Free
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_lastVM,8,3                     ; @lastVM
	.comm	_VM_ProfileSort,4,2             ; @VM_ProfileSort
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%2i%% %9i %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"    %9.0f total\n"

.subsections_via_symbols
