	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotAIStartFrame
LCPI0_0:
	.long	0x447a0000                      ## float 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotAIStartFrame
	.p2align	4, 0x90
_BotAIStartFrame:                       ## @BotAIStartFrame
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_G_CheckBotSpawn
	movq	_bot_rocketjump@GOTPCREL(%rip), %rdi
	callq	_trap_Cvar_Update
	movq	_bot_grapple@GOTPCREL(%rip), %rdi
	callq	_trap_Cvar_Update
	movq	_bot_fastchat@GOTPCREL(%rip), %rdi
	callq	_trap_Cvar_Update
	movq	_bot_nochat@GOTPCREL(%rip), %rdi
	callq	_trap_Cvar_Update
	movq	_bot_testrchat@GOTPCREL(%rip), %rdi
	callq	_trap_Cvar_Update
	movq	_bot_thinktime@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_trap_Cvar_Update
	movq	_bot_memorydump@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_trap_Cvar_Update
	movq	_bot_saveroutingcache@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_trap_Cvar_Update
	movq	_bot_pause@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_trap_Cvar_Update
	movq	_bot_report@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_trap_Cvar_Update
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_BotUpdateInfoConfigStrings
LBB0_2:
	cmpl	$0, (%rbx)
	je	LBB0_10
## %bb.3:
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_qtrue@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jle	LBB0_21
## %bb.4:
	movl	$1, %r15d
	xorl	%ebx, %ebx
	movq	_botstates@GOTPCREL(%rip), %r12
	movq	_g_entities@GOTPCREL(%rip), %r13
	movq	_CON_CONNECTED@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$17, %r15
	cmpq	%rcx, %rbx
	jge	LBB0_52
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 52(%rcx)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdx
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx), %rdx
	cmpq	(%r14), %rdx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	8(%rcx), %rsi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rcx)
	movups	%xmm0, 16(%rcx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rcx)
	movl	48(%rcx), %edi
	callq	_trap_BotUserCommand
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_10:
	cmpl	$0, (%r13)
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_trap_BotLibVarSet
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_trap_Cvar_Set
LBB0_12:
	cmpl	$0, (%r12)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_trap_BotLibVarSet
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_trap_Cvar_Set
LBB0_14:
	xorl	%eax, %eax
	callq	_BotInterbreeding
	movl	(%r15), %r14d
	cmpl	$201, %r14d
	jl	LBB0_16
## %bb.15:
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_trap_Cvar_Set
	movl	(%r15), %r14d
LBB0_16:
	cmpl	_BotAIStartFrame.lastbotthink_time(%rip), %r14d
	je	LBB0_18
## %bb.17:
	movl	%r14d, _BotAIStartFrame.lastbotthink_time(%rip)
	xorl	%eax, %eax
	callq	_BotScheduleBotThink
	movl	(%r15), %r14d
LBB0_18:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	subl	_BotAIStartFrame.local_time(%rip), %ecx
	movl	%eax, _BotAIStartFrame.local_time(%rip)
	movl	_BotAIStartFrame.botlib_residual(%rip), %eax
	addl	%ecx, %eax
	movl	%eax, _BotAIStartFrame.botlib_residual(%rip)
	cmpl	%r14d, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmovgl	%ecx, %r14d
	subl	%r14d, %eax
	jl	LBB0_36
## %bb.19:
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	movl	%eax, _BotAIStartFrame.botlib_residual(%rip)
	divss	LCPI0_0(%rip), %xmm0
	callq	_trap_BotLibStartFrame
	xorl	%eax, %eax
	callq	_trap_AAS_Initialized
	testl	%eax, %eax
	je	LBB0_20
## %bb.22:
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_35
## %bb.23:
	movl	$76, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpl	$0, 52(%r13,%r12)
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$0, 44(%r13,%r12)
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_SVF_NOCLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13,%r12)
	je	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_trap_BotLibUpdateEntity
