	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pokeysnd_process_8
_pokeysnd_process_8:                    ## @pokeysnd_process_8
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_Samp_n_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_Outvol@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_pokeysnd_AUDV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_POKEYSND_SAMP_MIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	_Num_pokeys@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdi
	decl	%edx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rdi)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	(%rcx,%rdi), %r9d
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rax,%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	4(%rcx,%rdi), %r9d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%rax,%rdi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	8(%rcx,%rdi), %r9d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 12(%rax,%rdi)
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	12(%rcx,%rdi), %r9d
	jmp	LBB0_1
LBB0_10:
	testl	%esi, %esi
	je	LBB0_57
## %bb.11:
	addq	$4, -56(%rbp)                   ## 8-byte Folded Spill
	movq	_POKEY_SAMPLE@GOTPCREL(%rip), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	%r9d, (%rax)
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_Samp_n_max@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_Samp_n_cnt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	%eax, (%rcx)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	decl	%esi
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%esi, %esi
	je	LBB0_57
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_READ_U32
	movq	%rax, %rbx
	movq	_Div_n_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_POKEY_CHAN1@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_POKEY_CHAN2@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_POKEY_CHAN3@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_POKEY_CHAN4@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_Num_pokeys@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpl	$2, %r8d
	movl	$1, %ecx
	cmovgel	%r8d, %ecx
	xorl	%edi, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rdx,8), %r15
	cmpq	%rbx, %r15
	cmovbq	%r15, %rbx
	leal	(%r9,%rdx), %esi
	cmoval	%r14d, %esi
	movq	8(%r13,%rdx,8), %rax
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	leal	(%r10,%rdx), %eax
	cmoval	%esi, %eax
	movq	16(%r13,%rdx,8), %rsi
	cmpq	%rbx, %rsi
	cmovbq	%rsi, %rbx
	leal	(%r11,%rdx), %esi
	cmoval	%eax, %esi
	movq	24(%r13,%rdx,8), %rax
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	leal	(%r12,%rdx), %r14d
	cmoval	%esi, %r14d
	addq	$4, %rdx
	addq	$-32, %rdi
	decl	%ecx
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_SAMPLE@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r14d
	je	LBB0_12
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rcx
	subq	%rdi, %rcx
	movq	%rbx, %xmm0
	movl	%r8d, %esi
	testb	$1, %r8b
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	$-32, %rcx
	movdqu	-32(%r13,%rdx,8), %xmm1
	movdqu	-16(%r13,%rdx,8), %xmm2
	pshufd	$68, %xmm0, %xmm3               ## xmm3 = xmm0[0,1,0,1]
	psubq	%xmm3, %xmm2
	movdqu	%xmm2, -16(%r13,%rdx,8)
	psubq	%xmm3, %xmm1
	movdqu	%xmm1, -32(%r13,%rdx,8)
	leal	-1(%r8), %esi
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$1, %r8d
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	addq	$-16, %rcx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-48(%rcx), %xmm1
	movdqu	-32(%rcx), %xmm2
	movdqu	-16(%rcx), %xmm3
	movdqu	(%rcx), %xmm4
	psubq	%xmm0, %xmm4
	movdqu	%xmm4, (%rcx)
	psubq	%xmm0, %xmm3
	movdqu	%xmm3, -16(%rcx)
	psubq	%xmm0, %xmm2
	movdqu	%xmm2, -32(%rcx)
	psubq	%xmm0, %xmm1
	movdqu	%xmm1, -48(%rcx)
	addq	$-64, %rcx
	addl	$-2, %esi
	jne	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_READ_U32
	subq	%rbx, %rax
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_WRITE_U32
	movq	_P4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rbx, %rax
	movq	_POKEY_POLY4_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_P4@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_P5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rbx, %rax
	movq	_POKEY_POLY5_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_P5@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_P9@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rbx, %rax
	movq	_POKEY_POLY9_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_P17@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	_P9@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_POKEY_POLY17_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_P17@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_Div_n_max@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%r14d, %rax
	movq	(%rcx,%rax,8), %rcx
	movq	_Div_n_cnt@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	%rcx, (%rdx,%rax,8)
	movq	_POKEY_AUDC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	_Outvol@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_POKEY_VOL_ONLY@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	jne	LBB0_44
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_NOTPOLY5@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_bit5@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_P5@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	cmpq	$0, (%rcx,%rdi,8)
	je	LBB0_44
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_PURETONE@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	jmp	LBB0_44
LBB0_39:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_POLY4@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_bit4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_P4@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edi, %edi
	cmpl	$0, (%r8,%rax,4)
	sete	%dil
	xorl	%r10d, %r10d
	cmpl	%edi, (%rcx,%rsi,4)
	sete	%r10b
	jmp	LBB0_44
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_AUDCTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	_POKEY_POLY9@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rcx,%rdx,4)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_poly9_lookup@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_P9@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%r8,%rax,4)
	setne	%bl
	xorb	(%rcx,%rdx,4), %bl
	movzbl	%bl, %r10d
	andl	$1, %r10d
	jmp	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_poly17_lookup@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_P17@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rsi
	andq	$-8, %rsi
	cmpl	$0, (%r8,%rax,4)
	movl	(%rcx,%rsi), %ecx
	setne	%bl
	andb	$7, %dl
	movzbl	%dl, %edx
	btl	%edx, %ecx
	setb	%cl
	xorb	%bl, %cl
	movzbl	%cl, %r10d
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_AUDCTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	%r14d, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rbx
	movl	(%rdi,%rbx,4), %esi
	movq	_POKEY_CH1_FILTER@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_48
