	.file	"extr_cpufreq_dt.c_cpufreq_dt_settings.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cpufreq_dt_settings\n"
	.text
	.p2align 4
	.type	cpufreq_dt_settings, @function
cpufreq_dt_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	DEBUG@PLT
	test	rbp, rbp
	je	.L9
	test	r14, r14
	je	.L9
	mov	edi, r13d
	call	device_get_softc@PLT
	mov	r12, rax
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR [r14], eax
	jl	.L5
	xor	ebx, ebx
	test	eax, eax
	je	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 8[r12]
	mov	rdx, rbp
	mov	edi, r13d
	add	rbp, 4
	lea	rsi, [rax+rbx*4]
	add	rbx, 1
	call	cpufreq_dt_opp_to_setting@PLT
	movsx	rdx, DWORD PTR [r12]
	mov	rax, rdx
	cmp	rdx, rbx
	ja	.L8
.L7:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [r14], eax
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [r14], eax
	pop	r12
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR E2BIG[rip]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cpufreq_dt_settings, .-cpufreq_dt_settings
	.comm	EINVAL,4,4
	.comm	E2BIG,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_cpufreq_dt.c_cpufreq_dt_settings.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpufreq_dt_settings\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpufreq_dt_settings, %function
cpufreq_dt_settings:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r2
	mov	r5, r1
	clz	r4, r8
	ldr	r1, .L11
	mov	r7, r0
	bl	DEBUG
	cmp	r5, #0
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	beq	.L2
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r7
	bl	device_get_softc
	ldr	r2, [r8]
	ldr	r3, [r0]
	mov	r6, r0
	cmp	r2, r3
	blt	.L4
	cmp	r3, #0
	beq	.L6
.L7:
	ldr	r1, [r6, #4]
	mov	r2, r5
	add	r1, r1, r4, lsl #2
	mov	r0, r7
	bl	cpufreq_dt_opp_to_setting
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, #4
	bhi	.L7
.L6:
	mov	r0, #0
	str	r3, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r2, .L11+8
	str	r3, [r8]
	ldr	r0, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	EINVAL
	.word	E2BIG
	.size	cpufreq_dt_settings, .-cpufreq_dt_settings
	.comm	EINVAL,4,4
	.comm	E2BIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
