	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotLongTermGoal
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotLongTermGoal
	.p2align	4, 0x90
_BotLongTermGoal:                       ## @BotLongTermGoal
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testl	%r13d, %r13d
	jne	LBB0_26
## %bb.1:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	jle	LBB0_26
## %bb.2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_FloatTime
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_4
## %bb.3:
	movl	44(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_EasyClientName
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	movl	36(%r15), %esi
	movl	40(%r15), %edi
	movq	_CHAT_TELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_BotEnterChat
	movq	$0, (%r15)
	movq	%r15, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	jmp	LBB0_27
LBB0_4:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %ebx
	testl	%ebx, %ebx
	jns	LBB0_7
## %bb.5:
	negl	%ebx
	xorl	%eax, %eax
	callq	_FloatTime
	cmpl	%ebx, %eax
	jle	LBB0_7
## %bb.6:
	movl	44(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_EasyClientName
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	movl	36(%r15), %esi
	movl	40(%r15), %edi
	movq	_CHAT_TELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_BotEnterChat
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 8(%r15)
LBB0_7:
	movl	44(%r15), %edi
	leaq	-96(%rbp), %rsi
	callq	_BotEntityInfo
	cmpq	$0, -88(%rbp)
	je	LBB0_11
## %bb.8:
	movl	-96(%rbp), %edi
	callq	_BotPointAreaNum
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_trap_AAS_AreaReachability
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	44(%r15), %eax
	movl	52(%r15), %esi
	movl	%eax, 64(%r15)
	movl	%r14d, 48(%r15)
	movl	-96(%rbp), %edi
	callq	_VectorCopy
	movl	60(%r15), %edi
	movl	$-8, %esi
	movl	$-8, %edx
	movl	$-8, %ecx
	callq	_VectorSet
	movl	56(%r15), %edi
	movl	$8, %esi
	movl	$8, %edx
	movl	$8, %ecx
	callq	_VectorSet
LBB0_11:
	movl	76(%r15), %edi
	movl	72(%r15), %esi
	movl	44(%r15), %r8d
	movl	68(%r15), %edx
	movl	$360, %ecx                      ## imm = 0x168
	callq	_BotEntityVisible
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, %r14d
	movl	%eax, 12(%r15)
	jmp	LBB0_14
LBB0_12:
	movl	12(%r15), %r14d
LBB0_14:
	xorl	%eax, %eax
	callq	_FloatTime
	decl	%eax
	cmpl	%eax, %r14d
	jge	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_FloatTime
	addl	$2, %eax
	movl	%eax, 16(%r15)
LBB0_16:
	movl	32(%r15), %edi
	movl	52(%r15), %esi
	callq	_VectorSubtract
	callq	_VectorLengthSquared
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movl	16(%r15), %ebx
	xorl	%eax, %eax
	callq	_FloatTime
	cmpl	%eax, %ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_22
## %bb.17:
	movl	8(%r15), %ebx
	xorl	%eax, %eax
	callq	_FloatTime
	addl	$-20, %eax
	cmpl	%eax, %ebx
	jge	LBB0_19
## %bb.18:
	movl	44(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_EasyClientName
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	movl	36(%r15), %esi
	movl	40(%r15), %edi
	movq	_CHAT_TELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_BotEnterChat
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 8(%r15)
LBB0_19:
	leaq	48(%r15), %r14
	movl	$100, %edi
	callq	_Square
	ucomiss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_21
## %bb.20:
	movl	$0, 16(%r15)
LBB0_21:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_22:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_Square
	movss	-52(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_26
## %bb.23:
	movl	8(%r15), %ebx
	xorl	%eax, %eax
	callq	_FloatTime
	addl	$-20, %eax
	cmpl	%eax, %ebx
	jge	LBB0_25
## %bb.24:
	movl	44(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_EasyClientName
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	movl	36(%r15), %esi
	movl	40(%r15), %edi
	movq	_CHAT_TELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_BotEnterChat
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 8(%r15)
LBB0_25:
	movl	-96(%rbp), %edi
	movl	32(%r15), %esi
	callq	_VectorSubtract
	movq	24(%r15), %rsi
	callq	_vectoangles
	movq	24(%r15), %rax
	movsd	16(%rax), %xmm0                 ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, 16(%rax)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_28
LBB0_26:
	movq	%r15, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
LBB0_27:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_BotGetLongTermGoal
LBB0_28:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lead_stop"

	.comm	_CHAT_TELL,4,2                  ## @CHAT_TELL
L_.str.1:                               ## @.str.1
	.asciz	"followme"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotLongTermGoal                ; -- Begin function BotLongTermGoal
	.p2align	2
_BotLongTermGoal:                       ; @BotLongTermGoal
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	sub	sp, sp, #32
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	cbnz	w2, LBB0_26
; %bb.1:
	ldr	x25, [x19]
	cmp	x25, #1
	b.lt	LBB0_26
; %bb.2:
	bl	_FloatTime
	cmp	x25, w0, sxtw
	b.ge	LBB0_4
; %bb.3:
	ldr	w0, [x19, #44]
	mov	x1, x23
	mov	x2, x22
	bl	_EasyClientName
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	ldp	w1, w0, [x19, #36]
Lloh10:
	adrp	x8, _CHAT_TELL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHAT_TELL@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
	str	xzr, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	b	LBB0_27
LBB0_4:
	ldr	w8, [x19, #8]
	tbz	w8, #31, LBB0_7
; %bb.5:
	neg	w25, w8
	bl	_FloatTime
	cmp	w0, w25
	b.le	LBB0_7
; %bb.6:
	ldr	w0, [x19, #44]
	mov	x1, x23
	mov	x2, x22
	bl	_EasyClientName
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	ldp	w1, w0, [x19, #36]
Lloh15:
	adrp	x8, _CHAT_TELL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CHAT_TELL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
	bl	_FloatTime
	str	w0, [x19, #8]
LBB0_7:
	ldr	w0, [x19, #44]
	sub	x1, x29, #104
	bl	_BotEntityInfo
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_11
; %bb.8:
	ldur	w0, [x29, #-104]
	bl	_BotPointAreaNum
	cbz	w0, LBB0_11
; %bb.9:
	mov	x25, x0
	bl	_trap_AAS_AreaReachability
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w8, [x19, #44]
	str	w8, [x19, #64]
	str	w25, [x19, #48]
	ldur	w0, [x29, #-104]
	ldr	w1, [x19, #52]
	bl	_VectorCopy
	ldr	w0, [x19, #60]
	mov	w1, #-8
	mov	w2, #-8
	mov	w3, #-8
	bl	_VectorSet
	ldr	w0, [x19, #56]
	mov	w1, #8
	mov	w2, #8
	mov	w3, #8
	bl	_VectorSet
LBB0_11:
	ldp	w1, w0, [x19, #72]
	ldr	w2, [x19, #68]
	ldr	w4, [x19, #44]
	mov	w3, #360
	bl	_BotEntityVisible
	cbz	x0, LBB0_13
; %bb.12:
	bl	_FloatTime
	mov	x25, x0
	str	w0, [x19, #12]
	b	LBB0_14
LBB0_13:
	ldr	w25, [x19, #12]
LBB0_14:
	bl	_FloatTime
	sub	w8, w0, #1
	cmp	w25, w8
	b.ge	LBB0_16
; %bb.15:
	bl	_FloatTime
	add	w8, w0, #2
	str	w8, [x19, #16]
LBB0_16:
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #52]
	bl	_VectorSubtract
	bl	_VectorLengthSquared
	fmov	s8, s0
	ldr	w25, [x19, #16]
	bl	_FloatTime
	cmp	w25, w0
	b.le	LBB0_22
; %bb.17:
	add	x21, x19, #48
	ldr	w24, [x19, #8]
	bl	_FloatTime
	sub	w8, w0, #20
	cmp	w24, w8
	b.ge	LBB0_19
; %bb.18:
	ldr	w0, [x19, #44]
	mov	x1, x23
	mov	x2, x22
	bl	_EasyClientName
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	ldp	w1, w0, [x19, #36]
Lloh20:
	adrp	x8, _CHAT_TELL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CHAT_TELL@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
	bl	_FloatTime
	str	w0, [x19, #8]
LBB0_19:
	mov	w0, #100
	bl	_Square
	fcmp	s8, s0
	b.pl	LBB0_21
; %bb.20:
	str	wzr, [x19, #16]
LBB0_21:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh23:
	adrp	x8, _qtrue@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_22:
	mov	w0, #500
	bl	_Square
	fcmp	s8, s0
	b.le	LBB0_26
; %bb.23:
	ldr	w20, [x19, #8]
	bl	_FloatTime
	sub	w8, w0, #20
	cmp	w20, w8
	b.ge	LBB0_25
; %bb.24:
	ldr	w0, [x19, #44]
	mov	x1, x23
	mov	x2, x22
	bl	_EasyClientName
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	ldp	w1, w0, [x19, #36]
Lloh28:
	adrp	x8, _CHAT_TELL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CHAT_TELL@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	bl	_trap_BotEnterChat
	bl	_FloatTime
	str	w0, [x19, #8]
LBB0_25:
	ldur	w0, [x29, #-104]
	ldr	w1, [x19, #32]
	bl	_VectorSubtract
	ldr	x1, [x19, #24]
	bl	_vectoangles
	ldr	x8, [x19, #24]
	ldr	d0, [x8, #16]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	str	d0, [x8, #16]
Lloh31:
	adrp	x8, _qfalse@GOTPAGE
Lloh32:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_26:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
LBB0_27:
	mov	x3, x20
	bl	_BotGetLongTermGoal
LBB0_28:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lead_stop"

	.comm	_CHAT_TELL,4,2                  ; @CHAT_TELL
l_.str.1:                               ; @.str.1
	.asciz	"followme"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
