	.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_Teleport
LCPI0_0:
	.long	0x41f00000                      ## float 30
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotTravel_Teleport
	.p2align	4, 0x90
_BotTravel_Teleport:                    ## @BotTravel_Teleport
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdi
	callq	_BotClearMoveResult
	movq	_MFL_TELEPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.1:
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_BotCheckBlocked
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-28(%rbp), %xmm0                ## 4-byte Folded Reload
	movl	4(%rbx), %edi
	movl	$200, %eax
	movl	$400, %edx                      ## imm = 0x190
	cmoval	%eax, %edx
	callq	_EA_Move
	movq	_MFL_SWIMMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -20(%rbp)
LBB0_3:
	movl	-24(%rbp), %esi
	callq	_VectorCopy
LBB0_4:
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MFL_TELEPORTED,4,2             ## @MFL_TELEPORTED
	.comm	_MFL_SWIMMING,4,2               ## @MFL_SWIMMING
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_MOVERESULT_SWIMVIEW,4,2        ## @MOVERESULT_SWIMVIEW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotTravel_Teleport             ; -- Begin function BotTravel_Teleport
	.p2align	2
_BotTravel_Teleport:                    ; @BotTravel_Teleport
	.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	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_BotClearMoveResult
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MFL_TELEPORTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MFL_TELEPORTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
	bl	_VectorSubtract
	bl	_VectorNormalize
	fmov	s8, s0
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_BotCheckBlocked
	ldr	w0, [x19, #4]
	fmov	s0, #30.00000000
	fcmp	s8, s0
	mov	w8, #400
	mov	w9, #200
	csel	w2, w9, w8, mi
	bl	_EA_Move
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _MFL_SWIMMING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MFL_SWIMMING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_3:
	ldr	w1, [sp, #8]
	bl	_VectorCopy
LBB0_4:
	ldr	x0, [sp, #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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MFL_TELEPORTED,4,2             ; @MFL_TELEPORTED
	.comm	_MFL_SWIMMING,4,2               ; @MFL_SWIMMING
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_MOVERESULT_SWIMVIEW,4,2        ; @MOVERESULT_SWIMVIEW
.subsections_via_symbols
