	.file	"extr_dbdma2.c_au1xpsc_pcm_hw_params.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dma_size = %d runtime->min_align %d\n"
	.align 8
.LC1:
	.string	"bits %d  frags %d  frag_bytes %d  is_rx %d\n"
	.align 8
.LC2:
	.string	"DDMA channel (re)alloc failed!\n"
	.text
	.p2align 4
	.type	au1xpsc_pcm_hw_params, @function
au1xpsc_pcm_hw_params:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [rdi]
	mov	rdi, rsi
	call	params_buffer_bytes@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	snd_pcm_lib_malloc_pages@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, rbx
	call	SUBSTREAM_TYPE@PLT
	mov	ecx, DWORD PTR 16[r14]
	mov	rsi, QWORD PTR 24[r14]
	lea	rdi, .LC0[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR au1xpsc_audio_pcmdma[rip]
	mov	r8d, DWORD PTR [r14]
	mov	r12, rdx
	mov	r13, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR 8[r14]
	call	DBG@PLT
	mov	rdi, rbp
	call	params_period_bytes@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	params_periods@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	r8d, r12d
	mov	ecx, r15d
	mov	rdx, rax
	lea	rdi, .LC1[rip]
	call	DBG@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	esi, r12d
	mov	rdi, r13
	call	au1x_pcm_dbdma_realloc@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	mov	QWORD PTR 56[r13], rbx
	mov	rdi, rbp
	call	params_period_bytes@PLT
	mov	rdi, rbp
	mov	DWORD PTR 48[r13], eax
	call	params_periods@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 8[r14]
	mov	QWORD PTR 40[r13], 0
	mov	QWORD PTR 16[r13], rax
	mov	QWORD PTR 8[r13], rax
	mov	QWORD PTR 32[r13], 0
	mov	QWORD PTR 24[r13], 0
.L2:
	endbr64
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	MSG@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	au1xpsc_pcm_hw_params, .-au1xpsc_pcm_hw_params
	.comm	au1xpsc_audio_pcmdma,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_dbdma2.c_au1xpsc_pcm_hw_params.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"runtime->dma_area = 0x%08lx dma_addr_t = 0x%08lx dm"
	.ascii	"a_size = %d runtime->min_align %d\012\000"
	.align	2
.LC1:
	.ascii	"bits %d  frags %d  frag_bytes %d  is_rx %d\012\000"
	.align	2
.LC2:
	.ascii	"DDMA channel (re)alloc failed!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	au1xpsc_pcm_hw_params, %function
au1xpsc_pcm_hw_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r5, r1
	ldr	r8, [r6]
	bl	params_buffer_bytes
	mov	r1, r0
	mov	r0, r6
	bl	snd_pcm_lib_malloc_pages
	subs	r4, r0, #0
	blt	.L1
	mov	r0, r6
	bl	SUBSTREAM_TYPE
	mov	r4, r0
	ldr	r2, .L7
	ldr	r0, [r8]
	ldr	ip, [r2]
	ldr	r3, [r8, #8]
	ldr	r7, [ip, r4, lsl #2]
	ldr	r2, [r8, #4]
	ldr	r1, [r8, #12]
	str	r0, [sp]
	ldr	r0, .L7+4
	bl	DBG
	mov	r0, r5
	ldr	r10, [r5]
	bl	params_periods
	mov	r9, r0
	mov	r0, r5
	bl	params_period_bytes
	mov	r2, r9
	mov	r3, r0
	mov	r1, r10
	str	r4, [sp]
	ldr	r0, .L7+8
	bl	DBG
	mov	r1, r4
	mov	r0, r7
	ldr	r2, [r5]
	bl	au1x_pcm_dbdma_realloc
	subs	r4, r0, #0
	bne	.L6
	mov	r0, r5
	str	r6, [r7, #28]
	bl	params_period_bytes
	mov	r3, r0
	mov	r0, r5
	str	r3, [r7, #24]
	bl	params_periods
	ldr	r3, [r8, #4]
	str	r0, [r7]
	str	r3, [r7, #8]
	str	r3, [r7, #4]
	str	r4, [r7, #20]
	str	r4, [r7, #16]
	str	r4, [r7, #12]
.L2:
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r0, .L7+12
	bl	MSG
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	au1xpsc_audio_pcmdma
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	au1xpsc_pcm_hw_params, .-au1xpsc_pcm_hw_params
	.comm	au1xpsc_audio_pcmdma,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
