	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Votrax_Update                  ## -- Begin function Votrax_Update
	.p2align	4, 0x90
_Votrax_Update:                         ## @Votrax_Update
	.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
	testl	%edx, %edx
	je	LBB0_17
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_votraxsc01_locals@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %ebx
	cmovll	%ebx, %r12d
	movslq	%r12d, %r13
	leal	(,%r13,4), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	leaq	(%r14,%r13,4), %r14
	subl	%r13d, 4(%r15)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%r12d, %ebx
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %r12d
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %r12d
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %ebx
	cmovll	%ebx, %r12d
	movl	28(%r15), %esi
	movslq	%r12d, %r13
	leal	(,%r13,4), %edx
	movq	%r14, %rdi
	callq	_memcpy
	addl	%r13d, 28(%r15)
	leaq	(%r14,%r13,4), %r14
	subl	%r13d, 8(%r15)
	jmp	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%r15)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 32(%r15)
	movq	40(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r15), %r12d
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r15), %esi
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PhonemeData@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	_PT_VS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jge	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rcx,8), %rdx
	movslq	(%r15), %rdi
	movl	(%rdx,%rdi,4), %esi
	movl	%esi, 24(%r15)
	movq	16(%rax,%rcx,8), %rax
	movl	(%rax,%rdi,4), %r12d
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	1520(%rax), %rcx
	movl	(%rcx), %esi
	movl	%esi, 24(%r15)
	movq	1528(%rax), %rax
	movl	(%rax), %r12d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, 12(%r15)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %ebx
	cmovll	%ebx, %r12d
	movslq	%r12d, %r13
	leal	(,%r13,4), %edx
	movq	%r14, %rdi
	callq	_memcpy
	addl	%r13d, 24(%r15)
	leaq	(%r14,%r13,4), %r14
	subl	%r13d, 12(%r15)
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_votraxsc01_locals,48,3         ## @votraxsc01_locals
	.comm	_PhonemeData,8,3                ## @PhonemeData
	.comm	_PT_VS,8,3                      ## @PT_VS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Votrax_Update                  ; -- Begin function Votrax_Update
	.p2align	2
_Votrax_Update:                         ; @Votrax_Update
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	w2, LBB0_17
; %bb.1:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _votraxsc01_locals@GOTPAGE
Lloh1:
	ldr	x21, [x21, _votraxsc01_locals@GOTPAGEOFF]
Lloh2:
	adrp	x22, _PhonemeData@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PhonemeData@GOTPAGEOFF]
	mov	w23, #24
Lloh4:
	adrp	x24, _PT_VS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PT_VS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w8
	csel	w25, w19, w8, lt
	lsl	w2, w25, #2
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	add	x20, x20, w25, sxtw #2
	ldr	w8, [x21, #4]
	sub	w8, w8, w25
	str	w8, [x21, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	w19, w19, w25
	b.eq	LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w8
	csel	w25, w19, w8, lt
	ldr	w1, [x21, #28]
	lsl	w2, w25, #2
	mov	x0, x20
	bl	_memcpy
	add	x20, x20, w25, sxtw #2
	ldr	w8, [x21, #28]
	add	w8, w8, w25
	str	w8, [x21, #28]
	ldr	w8, [x21, #8]
	sub	w8, w8, w25
	str	w8, [x21, #8]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x21, #32]
	ldr	x8, [x21, #40]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	blr	x8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x21, #24]
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x21, #16]
	mul	x10, x9, x23
	ldr	x10, [x8, x10]
	ldr	x11, [x24]
	cmp	x10, x11
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x9, x23, x8
	ldrsw	x9, [x21]
	lsl	x9, x9, #2
	ldp	x10, x8, [x8, #8]
	ldr	w1, [x10, x9]
	str	w1, [x21, #24]
	ldr	w8, [x8, x9]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8, #1520]
	ldr	w1, [x9]
	str	w1, [x21, #24]
	ldr	x8, [x8, #1528]
	ldr	w8, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w8, [x21, #12]
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w8
	csel	w25, w19, w8, lt
	lsl	w2, w25, #2
	mov	x0, x20
	bl	_memcpy
	add	x20, x20, w25, sxtw #2
	ldr	w8, [x21, #24]
	add	w8, w8, w25
	str	w8, [x21, #24]
	ldr	w8, [x21, #12]
	sub	w8, w8, w25
	str	w8, [x21, #12]
	b	LBB0_3
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_votraxsc01_locals,48,3         ; @votraxsc01_locals
	.comm	_PhonemeData,8,3                ; @PhonemeData
	.comm	_PT_VS,8,3                      ; @PT_VS
.subsections_via_symbols