LBB0_34:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$136, %r12
	cmpq	%rax, %rbx
	jl	LBB0_24
	jmp	LBB0_35
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-60(%r13,%r12), %rax
	movq	_ET_MISSILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	-52(%r13,%r12), %rcx
	movq	_WP_GRAPPLING_HOOK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_25
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_ET_EVENTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_25
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	leaq	(%r12,%r13), %r15
	movl	40(%r13,%r12), %edi
	movl	-68(%rbp), %esi
	callq	_VectorCopy
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	leaq	36(%r13,%r12), %rax
	cmovlq	%r15, %rax
	movl	(%rax), %edi
	movl	-72(%rbp), %esi
	callq	_VectorCopy
	movl	-4(%r13,%r12), %edi
	movl	-76(%rbp), %esi
	callq	_VectorCopy
	movl	32(%r13,%r12), %edi
	movl	-80(%rbp), %esi
	callq	_VectorCopy
	movl	28(%r13,%r12), %edi
	movl	-84(%rbp), %esi
	callq	_VectorCopy
	movl	-8(%r13,%r12), %eax
	movl	%eax, -88(%rbp)
	cmpq	$0, 20(%r13,%r12)
	movq	_SOLID_BSP@GOTPCREL(%rip), %rax
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_SOLID_BBOX@GOTPCREL(%rip), %rax
LBB0_33:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	-12(%r13,%r12), %eax
	movl	%eax, -96(%rbp)
	movups	-28(%r13,%r12), %xmm0
	movaps	%xmm0, -112(%rbp)
	movups	-44(%r13,%r12), %xmm0
	movaps	%xmm0, -128(%rbp)
	movups	-60(%r13,%r12), %xmm0
	movaps	%xmm0, -144(%rbp)
	movl	%ebx, %edi
	leaq	-144(%rbp), %rsi
	callq	_trap_BotLibUpdateEntity
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %r15
	jmp	LBB0_34
LBB0_35:
	xorl	%eax, %eax
	callq	_BotAIRegularUpdate
LBB0_36:
	xorl	%eax, %eax
	callq	_trap_AAS_Time
	movq	_floattime@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %r13
	movq	_qtrue@GOTPCREL(%rip), %rcx
	cmpl	$0, (%r13)
	jle	LBB0_21
## %bb.37:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	divss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	movl	$1, %r15d
	movq	_botstates@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_38 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	addq	$17, %r15
	cmpq	%rax, %rbx
	jge	LBB0_45
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_44
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	cmpl	$0, 52(%rax)
	je	LBB0_44
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	(%rax), %ecx
	addl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, (%rax)
	subl	%r14d, %ecx
	jl	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	callq	_trap_AAS_Initialized
	testl	%eax, %eax
	je	LBB0_20
## %bb.42:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rax
	movq	_CON_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	%ebx, %edi
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_BotAI
	jmp	LBB0_44
LBB0_45:
	testl	%eax, %eax
	jle	LBB0_52
## %bb.46:
	movl	$1, %r14d
	xorl	%ebx, %ebx
	movq	_g_entities@GOTPCREL(%rip), %r15
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_47 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$17, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_52
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	cmpl	$0, 52(%rdi)
	je	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	(%r15), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx), %rcx
	movq	_CON_CONNECTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_47 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_BotUpdateInput
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	48(%rsi), %edi
	addq	$8, %rsi
	callq	_trap_BotUserCommand
	movl	(%r13), %eax
	jmp	LBB0_51
LBB0_52:
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_21:
	movl	(%rcx), %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_BotAIStartFrame.local_time,4,2 ## @BotAIStartFrame.local_time
.zerofill __DATA,__bss,_BotAIStartFrame.botlib_residual,4,2 ## @BotAIStartFrame.botlib_residual
.zerofill __DATA,__bss,_BotAIStartFrame.lastbotthink_time,4,2 ## @BotAIStartFrame.lastbotthink_time
	.comm	_bot_rocketjump,4,2             ## @bot_rocketjump
	.comm	_bot_grapple,4,2                ## @bot_grapple
	.comm	_bot_fastchat,4,2               ## @bot_fastchat
	.comm	_bot_nochat,4,2                 ## @bot_nochat
	.comm	_bot_testrchat,4,2              ## @bot_testrchat
	.comm	_bot_thinktime,4,2              ## @bot_thinktime
	.comm	_bot_memorydump,4,2             ## @bot_memorydump
	.comm	_bot_saveroutingcache,4,2       ## @bot_saveroutingcache
	.comm	_bot_pause,4,2                  ## @bot_pause
	.comm	_bot_report,4,2                 ## @bot_report
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
	.comm	_botstates,8,3                  ## @botstates
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_CON_CONNECTED,8,3              ## @CON_CONNECTED
	.comm	_qtrue,4,2                      ## @qtrue
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memorydump"

