	.file	"extr_hda_codec.c_update_pcm_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	update_pcm_format, @function
update_pcm_format:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR [rsi], ecx
	jne	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	xor	r8d, r8d
	xor	edx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	esi, r13d
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR AC_VERB_GET_STREAM_FORMAT[rip]
	call	snd_hda_codec_read@PLT
	cmp	ebx, eax
	je	.L3
	mov	edi, 1
	call	msleep@PLT
	mov	ecx, DWORD PTR AC_VERB_SET_STREAM_FORMAT[rip]
	mov	r8d, ebx
	xor	edx, edx
	mov	esi, r13d
	mov	rdi, r12
	call	snd_hda_codec_write@PLT
.L3:
	mov	DWORD PTR 0[rbp], ebx
	add	rsp, 8
	.cfi_def_cfa_offset 40
	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
	.cfi_endproc
.LFE0:
	.size	update_pcm_format, .-update_pcm_format
	.comm	AC_VERB_SET_STREAM_FORMAT,4,4
	.comm	AC_VERB_GET_STREAM_FORMAT,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_hda_codec.c_update_pcm_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_pcm_format, %function
update_pcm_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	ldr	r3, [r1]
	sub	sp, sp, #8
	cmp	r3, r4
	bne	.L6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r8, #0
	mov	r6, r2
	ldr	r3, .L7
	str	r8, [sp]
	mov	r7, r1
	mov	r2, r8
	mov	r1, r6
	ldr	r3, [r3]
	mov	r5, r0
	bl	snd_hda_codec_read
	cmp	r4, r0
	beq	.L3
	mov	r0, #1
	bl	msleep
	ldr	r3, .L7+4
	str	r4, [sp]
	mov	r2, r8
	mov	r1, r6
	mov	r0, r5
	ldr	r3, [r3]
	bl	snd_hda_codec_write
.L3:
	str	r4, [r7]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	AC_VERB_GET_STREAM_FORMAT
	.word	AC_VERB_SET_STREAM_FORMAT
	.size	update_pcm_format, .-update_pcm_format
	.comm	AC_VERB_SET_STREAM_FORMAT,4,4
	.comm	AC_VERB_GET_STREAM_FORMAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
