	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nhm_uncore_msr_enable_event
_nhm_uncore_msr_enable_event:           ## @nhm_uncore_msr_enable_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_UNCORE_PMC_IDX_FIXED@GOTPCREL(%rip), %rcx
	movl	12(%rsi), %edi
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	_SNB_UNC_CTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	8(%rsi), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_NHM_UNC_FIXED_CTR_CTL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, %esi
	popq	%rbp
	jmp	_wrmsrl                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNCORE_PMC_IDX_FIXED,8,3       ## @UNCORE_PMC_IDX_FIXED
	.comm	_SNB_UNC_CTL_EN,4,2             ## @SNB_UNC_CTL_EN
	.comm	_NHM_UNC_FIXED_CTR_CTL_EN,4,2   ## @NHM_UNC_FIXED_CTR_CTL_EN
	.no_dead_strip	_nhm_uncore_msr_enable_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nhm_uncore_msr_enable_event
_nhm_uncore_msr_enable_event:           ; @nhm_uncore_msr_enable_event
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _UNCORE_PMC_IDX_FIXED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNCORE_PMC_IDX_FIXED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x1, #12]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	w8, [x1, #8]
Lloh3:
	adrp	x9, _SNB_UNC_CTL_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNB_UNC_CTL_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	b	_wrmsrl
LBB0_2:
Lloh6:
	adrp	x8, _NHM_UNC_FIXED_CTR_CTL_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NHM_UNC_FIXED_CTR_CTL_EN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_wrmsrl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UNCORE_PMC_IDX_FIXED,8,3       ; @UNCORE_PMC_IDX_FIXED
	.comm	_SNB_UNC_CTL_EN,4,2             ; @SNB_UNC_CTL_EN
	.comm	_NHM_UNC_FIXED_CTR_CTL_EN,4,2   ; @NHM_UNC_FIXED_CTR_CTL_EN
	.no_dead_strip	_nhm_uncore_msr_enable_event
.subsections_via_symbols
