	.file	"extr_psc-i2s.c_au1xpsc_i2s_hw_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	au1xpsc_i2s_hw_params, @function
au1xpsc_i2s_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rdi, rdx
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_soc_dai_get_drvdata@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	I2S_STAT@PLT
	mov	edi, eax
	call	__raw_readl@PLT
	mov	r8, rax
	mov	rax, QWORD PTR PSC_I2SSTAT_TB[rip]
	or	rax, QWORD PTR PSC_I2SSTAT_RB[rip]
	test	r8, rax
	je	.L2
	mov	rdi, rbx
	call	I2S_CFG@PLT
	mov	edi, eax
	call	__raw_readl@PLT
	mov	rdi, rax
	call	PSC_I2SCFG_GET_LEN@PLT
	cmp	rax, QWORD PTR 0[rbp]
	je	.L3
.L5:
	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
	and	DWORD PTR 8[rbx], -497
	mov	rdi, QWORD PTR 0[rbp]
	call	PSC_I2SCFG_SET_LEN@PLT
	or	DWORD PTR 8[rbx], eax
	mov	rdi, rbp
	call	params_rate@PLT
	mov	QWORD PTR [rbx], rax
	xor	eax, eax
.L9:
	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
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	params_rate@PLT
	cmp	rax, QWORD PTR [rbx]
	jne	.L5
	xor	eax, eax
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	au1xpsc_i2s_hw_params, .-au1xpsc_i2s_hw_params
	.comm	PSC_I2SSTAT_TB,8,8
	.comm	PSC_I2SSTAT_RB,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_psc-i2s.c_au1xpsc_i2s_hw_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	au1xpsc_i2s_hw_params, %function
au1xpsc_i2s_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r0, r2
	mov	r6, r1
	bl	snd_soc_dai_get_drvdata
	mov	r5, r0
	bl	I2S_STAT
	bl	__raw_readl
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r4, [r2]
	ldr	r3, [r3]
	orr	r4, r4, r3
	ands	r4, r0, r4
	beq	.L2
	mov	r0, r5
	bl	I2S_CFG
	bl	__raw_readl
	bl	PSC_I2SCFG_GET_LEN
	ldr	r3, [r6]
	cmp	r0, r3
	beq	.L3
.L5:
	ldr	r3, .L8+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r5, #4]
	ldr	r0, [r6]
	bic	r3, r3, #496
	str	r3, [r5, #4]
	bl	PSC_I2SCFG_SET_LEN
	mov	r2, r0
	ldr	r3, [r5, #4]
	mov	r0, r6
	orr	r3, r3, r2
	str	r3, [r5, #4]
	bl	params_rate
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r6
	bl	params_rate
	ldr	r3, [r5]
	cmp	r0, r3
	bne	.L5
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	PSC_I2SSTAT_TB
	.word	PSC_I2SSTAT_RB
	.word	EINVAL
	.size	au1xpsc_i2s_hw_params, .-au1xpsc_i2s_hw_params
	.comm	PSC_I2SSTAT_TB,4,4
	.comm	PSC_I2SSTAT_RB,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
