	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arch_perfmon_setup_counters
_arch_perfmon_setup_counters:           ## @arch_perfmon_setup_counters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$10, %edi
	callq	_cpuid_eax
	movq	_num_counters@GOTPCREL(%rip), %rax
	movq	$2, (%rax)
	movq	_op_arch_perfmon_spec@GOTPCREL(%rip), %rax
	movq	$2, 8(%rax)
	movq	$2, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_cpu_data,8,2           ## @current_cpu_data
	.comm	_num_counters,8,3               ## @num_counters
	.comm	_op_arch_perfmon_spec,16,3      ## @op_arch_perfmon_spec
	.no_dead_strip	_arch_perfmon_setup_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arch_perfmon_setup_counters
_arch_perfmon_setup_counters:           ; @arch_perfmon_setup_counters
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #10
	bl	_cpuid_eax
Lloh0:
	adrp	x8, _num_counters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_counters@GOTPAGEOFF]
	mov	w9, #2
Lloh2:
	str	x9, [x8]
Lloh3:
	adrp	x8, _op_arch_perfmon_spec@GOTPAGE
Lloh4:
	ldr	x8, [x8, _op_arch_perfmon_spec@GOTPAGEOFF]
	stp	x9, x9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current_cpu_data,8,2           ; @current_cpu_data
	.comm	_num_counters,8,3               ; @num_counters
	.comm	_op_arch_perfmon_spec,16,3      ; @op_arch_perfmon_spec
	.no_dead_strip	_arch_perfmon_setup_counters
.subsections_via_symbols
