	.file	"extr_pcm179x.c_pcm179x_hw_params.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid DAI format\n"
	.text
	.p2align 4
	.type	pcm179x_hw_params, @function
pcm179x_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 8[rbx], eax
	mov	eax, DWORD PTR [rbx]
	and	eax, DWORD PTR SND_SOC_DAIFMT_FORMAT_MASK[rip]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	je	.L3
	mov	edi, DWORD PTR [r12]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
.L13:
	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	rdi, rbp
	call	params_width@PLT
	lea	edx, -24[rax]
	and	edx, -9
	je	.L7
	cmp	eax, 16
	jne	.L13
	xor	eax, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbp
	call	params_width@PLT
	lea	edx, -24[rax]
	and	edx, -9
	je	.L9
	cmp	eax, 16
	jne	.L13
	mov	eax, 4
.L5:
	mov	ecx, DWORD PTR PCM179X_FMT_SHIFT[rip]
	mov	edx, DWORD PTR PCM179X_ATLD_ENABLE[rip]
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR PCM179X_FMT_CONTROL[rip]
	sal	eax, cl
	mov	ecx, eax
	or	ecx, edx
	or	edx, DWORD PTR PCM179X_FMT_MASK[rip]
	call	regmap_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
.L9:
	.cfi_restore_state
	mov	eax, 5
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, 2
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	pcm179x_hw_params, .-pcm179x_hw_params
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	PCM179X_FMT_SHIFT,4,4
	.comm	PCM179X_FMT_MASK,4,4
	.comm	PCM179X_FMT_CONTROL,4,4
	.comm	PCM179X_ATLD_ENABLE,4,4
	.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_pcm179x.c_pcm179x_hw_params.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid DAI format\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcm179x_hw_params, %function
pcm179x_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	r2, .L16
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r0, [r4, #8]
	and	r3, r3, r2
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	beq	.L3
	ldr	r0, [r6]
	ldr	r1, .L16+4
	bl	dev_err
.L14:
	ldr	r3, .L16+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r5
	bl	params_width
	sub	r3, r0, #24
	bics	r3, r3, #8
	beq	.L7
	cmp	r0, #16
	bne	.L14
	mov	lr, #0
	b	.L5
.L3:
	mov	r0, r5
	bl	params_width
	sub	r3, r0, #24
	bics	r3, r3, #8
	beq	.L9
	cmp	r0, #16
	bne	.L14
	mov	lr, #4
.L5:
	ldr	r0, .L16+12
	ldr	r1, .L16+16
	ldr	r2, .L16+20
	ldr	ip, [r1]
	ldr	r3, [r0]
	ldr	r2, [r2]
	ldr	r1, .L16+24
	orr	r3, r2, lr, lsl r3
	ldr	r0, [r4, #4]
	ldr	r1, [r1]
	orr	r2, r2, ip
	bl	regmap_update_bits
	and	r0, r0, r0, asr #31
	pop	{r4, r5, r6, pc}
.L9:
	mov	lr, #5
	b	.L5
.L7:
	mov	lr, #2
	b	.L5
.L17:
	.align	2
.L16:
	.word	SND_SOC_DAIFMT_FORMAT_MASK
	.word	.LC0
	.word	EINVAL
	.word	PCM179X_FMT_SHIFT
	.word	PCM179X_FMT_MASK
	.word	PCM179X_ATLD_ENABLE
	.word	PCM179X_FMT_CONTROL
	.size	pcm179x_hw_params, .-pcm179x_hw_params
	.comm	SND_SOC_DAIFMT_FORMAT_MASK,4,4
	.comm	PCM179X_FMT_SHIFT,4,4
	.comm	PCM179X_FMT_MASK,4,4
	.comm	PCM179X_FMT_CONTROL,4,4
	.comm	PCM179X_ATLD_ENABLE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
