	.file	"extr_emu10k1_callback.c_start_voice.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	start_voice, @function
start_voice:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR [rdi]
	mov	rbp, QWORD PTR 128[rdi]
	mov	edi, r12d
	shr	edi, 31
	call	snd_BUG_ON@PLT
	test	rax, rax
	jne	.L4
	mov	r13, QWORD PTR 120[rbx]
	test	r13, r13
	jne	.L19
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L19:
	.cfi_restore_state
	mov	r15, QWORD PTR 96[rbx]
	add	DWORD PTR 0[r13], 1
	mov	rsi, r13
	mov	rdi, rbp
	call	snd_emu10k1_memblk_map@PLT
	test	rax, rax
	js	.L20
	mov	rdi, r13
	call	snd_emu10k1_memblk_offset@PLT
	sar	eax
	add	DWORD PTR 24[rbx], eax
	add	DWORD PTR 28[rbx], eax
	add	DWORD PTR 32[rbx], eax
	add	DWORD PTR 36[rbx], eax
	cmp	QWORD PTR 8[rbp], 0
	je	.L6
	mov	ecx, DWORD PTR FXBUS_MIDI_RIGHT[rip]
	mov	eax, DWORD PTR FXBUS_MIDI_REVERB[rip]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR A_FXRT1[rip]
	sal	eax, 16
	sal	ecx, 8
	or	ecx, eax
	mov	eax, DWORD PTR FXBUS_MIDI_CHORUS[rip]
	or	ecx, DWORD PTR FXBUS_MIDI_LEFT[rip]
	sal	eax, 24
	or	ecx, eax
	call	snd_emu10k1_ptr_write@PLT
