	.file	"extr_uncore_nhmex.c_nhmex_mbox_extra_reg_idx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nhmex_mbox_extra_reg_idx, @function
nhmex_mbox_extra_reg_idx:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR EXTRA_REG_NHMEX_M_ZDP_CTL_FVC[rip]
	jl	.L1
	mov	edx, DWORD PTR 8[rdi]
	mov	ecx, DWORD PTR NHMEX_M_PMON_CTL_INC_SEL_SHIFT[rip]
	sar	edx, cl
	lea	eax, -13[rdx+rax]
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	nhmex_mbox_extra_reg_idx, .-nhmex_mbox_extra_reg_idx
	.comm	NHMEX_M_PMON_CTL_INC_SEL_SHIFT,4,4
	.comm	EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_uncore_nhmex.c_nhmex_mbox_extra_reg_idx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nhmex_mbox_extra_reg_idx, %function
nhmex_mbox_extra_reg_idx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, r0
	ldr	r2, .L4
	ldr	r0, [r0]
	ldr	r2, [r2]
	cmp	r0, r2
	ldrge	r1, .L4+4
	ldrge	r2, [r3, #4]
	ldrge	r3, [r1]
	addge	r0, r0, r2, asr r3
	subge	r0, r0, #13
	bx	lr
.L5:
	.align	2
.L4:
	.word	EXTRA_REG_NHMEX_M_ZDP_CTL_FVC
	.word	NHMEX_M_PMON_CTL_INC_SEL_SHIFT
	.size	nhmex_mbox_extra_reg_idx, .-nhmex_mbox_extra_reg_idx
	.comm	NHMEX_M_PMON_CTL_INC_SEL_SHIFT,4,4
	.comm	EXTRA_REG_NHMEX_M_ZDP_CTL_FVC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
