	.file	"extr_cs53l30.c_cs53l30_pcm_hw_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cs53l30_pcm_hw_params, @function
cs53l30_pcm_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdx]
	call	snd_soc_component_get_drvdata@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	params_rate@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, eax
	call	cs53l30_get_mclk_coeff@PLT
	test	eax, eax
	js	.L6
	cdqe
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR CS53L30_INTRNL_FS_RATIO_MASK[rip]
	lea	rbp, [rax+rax*2]
	mov	rax, QWORD PTR cs53l30_mclk_coeffs[rip]
	mov	esi, DWORD PTR CS53L30_INT_SR_CTL[rip]
	sal	rbp, 2
	mov	ecx, DWORD PTR 8[rax+rbp]
	call	regmap_update_bits@PLT
	mov	rax, QWORD PTR cs53l30_mclk_coeffs[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR CS53L30_MCLK_INT_SCALE_MASK[rip]
	mov	esi, DWORD PTR CS53L30_MCLKCTL[rip]
	mov	ecx, DWORD PTR 4[rax+rbp]
	call	regmap_update_bits@PLT
	mov	rax, QWORD PTR cs53l30_mclk_coeffs[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR CS53L30_ASP_RATE_MASK[rip]
	mov	esi, DWORD PTR CS53L30_ASPCFG_CTL[rip]
	mov	ecx, DWORD PTR [rax+rbp]
	call	regmap_update_bits@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	cs53l30_pcm_hw_params, .-cs53l30_pcm_hw_params
	.comm	cs53l30_mclk_coeffs,8,8
	.comm	EINVAL,4,4
	.comm	CS53L30_MCLK_INT_SCALE_MASK,4,4
	.comm	CS53L30_MCLKCTL,4,4
	.comm	CS53L30_INT_SR_CTL,4,4
	.comm	CS53L30_INTRNL_FS_RATIO_MASK,4,4
	.comm	CS53L30_ASP_RATE_MASK,4,4
	.comm	CS53L30_ASPCFG_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_cs53l30.c_cs53l30_pcm_hw_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs53l30_pcm_hw_params, %function
cs53l30_pcm_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r2]
	mov	r4, r1
	bl	snd_soc_component_get_drvdata
	mov	r5, r0
	mov	r0, r4
	bl	params_rate
	mov	r1, r0
	ldr	r0, [r5, #4]
	bl	cs53l30_get_mclk_coeff
	subs	r3, r0, #0
	blt	.L6
	ldr	r6, .L7
	add	r4, r3, r3, lsl #1
	ldr	r3, [r6]
	ldr	r2, .L7+4
	ldr	r1, .L7+8
	add	r3, r3, r4, lsl #2
	ldr	r3, [r3, #8]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r5]
	bl	regmap_update_bits
	ldr	r3, [r6]
	lsl	r4, r4, #2
	ldr	r2, .L7+12
	ldr	r1, .L7+16
	add	r3, r3, r4
	ldr	r3, [r3, #4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r5]
	bl	regmap_update_bits
	ldr	r3, [r6]
	ldr	r2, .L7+20
	ldr	r1, .L7+24
	ldr	r3, [r3, r4]
	ldr	r0, [r5]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	regmap_update_bits
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L7+28
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	cs53l30_mclk_coeffs
	.word	CS53L30_INTRNL_FS_RATIO_MASK
	.word	CS53L30_INT_SR_CTL
	.word	CS53L30_MCLK_INT_SCALE_MASK
	.word	CS53L30_MCLKCTL
	.word	CS53L30_ASP_RATE_MASK
	.word	CS53L30_ASPCFG_CTL
	.word	EINVAL
	.size	cs53l30_pcm_hw_params, .-cs53l30_pcm_hw_params
	.comm	cs53l30_mclk_coeffs,4,4
	.comm	EINVAL,4,4
	.comm	CS53L30_MCLK_INT_SCALE_MASK,4,4
	.comm	CS53L30_MCLKCTL,4,4
	.comm	CS53L30_INT_SR_CTL,4,4
	.comm	CS53L30_INTRNL_FS_RATIO_MASK,4,4
	.comm	CS53L30_ASP_RATE_MASK,4,4
	.comm	CS53L30_ASPCFG_CTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