L_.str.1:                               ## @.str.1
	.asciz	"1"

L_.str.2:                               ## @.str.2
	.asciz	"bot_memorydump"

L_.str.3:                               ## @.str.3
	.asciz	"0"

L_.str.4:                               ## @.str.4
	.asciz	"saveroutingcache"

L_.str.5:                               ## @.str.5
	.asciz	"bot_saveroutingcache"

L_.str.6:                               ## @.str.6
	.asciz	"bot_thinktime"

L_.str.7:                               ## @.str.7
	.asciz	"200"

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_MAX_GENTITIES,4,2              ## @MAX_GENTITIES
	.comm	_SVF_NOCLIENT,4,2               ## @SVF_NOCLIENT
	.comm	_ET_MISSILE,8,3                 ## @ET_MISSILE
	.comm	_WP_GRAPPLING_HOOK,8,3          ## @WP_GRAPPLING_HOOK
	.comm	_ET_EVENTS,8,3                  ## @ET_EVENTS
	.comm	_SOLID_BSP,4,2                  ## @SOLID_BSP
	.comm	_SOLID_BBOX,4,2                 ## @SOLID_BBOX
	.comm	_floattime,4,2                  ## @floattime
	.comm	_CONTENTS_TRIGGER,8,3           ## @CONTENTS_TRIGGER
	.comm	_ProximityMine_Trigger,8,3      ## @ProximityMine_Trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAIStartFrame                ; -- Begin function BotAIStartFrame
	.p2align	2
_BotAIStartFrame:                       ; @BotAIStartFrame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	bl	_G_CheckBotSpawn
Lloh0:
	adrp	x0, _bot_rocketjump@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bot_rocketjump@GOTPAGEOFF]
	bl	_trap_Cvar_Update
Lloh2:
	adrp	x0, _bot_grapple@GOTPAGE
Lloh3:
	ldr	x0, [x0, _bot_grapple@GOTPAGEOFF]
	bl	_trap_Cvar_Update
Lloh4:
	adrp	x0, _bot_fastchat@GOTPAGE
Lloh5:
	ldr	x0, [x0, _bot_fastchat@GOTPAGEOFF]
	bl	_trap_Cvar_Update
Lloh6:
	adrp	x0, _bot_nochat@GOTPAGE
Lloh7:
	ldr	x0, [x0, _bot_nochat@GOTPAGEOFF]
	bl	_trap_Cvar_Update
Lloh8:
	adrp	x0, _bot_testrchat@GOTPAGE
Lloh9:
	ldr	x0, [x0, _bot_testrchat@GOTPAGEOFF]
	bl	_trap_Cvar_Update
Lloh10:
	adrp	x20, _bot_thinktime@GOTPAGE
Lloh11:
	ldr	x20, [x20, _bot_thinktime@GOTPAGEOFF]
	mov	x0, x20
	bl	_trap_Cvar_Update
Lloh12:
	adrp	x22, _bot_memorydump@GOTPAGE
Lloh13:
	ldr	x22, [x22, _bot_memorydump@GOTPAGEOFF]
	mov	x0, x22
	bl	_trap_Cvar_Update
Lloh14:
	adrp	x21, _bot_saveroutingcache@GOTPAGE
Lloh15:
	ldr	x21, [x21, _bot_saveroutingcache@GOTPAGEOFF]
	mov	x0, x21
	bl	_trap_Cvar_Update
Lloh16:
	adrp	x23, _bot_pause@GOTPAGE
Lloh17:
	ldr	x23, [x23, _bot_pause@GOTPAGEOFF]
	mov	x0, x23
	bl	_trap_Cvar_Update
Lloh18:
	adrp	x24, _bot_report@GOTPAGE
Lloh19:
	ldr	x24, [x24, _bot_report@GOTPAGEOFF]
	mov	x0, x24
	bl	_trap_Cvar_Update
	ldr	w8, [x24]
	cbz	w8, LBB0_2
; %bb.1:
	bl	_BotUpdateInfoConfigStrings
LBB0_2:
	ldr	w8, [x23]
	cbz	w8, LBB0_10
; %bb.3:
Lloh20:
	adrp	x20, _MAX_CLIENTS@GOTPAGE
