	.file	"extr_turbostat.c_dump_knl_turbo_ratio_limits.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n"
	.align 8
.LC1:
	.string	"%d * %.1f = %.1f MHz max turbo %d active cores\n"
	.text
	.p2align 4
	.type	dump_knl_turbo_ratio_limits, @function
dump_knl_turbo_ratio_limits:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 104
	.cfi_def_cfa_offset 144
	mov	esi, DWORD PTR MSR_TURBO_RATIO_LIMIT[rip]
	mov	edi, DWORD PTR base_cpu[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	lea	rdx, 8[rsp]
	lea	r12, 16[rsp]
	call	get_msr@PLT
	mov	ecx, DWORD PTR 8[rsp]
	xor	eax, eax
	lea	rbp, 48[rsp]
	mov	edx, DWORD PTR base_cpu[rip]
	mov	edi, DWORD PTR outf[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	rbx, QWORD PTR 8[rsp]
	mov	edx, 4
	mov	eax, 16
	mov	rsi, rbx
	movzx	edi, bh
	shr	rsi
	mov	DWORD PTR 48[rsp], edi
	and	esi, 127
	mov	DWORD PTR 16[rsp], esi
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, eax
	mov	r10, rbx
	mov	r11, rbx
	shr	r10, cl
	mov	rcx, r10
	and	ecx, 31
	add	esi, ecx
	lea	ecx, 5[rax]
	add	eax, 8
	shr	r11, cl
	mov	DWORD PTR [r12+rdx], esi
	mov	rcx, r11
	and	ecx, 7
	sub	edi, ecx
	mov	DWORD PTR 0[rbp+rdx], edi
	add	rdx, 4
	cmp	eax, 64
	jne	.L2
	mov	edx, DWORD PTR 72[rsp]
	mov	ebx, 6
	lea	r13, .LC1[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR -4[rbp+rbx*4]
.L4:
	sub	rbx, 1
.L6:
	test	ebx, ebx
	je	.L3
	cmp	DWORD PTR -4[rbp+rbx*4], edx
	je	.L4
.L3:
	mov	ecx, DWORD PTR bclk[rip]
	mov	r9d, DWORD PTR [r12+rbx*4]
	xor	eax, eax
	mov	rsi, r13
	mov	edi, DWORD PTR outf[rip]
	mov	r8d, ecx
	imul	r8d, edx
	call	fprintf@PLT
	test	ebx, ebx
	jne	.L11
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dump_knl_turbo_ratio_limits, .-dump_knl_turbo_ratio_limits
	.comm	outf,4,4
	.comm	bclk,4,4
	.comm	base_cpu,4,4
	.comm	MSR_TURBO_RATIO_LIMIT,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_dump_knl_turbo_ratio_limits.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\012\000"
	.align	2
.LC1:
	.ascii	"%d * %.1f = %.1f MHz max turbo %d active cores\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_knl_turbo_ratio_limits, %function
dump_knl_turbo_ratio_limits:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	ldr	r5, .L13+4
	sub	sp, sp, #84
	ldr	r1, [r3]
	ldr	r4, .L13+8
	ldr	r3, .L13+12
	ldr	r0, [r5]
	add	r2, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	bl	get_msr
	ldr	r2, [r5]
	ldr	r0, [r4]
	ldr	r3, [sp, #8]
	ldr	r1, .L13+16
	bl	fprintf
	mov	r2, #16
	ldr	r5, [sp, #8]
	ldr	r0, [sp, #12]
	lsr	lr, r5, #1
	lsr	ip, r5, #8
	and	lr, lr, #127
	and	ip, ip, #255
	str	lr, [sp, #20]
	str	ip, [sp, #48]
	add	r7, sp, #24
	add	r6, sp, #52
.L2:
	add	r3, r2, #5
	rsb	r9, r2, #27
	rsb	r8, r2, #32
	lsr	r1, r5, r2
	lsr	r3, r5, r3
	orr	r3, r3, r0, lsl r9
	orr	r1, r1, r0, lsl r8
	sub	r9, r2, #27
	sub	r8, r2, #32
	orr	r3, r3, r0, lsr r9
	orr	r1, r1, r0, lsr r8
	and	r3, r3, #7
	and	r1, r1, #31
	add	r2, r2, #8
	sub	ip, ip, r3
	add	lr, lr, r1
	cmp	r2, #64
	str	ip, [r6], #4
	str	lr, [r7], #4
	bne	.L2
	mov	r5, #6
	ldr	r2, [sp, #72]
	ldr	r8, .L13+20
	ldr	r9, .L13+24
	add	r6, sp, #68
	add	r7, sp, #20
	b	.L6
.L11:
	ldr	r3, [r6]
	cmp	r3, r2
	beq	.L4
	ldr	r3, [r8]
	ldr	r1, [r7, r5, lsl #2]
	mul	r0, r2, r3
	stm	sp, {r0, r1}
	mov	r1, r9
	ldr	r0, [r4]
	bl	fprintf
	ldr	r2, [r6]
.L4:
	sub	r5, r5, #1
	sub	r6, r6, #4
.L6:
	cmp	r5, #0
	bne	.L11
	ldr	r3, [r8]
	ldr	r0, [r7]
	mul	r1, r2, r3
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r0, [r4]
	ldr	r1, .L13+24
	bl	fprintf
	ldr	r3, .L13+12
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	MSR_TURBO_RATIO_LIMIT
	.word	base_cpu
	.word	outf
	.word	.LC2
	.word	.LC0
	.word	bclk
	.word	.LC1
	.size	dump_knl_turbo_ratio_limits, .-dump_knl_turbo_ratio_limits
	.comm	outf,4,4
	.comm	bclk,4,4
	.comm	base_cpu,4,4
	.comm	MSR_TURBO_RATIO_LIMIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
