	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cluster_pmu_counter_set_value
_cluster_pmu_counter_set_value:         ## @cluster_pmu_counter_set_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_l2_cycle_ctr_idx@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_L2PMCCNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rsi
	movq	_IA_L2PMXEVCNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_reg_idx
	movl	%eax, %edi
LBB0_3:
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_l2_indirect_reg            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_l2_cycle_ctr_idx,8,3           ## @l2_cycle_ctr_idx
	.comm	_L2PMCCNTR,4,2                  ## @L2PMCCNTR
	.comm	_IA_L2PMXEVCNTR,4,2             ## @IA_L2PMXEVCNTR
	.no_dead_strip	_cluster_pmu_counter_set_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cluster_pmu_counter_set_value
_cluster_pmu_counter_set_value:         ; @cluster_pmu_counter_set_value
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _l2_cycle_ctr_idx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _l2_cycle_ctr_idx@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _L2PMCCNTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _L2PMCCNTR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x1, x0
Lloh6:
	adrp	x8, _IA_L2PMXEVCNTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IA_L2PMXEVCNTR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_reg_idx
LBB0_3:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_l2_indirect_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_l2_cycle_ctr_idx,8,3           ; @l2_cycle_ctr_idx
	.comm	_L2PMCCNTR,4,2                  ; @L2PMCCNTR
	.comm	_IA_L2PMXEVCNTR,4,2             ; @IA_L2PMXEVCNTR
	.no_dead_strip	_cluster_pmu_counter_set_value
.subsections_via_symbols
