	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_result@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_bot_moveresult_t_cleared
	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
	movq	_result@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rcx
	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, 4(%r14)
LBB0_3:
	movl	(%r14), %esi
	callq	_VectorCopy
LBB0_4:
	movq	(%r15), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_result,8,2                     ## @result
	.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:
	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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _result@GOTPAGE
Lloh1:
	ldr	x21, [x21, _result@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_bot_moveresult_t_cleared
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _MFL_TELEPORTED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MFL_TELEPORTED@GOTPAGEOFF]
Lloh4:
	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
Lloh5:
	adrp	x8, _qtrue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x20, _result@GOTPAGE
Lloh9:
	ldr	x20, [x20, _result@GOTPAGEOFF]
	mov	x0, x19
	mov	x3, x20
	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]
Lloh10:
	adrp	x9, _MFL_SWIMMING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MFL_SWIMMING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh13:
	adrp	x8, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_3:
	ldr	w1, [x20]
	bl	_VectorCopy
LBB0_4:
	ldr	x0, [x21]
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_result,8,2                     ; @result
	.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
