	.file	"extr_cx25840-audio.c_cx23885_set_audclk_freq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cx23885_set_audclk_freq, @function
cx23885_set_audclk_freq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	i2c_get_clientdata@PLT
	mov	edi, eax
	call	to_state@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR CX25840_AUDIO_SERIAL[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	cmp	ebp, 48000
	je	.L11
.L2:
	mov	DWORD PTR 8[rbx], ebp
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, r12
	mov	edx, 134317692
	mov	esi, 2296
	call	cx25840_write4@PLT
	mov	rdi, r12
	mov	edx, 134303658
	mov	esi, 2304
	call	cx25840_write4@PLT
	mov	rdi, r12
	mov	edx, 134303658
	mov	esi, 2308
	call	cx25840_write4@PLT
	mov	edx, 134303658
	mov	esi, 2316
	mov	rdi, r12
	call	cx25840_write4@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	cx23885_set_audclk_freq, .-cx23885_set_audclk_freq
	.comm	CX25840_AUDIO_SERIAL,8,8
	.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_cx25840-audio.c_cx23885_set_audclk_freq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx23885_set_audclk_freq, %function
cx23885_set_audclk_freq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	i2c_get_clientdata
	bl	to_state
	ldr	r3, .L9
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, .L9+4
	mov	r4, r0
	cmp	r1, r2
	cmpeq	r5, r3
	beq	.L8
.L2:
	mov	r0, #0
	str	r5, [r4, #4]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r6
	ldr	r2, .L9+8
	ldr	r1, .L9+12
	bl	cx25840_write4
	mov	r1, #2304
	mov	r0, r6
	ldr	r2, .L9+16
	bl	cx25840_write4
	mov	r0, r6
	ldr	r2, .L9+16
	ldr	r1, .L9+20
	bl	cx25840_write4
	mov	r0, r6
	ldr	r2, .L9+16
	ldr	r1, .L9+24
	bl	cx25840_write4
	b	.L2
.L10:
	.align	2
.L9:
	.word	CX25840_AUDIO_SERIAL
	.word	48000
	.word	134317692
	.word	2296
	.word	134303658
	.word	2308
	.word	2316
	.size	cx23885_set_audclk_freq, .-cx23885_set_audclk_freq
	.comm	CX25840_AUDIO_SERIAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
