	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotChooseNBGItem
LCPI0_0:
	.quad	0xbf826e978d4fdf3b              ## double -0.0089999999999999993
LCPI0_2:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotChooseNBGItem
	.p2align	4, 0x90
_BotChooseNBGItem:                      ## @BotChooseNBGItem
	.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
	movss	%xmm0, -84(%rbp)                ## 4-byte Spill
	movq	%r8, %r13
	movl	%ecx, %ebx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%edi, %r12d
	callq	_BotGoalStateFromHandle
	movq	_qfalse@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_48
## %bb.1:
	movq	%rax, %r15
	cmpl	$0, 16(%rax)
	je	LBB0_48
## %bb.2:
	movl	20(%r15), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_BotReachabilityArea
	testl	%eax, %eax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_5
## %bb.3:
	movl	%eax, %edi
	movq	%r13, %rbx
	movq	%r15, %r13
	movl	%eax, %r15d
	callq	_AAS_AreaReachability
	movl	%r15d, %edi
	movq	%r13, %r15
	movq	%rbx, %r13
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%edi, (%r15)
	jmp	LBB0_6
LBB0_5:
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_48
LBB0_6:
	testq	%r13, %r13
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	je	LBB0_7
## %bb.8:
	movl	(%r13), %edx
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_AAS_AreaTravelTimeToGoalArea
	jmp	LBB0_9
LBB0_7:
	movl	$99999, %eax                    ## imm = 0x1869F
LBB0_9:
	movq	_itemconfig@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_48
## %bb.10:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	leaq	-136(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_Com_Memset
	movq	_levelitems@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_48
## %bb.11:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_g_gametype@GOTPCREL(%rip), %r14
	movq	_GT_SINGLE_PLAYER@GOTPCREL(%rip), %r12
	movq	_IFL_NOTSINGLE@GOTPCREL(%rip), %rsi
	movq	_IFL_NOTBOT@GOTPCREL(%rip), %rdi
	movq	_IFL_ROAM@GOTPCREL(%rip), %r10
	movq	_GT_TEAM@GOTPCREL(%rip), %rbx
	movq	_IFL_NOTFREE@GOTPCREL(%rip), %r8
	movq	_IFL_NOTTEAM@GOTPCREL(%rip), %r9
	xorps	%xmm0, %xmm0
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %eax
	testl	%eax, (%rsi)
	je	LBB0_17
