	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function SetMoverState
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SetMoverState
	.p2align	4, 0x90
_SetMoverState:                         ## @SetMoverState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	leaq	8(%rdi), %r14
	movl	%edx, 8(%rdi)
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movl	36(%rbx), %esi
	movl	40(%rbx), %edi
	jmp	LBB0_3
LBB0_2:
	movl	36(%rbx), %esi
	movl	44(%rbx), %edi
LBB0_3:
	callq	_VectorCopy
	movq	_TR_STATIONARY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movl	36(%rbx), %esi
	movl	40(%rbx), %edi
	callq	_VectorCopy
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	jmp	LBB0_7
LBB0_5:
	movl	36(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_VectorCopy
	movl	40(%rbx), %edi
	movl	44(%rbx), %esi
LBB0_7:
	callq	_VectorSubtract
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	16(%rbx), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movl	32(%rbx), %esi
	callq	_VectorScale
	movq	_TR_LINEAR_STOP@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_9:
	movq	_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_BG_EvaluateTrajectory
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_LinkEntity                ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_TR_STATIONARY,8,3              ## @TR_STATIONARY
	.comm	_TR_LINEAR_STOP,8,3             ## @TR_LINEAR_STOP
	.comm	_level,4,2                      ## @level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetMoverState                  ; -- Begin function SetMoverState
	.p2align	2
_SetMoverState:                         ; @SetMoverState
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	w1, [x0]
	mov	x20, x0
	str	w2, [x20, #8]!
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x19, #40]
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19, #44]
LBB0_4:
	ldr	w1, [x19, #36]
	bl	_VectorCopy
Lloh2:
	adrp	x8, _TR_STATIONARY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TR_STATIONARY@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldp	w1, w0, [x19, #36]
	bl	_VectorCopy
	ldp	w1, w0, [x19, #40]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #44]
	ldr	w1, [x19, #36]
	bl	_VectorCopy
	ldp	w0, w1, [x19, #40]
LBB0_7:
	bl	_VectorSubtract
	ldr	d0, [x19, #16]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fdiv	d0, d1, d0
	fcvt	s0, d0
	ldr	w1, [x19, #32]
	bl	_VectorScale
Lloh4:
	adrp	x8, _TR_LINEAR_STOP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TR_LINEAR_STOP@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19, #24]
LBB0_9:
Lloh6:
	adrp	x8, _level@GOTPAGE
Lloh7:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_BG_EvaluateTrajectory
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_LinkEntity
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_TR_STATIONARY,8,3              ; @TR_STATIONARY
	.comm	_TR_LINEAR_STOP,8,3             ; @TR_LINEAR_STOP
	.comm	_level,4,2                      ; @level
.subsections_via_symbols
