	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function pmcstat_refresh_top
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pmcstat_refresh_top:                   ## @pmcstat_refresh_top
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_pmcstat_pause@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.1:
	movq	_pmcstat_pmcinfilter@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_pmcstat_pmcindex_to_pmcr
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r14
	movq	_pmcstat_mergepmc@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	12(%r14), %edi
	callq	_pmcstat_string_unintern
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$40, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %r8d
	leaq	L_.str.1(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$40, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_5:
	movq	_ps_samples_period@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	xorps	%xmm0, %xmm0
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm2
	jbe	LBB0_7
## %bb.6:
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm2, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
LBB0_7:
	movss	%xmm0, -84(%rbp)                ## 4-byte Spill
	callq	_PMCSTAT_ATTRPERCENT
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_PMCSTAT_PRINTBEGIN
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	leaq	L_.str.2(%rip), %rdi
	leaq	-80(%rbp), %rsi
	movb	$1, %al
	callq	_PMCSTAT_PRINTW
	movl	%ebx, %edi
	callq	_PMCSTAT_ATTRON
	movss	-84(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	leaq	L_.str.3(%rip), %rdi
	movb	$1, %al
	callq	_PMCSTAT_PRINTW
	movl	%ebx, %edi
	callq	_PMCSTAT_ATTROFF
	movss	8(%r14), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	leaq	L_.str.4(%rip), %rdi
	movb	$1, %al
	callq	_PMCSTAT_PRINTW
	movq	_plugins@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_args@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_9:
	xorl	%eax, %eax
	callq	_PMCSTAT_PRINTEND
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_pmcstat_pause,8,3              ## @pmcstat_pause
	.comm	_pmcstat_pmcinfilter,4,2        ## @pmcstat_pmcinfilter
	.comm	_pmcstat_mergepmc,8,3           ## @pmcstat_mergepmc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s]"

L_.str.1:                               ## @.str.1
	.asciz	"%s.%d"

	.comm	_ps_samples_period,8,3          ## @ps_samples_period
L_.str.2:                               ## @.str.2
	.asciz	"PMC: %s Samples: %u "

L_.str.3:                               ## @.str.3
	.asciz	"(%.1f%%) "

L_.str.4:                               ## @.str.4
	.asciz	", %u unresolved\n\n"

	.comm	_plugins,8,3                    ## @plugins
	.comm	_args,8,3                       ## @args
	.no_dead_strip	_pmcstat_refresh_top
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmcstat_refresh_top
_pmcstat_refresh_top:                   ; @pmcstat_refresh_top
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -56
	.cfi_offset b9, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _pmcstat_pause@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pmcstat_pause@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbnz	x8, LBB0_10
; %bb.1:
Lloh6:
	adrp	x20, _pmcstat_pmcinfilter@GOTPAGE
Lloh7:
	ldr	x20, [x20, _pmcstat_pmcinfilter@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_pmcstat_pmcindex_to_pmcr
	cbz	x0, LBB0_10
; %bb.2:
	mov	x19, x0
Lloh8:
	adrp	x8, _pmcstat_mergepmc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pmcstat_mergepmc@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x8]
	ldr	w0, [x0, #12]
	bl	_pmcstat_string_unintern
	mov	x3, x0
	cbz	x21, LBB0_4
; %bb.3:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	add	x0, sp, #16
	mov	w1, #40
	bl	_snprintf
Lloh15:
	adrp	x8, _ps_samples_period@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ps_samples_period@GOTPAGEOFF]
Lloh17:
	ldr	d0, [x8]
	movi	d8, #0000000000000000
	fcmp	d0, #0.0
	b.le	LBB0_7
; %bb.6:
	ldr	d1, [x19]
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fmul	d1, d1, d2
	fdiv	d0, d1, d0
	fcvt	s8, d0
LBB0_7:
	fmov	s0, s8
	bl	_PMCSTAT_ATTRPERCENT
	mov	x20, x0
	bl	_PMCSTAT_PRINTBEGIN
	ldr	d0, [x19]
	str	d0, [sp, #8]
	add	x8, sp, #16
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PMCSTAT_PRINTW
	mov	x0, x20
	bl	_PMCSTAT_ATTRON
	fcvt	d0, s8
	str	d0, [sp]
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_PMCSTAT_PRINTW
	mov	x0, x20
	bl	_PMCSTAT_ATTROFF
	ldr	s0, [x19, #8]
	fcvt	d0, s0
	str	d0, [sp]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_PMCSTAT_PRINTW
Lloh24:
	adrp	x8, _plugins@GOTPAGE
Lloh25:
	ldr	x8, [x8, _plugins@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _args@GOTPAGE
Lloh28:
	ldr	x9, [x9, _args@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_9
; %bb.8:
	blr	x8
LBB0_9:
	bl	_PMCSTAT_PRINTEND
LBB0_10:
	ldr	x8, [sp, #56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_pmcstat_pause,8,3              ; @pmcstat_pause
	.comm	_pmcstat_pmcinfilter,4,2        ; @pmcstat_pmcinfilter
	.comm	_pmcstat_mergepmc,8,3           ; @pmcstat_mergepmc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s]"

l_.str.1:                               ; @.str.1
	.asciz	"%s.%d"

	.comm	_ps_samples_period,8,3          ; @ps_samples_period
l_.str.2:                               ; @.str.2
	.asciz	"PMC: %s Samples: %u "

l_.str.3:                               ; @.str.3
	.asciz	"(%.1f%%) "

l_.str.4:                               ; @.str.4
	.asciz	", %u unresolved\n\n"

	.comm	_plugins,8,3                    ; @plugins
	.comm	_args,8,3                       ; @args
	.no_dead_strip	_pmcstat_refresh_top
.subsections_via_symbols
