	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotSetupForMovement
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotSetupForMovement
	.p2align	4, 0x90
_BotSetupForMovement:                   ## @BotSetupForMovement
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	52(%rbx), %edi
	movl	-12(%rbp), %esi
	callq	_VectorCopy
	movl	48(%rbx), %edi
	movl	-16(%rbp), %esi
	callq	_VectorCopy
	movq	-24(%rbp), %rdi
	callq	_VectorClear
	movl	40(%rbx), %eax
	movq	-24(%rbp), %rcx
	addl	%eax, 8(%rcx)
	movl	64(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	60(%rbx), %eax
	movl	%eax, -32(%rbp)
	movl	56(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	16(%rbx), %rax
	movq	_ENTITYNUM_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_MFL_ONGROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
LBB0_2:
	movl	24(%rbx), %eax
	movq	_PMF_TIME_KNOCKBACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	cmpq	$0, 32(%rbx)
	jle	LBB0_5
## %bb.4:
	movq	_MFL_TELEPORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, -44(%rbp)
LBB0_5:
	movq	_PMF_TIME_WATERJUMP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	cmpq	$0, 32(%rbx)
	jle	LBB0_8
## %bb.7:
	movq	_MFL_WATERJUMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, -44(%rbp)
LBB0_8:
	movq	_PMF_DUCKED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_9
## %bb.10:
	movq	_PRESENCE_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_PRESENCE_CROUCH@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	jbe	LBB0_13
## %bb.12:
	movq	_MFL_WALK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
LBB0_13:
	movl	12(%rbx), %edi
	movl	-48(%rbp), %esi
	callq	_VectorCopy
	movl	8(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_trap_BotInitMoveState
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENTITYNUM_NONE,8,3             ## @ENTITYNUM_NONE
	.comm	_MFL_ONGROUND,4,2               ## @MFL_ONGROUND
	.comm	_PMF_TIME_KNOCKBACK,4,2         ## @PMF_TIME_KNOCKBACK
	.comm	_MFL_TELEPORTED,4,2             ## @MFL_TELEPORTED
	.comm	_PMF_TIME_WATERJUMP,4,2         ## @PMF_TIME_WATERJUMP
	.comm	_MFL_WATERJUMP,4,2              ## @MFL_WATERJUMP
	.comm	_PMF_DUCKED,4,2                 ## @PMF_DUCKED
	.comm	_PRESENCE_CROUCH,4,2            ## @PRESENCE_CROUCH
	.comm	_PRESENCE_NORMAL,4,2            ## @PRESENCE_NORMAL
	.comm	_MFL_WALK,4,2                   ## @MFL_WALK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotSetupForMovement            ; -- Begin function BotSetupForMovement
	.p2align	2
_BotSetupForMovement:                   ; @BotSetupForMovement
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w0, [x19, #52]
	ldr	w1, [sp, #44]
	bl	_VectorCopy
	ldr	w0, [x19, #48]
	ldr	w1, [sp, #40]
	bl	_VectorCopy
	ldr	x0, [sp, #32]
	bl	_VectorClear
	ldr	w8, [x19, #40]
	ldr	x9, [sp, #32]
	ldr	w10, [x9, #8]
	add	w8, w10, w8
	str	w8, [x9, #8]
	ldr	w8, [x19, #64]
	str	w8, [sp, #28]
	ldr	d0, [x19, #56]
	stur	d0, [sp, #20]
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _ENTITYNUM_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENTITYNUM_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MFL_ONGROUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MFL_ONGROUND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_2:
	ldr	w8, [x19, #24]
Lloh6:
	adrp	x9, _PMF_TIME_KNOCKBACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PMF_TIME_KNOCKBACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x9, [x19, #32]
	cmp	x9, #1
	b.lt	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, _MFL_TELEPORTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MFL_TELEPORTED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]
	orr	w9, w10, w9
	str	w9, [sp, #12]
LBB0_5:
Lloh12:
	adrp	x9, _PMF_TIME_WATERJUMP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PMF_TIME_WATERJUMP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	x9, [x19, #32]
	cmp	x9, #1
	b.lt	LBB0_8
; %bb.7:
Lloh15:
	adrp	x9, _MFL_WATERJUMP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MFL_WATERJUMP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]
	orr	w9, w10, w9
	str	w9, [sp, #12]
LBB0_8:
Lloh18:
	adrp	x9, _PMF_DUCKED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PMF_DUCKED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _PRESENCE_NORMAL@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PRESENCE_NORMAL@GOTPAGEOFF]
Lloh23:
	adrp	x11, _PRESENCE_CROUCH@GOTPAGE
Lloh24:
	ldr	x11, [x11, _PRESENCE_CROUCH@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	d0, [x19]
	fmov	d1, #0.50000000
	fcmp	d0, d1
	b.le	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _MFL_WALK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MFL_WALK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_10:
	ldr	w0, [x19, #12]
	ldr	w1, [sp, #8]
	bl	_VectorCopy
	ldr	w0, [x19, #8]
	add	x1, sp, #8
	bl	_trap_BotInitMoveState
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ENTITYNUM_NONE,8,3             ; @ENTITYNUM_NONE
	.comm	_MFL_ONGROUND,4,2               ; @MFL_ONGROUND
	.comm	_PMF_TIME_KNOCKBACK,4,2         ; @PMF_TIME_KNOCKBACK
	.comm	_MFL_TELEPORTED,4,2             ; @MFL_TELEPORTED
	.comm	_PMF_TIME_WATERJUMP,4,2         ; @PMF_TIME_WATERJUMP
	.comm	_MFL_WATERJUMP,4,2              ; @MFL_WATERJUMP
	.comm	_PMF_DUCKED,4,2                 ; @PMF_DUCKED
	.comm	_PRESENCE_CROUCH,4,2            ; @PRESENCE_CROUCH
	.comm	_PRESENCE_NORMAL,4,2            ; @PRESENCE_NORMAL
	.comm	_MFL_WALK,4,2                   ; @MFL_WALK
.subsections_via_symbols