LBB0_37:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	40(%r13), %r13
	testq	%r13, %r13
	je	LBB0_38
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	cmpq	(%r12), %rcx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %eax
	cmpq	(%rbx), %rcx
	jge	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, (%r8)
	jne	LBB0_37
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, (%r9)
	jne	LBB0_37
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, (%rdi)
	jne	LBB0_37
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, 4(%r13)
	je	LBB0_37
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, 32(%r13)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, (%r10)
	je	LBB0_37
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	movq	8(%r15), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rdx,%rax,4), %edx
	testl	%edx, %edx
	js	LBB0_37
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	16(%r15), %esi
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r10, %rbx
	callq	_FuzzyWeight
	movq	%rbx, %r10
	movl	(%rbx), %eax
	testl	%eax, (%r13)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	mulss	16(%r13), %xmm0
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	4(%r13), %edx
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_AAS_AreaTravelTimeToGoalArea
	testl	%eax, %eax
	jle	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%eax, %ebx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movss	-84(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=1
	movss	%xmm1, -76(%rbp)                ## 4-byte Spill
	movl	20(%r13), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_BotAvoidGoalTime
	cvtss2sd	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	addsd	%xmm0, %xmm1
	ucomisd	LCPI0_2(%rip), %xmm1
	jbe	LBB0_30
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_IFL_ROAM@GOTPCREL(%rip), %r10
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_IFL_NOTSINGLE@GOTPCREL(%rip), %rsi
	movq	_IFL_NOTBOT@GOTPCREL(%rip), %rdi
	movq	_GT_TEAM@GOTPCREL(%rip), %rbx
	movq	_IFL_NOTFREE@GOTPCREL(%rip), %r8
	movq	_IFL_NOTTEAM@GOTPCREL(%rip), %r9
	jmp	LBB0_37
LBB0_30:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	_TRAVELTIME_SCALE@GOTPCREL(%rip), %rax
	movss	-76(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	(%rax), %xmm1
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	ucomiss	-60(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	_IFL_ROAM@GOTPCREL(%rip), %r10
	movq	_IFL_NOTSINGLE@GOTPCREL(%rip), %rsi
	movq	_IFL_NOTBOT@GOTPCREL(%rip), %rdi
	movq	_GT_TEAM@GOTPCREL(%rip), %rbx
	movq	_IFL_NOTFREE@GOTPCREL(%rip), %r8
	movq	_IFL_NOTTEAM@GOTPCREL(%rip), %r9
	jbe	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 24(%r13)
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r13), %edi
	movl	36(%r13), %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	%r10, %rbx
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	callq	_AAS_AreaTravelTimeToGoalArea
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	%rbx, %r10
	movq	_IFL_NOTTEAM@GOTPCREL(%rip), %r9
	movq	_IFL_NOTFREE@GOTPCREL(%rip), %r8
	movq	_GT_TEAM@GOTPCREL(%rip), %rbx
	movq	_IFL_NOTBOT@GOTPCREL(%rip), %rdi
	movq	_IFL_NOTSINGLE@GOTPCREL(%rip), %rsi
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_12 Depth=1
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
LBB0_36:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmovleq	%r13, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_37
LBB0_38:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	_qfalse@GOTPCREL(%rip), %r14
	je	LBB0_48
## %bb.39:
	movq	%r10, %r13
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r14
	movq	8(%rbx), %r12
	movl	36(%rbx), %edi
	movl	-108(%rbp), %esi
	callq	_VectorCopy
	leaq	(%r12,%r12,2), %r12
	movl	16(%r14,%r12,8), %edi
	movl	-112(%rbp), %esi
	callq	_VectorCopy
	movl	12(%r14,%r12,8), %edi
	movl	-116(%rbp), %esi
	callq	_VectorCopy
	movl	4(%rbx), %eax
	movl	%eax, -136(%rbp)
	movl	32(%rbx), %eax
	movl	%eax, -120(%rbp)
	movl	20(%rbx), %esi
	movl	%esi, -124(%rbp)
	movq	_GFL_ITEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -128(%rbp)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	_GFL_DROPPED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, -128(%rbp)
LBB0_41:
	movl	(%r13), %edx
	testl	%edx, (%rbx)
	je	LBB0_43
## %bb.42:
	movq	_GFL_ROAM@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, -128(%rbp)
LBB0_43:
	movl	8(%rbx), %ecx
	movl	%ecx, -132(%rbp)
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movq	_AVOID_DROPPED_TIME@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_47
LBB0_45:
	movss	8(%r14,%r12,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movq	_AVOID_DEFAULT_TIME@GOTPCREL(%rip), %rax
	xorps	%xmm1, %xmm1
	cmpneqss	%xmm0, %xmm1
	andps	%xmm1, %xmm0
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	andnps	%xmm2, %xmm1
	orps	%xmm0, %xmm1
	movq	_AVOID_MINIMUM_TIME@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_47
## %bb.46:
	movaps	%xmm1, %xmm0
LBB0_47:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%r15, %rdi
	callq	_BotAddToAvoidGoals
	leaq	-136(%rbp), %rsi
	movl	%ebx, %edi
	callq	_BotPushGoal
	movq	_qtrue@GOTPCREL(%rip), %r14
LBB0_48:
	movl	(%r14), %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_itemconfig,8,3                 ## @itemconfig
	.comm	_levelitems,8,3                 ## @levelitems
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_SINGLE_PLAYER,8,3           ## @GT_SINGLE_PLAYER
	.comm	_IFL_NOTSINGLE,4,2              ## @IFL_NOTSINGLE
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.comm	_IFL_NOTTEAM,4,2                ## @IFL_NOTTEAM
	.comm	_IFL_NOTFREE,4,2                ## @IFL_NOTFREE
	.comm	_IFL_NOTBOT,4,2                 ## @IFL_NOTBOT
	.comm	_IFL_ROAM,4,2                   ## @IFL_ROAM
	.comm	_TRAVELTIME_SCALE,4,2           ## @TRAVELTIME_SCALE
	.comm	_GFL_ITEM,4,2                   ## @GFL_ITEM
	.comm	_GFL_DROPPED,4,2                ## @GFL_DROPPED
	.comm	_GFL_ROAM,4,2                   ## @GFL_ROAM
	.comm	_AVOID_DROPPED_TIME,4,2         ## @AVOID_DROPPED_TIME
	.comm	_AVOID_DEFAULT_TIME,4,2         ## @AVOID_DEFAULT_TIME
	.comm	_AVOID_MINIMUM_TIME,4,2         ## @AVOID_MINIMUM_TIME
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_droppedweight,8,3              ## @droppedweight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChooseNBGItem               ; -- Begin function BotChooseNBGItem
	.p2align	2
_BotChooseNBGItem:                      ; @BotChooseNBGItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	fmov	s8, s0
	mov	x21, x4
	mov	x27, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	bl	_BotGoalStateFromHandle
	cbz	x0, LBB0_44
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_44
; %bb.2:
	ldr	w1, [x20, #20]
	mov	x0, x24
	bl	_BotReachabilityArea
	cbz	w0, LBB0_5
; %bb.3:
	mov	x25, x0
	bl	_AAS_AreaReachability
	cbz	w0, LBB0_5
; %bb.4:
	str	w25, [x20]
	b	LBB0_6
LBB0_5:
	ldr	w25, [x20]
	cbz	w25, LBB0_44
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	ldr	w2, [x21]
	mov	x0, x25
	mov	x1, x24
	mov	x3, x27
	bl	_AAS_AreaTravelTimeToGoalArea
	mov	x23, x0
	b	LBB0_9
LBB0_8:
	mov	w23, #34463
	movk	w23, #1, lsl #16
LBB0_9:
Lloh0:
	adrp	x8, _itemconfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _itemconfig@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cbz	x8, LBB0_44
; %bb.10:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_Com_Memset
Lloh3:
	adrp	x8, _levelitems@GOTPAGE
Lloh4:
	ldr	x8, [x8, _levelitems@GOTPAGEOFF]
Lloh5:
	ldr	x28, [x8]
	cbz	x28, LBB0_44
; %bb.11:
	str	w23, [sp]                       ; 4-byte Folded Spill
	stp	xzr, x22, [sp, #8]              ; 16-byte Folded Spill
	movi	d10, #0000000000000000
Lloh6:
	adrp	x26, _g_gametype@GOTPAGE
Lloh7:
	ldr	x26, [x26, _g_gametype@GOTPAGEOFF]
Lloh8:
	adrp	x23, _GT_SINGLE_PLAYER@GOTPAGE
Lloh9:
	ldr	x23, [x23, _GT_SINGLE_PLAYER@GOTPAGEOFF]
Lloh10:
	adrp	x11, _IFL_NOTSINGLE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IFL_NOTSINGLE@GOTPAGEOFF]
Lloh12:
	adrp	x12, _IFL_NOTBOT@GOTPAGE
Lloh13:
	ldr	x12, [x12, _IFL_NOTBOT@GOTPAGEOFF]
	mov	w13, #24
Lloh14:
	adrp	x22, _GT_TEAM@GOTPAGE
Lloh15:
	ldr	x22, [x22, _GT_TEAM@GOTPAGEOFF]
Lloh16:
	adrp	x14, _IFL_NOTFREE@GOTPAGE
Lloh17:
	ldr	x14, [x14, _IFL_NOTFREE@GOTPAGEOFF]
Lloh18:
	adrp	x15, _IFL_NOTTEAM@GOTPAGE
Lloh19:
	ldr	x15, [x15, _IFL_NOTTEAM@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x28]
	ldr	w9, [x11]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x28, [x28, #40]
	cbz	x28, LBB0_37
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26]
	ldr	x8, [x23]
	cmp	x9, x8
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x10, [x22]
	ldr	w8, [x28]
	cmp	x9, x10
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x14]
	tst	w9, w8
	b.ne	LBB0_13
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x15]
	tst	w9, w8
	b.ne	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x12]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x28, #4]
	cbz	w9, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x28, #32]
	cbnz	w9, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh20:
	adrp	x9, _IFL_ROAM@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IFL_ROAM@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x9, [x28, #8]
	ldr	x10, [x20, #8]
	mul	x9, x9, x13
	ldr	x8, [x8, x9]
	ldr	w2, [x10, x8, lsl #2]
	tbnz	w2, #31, LBB0_13
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [x20, #16]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_FuzzyWeight
	fmov	s9, s0
	ldr	w8, [x28]
Lloh23:
	adrp	x9, _IFL_ROAM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IFL_ROAM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	s0, [x28, #16]
	fmul	s9, s9, s0
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=1
	fcmp	s9, #0.0
	b.le	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w2, [x28, #4]
	mov	x0, x25
	mov	x1, x24
	str	w27, [sp, #4]                   ; 4-byte Folded Spill
	mov	x3, x27
	bl	_AAS_AreaTravelTimeToGoalArea
	cmp	w0, #1
	b.lt	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x27, x0
	scvtf	s11, w0
	fcmp	s11, s8
	b.pl	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w1, [x28, #20]
	mov	x0, x19
	bl	_BotAvoidGoalTime
	fcvt	d0, s0
	scvtf	d1, w27
	mov	x8, #57147
	movk	x8, #36175, lsl #16
	movk	x8, #28311, lsl #32
	movk	x8, #49026, lsl #48
	fmov	d2, x8
	fmadd	d0, d1, d2, d0
	fcmp	d0, #0.0
	b.le	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
LBB0_30:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh26:
	adrp	x11, _IFL_NOTSINGLE@GOTPAGE
Lloh27:
	ldr	x11, [x11, _IFL_NOTSINGLE@GOTPAGEOFF]
Lloh28:
	adrp	x12, _IFL_NOTBOT@GOTPAGE
Lloh29:
	ldr	x12, [x12, _IFL_NOTBOT@GOTPAGEOFF]
	mov	w13, #24
Lloh30:
	adrp	x14, _IFL_NOTFREE@GOTPAGE
Lloh31:
	ldr	x14, [x14, _IFL_NOTFREE@GOTPAGEOFF]
Lloh32:
	adrp	x15, _IFL_NOTTEAM@GOTPAGE
Lloh33:
	ldr	x15, [x15, _IFL_NOTTEAM@GOTPAGEOFF]
	b	LBB0_13
LBB0_31:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh34:
	adrp	x8, _TRAVELTIME_SCALE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TRAVELTIME_SCALE@GOTPAGEOFF]
Lloh36:
	ldr	s0, [x8]
	fmul	s0, s0, s11
	fdiv	s9, s9, s0
	fcmp	s9, s10
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
Lloh37:
	adrp	x11, _IFL_NOTSINGLE@GOTPAGE
Lloh38:
	ldr	x11, [x11, _IFL_NOTSINGLE@GOTPAGEOFF]
Lloh39:
	adrp	x12, _IFL_NOTBOT@GOTPAGE
Lloh40:
	ldr	x12, [x12, _IFL_NOTBOT@GOTPAGEOFF]
	mov	w13, #24
Lloh41:
	adrp	x14, _IFL_NOTFREE@GOTPAGE
Lloh42:
	ldr	x14, [x14, _IFL_NOTFREE@GOTPAGEOFF]
Lloh43:
	adrp	x15, _IFL_NOTTEAM@GOTPAGE
Lloh44:
	ldr	x15, [x15, _IFL_NOTTEAM@GOTPAGEOFF]
	b.le	LBB0_13
; %bb.32:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	x21, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x28, #24]
	cbz	x8, LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #0
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x28, #4]
	ldr	w1, [x28, #36]
	ldr	w2, [x21]
	mov	x3, x27
	bl	_AAS_AreaTravelTimeToGoalArea
Lloh45:
	adrp	x15, _IFL_NOTTEAM@GOTPAGE
Lloh46:
	ldr	x15, [x15, _IFL_NOTTEAM@GOTPAGEOFF]
Lloh47:
	adrp	x14, _IFL_NOTFREE@GOTPAGE
Lloh48:
	ldr	x14, [x14, _IFL_NOTFREE@GOTPAGEOFF]
	mov	w13, #24
Lloh49:
	adrp	x12, _IFL_NOTBOT@GOTPAGE
Lloh50:
	ldr	x12, [x12, _IFL_NOTBOT@GOTPAGEOFF]
Lloh51:
	adrp	x11, _IFL_NOTSINGLE@GOTPAGE
Lloh52:
	ldr	x11, [x11, _IFL_NOTSINGLE@GOTPAGEOFF]
LBB0_36:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	cmp	w0, w8
	fcsel	s10, s10, s9, gt
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	csel	x8, x8, x28, gt
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_13
LBB0_37:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x24, LBB0_44
; %bb.38:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x21, [x8]
	ldr	x22, [x24, #8]
	ldr	w0, [x24, #36]
	ldr	w1, [sp, #60]
	bl	_VectorCopy
	mov	w8, #24
	madd	x23, x22, x8, x21
	ldr	w0, [x23, #16]
	ldr	w1, [sp, #56]
	bl	_VectorCopy
	ldr	w0, [x23, #12]
	ldr	w1, [sp, #52]
	bl	_VectorCopy
	ldr	w8, [x24, #4]
	ldr	w9, [x24, #32]
	ldr	w1, [x24, #20]
	stp	w1, w9, [sp, #44]
Lloh53:
	adrp	x9, _GFL_ITEM@GOTPAGE
Lloh54:
	ldr	x9, [x9, _GFL_ITEM@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	str	w8, [sp, #32]
	str	w9, [sp, #40]
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_40
; %bb.39:
Lloh56:
	adrp	x10, _GFL_DROPPED@GOTPAGE
Lloh57:
	ldr	x10, [x10, _GFL_DROPPED@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [sp, #40]
LBB0_40:
	ldr	w10, [x24]
Lloh59:
	adrp	x11, _IFL_ROAM@GOTPAGE
Lloh60:
	ldr	x11, [x11, _IFL_ROAM@GOTPAGEOFF]
Lloh61:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_42
; %bb.41:
Lloh62:
	adrp	x10, _GFL_ROAM@GOTPAGE
Lloh63:
	ldr	x10, [x10, _GFL_ROAM@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [sp, #40]
LBB0_42:
	ldr	x9, [x24, #8]
	str	w9, [sp, #36]
	cbz	x8, LBB0_46
; %bb.43:
Lloh65:
	adrp	x8, _AVOID_DROPPED_TIME@GOTPAGE
Lloh66:
	ldr	x8, [x8, _AVOID_DROPPED_TIME@GOTPAGEOFF]
Lloh67:
	ldr	s0, [x8]
	b	LBB0_48
LBB0_44:
Lloh68:
	adrp	x8, _qfalse@GOTPAGE
Lloh69:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_45:
	ldr	w0, [x8]
	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
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_46:
	mov	w8, #24
	madd	x8, x22, x8, x21
	ldr	s0, [x8, #8]
Lloh70:
	adrp	x8, _AVOID_DEFAULT_TIME@GOTPAGE
Lloh71:
	ldr	x8, [x8, _AVOID_DEFAULT_TIME@GOTPAGEOFF]
Lloh72:
	ldr	s1, [x8]
	fcmp	s0, #0.0
	fcsel	s0, s0, s1, ne
Lloh73:
	adrp	x8, _AVOID_MINIMUM_TIME@GOTPAGE
Lloh74:
	ldr	x8, [x8, _AVOID_MINIMUM_TIME@GOTPAGEOFF]
Lloh75:
	ldr	s1, [x8]
	fcmp	s0, s1
	b.pl	LBB0_48
; %bb.47:
	fmov	s0, s1
LBB0_48:
	mov	x0, x20
	bl	_BotAddToAvoidGoals
	add	x1, sp, #32
	mov	x0, x19
	bl	_BotPushGoal
Lloh76:
	adrp	x8, _qtrue@GOTPAGE
Lloh77:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_45
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_itemconfig,8,3                 ; @itemconfig
	.comm	_levelitems,8,3                 ; @levelitems
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_SINGLE_PLAYER,8,3           ; @GT_SINGLE_PLAYER
	.comm	_IFL_NOTSINGLE,4,2              ; @IFL_NOTSINGLE
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.comm	_IFL_NOTTEAM,4,2                ; @IFL_NOTTEAM
	.comm	_IFL_NOTFREE,4,2                ; @IFL_NOTFREE
	.comm	_IFL_NOTBOT,4,2                 ; @IFL_NOTBOT
	.comm	_IFL_ROAM,4,2                   ; @IFL_ROAM
	.comm	_TRAVELTIME_SCALE,4,2           ; @TRAVELTIME_SCALE
	.comm	_GFL_ITEM,4,2                   ; @GFL_ITEM
	.comm	_GFL_DROPPED,4,2                ; @GFL_DROPPED
	.comm	_GFL_ROAM,4,2                   ; @GFL_ROAM
	.comm	_AVOID_DROPPED_TIME,4,2         ; @AVOID_DROPPED_TIME
	.comm	_AVOID_DEFAULT_TIME,4,2         ; @AVOID_DEFAULT_TIME
	.comm	_AVOID_MINIMUM_TIME,4,2         ; @AVOID_MINIMUM_TIME
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_droppedweight,8,3              ; @droppedweight
.subsections_via_symbols
