	.file	"extr_clock-sh4-202.c_shoc_clk_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shoc_clk_init, @function
shoc_clk_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR frqcr3_divisors[rip]
	mov	rdi, rbp
	mov	eax, DWORD PTR [rax]
	cdq
	idiv	DWORD PTR [rcx+rbx*4]
	xor	edx, edx
	add	rbx, 1
	mov	esi, eax
	mov	rax, QWORD PTR 8[rbp]
	call	[QWORD PTR [rax]]
	test	rax, rax
	je	.L4
.L2:
	mov	rdi, QWORD PTR frqcr3_divisors[rip]
	mov	r12d, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L3
.L4:
	mov	rdi, QWORD PTR frqcr3_divisors[rip]
	call	ARRAY_SIZE@PLT
	xor	edi, edi
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	cmp	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	sete	dil
	jmp	WARN_ON@PLT
	.cfi_endproc
.LFE0:
	.size	shoc_clk_init, .-shoc_clk_init
	.comm	frqcr3_divisors,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_clock-sh4-202.c_shoc_clk_init.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shoc_clk_init, %function
shoc_clk_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	mov	r5, r0
	ldr	r6, .L8
	b	.L2
.L4:
	ldr	r2, [r5]
	ldr	r3, [r6]
	ldr	r0, [r2]
	ldr	r1, [r3, r4, lsl #2]
	bl	__aeabi_idiv
	ldr	r3, [r5, #4]
	mov	r1, r0
	mov	r2, #0
	mov	r0, r5
	ldr	r3, [r3]
	blx	r3
	cmp	r0, #0
	beq	.L5
	add	r4, r4, #1
.L2:
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L4
.L5:
	ldr	r0, [r6]
	bl	ARRAY_SIZE
	sub	r0, r0, r4
	clz	r0, r0
	pop	{r4, r5, r6, lr}
	lsr	r0, r0, #5
	b	WARN_ON
.L9:
	.align	2
.L8:
	.word	frqcr3_divisors
	.size	shoc_clk_init, .-shoc_clk_init
	.comm	frqcr3_divisors,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
