	.file	"extr_wm9081.c_clk_sys_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Using %dHz MCLK\n"
.LC1:
	.string	"Using %dHz MCLK with FLL\n"
.LC2:
	.string	"System clock not configured\n"
	.text
	.p2align 4
	.type	clk_sys_event, @function
clk_sys_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	call	snd_soc_dapm_to_component@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	snd_soc_component_get_drvdata@PLT
	mov	edx, DWORD PTR [rax]
	cmp	edx, 128
	je	.L2
	cmp	edx, 129
	je	.L3
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rax]
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	cmp	ebx, 130
	je	.L7
.L13:
	cmp	ebx, 131
	jne	.L11
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	wm9081_set_fll@PLT
.L11:
	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
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rax]
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC1[rip]
	call	dev_dbg@PLT
	cmp	ebx, 130
	jne	.L13
.L7:
	mov	rdi, rbp
	call	configure_clock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	clk_sys_event, .-clk_sys_event
	.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_wm9081.c_clk_sys_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Using %dHz MCLK\012\000"
	.align	2
.LC1:
	.ascii	"Using %dHz MCLK with FLL\012\000"
	.align	2
.LC2:
	.ascii	"System clock not configured\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clk_sys_event, %function
clk_sys_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r5, r2
	bl	snd_soc_dapm_to_component
	mov	r4, r0
	bl	snd_soc_component_get_drvdata
	ldr	r3, [r0]
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	beq	.L3
	ldr	r0, [r4]
	ldr	r1, .L14
	bl	dev_err
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, [r0, #4]
	ldr	r1, .L14+8
	ldr	r0, [r4]
	bl	dev_dbg
	cmp	r5, #130
	beq	.L7
.L13:
	cmp	r5, #131
	bne	.L11
	mov	r3, #0
	mov	r0, r4
	mov	r2, r3
	mov	r1, r3
	bl	wm9081_set_fll
.L11:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r2, [r0, #4]
	ldr	r1, .L14+12
	ldr	r0, [r4]
	bl	dev_dbg
	cmp	r5, #130
	bne	.L13
.L7:
	mov	r0, r4
	bl	configure_clock
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	EINVAL
	.word	.LC0
	.word	.LC1
	.size	clk_sys_event, .-clk_sys_event
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
