	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VOTRAXSND_Process              ## -- Begin function VOTRAXSND_Process
	.p2align	4, 0x90
_VOTRAXSND_Process:                     ## @VOTRAXSND_Process
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_votraxsnd_enabled
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_votrax_written@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_votrax_written_byte@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Votrax_PutByte
LBB0_3:
	movq	_num_pokeys@GOTPCREL(%rip), %rcx
	movl	%ebx, %eax
	cltd
	idivl	(%rcx)
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:
	movl	%eax, %r15d
	movq	_VTRX_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_votrax_buffer@GOTPCREL(%rip), %r12
	movq	_bit16@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_mix8
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_VTRX_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpq	$1, (%r13)
	movl	$2, %eax
	sbbl	$0, %eax
	imull	%ebx, %eax
	xorl	%ecx, %ecx
	movq	_num_pokeys@GOTPCREL(%rip), %rdx
	cmpl	$2, (%rdx)
	sete	%cl
	incl	%ecx
	imull	%eax, %ecx
	movslq	%ecx, %rax
	addq	%rax, %r14
	subl	%ebx, %r15d
	jle	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %r15d
	cmovll	%r15d, %ebx
	movl	(%r12), %edi
	movq	_temp_votrax_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	callq	_votrax_process
	cmpq	$0, (%r13)
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	$32, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_mix
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_votrax_written,8,3             ## @votrax_written
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_votrax_written_byte,4,2        ## @votrax_written_byte
	.comm	_num_pokeys,4,2                 ## @num_pokeys
	.comm	_VTRX_BLOCK_SIZE,4,2            ## @VTRX_BLOCK_SIZE
	.comm	_votrax_buffer,4,2              ## @votrax_buffer
	.comm	_temp_votrax_buffer,4,2         ## @temp_votrax_buffer
	.comm	_bit16,8,3                      ## @bit16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VOTRAXSND_Process              ; -- Begin function VOTRAXSND_Process
	.p2align	2
_VOTRAXSND_Process:                     ; @VOTRAXSND_Process
	.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	x20, x1
	mov	x19, x0
	bl	_votraxsnd_enabled
	cbz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _votrax_written@GOTPAGE
Lloh1:
	ldr	x8, [x8, _votrax_written@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.2:
Lloh2:
	adrp	x9, _FALSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh5:
	adrp	x8, _votrax_written_byte@GOTPAGE
Lloh6:
	ldr	x8, [x8, _votrax_written_byte@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_Votrax_PutByte
LBB0_3:
Lloh8:
	adrp	x21, _num_pokeys@GOTPAGE
Lloh9:
	ldr	x21, [x21, _num_pokeys@GOTPAGEOFF]
	ldr	w8, [x21]
	sdiv	w22, w20, w8
	cmp	w22, #1
	b.lt	LBB0_9
; %bb.4:
Lloh10:
	adrp	x23, _VTRX_BLOCK_SIZE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _VTRX_BLOCK_SIZE@GOTPAGEOFF]
Lloh12:
	adrp	x24, _votrax_buffer@GOTPAGE
Lloh13:
	ldr	x24, [x24, _votrax_buffer@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh14:
	adrp	x25, _temp_votrax_buffer@GOTPAGE
Lloh15:
	ldr	x25, [x25, _temp_votrax_buffer@GOTPAGEOFF]
Lloh16:
	adrp	x26, _bit16@GOTPAGE
Lloh17:
	ldr	x26, [x26, _bit16@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_mix8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	ldr	x9, [x26]
	cmp	x9, #0
	cinc	w9, w27, ne
	mul	w9, w9, w8
	ldr	w10, [x21]
	cmp	w10, #2
	cinc	w10, w27, eq
	mul	w9, w9, w10
	add	x19, x19, w9, sxtw
	sub	w22, w22, w8
	cmp	w22, #0
	b.le	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, w8
	csel	w20, w22, w8, lt
	ldr	w0, [x24]
	ldr	w2, [x25]
	mov	x1, x20
	bl	_votrax_process
	ldr	x8, [x26]
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #32
	cbz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_mix
	b	LBB0_6
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_votrax_written,8,3             ; @votrax_written
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_votrax_written_byte,4,2        ; @votrax_written_byte
	.comm	_num_pokeys,4,2                 ; @num_pokeys
	.comm	_VTRX_BLOCK_SIZE,4,2            ; @VTRX_BLOCK_SIZE
	.comm	_votrax_buffer,4,2              ; @votrax_buffer
	.comm	_temp_votrax_buffer,4,2         ; @temp_votrax_buffer
	.comm	_bit16,8,3                      ; @bit16
.subsections_via_symbols
