	.file	"extr_tscs42xx.c_power_up_audio_plls.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unrecognized PLL output freq (%d)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Failed to turn PLL on (%d)\n"
.LC2:
	.string	"Failed to lock plls\n"
	.text
	.p2align 4
	.type	power_up_audio_plls, @function
power_up_audio_plls:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	snd_soc_component_get_drvdata@PLT
	mov	edi, DWORD PTR 4[rax]
	mov	rbp, rax
	call	sample_rate_to_pll_freq_out@PLT
	cmp	eax, 112896000
	je	.L2
	cmp	eax, 122880000
	jne	.L3
	mov	r12d, DWORD PTR RM_PLLCTL1C_PDB_PLL1[rip]
	mov	r13d, DWORD PTR RV_PLLCTL1C_PDB_PLL1_ENABLE[rip]
.L4:
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	edx, r12d
	mov	ecx, r13d
	mov	rdi, rbx
	mov	esi, DWORD PTR R_PLLCTL1C[rip]
	call	snd_soc_component_update_bits@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L11
	mov	rdi, rbx
	xor	r12d, r12d
	call	plls_locked@PLT
	test	eax, eax
	je	.L12
.L7:
	mov	rdi, rbp
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR RM_PLLCTL1C_PDB_PLL2[rip]
	mov	r13d, DWORD PTR RV_PLLCTL1C_PDB_PLL2_ENABLE[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	neg	r12d
	mov	edx, r12d
	call	dev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMSG[rip]
	neg	r12d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	power_up_audio_plls, .-power_up_audio_plls
	.comm	R_PLLCTL1C,4,4
	.comm	RV_PLLCTL1C_PDB_PLL2_ENABLE,4,4
	.comm	RV_PLLCTL1C_PDB_PLL1_ENABLE,4,4
	.comm	RM_PLLCTL1C_PDB_PLL2,4,4
	.comm	RM_PLLCTL1C_PDB_PLL1,4,4
	.comm	ENOMSG,4,4
	.comm	EINVAL,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_tscs42xx.c_power_up_audio_plls.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unrecognized PLL output freq (%d)\012\000"
	.align	2
.LC1:
	.ascii	"Failed to turn PLL on (%d)\012\000"
	.align	2
.LC2:
	.ascii	"Failed to lock plls\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	power_up_audio_plls, %function
power_up_audio_plls:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	snd_soc_component_get_drvdata
	mov	r5, r0
	ldr	r0, [r0, #4]
	bl	sample_rate_to_pll_freq_out
	ldr	r3, .L13
	cmp	r0, r3
	beq	.L2
	ldr	r3, .L13+4
	cmp	r0, r3
	bne	.L3
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r4, [r2]
	ldr	r7, [r3]
.L4:
	mov	r0, r5
	bl	mutex_lock
	ldr	r1, .L13+16
	mov	r2, r4
	mov	r3, r7
	mov	r0, r6
	ldr	r1, [r1]
	bl	snd_soc_component_update_bits
	subs	r4, r0, #0
	blt	.L11
	mov	r0, r6
	bl	plls_locked
	cmp	r0, #0
	movne	r4, #0
	beq	.L12
.L7:
	mov	r0, r5
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, .L13+20
	ldr	r3, .L13+24
	ldr	r4, [r2]
	ldr	r7, [r3]
	b	.L4
.L3:
	ldr	r3, .L13+28
	ldr	r0, [r6]
	ldr	r4, [r3]
	ldr	r1, .L13+32
	rsb	r4, r4, #0
	mov	r2, r4
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L13+36
	bl	dev_err
	b	.L7
.L12:
	ldr	r0, [r6]
	ldr	r1, .L13+40
	bl	dev_err
	ldr	r3, .L13+44
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L7
.L14:
	.align	2
.L13:
	.word	112896000
	.word	122880000
	.word	RM_PLLCTL1C_PDB_PLL1
	.word	RV_PLLCTL1C_PDB_PLL1_ENABLE
	.word	R_PLLCTL1C
	.word	RM_PLLCTL1C_PDB_PLL2
	.word	RV_PLLCTL1C_PDB_PLL2_ENABLE
	.word	EINVAL
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ENOMSG
	.size	power_up_audio_plls, .-power_up_audio_plls
	.comm	R_PLLCTL1C,4,4
	.comm	RV_PLLCTL1C_PDB_PLL2_ENABLE,4,4
	.comm	RV_PLLCTL1C_PDB_PLL1_ENABLE,4,4
	.comm	RM_PLLCTL1C_PDB_PLL2,4,4
	.comm	RM_PLLCTL1C_PDB_PLL1,4,4
	.comm	ENOMSG,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
