	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmcpl_ct_node_update
_pmcpl_ct_node_update:                  ## @pmcpl_ct_node_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movl	(%r14), %edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.1:
	movq	8(%r14), %r15
	addq	$16, %r15
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, -8(%r15)
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %r15
	decq	%rax
	jne	LBB0_2
LBB0_8:
	leaq	16(%r14), %rsi
	leaq	8(%r14), %rdx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_pmcpl_ct_arc_grow
	movq	8(%r14), %r15
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movslq	(%r14), %r12
	shlq	$5, %r12
	leaq	(%r15,%r12), %rdi
	addq	$24, %rdi
	callq	_pmcpl_ct_samples_grow
	movq	24(%r15,%r12), %rax
	movslq	%r13d, %r13
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%r13,4)
	movl	$1, (%r15,%r12)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:
	leaq	(%r15,%r12), %rdi
	addq	$16, %rdi
	callq	_pmcpl_ct_samples_grow
	movq	_pmcpl_ct_callid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %eax
	movq	16(%r15,%r12), %rcx
	movl	%eax, (%rcx,%r13,4)
LBB0_10:
	movq	%rbx, 8(%r15,%r12)
	incl	(%r14)
	jmp	LBB0_11
LBB0_3:
	leaq	8(%r15), %rdi
	callq	_pmcpl_ct_samples_grow
	movq	8(%r15), %rax
	movslq	%r13d, %rbx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, (%rax,%rbx,4)
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.4:
	movq	%r15, %rdi
	callq	_pmcpl_ct_samples_grow
	movq	_pmcpl_ct_callid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx,4), %ecx
	movq	(%r15), %rax
	movl	%ecx, %esi
	subl	(%rax,%rbx,4), %esi
	cmpl	$2, %esi
	jb	LBB0_6
## %bb.5:
	incl	-16(%r15)
	movl	(%rdx,%rbx,4), %ecx
LBB0_6:
	movl	%ecx, (%rax,%rbx,4)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pmcpl_ct_callid,8,3            ## @pmcpl_ct_callid
	.no_dead_strip	_pmcpl_ct_node_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmcpl_ct_node_update
_pmcpl_ct_node_update:                  ; @pmcpl_ct_node_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	w0, [x20]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	add	x24, x8, #16
	mov	x8, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x24, #-8]
	cmp	x9, x21
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #32
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	add	x1, x20, #16
	add	x2, x20, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_pmcpl_ct_arc_grow
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x24, x8, x9, lsl #5
	add	x0, x24, #24
	bl	_pmcpl_ct_samples_grow
	ldr	x8, [x24, #24]
	str	w23, [x8, w19, sxtw #2]
	mov	w8, #1
	str	w8, [x24]
	cbz	w22, LBB0_6
; %bb.5:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x19, w19
	add	x0, x24, #16
	bl	_pmcpl_ct_samples_grow
Lloh0:
	adrp	x8, _pmcpl_ct_callid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pmcpl_ct_callid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x9, x19, #2
	ldr	w8, [x8, x9]
	ldr	x10, [x24, #16]
	str	w8, [x10, x9]
LBB0_6:
	str	x21, [x24, #8]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_11
LBB0_7:
	add	x0, x24, #8
	bl	_pmcpl_ct_samples_grow
	ldr	x8, [x24, #8]
	sbfiz	x9, x19, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, w23
	str	w10, [x8, x9]
	cbz	w22, LBB0_11
; %bb.8:
	sxtw	x19, w19
	mov	x0, x24
	bl	_pmcpl_ct_samples_grow
Lloh3:
	adrp	x8, _pmcpl_ct_callid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pmcpl_ct_callid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	lsl	x11, x19, #2
	ldr	w10, [x9, x11]
	ldr	x8, [x24]
	ldr	w11, [x8, x11]
	sub	w11, w10, w11
	cmp	w11, #2
	b.lo	LBB0_10
; %bb.9:
	ldur	w10, [x24, #-16]
	add	w10, w10, #1
	stur	w10, [x24, #-16]
	ldr	w10, [x9, x19, lsl #2]
LBB0_10:
	str	w10, [x8, x19, lsl #2]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pmcpl_ct_callid,8,3            ; @pmcpl_ct_callid
	.no_dead_strip	_pmcpl_ct_node_update
.subsections_via_symbols
