	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function InitMover
LCPI0_0:
	.long	0x447a0000                      ## float 1000
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_InitMover
	.p2align	4, 0x90
_InitMover:                             ## @InitMover
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	64(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_G_ModelIndex
	movl	%eax, 32(%rbx)
LBB0_2:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_G_SpawnString
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-24(%rbp), %rdi
	callq	_G_SoundIndex
	movl	%eax, 28(%rbx)
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-28(%rbp), %rdx
	callq	_G_SpawnFloat
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_G_SpawnVector
	orq	%r14, %rax
	je	LBB0_6
## %bb.5:
	movl	$-1, 4(%rbx)
LBB0_6:
	movq	_Use_BinaryMover@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_Reached_BinaryMover@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_MOVER_POS1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_SVF_USE_CURRENT_ORIGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_ET_MOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	36(%rbx), %edi
	movl	44(%rbx), %esi
	callq	_VectorCopy
	movq	%rbx, %rdi
	callq	_trap_LinkEntity
	movq	_TR_STATIONARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	16(%rbx), %esi
	movl	36(%rbx), %edi
	callq	_VectorCopy
	movl	36(%rbx), %esi
	movl	40(%rbx), %edi
	callq	_VectorSubtract
	callq	_VectorLength
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movl	(%rbx), %esi
	testl	%esi, %esi
	jne	LBB0_8
## %bb.7:
	movl	$100, (%rbx)
	movl	$100, %esi
LBB0_8:
	movl	12(%rbx), %edx
	callq	_VectorScale
	movaps	-48(%rbp), %xmm2                ## 16-byte Reload
	mulss	LCPI0_0(%rip), %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%rbx), %xmm0
	divss	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	movaps	%xmm2, %xmm1
	cmpnless	%xmm0, %xmm1
	andps	%xmm1, %xmm2
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	andnps	%xmm0, %xmm1
	orps	%xmm2, %xmm1
	movss	%xmm1, 8(%rbx)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"noise"

L_.str.1:                               ## @.str.1
	.asciz	"100"

L_.str.2:                               ## @.str.2
	.asciz	"light"

L_.str.3:                               ## @.str.3
	.asciz	"color"

L_.str.4:                               ## @.str.4
	.asciz	"1 1 1"

	.comm	_Use_BinaryMover,4,2            ## @Use_BinaryMover
	.comm	_Reached_BinaryMover,4,2        ## @Reached_BinaryMover
	.comm	_MOVER_POS1,4,2                 ## @MOVER_POS1
	.comm	_SVF_USE_CURRENT_ORIGIN,4,2     ## @SVF_USE_CURRENT_ORIGIN
	.comm	_ET_MOVER,4,2                   ## @ET_MOVER
	.comm	_TR_STATIONARY,4,2              ## @TR_STATIONARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitMover                      ; -- Begin function InitMover
	.p2align	2
_InitMover:                             ; @InitMover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	x0, [x0, #64]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_G_ModelIndex
	str	w0, [x19, #32]
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	bl	_G_SpawnString
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp]
	bl	_G_SoundIndex
	str	w0, [x19, #28]
LBB0_4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_G_SpawnFloat
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_G_SpawnVector
	orr	x8, x20, x0
	cbz	x8, LBB0_6
; %bb.5:
	mov	w8, #-1
	str	w8, [x19, #4]
LBB0_6:
Lloh12:
	adrp	x8, _Use_BinaryMover@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Use_BinaryMover@GOTPAGEOFF]
Lloh14:
	adrp	x9, _Reached_BinaryMover@GOTPAGE
Lloh15:
	ldr	x9, [x9, _Reached_BinaryMover@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
Lloh18:
	adrp	x8, _MOVER_POS1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MOVER_POS1@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _SVF_USE_CURRENT_ORIGIN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SVF_USE_CURRENT_ORIGIN@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh24:
	adrp	x8, _ET_MOVER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ET_MOVER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w0, [x19, #36]
	ldr	w1, [x19, #44]
	bl	_VectorCopy
	mov	x0, x19
	bl	_trap_LinkEntity
Lloh27:
	adrp	x8, _TR_STATIONARY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TR_STATIONARY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	ldr	w0, [x19, #36]
	ldr	w1, [x19, #16]
	bl	_VectorCopy
	ldp	w1, w0, [x19, #36]
	bl	_VectorSubtract
	bl	_VectorLength
	fmov	s8, s0
	ldr	w1, [x19]
	cbnz	w1, LBB0_8
; %bb.7:
	mov	w1, #100
	str	w1, [x19]
LBB0_8:
	ldr	w2, [x19, #12]
	bl	_VectorScale
	mov	w8, #1148846080
	fmov	s0, w8
	fmul	s0, s8, s0
	ldr	s1, [x19]
	scvtf	s1, s1
	fdiv	s0, s0, s1
	fcmp	s0, #0.0
	fmov	s1, #1.00000000
	fcsel	s0, s0, s1, hi
	str	s0, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"noise"

l_.str.1:                               ; @.str.1
	.asciz	"100"

l_.str.2:                               ; @.str.2
	.asciz	"light"

l_.str.3:                               ; @.str.3
	.asciz	"color"

l_.str.4:                               ; @.str.4
	.asciz	"1 1 1"

	.comm	_Use_BinaryMover,4,2            ; @Use_BinaryMover
	.comm	_Reached_BinaryMover,4,2        ; @Reached_BinaryMover
	.comm	_MOVER_POS1,4,2                 ; @MOVER_POS1
	.comm	_SVF_USE_CURRENT_ORIGIN,4,2     ; @SVF_USE_CURRENT_ORIGIN
	.comm	_ET_MOVER,4,2                   ; @ET_MOVER
	.comm	_TR_STATIONARY,4,2              ; @TR_STATIONARY
.subsections_via_symbols
