	.file	"extr_hda_generic.c_alt_playback_pcm_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	alt_playback_pcm_open, @function
alt_playback_pcm_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rbx, QWORD PTR [rsi]
	lea	r15, 4[rbx]
	mov	rdi, r15
	call	mutex_lock@PLT
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jne	.L2
	mov	r14d, DWORD PTR EBUSY[rip]
	neg	r14d
.L3:
	mov	ecx, DWORD PTR HDA_GEN_PCM_ACT_OPEN[rip]
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	call	call_pcm_playback_hook@PLT
	mov	rdi, r15
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR STREAM_INDEP_HP[rip]
	mov	eax, 1
	xor	r14d, r14d
	sal	eax, cl
	or	DWORD PTR [rbx], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	alt_playback_pcm_open, .-alt_playback_pcm_open
	.comm	STREAM_INDEP_HP,4,4
	.comm	HDA_GEN_PCM_ACT_OPEN,4,4
	.comm	EBUSY,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_generic.c_alt_playback_pcm_open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	alt_playback_pcm_open, %function
alt_playback_pcm_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [r1]
	mov	r5, r0
	add	r7, r9, #4
	mov	r0, r7
	mov	r6, r2
	mov	r4, r1
	bl	mutex_lock
	ldr	r3, [r9, #8]
	mov	r0, r5
	cmp	r3, #0
	movne	r1, #1
	movne	r8, #0
	ldrne	r2, .L6
	ldrne	r3, [r9]
	ldrne	r2, [r2]
	ldreq	r3, .L6+4
	orrne	r3, r3, r1, lsl r2
	ldreq	r8, [r3]
	strne	r3, [r9]
	ldr	r3, .L6+8
	mov	r2, r6
	mov	r1, r4
	ldr	r3, [r3]
	rsbeq	r8, r8, #0
	bl	call_pcm_playback_hook
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	STREAM_INDEP_HP
	.word	EBUSY
	.word	HDA_GEN_PCM_ACT_OPEN
	.size	alt_playback_pcm_open, .-alt_playback_pcm_open
	.comm	STREAM_INDEP_HP,4,4
	.comm	HDA_GEN_PCM_ACT_OPEN,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
