	.file	"extr_hdac_hdmi.c_hdac_hdmi_pcm_close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hdac_hdmi_pcm_close, @function
hdac_hdmi_pcm_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	snd_soc_dai_get_drvdata@PLT
	mov	rbx, QWORD PTR [rbx]
	mov	rdi, rax
	sal	rbx, 4
	add	rbx, QWORD PTR [rax]
	mov	esi, DWORD PTR 8[rbx]
	call	hdac_hdmi_get_pcm_from_cvt@PLT
	test	rax, rax
	je	.L2
	lea	r12, 4[rax]
	mov	rbp, rax
	mov	rdi, r12
	call	mutex_lock@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	edx, 4
	xor	esi, esi
	mov	DWORD PTR 0[rbp], 0
	call	memset@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	rdi, r12
	call	mutex_unlock@PLT
.L2:
	cmp	QWORD PTR [rbx], 0
	je	.L1
	mov	QWORD PTR [rbx], 0
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hdac_hdmi_pcm_close, .-hdac_hdmi_pcm_close
	.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_hdac_hdmi.c_hdac_hdmi_pcm_close.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hdac_hdmi_pcm_close, %function
hdac_hdmi_pcm_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, r1
	mov	r4, r1
	bl	snd_soc_dai_get_drvdata
	ldr	r6, [r4]
	ldr	r5, [r0]
	add	r3, r5, r6, lsl #3
	ldr	r1, [r3, #4]
	bl	hdac_hdmi_get_pcm_from_cvt
	subs	r4, r0, #0
	beq	.L2
	mov	r7, #0
	add	r8, r4, #4
	mov	r0, r8
	bl	mutex_lock
	mov	r1, r7
	mov	r2, #4
	ldr	r0, [r4, #12]
	str	r7, [r4]
	bl	memset
	mov	r0, r8
	str	r7, [r4, #8]
	bl	mutex_unlock
.L2:
	ldr	r3, [r5, r6, lsl #3]
	cmp	r3, #0
	movne	r3, #0
	strne	r3, [r5, r6, lsl #3]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	hdac_hdmi_pcm_close, .-hdac_hdmi_pcm_close
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
