	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotTravel_Elevator
LCPI0_0:
	.long	0x42800000                      ## float 64
LCPI0_1:
	.long	0x41a00000                      ## float 20
LCPI0_2:
	.long	0x42700000                      ## float 60
LCPI0_3:
	.long	0xc0c00000                      ## float -6
LCPI0_4:
	.long	0x43c80000                      ## float 400
LCPI0_5:
	.long	0x43b40000                      ## float 360
LCPI0_6:
	.long	0x40a00000                      ## float 5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotTravel_Elevator
	.p2align	4, 0x90
_BotTravel_Elevator:                    ## @BotTravel_Elevator
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_BotClearMoveResult
	movq	8(%r15), %rdi
	movl	24(%r15), %esi
	movq	%rbx, %rdx
	callq	_BotOnMover
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movq	8(%rbx), %rdi
	movq	8(%r15), %rsi
	callq	_VectorSubtract
	callq	_VectorLength
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_11
## %bb.4:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm0, %xmm1
	mulss	LCPI0_3(%rip), %xmm1
	movss	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	subss	%xmm1, %xmm0
	movq	_MFL_SWIMMING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	$50, %edx
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	callq	_BotCheckBarrierJump
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	testl	%eax, %eax
	jne	LBB0_8
LBB0_6:
	ucomiss	LCPI0_6(%rip), %xmm0
	jbe	LBB0_8
## %bb.7:
	movl	4(%r15), %edi
	callq	_EA_Move
LBB0_8:
	movq	8(%r14), %rsi
	callq	_VectorCopy
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	je	LBB0_10
## %bb.9:
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_10:
	movq	$0, 16(%r15)
	jmp	LBB0_28
LBB0_11:
	movq	(%rbx), %rdi
	movq	8(%r15), %rsi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_MoverDown
	testl	%eax, %eax
	je	LBB0_12
## %bb.19:
	movq	%rbx, %rdi
	callq	_MoverBottomCenter
	movq	8(%r15), %rsi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
	ja	LBB0_23
## %bb.20:
	movaps	%xmm2, %xmm1
	ucomiss	%xmm0, %xmm2
	ja	LBB0_23
## %bb.21:
	callq	_DotProduct
	testq	%rax, %rax
	js	LBB0_23
## %bb.22:
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -32(%rbp)                ## 4-byte Spill
LBB0_23:
	callq	_VectorCopy
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_BotCheckBlocked
	movq	_MFL_SWIMMING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	jne	LBB0_26
## %bb.24:
	movq	%r15, %rdi
	movl	$50, %edx
	callq	_BotCheckBarrierJump
	testl	%eax, %eax
	jne	LBB0_26
## %bb.25:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	-32(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	LCPI0_3(%rip), %xmm1
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	subss	%xmm1, %xmm0
	movl	4(%r15), %edi
	callq	_EA_Move
LBB0_26:
	movq	8(%r14), %rsi
	callq	_VectorCopy
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	je	LBB0_28
## %bb.27:
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_28
LBB0_12:
	callq	_VectorCopy
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_BotCheckBlocked
	movq	_MFL_SWIMMING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r15)
	jne	LBB0_16
## %bb.13:
	movq	%r15, %rdi
	movl	$50, %edx
	callq	_BotCheckBarrierJump
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	-28(%rbp), %xmm1                ## 4-byte Folded Reload
	mulss	LCPI0_3(%rip), %xmm1
	movss	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	subss	%xmm1, %xmm0
	ucomiss	LCPI0_6(%rip), %xmm0
	jbe	LBB0_16
## %bb.15:
	movl	4(%r15), %edi
	callq	_EA_Move
LBB0_16:
	movq	8(%r14), %rsi
	callq	_VectorCopy
	movl	(%rbx), %eax
	andl	(%r15), %eax
	je	LBB0_18
## %bb.17:
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	orl	(%r14), %eax
	movq	_RESULTTYPE_ELEVATORUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r14)
	movq	_MOVERESULT_WAITING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	jmp	LBB0_28
LBB0_1:
	movq	8(%r15), %rsi
	movq	16(%rsi), %rax
	movq	8(%rbx), %rdi
	subq	16(%rdi), %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	movq	_sv_maxbarrier@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rax), %rcx
	jl	LBB0_29
## %bb.2:
	addq	$8, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_BotTravel_Elevator.cold.1
LBB0_28:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	_VectorSubtract
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function BotTravel_Elevator.cold.1
_BotTravel_Elevator.cold.1:             ## @BotTravel_Elevator.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_MoverBottomCenter
	movq	(%rbx), %rsi
	callq	_VectorSubtract
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_sv_maxbarrier,8,3              ## @sv_maxbarrier
	.comm	_MFL_SWIMMING,4,2               ## @MFL_SWIMMING
	.comm	_MOVERESULT_SWIMVIEW,4,2        ## @MOVERESULT_SWIMVIEW
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_RESULTTYPE_ELEVATORUP,4,2      ## @RESULTTYPE_ELEVATORUP
	.comm	_MOVERESULT_WAITING,4,2         ## @MOVERESULT_WAITING
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.comm	_botimport,8,3                  ## @botimport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotTravel_Elevator             ; -- Begin function BotTravel_Elevator
	.p2align	2
