	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_annotate_cg_process      ## -- Begin function pmcpl_annotate_cg_process
	.p2align	4, 0x90
_pmcpl_annotate_cg_process:             ## @pmcpl_annotate_cg_process
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.1:
	movl	%r14d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15,%r13,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
	movb	$0, (%r12)
	movl	$0, -52(%rbp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_pmcstat_kernproc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%r13,8), %rsi
	callq	_pmcstat_process_find_map
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	(%r15,%r13,8), %rax
	cmpq	(%r14), %rax
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r14), %rax
	setl	%al
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	(%r14), %rax
	movq	16(%r14), %rbx
	addq	(%rbx), %rax
	movq	(%r15,%r13,8), %rsi
	subq	%rax, %rsi
	addq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_pmcstat_symbol_search
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%r13,8), %rsi
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	-52(%rbp), %r8
	movq	%r12, %r9
	pushq	%rcx
	callq	_pmcstat_image_addr2line
	addq	$16, %rsp
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15,%r13,8), %rdx
	movl	-52(%rbp), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_15:
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_pmcstat_kernproc,8,3           ## @pmcstat_kernproc
	.comm	_args,4,2                       ## @args
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p %s %s:%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%p <unknown> ??:0\n"

L_.str.2:                               ## @.str.2
	.asciz	"--\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_annotate_cg_process      ; -- Begin function pmcpl_annotate_cg_process
	.p2align	2
_pmcpl_annotate_cg_process:             ; @pmcpl_annotate_cg_process
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x12, x9, #0x1fffffff0
	sub	x23, x8, x12
	mov	sp, x23
	mov	x9, x22
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x12
	mov	sp, x24
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.1:
	and	x25, x2, #0xffffffff
Lloh10:
	adrp	x26, _pmcstat_kernproc@GOTPAGE
Lloh11:
	ldr	x26, [x26, _pmcstat_kernproc@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _args@GOTPAGE
Lloh13:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x20]
	str	x8, [sp, #-16]!
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #8
	subs	x25, x25, #1
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x23]
	strb	wzr, [x24]
	stur	wzr, [x29, #-92]
	ldr	x8, [x26]
	cmp	w19, #0
	csel	x0, x8, x21, eq
	ldr	x1, [x20]
	bl	_pmcstat_process_find_map
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x0
	ldr	x8, [x20]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27, #8]
	cmp	x8, x9
	cset	w0, lt
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	ldr	x28, [x27, #16]
	ldr	x8, [x20]
	ldr	x9, [x27]
	ldp	x10, x11, [x28]
	add	x9, x9, x10
	sub	x8, x8, x9
	add	x1, x8, x11
	mov	x0, x28
	bl	_pmcstat_symbol_search
	mov	x27, x0
	cmp	x28, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	sub	x4, x29, #92
	mov	x0, x28
	mov	x2, x23
	mov	x3, x22
	mov	x5, x24
	mov	x6, x22
	bl	_pmcstat_image_addr2line
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x27, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x8, _args@GOTPAGE
Lloh18:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldur	w9, [x29, #-92]
	sub	sp, sp, #32
	stp	x23, x9, [sp, #16]
	stp	x8, x24, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	add	sp, sp, #32
	b	LBB0_3
LBB0_12:
Lloh22:
	adrp	x8, _args@GOTPAGE
Lloh23:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_pmcstat_kernproc,8,3           ; @pmcstat_kernproc
	.comm	_args,4,2                       ; @args
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p %s %s:%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%p <unknown> ??:0\n"

l_.str.2:                               ; @.str.2
	.asciz	"--\n"

.subsections_via_symbols
