	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_pcm_init_voice
_snd_emu10k1_pcm_init_voice:            ## @snd_emu10k1_pcm_init_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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rcx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	(%rcx), %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ecx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	8(%rax), %edi
	xorl	%ebx, %ebx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	cmpl	$2, %ecx
	sete	%bl
	callq	_snd_pcm_format_width
	xorl	%r15d, %r15d
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	cmpl	$16, %eax
	sete	%r15b
	testl	%r13d, %r13d
	sete	%cl
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	andb	%bl, %cl
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	shrl	%cl, %r14d
	shrl	%cl, %ebx
	movl	%r15d, %ecx
	shrl	%cl, %r14d
	shrl	%cl, %ebx
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$50462976, -64(%rbp)            ## imm = 0x3020100
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_3
LBB0_2:
	movq	16(%rbp), %rcx
	xorl	%eax, %eax
	cmpl	$1, -80(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, %ebx
	adcq	$1, %rbx
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	cmpl	$2, %r13d
	cmovneq	%rax, %rbx
	movq	8(%rcx), %rax
	movq	(%rax,%rbx,8), %rsi
	leaq	-64(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	16(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	-56(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
LBB0_3:
	movl	-100(%rbp), %edi                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_emu10k1_ccis
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	movl	%r13d, %r8d
	leal	(%rax,%rbx), %edi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	movl	%eax, %r13d
	cmovel	%edx, %r13d
	addl	%r14d, %r13d
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rcx
	movl	%edi, (%rcx)
	movq	_CPF@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	testl	%edx, %edx
	cmovnel	%edi, %ebx
	jne	LBB0_8
## %bb.6:
	cmpl	$2, %r8d
	jne	LBB0_8
## %bb.7:
	movq	_CPF_STEREO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movl	(%r15), %esi
	leal	1(%r14), %edx
	movq	_CPF_STEREO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	jmp	LBB0_9
LBB0_4:
	movl	%r14d, %r13d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 24(%r12)
	jne	LBB0_11
LBB0_12:
	movq	_FXRT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-64(%rbp), %rdi
	callq	_snd_emu10k1_compose_send_routing
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	jmp	LBB0_13
LBB0_8:
	movq	%r12, %rdi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	xorl	%ecx, %ecx
LBB0_9:
	callq	_snd_emu10k1_ptr_write
	cmpq	$0, 24(%r12)
	je	LBB0_12
LBB0_11:
	movq	_A_FXRT1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-64(%rbp), %rdi
	callq	_snd_emu10k1_compose_audigy_fxrt1
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_A_FXRT2@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-64(%rbp), %rdi
	callq	_snd_emu10k1_compose_audigy_fxrt2
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_A_SENDAMOUNTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %ecx
	bswapl	%ecx
	movq	%r12, %rdi
	movl	%r14d, %edx
LBB0_13:
	callq	_snd_emu10k1_ptr_write
	movq	_PTRX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	-56(%rbp), %eax
	rolw	$8, %ax
	movzwl	%ax, %ecx
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_DSL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-53(%rbp), %ecx
	shll	$24, %ecx
	orl	%r13d, %ecx
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	_PSST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	-54(%rbp), %ecx
	shll	$24, %ecx
	orl	%ebx, %ecx
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_snd_emu10k1_ptr_write
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_PITCH_48000@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_16
LBB0_15:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_emu10k1_calc_pitch_target
	movl	%eax, %edi
LBB0_16:
	xorl	%eax, %eax
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	movq	_CCCA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmovnel	%eax, %ecx
	addl	%ecx, %ebx
	callq	_emu10k1_select_interprom
	movl	$0, %ecx
	cmpl	$16, -104(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_18
## %bb.17:
	movq	_CCCA_8BITSELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_18:
	orl	%ecx, %eax
	orl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_Z1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_Z2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movl	8(%r12), %ebx
	addl	%ebx, %ebx
	movq	_MAP_PTI_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MAPA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_MAPB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_CVCF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_VTFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_snd_emu10k1_ptr_write
	movq	_ATKHLDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_DCYSUSM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$127, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_LFOVAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$32768, %ecx                    ## imm = 0x8000
	callq	_snd_emu10k1_ptr_write
	movq	_LFOVAL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$32768, %ecx                    ## imm = 0x8000
	callq	_snd_emu10k1_ptr_write
	movq	_FMMOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_TREMFRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_FM2FRQ2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_ENVVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$32768, %ecx                    ## imm = 0x8000
	callq	_snd_emu10k1_ptr_write
	movq	_ATKHLDV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$32639, %ecx                    ## imm = 0x7F7F
	callq	_snd_emu10k1_ptr_write
	movq	_ENVVOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_PEFE_FILTERAMOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$127, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_PEFE_PITCHAMOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CPF,4,2                        ## @CPF
	.comm	_CPF_STEREO_MASK,4,2            ## @CPF_STEREO_MASK
	.comm	_A_FXRT1,4,2                    ## @A_FXRT1
	.comm	_A_FXRT2,4,2                    ## @A_FXRT2
	.comm	_A_SENDAMOUNTS,4,2              ## @A_SENDAMOUNTS
	.comm	_FXRT,4,2                       ## @FXRT
	.comm	_PTRX,4,2                       ## @PTRX
	.comm	_DSL,4,2                        ## @DSL
	.comm	_PSST,4,2                       ## @PSST
	.comm	_PITCH_48000,4,2                ## @PITCH_48000
	.comm	_CCCA,4,2                       ## @CCCA
	.comm	_CCCA_8BITSELECT,4,2            ## @CCCA_8BITSELECT
	.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	_CVCF,4,2                       ## @CVCF
	.comm	_VTFT,4,2                       ## @VTFT
	.comm	_ATKHLDM,4,2                    ## @ATKHLDM
	.comm	_DCYSUSM,4,2                    ## @DCYSUSM
	.comm	_LFOVAL1,4,2                    ## @LFOVAL1
	.comm	_LFOVAL2,4,2                    ## @LFOVAL2
	.comm	_FMMOD,4,2                      ## @FMMOD
	.comm	_TREMFRQ,4,2                    ## @TREMFRQ
	.comm	_FM2FRQ2,4,2                    ## @FM2FRQ2
	.comm	_ENVVAL,4,2                     ## @ENVVAL
	.comm	_ATKHLDV,4,2                    ## @ATKHLDV
	.comm	_ENVVOL,4,2                     ## @ENVVOL
	.comm	_PEFE_FILTERAMOUNT,4,2          ## @PEFE_FILTERAMOUNT
	.comm	_PEFE_PITCHAMOUNT,4,2           ## @PEFE_PITCHAMOUNT
	.no_dead_strip	_snd_emu10k1_pcm_init_voice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu10k1_pcm_init_voice
_snd_emu10k1_pcm_init_voice:            ; @snd_emu10k1_pcm_init_voice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x27, x6
	mov	x28, x5
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	str	w1, [sp, #20]                   ; 4-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x3, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w20, [x3]
	ldr	w21, [x8]
	cmp	w21, #2
	cset	w23, eq
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w0, [x8, #8]
	bl	_snd_pcm_format_width
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	cmp	w0, #16
	cset	w26, eq
	cmp	w25, #0
	cset	w8, eq
	and	w8, w8, w23
	lsr	w28, w28, w8
	lsr	w22, w22, w8
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbz	w25, LBB0_2
; %bb.1:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	w8, #256
	movk	w8, #770, lsl #16
	str	w8, [sp, #24]
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #0
	mov	w8, #1
	cinc	x8, x8, eq
	cmp	w21, #2
	csel	x8, x8, xzr, eq
	ldr	x9, [x27, #8]
	str	w25, [sp, #4]                   ; 4-byte Folded Spill
	lsl	x25, x8, #3
	ldr	x1, [x9, x25]
	add	x0, sp, #24
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x27]
	ldr	x1, [x8, x25]
	ldr	w25, [sp, #4]                   ; 4-byte Folded Reload
	add	x0, sp, #32
	mov	w2, #8
	bl	_memcpy
LBB0_3:
	lsr	w28, w28, w26
	lsr	w27, w22, w26
	mov	x0, x23
	mov	x1, x26
	bl	_emu10k1_ccis
	mov	x23, x0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_9
; %bb.4:
	add	w8, w23, w27
	ldr	x9, [x24, #8]
	str	w8, [x9]
	cmp	w25, #0
	csel	w9, w23, wzr, ne
	add	w28, w9, w28
	csel	w27, w8, w27, ne
Lloh3:
	adrp	x22, _CPF@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CPF@GOTPAGEOFF]
	ldr	w1, [x22]
	cbnz	w25, LBB0_7
; %bb.5:
	cmp	w21, #2
	b.ne	LBB0_7
; %bb.6:
Lloh5:
	adrp	x21, _CPF_STEREO_MASK@GOTPAGE
Lloh6:
	ldr	x21, [x21, _CPF_STEREO_MASK@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
	ldr	w1, [x22]
	add	w2, w20, #1
	ldr	w3, [x21]
	mov	x0, x19
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
LBB0_8:
	bl	_snd_emu10k1_ptr_write
LBB0_9:
	ldr	w24, [sp, #16]                  ; 4-byte Folded Reload
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_11
; %bb.10:
Lloh7:
	adrp	x8, _A_FXRT1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _A_FXRT1@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	add	x0, sp, #24
	bl	_snd_emu10k1_compose_audigy_fxrt1
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh10:
	adrp	x8, _A_FXRT2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _A_FXRT2@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	add	x0, sp, #24
	bl	_snd_emu10k1_compose_audigy_fxrt2
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh13:
	adrp	x8, _A_SENDAMOUNTS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _A_SENDAMOUNTS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w8, [sp, #36]
	rev	w3, w8
	mov	x0, x19
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x8, _FXRT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FXRT@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
	add	x0, sp, #24
	bl	_snd_emu10k1_compose_send_routing
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
LBB0_12:
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh19:
	adrp	x8, _PTRX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PTRX@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldrh	w8, [sp, #32]
	rev16	w3, w8
	mov	x0, x19
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh22:
	adrp	x8, _DSL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DSL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldrb	w8, [sp, #35]
	orr	w3, w28, w8, lsl #24
	mov	x0, x19
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh25:
	adrp	x8, _PSST@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PSST@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldrb	w8, [sp, #34]
	orr	w3, w27, w8, lsl #24
	mov	x0, x19
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
Lloh28:
	adrp	x8, _PITCH_48000@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PITCH_48000@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #4]
	bl	_emu10k1_calc_pitch_target
LBB0_15:
Lloh31:
	adrp	x8, _CCCA@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CCCA@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
	cmp	w25, #0
	csel	w8, wzr, w23, ne
	add	w21, w27, w8
	bl	_emu10k1_select_interprom
	orr	w8, w0, w21
Lloh34:
	adrp	x9, _CCCA_8BITSELECT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CCCA_8BITSELECT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w24, #16
	csel	w9, wzr, w9, eq
	orr	w3, w8, w9
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_snd_emu10k1_ptr_write
Lloh37:
	adrp	x8, _Z1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Z1@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh40:
	adrp	x8, _Z2@GOTPAGE
Lloh41:
	ldr	x8, [x8, _Z2@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh43:
	adrp	x8, _MAP_PTI_MASK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MAP_PTI_MASK@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh45:
	ldr	w8, [x8]
	orr	w21, w8, w9, lsl #1
Lloh46:
	adrp	x8, _MAPA@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MAPA@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_snd_emu10k1_ptr_write
Lloh49:
	adrp	x8, _MAPB@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MAPB@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_snd_emu10k1_ptr_write
Lloh52:
	adrp	x8, _CVCF@GOTPAGE
Lloh53:
	ldr	x8, [x8, _CVCF@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh55:
	adrp	x8, _VTFT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _VTFT@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #65535
	bl	_snd_emu10k1_ptr_write
Lloh58:
	adrp	x8, _ATKHLDM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ATKHLDM@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh61:
	adrp	x8, _DCYSUSM@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DCYSUSM@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #127
	bl	_snd_emu10k1_ptr_write
Lloh64:
	adrp	x8, _LFOVAL1@GOTPAGE
Lloh65:
	ldr	x8, [x8, _LFOVAL1@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #32768
	bl	_snd_emu10k1_ptr_write
Lloh67:
	adrp	x8, _LFOVAL2@GOTPAGE
Lloh68:
	ldr	x8, [x8, _LFOVAL2@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #32768
	bl	_snd_emu10k1_ptr_write
Lloh70:
	adrp	x8, _FMMOD@GOTPAGE
Lloh71:
	ldr	x8, [x8, _FMMOD@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh73:
	adrp	x8, _TREMFRQ@GOTPAGE
Lloh74:
	ldr	x8, [x8, _TREMFRQ@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh76:
	adrp	x8, _FM2FRQ2@GOTPAGE
Lloh77:
	ldr	x8, [x8, _FM2FRQ2@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh79:
	adrp	x8, _ENVVAL@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ENVVAL@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #32768
	bl	_snd_emu10k1_ptr_write
Lloh82:
	adrp	x8, _ATKHLDV@GOTPAGE
Lloh83:
	ldr	x8, [x8, _ATKHLDV@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #32639
	bl	_snd_emu10k1_ptr_write
Lloh85:
	adrp	x8, _ENVVOL@GOTPAGE
Lloh86:
	ldr	x8, [x8, _ENVVOL@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
Lloh88:
	adrp	x8, _PEFE_FILTERAMOUNT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _PEFE_FILTERAMOUNT@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #127
	bl	_snd_emu10k1_ptr_write
Lloh91:
	adrp	x8, _PEFE_PITCHAMOUNT@GOTPAGE
Lloh92:
	ldr	x8, [x8, _PEFE_PITCHAMOUNT@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_snd_emu10k1_ptr_write
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x8, [sp, #40]
Lloh94:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh95:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_CPF,4,2                        ; @CPF
	.comm	_CPF_STEREO_MASK,4,2            ; @CPF_STEREO_MASK
	.comm	_A_FXRT1,4,2                    ; @A_FXRT1
	.comm	_A_FXRT2,4,2                    ; @A_FXRT2
	.comm	_A_SENDAMOUNTS,4,2              ; @A_SENDAMOUNTS
	.comm	_FXRT,4,2                       ; @FXRT
	.comm	_PTRX,4,2                       ; @PTRX
	.comm	_DSL,4,2                        ; @DSL
	.comm	_PSST,4,2                       ; @PSST
	.comm	_PITCH_48000,4,2                ; @PITCH_48000
	.comm	_CCCA,4,2                       ; @CCCA
	.comm	_CCCA_8BITSELECT,4,2            ; @CCCA_8BITSELECT
	.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	_CVCF,4,2                       ; @CVCF
	.comm	_VTFT,4,2                       ; @VTFT
	.comm	_ATKHLDM,4,2                    ; @ATKHLDM
	.comm	_DCYSUSM,4,2                    ; @DCYSUSM
	.comm	_LFOVAL1,4,2                    ; @LFOVAL1
	.comm	_LFOVAL2,4,2                    ; @LFOVAL2
	.comm	_FMMOD,4,2                      ; @FMMOD
	.comm	_TREMFRQ,4,2                    ; @TREMFRQ
	.comm	_FM2FRQ2,4,2                    ; @FM2FRQ2
	.comm	_ENVVAL,4,2                     ; @ENVVAL
	.comm	_ATKHLDV,4,2                    ; @ATKHLDV
	.comm	_ENVVOL,4,2                     ; @ENVVOL
	.comm	_PEFE_FILTERAMOUNT,4,2          ; @PEFE_FILTERAMOUNT
	.comm	_PEFE_PITCHAMOUNT,4,2           ; @PEFE_PITCHAMOUNT
	.no_dead_strip	_snd_emu10k1_pcm_init_voice
.subsections_via_symbols
