	.file	"extr_common.c_get_tclk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unknown TCLK PLL setting: %.8x\n"
	.text
	.p2align 4
	.type	get_tclk, @function
get_tclk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edi, DWORD PTR SAMPLE_AT_RESET_HIGH[rip]
	mov	r12d, 166666667
	call	readl@PLT
	sar	eax, 6
	and	eax, 7
	cmp	eax, 1
	je	.L1
	cmp	eax, 3
	je	.L4
	mov	edi, DWORD PTR SAMPLE_AT_RESET_HIGH[rip]
	call	readl@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	panic@PLT
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, 200000000
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_tclk, .-get_tclk
	.comm	SAMPLE_AT_RESET_HIGH,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_common.c_get_tclk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown TCLK PLL setting: %.8x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_tclk, %function
get_tclk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L7
	ldr	r0, [r4]
	bl	readl
	asr	r0, r0, #6
	and	r0, r0, #7
	cmp	r0, #1
	beq	.L3
	cmp	r0, #3
	beq	.L4
	ldr	r0, [r4]
	bl	readl
	mov	r1, r0
	ldr	r0, .L7+4
	bl	panic
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r5, .L7+8
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r5, .L7+12
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	SAMPLE_AT_RESET_HIGH
	.word	.LC0
	.word	200000000
	.word	166666667
	.size	get_tclk, .-get_tclk
	.comm	SAMPLE_AT_RESET_HIGH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
