	.file	"extr_soc-pcm.c_soc_dpcm_fe_runtime_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"new"
.LC1:
	.string	"old"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"ASoC: DPCM %s runtime update for FE %s\n"
	.section	.rodata.str1.1
.LC3:
	.string	"playback"
.LC4:
	.string	"ASoC: %s no valid %s path\n"
.LC5:
	.string	"capture"
	.text
	.p2align 4
	.type	soc_dpcm_fe_runtime_update, @function
soc_dpcm_fe_runtime_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	r8d, DWORD PTR 4[rax]
	test	r8d, r8d
	je	.L33
	mov	rdx, QWORD PTR 24[rdi]
	mov	rbp, rdi
	mov	edi, DWORD PTR 8[rdx]
	test	edi, edi
	je	.L33
	test	esi, esi
	mov	ecx, DWORD PTR [rax]
	lea	rdx, .LC0[rip]
	mov	edi, DWORD PTR 8[rbp]
	lea	rax, .LC1[rip]
	mov	ebx, esi
	lea	rsi, .LC2[rip]
	cmove	rdx, rax
	call	dev_dbg@PLT
	mov	rdi, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	call	snd_soc_dai_stream_valid@PLT
	test	eax, eax
	je	.L32
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	call	snd_soc_dai_stream_valid@PLT
	mov	rdi, QWORD PTR 24[rbp]
	test	eax, eax
	je	.L7
	mov	esi, DWORD PTR 4[rdi]
	test	esi, esi
	je	.L7
	mov	rax, QWORD PTR 16[rbp]
	mov	ecx, DWORD PTR 4[rax]
	test	ecx, ecx
	jne	.L35
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	call	snd_soc_dai_stream_valid@PLT
	test	eax, eax
	je	.L33
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	call	snd_soc_dai_stream_valid@PLT
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR 24[rbp]
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	je	.L33
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L36
	.p2align 4,,10
	.p2align 3
.L33:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L37
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	r13, rsp
	mov	rdi, rbp
	mov	rdx, r13
	call	dpcm_path_get@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L38
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	ecx, ebx
	mov	rdx, r13
	mov	rdi, rbp
	call	dpcm_process_paths@PLT
	test	eax, eax
	je	.L10
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	test	ebx, ebx
	je	.L11
	call	dpcm_run_new_update@PLT
.L12:
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	call	dpcm_clear_pending_state@PLT
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	call	dpcm_be_disconnect@PLT
.L10:
	mov	rdi, r13
	call	dpcm_path_put@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, QWORD PTR 24[rbp]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L36:
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	r13, rsp
	mov	rdi, rbp
	mov	rdx, r13
	call	dpcm_path_get@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L39
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	ecx, ebx
	mov	rdx, r13
	mov	rdi, rbp
	call	dpcm_process_paths@PLT
	test	eax, eax
	je	.L14
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	rdi, rbp
	test	ebx, ebx
	je	.L15
	call	dpcm_run_new_update@PLT
.L16:
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	rdi, rbp
	call	dpcm_clear_pending_state@PLT
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	mov	rdi, rbp
	call	dpcm_be_disconnect@PLT
.L14:
	mov	rdi, r13
	call	dpcm_path_put@PLT
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 8[rbp]
	lea	rcx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR [rax]
	call	dev_warn@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 8[rbp]
	lea	rcx, .LC5[rip]
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR [rax]
	call	dev_warn@PLT
	jmp	.L1
.L11:
	call	dpcm_run_old_update@PLT
	jmp	.L12
.L15:
	call	dpcm_run_old_update@PLT
	jmp	.L16
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	soc_dpcm_fe_runtime_update, .-soc_dpcm_fe_runtime_update
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,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_soc-pcm.c_soc_dpcm_fe_runtime_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"new\000"
	.align	2
.LC1:
	.ascii	"old\000"
	.align	2
.LC2:
	.ascii	"ASoC: DPCM %s runtime update for FE %s\012\000"
	.align	2
.LC3:
	.ascii	"playback\000"
	.align	2
.LC4:
	.ascii	"ASoC: %s no valid %s path\012\000"
	.align	2
