	.file	"extr_turbostat.c_decode_misc_pwr_mgmt_msr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"EN"
.LC1:
	.string	"DIS"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coordination %sable-EPB %sable-OOB)\n"
	.text
	.p2align 4
	.globl	decode_misc_pwr_mgmt_msr
	.type	decode_misc_pwr_mgmt_msr, @function
decode_misc_pwr_mgmt_msr:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR do_nhm_platform_info[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	ecx, ecx
	je	.L1
	cmp	QWORD PTR no_MSR_MISC_PWR_MGMT[rip], 0
	je	.L13
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	esi, DWORD PTR MSR_MISC_PWR_MGMT[rip]
	mov	edi, DWORD PTR base_cpu[rip]
	mov	rdx, rsp
	call	get_msr@PLT
	test	eax, eax
	jne	.L1
	mov	rcx, QWORD PTR [rsp]
	lea	r8, .LC1[rip]
	lea	rax, .LC0[rip]
	mov	edi, DWORD PTR outf[rip]
	mov	rdx, r8
	mov	r9, r8
	lea	rsi, .LC2[rip]
	test	ch, 1
	cmovne	rdx, rax
	test	cl, 2
	cmovne	r9, rax
	test	cl, 1
	cmove	r8, rax
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	rdx
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR base_cpu[rip]
	call	fprintf@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_misc_pwr_mgmt_msr, .-decode_misc_pwr_mgmt_msr
	.comm	outf,4,4
	.comm	no_MSR_MISC_PWR_MGMT,8,8
	.comm	do_nhm_platform_info,4,4
	.comm	base_cpu,4,4
	.comm	MSR_MISC_PWR_MGMT,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_turbostat.c_decode_misc_pwr_mgmt_msr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DIS\000"
	.align	2
.LC1:
	.ascii	"EN\000"
	.align	2
.LC2:
	.ascii	"cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coo"
	.ascii	"rdination %sable-EPB %sable-OOB)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decode_misc_pwr_mgmt_msr
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_misc_pwr_mgmt_msr, %function
decode_misc_pwr_mgmt_msr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r6, r7, r8, r9, lr}
	ldr	r3, .L18
	ldr	r2, .L18+4
	ldr	r3, [r3]
	sub	sp, sp, #40
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	beq	.L1
	ldr	r3, .L18+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r6, r7, r8, r9, pc}
.L16:
	ldr	r3, .L18+12
	ldr	r4, .L18+16
	ldr	r1, [r3]
	ldr	r0, [r4]
	add	r2, sp, #24
	bl	get_msr
	cmp	r0, #0
	bne	.L1
	mov	r3, r0
	mov	r9, r0
	mov	r7, r0
	ldr	r1, [sp, #24]
	ldr	ip, .L18+20
	and	r2, r1, #1
	orrs	r3, r2, r3
	ldr	r3, .L18+24
	and	r8, r1, #2
	ldr	r2, [r4]
	and	r6, r1, #256
	movne	r4, ip
	moveq	r4, r3
	orrs	r0, r8, r9
	moveq	lr, ip
	movne	lr, r3
	orrs	r0, r6, r7
	moveq	r3, ip
	ldr	r0, .L18+28
	ldr	ip, [sp, #28]
	str	r1, [sp]
	str	r4, [sp, #8]
	str	lr, [sp, #12]
	str	r3, [sp, #16]
	ldr	r0, [r0]
	ldr	r1, .L18+32
	str	ip, [sp, #4]
	bl	fprintf
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	do_nhm_platform_info
	.word	.LC3
	.word	no_MSR_MISC_PWR_MGMT
	.word	MSR_MISC_PWR_MGMT
	.word	base_cpu
	.word	.LC0
	.word	.LC1
	.word	outf
	.word	.LC2
	.size	decode_misc_pwr_mgmt_msr, .-decode_misc_pwr_mgmt_msr
	.comm	outf,4,4
	.comm	no_MSR_MISC_PWR_MGMT,4,4
	.comm	do_nhm_platform_info,4,4
	.comm	base_cpu,4,4
	.comm	MSR_MISC_PWR_MGMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
