	.file	"extr_cs35l33.c_cs35l33_component_set_sysclk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"external mclk freq=%d, internal mclk freq=%d\n"
	.text
	.p2align 4
	.type	cs35l33_component_set_sysclk, @function
cs35l33_component_set_sysclk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	snd_soc_component_get_drvdata@PLT
	mov	rbp, rax
	cmp	r12d, 130
	jbe	.L11
	lea	eax, -131[r12]
	cmp	eax, 2
	ja	.L4
	mov	edx, DWORD PTR CS35L33_MCLKDIV2[rip]
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR CS35L33_CLK_CTL[rip]
	mov	ecx, edx
	call	regmap_update_bits@PLT
	mov	ecx, r12d
	shr	ecx
	mov	DWORD PTR 0[rbp], ecx
.L6:
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	r12d, 127
	ja	.L12
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	mov	DWORD PTR 0[rbp], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR CS35L33_MCLKDIV2[rip]
	xor	ecx, ecx
	mov	esi, DWORD PTR CS35L33_CLK_CTL[rip]
	call	regmap_update_bits@PLT
	mov	DWORD PTR 0[rbp], r12d
	mov	ecx, r12d
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	cs35l33_component_set_sysclk, .-cs35l33_component_set_sysclk
	.comm	EINVAL,4,4
	.comm	CS35L33_MCLKDIV2,4,4
	.comm	CS35L33_CLK_CTL,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_cs35l33.c_cs35l33_component_set_sysclk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"external mclk freq=%d, internal mclk freq=%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs35l33_component_set_sysclk, %function
cs35l33_component_set_sysclk:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r3
	mov	r5, r0
	bl	snd_soc_component_get_drvdata
	cmp	r4, #130
	mov	r6, r0
	bls	.L11
	sub	r3, r4, #131
	cmp	r3, #2
	bhi	.L4
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r0, [r0, #4]
	mov	r2, r3
	bl	regmap_update_bits
	lsr	r3, r4, #1
	str	r3, [r6]
.L6:
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, .L13+8
	bl	dev_dbg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	cmp	r4, #127
	bhi	.L12
.L4:
	mov	r2, #0
	ldr	r3, .L13+12
	str	r2, [r6]
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L13+4
	ldr	r2, .L13
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #0
	ldr	r0, [r0, #4]
	bl	regmap_update_bits
	mov	r3, r4
	str	r4, [r6]
	b	.L6
.L14:
	.align	2
.L13:
	.word	CS35L33_MCLKDIV2
	.word	CS35L33_CLK_CTL
	.word	.LC0
	.word	EINVAL
	.size	cs35l33_component_set_sysclk, .-cs35l33_component_set_sysclk
	.comm	EINVAL,4,4
	.comm	CS35L33_MCLKDIV2,4,4
	.comm	CS35L33_CLK_CTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
