	.file	"extr_tm2_wm5110.c_tm2_stop_sysclk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to stop FLL1: %d\n"
.LC1:
	.string	"Failed to stop SYSCLK: %d\n"
	.text
	.p2align 4
	.type	tm2_stop_sysclk, @function
tm2_stop_sysclk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_soc_card_get_drvdata@PLT
	mov	esi, DWORD PTR WM5110_FLL1[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rbx, QWORD PTR [rax]
	xor	edx, edx
	mov	rdi, rbx
	call	snd_soc_component_set_pll@PLT
	test	eax, eax
	js	.L7
	mov	edx, DWORD PTR ARIZONA_CLK_SRC_FLL1[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdi, rbx
	mov	esi, DWORD PTR ARIZONA_CLK_SYSCLK[rip]
	call	snd_soc_component_set_sysclk@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L8
	xor	r12d, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	dev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tm2_stop_sysclk, .-tm2_stop_sysclk
	.comm	WM5110_FLL1,4,4
	.comm	ARIZONA_CLK_SYSCLK,4,4
	.comm	ARIZONA_CLK_SRC_FLL1,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_tm2_wm5110.c_tm2_stop_sysclk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to stop FLL1: %d\012\000"
	.align	2
.LC1:
	.ascii	"Failed to stop SYSCLK: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tm2_stop_sysclk, %function
tm2_stop_sysclk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	bl	snd_soc_card_get_drvdata
	mov	r5, #0
	ldr	r6, [r0]
	ldr	r1, .L9
	str	r5, [sp]
	mov	r0, r6
	mov	r3, r5
	mov	r2, r5
	ldr	r1, [r1]
	bl	snd_soc_component_set_pll
	subs	r4, r0, #0
	blt	.L7
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	str	r5, [sp]
	ldr	r1, [r3]
	mov	r0, r6
	mov	r3, r5
	ldr	r2, [r2]
	bl	snd_soc_component_set_sysclk
	subs	r4, r0, #0
	movge	r4, r5
	blt	.L8
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L9+12
	bl	dev_err
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L9+16
	bl	dev_err
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	WM5110_FLL1
	.word	ARIZONA_CLK_SYSCLK
	.word	ARIZONA_CLK_SRC_FLL1
	.word	.LC0
	.word	.LC1
	.size	tm2_stop_sysclk, .-tm2_stop_sysclk
	.comm	WM5110_FLL1,4,4
	.comm	ARIZONA_CLK_SYSCLK,4,4
	.comm	ARIZONA_CLK_SRC_FLL1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
