	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_voice
_start_voice:                           ## @start_voice
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	128(%rdi), %r15
	movl	(%rdi), %r14d
	movl	%r14d, %edi
	shrl	$31, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	120(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.4:
	movq	96(%r13), %r12
	incl	(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_snd_emu10k1_memblk_map
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_snd_emu10k1_memblk_offset
	movdqu	24(%r13), %xmm0
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	psrad	$1, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, 24(%r13)
	cmpq	$0, 8(%r15)
	movq	_FXBUS_MIDI_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.7:
	movq	_A_FXRT1@GOTPCREL(%rip), %r8
	movl	$24, %r9d
	movl	$16, %edx
	movl	$8, %ecx
	jmp	LBB0_9
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	shll	$16, %esi
	movq	_FXRT@GOTPCREL(%rip), %r8
	movl	$28, %r9d
	movl	$24, %edx
	movl	$20, %ecx
LBB0_9:
	movq	_FXBUS_MIDI_RIGHT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movq	_FXBUS_MIDI_REVERB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	%edx, %ecx
	shll	%cl, %eax
	movq	_FXBUS_MIDI_CHORUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%r9d, %ecx
	shll	%cl, %ebx
	orl	%esi, %edi
	orl	%eax, %ebx
	orl	%edi, %ebx
	movl	(%r8), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_DCYSUSV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_VTFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_CVCF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_PTRX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_CPF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	4(%r13), %ecx
	movq	%r15, %rdi
	callq	_snd_emu10k1_ptr_write
	movq	_ENVVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_ATKHLDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_DCYSUSM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	52(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_ENVVOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_ATKHLDV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movl	(%r13), %edx
	movl	112(%r13), %eax
	shll	$8, %eax
	movzbl	104(%r13), %ecx
	orl	%eax, %ecx
	movq	_IFATN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snd_emu10k1_ptr_write
	movq	_PEFE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	64(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_LFOVAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	68(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_LFOVAL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	72(%r13), %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_set_fmmod
	movq	_TREMFRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	76(%r13), %ecx
	movq	%r15, %rdi
	callq	_snd_emu10k1_ptr_write
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_set_fm2frq2
	movq	96(%r13), %rax
	movq	(%rax), %rax
	movq	_MIDI_CTL_E1_REVERB_DEPTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %eax
	leal	(%rax,%rax,8), %eax
	cltq
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	sarl	$2, %ebx
	addl	%eax, %ebx
	addl	80(%r13), %ebx
	movl	%ebx, %edi
	movl	$255, %esi
	callq	_LIMITMAX
	movq	_PSST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	shll	$24, %ebx
	orl	32(%r13), %ebx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_MIDI_CTL_E3_CHORUS_DEPTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %eax
	leal	(%rax,%rax,8), %eax
	cltq
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	shrq	$32, %rdi
	sarl	$2, %edi
	addl	%eax, %edi
	addl	84(%r13), %edi
	movl	%edi, %ebx
	shll	$24, %ebx
	orl	36(%r13), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$255, %esi
	callq	_LIMITMAX
	movq	_DSL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_Z1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_Z2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movl	(%r15), %ebx
	addl	%ebx, %ebx
	movq	_MAP_PTI_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MAPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_MAPB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movl	4(%r13), %eax
	movl	88(%r13), %ecx
	shll	$28, %ecx
	orl	24(%r13), %ecx
	cmpl	$58368, %eax                    ## imm = 0xE400
	jae	LBB0_10
## %bb.11:
	movq	_CCCA_INTERPROM_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_10:
	shll	$15, %eax
	addl	$-1879048192, %eax              ## imm = 0x90000000
	andl	$-33554432, %eax                ## imm = 0xFE000000
LBB0_12:
	orl	%eax, %ecx
	movq	_SNDRV_SFNT_SAMPLE_8BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	40(%r13), %eax
	je	LBB0_14
## %bb.13:
	movq	_CCCA_8BITSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	orl	%eax, %ecx
	movq	_CCCA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movl	16(%r13), %ebx
	shll	$16, %ebx
	movq	_VTFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %ecx
	orl	%ebx, %ecx
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_CVCF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$65280, %ebx                    ## imm = 0xFF00
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FXBUS_MIDI_LEFT,4,2            ## @FXBUS_MIDI_LEFT
	.comm	_FXBUS_MIDI_RIGHT,4,2           ## @FXBUS_MIDI_RIGHT
	.comm	_FXBUS_MIDI_REVERB,4,2          ## @FXBUS_MIDI_REVERB
	.comm	_FXBUS_MIDI_CHORUS,4,2          ## @FXBUS_MIDI_CHORUS
	.comm	_A_FXRT1,4,2                    ## @A_FXRT1
	.comm	_FXRT,4,2                       ## @FXRT
	.comm	_DCYSUSV,4,2                    ## @DCYSUSV
	.comm	_VTFT,4,2                       ## @VTFT
	.comm	_CVCF,4,2                       ## @CVCF
	.comm	_PTRX,4,2                       ## @PTRX
	.comm	_CPF,4,2                        ## @CPF
	.comm	_IP,4,2                         ## @IP
	.comm	_ENVVAL,4,2                     ## @ENVVAL
	.comm	_ATKHLDM,4,2                    ## @ATKHLDM
	.comm	_DCYSUSM,4,2                    ## @DCYSUSM
	.comm	_ENVVOL,4,2                     ## @ENVVOL
	.comm	_ATKHLDV,4,2                    ## @ATKHLDV
	.comm	_IFATN,4,2                      ## @IFATN
	.comm	_PEFE,4,2                       ## @PEFE
	.comm	_LFOVAL1,4,2                    ## @LFOVAL1
	.comm	_LFOVAL2,4,2                    ## @LFOVAL2
	.comm	_TREMFRQ,4,2                    ## @TREMFRQ
	.comm	_MIDI_CTL_E1_REVERB_DEPTH,8,3   ## @MIDI_CTL_E1_REVERB_DEPTH
	.comm	_PSST,4,2                       ## @PSST
	.comm	_MIDI_CTL_E3_CHORUS_DEPTH,8,3   ## @MIDI_CTL_E3_CHORUS_DEPTH
	.comm	_DSL,4,2                        ## @DSL
	.comm	_Z1,4,2                         ## @Z1
	.comm	_Z2,4,2                         ## @Z2
	.comm	_MAP_PTI_MASK,4,2               ## @MAP_PTI_MASK
	.comm	_MAPA,4,2                       ## @MAPA
	.comm	_MAPB,4,2                       ## @MAPB
	.comm	_CCCA_INTERPROM_0,4,2           ## @CCCA_INTERPROM_0
	.comm	_SNDRV_SFNT_SAMPLE_8BITS,4,2    ## @SNDRV_SFNT_SAMPLE_8BITS
	.comm	_CCCA_8BITSELECT,4,2            ## @CCCA_8BITSELECT
	.comm	_CCCA,4,2                       ## @CCCA
	.comm	_CCR,4,2                        ## @CCR
	.comm	_CDE,4,2                        ## @CDE
	.comm	_CDF,4,2                        ## @CDF
	.no_dead_strip	_start_voice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_voice
_start_voice:                           ; @start_voice
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x20, [x0, #128]
	ldr	w19, [x0]
	lsr	w0, w19, #31
	bl	_snd_BUG_ON
	cbz	x0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x22, [x21, #120]
	cbz	x22, LBB0_1
; %bb.5:
	ldr	x25, [x21, #96]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	x0, x20
	mov	x1, x22
	bl	_snd_emu10k1_memblk_map
	tbnz	x0, #63, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_snd_emu10k1_memblk_offset
	asr	w8, w0, #1
	ldur	q0, [x21, #24]
	dup.4s	v1, w8
	add.4s	v0, v0, v1
	stur	q0, [x21, #24]
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _FXBUS_MIDI_LEFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FXBUS_MIDI_LEFT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _A_FXRT1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _A_FXRT1@GOTPAGEOFF]
	mov	w11, #24
	mov	w12, #16
	mov	w13, #8
	lsl	w14, w9, #16
Lloh7:
	adrp	x15, _FXRT@GOTPAGE
Lloh8:
	ldr	x15, [x15, _FXRT@GOTPAGEOFF]
	mov	w16, #28
	mov	w17, #24
	mov	w0, #20
	cmp	x8, #0
	csel	x8, x10, x15, ne
	csel	w10, w13, w0, ne
	csel	w9, w9, w14, ne
	csel	w12, w12, w17, ne
	csel	w11, w11, w16, ne
Lloh9:
	adrp	x13, _FXBUS_MIDI_RIGHT@GOTPAGE
Lloh10:
	ldr	x13, [x13, _FXBUS_MIDI_RIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	lsl	w10, w13, w10
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _FXBUS_MIDI_REVERB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FXBUS_MIDI_REVERB@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	lsl	w10, w10, w12
	orr	w9, w9, w10
Lloh15:
	adrp	x10, _FXBUS_MIDI_CHORUS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FXBUS_MIDI_CHORUS@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w10, w10, w11
	orr	w3, w9, w10
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh18:
	adrp	x8, _DCYSUSV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DCYSUSV@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh21:
	adrp	x23, _VTFT@GOTPAGE
Lloh22:
	ldr	x23, [x23, _VTFT@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh23:
	adrp	x24, _CVCF@GOTPAGE
Lloh24:
	ldr	x24, [x24, _CVCF@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh25:
	adrp	x8, _PTRX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PTRX@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh28:
	adrp	x8, _CPF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CPF@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh31:
	adrp	x8, _IP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IP@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldp	w2, w3, [x21]
	mov	x0, x20
	bl	_snd_emu10k1_ptr_write
Lloh34:
	adrp	x8, _ENVVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENVVAL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w3, [x21, #44]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh37:
	adrp	x8, _ATKHLDM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ATKHLDM@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w3, [x21, #48]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh40:
	adrp	x8, _DCYSUSM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DCYSUSM@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ldr	w3, [x21, #52]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh43:
	adrp	x8, _ENVVOL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENVVOL@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w3, [x21, #56]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh46:
	adrp	x8, _ATKHLDV@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ATKHLDV@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	ldr	w3, [x21, #60]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
	ldr	w8, [x21, #112]
	ldrb	w3, [x21, #104]
	bfi	w3, w8, #8, #24
Lloh49:
	adrp	x8, _IFATN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IFATN@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_snd_emu10k1_ptr_write
Lloh52:
	adrp	x8, _PEFE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _PEFE@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	w3, [x21, #64]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh55:
	adrp	x8, _LFOVAL1@GOTPAGE
Lloh56:
	ldr	x8, [x8, _LFOVAL1@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	ldr	w3, [x21, #68]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh58:
	adrp	x8, _LFOVAL2@GOTPAGE
Lloh59:
	ldr	x8, [x8, _LFOVAL2@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	ldr	w3, [x21, #72]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
	mov	x0, x20
	mov	x1, x21
	bl	_set_fmmod
Lloh61:
	adrp	x8, _TREMFRQ@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TREMFRQ@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ldr	w3, [x21, #76]
	mov	x0, x20
	bl	_snd_emu10k1_ptr_write
	mov	x0, x20
	mov	x1, x21
	bl	_set_fm2frq2
	ldr	w8, [x21, #80]
	ldr	x9, [x21, #96]
	ldr	x9, [x9]
Lloh64:
	adrp	x10, _MIDI_CTL_E1_REVERB_DEPTH@GOTPAGE
Lloh65:
	ldr	x10, [x10, _MIDI_CTL_E1_REVERB_DEPTH@GOTPAGEOFF]
Lloh66:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	add	w9, w9, w9, lsl #3
	mov	w26, #26215
	movk	w26, #26214, lsl #16
	smull	x9, w9, w26
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #2
	add	w22, w9, w8
	mov	x0, x22
	mov	w1, #255
	bl	_LIMITMAX
	ldr	w8, [x21, #32]
Lloh67:
	adrp	x9, _PSST@GOTPAGE
Lloh68:
	ldr	x9, [x9, _PSST@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x9]
	ldr	w2, [x21]
	orr	w3, w8, w22, lsl #24
	mov	x0, x20
	bl	_snd_emu10k1_ptr_write
	ldr	w27, [x21, #36]
	ldr	w8, [x21, #84]
	ldr	x9, [x25]
Lloh70:
	adrp	x10, _MIDI_CTL_E3_CHORUS_DEPTH@GOTPAGE
Lloh71:
	ldr	x10, [x10, _MIDI_CTL_E3_CHORUS_DEPTH@GOTPAGEOFF]
Lloh72:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	add	w9, w9, w9, lsl #3
	smull	x9, w9, w26
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #2
	add	w22, w9, w8
	mov	x0, x22
	mov	w1, #255
	bl	_LIMITMAX
	orr	w3, w27, w22, lsl #24
Lloh73:
	adrp	x8, _DSL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _DSL@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh76:
	adrp	x8, _Z1@GOTPAGE
Lloh77:
	ldr	x8, [x8, _Z1@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh79:
	adrp	x8, _Z2@GOTPAGE
Lloh80:
	ldr	x8, [x8, _Z2@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh82:
	adrp	x8, _MAP_PTI_MASK@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MAP_PTI_MASK@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh84:
	ldr	w8, [x8]
	orr	w22, w8, w9, lsl #1
Lloh85:
	adrp	x8, _MAPA@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MAPA@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_snd_emu10k1_ptr_write
Lloh88:
	adrp	x8, _MAPB@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MAPB@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_snd_emu10k1_ptr_write
	ldr	w8, [x21, #24]
	ldr	w9, [x21, #88]
	orr	w8, w8, w9, lsl #28
	ldr	w9, [x21, #4]
Lloh91:
	adrp	x10, _CCCA_INTERPROM_0@GOTPAGE
Lloh92:
	ldr	x10, [x10, _CCCA_INTERPROM_0@GOTPAGEOFF]
Lloh93:
	ldr	w10, [x10]
	mov	w11, #-1879048192
	add	w11, w11, w9, lsl #15
	and	w11, w11, #0xfe000000
	lsr	w9, w9, #10
	cmp	w9, #57
	csel	w9, w10, w11, lo
	orr	w8, w8, w9
	ldr	w9, [x21, #40]
Lloh94:
	adrp	x10, _SNDRV_SFNT_SAMPLE_8BITS@GOTPAGE
Lloh95:
	ldr	x10, [x10, _SNDRV_SFNT_SAMPLE_8BITS@GOTPAGEOFF]
Lloh96:
	ldr	w10, [x10]
Lloh97:
	adrp	x11, _CCCA_8BITSELECT@GOTPAGE
Lloh98:
	ldr	x11, [x11, _CCCA_8BITSELECT@GOTPAGEOFF]
Lloh99:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w3, w8, w9
Lloh100:
	adrp	x8, _CCCA@GOTPAGE
Lloh101:
	ldr	x8, [x8, _CCCA@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
	ldr	w22, [x21, #16]
	lsl	w8, w22, #16
	ldr	w1, [x23]
	ldr	w9, [x21, #8]
	orr	w3, w8, w9
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
	ldr	w1, [x24]
	mov	w3, #65280
	bfi	w3, w22, #16, #16
	mov	x0, x20
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
	mov	w0, #0
	b	LBB0_3
LBB0_7:
Lloh103:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FXBUS_MIDI_LEFT,4,2            ; @FXBUS_MIDI_LEFT
	.comm	_FXBUS_MIDI_RIGHT,4,2           ; @FXBUS_MIDI_RIGHT
	.comm	_FXBUS_MIDI_REVERB,4,2          ; @FXBUS_MIDI_REVERB
	.comm	_FXBUS_MIDI_CHORUS,4,2          ; @FXBUS_MIDI_CHORUS
	.comm	_A_FXRT1,4,2                    ; @A_FXRT1
	.comm	_FXRT,4,2                       ; @FXRT
	.comm	_DCYSUSV,4,2                    ; @DCYSUSV
	.comm	_VTFT,4,2                       ; @VTFT
	.comm	_CVCF,4,2                       ; @CVCF
	.comm	_PTRX,4,2                       ; @PTRX
	.comm	_CPF,4,2                        ; @CPF
	.comm	_IP,4,2                         ; @IP
	.comm	_ENVVAL,4,2                     ; @ENVVAL
	.comm	_ATKHLDM,4,2                    ; @ATKHLDM
	.comm	_DCYSUSM,4,2                    ; @DCYSUSM
	.comm	_ENVVOL,4,2                     ; @ENVVOL
	.comm	_ATKHLDV,4,2                    ; @ATKHLDV
	.comm	_IFATN,4,2                      ; @IFATN
	.comm	_PEFE,4,2                       ; @PEFE
	.comm	_LFOVAL1,4,2                    ; @LFOVAL1
	.comm	_LFOVAL2,4,2                    ; @LFOVAL2
	.comm	_TREMFRQ,4,2                    ; @TREMFRQ
	.comm	_MIDI_CTL_E1_REVERB_DEPTH,8,3   ; @MIDI_CTL_E1_REVERB_DEPTH
	.comm	_PSST,4,2                       ; @PSST
	.comm	_MIDI_CTL_E3_CHORUS_DEPTH,8,3   ; @MIDI_CTL_E3_CHORUS_DEPTH
	.comm	_DSL,4,2                        ; @DSL
	.comm	_Z1,4,2                         ; @Z1
	.comm	_Z2,4,2                         ; @Z2
	.comm	_MAP_PTI_MASK,4,2               ; @MAP_PTI_MASK
	.comm	_MAPA,4,2                       ; @MAPA
	.comm	_MAPB,4,2                       ; @MAPB
	.comm	_CCCA_INTERPROM_0,4,2           ; @CCCA_INTERPROM_0
	.comm	_SNDRV_SFNT_SAMPLE_8BITS,4,2    ; @SNDRV_SFNT_SAMPLE_8BITS
	.comm	_CCCA_8BITSELECT,4,2            ; @CCCA_8BITSELECT
	.comm	_CCCA,4,2                       ; @CCCA
	.comm	_CCR,4,2                        ; @CCR
	.comm	_CDE,4,2                        ; @CDE
	.comm	_CDF,4,2                        ; @CDF
	.no_dead_strip	_start_voice
.subsections_via_symbols
