	.file	"extr_perf_event_intel_uncore.c_nhmex_sbox_hw_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nhmex_sbox_hw_config, @function
nhmex_sbox_hw_config:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR NHMEX_S_PMON_MM_CFG_EN[rip], eax
	je	.L2
	mov	rax, QWORD PTR 8[rsi]
	mov	QWORD PTR 48[rsi], rax
	mov	rax, QWORD PTR 16[rsi]
	mov	QWORD PTR 24[rsi], rax
.L3:
	mov	rdx, QWORD PTR [rdi]
	mov	eax, DWORD PTR NHMEX_S1_MSR_MM_CFG[rip]
	cmp	QWORD PTR [rdx], 0
	jne	.L5
	mov	eax, DWORD PTR NHMEX_S0_MSR_MM_CFG[rip]
.L5:
	mov	DWORD PTR 64[rsi], eax
	xor	eax, eax
	mov	QWORD PTR 56[rsi], 0
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	QWORD PTR 48[rsi], -1
	mov	QWORD PTR 24[rsi], -1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	nhmex_sbox_hw_config, .-nhmex_sbox_hw_config
	.comm	NHMEX_S_PMON_MM_CFG_EN,4,4
	.comm	NHMEX_S1_MSR_MM_CFG,4,4
	.comm	NHMEX_S0_MSR_MM_CFG,4,4
	.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_perf_event_intel_uncore.c_nhmex_sbox_hw_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nhmex_sbox_hw_config, %function
nhmex_sbox_hw_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L15
	ldr	r2, [r1]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L13
	add	r3, r1, #16
	ldmia	r3, {r2-r3}
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, [r0]
	mov	r0, #0
	ldr	r3, [r3]
	push	{r4, r5}
	add	r5, r1, #8
	ldmia	r5, {r4-r5}
	cmp	r3, #0
	ldreq	r3, .L15+4
	ldrne	r3, .L15+8
	str	r4, [r1, #40]
	str	r5, [r1, #44]
	pop	{r4, r5}
	ldr	r3, [r3]
	str	r0, [r1, #48]
	str	r3, [r1, #52]
	bx	lr
.L13:
	mvn	r2, #0
	mvn	r3, #0
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, [r0]
	mov	r0, #0
	ldr	r3, [r3]
	cmp	r3, #0
	ldreq	r3, .L15+4
	ldrne	r3, .L15+8
	ldr	r3, [r3]
	str	r0, [r1, #48]
	str	r3, [r1, #52]
	bx	lr
.L16:
	.align	2
.L15:
	.word	NHMEX_S_PMON_MM_CFG_EN
	.word	NHMEX_S0_MSR_MM_CFG
	.word	NHMEX_S1_MSR_MM_CFG
	.size	nhmex_sbox_hw_config, .-nhmex_sbox_hw_config
	.comm	NHMEX_S_PMON_MM_CFG_EN,4,4
	.comm	NHMEX_S1_MSR_MM_CFG,4,4
	.comm	NHMEX_S0_MSR_MM_CFG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