.L7:
	mov	esi, DWORD PTR DCYSUSV[rip]
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, 65535
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR VTFT[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, 65535
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR CVCF[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	esi, DWORD PTR PTRX[rip]
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	esi, DWORD PTR CPF[rip]
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR IP[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 44[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR ENVVAL[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 48[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR ATKHLDM[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 52[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR DCYSUSM[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 56[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR ENVVOL[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 60[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR ATKHLDV[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 112[rbx]
	movzx	eax, BYTE PTR 104[rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR IFATN[rip]
	sal	ecx, 8
	or	ecx, eax
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 64[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR PEFE[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 68[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR LFOVAL1[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 72[rbx]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR LFOVAL2[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	set_fmmod@PLT
	mov	ecx, DWORD PTR 76[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR TREMFRQ[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	set_fm2frq2@PLT
	mov	rax, QWORD PTR 96[rbx]
	mov	esi, 255
	mov	rdx, QWORD PTR MIDI_CTL_E1_REVERB_DEPTH[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax+rdx*8]
	lea	eax, [rax+rax*8]
	movsx	r13, eax
	sar	eax, 31
	imul	r13, r13, 1717986919
	sar	r13, 34
	sub	r13d, eax
	add	r13d, DWORD PTR 80[rbx]
	mov	edi, r13d
	call	LIMITMAX@PLT
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR PSST[rip]
	mov	ecx, r13d
	sal	ecx, 24
	mov	rdi, rbp
	or	ecx, DWORD PTR 32[rbx]
	call	snd_emu10k1_ptr_write@PLT
	mov	rdx, QWORD PTR MIDI_CTL_E3_CHORUS_DEPTH[rip]
	mov	rax, QWORD PTR [r15]
	mov	esi, 255
	mov	r14d, DWORD PTR 36[rbx]
	mov	rax, QWORD PTR [rax+rdx*8]
	lea	eax, [rax+rax*8]
	movsx	r13, eax
	imul	r13, r13, 1717986919
	sar	eax, 31
	sar	r13, 34
	sub	r13d, eax
	add	r13d, DWORD PTR 84[rbx]
	mov	edi, r13d
	call	LIMITMAX@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR DSL[rip]
	sal	ecx, 24
	or	ecx, r14d
	call	snd_emu10k1_ptr_write@PLT
	mov	esi, DWORD PTR Z1[rip]
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	esi, DWORD PTR Z2[rip]
	xor	ecx, ecx
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR MAPA[rip]
	lea	r13d, [rax+rax]
	or	r13d, DWORD PTR MAP_PTI_MASK[rip]
	mov	ecx, r13d
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR MAPB[rip]
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, DWORD PTR 88[rbx]
	mov	eax, DWORD PTR 4[rbx]
	sal	ecx, 28
	or	ecx, DWORD PTR 24[rbx]
	cmp	eax, 58367
	ja	.L8
	or	ecx, DWORD PTR CCCA_INTERPROM_0[rip]
.L9:
	mov	eax, DWORD PTR 40[rbx]
	test	DWORD PTR SNDRV_SFNT_SAMPLE_8BITS[rip], eax
	je	.L10
	or	ecx, DWORD PTR CCCA_8BITSELECT[rip]
.L10:
	mov	esi, DWORD PTR CCCA[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	snd_emu10k1_ptr_write@PLT
	mov	r13d, DWORD PTR 16[rbx]
	mov	ecx, DWORD PTR 8[rbx]
	mov	edx, r12d
	mov	esi, DWORD PTR VTFT[rip]
	mov	rdi, rbp
	sal	r13d, 16
	or	ecx, r13d
	call	snd_emu10k1_ptr_write@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR CVCF[rip]
	or	ch, -1
	call	snd_emu10k1_ptr_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L20:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L8:
	.cfi_restore_state
	sub	eax, 57344
	shr	eax, 10
	sal	eax, 25
	or	ecx, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, DWORD PTR FXBUS_MIDI_LEFT[rip]
	mov	eax, DWORD PTR FXBUS_MIDI_RIGHT[rip]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, DWORD PTR FXRT[rip]
	sal	eax, 20
	sal	ecx, 16
	or	ecx, eax
	mov	eax, DWORD PTR FXBUS_MIDI_REVERB[rip]
	sal	eax, 24
	or	ecx, eax
	mov	eax, DWORD PTR FXBUS_MIDI_CHORUS[rip]
	sal	eax, 28
	or	ecx, eax
	call	snd_emu10k1_ptr_write@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	start_voice, .-start_voice
	.comm	Z2,4,4
	.comm	Z1,4,4
	.comm	VTFT,4,4
	.comm	TREMFRQ,4,4
	.comm	SNDRV_SFNT_SAMPLE_8BITS,4,4
	.comm	PTRX,4,4
	.comm	PSST,4,4
	.comm	PEFE,4,4
	.comm	MIDI_CTL_E3_CHORUS_DEPTH,8,8
	.comm	MIDI_CTL_E1_REVERB_DEPTH,8,8
	.comm	MAP_PTI_MASK,4,4
	.comm	MAPB,4,4
	.comm	MAPA,4,4
	.comm	LFOVAL2,4,4
	.comm	LFOVAL1,4,4
	.comm	IP,4,4
	.comm	IFATN,4,4
	.comm	FXRT,4,4
	.comm	FXBUS_MIDI_RIGHT,4,4
	.comm	FXBUS_MIDI_REVERB,4,4
	.comm	FXBUS_MIDI_LEFT,4,4
	.comm	FXBUS_MIDI_CHORUS,4,4
	.comm	ENVVOL,4,4
	.comm	ENVVAL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DSL,4,4
	.comm	DCYSUSV,4,4
	.comm	DCYSUSM,4,4
	.comm	CVCF,4,4
	.comm	CPF,4,4
	.comm	CDF,4,4
	.comm	CDE,4,4
	.comm	CCR,4,4
	.comm	CCCA_INTERPROM_0,4,4
	.comm	CCCA_8BITSELECT,4,4
	.comm	CCCA,4,4
	.comm	A_FXRT1,4,4
	.comm	ATKHLDV,4,4
	.comm	ATKHLDM,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_emu10k1_callback.c_start_voice.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_voice, %function
start_voice:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r0]
	ldr	r6, [r0, #100]
	mov	r4, r0
	sub	sp, sp, #12
	lsr	r0, r7, #31
	bl	snd_BUG_ON
	subs	r5, r0, #0
	bne	.L4
	ldr	r8, [r4, #96]
	cmp	r8, #0
	bne	.L19
.L4:
	ldr	r3, .L21
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r3, [r8]
	ldr	fp, [r4, #84]
	add	r3, r3, #1
	mov	r1, r8
	mov	r0, r6
	str	r3, [r8]
	bl	snd_emu10k1_memblk_map
	cmp	r0, #0
	blt	.L20
	mov	r0, r8
	bl	snd_emu10k1_memblk_offset
	ldr	r3, [r4, #16]
	ldr	r1, [r4, #20]
	add	r3, r3, r0, asr #1
	ldr	r2, [r4, #24]
	str	r3, [r4, #16]
	ldr	r3, [r4, #28]
	add	r1, r1, r0, asr #1
	add	r2, r2, r0, asr #1
	add	r0, r3, r0, asr #1
	ldr	r3, [r6, #4]
	str	r1, [r4, #20]
	cmp	r3, #0
	str	r2, [r4, #24]
	str	r0, [r4, #28]
	beq	.L6
	ldr	r3, .L21+4
	ldr	r2, .L21+8
	ldr	r0, .L21+12
	ldr	r3, [r3]
	ldr	r1, .L21+16
	ldr	r2, [r2]
	ldr	ip, [r0]
	lsl	r3, r3, #16
	ldr	r0, [r1]
	orr	r2, r3, r2, lsl #8
	ldr	r1, .L21+20
	orr	r3, r2, ip
	orr	r3, r3, r0, lsl #24
	mov	r2, r7
	mov	r0, r6
	ldr	r1, [r1]
	bl	snd_emu10k1_ptr_write
.L7:
	ldr	r3, .L21+24
	ldr	r10, .L21+28
	mov	r2, r7
	ldr	r1, [r3]
	ldr	r9, .L21+32
	mov	r3, #0
	mov	r0, r6
	bl	snd_emu10k1_ptr_write
	mov	r2, r7
	ldr	r1, [r10]
	mov	r0, r6
	ldr	r3, .L21+36
	bl	snd_emu10k1_ptr_write
	mov	r2, r7
	ldr	r1, [r9]
	mov	r0, r6
	ldr	r3, .L21+36
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+40
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+44
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+48
	ldr	r3, [r4, #4]
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, [r4]
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+52
	ldr	r3, [r4, #36]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+56
	ldr	r3, [r4, #40]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+60
	ldr	r3, [r4, #44]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+64
	ldr	r3, [r4, #48]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+68
	ldr	r3, [r4, #52]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r1, [r4, #92]
	ldrb	r3, [r4, #88]	@ zero_extendqisi2
	ldr	r2, .L21+72
	orr	r3, r3, r1, lsl #8
	mov	r0, r6
	ldr	r1, [r2]
	ldr	r2, [r4]
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+76
	ldr	r3, [r4, #56]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+80
	ldr	r3, [r4, #60]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+84
	ldr	r3, [r4, #64]
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	mov	r1, r4
	mov	r0, r6
	bl	set_fmmod
	ldr	r2, .L21+88
	ldr	r3, [r4, #68]
	ldr	r1, [r2]
	mov	r0, r6
	ldr	r2, [r4]
	bl	snd_emu10k1_ptr_write
	mov	r1, r4
	mov	r0, r6
	bl	set_fm2frq2
	ldr	r3, [r4, #84]
	ldr	r2, .L21+92
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r8, .L21+96
	ldr	r2, [r3, r2, lsl #2]
	ldr	r1, [r4, #72]
	add	r2, r2, r2, lsl #3
	smull	r3, r0, r8, r2
	asr	r3, r2, #31
	rsb	r3, r3, r0, asr #2
	add	r3, r3, r1
	mov	r0, r3
	mov	r1, #255
	str	r3, [sp, #4]
	bl	LIMITMAX
	ldr	r1, [r4, #24]
	ldr	r3, [sp, #4]
	ldr	r2, .L21+100
	orr	r3, r1, r3, lsl #24
	mov	r0, r6
	ldr	r1, [r2]
	ldr	r2, [r4]
	bl	snd_emu10k1_ptr_write
	ldr	r3, .L21+104
	ldr	r2, [fp]
	ldr	r1, [r3]
	ldr	r3, [r4, #76]
	ldr	r2, [r2, r1, lsl #2]
	mov	r1, #255
	add	r2, r2, r2, lsl #3
	smull	r0, r8, r2, r8
	asr	r2, r2, #31
	rsb	r8, r2, r8, asr #2
	add	r8, r8, r3
	mov	r0, r8
	ldr	fp, [r4, #28]
	bl	LIMITMAX
	ldr	r2, .L21+108
	orr	r3, fp, r8, lsl #24
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+112
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+116
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+120
	ldr	r3, [r6]
	ldr	r8, [r2]
	ldr	r2, .L21+124
	orr	r8, r8, r3, lsl #1
	mov	r3, r8
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, .L21+128
	mov	r3, r8
	ldr	r1, [r2]
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #80]
	cmp	r2, #58368
	ldrcc	r2, .L21+132
	ldr	r3, [r4, #16]
	ldrcc	r2, [r2]
	subcs	r2, r2, #57344
	orr	r3, r3, r1, lsl #28
	lsrcs	r2, r2, #10
	orrcc	r3, r3, r2
	orrcs	r3, r3, r2, lsl #25
	ldr	r2, .L21+136
	ldr	r1, [r4, #32]
	ldr	r2, [r2]
	mov	r0, r6
	tst	r1, r2
	ldrne	r2, .L21+140
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	ldr	r2, .L21+144
	ldr	r1, [r2]
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	ldr	r1, [r10]
	orr	r3, r3, r2, lsl #16
	lsl	r4, r2, #16
	mov	r0, r6
	mov	r2, r7
	bl	snd_emu10k1_ptr_write
	mov	r2, r7
	mov	r0, r6
	ldr	r1, [r9]
	orr	r3, r4, #65280
	bl	snd_emu10k1_ptr_write
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r3, .L21+148
	ldr	r0, [r3]
	rsb	r5, r0, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	ldr	r3, .L21+8
	ldr	r2, .L21+12
	ldr	r0, .L21+4
	ldr	r3, [r3]
	ldr	r1, .L21+16
	ldr	r2, [r2]
	ldr	ip, [r0]
	lsl	r3, r3, #20
	ldr	r0, [r1]
	orr	r2, r3, r2, lsl #16
	ldr	r1, .L21+152
	orr	r3, r2, ip, lsl #24
	orr	r3, r3, r0, lsl #28
	mov	r2, r7
	mov	r0, r6
	ldr	r1, [r1]
	bl	snd_emu10k1_ptr_write
	b	.L7
.L22:
	.align	2
.L21:
	.word	EINVAL
	.word	FXBUS_MIDI_REVERB
	.word	FXBUS_MIDI_RIGHT
	.word	FXBUS_MIDI_LEFT
	.word	FXBUS_MIDI_CHORUS
	.word	A_FXRT1
	.word	DCYSUSV
	.word	VTFT
	.word	CVCF
	.word	65535
	.word	PTRX
	.word	CPF
	.word	IP
	.word	ENVVAL
	.word	ATKHLDM
	.word	DCYSUSM
	.word	ENVVOL
	.word	ATKHLDV
	.word	IFATN
	.word	PEFE
	.word	LFOVAL1
	.word	LFOVAL2
	.word	TREMFRQ
	.word	MIDI_CTL_E1_REVERB_DEPTH
	.word	1717986919
	.word	PSST
	.word	MIDI_CTL_E3_CHORUS_DEPTH
	.word	DSL
	.word	Z1
	.word	Z2
	.word	MAP_PTI_MASK
	.word	MAPA
	.word	MAPB
	.word	CCCA_INTERPROM_0
	.word	SNDRV_SFNT_SAMPLE_8BITS
	.word	CCCA_8BITSELECT
	.word	CCCA
	.word	ENOMEM
	.word	FXRT
	.size	start_voice, .-start_voice
	.comm	Z2,4,4
	.comm	Z1,4,4
	.comm	VTFT,4,4
	.comm	TREMFRQ,4,4
	.comm	SNDRV_SFNT_SAMPLE_8BITS,4,4
	.comm	PTRX,4,4
	.comm	PSST,4,4
	.comm	PEFE,4,4
	.comm	MIDI_CTL_E3_CHORUS_DEPTH,4,4
	.comm	MIDI_CTL_E1_REVERB_DEPTH,4,4
	.comm	MAP_PTI_MASK,4,4
	.comm	MAPB,4,4
	.comm	MAPA,4,4
	.comm	LFOVAL2,4,4
	.comm	LFOVAL1,4,4
	.comm	IP,4,4
	.comm	IFATN,4,4
	.comm	FXRT,4,4
	.comm	FXBUS_MIDI_RIGHT,4,4
	.comm	FXBUS_MIDI_REVERB,4,4
	.comm	FXBUS_MIDI_LEFT,4,4
	.comm	FXBUS_MIDI_CHORUS,4,4
	.comm	ENVVOL,4,4
	.comm	ENVVAL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DSL,4,4
	.comm	DCYSUSV,4,4
	.comm	DCYSUSM,4,4
	.comm	CVCF,4,4
	.comm	CPF,4,4
	.comm	CDF,4,4
	.comm	CDE,4,4
	.comm	CCR,4,4
	.comm	CCCA_INTERPROM_0,4,4
	.comm	CCCA_8BITSELECT,4,4
	.comm	CCCA,4,4
	.comm	A_FXRT1,4,4
	.comm	ATKHLDV,4,4
	.comm	ATKHLDM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
