	.file	"extr_maestro3.c_snd_m3_playback_setup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	snd_m3_playback_setup, @function
snd_m3_playback_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	mov	edx, DWORD PTR [rsi]
	mov	esi, DWORD PTR MEMTYPE_INTERNAL_DATA[rip]
	lea	ecx, 48[rdx]
	add	edx, DWORD PTR SRC3_DIRECTION_OFFSET[rip]
	add	edx, 12
	call	snd_m3_assp_write@PLT
	mov	edx, DWORD PTR SRC3_DIRECTION_OFFSET[rip]
	add	edx, DWORD PTR 0[rbp]
	mov	rdi, r12
	mov	esi, DWORD PTR MEMTYPE_INTERNAL_DATA[rip]
	add	edx, 19
	mov	ecx, DWORD PTR MINISRC_COEF_LOC[rip]
	add	ecx, DWORD PTR 4[rbp]
	call	snd_m3_assp_write@PLT
	mov	rax, QWORD PTR [rbx]
	mov	ecx, 255
	mov	rdi, r12
	mov	edx, DWORD PTR SRC3_DIRECTION_OFFSET[rip]
	mov	esi, DWORD PTR MEMTYPE_INTERNAL_DATA[rip]
	cmp	DWORD PTR [rax], 45000
	mov	eax, 0
	cmovle	ecx, eax
	add	edx, DWORD PTR 0[rbp]
	xor	ebx, ebx
	add	edx, 22
	call	snd_m3_assp_write@PLT
	mov	esi, DWORD PTR MEMTYPE_INTERNAL_DATA[rip]
	mov	ecx, DWORD PTR DMAC_PAGE3_SELECTOR[rip]
	mov	rdi, r12
	mov	edx, DWORD PTR CDATA_DMA_CONTROL[rip]
	add	ecx, DWORD PTR DMACONTROL_AUTOREPEAT[rip]
	add	edx, DWORD PTR 0[rbp]
	add	ecx, DWORD PTR DMAC_BLOCKF_SELECTOR[rip]
	call	snd_m3_assp_write@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR pv[rip]
	mov	edx, ebx
	mov	esi, DWORD PTR MEMTYPE_INTERNAL_DATA[rip]
	mov	rdi, r12
	add	ebx, 1
	lea	rax, [rax+rdx*8]
	mov	ecx, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	add	edx, DWORD PTR 0[rbp]
	call	snd_m3_assp_write@PLT
.L3:
	mov	rdi, QWORD PTR pv[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	ja	.L4
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	snd_m3_playback_setup, .-snd_m3_playback_setup
	.comm	pv,8,8
	.comm	SRC3_DIRECTION_OFFSET,4,4
	.comm	MINISRC_COEF_LOC,4,4
	.comm	MEMTYPE_INTERNAL_DATA,4,4
	.comm	DMAC_PAGE3_SELECTOR,4,4
	.comm	DMAC_BLOCKF_SELECTOR,4,4
	.comm	DMACONTROL_AUTOREPEAT,4,4
	.comm	CDATA_DMA_CONTROL,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_maestro3.c_snd_m3_playback_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_m3_playback_setup, %function
snd_m3_playback_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	mov	r5, r2
	ldr	r4, .L9
	ldr	r3, [r1]
	ldr	r2, [r4]
	ldr	r8, .L9+4
	add	r2, r3, r2
	ldr	r1, [r8]
	add	r2, r2, #12
	add	r3, r3, #48
	bl	snd_m3_assp_write
	ldr	r3, .L9+8
	ldr	r0, [r4]
	ldr	r2, [r6]
	ldr	r1, [r6, #4]
	ldr	r3, [r3]
	add	r2, r2, r0
	add	r3, r1, r3
	add	r2, r2, #19
	ldr	r1, [r8]
	mov	r0, r7
	bl	snd_m3_assp_write
	ldr	r3, [r5]
	ldr	r0, [r4]
	ldr	r1, [r3]
	ldr	r2, [r6]
	ldr	r3, .L9+12
	add	r2, r2, r0
	cmp	r1, r3
	movgt	r3, #255
	movle	r3, #0
	ldr	r1, [r8]
	add	r2, r2, #22
	mov	r0, r7
	bl	snd_m3_assp_write
	ldr	r1, .L9+16
	ldr	r3, .L9+20
	ldr	r2, .L9+24
	ldr	r0, .L9+28
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	ip, [r6]
	ldr	r2, [r2]
	add	r3, r1, r3
	add	r3, r3, r0
	ldr	r1, [r8]
	mov	r0, r7
	add	r2, ip, r2
	bl	snd_m3_assp_write
	mov	r4, #0
	ldr	r5, .L9+32
.L3:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	popls	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	ldr	r1, [r6]
	ldr	r2, [r3, r4, lsl #3]
	add	r3, r3, r4, lsl #3
	add	r2, r1, r2
	mov	r0, r7
	ldr	r3, [r3, #4]
	ldr	r1, [r8]
	bl	snd_m3_assp_write
	add	r4, r4, #1
	b	.L3
.L10:
	.align	2
.L9:
	.word	SRC3_DIRECTION_OFFSET
	.word	MEMTYPE_INTERNAL_DATA
	.word	MINISRC_COEF_LOC
	.word	45000
	.word	DMACONTROL_AUTOREPEAT
	.word	DMAC_PAGE3_SELECTOR
	.word	CDATA_DMA_CONTROL
	.word	DMAC_BLOCKF_SELECTOR
	.word	pv
	.size	snd_m3_playback_setup, .-snd_m3_playback_setup
	.comm	pv,4,4
	.comm	SRC3_DIRECTION_OFFSET,4,4
	.comm	MINISRC_COEF_LOC,4,4
	.comm	MEMTYPE_INTERNAL_DATA,4,4
	.comm	DMAC_PAGE3_SELECTOR,4,4
	.comm	DMAC_BLOCKF_SELECTOR,4,4
	.comm	DMACONTROL_AUTOREPEAT,4,4
	.comm	CDATA_DMA_CONTROL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