Lloh21:
	ldr	x20, [x20, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.4:
	mov	x21, #0
Lloh22:
	adrp	x22, _botstates@GOTPAGE
Lloh23:
	ldr	x22, [x22, _botstates@GOTPAGEOFF]
Lloh24:
	adrp	x23, _qtrue@GOTPAGE
Lloh25:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	mov	w24, #8
Lloh26:
	adrp	x25, _g_entities@GOTPAGE
Lloh27:
	ldr	x25, [x25, _g_entities@GOTPAGEOFF]
Lloh28:
	adrp	x26, _CON_CONNECTED@GOTPAGE
Lloh29:
	ldr	x26, [x26, _CON_CONNECTED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	x24, x24, #136
	cmp	x21, w8, sxtw
	b.ge	LBB0_49
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	ldr	x1, [x9, x21, lsl #3]
	cbz	x1, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x1, #52]
	cbz	w9, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x25]
	ldr	x9, [x9, x24]
	ldr	x9, [x9]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w19, [x1, #8]!
	movi.2d	v0, #0000000000000000
	stur	q0, [x1, #24]
	stur	q0, [x1, #8]
	ldr	w0, [x1, #40]
	bl	_trap_BotUserCommand
	ldr	w8, [x20]
	b	LBB0_5
LBB0_10:
	ldr	w8, [x22]
	cbz	w8, LBB0_12
; %bb.11:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_BotLibVarSet
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_trap_Cvar_Set
LBB0_12:
	ldr	w8, [x21]
	cbz	w8, LBB0_14
; %bb.13:
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_BotLibVarSet
Lloh42:
	adrp	x0, l_.str.5@PAGE
Lloh43:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_trap_Cvar_Set
LBB0_14:
	bl	_BotInterbreeding
	ldr	w8, [x20]
	cmp	w8, #201
	b.lt	LBB0_16
; %bb.15:
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_trap_Cvar_Set
	ldr	w8, [x20]
LBB0_16:
	adrp	x9, _BotAIStartFrame.lastbotthink_time@PAGE
	ldr	w10, [x9, _BotAIStartFrame.lastbotthink_time@PAGEOFF]
	cmp	w8, w10
	b.eq	LBB0_18
; %bb.17:
	str	w8, [x9, _BotAIStartFrame.lastbotthink_time@PAGEOFF]
	bl	_BotScheduleBotThink
	ldr	w8, [x20]
LBB0_18:
Lloh50:
	adrp	x9, _BotAIStartFrame.local_time@PAGE
	ldr	w10, [x9, _BotAIStartFrame.local_time@PAGEOFF]
	str	w19, [x9, _BotAIStartFrame.local_time@PAGEOFF]
Lloh51:
	adrp	x9, _BotAIStartFrame.botlib_residual@PAGE
	ldr	w11, [x9, _BotAIStartFrame.botlib_residual@PAGEOFF]
	sub	w20, w19, w10
	add	w10, w11, w20
	str	w10, [x9, _BotAIStartFrame.botlib_residual@PAGEOFF]
	cmp	w20, w8
	csel	w22, w20, w8, gt
	subs	w8, w10, w22
	b.lt	LBB0_32
; %bb.19:
	str	w8, [x9, _BotAIStartFrame.botlib_residual@PAGEOFF]
	scvtf	s0, w19
	mov	w8, #1148846080
	fmov	s1, w8
	fdiv	s0, s0, s1
	bl	_trap_BotLibStartFrame
	bl	_trap_AAS_Initialized
	cbz	w0, LBB0_50
; %bb.20:
Lloh52:
	adrp	x23, _MAX_GENTITIES@GOTPAGE
Lloh53:
	ldr	x23, [x23, _MAX_GENTITIES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.21:
	mov	x21, #0
	mov	w24, #128
Lloh54:
	adrp	x25, _g_entities@GOTPAGE
Lloh55:
	ldr	x25, [x25, _g_entities@GOTPAGEOFF]
Lloh56:
	adrp	x26, _SVF_NOCLIENT@GOTPAGE
Lloh57:
	ldr	x26, [x26, _SVF_NOCLIENT@GOTPAGEOFF]
Lloh58:
	adrp	x27, _ET_MISSILE@GOTPAGE
Lloh59:
	ldr	x27, [x27, _ET_MISSILE@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x25]
	ldr	w8, [x28, x24]
	cbz	w8, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x8, x28, x24
	ldur	w9, [x8, #-8]
	cbz	w9, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	ldur	w8, [x8, #-48]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x21
	mov	x1, #0
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	bl	_trap_BotLibUpdateEntity
	add	x21, x21, #1
	ldrsw	x8, [x23]
	add	x24, x24, #136
	cmp	x21, x8
	b.lt	LBB0_22
	b	LBB0_31
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x9, x28, x24
	ldur	x8, [x9, #-112]
	ldr	x10, [x27]
	cmp	x8, x10
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=1
	ldur	x9, [x9, #-104]
Lloh60:
	adrp	x10, _WP_GRAPPLING_HOOK@GOTPAGE
Lloh61:
	ldr	x10, [x10, _WP_GRAPPLING_HOOK@GOTPAGEOFF]
Lloh62:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_25
LBB0_29:                                ;   in Loop: Header=BB0_22 Depth=1
Lloh63:
	adrp	x9, _ET_EVENTS@GOTPAGE
Lloh64:
	ldr	x9, [x9, _ET_EVENTS@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_25
; %bb.30:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	add	x28, x28, x24
	ldur	w0, [x28, #-12]
	ldr	w1, [sp, #76]
	bl	_VectorCopy
Lloh66:
	adrp	x8, _MAX_CLIENTS@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MAX_CLIENTS@GOTPAGEOFF]
Lloh68:
	ldrsw	x8, [x8]
	cmp	x21, x8
	mov	x8, #-16
	mov	x9, #-52
	csel	x8, x9, x8, lt
	ldr	w0, [x28, x8]
	ldr	w1, [sp, #72]
	bl	_VectorCopy
	ldur	w0, [x28, #-56]
	ldr	w1, [sp, #68]
	bl	_VectorCopy
	ldur	w0, [x28, #-20]
	ldr	w1, [sp, #64]
	bl	_VectorCopy
	ldur	w0, [x28, #-24]
	ldr	w1, [sp, #60]
	bl	_VectorCopy
	ldur	w8, [x28, #-60]
	str	w8, [sp, #56]
	ldur	x8, [x28, #-32]
	cmp	x8, #0
Lloh69:
	adrp	x8, _SOLID_BBOX@GOTPAGE
Lloh70:
	ldr	x8, [x8, _SOLID_BBOX@GOTPAGEOFF]
Lloh71:
	adrp	x9, _SOLID_BSP@GOTPAGE
Lloh72:
	ldr	x9, [x9, _SOLID_BSP@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #52]
	ldur	w8, [x28, #-64]
	str	w8, [sp, #48]
	ldur	q0, [x28, #-80]
	str	q0, [sp, #32]
	ldur	q0, [x28, #-96]
	str	q0, [sp, #16]
	ldur	q0, [x28, #-112]
	str	q0, [sp]
	mov	x1, sp
	mov	x0, x21
	b	LBB0_26
LBB0_31:
	bl	_BotAIRegularUpdate
LBB0_32:
	bl	_trap_AAS_Time
Lloh73:
	adrp	x8, _floattime@GOTPAGE
Lloh74:
	ldr	x8, [x8, _floattime@GOTPAGEOFF]
Lloh75:
	str	w0, [x8]
Lloh76:
	adrp	x24, _MAX_CLIENTS@GOTPAGE
Lloh77:
	ldr	x24, [x24, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.33:
	mov	x21, #0
	scvtf	s0, w22
	mov	w8, #1148846080
	fmov	s1, w8
	fdiv	s8, s0, s1
	mov	w28, #8
Lloh78:
	adrp	x25, _botstates@GOTPAGE
Lloh79:
	ldr	x25, [x25, _botstates@GOTPAGEOFF]
Lloh80:
	adrp	x23, _qfalse@GOTPAGE
Lloh81:
	ldr	x23, [x23, _qfalse@GOTPAGEOFF]
Lloh82:
	adrp	x26, _g_entities@GOTPAGE
Lloh83:
	ldr	x26, [x26, _g_entities@GOTPAGEOFF]
Lloh84:
	adrp	x27, _CON_CONNECTED@GOTPAGE
Lloh85:
	ldr	x27, [x27, _CON_CONNECTED@GOTPAGEOFF]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x24]
	add	x28, x28, #136
	cmp	x21, x8
	b.ge	LBB0_41
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w9, [x8, #52]
	cbz	w9, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w9, [x8]
	add	w10, w9, w20
	subs	w9, w10, w22
	str	w10, [x8]
	b.lt	LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	str	w9, [x8]
	bl	_trap_AAS_Initialized
	cbz	w0, LBB0_49
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, x28]
	ldr	x8, [x8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.40:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x21
	fmov	s0, s8
	bl	_BotAI
	b	LBB0_34
LBB0_41:
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.42:
	mov	x21, #0
	mov	w22, #8
Lloh86:
	adrp	x23, _qtrue@GOTPAGE
Lloh87:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x21, x21, #1
	add	x22, x22, #136
	cmp	x21, w8, sxtw
	b.ge	LBB0_49
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25]
	ldr	x0, [x9, x21, lsl #3]
	cbz	x0, LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w9, [x0, #52]
	cbz	w9, LBB0_43
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x9, [x26]
	ldr	x9, [x9, x22]
	ldr	x9, [x9]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_43
; %bb.47:                               ;   in Loop: Header=BB0_44 Depth=1
	mov	x1, x19
	mov	x2, x20
	bl	_BotUpdateInput
	ldr	x8, [x25]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w0, [x8, #48]
	add	x1, x8, #8
	bl	_trap_BotUserCommand
	ldr	w8, [x24]
	b	LBB0_43
LBB0_48:
Lloh88:
	adrp	x23, _qtrue@GOTPAGE
Lloh89:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
LBB0_49:
	ldr	w0, [x23]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_50:
Lloh90:
	adrp	x23, _qfalse@GOTPAGE
Lloh91:
	ldr	x23, [x23, _qfalse@GOTPAGEOFF]
	b	LBB0_49
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdrp	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_BotAIStartFrame.local_time,4,2 ; @BotAIStartFrame.local_time
.zerofill __DATA,__bss,_BotAIStartFrame.botlib_residual,4,2 ; @BotAIStartFrame.botlib_residual
.zerofill __DATA,__bss,_BotAIStartFrame.lastbotthink_time,4,2 ; @BotAIStartFrame.lastbotthink_time
	.comm	_bot_rocketjump,4,2             ; @bot_rocketjump
	.comm	_bot_grapple,4,2                ; @bot_grapple
	.comm	_bot_fastchat,4,2               ; @bot_fastchat
	.comm	_bot_nochat,4,2                 ; @bot_nochat
	.comm	_bot_testrchat,4,2              ; @bot_testrchat
	.comm	_bot_thinktime,4,2              ; @bot_thinktime
	.comm	_bot_memorydump,4,2             ; @bot_memorydump
	.comm	_bot_saveroutingcache,4,2       ; @bot_saveroutingcache
	.comm	_bot_pause,4,2                  ; @bot_pause
	.comm	_bot_report,4,2                 ; @bot_report
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
	.comm	_botstates,8,3                  ; @botstates
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_CON_CONNECTED,8,3              ; @CON_CONNECTED
	.comm	_qtrue,4,2                      ; @qtrue
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memorydump"

l_.str.1:                               ; @.str.1
	.asciz	"1"

l_.str.2:                               ; @.str.2
	.asciz	"bot_memorydump"

l_.str.3:                               ; @.str.3
	.asciz	"0"

l_.str.4:                               ; @.str.4
	.asciz	"saveroutingcache"

l_.str.5:                               ; @.str.5
	.asciz	"bot_saveroutingcache"

l_.str.6:                               ; @.str.6
	.asciz	"bot_thinktime"

l_.str.7:                               ; @.str.7
	.asciz	"200"

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_MAX_GENTITIES,4,2              ; @MAX_GENTITIES
	.comm	_SVF_NOCLIENT,4,2               ; @SVF_NOCLIENT
	.comm	_ET_MISSILE,8,3                 ; @ET_MISSILE
	.comm	_WP_GRAPPLING_HOOK,8,3          ; @WP_GRAPPLING_HOOK
	.comm	_ET_EVENTS,8,3                  ; @ET_EVENTS
	.comm	_SOLID_BSP,4,2                  ; @SOLID_BSP
	.comm	_SOLID_BBOX,4,2                 ; @SOLID_BBOX
	.comm	_floattime,4,2                  ; @floattime
	.comm	_CONTENTS_TRIGGER,8,3           ; @CONTENTS_TRIGGER
	.comm	_ProximityMine_Trigger,8,3      ; @ProximityMine_Trigger
.subsections_via_symbols
