	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_cg_process               ## -- Begin function pmcpl_cg_process
	.p2align	4, 0x90
_pmcpl_cg_process:                      ## @pmcpl_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rdx
	movl	4(%rsi), %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ecx
	callq	_pmcstat_cgnode_hash_lookup_pc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incl	(%rax)
	cmpq	$2, %rbx
	jb	LBB0_14
## %bb.3:
	movq	_args@GOTPCREL(%rip), %rax
	cmpq	$2, (%rax)
	jb	LBB0_14
## %bb.4:
	movq	%rbx, %r14
	movq	_pmcstat_kernproc@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	$2, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%r13,8), %r15
	movq	%r12, %rdi
	cmovneq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	%r15, %rsi
	callq	_pmcstat_process_find_map
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pmcstat_process_find_map
	testq	%rax, %rax
	cmovneq	%rbx, %r12
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rbx
	movq	(%rax), %rcx
	movq	8(%rax), %r14
	addq	8(%r14), %rcx
	subq	%rcx, %r15
	addq	(%r14), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pmcstat_symbol_search
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax), %r15
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_pmcstat_cgnode_find
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	incl	(%rax)
	movq	%rbx, %r14
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r14, %r13
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r13), %rax
	movq	_args@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	movq	%rax, %r13
	jb	LBB0_5
	jmp	LBB0_14
LBB0_1:
	movq	_pmcstat_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	incl	(%r14)
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pmcstat_stats,4,2              ## @pmcstat_stats
	.comm	_pmcstat_kernproc,8,3           ## @pmcstat_kernproc
	.comm	_args,8,3                       ## @args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmcpl_cg_process               ; -- Begin function pmcpl_cg_process
	.p2align	2
_pmcpl_cg_process:                      ; @pmcpl_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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	ldr	x2, [x3]
	ldr	w1, [x1, #4]
	mov	x3, x4
	bl	_pmcstat_cgnode_hash_lookup_pc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x23, x0
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	cmp	x21, #2
	b.lo	LBB0_14
; %bb.2:
Lloh0:
	adrp	x26, _args@GOTPAGE
Lloh1:
	ldr	x26, [x26, _args@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x8, #2
	b.lo	LBB0_14
; %bb.3:
Lloh2:
	adrp	x8, _pmcstat_kernproc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pmcstat_kernproc@GOTPAGEOFF]
Lloh4:
	ldr	x27, [x8]
	mov	w28, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x20, x28, lsl #3]
	cmp	w19, #0
	csel	x0, x22, x27, ne
	mov	x1, x24
	bl	_pmcstat_process_find_map
	cbnz	w19, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_pmcstat_process_find_map
	cmp	x0, #0
	csel	x27, x27, x22, eq
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x25, [x0]
	ldp	x10, x9, [x25]
	add	x8, x8, x9
	sub	x8, x24, x8
	add	x24, x8, x10
	mov	x0, x25
	mov	x1, x24
	bl	_pmcstat_symbol_search
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x0]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	bl	_pmcstat_cgnode_find
	mov	x23, x0
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, #1
	cmp	x28, x21
	b.hs	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	cmp	x28, x8
	b.lo	LBB0_4
	b	LBB0_14
LBB0_13:
Lloh5:
	adrp	x8, _pmcstat_stats@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pmcstat_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pmcstat_stats,4,2              ; @pmcstat_stats
	.comm	_pmcstat_kernproc,8,3           ; @pmcstat_kernproc
	.comm	_args,8,3                       ; @args
.subsections_via_symbols
