	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AINode_Seek_ActivateEntity
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x3fe999999999999a              ## double 0.80000000000000004
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AINode_Seek_ActivateEntity
	.p2align	4, 0x90
_AINode_Seek_ActivateEntity:            ## @AINode_Seek_ActivateEntity
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_BotIsObserver
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_BotClearActivateGoalStack
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Observer
	jmp	LBB0_6
LBB0_2:
	callq	_BotIntermission
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_BotClearActivateGoalStack
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Intermission
	jmp	LBB0_6
LBB0_4:
	callq	_BotIsDead
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_BotClearActivateGoalStack
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Respawn
LBB0_6:
	movq	_qfalse@GOTPCREL(%rip), %r15
LBB0_7:
	movl	(%r15), %eax
LBB0_8:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_TFL_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_bot_grapple@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_TFL_GRAPPLEHOOK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_11:
	movq	%rbx, %rdi
	callq	_BotInLavaOrSlime
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_TFL_LAVA@GOTPCREL(%rip), %rax
	movq	_TFL_SLIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
LBB0_13:
	movq	%rbx, %rdi
	callq	_BotMapScripts
	movl	$-1, 4(%rbx)
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.14:
	leaq	40(%rax), %r14
	movq	_qfalse@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	cmpq	$0, 24(%rax)
	je	LBB0_20
