	.file	"extr_atmel-pcm.c_atmel_pcm_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"at32-pcm:Allocating PCM capture DMA buffer\n"
	.text
	.p2align 4
	.type	atmel_pcm_new, @function
atmel_pcm_new:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR 8[rax], 0
	je	.L11
.L2:
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jne	.L3
	mov	DWORD PTR [rax], -1
.L3:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L4
	xor	eax, eax
	cmp	QWORD PTR [rbx], 0
	jne	.L12
.L6:
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip]
	mov	rdi, rbp
	call	atmel_pcm_preallocate_dma_buffer@PLT
	test	eax, eax
	jne	.L1
	xor	eax, eax
	cmp	QWORD PTR [rbx], 0
	je	.L1
.L12:
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	esi, DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	atmel_pcm_preallocate_dma_buffer@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rcx, atmel_pcm_dmamask[rip]
	mov	QWORD PTR 8[rax], rcx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	atmel_pcm_new, .-atmel_pcm_new
	.comm	atmel_pcm_dmamask,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,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_atmel-pcm.c_atmel_pcm_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"at32-pcm:Allocating PCM capture DMA buffer\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atmel_pcm_new, %function
atmel_pcm_new:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r1, [r3, #4]
	mov	r5, r2
	cmp	r1, #0
	ldreq	r2, .L11
	ldr	r1, [r3]
	streq	r2, [r3, #4]
	cmp	r1, #0
	mvneq	r2, #0
	streq	r2, [r3]
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L4
.L7:
	ldr	r0, [r4]
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, .L11+4
	bl	pr_debug
	ldr	r3, .L11+8
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	atmel_pcm_preallocate_dma_buffer
.L4:
	ldr	r3, .L11+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	atmel_pcm_preallocate_dma_buffer
	cmp	r0, #0
	beq	.L7
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	atmel_pcm_dmamask
	.word	.LC0
	.word	SNDRV_PCM_STREAM_CAPTURE
	.word	SNDRV_PCM_STREAM_PLAYBACK
.L6:
	.size	atmel_pcm_new, .-atmel_pcm_new
	.comm	atmel_pcm_dmamask,4,4
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
