	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_ct_topdisplay            ## -- Begin function pmcpl_ct_topdisplay
	.p2align	4, 0x90
_pmcpl_ct_topdisplay:                   ## @pmcpl_ct_topdisplay
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pmcpl_ct_samples_root
	xorl	%eax, %eax
	callq	_pmcpl_ct_node_cleartag
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_PMCSTAT_PRINTW
	movl	$0, -20(%rbp)
	movq	_pmcstat_pmcinfilter@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_pmcpl_ct_root@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %r8
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_pmcpl_ct_node_dumptop
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_PMCSTAT_PRINTW
LBB0_2:
	movq	_pmcpl_ct_topscreen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movslq	-20(%rbp), %rcx
	movq	$0, (%rax,%rcx,8)
	movl	(%r14), %esi
	movq	_pmcstat_displayheight@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	$-2, %rdx
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pmcpl_ct_node_printtop
	movq	%rbx, %rdi
	callq	_pmcpl_ct_samples_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%5.5s %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%SAMP"

L_.str.2:                               ## @.str.2
	.asciz	"CALLTREE"

	.comm	_pmcstat_pmcinfilter,4,2        ## @pmcstat_pmcinfilter
	.comm	_pmcpl_ct_root,4,2              ## @pmcpl_ct_root
L_.str.3:                               ## @.str.3
	.asciz	"...\n"

	.comm	_pmcpl_ct_topscreen,8,3         ## @pmcpl_ct_topscreen
	.comm	_pmcstat_displayheight,8,3      ## @pmcstat_displayheight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_ct_topdisplay            ; -- Begin function pmcpl_ct_topdisplay
	.p2align	2
_pmcpl_ct_topdisplay:                   ; @pmcpl_ct_topdisplay
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #24
	bl	_pmcpl_ct_samples_root
	bl	_pmcpl_ct_node_cleartag
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PMCSTAT_PRINTW
	stur	wzr, [x29, #-20]
Lloh6:
	adrp	x19, _pmcstat_pmcinfilter@GOTPAGE
Lloh7:
	ldr	x19, [x19, _pmcstat_pmcinfilter@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _pmcpl_ct_root@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pmcpl_ct_root@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #24
	sub	x4, x29, #20
	mov	w3, #0
	bl	_pmcpl_ct_node_dumptop
	cbz	x0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_PMCSTAT_PRINTW
LBB0_2:
Lloh13:
	adrp	x8, _pmcpl_ct_topscreen@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pmcpl_ct_topscreen@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldursw	x9, [x29, #-20]
	str	xzr, [x8, x9, lsl #3]
	ldr	w1, [x19]
Lloh16:
	adrp	x8, _pmcstat_displayheight@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pmcstat_displayheight@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	sub	x2, x8, #2
	add	x0, sp, #24
	bl	_pmcpl_ct_node_printtop
	add	x0, sp, #24
	bl	_pmcpl_ct_samples_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%5.5s %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%SAMP"

l_.str.2:                               ; @.str.2
	.asciz	"CALLTREE"

	.comm	_pmcstat_pmcinfilter,4,2        ; @pmcstat_pmcinfilter
	.comm	_pmcpl_ct_root,4,2              ; @pmcpl_ct_root
l_.str.3:                               ; @.str.3
	.asciz	"...\n"

	.comm	_pmcpl_ct_topscreen,8,3         ; @pmcpl_ct_topscreen
	.comm	_pmcstat_displayheight,8,3      ; @pmcstat_displayheight
.subsections_via_symbols
