	.file	"extr_nm256.c_snd_nm256_playback_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_nm256_playback_open, @function
snd_nm256_playback_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	snd_pcm_substream_chip@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	snd_nm256_acquire_irq@PLT
	test	rax, rax
	js	.L6
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	lea	rcx, snd_nm256_playback[rip]
	lea	rsi, [rax+rdx*4]
	mov	rdx, r12
	call	snd_nm256_setup_stream@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR EBUSY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	snd_nm256_playback_open, .-snd_nm256_playback_open
	.comm	snd_nm256_playback,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,8,8
	.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_nm256.c_snd_nm256_playback_open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_nm256_playback_open, %function
snd_nm256_playback_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	snd_pcm_substream_chip
	mov	r4, r0
	bl	snd_nm256_acquire_irq
	cmp	r0, #0
	blt	.L6
	ldr	r2, .L7
	ldr	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	add	r1, r3, r1, lsl #2
	mov	r2, r5
	ldr	r3, .L7+4
	bl	snd_nm256_setup_stream
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L7+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	snd_nm256_playback
	.word	EBUSY
	.size	snd_nm256_playback_open, .-snd_nm256_playback_open
	.comm	snd_nm256_playback,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
