	.file	"extr_powernow-k8-decode.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't get fid, vid from MSR"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Possible trouble: you don't run a powernow-k8 capable cpu"
	.align 8
.LC2:
	.string	"or you are not root, or the msr driver is not present"
	.align 8
.LC3:
	.string	"cpu %d currently at %d MHz and %d mV\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	edi, 1
	jle	.L2
	mov	rdi, QWORD PTR 8[rsi]
	xor	edx, edx
	xor	esi, esi
	call	strtoul@PLT
	mov	ebp, eax
.L2:
	lea	rdx, 4[rsp]
	mov	rsi, rsp
	mov	edi, ebp
	call	get_fidvid@PLT
	test	eax, eax
	jne	.L12
.L3:
	mov	edi, DWORD PTR 4[rsp]
	call	find_millivolts_from_vid@PLT
	mov	edi, DWORD PTR [rsp]
	mov	r12d, eax
	call	find_freq_from_fid@PLT
	mov	ecx, r12d
	mov	esi, ebp
	lea	rdi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	printf@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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_powernow-k8-decode.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't get fid, vid from MSR\000"
	.align	2
.LC1:
	.ascii	"Possible trouble: you don't run a powernow-k8 capab"
	.ascii	"le cpu\000"
	.align	2
.LC2:
	.ascii	"or you are not root, or the msr driver is not prese"
	.ascii	"nt\000"
	.align	2
.LC3:
	.ascii	"cpu %d currently at %d MHz and %d mV\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L13
	sub	sp, sp, #20
	cmp	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	movle	r5, #0
	ble	.L2
	mov	r2, #0
	ldr	r0, [r1, #4]
	mov	r1, r2
	bl	strtoul
	mov	r5, r0
.L2:
	mov	r0, r5
	add	r2, sp, #8
	add	r1, sp, #4
	bl	get_fidvid
	cmp	r0, #0
	bne	.L11
.L3:
	ldr	r0, [sp, #4]
	bl	find_freq_from_fid
	mov	r4, r0
	ldr	r0, [sp, #8]
	bl	find_millivolts_from_vid
	mov	r2, r4
	mov	r3, r0
	mov	r1, r5
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r0, .L13+8
	bl	puts
	ldr	r0, .L13+12
	bl	puts
	ldr	r0, .L13+16
	bl	puts
	mov	r0, #1
	bl	exit
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
