	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ProfilePrint
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ProfilePrint
	.p2align	4, 0x90
_ProfilePrint:                          ## @ProfilePrint
	.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	_g_i_hwm@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_12
## %bb.1:
	xorl	%eax, %eax
	callq	_clock
	movq	_g_init_time@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_3
## %bb.2:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_3:
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.4:
	movq	_g_tag@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %r15
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movslq	%esi, %rax
	addq	$40, %r14
	cmpq	%rax, %r13
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	$0, (%rax,%r14)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_clock
	movq	(%rbx), %rcx
	subq	16(%rcx,%r14), %rax
	addq	%rax, 8(%rcx,%r14)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rcx,%r14), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %esi
	jmp	LBB0_7
LBB0_8:
	movq	_CompareEntries@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_g_tag@GOTPCREL(%rip), %rdi
	movl	$4, %edx
	callq	_qsort
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, (%r12)
	jle	LBB0_11
## %bb.9:
	movq	%r12, %r13
	cvtsi2sdq	-48(%rbp), %xmm0        ## 8-byte Folded Reload
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movl	$32, %ebx
	xorl	%r12d, %r12d
	movq	_CLOCKS_PER_SEC@GOTPCREL(%rip), %r15
	leaq	L_.str.4(%rip), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_g_tag@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdq	-24(%rax,%rbx), %xmm0
	movapd	%xmm0, %xmm1
	divsd	(%r15), %xmm1
	movq	_stdout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	mulsd	LCPI0_0(%rip), %xmm1
	cvttsd2si	%xmm1, %ecx
	movl	(%rax,%rbx), %edx
	divsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	mulsd	LCPI0_1(%rip), %xmm0
	movq	-8(%rax,%rbx), %r8
	movq	%r14, %rsi
	movb	$1, %al
	callq	_fprintf
	incq	%r12
	movslq	(%r13), %rax
	addq	$40, %rbx
	cmpq	%rax, %r12
	jl	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_i_hwm,4,2                    ## @g_i_hwm
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ProfilePrint: nothing to print.\n"

	.comm	_g_init_time,8,3                ## @g_init_time
L_.str.1:                               ## @.str.1
	.asciz	"Warning: nothing to show because timer ran for less than 1 clock-tick."

	.comm	_g_tag,8,3                      ## @g_tag
L_.str.2:                               ## @.str.2
	.asciz	"Warning: \"%s\" started but not stopped. (Done now, but result may be over-expensive!)\n"

	.comm	_CompareEntries,4,2             ## @CompareEntries
L_.str.3:                               ## @.str.3
	.asciz	"Profiler results (descending by percentage):\n\n"

L_.str.4:                               ## @.str.4
	.asciz	"< calls: %2d, total ms: %3d, percentage: %3.1f%% > - \"%s\"\n"

	.comm	_CLOCKS_PER_SEC,8,3             ## @CLOCKS_PER_SEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProfilePrint                   ; -- Begin function ProfilePrint
	.p2align	2
_ProfilePrint:                          ; @ProfilePrint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x21, _g_i_hwm@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_i_hwm@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_12
; %bb.1:
	bl	_clock
Lloh2:
	adrp	x8, _g_init_time@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_init_time@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x22, _stdout@GOTPAGE
Lloh6:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
	subs	x20, x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_3:
	ldr	w1, [x21]
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	mov	x24, #0
Lloh9:
	adrp	x25, _g_tag@GOTPAGE
Lloh10:
	ldr	x25, [x25, _g_tag@GOTPAGEOFF]
Lloh11:
	adrp	x19, l_.str.2@PAGE
Lloh12:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	add	x23, x23, #40
	cmp	x24, w1, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x8, [x8, x23]
	cbnz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_clock
	ldr	x8, [x25]
	add	x8, x8, x23
	ldp	x10, x9, [x8, #8]
	sub	x9, x0, x9
	add	x9, x9, x10
	str	x9, [x8, #8]
	ldr	w0, [x22]
	ldr	x8, [x8, #24]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	ldr	w1, [x21]
	b	LBB0_5
LBB0_8:
Lloh13:
	adrp	x8, _CompareEntries@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CompareEntries@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x19, _g_tag@GOTPAGE
Lloh17:
	ldr	x19, [x19, _g_tag@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #4
	bl	_qsort
	ldr	w0, [x22]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x23, #0
	mov	x24, #0
	scvtf	d8, x20
Lloh20:
	adrp	x25, _CLOCKS_PER_SEC@GOTPAGE
Lloh21:
	ldr	x25, [x25, _CLOCKS_PER_SEC@GOTPAGEOFF]
	mov	x26, #70368744177664
	movk	x26, #16527, lsl #48
	mov	x27, #4636737291354636288
Lloh22:
	adrp	x20, l_.str.4@PAGE
Lloh23:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x8, x8, x23
	ldr	d0, [x8, #8]
	scvtf	d0, d0
	ldr	d1, [x25]
	fdiv	d1, d0, d1
	fmov	d2, x26
	fmul	d1, d1, d2
	fcvtzs	w9, d1
	ldr	w0, [x22]
	fdiv	d0, d0, d8
	fmov	d1, x27
	fmul	d0, d0, d1
	ldr	x10, [x8, #24]
	ldr	w8, [x8, #32]
	str	x10, [sp, #24]
	str	d0, [sp, #16]
	stp	x8, x9, [sp]
	mov	x1, x20
	bl	_fprintf
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x23, x23, #40
	cmp	x24, x8
	b.lt	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_12:
Lloh24:
	adrp	x8, _stdout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_fprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_g_i_hwm,4,2                    ; @g_i_hwm
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ProfilePrint: nothing to print.\n"

	.comm	_g_init_time,8,3                ; @g_init_time
l_.str.1:                               ; @.str.1
	.asciz	"Warning: nothing to show because timer ran for less than 1 clock-tick."

	.comm	_g_tag,8,3                      ; @g_tag
l_.str.2:                               ; @.str.2
	.asciz	"Warning: \"%s\" started but not stopped. (Done now, but result may be over-expensive!)\n"

	.comm	_CompareEntries,4,2             ; @CompareEntries
l_.str.3:                               ; @.str.3
	.asciz	"Profiler results (descending by percentage):\n\n"

l_.str.4:                               ; @.str.4
	.asciz	"< calls: %2d, total ms: %3d, percentage: %3.1f%% > - \"%s\"\n"

	.comm	_CLOCKS_PER_SEC,8,3             ; @CLOCKS_PER_SEC
.subsections_via_symbols
