	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmcpl_ct_print
_pmcpl_ct_print:                        ## @pmcpl_ct_print
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-104(%rbp), %rdi
	callq	_pmcpl_ct_samples_root
	xorl	%eax, %eax
	callq	_pmcpl_ct_expand_inline
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_pmcstat_npmcs@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r14
	leaq	-96(%rbp), %r12
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_pmcstat_pmcindex_to_name
	movq	%r12, %rdi
	movl	$40, %esi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	%r12, %rdi
	callq	_pmcpl_ct_fixup_pmcname
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_args@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.4:
	leaq	L_.str.4(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r14
	movl	(%r12), %r13d
	movl	%ebx, %edi
	leaq	-104(%rbp), %rsi
	callq	_PMCPL_CT_SAMPLE
	movl	%r13d, %edi
	movq	%r14, %r13
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_pmcpl_ct_root@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pmcpl_ct_bfs
	leaq	-104(%rbp), %rdi
	callq	_pmcpl_ct_samples_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version: 1\ncreator: pmcstat\npositions: instr line\nevents:"

	.comm	_pmcstat_npmcs,4,2              ## @pmcstat_npmcs
L_.str.1:                               ## @.str.1
	.asciz	"%s_%d"

L_.str.2:                               ## @.str.2
	.asciz	" %s"

L_.str.3:                               ## @.str.3
	.asciz	"\nsummary:"

L_.str.4:                               ## @.str.4
	.asciz	" %u"

L_.str.5:                               ## @.str.5
	.asciz	"\n"

	.comm	_pmcpl_ct_root,4,2              ## @pmcpl_ct_root
	.no_dead_strip	_pmcpl_ct_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmcpl_ct_print
_pmcpl_ct_print:                        ; @pmcpl_ct_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	add	x0, sp, #8
	bl	_pmcpl_ct_samples_root
	bl	_pmcpl_ct_expand_inline
Lloh3:
	adrp	x22, _args@GOTPAGE
Lloh4:
	ldr	x22, [x22, _args@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh7:
	adrp	x23, _pmcstat_npmcs@GOTPAGE
Lloh8:
	ldr	x23, [x23, _pmcstat_npmcs@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w19, #0
Lloh9:
	adrp	x20, l_.str.1@PAGE
Lloh10:
	add	x20, x20, l_.str.1@PAGEOFF
	add	x24, sp, #16
Lloh11:
	adrp	x21, l_.str.2@PAGE
Lloh12:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_pmcstat_pmcindex_to_name
	mov	x3, x0
	add	x0, sp, #16
	mov	w1, #40
	mov	x2, x20
	mov	x4, x19
	bl	_snprintf
	add	x0, sp, #16
	bl	_pmcpl_ct_fixup_pmcname
	ldr	w0, [x22]
	str	x24, [sp]
	mov	x1, x21
	bl	_fprintf
	add	w19, w19, #1
	ldr	w8, [x23]
	cmp	w19, w8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [x22]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w19, #0
Lloh15:
	adrp	x20, l_.str.4@PAGE
Lloh16:
	add	x20, x20, l_.str.4@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x22]
	add	x1, sp, #8
	mov	x0, x19
	bl	_PMCPL_CT_SAMPLE
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_fprintf
	add	w19, w19, #1
	ldr	w8, [x23]
	cmp	w19, w8
	b.lt	LBB0_5
LBB0_6:
	ldr	w0, [x22]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
Lloh19:
	adrp	x8, _pmcpl_ct_root@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pmcpl_ct_root@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_pmcpl_ct_bfs
	add	x0, sp, #8
	bl	_pmcpl_ct_samples_free
	ldr	x8, [sp, #56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version: 1\ncreator: pmcstat\npositions: instr line\nevents:"

	.comm	_pmcstat_npmcs,4,2              ; @pmcstat_npmcs
l_.str.1:                               ; @.str.1
	.asciz	"%s_%d"

l_.str.2:                               ; @.str.2
	.asciz	" %s"

l_.str.3:                               ; @.str.3
	.asciz	"\nsummary:"

l_.str.4:                               ; @.str.4
	.asciz	" %u"

l_.str.5:                               ; @.str.5
	.asciz	"\n"

	.comm	_pmcpl_ct_root,4,2              ; @pmcpl_ct_root
	.no_dead_strip	_pmcpl_ct_print
.subsections_via_symbols
