	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AdjustPositionForMover      ## -- Begin function CG_AdjustPositionForMover
	.p2align	4, 0x90
_CG_AdjustPositionForMover:             ## @CG_AdjustPositionForMover
	.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
	movl	%r8d, %r14d
	movl	%edi, %r13d
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movq	_ENTITYNUM_MAX_NORMAL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_4
## %bb.2:
	movl	%edx, %r12d
	movq	_cg_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%esi, %r15d
	shlq	$4, %r15
	movq	(%rbx,%r15), %rax
	movq	_ET_MOVER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.3:
	leaq	(%rbx,%r15), %rdi
	addq	$12, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	callq	_BG_EvaluateTrajectory
	addq	%rbx, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_BG_EvaluateTrajectory
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_BG_EvaluateTrajectory
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_BG_EvaluateTrajectory
	callq	_VectorSubtract
	callq	_VectorSubtract
	movl	%r13d, %edi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VectorAdd                      ## TAILCALL
LBB0_4:
	movl	%r13d, %edi
	movl	%r14d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VectorCopy                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTITYNUM_MAX_NORMAL,4,2       ## @ENTITYNUM_MAX_NORMAL
	.comm	_cg_entities,8,3                ## @cg_entities
	.comm	_ET_MOVER,8,3                   ## @ET_MOVER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AdjustPositionForMover      ; -- Begin function CG_AdjustPositionForMover
	.p2align	2
_CG_AdjustPositionForMover:             ; @CG_AdjustPositionForMover
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x0
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ENTITYNUM_MAX_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENTITYNUM_MAX_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _cg_entities@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cg_entities@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	w9, w1
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
Lloh6:
	adrp	x11, _ET_MOVER@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ET_MOVER@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
	mov	x21, x3
	mov	x22, x2
	add	x24, x8, x9, lsl #4
	add	x23, x24, #12
	mov	x0, x23
	mov	x1, x2
	bl	_BG_EvaluateTrajectory
	add	x24, x24, #8
	mov	x0, x24
	mov	x1, x22
	bl	_BG_EvaluateTrajectory
	mov	x0, x23
	mov	x1, x21
	bl	_BG_EvaluateTrajectory
	mov	x0, x24
	mov	x1, x21
	bl	_BG_EvaluateTrajectory
	bl	_VectorSubtract
	bl	_VectorSubtract
	mov	x0, x20
	mov	x2, x19
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_VectorAdd
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_VectorCopy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTITYNUM_MAX_NORMAL,4,2       ; @ENTITYNUM_MAX_NORMAL
	.comm	_cg_entities,8,3                ; @cg_entities
	.comm	_ET_MOVER,8,3                   ; @ET_MOVER
.subsections_via_symbols
