	.file	"extr_sc520_freq.c_sc520_freq_get_cpu_frequency.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error: cpuctl register has unexpected value %02x\n"
	.text
	.p2align 4
	.type	sc520_freq_get_cpu_frequency, @function
sc520_freq_get_cpu_frequency:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR cpuctl[rip]
	mov	esi, DWORD PTR [rax]
	mov	eax, 100000
	mov	edx, esi
	and	edx, 3
	cmp	edx, 1
	je	.L8
	mov	eax, 133000
	cmp	edx, 2
	je	.L8
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, 100000
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE0:
	.size	sc520_freq_get_cpu_frequency, .-sc520_freq_get_cpu_frequency
	.comm	cpuctl,8,8
	.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_sc520_freq.c_sc520_freq_get_cpu_frequency.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error: cpuctl register has unexpected value %02x\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sc520_freq_get_cpu_frequency, %function
sc520_freq_get_cpu_frequency:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	r3, [r3]
	ldr	r1, [r3]
	and	r3, r1, #3
	cmp	r3, #1
	beq	.L3
	cmp	r3, #2
	beq	.L4
	push	{r4, lr}
	ldr	r0, .L10+4
	bl	pr_err
	ldr	r0, .L10+8
	pop	{r4, pc}
.L4:
	ldr	r0, .L10+12
	bx	lr
.L3:
	ldr	r0, .L10+8
	bx	lr
.L11:
	.align	2
.L10:
	.word	cpuctl
	.word	.LC0
	.word	100000
	.word	133000
	.size	sc520_freq_get_cpu_frequency, .-sc520_freq_get_cpu_frequency
	.comm	cpuctl,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