## %bb.45:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, %ecx
	andl	$3, %ecx
	movq	_POKEY_CHAN3@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, %ecx
	andl	$253, %ecx
	cmpl	$0, (%r8,%rcx,4)
	je	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$0, (%r8,%rcx,4)
	movq	_pokeysnd_AUDV@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	subl	(%rsi,%rcx,4), %r9d
	movl	(%rdi,%rbx,4), %esi
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_POKEY_CH2_FILTER@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%r14d, %ecx
	andl	$3, %ecx
	movq	_POKEY_CHAN4@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_14 Depth=1
	andl	$253, %r14d
	cmpl	$0, (%r8,%r14,4)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$0, (%r8,%r14,4)
	movq	_pokeysnd_AUDV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	(%rcx,%r14,4), %r9d
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%r10d, %r10d
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$0, (%r8,%rax,4)
	je	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_pokeysnd_AUDV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	(%rcx,%rax,4), %r9d
	movl	$0, (%r8,%rax,4)
LBB0_55:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_56:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, (%r8,%rax,4)
	movq	_pokeysnd_AUDV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	(%rcx,%rax,4), %r9d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_57:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Samp_n_cnt,8,3                 ## @Samp_n_cnt
	.comm	_Outvol,8,3                     ## @Outvol
	.comm	_pokeysnd_AUDV,8,3              ## @pokeysnd_AUDV
	.comm	_POKEYSND_SAMP_MIN,4,2          ## @POKEYSND_SAMP_MIN
	.comm	_Num_pokeys,4,2                 ## @Num_pokeys
	.comm	_POKEY_SAMPLE,4,2               ## @POKEY_SAMPLE
	.comm	_Div_n_cnt,8,3                  ## @Div_n_cnt
	.comm	_POKEY_CHAN1,4,2                ## @POKEY_CHAN1
	.comm	_POKEY_CHAN2,4,2                ## @POKEY_CHAN2
	.comm	_POKEY_CHAN3,4,2                ## @POKEY_CHAN3
	.comm	_POKEY_CHAN4,4,2                ## @POKEY_CHAN4
	.comm	_P4,8,3                         ## @P4
	.comm	_POKEY_POLY4_SIZE,8,3           ## @POKEY_POLY4_SIZE
	.comm	_P5,8,3                         ## @P5
	.comm	_POKEY_POLY5_SIZE,8,3           ## @POKEY_POLY5_SIZE
	.comm	_P9,8,3                         ## @P9
	.comm	_POKEY_POLY9_SIZE,8,3           ## @POKEY_POLY9_SIZE
	.comm	_P17,8,3                        ## @P17
	.comm	_POKEY_POLY17_SIZE,8,3          ## @POKEY_POLY17_SIZE
	.comm	_Div_n_max,8,3                  ## @Div_n_max
	.comm	_POKEY_AUDC,8,3                 ## @POKEY_AUDC
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_POKEY_VOL_ONLY,4,2             ## @POKEY_VOL_ONLY
	.comm	_POKEY_NOTPOLY5,4,2             ## @POKEY_NOTPOLY5
	.comm	_bit5,8,3                       ## @bit5
	.comm	_POKEY_PURETONE,4,2             ## @POKEY_PURETONE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_POKEY_POLY4,4,2                ## @POKEY_POLY4
	.comm	_bit4,8,3                       ## @bit4
	.comm	_POKEY_AUDCTL,8,3               ## @POKEY_AUDCTL
	.comm	_POKEY_POLY9,4,2                ## @POKEY_POLY9
	.comm	_POKEY_poly9_lookup,8,3         ## @POKEY_poly9_lookup
	.comm	_POKEY_poly17_lookup,8,3        ## @POKEY_poly17_lookup
	.comm	_POKEY_CH1_FILTER,4,2           ## @POKEY_CH1_FILTER
	.comm	_POKEY_CH2_FILTER,4,2           ## @POKEY_CH2_FILTER
	.comm	_Samp_n_max,4,2                 ## @Samp_n_max
	.comm	_ANTIC_CPU_CLOCK,8,3            ## @ANTIC_CPU_CLOCK
	.comm	_POKEYSND_SAMPBUF_MAX,8,3       ## @POKEYSND_SAMPBUF_MAX
	.comm	_POKEYSND_SAMP_MAX,4,2          ## @POKEYSND_SAMP_MAX
	.comm	_POKEYSND_sampbuf_cnt,8,3       ## @POKEYSND_sampbuf_cnt
	.comm	_POKEYSND_sampbuf_last,8,3      ## @POKEYSND_sampbuf_last
	.comm	_POKEYSND_sampbuf_ptr,8,3       ## @POKEYSND_sampbuf_ptr
	.comm	_POKEYSND_sampbuf_rptr,8,3      ## @POKEYSND_sampbuf_rptr
	.comm	_POKEYSND_sampbuf_val,8,3       ## @POKEYSND_sampbuf_val
	.comm	_POKEYSND_sampout,8,3           ## @POKEYSND_sampout
	.comm	_POKEYSND_stereo_enabled,8,3    ## @POKEYSND_stereo_enabled
	.comm	_g_Sound,8,3                    ## @g_Sound
	.comm	_last_val,4,2                   ## @last_val
	.comm	_last_val2,4,2                  ## @last_val2
	.comm	_sampbuf_cnt2,8,3               ## @sampbuf_cnt2
	.comm	_sampbuf_last2,8,3              ## @sampbuf_last2
	.comm	_sampbuf_ptr2,8,3               ## @sampbuf_ptr2
	.comm	_sampbuf_rptr2,8,3              ## @sampbuf_rptr2
	.comm	_sampbuf_val2,8,3               ## @sampbuf_val2
	.comm	_sampout2,8,3                   ## @sampout2
	.comm	_speaker,8,3                    ## @speaker
	.no_dead_strip	_pokeysnd_process_8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pokeysnd_process_8
