	.file	"extr_intel8x0.c_snd_intel8x0_playback_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_intel8x0_playback_open, @function
snd_intel8x0_playback_open:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	snd_pcm_substream_chip@PLT
	mov	rdx, QWORD PTR ICHD_PCMOUT[rip]
	mov	rdi, rbp
	mov	r13, QWORD PTR 0[rbp]
	mov	rbx, rax
	mov	rax, QWORD PTR 40[rax]
	lea	rsi, [rax+rdx*4]
	call	snd_intel8x0_pcm_open@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	cmp	QWORD PTR 32[rbx], 0
	jne	.L10
	cmp	QWORD PTR 24[rbx], 0
	jne	.L11
	cmp	QWORD PTR 16[rbx], 0
	jne	.L12
.L4:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L13
.L6:
	xor	r12d, r12d
	cmp	QWORD PTR [rbx], 0
	je	.L1
	mov	eax, DWORD PTR SNDRV_PCM_FMTBIT_S32_LE[rip]
	or	DWORD PTR 4[r13], eax
	xor	esi, esi
	mov	rdi, r13
	mov	ecx, 20
	mov	edx, 32
	call	snd_pcm_hw_constraint_msbits@PLT
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	mov	DWORD PTR 0[r13], 8
	mov	edx, DWORD PTR SNDRV_PCM_HW_PARAM_CHANNELS[rip]
	xor	esi, esi
	mov	rdi, r13
	lea	rcx, hw_constraints_channels8[rip]
	call	snd_pcm_hw_constraint_list@PLT
	cmp	QWORD PTR 8[rbx], 0
	je	.L6
.L13:
	mov	rdi, r13
	call	snd_ac97_pcm_double_rate_rules@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR 0[r13], 6
	mov	edx, DWORD PTR SNDRV_PCM_HW_PARAM_CHANNELS[rip]
	xor	esi, esi
	mov	rdi, r13
	lea	rcx, hw_constraints_channels6[rip]
	call	snd_pcm_hw_constraint_list@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR 0[r13], 4
	mov	edx, DWORD PTR SNDRV_PCM_HW_PARAM_CHANNELS[rip]
	xor	esi, esi
	mov	rdi, r13
	lea	rcx, hw_constraints_channels4[rip]
	call	snd_pcm_hw_constraint_list@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	snd_intel8x0_playback_open, .-snd_intel8x0_playback_open
	.comm	hw_constraints_channels8,4,4
	.comm	hw_constraints_channels6,4,4
	.comm	hw_constraints_channels4,4,4
	.comm	SNDRV_PCM_HW_PARAM_CHANNELS,4,4
	.comm	SNDRV_PCM_FMTBIT_S32_LE,4,4
	.comm	ICHD_PCMOUT,8,8
	.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_intel8x0.c_snd_intel8x0_playback_open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_intel8x0_playback_open, %function
snd_intel8x0_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
	ldr	r2, .L22
	ldr	r3, [r0, #20]
	ldr	r1, [r2]
	mov	r4, r0
	add	r1, r3, r1, lsl #2
	mov	r0, r5
	ldr	r5, [r5]
	bl	snd_intel8x0_pcm_open
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	ldr	r1, [r4, #16]
	cmp	r1, #0
	bne	.L18
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L19
	ldr	r2, [r4, #8]
	cmp	r2, #0
	bne	.L20
.L4:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L21
.L6:
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r2, .L22+4
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	mov	r0, r5
	orr	r3, r3, r2
	str	r3, [r5, #4]
	mov	r2, #32
	mov	r3, #20
	mov	r1, #0
	bl	snd_pcm_hw_constraint_msbits
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	mov	r2, #8
	ldr	r3, .L22+8
	str	r2, [r5]
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, r5
	ldr	r3, .L22+12
	bl	snd_pcm_hw_constraint_list
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L6
.L21:
	mov	r0, r5
	bl	snd_ac97_pcm_double_rate_rules
	b	.L6
.L19:
	mov	r2, #6
	ldr	r3, .L22+8
	str	r2, [r5]
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r3, .L22+16
	bl	snd_pcm_hw_constraint_list
	b	.L4
.L20:
	mov	r0, #4
	ldr	r2, .L22+8
	mov	r1, r3
	str	r0, [r5]
	ldr	r2, [r2]
	mov	r0, r5
	ldr	r3, .L22+20
	bl	snd_pcm_hw_constraint_list
	b	.L4
.L23:
	.align	2
.L22:
	.word	ICHD_PCMOUT
	.word	SNDRV_PCM_FMTBIT_S32_LE
	.word	SNDRV_PCM_HW_PARAM_CHANNELS
	.word	hw_constraints_channels8
	.word	hw_constraints_channels6
	.word	hw_constraints_channels4
	.size	snd_intel8x0_playback_open, .-snd_intel8x0_playback_open
	.comm	hw_constraints_channels8,4,4
	.comm	hw_constraints_channels6,4,4
	.comm	hw_constraints_channels4,4,4
	.comm	SNDRV_PCM_HW_PARAM_CHANNELS,4,4
	.comm	SNDRV_PCM_FMTBIT_S32_LE,4,4
	.comm	ICHD_PCMOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
