	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_cache_cluster_set_period
_l2_cache_cluster_set_period:           ## @l2_cache_cluster_set_period
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	movq	(%rsi), %r14
	movq	_l2_cycle_ctr_idx@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_1
## %bb.2:
	movq	_L2_CYCLE_COUNTER_RELOAD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_L2_COUNTER_RELOAD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	addq	$8, %rdi
	movl	%ebx, %esi
	callq	_local64_set
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cluster_pmu_counter_set_value  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_l2_cycle_ctr_idx,8,3           ## @l2_cycle_ctr_idx
	.comm	_L2_CYCLE_COUNTER_RELOAD,4,2    ## @L2_CYCLE_COUNTER_RELOAD
	.comm	_L2_COUNTER_RELOAD,4,2          ## @L2_COUNTER_RELOAD
	.no_dead_strip	_l2_cache_cluster_set_period
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_cache_cluster_set_period
_l2_cache_cluster_set_period:           ; @l2_cache_cluster_set_period
	.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	x0, x1
	ldr	x19, [x0], #8
Lloh0:
	adrp	x8, _l2_cycle_ctr_idx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _l2_cycle_ctr_idx@GOTPAGEOFF]
Lloh2:
	adrp	x9, _L2_CYCLE_COUNTER_RELOAD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _L2_CYCLE_COUNTER_RELOAD@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _L2_COUNTER_RELOAD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _L2_COUNTER_RELOAD@GOTPAGEOFF]
	cmp	x19, x8
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
	mov	x1, x20
	bl	_local64_set
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cluster_pmu_counter_set_value
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_l2_cycle_ctr_idx,8,3           ; @l2_cycle_ctr_idx
	.comm	_L2_CYCLE_COUNTER_RELOAD,4,2    ; @L2_CYCLE_COUNTER_RELOAD
	.comm	_L2_COUNTER_RELOAD,4,2          ; @L2_COUNTER_RELOAD
	.no_dead_strip	_l2_cache_cluster_set_period
.subsections_via_symbols
