	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function print_counter
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_print_counter:                         ## @print_counter
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_perf_evsel__nr_cpus
	testl	%eax, %eax
	jle	LBB0_15
## %bb.1:
	movl	$2, %r14d
	xorpd	%xmm0, %xmm0
	movq	_output@GOTPCREL(%rip), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	movl	$10, %edi
	callq	_fputc
	incq	%r13
	movq	%r12, %rdi
	callq	_perf_evsel__nr_cpus
	cltq
	addq	$3, %r14
	cmpq	%rax, %r13
	xorpd	%xmm0, %xmm0
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movsd	(%rax,%r14,8), %xmm1            ## xmm1 = mem[0],zero
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	ucomisd	%xmm0, %xmm1
	jne	LBB0_3
	jnp	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsd	-8(%rax,%r14,8), %xmm1          ## xmm1 = mem[0],zero
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	ucomisd	%xmm0, %xmm1
	jne	LBB0_8
	jnp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsd	-16(%rax,%r14,8), %xmm0         ## xmm0 = mem[0],zero
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_nsec_counter
	movl	%r13d, %edi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_nsec_printout
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	_csv_output@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%r15b
	movq	%r12, %rdi
	callq	_perf_evsel__cpus
	movq	%r12, %rdx
	cmpq	$0, 8(%r12)
	movq	_CNTR_NOT_COUNTED@GOTPCREL(%rip), %rcx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CNTR_NOT_SUPPORTED@GOTPCREL(%rip), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%r15b, %bl
	leal	-4(,%rbx,4), %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_csv_output@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_csv_sep@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, %r15d
	movl	$18, %eax
	cmovel	%eax, %r15d
	movl	(%rcx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, %ebx
	movl	$-24, %eax
	cmovel	%eax, %ebx
	movq	%rdx, %r12
	movq	%rdx, %rdi
	callq	_perf_evsel__name
	movl	%eax, %r10d
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%rbx
	pushq	%r8
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_fprintf
	addq	$32, %rsp
	movq	(%r12), %rax
	testq	%rax, %rax
	movq	_output@GOTPCREL(%rip), %rbx
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	_csv_sep@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_abs_printout
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_csv_output@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_print_noise
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	jne	LBB0_13
	jnp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm0
	divsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	leaq	L_.str.2(%rip), %rsi
	movb	$1, %al
	callq	_fprintf
	jmp	LBB0_14
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_output,4,2                     ## @output
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPU%*d%s%*s%s%*s"

	.comm	_csv_output,8,3                 ## @csv_output
	.comm	_csv_sep,8,3                    ## @csv_sep
	.comm	_CNTR_NOT_COUNTED,4,2           ## @CNTR_NOT_COUNTED
	.comm	_CNTR_NOT_SUPPORTED,4,2         ## @CNTR_NOT_SUPPORTED
L_.str.1:                               ## @.str.1
	.asciz	"%s%s"

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

	.no_dead_strip	_print_counter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_counter
_print_counter:                         ; @print_counter
	.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
	mov	x19, x0
	bl	_perf_evsel__nr_cpus
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x25, #0
	mov	x20, #0
Lloh0:
	adrp	x24, _output@GOTPAGE
Lloh1:
	ldr	x24, [x24, _output@GOTPAGEOFF]
Lloh2:
	adrp	x26, _csv_output@GOTPAGE
Lloh3:
	ldr	x26, [x26, _csv_output@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_fprintf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x24]
	mov	w0, #10
	bl	_fputc
	add	x20, x20, #1
	mov	x0, x19
	bl	_perf_evsel__nr_cpus
	add	x25, x25, #24
	cmp	x20, w0, sxtw
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x8, x8, x25
	ldr	d9, [x8, #16]
	fcmp	d9, #0.0
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d10, [x8, #8]
	fcmp	d10, #0.0
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d8, [x8]
	mov	x0, x19
	bl	_nsec_counter
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	fmov	d0, d8
	bl	_nsec_printout
	ldr	x8, [x26]
	cbnz	x8, LBB0_3
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
	ldr	x22, [x26]
	mov	x0, x19
	bl	_perf_evsel__cpus
	ldr	x8, [x0]
	ldr	x23, [x8, x20, lsl #3]
Lloh4:
	adrp	x8, _csv_sep@GOTPAGE
Lloh5:
	ldr	x8, [x8, _csv_sep@GOTPAGEOFF]
Lloh6:
	ldr	x21, [x8]
	ldr	x28, [x26]
	ldr	x8, [x19, #8]
	cmp	x8, #0
Lloh7:
	adrp	x8, _CNTR_NOT_COUNTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CNTR_NOT_COUNTED@GOTPAGEOFF]
Lloh9:
	adrp	x9, _CNTR_NOT_SUPPORTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CNTR_NOT_SUPPORTED@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w27, [x8]
	mov	x0, x19
	bl	_perf_evsel__name
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	x28, #0
	mov	x8, #-24
	csel	x8, x8, xzr, eq
	stp	x8, x0, [sp, #48]
	stp	x27, x21, [sp, #32]
	mov	w8, #18
	csel	x8, x8, xzr, eq
	stp	x21, x8, [sp, #16]
	cmp	x22, #0
	mov	x8, #-4
	csel	x8, x8, xzr, eq
	stp	x8, x23, [sp]
	ldr	w0, [sp, #76]                   ; 4-byte Folded Reload
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
Lloh13:
	adrp	x9, _csv_sep@GOTPAGE
Lloh14:
	ldr	x9, [x9, _csv_sep@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w8, [x8]
	stp	x9, x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	fmov	d0, d8
	bl	_abs_printout
	ldr	x8, [x26]
	cbnz	x8, LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	fmov	d0, #1.00000000
	mov	x0, x19
	bl	_print_noise
	fcmp	d9, d10
	b.eq	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	mov	x8, #4636737291354636288
	fmov	d0, x8
	fmul	d0, d9, d0
	fdiv	d0, d0, d10
	str	d0, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_13:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_output,4,2                     ; @output
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPU%*d%s%*s%s%*s"

	.comm	_csv_output,8,3                 ; @csv_output
	.comm	_csv_sep,8,3                    ; @csv_sep
	.comm	_CNTR_NOT_COUNTED,4,2           ; @CNTR_NOT_COUNTED
	.comm	_CNTR_NOT_SUPPORTED,4,2         ; @CNTR_NOT_SUPPORTED
l_.str.1:                               ; @.str.1
	.asciz	"%s%s"

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

	.no_dead_strip	_print_counter
.subsections_via_symbols