_BotTravel_Elevator:                    ; @BotTravel_Elevator
	.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	x21, x1
	mov	x20, x0
	mov	x19, x8
	mov	x0, x8
	bl	_BotClearMoveResult
	mov	x22, x20
	ldr	x0, [x22, #8]!
	ldr	w1, [x22, #16]
	mov	x2, x21
	bl	_BotOnMover
	cbnz	x0, LBB0_25
; %bb.1:
	ldr	x0, [x21, #8]
	ldr	x1, [x20, #8]
	bl	_VectorSubtract
	bl	_VectorLength
	mov	w8, #1115684864
	fmov	s1, w8
	fcmp	s0, s1
	b.pl	LBB0_9
; %bb.2:
	mov	w8, #1114636288
	fmov	s1, w8
	fmin	s0, s0, s1
	mov	w8, #1135869952
	fmov	s1, w8
	fmov	s2, #-6.00000000
	fmadd	s0, s0, s2, s1
	fsub	s8, s1, s0
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _MFL_SWIMMING@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MFL_SWIMMING@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w2, #50
	bl	_BotCheckBarrierJump
	cbnz	w0, LBB0_6
LBB0_4:
	fmov	s0, #5.00000000
	fcmp	s8, s0
	b.le	LBB0_6
; %bb.5:
	ldr	w0, [x20, #4]
	fmov	s0, s8
	bl	_EA_Move
LBB0_6:
	ldr	x1, [x19, #8]
	bl	_VectorCopy
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	str	xzr, [x20, #16]
	b	LBB0_24
LBB0_9:
	ldr	x0, [x21]
	ldr	x1, [x20, #8]
	bl	_VectorSubtract
	bl	_VectorNormalize
	fmov	s8, s0
	mov	x0, x21
	bl	_MoverDown
	cbz	w0, LBB0_18
; %bb.10:
	mov	x0, x21
	bl	_MoverBottomCenter
	ldr	x1, [x20, #8]
	bl	_VectorSubtract
	bl	_VectorNormalize
	fmov	s9, s0
	fmov	s0, #20.00000000
	fcmp	s8, s0
	b.mi	LBB0_13
; %bb.11:
	fcmp	s9, s8
	b.mi	LBB0_13
; %bb.12:
	bl	_DotProduct
	cmp	x0, #0
	fcsel	s9, s9, s8, lt
LBB0_13:
	bl	_VectorCopy
Lloh5:
	adrp	x8, _qfalse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_BotCheckBlocked
	ldr	w8, [x20]
Lloh8:
	adrp	x21, _MFL_SWIMMING@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MFL_SWIMMING@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x20
	mov	w2, #50
	bl	_BotCheckBarrierJump
	cbnz	w0, LBB0_16
; %bb.15:
	mov	w8, #1114636288
	fmov	s0, w8
	fmin	s0, s9, s0
	mov	w8, #1137180672
	fmov	s1, w8
	fmov	s2, #-6.00000000
	fmadd	s0, s0, s2, s1
	fsub	s0, s1, s0
	ldr	w0, [x20, #4]
	bl	_EA_Move
LBB0_16:
	ldr	x1, [x19, #8]
	bl	_VectorCopy
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.17:
Lloh10:
	adrp	x8, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_23
LBB0_18:
	bl	_VectorCopy
Lloh13:
	adrp	x8, _qfalse@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_BotCheckBlocked
	ldr	w8, [x20]
Lloh16:
	adrp	x21, _MFL_SWIMMING@GOTPAGE
Lloh17:
	ldr	x21, [x21, _MFL_SWIMMING@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.19:
	mov	x0, x20
	mov	w2, #50
	bl	_BotCheckBarrierJump
	cbnz	w0, LBB0_22
; %bb.20:
	mov	w8, #1114636288
	fmov	s0, w8
	fmin	s0, s8, s0
	mov	w8, #1135869952
	fmov	s1, w8
	fmov	s2, #-6.00000000
	fmadd	s0, s0, s2, s1
	fsub	s0, s1, s0
	fmov	s1, #5.00000000
	fcmp	s0, s1
	b.le	LBB0_22
; %bb.21:
	ldr	w0, [x20, #4]
	bl	_EA_Move
LBB0_22:
	ldr	x1, [x19, #8]
	bl	_VectorCopy
	ldr	w8, [x20]
	ldr	w9, [x21]
	ldr	w10, [x19]
Lloh18:
	adrp	x11, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh19:
	ldr	x11, [x11, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w9, w8
	csel	w8, wzr, w11, eq
	orr	w8, w10, w8
Lloh21:
	adrp	x9, _RESULTTYPE_ELEVATORUP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RESULTTYPE_ELEVATORUP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh24:
	adrp	x9, _MOVERESULT_WAITING@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MOVERESULT_WAITING@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_23:
	str	w8, [x19]
LBB0_24:
	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
LBB0_25:
	ldr	x1, [x20, #8]
	ldr	x8, [x1, #16]
	ldr	x0, [x21, #8]
	ldr	x9, [x0, #16]
	subs	x8, x8, x9
	cneg	x8, x8, mi
Lloh27:
	adrp	x9, _sv_maxbarrier@GOTPAGE
Lloh28:
	ldr	x9, [x9, _sv_maxbarrier@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_27
; %bb.26:
	mov	x0, x21
	mov	x1, x22
	bl	_BotTravel_Elevator.cold.1
LBB0_27:
	bl	_VectorSubtract
	brk	#0x1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function BotTravel_Elevator.cold.1
_BotTravel_Elevator.cold.1:             ; @BotTravel_Elevator.cold.1
	.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, x1
	bl	_MoverBottomCenter
	ldr	x1, [x19]
	bl	_VectorSubtract
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_sv_maxbarrier,8,3              ; @sv_maxbarrier
	.comm	_MFL_SWIMMING,4,2               ; @MFL_SWIMMING
	.comm	_MOVERESULT_SWIMVIEW,4,2        ; @MOVERESULT_SWIMVIEW
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_RESULTTYPE_ELEVATORUP,4,2      ; @RESULTTYPE_ELEVATORUP
	.comm	_MOVERESULT_WAITING,4,2         ; @MOVERESULT_WAITING
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.comm	_botimport,8,3                  ; @botimport
.subsections_via_symbols
