	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotNearbyGoal
LCPI0_0:
	.long	0x42480000                      ## float 50
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotNearbyGoal
	.p2align	4, 0x90
_BotNearbyGoal:                         ## @BotNearbyGoal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	callq	_BotGoForAir
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_BotCTFCarryingFlag
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	16(%rbx), %edi
	movl	4(%rbx), %esi
	movl	12(%rbx), %edx
	movq	_TFL_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_trap_AAS_AreaTravelTimeToGoalArea
	cmpl	$300, %eax                      ## imm = 0x12C
	jl	LBB0_3
LBB0_4:
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_5
LBB0_3:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_5:
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%r15d, %ecx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_BotChooseNBGItem          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_TFL_DEFAULT,4,2                ## @TFL_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotNearbyGoal                  ; -- Begin function BotNearbyGoal
	.p2align	2
_BotNearbyGoal:                         ; @BotNearbyGoal
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	fmov	s8, s0
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_BotGoForAir
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _qtrue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x21
	bl	_BotCTFCarryingFlag
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x21, #4]
	ldp	w2, w0, [x21, #12]
Lloh3:
	adrp	x8, _TFL_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TFL_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_trap_AAS_AreaTravelTimeToGoalArea
	cmp	w0, #300
	mov	w8, #1112014848
	fmov	s0, w8
	fcsel	s8, s0, s8, lt
LBB0_4:
	ldp	w1, w0, [x21, #4]
	ldr	w2, [x21]
	mov	x3, x20
	mov	x4, x19
	fmov	s0, s8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_trap_BotChooseNBGItem
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_TFL_DEFAULT,4,2                ; @TFL_DEFAULT
.subsections_via_symbols