## %bb.15:
	movq	(%rax), %r8
	movl	56(%rbx), %esi
	movl	72(%rbx), %r9d
	movq	_MASK_SHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-96(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_Trace
	movsd	-96(%rbp), %xmm0                ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	jae	LBB0_17
## %bb.16:
	movq	-88(%rbp), %rax
	cmpq	(%r14), %rax
	jne	LBB0_20
LBB0_17:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	68(%rbx), %ecx
	movq	48(%rbx), %rax
	cmpl	8(%rax), %ecx
	jne	LBB0_20
## %bb.18:
	movq	(%rax), %rdi
	movl	56(%rbx), %esi
	callq	_VectorSubtract
	callq	_vectoangles
	movl	64(%rbx), %edi
	movl	$20, %esi
	callq	_InFieldOfVision
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	60(%rbx), %edi
	callq	_trap_EA_Attack
LBB0_20:
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.21:
	movq	(%r14), %rdi
	leaq	-40(%rbp), %rsi
	callq	_BotEntityInfo
	movq	48(%rbx), %rax
	movl	32(%rax), %edi
	movl	-40(%rbp), %esi
	callq	_VectorCompare
	movq	48(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_30
## %bb.22:
	movq	16(%rcx), %r12
	jmp	LBB0_31
LBB0_23:
	movq	%rbx, %rdi
	callq	_BotClearActivateGoalStack
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Seek_NBG
	jmp	LBB0_6
LBB0_24:
	movq	48(%rbx), %rcx
	cmpq	$0, 24(%rcx)
	jne	LBB0_27
## %bb.25:
	movl	40(%rbx), %edi
	movq	%r14, %rsi
	callq	_trap_BotTouchingGoal
	movq	48(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	$0, 16(%rcx)
LBB0_27:
	movq	16(%rcx), %r12
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rbx, %rdi
	cmpq	%rax, %r12
	jge	LBB0_42
## %bb.28:
	callq	_BotPopFromActivateGoalStack
	cmpq	$0, 48(%rbx)
	jne	LBB0_33
## %bb.29:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_50
LBB0_30:
	movq	$0, 16(%rcx)
	xorl	%r12d, %r12d
LBB0_31:
	xorl	%eax, %eax
	callq	_FloatTime
	cmpq	%rax, %r12
	jge	LBB0_34
## %bb.32:
	movq	%rbx, %rdi
	callq	_BotPopFromActivateGoalStack
	cmpq	$0, 48(%rbx)
	je	LBB0_49
LBB0_33:
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$10, %rax
	movq	48(%rbx), %rcx
	movq	%rax, 16(%rcx)
	jmp	LBB0_7
LBB0_34:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
LBB0_35:
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_BotClearPath
	movq	48(%rbx), %rcx
	cmpq	$0, 24(%rcx)
	je	LBB0_40
## %bb.36:
	movl	-80(%rbp), %eax
	movq	_MOVERESULT_MOVEMENTVIEW@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	jne	LBB0_38
## %bb.37:
	movq	(%rcx), %rdi
	movl	56(%rbx), %esi
	callq	_VectorSubtract
	movq	-72(%rbp), %rsi
	callq	_vectoangles
	movl	-80(%rbp), %eax
	orl	(%r15), %eax
	movl	%eax, -80(%rbp)
LBB0_38:
	movq	_MOVERESULT_MOVEMENTWEAPON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_40
## %bb.39:
	orl	%eax, %ecx
	movl	%ecx, -80(%rbp)
	movq	%rbx, %rdi
	callq	_BotSelectActivateWeapon
	movq	48(%rbx), %rcx
	xorl	%edx, %edx
	cmpl	$-1, %eax
	cmovnel	%eax, %edx
	movl	%edx, 8(%rcx)
	movl	%edx, -64(%rbp)
LBB0_40:
	movl	-80(%rbp), %eax
	movq	_MOVERESULT_MOVEMENTVIEWSET@GOTPCREL(%rip), %rcx
	movq	_MOVERESULT_MOVEMENTVIEW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MOVERESULT_SWIMVIEW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_46
## %bb.41:
	movq	-72(%rbp), %rdi
	movq	8(%rbx), %rsi
	callq	_VectorCopy
	jmp	LBB0_55
LBB0_42:
	movq	%r14, %rsi
	callq	_BotAIPredictObstacles
	testq	%rax, %rax
	jne	LBB0_7
## %bb.43:
	movq	%rbx, %rdi
	callq	_BotSetupForMovement
	movl	(%rbx), %ecx
	movl	36(%rbx), %esi
	leaq	-80(%rbp), %rdi
	movq	%r14, %rdx
	callq	_trap_BotMoveToGoal
	cmpq	$0, -48(%rbp)
	je	LBB0_45
## %bb.44:
	movl	36(%rbx), %edi
	callq	_trap_BotResetAvoidReach
	movq	48(%rbx), %rax
	movq	$0, 16(%rax)
LBB0_45:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_BotAIBlocked
	jmp	LBB0_35
LBB0_46:
	movq	_MOVERESULT_WAITING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_51
## %bb.47:
	xorl	%eax, %eax
	callq	_random
	movsd	16(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_55
## %bb.48:
	movq	%rbx, %rdi
	callq	_BotRoamGoal
	movl	40(%rbx), %esi
	callq	_VectorSubtract
                                        ## implicit-def: $rdi
	jmp	LBB0_54
LBB0_49:
	leaq	L_.str.4(%rip), %rsi
LBB0_50:
	movq	%rbx, %rdi
	callq	_AIEnter_Seek_NBG
	jmp	LBB0_7
LBB0_51:
	movq	_BFL_IDEALVIEWSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%rbx)
	jne	LBB0_55
## %bb.52:
	movl	(%rbx), %edx
	movl	36(%rbx), %edi
	movq	%r14, %rsi
	movl	$300, %ecx                      ## imm = 0x12C
	callq	_trap_BotMovementViewTarget
	testq	%rax, %rax
	jne	LBB0_62
## %bb.53:
	movq	-56(%rbp), %rdi
LBB0_54:
	movq	8(%rbx), %rsi
	callq	_vectoangles
	movq	8(%rbx), %rax
	movsd	16(%rax), %xmm0                 ## xmm0 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm0
	movsd	%xmm0, 16(%rax)
LBB0_55:
	movq	_MOVERESULT_MOVEMENTWEAPON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -80(%rbp)
	je	LBB0_57
## %bb.56:
	movl	-64(%rbp), %eax
	movl	%eax, 28(%rbx)
LBB0_57:
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_BotFindEnemy
	movq	_qtrue@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.58:
	movq	%rbx, %rdi
	callq	_BotWantsToRetreat
	testq	%rax, %rax
	je	LBB0_60
## %bb.59:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Battle_NBG
	jmp	LBB0_61
LBB0_60:
	movl	36(%rbx), %edi
	callq	_trap_BotResetLastAvoidReach
	movl	32(%rbx), %edi
	callq	_trap_BotEmptyGoalStack
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_AIEnter_Battle_Fight
LBB0_61:
	movq	%rbx, %rdi
	callq	_BotClearActivateGoalStack
	jmp	LBB0_7
LBB0_62:
	movq	%rbx, %rdi
	callq	_AINode_Seek_ActivateEntity.cold.1
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function AINode_Seek_ActivateEntity.cold.1
_AINode_Seek_ActivateEntity.cold.1:     ## @AINode_Seek_ActivateEntity.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	40(%rdi), %esi
	callq	_VectorSubtract
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active entity: observer"

	.comm	_qfalse,4,2                     ## @qfalse
L_.str.1:                               ## @.str.1
	.asciz	"activate entity: intermission"

L_.str.2:                               ## @.str.2
	.asciz	"activate entity: bot dead"

	.comm	_TFL_DEFAULT,4,2                ## @TFL_DEFAULT
	.comm	_bot_grapple,8,3                ## @bot_grapple
	.comm	_TFL_GRAPPLEHOOK,4,2            ## @TFL_GRAPPLEHOOK
	.comm	_TFL_LAVA,4,2                   ## @TFL_LAVA
	.comm	_TFL_SLIME,4,2                  ## @TFL_SLIME
L_.str.3:                               ## @.str.3
	.asciz	"activate entity: no goal"

	.comm	_MASK_SHOT,4,2                  ## @MASK_SHOT
	.comm	_qtrue,4,2                      ## @qtrue
L_.str.4:                               ## @.str.4
	.asciz	"activate entity: time out"

L_.str.5:                               ## @.str.5
	.asciz	"activate entity: activated"

	.comm	_MOVERESULT_MOVEMENTVIEW,4,2    ## @MOVERESULT_MOVEMENTVIEW
	.comm	_MOVERESULT_MOVEMENTWEAPON,4,2  ## @MOVERESULT_MOVEMENTWEAPON
	.comm	_MOVERESULT_MOVEMENTVIEWSET,4,2 ## @MOVERESULT_MOVEMENTVIEWSET
	.comm	_MOVERESULT_SWIMVIEW,4,2        ## @MOVERESULT_SWIMVIEW
	.comm	_MOVERESULT_WAITING,4,2         ## @MOVERESULT_WAITING
	.comm	_BFL_IDEALVIEWSET,4,2           ## @BFL_IDEALVIEWSET
L_.str.6:                               ## @.str.6
	.asciz	"activate entity: found enemy"

	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AINode_Seek_ActivateEntity     ; -- Begin function AINode_Seek_ActivateEntity
	.p2align	2
_AINode_Seek_ActivateEntity:            ; @AINode_Seek_ActivateEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	bl	_BotIsObserver
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_BotClearActivateGoalStack
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_AIEnter_Observer
	b	LBB0_41
LBB0_2:
	mov	x0, x19
	bl	_BotIntermission
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_BotClearActivateGoalStack
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_AIEnter_Intermission
	b	LBB0_41
LBB0_4:
	mov	x0, x19
	bl	_BotIsDead
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_BotClearActivateGoalStack
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_AIEnter_Respawn
	b	LBB0_41
LBB0_6:
Lloh6:
	adrp	x8, _TFL_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TFL_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh9:
	adrp	x9, _bot_grapple@GOTPAGE
Lloh10:
	ldr	x9, [x9, _bot_grapple@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cbz	x9, LBB0_8
; %bb.7:
Lloh12:
	adrp	x9, _TFL_GRAPPLEHOOK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TFL_GRAPPLEHOOK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	mov	x0, x19
	bl	_BotInLavaOrSlime
	cbz	x0, LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _TFL_LAVA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TFL_LAVA@GOTPAGEOFF]
Lloh17:
	adrp	x9, _TFL_SLIME@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TFL_SLIME@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_10:
	mov	x0, x19
	bl	_BotMapScripts
	mov	w8, #-1
	str	w8, [x19, #4]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_20
; %bb.11:
	add	x20, x8, #40
Lloh21:
	adrp	x9, _qfalse@GOTPAGE
Lloh22:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x9]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_17
; %bb.12:
	ldr	w1, [x19, #56]
	ldr	x4, [x8]
	ldr	w5, [x19, #72]
Lloh24:
	adrp	x8, _MASK_SHOT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MASK_SHOT@GOTPAGEOFF]
Lloh26:
	ldr	w6, [x8]
	add	x0, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_BotAI_Trace
	ldr	d0, [sp, #8]
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.ge	LBB0_14
; %bb.13:
	ldr	x8, [sp, #16]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_17
LBB0_14:
Lloh27:
	adrp	x8, _qtrue@GOTPAGE
Lloh28:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	ldr	w9, [x19, #68]
	ldr	x8, [x19, #48]
	ldr	w10, [x8, #8]
	cmp	w9, w10
	b.ne	LBB0_17
; %bb.15:
	ldr	x0, [x8]
	ldr	w1, [x19, #56]
	bl	_VectorSubtract
	bl	_vectoangles
	ldr	w0, [x19, #64]
	mov	w1, #20
	bl	_InFieldOfVision
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w0, [x19, #60]
	bl	_trap_EA_Attack
LBB0_17:
	cbz	w21, LBB0_22
; %bb.18:
	ldr	x0, [x20]
	mov	x1, sp
	bl	_BotEntityInfo
	ldr	x8, [x19, #48]
	ldr	w0, [x8, #32]
	ldr	w1, [sp]
	bl	_VectorCompare
	ldr	x8, [x19, #48]
	cbz	w0, LBB0_28
; %bb.19:
	ldr	x21, [x8, #16]
	b	LBB0_29
LBB0_20:
	mov	x0, x19
	bl	_BotClearActivateGoalStack
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_AIEnter_Seek_NBG
	b	LBB0_41
LBB0_22:
	ldr	x8, [x19, #48]
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_25
; %bb.23:
	ldr	w0, [x19, #40]
	mov	x1, x20
	bl	_trap_BotTouchingGoal
	ldr	x8, [x19, #48]
	cbz	x0, LBB0_25
; %bb.24:
	str	xzr, [x8, #16]
LBB0_25:
	ldr	x21, [x8, #16]
	bl	_FloatTime
	cmp	x21, x0
	b.ge	LBB0_40
; %bb.26:
	mov	x0, x19
	bl	_BotPopFromActivateGoalStack
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_31
; %bb.27:
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_28:
	mov	x21, #0
	str	xzr, [x8, #16]
LBB0_29:
	bl	_FloatTime
	cmp	x21, x0
	b.ge	LBB0_32
; %bb.30:
	mov	x0, x19
	bl	_BotPopFromActivateGoalStack
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_46
LBB0_31:
	bl	_FloatTime
	add	x8, x0, #10
	ldr	x9, [x19, #48]
	str	x8, [x9, #16]
	b	LBB0_41
LBB0_32:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #40
	bl	_memset
LBB0_33:
	add	x1, sp, #24
	mov	x0, x19
	bl	_BotClearPath
	ldr	x9, [x19, #48]
	ldr	x8, [x9, #24]
Lloh34:
	adrp	x22, _MOVERESULT_MOVEMENTVIEW@GOTPAGE
Lloh35:
	ldr	x22, [x22, _MOVERESULT_MOVEMENTVIEW@GOTPAGEOFF]
Lloh36:
	adrp	x21, _MOVERESULT_MOVEMENTWEAPON@GOTPAGE
Lloh37:
	ldr	x21, [x21, _MOVERESULT_MOVEMENTWEAPON@GOTPAGEOFF]
	cbz	x8, LBB0_38
; %bb.34:
	ldr	w8, [sp, #24]
	ldr	w10, [x22]
	tst	w10, w8
	b.ne	LBB0_36
; %bb.35:
	ldr	x0, [x9]
	ldr	w1, [x19, #56]
	bl	_VectorSubtract
	ldr	x1, [sp, #32]
	bl	_vectoangles
	ldr	w8, [x22]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_36:
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_38
; %bb.37:
	orr	w8, w9, w8
	str	w8, [sp, #24]
	mov	x0, x19
	bl	_BotSelectActivateWeapon
	ldr	x8, [x19, #48]
	cmn	w0, #1
	csel	w9, wzr, w0, eq
	str	w9, [x8, #8]
	str	w9, [sp, #40]
LBB0_38:
	ldr	w8, [sp, #24]
Lloh38:
	adrp	x9, _MOVERESULT_MOVEMENTVIEWSET@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MOVERESULT_MOVEMENTVIEWSET@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	ldr	w10, [x22]
	orr	w9, w10, w9
Lloh41:
	adrp	x10, _MOVERESULT_SWIMVIEW@GOTPAGE
Lloh42:
	ldr	x10, [x10, _MOVERESULT_SWIMVIEW@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_43
; %bb.39:
	ldr	x0, [sp, #32]
	ldr	x1, [x19, #8]
	bl	_VectorCopy
	b	LBB0_54
LBB0_40:
	mov	x0, x19
	mov	x1, x20
	bl	_BotAIPredictObstacles
	cbz	x0, LBB0_47
LBB0_41:
Lloh44:
	adrp	x8, _qfalse@GOTPAGE
Lloh45:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_42:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_43:
Lloh46:
	adrp	x9, _MOVERESULT_WAITING@GOTPAGE
Lloh47:
	ldr	x9, [x9, _MOVERESULT_WAITING@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_50
; %bb.44:
	bl	_random
	ldr	d1, [x19, #16]
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16361, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	fcmp	d0, d1
	b.pl	LBB0_54
; %bb.45:
	mov	x0, x19
	bl	_BotRoamGoal
	ldr	w1, [x19, #40]
	bl	_VectorSubtract
                                        ; implicit-def: $x0
	b	LBB0_53
LBB0_46:
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_21
LBB0_47:
	mov	x0, x19
	bl	_BotSetupForMovement
	ldr	w1, [x19, #36]
	ldr	w3, [x19]
	add	x0, sp, #24
	mov	x2, x20
	bl	_trap_BotMoveToGoal
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_49
; %bb.48:
	ldr	w0, [x19, #36]
	bl	_trap_BotResetAvoidReach
	ldr	x8, [x19, #48]
	str	xzr, [x8, #16]
LBB0_49:
Lloh51:
	adrp	x8, _qtrue@GOTPAGE
Lloh52:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	add	x1, sp, #24
	mov	x0, x19
	bl	_BotAIBlocked
	b	LBB0_33
LBB0_50:
	ldr	w8, [x19, #24]
Lloh54:
	adrp	x9, _BFL_IDEALVIEWSET@GOTPAGE
Lloh55:
	ldr	x9, [x9, _BFL_IDEALVIEWSET@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_54
; %bb.51:
	ldr	w0, [x19, #36]
	ldr	w2, [x19]
	mov	x1, x20
	mov	w3, #300
	bl	_trap_BotMovementViewTarget
	cbnz	x0, LBB0_62
; %bb.52:
	ldr	x0, [sp, #48]
LBB0_53:
	ldr	x1, [x19, #8]
	bl	_vectoangles
	ldr	x8, [x19, #8]
	ldr	d0, [x8, #16]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	str	d0, [x8, #16]
LBB0_54:
	ldr	w8, [sp, #24]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_56
; %bb.55:
	ldr	w8, [sp, #40]
	str	w8, [x19, #28]
LBB0_56:
	mov	x0, x19
	mov	w1, #-1
	bl	_BotFindEnemy
	cbz	x0, LBB0_61
; %bb.57:
	mov	x0, x19
	bl	_BotWantsToRetreat
	cbz	x0, LBB0_59
; %bb.58:
Lloh57:
	adrp	x1, l_.str.6@PAGE
Lloh58:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_AIEnter_Battle_NBG
	b	LBB0_60
LBB0_59:
	ldr	w0, [x19, #36]
	bl	_trap_BotResetLastAvoidReach
	ldr	w0, [x19, #32]
	bl	_trap_BotEmptyGoalStack
Lloh59:
	adrp	x1, l_.str.6@PAGE
Lloh60:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_AIEnter_Battle_Fight
LBB0_60:
	mov	x0, x19
	bl	_BotClearActivateGoalStack
LBB0_61:
Lloh61:
	adrp	x8, _qtrue@GOTPAGE
Lloh62:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_42
LBB0_62:
	mov	x0, x19
	bl	_AINode_Seek_ActivateEntity.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function AINode_Seek_ActivateEntity.cold.1
_AINode_Seek_ActivateEntity.cold.1:     ; @AINode_Seek_ActivateEntity.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w1, [x0, #40]
	bl	_VectorSubtract
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active entity: observer"

	.comm	_qfalse,4,2                     ; @qfalse
l_.str.1:                               ; @.str.1
	.asciz	"activate entity: intermission"

l_.str.2:                               ; @.str.2
	.asciz	"activate entity: bot dead"

	.comm	_TFL_DEFAULT,4,2                ; @TFL_DEFAULT
	.comm	_bot_grapple,8,3                ; @bot_grapple
	.comm	_TFL_GRAPPLEHOOK,4,2            ; @TFL_GRAPPLEHOOK
	.comm	_TFL_LAVA,4,2                   ; @TFL_LAVA
	.comm	_TFL_SLIME,4,2                  ; @TFL_SLIME
l_.str.3:                               ; @.str.3
	.asciz	"activate entity: no goal"

	.comm	_MASK_SHOT,4,2                  ; @MASK_SHOT
	.comm	_qtrue,4,2                      ; @qtrue
l_.str.4:                               ; @.str.4
	.asciz	"activate entity: time out"

l_.str.5:                               ; @.str.5
	.asciz	"activate entity: activated"

	.comm	_MOVERESULT_MOVEMENTVIEW,4,2    ; @MOVERESULT_MOVEMENTVIEW
	.comm	_MOVERESULT_MOVEMENTWEAPON,4,2  ; @MOVERESULT_MOVEMENTWEAPON
	.comm	_MOVERESULT_MOVEMENTVIEWSET,4,2 ; @MOVERESULT_MOVEMENTVIEWSET
	.comm	_MOVERESULT_SWIMVIEW,4,2        ; @MOVERESULT_SWIMVIEW
	.comm	_MOVERESULT_WAITING,4,2         ; @MOVERESULT_WAITING
	.comm	_BFL_IDEALVIEWSET,4,2           ; @BFL_IDEALVIEWSET
l_.str.6:                               ; @.str.6
	.asciz	"activate entity: found enemy"

	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
.subsections_via_symbols
