	.file	"extr_cs4349.c_cs4349_pcm_hw_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cs4349_pcm_hw_params, @function
cs4349_pcm_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR [rdx]
	mov	rdi, r12
	call	snd_soc_component_get_drvdata@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	params_rate@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L15
.L11:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR DIF_LEFT_JST[rip]
.L6:
	call	MODE_FORMAT@PLT
	mov	edx, DWORD PTR DIF_MASK[rip]
	mov	esi, DWORD PTR CS4349_MODE[rip]
	mov	rdi, r12
	mov	ecx, eax
	call	snd_soc_component_update_bits@PLT
	mov	edx, 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	test	eax, eax
	pop	r12
	.cfi_def_cfa_offset 8
	cmovg	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rbp
	call	params_width@PLT
	cmp	eax, 16
	je	.L7
	cmp	eax, 24
	jne	.L11
	mov	edi, DWORD PTR DIF_RGHT_JST24[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR DIF_I2S[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR DIF_RGHT_JST16[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	cs4349_pcm_hw_params, .-cs4349_pcm_hw_params
	.comm	EINVAL,4,4
	.comm	DIF_RGHT_JST24,4,4
	.comm	DIF_RGHT_JST16,4,4
	.comm	DIF_MASK,4,4
	.comm	DIF_LEFT_JST,4,4
	.comm	DIF_I2S,4,4
	.comm	CS4349_MODE,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_cs4349.c_cs4349_pcm_hw_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs4349_pcm_hw_params, %function
cs4349_pcm_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r2]
	mov	r5, r1
	mov	r0, r6
	bl	snd_soc_component_get_drvdata
	mov	r4, r0
	mov	r0, r5
	bl	params_rate
	ldr	r3, [r4]
	str	r0, [r4, #4]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	beq	.L15
.L11:
	ldr	r3, .L16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L16+4
	ldr	r0, [r3]
.L6:
	ldr	r2, .L16+8
	ldr	r3, .L16+12
	ldr	r4, [r2]
	ldr	r5, [r3]
	bl	MODE_FORMAT
	mov	r2, r5
	mov	r3, r0
	mov	r1, r4
	mov	r0, r6
	bl	snd_soc_component_update_bits
	and	r0, r0, r0, asr #31
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r5
	bl	params_width
	cmp	r0, #16
	beq	.L7
	cmp	r0, #24
	bne	.L11
	ldr	r3, .L16+16
	ldr	r0, [r3]
	b	.L6
.L3:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	b	.L6
.L7:
	ldr	r3, .L16+24
	ldr	r0, [r3]
	b	.L6
.L17:
	.align	2
.L16:
	.word	EINVAL
	.word	DIF_LEFT_JST
	.word	CS4349_MODE
	.word	DIF_MASK
	.word	DIF_RGHT_JST24
	.word	DIF_I2S
	.word	DIF_RGHT_JST16
	.size	cs4349_pcm_hw_params, .-cs4349_pcm_hw_params
	.comm	EINVAL,4,4
	.comm	DIF_RGHT_JST24,4,4
	.comm	DIF_RGHT_JST16,4,4
	.comm	DIF_MASK,4,4
	.comm	DIF_LEFT_JST,4,4
	.comm	DIF_I2S,4,4
	.comm	CS4349_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
