	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotFinishTravel_FuncBobbing
LCPI0_0:
	.long	0x41800000                      ## float 16
LCPI0_1:
	.long	0x40a00000                      ## float 5
LCPI0_2:
	.long	0x42c80000                      ## float 100
LCPI0_3:
	.long	0xc0800000                      ## float -4
LCPI0_4:
	.long	0x43c80000                      ## float 400
LCPI0_5:
	.long	0x42700000                      ## float 60
LCPI0_6:
	.long	0xc0c00000                      ## float -6
LCPI0_7:
	.long	0x43b40000                      ## float 360
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotFinishTravel_FuncBobbing
	.p2align	4, 0x90
_BotFinishTravel_FuncBobbing:           ## @BotFinishTravel_FuncBobbing
	.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, %rbx
	movq	%rdi, %r14
	leaq	-24(%rbp), %rdi
	callq	_BotClearMoveResult
	movq	%rbx, %rdi
	callq	_BotFuncBobStartEnd
	callq	_VectorSubtract
	callq	_VectorLength
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_5
## %bb.1:
	movq	(%rbx), %rdi
	movq	8(%r14), %rsi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm0, %xmm1
	mulss	LCPI0_6(%rip), %xmm1
	movss	LCPI0_7(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	subss	%xmm1, %xmm0
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_3
## %bb.2:
	movl	4(%r14), %edi
	callq	_EA_Move
LBB0_3:
	movl	-24(%rbp), %esi
	callq	_VectorCopy
	movq	_MFL_SWIMMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.4:
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -20(%rbp)
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_MoverBottomCenter
	movq	8(%r14), %rsi
	callq	_VectorSubtract
	callq	_VectorNormalize
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_7
## %bb.6:
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm0, %xmm1
	mulss	LCPI0_3(%rip), %xmm1
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	subss	%xmm1, %xmm0
	movl	4(%r14), %edi
	callq	_EA_Move
	movl	-24(%rbp), %esi
	callq	_VectorCopy
LBB0_7:
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MFL_SWIMMING,4,2               ## @MFL_SWIMMING
	.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	_BotFinishTravel_FuncBobbing    ; -- Begin function BotFinishTravel_FuncBobbing
	.p2align	2
_BotFinishTravel_FuncBobbing:           ; @BotFinishTravel_FuncBobbing
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	bl	_BotClearMoveResult
	mov	x0, x20
	bl	_BotFuncBobStartEnd
	bl	_VectorSubtract
	bl	_VectorLength
	fmov	s1, #16.00000000
	fcmp	s0, s1
	b.pl	LBB0_5
; %bb.1:
	ldr	x0, [x20]
	ldr	x1, [x19, #8]
	bl	_VectorSubtract
	bl	_VectorNormalize
	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	s0, s1, s0
	fmov	s1, #5.00000000
	fcmp	s0, s1
	b.le	LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_EA_Move
LBB0_3:
	ldr	w1, [sp, #8]
	bl	_VectorCopy
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MFL_SWIMMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MFL_SWIMMING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_MoverBottomCenter
	ldr	x1, [x19, #8]
	bl	_VectorSubtract
	bl	_VectorNormalize
	fmov	s1, #5.00000000
	fcmp	s0, s1
	b.le	LBB0_7
; %bb.6:
	mov	w8, #1120403456
	fmov	s1, w8
	fmin	s0, s0, s1
	mov	w8, #1137180672
	fmov	s1, w8
	fmov	s2, #-4.00000000
	fmadd	s0, s0, s2, s1
	fsub	s0, s1, s0
	ldr	w0, [x19, #4]
	bl	_EA_Move
	ldr	w1, [sp, #8]
	bl	_VectorCopy
LBB0_7:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MFL_SWIMMING,4,2               ; @MFL_SWIMMING
	.comm	_MOVERESULT_SWIMVIEW,4,2        ; @MOVERESULT_SWIMVIEW
.subsections_via_symbols
