	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_CalcDeformVertexes          ## -- Begin function RB_CalcDeformVertexes
	.p2align	4, 0x90
_RB_CalcDeformVertexes:                 ## @RB_CalcDeformVertexes
	.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, %r14
	movq	_tess@GOTPCREL(%rip), %r15
	movq	8(%r15), %r13
	movq	16(%r15), %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.4:
	movl	32(%r14), %edi
	callq	_TableForFunc
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%r12d, %r12d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	addss	4(%rbx), %xmm0
	addss	8(%rbx), %xmm0
	mulss	(%r14), %xmm0
	movl	28(%r14), %esi
	movl	24(%r14), %edx
	xorps	%xmm1, %xmm1
	cvtsi2ssq	16(%r14), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %rcx
	movq	8(%r14), %r8
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_WAVEVALUE
	movq	%r13, %rdi
	callq	_VectorScale
	movq	%r14, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	movss	%xmm0, (%rbx)
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, 4(%rbx)
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, 8(%rbx)
	incl	%r12d
	addq	$16, %r13
	addq	$16, %rbx
	cmpl	(%r15), %r12d
	jl	LBB0_6
	jmp	LBB0_7
LBB0_1:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_EvalWaveForm
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.2:
	xorl	%r14d, %r14d
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_VectorScale
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	movss	%xmm0, (%rbx)
	movss	4(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, 4(%rbx)
	movss	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, 8(%rbx)
	incl	%r14d
	addq	$16, %r13
	addq	$16, %rbx
	cmpl	(%r15), %r14d
	jl	LBB0_3
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tess,24,3                      ## @tess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RB_CalcDeformVertexes          ; -- Begin function RB_CalcDeformVertexes
	.p2align	2
_RB_CalcDeformVertexes:                 ; @RB_CalcDeformVertexes
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	mov	x20, x0
Lloh0:
	adrp	x22, _tess@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tess@GOTPAGEOFF]
	ldp	x19, x23, [x22, #8]
	ldr	x8, [x0, #8]!
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w0, [x20, #32]
	bl	_TableForFunc
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x0
	mov	w24, #0
	movi	d8, #0000000000000000
	movi	d9, #0000000000000000
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	s0, s1, [x23]
	fadd	s0, s0, s1
	ldr	s1, [x23, #8]
	fadd	s0, s0, s1
	ldr	s1, [x20]
	fmul	s0, s0, s1
	ldp	w2, w1, [x20, #24]
	ldp	x4, x8, [x20, #8]
	scvtf	s1, x8
	fadd	s0, s0, s1
	fcvtzs	x3, s0
	mov	x0, x21
	bl	_WAVEVALUE
	mov	x0, x19
	bl	_VectorScale
	ldr	d0, [x23]
	fadd.2s	v0, v0, v8
	str	d0, [x23]
	ldr	s0, [x23, #8]
	fadd	s0, s0, s9
	str	s0, [x23, #8]
	add	w24, w24, #1
	add	x19, x19, #16
	ldr	w8, [x22]
	add	x23, x23, #16
	cmp	w24, w8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_4:
	bl	_EvalWaveForm
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	fmov	s8, s0
	mov	w20, #0
	movi	d9, #0000000000000000
	movi	d10, #0000000000000000
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	fmov	s0, s8
	bl	_VectorScale
	ldr	d0, [x23]
	fadd.2s	v0, v0, v9
	str	d0, [x23]
	ldr	s0, [x23, #8]
	fadd	s0, s0, s10
	str	s0, [x23, #8]
	add	w20, w20, #1
	add	x19, x19, #16
	ldr	w8, [x22]
	add	x23, x23, #16
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tess,24,3                      ; @tess
.subsections_via_symbols
