	.file	"extr_storm.c_storm_ops_hw_params.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid bit width given: %d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"error setting sysclk to %u: %d\n"
	.text
	.p2align 4
	.type	storm_ops_hw_params, @function
storm_ops_hw_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR [rdi]
	mov	rdi, rsi
	mov	rbp, QWORD PTR 8[r14]
	call	params_format@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	params_rate@PLT
	mov	edi, r13d
	mov	ebx, eax
	call	snd_pcm_format_width@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L9
	mov	eax, DWORD PTR STORM_SYSCLK_MULT[rip]
	mov	edi, DWORD PTR [r14]
	xor	ecx, ecx
	xor	esi, esi
	imul	eax, ebx
	imul	eax, r12d
	lea	r13d, [rax+rax]
	mov	edx, r13d
	call	snd_soc_dai_set_sysclk@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	storm_ops_hw_params, .-storm_ops_hw_params
	.comm	STORM_SYSCLK_MULT,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_storm.c_storm_ops_hw_params.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid bit width given: %d\012\000"
	.align	2
.LC1:
	.ascii	"error setting sysclk to %u: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	storm_ops_hw_params, %function
storm_ops_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	mov	r0, r1
	mov	r4, r1
	ldr	r6, [r7, #4]
	bl	params_format
	mov	r5, r0
	mov	r0, r4
	bl	params_rate
	mov	r4, r0
	mov	r0, r5
	bl	snd_pcm_format_width
	mov	r5, r4
	subs	r4, r0, #0
	blt	.L9
	mov	r3, #0
	ldr	r2, .L11
	mov	r1, r3
	ldr	r2, [r2]
	ldr	r0, [r7]
	mul	r5, r2, r5
	mul	r4, r5, r4
	lsl	r5, r4, #1
	mov	r2, r5
	bl	snd_soc_dai_set_sysclk
	subs	r4, r0, #0
	bne	.L10
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L11+4
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r2, r5
	mov	r3, r4
	ldr	r0, [r6]
	ldr	r1, .L11+8
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	STORM_SYSCLK_MULT
	.word	.LC0
	.word	.LC1
	.size	storm_ops_hw_params, .-storm_ops_hw_params
	.comm	STORM_SYSCLK_MULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
