	.file	"extr_skl-pcm.c_skl_pcm_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	skl_pcm_new, @function
skl_pcm_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR 8[r12]
	call	dev_get_drvdata@PLT
	mov	rbp, QWORD PTR [rbx]
	mov	rdi, rax
	call	bus_to_skl@PLT
	mov	rdx, QWORD PTR [r12]
	cmp	QWORD PTR 8[rdx], 0
	jne	.L2
	cmp	QWORD PTR [rdx], 0
	je	.L3
.L2:
	mov	ecx, DWORD PTR CONFIG_SND_HDA_PREALLOC_SIZE[rip]
	mov	ebx, DWORD PTR MAX_PREALLOC_SIZE[rip]
	mov	edi, DWORD PTR [rax]
	sal	ecx, 10
	cmp	ebx, ecx
	cmovbe	ecx, ebx
	mov	r12d, ecx
	call	snd_dma_pci_data@PLT
	mov	r8d, ebx
	mov	ecx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR SNDRV_DMA_TYPE_DEV_SG[rip]
	mov	edx, eax
	call	snd_pcm_lib_preallocate_pages_for_all@PLT
.L3:
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	skl_pcm_new, .-skl_pcm_new
	.comm	SNDRV_DMA_TYPE_DEV_SG,4,4
	.comm	MAX_PREALLOC_SIZE,4,4
	.comm	CONFIG_SND_HDA_PREALLOC_SIZE,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_skl-pcm.c_skl_pcm_new.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skl_pcm_new, %function
skl_pcm_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r5, [r0, #4]
	sub	sp, sp, #12
	ldr	r0, [r5, #4]
	bl	dev_get_drvdata
	ldr	r6, [r4]
	bl	bus_to_skl
	ldr	r3, [r5]
	ldr	r2, [r3, #4]
	cmp	r2, #0
	bne	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
.L2:
	ldr	r3, .L9
	ldr	r5, .L9+4
	ldr	r3, [r3]
	ldr	r4, [r5]
	lsl	r3, r3, #10
	ldr	r2, .L9+8
	cmp	r3, r4
	ldr	r0, [r0]
	ldr	r7, [r2]
	movcc	r4, r3
	bl	snd_dma_pci_data
	mov	r2, r0
	ldr	r0, [r5]
	mov	r3, r4
	str	r0, [sp]
	mov	r1, r7
	mov	r0, r6
	bl	snd_pcm_lib_preallocate_pages_for_all
.L3:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	.align	2
.L9:
	.word	CONFIG_SND_HDA_PREALLOC_SIZE
	.word	MAX_PREALLOC_SIZE
	.word	SNDRV_DMA_TYPE_DEV_SG
	.size	skl_pcm_new, .-skl_pcm_new
	.comm	SNDRV_DMA_TYPE_DEV_SG,4,4
	.comm	MAX_PREALLOC_SIZE,4,4
	.comm	CONFIG_SND_HDA_PREALLOC_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
