	.file	"extr_clock_imx21.c__clk_fclk_get_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_clk_fclk_get_rate, @function
_clk_fclk_get_rate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	CSCR@PLT
	mov	ecx, DWORD PTR CCM_CSCR_PRESC_OFFSET[rip]
	and	eax, DWORD PTR CCM_CSCR_PRESC_MASK[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	ebx, eax
	sar	ebx, cl
	call	clk_get_rate@PLT
	lea	ecx, 1[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	edx, edx
	movsx	rcx, ecx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	div	rcx
	ret
	.cfi_endproc
.LFE0:
	.size	_clk_fclk_get_rate, .-_clk_fclk_get_rate
	.comm	CCM_CSCR_PRESC_OFFSET,4,4
	.comm	CCM_CSCR_PRESC_MASK,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_clock_imx21.c__clk_fclk_get_rate.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_clk_fclk_get_rate, %function
_clk_fclk_get_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	CSCR
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r4, [r2]
	ldr	r1, [r3]
	and	r4, r4, r0
	asr	r4, r4, r1
	ldr	r0, [r5]
	bl	clk_get_rate
	add	r1, r4, #1
	bl	__aeabi_uidiv
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	CCM_CSCR_PRESC_MASK
	.word	CCM_CSCR_PRESC_OFFSET
	.size	_clk_fclk_get_rate, .-_clk_fclk_get_rate
	.comm	CCM_CSCR_PRESC_OFFSET,4,4
	.comm	CCM_CSCR_PRESC_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