.LC5:
	.ascii	"capture\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	soc_dpcm_fe_runtime_update, %function
soc_dpcm_fe_runtime_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r2, .L55
	ldr	r3, [r0, #4]
	sub	sp, sp, #8
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	beq	.L48
	ldr	r3, [r4, #12]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L48
	mov	r6, r1
	ldr	r1, .L55+4
	cmp	r6, #0
	ldr	r7, .L55+8
	ldr	r2, .L55+12
	ldr	r3, [r0]
	movne	r2, r1
	ldr	r0, [r4, #4]
	ldr	r1, .L55+16
	bl	dev_dbg
	ldr	r1, [r7]
	ldr	r0, [r4, #12]
	bl	snd_soc_dai_stream_valid
	cmp	r0, #0
	beq	.L47
	ldr	r1, [r7]
	ldr	r0, [r4, #8]
	bl	snd_soc_dai_stream_valid
	cmp	r0, #0
	ldr	r0, [r4, #12]
	beq	.L7
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [r4, #8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L50
.L7:
	ldr	r7, .L55+20
	ldr	r1, [r7]
	bl	snd_soc_dai_stream_valid
	cmp	r0, #0
	beq	.L48
	ldr	r1, [r7]
	ldr	r0, [r4, #8]
	bl	snd_soc_dai_stream_valid
	cmp	r0, #0
	beq	.L48
	ldr	r3, [r4, #12]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L51
.L48:
	mov	r5, #0
.L1:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L52
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L50:
	mov	r8, sp
	mov	r0, r4
	mov	r2, r8
	ldr	r1, [r7]
	bl	dpcm_path_get
	subs	r5, r0, #0
	blt	.L53
	mov	r3, r6
	mov	r2, r8
	mov	r0, r4
	ldr	r1, [r7]
	bl	dpcm_process_paths
	cmp	r0, #0
	beq	.L10
	cmp	r6, #0
	mov	r0, r4
	ldr	r1, [r7]
	beq	.L11
	bl	dpcm_run_new_update
.L12:
	ldr	r1, [r7]
	mov	r0, r4
	bl	dpcm_clear_pending_state
	mov	r0, r4
	ldr	r1, [r7]
	bl	dpcm_be_disconnect
.L10:
	mov	r0, r8
	bl	dpcm_path_put
.L47:
	ldr	r0, [r4, #12]
	b	.L7
.L51:
	mov	r8, sp
	mov	r0, r4
	mov	r2, r8
	ldr	r1, [r7]
	bl	dpcm_path_get
	subs	r5, r0, #0
	blt	.L54
	mov	r3, r6
	mov	r2, r8
	mov	r0, r4
	ldr	r1, [r7]
	bl	dpcm_process_paths
	cmp	r0, #0
	beq	.L14
	cmp	r6, #0
	mov	r0, r4
	ldr	r1, [r7]
	beq	.L15
	bl	dpcm_run_new_update
.L16:
	ldr	r1, [r7]
	mov	r0, r4
	bl	dpcm_clear_pending_state
	mov	r0, r4
	ldr	r1, [r7]
	bl	dpcm_be_disconnect
.L14:
	mov	r0, r8
	bl	dpcm_path_put
	b	.L48
.L53:
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	ldr	r2, [r3]
	ldr	r1, .L55+24
	ldr	r3, .L55+28
	bl	dev_warn
	b	.L1
.L54:
	ldr	r3, [r4]
	ldr	r0, [r4, #4]
	ldr	r2, [r3]
	ldr	r1, .L55+24
	ldr	r3, .L55+32
	bl	dev_warn
	b	.L1
.L11:
	bl	dpcm_run_old_update
	b	.L12
.L15:
	bl	dpcm_run_old_update
	b	.L16
.L52:
	bl	__stack_chk_fail
.L56:
	.align	2
.L55:
	.word	.LC6
	.word	.LC0
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	.LC1
	.word	.LC2
	.word	SNDRV_PCM_STREAM_CAPTURE
	.word	.LC4
	.word	.LC3
	.word	.LC5
	.size	soc_dpcm_fe_runtime_update, .-soc_dpcm_fe_runtime_update
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
