	.file	"extr_cppc_cpufreq.c_cppc_get_rate_from_fbctrs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cppc_get_rate_from_fbctrs, @function
cppc_get_rate_from_fbctrs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, r8d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	QWORD PTR 16[rsp], rsi
	mov	esi, edx
	mov	QWORD PTR [rsp], rcx
	call	get_delta@PLT
	mov	esi, DWORD PTR 20[rsp]
	mov	edi, DWORD PTR 4[rsp]
	mov	ebx, eax
	call	get_delta@PLT
	mov	ecx, ebx
	or	ecx, eax
	je	.L2
	imul	eax, ebp
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	cdq
	idiv	ebx
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	cppc_cpufreq_perf_to_khz@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [r12]
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	cppc_cpufreq_perf_to_khz@PLT
	.cfi_endproc
.LFE0:
	.size	cppc_get_rate_from_fbctrs, .-cppc_get_rate_from_fbctrs
	.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_cppc_cpufreq.c_cppc_get_rate_from_fbctrs.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cppc_get_rate_from_fbctrs, %function
cppc_get_rate_from_fbctrs:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #16
	mov	r4, r0
	add	r0, sp, #16
	stmdb	r0, {r1, r2, r3}
	ldr	r0, [sp, #40]
	ldr	r1, [sp, #12]
	ldr	r6, [sp, #4]
	bl	get_delta
	ldr	r1, [sp, #8]
	mov	r5, r0
	ldr	r0, [sp, #36]
	bl	get_delta
	orrs	r3, r5, r0
	beq	.L2
	mov	r1, r5
	mul	r0, r6, r0
	bl	__aeabi_idiv
	mov	r1, r0
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	cppc_cpufreq_perf_to_khz
.L2:
	mov	r0, r4
	ldr	r1, [r4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	cppc_cpufreq_perf_to_khz
	.size	cppc_get_rate_from_fbctrs, .-cppc_get_rate_from_fbctrs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
