	.file	"extr_clk-wm831x.c_wm831x_fll_round_rate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm831x_fll_round_rate, @function
wm831x_fll_round_rate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR [rax+rbx*8]
	sub	rdi, r13
	call	abs@PLT
	mov	r12, rax
	mov	rax, QWORD PTR wm831x_fll_auto_rates[rip]
	mov	rdi, QWORD PTR [rax+rbp*8]
	sub	rdi, r13
	call	abs@PLT
	mov	r8, rax
	movsx	rax, ebx
	cmp	r12, r8
	cmovl	rbp, rax
	add	rbx, 1
.L2:
	mov	rdi, QWORD PTR wm831x_fll_auto_rates[rip]
	call	ARRAY_SIZE@PLT
	lea	rdx, 0[0+rbp*8]
	cmp	eax, ebx
	mov	rax, QWORD PTR wm831x_fll_auto_rates[rip]
	jg	.L4
	mov	rax, QWORD PTR [rax+rdx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wm831x_fll_round_rate, .-wm831x_fll_round_rate
	.comm	wm831x_fll_auto_rates,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_clk-wm831x.c_wm831x_fll_round_rate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm831x_fll_round_rate, %function
wm831x_fll_round_rate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, #0
	ldr	r5, .L7
	mov	r4, r1
	mov	r7, r6
	ldr	r0, [r5]
	b	.L2
.L4:
	ldr	r0, [r5]
	ldr	r2, [r0, r6, lsl #2]
	ldr	r3, [r0, r7]
	sub	r2, r2, r4
	sub	r3, r3, r4
	cmp	r2, #0
	rsblt	r2, r2, #0
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r2, r3
	lsllt	r7, r6, #2
	add	r6, r6, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r6
	bgt	.L4
	ldr	r3, [r5]
	ldr	r0, [r3, r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	wm831x_fll_auto_rates
	.size	wm831x_fll_round_rate, .-wm831x_fll_round_rate
	.comm	wm831x_fll_auto_rates,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
