	.file	"extr_adav80x.c_adav80x_hw_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adav80x_hw_params, @function
adav80x_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r15, QWORD PTR [rdx]
	mov	rdi, r15
	call	snd_soc_component_get_drvdata@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	params_rate@PLT
	mov	ebx, eax
	sal	eax, 8
	cmp	eax, DWORD PTR 0[rbp]
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, r15
	cmp	QWORD PTR [r14], rax
	je	.L8
	call	adav80x_set_capture_pcm_format@PLT
	mov	esi, ebx
	mov	rdi, r15
	call	adav80x_set_adc_clock@PLT
.L5:
	mov	DWORD PTR 4[rbp], ebx
	mov	rdi, r15
	call	adav80x_set_deemph@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	adav80x_set_playback_pcm_format@PLT
	mov	esi, ebx
	mov	rdi, r15
	call	adav80x_set_dac_clock@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	adav80x_hw_params, .-adav80x_hw_params
	.comm	SNDRV_PCM_STREAM_PLAYBACK,8,8
	.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_adav80x.c_adav80x_hw_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adav80x_hw_params, %function
adav80x_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [r2]
	mov	r8, r0
	mov	r0, r9
	mov	r7, r1
	mov	r6, r2
	bl	snd_soc_component_get_drvdata
	mov	r5, r0
	mov	r0, r7
	bl	params_rate
	ldr	r3, [r5]
	cmp	r3, r0, lsl #8
	beq	.L2
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L9+4
	ldr	r2, [r8]
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r2, r3
	mov	r1, r6
	mov	r2, r7
	mov	r0, r9
	beq	.L8
	bl	adav80x_set_capture_pcm_format
	mov	r1, r4
	mov	r0, r9
	bl	adav80x_set_adc_clock
.L5:
	mov	r0, r9
	str	r4, [r5, #4]
	bl	adav80x_set_deemph
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	bl	adav80x_set_playback_pcm_format
	mov	r1, r4
	mov	r0, r9
	bl	adav80x_set_dac_clock
	b	.L5
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.size	adav80x_hw_params, .-adav80x_hw_params
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
