	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_InterpolateEntityPosition
_CG_InterpolateEntityPosition:          ## @CG_InterpolateEntityPosition
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_cg@GOTPCREL(%rip), %r12
	cmpq	$0, 8(%r12)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_CG_Error
LBB0_2:
	movss	(%r12), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	leaq	24(%rbx), %r14
	leaq	28(%rbx), %rdi
	movq	16(%r12), %rax
	movl	(%rax), %esi
	callq	_BG_EvaluateTrajectory
	leaq	16(%rbx), %r15
	leaq	20(%rbx), %rdi
	movq	8(%r12), %rax
	movl	(%rax), %esi
	callq	_BG_EvaluateTrajectory
	movq	(%rbx), %rax
	movabsq	$9205357640488583168, %rcx      ## imm = 0x7FC000007FC00000
	movq	%rcx, (%rax)
	movl	$2143289344, 8(%rax)            ## imm = 0x7FC00000
	movq	16(%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BG_EvaluateTrajectory
	movq	8(%r12), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_BG_EvaluateTrajectory
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_LerpAngle
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_LerpAngle
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_LerpAngle
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,24,3                        ## @cg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CG_InterpoateEntityPosition: cg.nextSnap == NULL"

	.no_dead_strip	_CG_InterpolateEntityPosition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_InterpolateEntityPosition
_CG_InterpolateEntityPosition:          ; @CG_InterpolateEntityPosition
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _cg@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cg@GOTPAGEOFF]
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CG_Error
LBB0_2:
	ldr	s8, [x22]
	add	x20, x19, #24
	add	x0, x19, #28
	ldr	x8, [x22, #16]
	ldr	w1, [x8]
	bl	_BG_EvaluateTrajectory
	add	x21, x19, #16
	add	x0, x19, #20
	ldr	x8, [x22, #8]
	ldr	w1, [x8]
	bl	_BG_EvaluateTrajectory
	ldr	x8, [x19]
	mov	w9, #2143289344
	dup.2s	v0, w9
	str	d0, [x8]
	str	w9, [x8, #8]
	ldr	x8, [x22, #16]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_BG_EvaluateTrajectory
	ldr	x8, [x22, #8]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_BG_EvaluateTrajectory
	fmov	s2, s8
	bl	_LerpAngle
	ldr	x8, [x19, #8]
	str	x0, [x8]
	fmov	s2, s8
	bl	_LerpAngle
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	fmov	s2, s8
	bl	_LerpAngle
	ldr	x8, [x19, #8]
	str	x0, [x8, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,24,3                        ; @cg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CG_InterpoateEntityPosition: cg.nextSnap == NULL"

	.no_dead_strip	_CG_InterpolateEntityPosition
.subsections_via_symbols