_pokeysnd_process_8:                    ; @pokeysnd_process_8
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _Samp_n_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Samp_n_cnt@GOTPAGEOFF]
Lloh2:
	adrp	x9, _Outvol@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Outvol@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x11, _pokeysnd_AUDV@GOTPAGE
Lloh7:
	ldr	x11, [x11, _pokeysnd_AUDV@GOTPAGEOFF]
Lloh8:
	adrp	x10, _POKEYSND_SAMP_MIN@GOTPAGE
Lloh9:
	ldr	x10, [x10, _POKEYSND_SAMP_MIN@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	ldr	w26, [x10]
Lloh12:
	adrp	x10, _Num_pokeys@GOTPAGE
Lloh13:
	ldr	x10, [x10, _Num_pokeys@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	add	x11, x11, #8
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #16
	add	x9, x9, #16
	subs	w10, w10, #1
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9]
	cbz	w12, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	w12, [x11, #-8]
	add	w26, w12, w26
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x9, #4]
	cbz	w12, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	w12, [x11, #-4]
	add	w26, w12, w26
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x9, #8]
	cbz	w12, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x11]
	add	w26, w12, w26
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x9, #12]
	cbz	w12, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w12, [x11, #4]
	add	w26, w12, w26
	b	LBB0_1
LBB0_10:
	cbz	w19, LBB0_46
; %bb.11:
Lloh15:
	adrp	x28, _POKEY_SAMPLE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _POKEY_SAMPLE@GOTPAGEOFF]
	add	x21, x8, #4
Lloh17:
	adrp	x23, _Div_n_cnt@GOTPAGE
Lloh18:
	ldr	x23, [x23, _Div_n_cnt@GOTPAGEOFF]
Lloh19:
	adrp	x27, _POKEY_CHAN3@GOTPAGE
Lloh20:
	ldr	x27, [x27, _POKEY_CHAN3@GOTPAGEOFF]
Lloh21:
	adrp	x24, _POKEY_CHAN4@GOTPAGE
Lloh22:
	ldr	x24, [x24, _POKEY_CHAN4@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w26, [x20], #4
Lloh23:
	adrp	x8, _Samp_n_max@GOTPAGE
Lloh24:
	ldr	x8, [x8, _Samp_n_max@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _Samp_n_cnt@GOTPAGE
Lloh27:
	ldr	x9, [x9, _Samp_n_cnt@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	sub	w19, w19, #1
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	w19, LBB0_46
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	ldr	w25, [x28]
	mov	x0, x21
	bl	_READ_U32
	mov	x22, x0
	mov	w10, #0
	ldr	x9, [x23]
Lloh29:
	adrp	x8, _POKEY_CHAN1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _POKEY_CHAN1@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x8]
Lloh32:
	adrp	x8, _POKEY_CHAN2@GOTPAGE
Lloh33:
	ldr	x8, [x8, _POKEY_CHAN2@GOTPAGEOFF]
Lloh34:
	ldr	w12, [x8]
	ldr	w13, [x27]
	ldr	w14, [x24]
Lloh35:
	adrp	x8, _Num_pokeys@GOTPAGE
Lloh36:
	ldr	x8, [x8, _Num_pokeys@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w8, #1
	csinc	w15, w8, wzr, gt
LBB0_15:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w16, w10, #2
	ldp	x17, x0, [x9]
	cmp	x17, x22
	csel	x17, x17, x22, lo
	add	w1, w11, w16
	csel	w1, w25, w1, hi
	add	w2, w12, w16
	cmp	x0, x17
	csel	x17, x0, x17, lo
	csel	w0, w1, w2, hi
	ldp	x1, x2, [x9, #16]
	cmp	x1, x17
	csel	x17, x1, x17, lo
	add	w1, w13, w16
	csel	w0, w0, w1, hi
	add	w16, w14, w16
	cmp	x2, x17
	csel	x22, x2, x17, lo
	csel	w25, w0, w16, hi
	add	x9, x9, #32
	add	w10, w10, #1
	cmp	w10, w15
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w10, [x28]
	cmp	w25, w10
	b.eq	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	dup.2d	v0, x22
	subs	w10, w8, #1
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x10, x10, #1
	and	x11, x10, #0x1fffffffe
	sub	x12, x9, x11, lsl #5
	sub	w8, w8, w11
	mov	x13, #-64
	mov	x14, x11
LBB0_19:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x15, x9, x13
	ld4.2d	{ v1, v2, v3, v4 }, [x15]
	ext.16b	v5, v0, v0, #8
	sub.2d	v16, v1, v5
	sub.2d	v17, v2, v5
	sub.2d	v18, v3, v5
	sub.2d	v19, v4, v5
	st4.2d	{ v16, v17, v18, v19 }, [x15]
	sub	x13, x13, #64
	subs	x14, x14, #2
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x9, x12
	cmp	x10, x11
	b.eq	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x9, x9, #16
LBB0_22:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q1, [x9]
	sub.2d	v2, v1, v0
	ldur	q1, [x9, #-16]
	sub.2d	v1, v1, v0
	stp	q1, q2, [x9, #-16]
	sub	x9, x9, #32
	sub	w8, w8, #1
	cbnz	w8, LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x21
	bl	_READ_U32
	sub	x1, x0, x22
	mov	x0, x21
	bl	_WRITE_U32
Lloh38:
	adrp	x11, _P4@GOTPAGE
Lloh39:
	ldr	x11, [x11, _P4@GOTPAGEOFF]
	ldr	x8, [x11]
	add	x8, x8, x22
Lloh40:
	adrp	x9, _POKEY_POLY4_SIZE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _POKEY_POLY4_SIZE@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x11]
Lloh43:
	adrp	x11, _P5@GOTPAGE
Lloh44:
	ldr	x11, [x11, _P5@GOTPAGEOFF]
	ldr	x8, [x11]
	add	x8, x8, x22
Lloh45:
	adrp	x9, _POKEY_POLY5_SIZE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _POKEY_POLY5_SIZE@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x11]
Lloh48:
	adrp	x11, _P9@GOTPAGE
Lloh49:
	ldr	x11, [x11, _P9@GOTPAGEOFF]
	ldr	x8, [x11]
	add	x8, x8, x22
Lloh50:
	adrp	x9, _POKEY_POLY9_SIZE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _POKEY_POLY9_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x11]
Lloh53:
	adrp	x11, _P17@GOTPAGE
Lloh54:
	ldr	x11, [x11, _P17@GOTPAGEOFF]
	ldr	x8, [x11]
	add	x8, x8, x22
Lloh55:
	adrp	x9, _POKEY_POLY17_SIZE@GOTPAGE
Lloh56:
	ldr	x9, [x9, _POKEY_POLY17_SIZE@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x11]
Lloh58:
	adrp	x8, _Div_n_max@GOTPAGE
Lloh59:
	ldr	x8, [x8, _Div_n_max@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	sbfiz	x9, x25, #3, #32
	ldr	x8, [x8, x9]
	ldr	x10, [x23]
	ldr	x11, [x10, x9]
	add	x8, x11, x8
	str	x8, [x10, x9]
Lloh61:
	adrp	x8, _POKEY_AUDC@GOTPAGE
Lloh62:
	ldr	x8, [x8, _POKEY_AUDC@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	ldr	w12, [x8, w25, sxtw #2]
	sxtw	x9, w25
Lloh64:
	adrp	x8, _Outvol@GOTPAGE
Lloh65:
	ldr	x8, [x8, _Outvol@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
Lloh67:
	adrp	x10, _FALSE@GOTPAGE
Lloh68:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh69:
	ldr	w10, [x10]
Lloh70:
	adrp	x11, _POKEY_VOL_ONLY@GOTPAGE
Lloh71:
	ldr	x11, [x11, _POKEY_VOL_ONLY@GOTPAGEOFF]
Lloh72:
	ldr	w13, [x11]
	asr	w11, w25, #2
	tst	w13, w12
	b.ne	LBB0_34
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh73:
	adrp	x13, _POKEY_NOTPOLY5@GOTPAGE
Lloh74:
	ldr	x13, [x13, _POKEY_NOTPOLY5@GOTPAGEOFF]
Lloh75:
	ldr	w13, [x13]
	tst	w13, w12
	b.ne	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh76:
	adrp	x13, _bit5@GOTPAGE
Lloh77:
	ldr	x13, [x13, _bit5@GOTPAGEOFF]
Lloh78:
	ldr	x13, [x13]
Lloh79:
	adrp	x14, _P5@GOTPAGE
Lloh80:
	ldr	x14, [x14, _P5@GOTPAGEOFF]
Lloh81:
	ldr	x14, [x14]
	ldr	x13, [x13, x14, lsl #3]
	cbz	x13, LBB0_34
LBB0_26:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh82:
	adrp	x10, _POKEY_PURETONE@GOTPAGE
Lloh83:
	ldr	x10, [x10, _POKEY_PURETONE@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	tst	w10, w12
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh85:
	adrp	x10, _TRUE@GOTPAGE
Lloh86:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh87:
	ldr	w10, [x10]
	b	LBB0_34
LBB0_28:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh88:
	adrp	x10, _POKEY_POLY4@GOTPAGE
Lloh89:
	ldr	x10, [x10, _POKEY_POLY4@GOTPAGEOFF]
Lloh90:
	ldr	w10, [x10]
	tst	w10, w12
	b.eq	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh91:
	adrp	x10, _bit4@GOTPAGE
Lloh92:
	ldr	x10, [x10, _bit4@GOTPAGEOFF]
Lloh93:
	ldr	x10, [x10]
Lloh94:
	adrp	x12, _P4@GOTPAGE
Lloh95:
	ldr	x12, [x12, _P4@GOTPAGEOFF]
Lloh96:
	ldr	x12, [x12]
	ldr	w10, [x10, x12, lsl #2]
	ldr	w12, [x8, x9, lsl #2]
	cmp	w12, #0
	cset	w12, eq
	cmp	w10, w12
	cset	w10, eq
	b	LBB0_34
LBB0_30:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh97:
	adrp	x10, _POKEY_AUDCTL@GOTPAGE
Lloh98:
	ldr	x10, [x10, _POKEY_AUDCTL@GOTPAGEOFF]
Lloh99:
	ldr	x10, [x10]
	ldr	w10, [x10, w11, sxtw #2]
Lloh100:
	adrp	x12, _POKEY_POLY9@GOTPAGE
Lloh101:
	ldr	x12, [x12, _POKEY_POLY9@GOTPAGEOFF]
Lloh102:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh103:
	adrp	x10, _POKEY_poly9_lookup@GOTPAGE
Lloh104:
	ldr	x10, [x10, _POKEY_poly9_lookup@GOTPAGEOFF]
Lloh105:
	ldr	x10, [x10]
Lloh106:
	adrp	x12, _P9@GOTPAGE
Lloh107:
	ldr	x12, [x12, _P9@GOTPAGEOFF]
Lloh108:
	ldr	x12, [x12]
	ldr	w10, [x10, x12, lsl #2]
	ldr	w12, [x8, x9, lsl #2]
	cmp	w12, #0
	cset	w12, ne
	eor	w10, w12, w10
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh109:
	adrp	x10, _POKEY_poly17_lookup@GOTPAGE
Lloh110:
	ldr	x10, [x10, _POKEY_poly17_lookup@GOTPAGEOFF]
Lloh111:
	ldr	x10, [x10]
Lloh112:
	adrp	x12, _P17@GOTPAGE
Lloh113:
	ldr	x12, [x12, _P17@GOTPAGEOFF]
Lloh114:
	ldr	x12, [x12]
	and	x13, x12, #0xfffffffffffffff8
	ldr	x10, [x10, x13]
	ldr	w13, [x8, x9, lsl #2]
	and	x12, x12, #0x7
	cmp	w13, #0
	cset	w13, ne
	lsr	x10, x10, x12
	eor	w10, w13, w10
LBB0_33:                                ;   in Loop: Header=BB0_14 Depth=1
	and	w10, w10, #0x1
LBB0_34:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh115:
	adrp	x12, _POKEY_AUDCTL@GOTPAGE
Lloh116:
	ldr	x12, [x12, _POKEY_AUDCTL@GOTPAGEOFF]
Lloh117:
	ldr	x12, [x12]
	ldr	w11, [x12, w11, sxtw #2]
Lloh118:
	adrp	x13, _POKEY_CH1_FILTER@GOTPAGE
Lloh119:
	ldr	x13, [x13, _POKEY_CH1_FILTER@GOTPAGEOFF]
Lloh120:
	ldr	w13, [x13]
	tst	w13, w11
	b.eq	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_14 Depth=1
	and	w13, w25, #0x3
	ldr	w14, [x27]
	cmp	w13, w14
	b.ne	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w13, #253
	and	w13, w25, w13
	ldr	w14, [x8, w13, uxtw #2]
	cbz	w14, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x11, x25
	sbfx	x11, x11, #2, #30
	lsl	x13, x13, #2
	str	wzr, [x8, x13]
Lloh121:
	adrp	x14, _pokeysnd_AUDV@GOTPAGE
Lloh122:
	ldr	x14, [x14, _pokeysnd_AUDV@GOTPAGEOFF]
Lloh123:
	ldr	x14, [x14]
	ldr	w13, [x14, x13]
	sub	w26, w26, w13
	ldr	w11, [x12, x11, lsl #2]
LBB0_38:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh124:
	adrp	x12, _POKEY_CH2_FILTER@GOTPAGE
Lloh125:
	ldr	x12, [x12, _POKEY_CH2_FILTER@GOTPAGEOFF]
Lloh126:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_14 Depth=1
	and	w11, w25, #0x3
	ldr	w12, [x24]
	cmp	w11, w12
	b.ne	LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w11, #253
	and	w11, w25, w11
	ldr	w12, [x8, w11, uxtw #2]
	cbz	w12, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_14 Depth=1
	lsl	x11, x11, #2
	str	wzr, [x8, x11]
Lloh127:
	adrp	x12, _pokeysnd_AUDV@GOTPAGE
Lloh128:
	ldr	x12, [x12, _pokeysnd_AUDV@GOTPAGEOFF]
Lloh129:
	ldr	x12, [x12]
	ldr	w11, [x12, x11]
	sub	w26, w26, w11
LBB0_42:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	w10, LBB0_13
; %bb.43:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w10, [x8, x9, lsl #2]
	cbz	w10, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh130:
	adrp	x10, _pokeysnd_AUDV@GOTPAGE
Lloh131:
	ldr	x10, [x10, _pokeysnd_AUDV@GOTPAGEOFF]
Lloh132:
	ldr	x10, [x10]
	lsl	x9, x9, #2
	ldr	w10, [x10, x9]
	sub	w26, w26, w10
	str	wzr, [x8, x9]
	b	LBB0_13
LBB0_45:                                ;   in Loop: Header=BB0_14 Depth=1
	lsl	x9, x9, #2
	mov	w10, #1
	str	w10, [x8, x9]
Lloh133:
	adrp	x8, _pokeysnd_AUDV@GOTPAGE
Lloh134:
	ldr	x8, [x8, _pokeysnd_AUDV@GOTPAGEOFF]
Lloh135:
	ldr	x8, [x8]
	ldr	w8, [x8, x9]
	add	w26, w8, w26
	b	LBB0_13
LBB0_46:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.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 AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.cfi_endproc
                                        ; -- End function
	.comm	_Samp_n_cnt,8,3                 ; @Samp_n_cnt
	.comm	_Outvol,8,3                     ; @Outvol
	.comm	_pokeysnd_AUDV,8,3              ; @pokeysnd_AUDV
	.comm	_POKEYSND_SAMP_MIN,4,2          ; @POKEYSND_SAMP_MIN
	.comm	_Num_pokeys,4,2                 ; @Num_pokeys
	.comm	_POKEY_SAMPLE,4,2               ; @POKEY_SAMPLE
	.comm	_Div_n_cnt,8,3                  ; @Div_n_cnt
	.comm	_POKEY_CHAN1,4,2                ; @POKEY_CHAN1
	.comm	_POKEY_CHAN2,4,2                ; @POKEY_CHAN2
	.comm	_POKEY_CHAN3,4,2                ; @POKEY_CHAN3
	.comm	_POKEY_CHAN4,4,2                ; @POKEY_CHAN4
	.comm	_P4,8,3                         ; @P4
	.comm	_POKEY_POLY4_SIZE,8,3           ; @POKEY_POLY4_SIZE
	.comm	_P5,8,3                         ; @P5
	.comm	_POKEY_POLY5_SIZE,8,3           ; @POKEY_POLY5_SIZE
	.comm	_P9,8,3                         ; @P9
	.comm	_POKEY_POLY9_SIZE,8,3           ; @POKEY_POLY9_SIZE
	.comm	_P17,8,3                        ; @P17
	.comm	_POKEY_POLY17_SIZE,8,3          ; @POKEY_POLY17_SIZE
	.comm	_Div_n_max,8,3                  ; @Div_n_max
	.comm	_POKEY_AUDC,8,3                 ; @POKEY_AUDC
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_POKEY_VOL_ONLY,4,2             ; @POKEY_VOL_ONLY
	.comm	_POKEY_NOTPOLY5,4,2             ; @POKEY_NOTPOLY5
	.comm	_bit5,8,3                       ; @bit5
	.comm	_POKEY_PURETONE,4,2             ; @POKEY_PURETONE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_POKEY_POLY4,4,2                ; @POKEY_POLY4
	.comm	_bit4,8,3                       ; @bit4
	.comm	_POKEY_AUDCTL,8,3               ; @POKEY_AUDCTL
	.comm	_POKEY_POLY9,4,2                ; @POKEY_POLY9
	.comm	_POKEY_poly9_lookup,8,3         ; @POKEY_poly9_lookup
	.comm	_POKEY_poly17_lookup,8,3        ; @POKEY_poly17_lookup
	.comm	_POKEY_CH1_FILTER,4,2           ; @POKEY_CH1_FILTER
	.comm	_POKEY_CH2_FILTER,4,2           ; @POKEY_CH2_FILTER
	.comm	_Samp_n_max,4,2                 ; @Samp_n_max
	.comm	_ANTIC_CPU_CLOCK,8,3            ; @ANTIC_CPU_CLOCK
	.comm	_POKEYSND_SAMPBUF_MAX,8,3       ; @POKEYSND_SAMPBUF_MAX
	.comm	_POKEYSND_SAMP_MAX,4,2          ; @POKEYSND_SAMP_MAX
	.comm	_POKEYSND_sampbuf_cnt,8,3       ; @POKEYSND_sampbuf_cnt
	.comm	_POKEYSND_sampbuf_last,8,3      ; @POKEYSND_sampbuf_last
	.comm	_POKEYSND_sampbuf_ptr,8,3       ; @POKEYSND_sampbuf_ptr
	.comm	_POKEYSND_sampbuf_rptr,8,3      ; @POKEYSND_sampbuf_rptr
	.comm	_POKEYSND_sampbuf_val,8,3       ; @POKEYSND_sampbuf_val
	.comm	_POKEYSND_sampout,8,3           ; @POKEYSND_sampout
	.comm	_POKEYSND_stereo_enabled,8,3    ; @POKEYSND_stereo_enabled
	.comm	_g_Sound,8,3                    ; @g_Sound
	.comm	_last_val,4,2                   ; @last_val
	.comm	_last_val2,4,2                  ; @last_val2
	.comm	_sampbuf_cnt2,8,3               ; @sampbuf_cnt2
	.comm	_sampbuf_last2,8,3              ; @sampbuf_last2
	.comm	_sampbuf_ptr2,8,3               ; @sampbuf_ptr2
	.comm	_sampbuf_rptr2,8,3              ; @sampbuf_rptr2
	.comm	_sampbuf_val2,8,3               ; @sampbuf_val2
	.comm	_sampout2,8,3                   ; @sampout2
	.comm	_speaker,8,3                    ; @speaker
	.no_dead_strip	_pokeysnd_process_8
.subsections_via_symbols
