	.file	"extr_dispc.c_calc_core_clk_34xx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	calc_core_clk_34xx, @function
calc_core_clk_34xx:
.LFB0:
	.cfi_startproc
	endbr64
	lea	eax, [rcx+rcx]
	lea	r9d, [rax+rcx]
	cmp	r9d, esi
	jge	.L2
	sal	rdi, 2
.L3:
	xor	eax, eax
	cmp	edx, r8d
	setg	al
	add	rax, 1
	imul	rax, rdi
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	eax, esi
	jge	.L4
	lea	rdi, [rdi+rdi*2]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rax, [rdi+rdi]
	cmp	ecx, esi
	cmovl	rdi, rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	calc_core_clk_34xx, .-calc_core_clk_34xx
	.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_dispc.c_calc_core_clk_34xx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_core_clk_34xx, %function
calc_core_clk_34xx:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	add	ip, r3, r3, lsl #1
	cmp	ip, r1
	str	lr, [sp, #-4]!
	ldr	ip, [sp, #4]
	lsllt	r0, r0, #2
	blt	.L3
	lsl	lr, r3, #1
	cmp	lr, r1
	addlt	r0, r0, r0, lsl #1
	blt	.L3
	cmp	r3, r1
	lsllt	r0, r0, #1
.L3:
	cmp	r2, ip
	movgt	r2, #2
	movle	r2, #1
	mul	r0, r2, r0
	ldr	pc, [sp], #4
	.size	calc_core_clk_34xx, .-calc_core_clk_34xx
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
