	.file	"extr_sst-baytrail-pcm.c_sst_byt_pcm_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sst_byt_pcm_new, @function
sst_byt_pcm_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR DRV_NAME[rip]
	mov	rbp, QWORD PTR [rdi]
	call	snd_soc_rtdcom_lookup@PLT
	mov	edi, DWORD PTR [rax]
	call	dev_get_platdata@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	cmp	QWORD PTR [rdx+rcx*8], 0
	jne	.L2
	mov	rcx, QWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	cmp	QWORD PTR [rdx+rcx*8], 0
	je	.L3
.L2:
	mov	rcx, QWORD PTR sst_byt_pcm_hardware[rip]
	mov	edx, DWORD PTR [rax]
	mov	rdi, rbp
	mov	esi, DWORD PTR SNDRV_DMA_TYPE_DEV[rip]
	mov	r8, rcx
	call	snd_pcm_lib_preallocate_pages_for_all@PLT
.L3:
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sst_byt_pcm_new, .-sst_byt_pcm_new
	.comm	sst_byt_pcm_hardware,8,8
	.comm	SNDRV_PCM_STREAM_PLAYBACK,8,8
	.comm	SNDRV_PCM_STREAM_CAPTURE,8,8
	.comm	SNDRV_DMA_TYPE_DEV,4,4
	.comm	DRV_NAME,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_sst-baytrail-pcm.c_sst_byt_pcm_new.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sst_byt_pcm_new, %function
sst_byt_pcm_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L9
	sub	sp, sp, #8
	ldr	r1, [r3]
	ldr	r4, [r0]
	bl	snd_soc_rtdcom_lookup
	ldr	r0, [r0]
	bl	dev_get_platdata
	ldr	r2, .L9+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #0
	bne	.L2
	ldr	r2, .L9+8
	ldr	r2, [r2]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L3
.L2:
	ldr	r3, .L9+12
	ldr	r1, .L9+16
	ldr	r3, [r3]
	ldr	r2, [r0]
	str	r3, [sp]
	mov	r0, r4
	ldr	r1, [r1]
	bl	snd_pcm_lib_preallocate_pages_for_all
.L3:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	DRV_NAME
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	SNDRV_PCM_STREAM_CAPTURE
	.word	sst_byt_pcm_hardware
	.word	SNDRV_DMA_TYPE_DEV
	.size	sst_byt_pcm_new, .-sst_byt_pcm_new
	.comm	sst_byt_pcm_hardware,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.comm	SNDRV_DMA_TYPE_DEV,4,4
	.comm	DRV_NAME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
