	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotWantsToCamp
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x43960000                      ## float 300
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotWantsToCamp
	.p2align	4, 0x90
_BotWantsToCamp:                        ## @BotWantsToCamp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	36(%rdi), %edi
	movq	_CHARACTERISTIC_CAMPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_trap_Characteristic_BFloat
	cvtss2sd	%xmm0, %xmm2
	movq	_qfalse@GOTPCREL(%rip), %r15
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm2, %xmm1
	jbe	LBB0_1
LBB0_27:
	movl	(%r15), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r14), %rax
	movq	_LTG_TEAMHELP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.2:
	movq	_LTG_TEAMACCOMPANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.3:
	movq	_LTG_DEFENDKEYAREA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.4:
	movq	_LTG_GETFLAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.5:
	movq	_LTG_RUSHBASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.6:
	movq	_LTG_CAMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.7:
	movq	_LTG_CAMPORDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.8:
	movq	_LTG_PATROL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_27
## %bb.9:
	xorps	%xmm1, %xmm1
	cvtsi2ssl	8(%r14), %xmm1
	movss	%xmm1, -60(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	callq	_FloatTime
	movss	-52(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	addl	$-60, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm1
	mulss	LCPI0_2(%rip), %xmm1
	addss	%xmm0, %xmm1
	movss	-60(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_27
## %bb.10:
	xorl	%eax, %eax
	callq	_random
	ucomiss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_FloatTime
	movl	%eax, 8(%r14)
	jmp	LBB0_27
LBB0_12:
	movq	%r14, %rdi
	callq	_BotAggression
	cmpl	$50, %eax
	jl	LBB0_27
## %bb.13:
	movq	16(%r14), %rax
	movq	_INVENTORY_ROCKETLAUNCHER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_15
## %bb.14:
	movq	_INVENTORY_ROCKETS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	$10, (%rcx)
	setl	%dl
	cmpl	$0, (%rax,%rdx,4)
	je	LBB0_19
LBB0_15:
	movq	_INVENTORY_RAILGUN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_17
## %bb.16:
	movq	_INVENTORY_SLUGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$9, (%rax,%rcx,4)
	jg	LBB0_19
LBB0_17:
	movq	_INVENTORY_BFG10K@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_27
## %bb.18:
	movq	_INVENTORY_BFGAMMO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$10, (%rax,%rcx,4)
	jl	LBB0_27
LBB0_19:
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	callq	_trap_BotGetNextCampSpotGoal
	testl	%eax, %eax
	je	LBB0_27
## %bb.20:
	movl	%eax, %r13d
	movl	$99999, %r12d                   ## imm = 0x1869F
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%r13d, %edi
	leaq	-48(%rbp), %rsi
	callq	_trap_BotGetNextCampSpotGoal
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	28(%r14), %esi
	movl	32(%r14), %edi
	movl	-48(%rbp), %edx
	movq	_TFL_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_trap_AAS_AreaTravelTimeToGoalArea
	testl	%eax, %eax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, %ebx
	cmpl	%r12d, %eax
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	%ebx, %r12d
	jmp	LBB0_24
LBB0_25:
	cmpl	$150, %r12d
	jg	LBB0_27
## %bb.26:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_BotGoCamp
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_qtrue@GOTPCREL(%rip), %r15
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_CHARACTERISTIC_CAMPER,4,2      ## @CHARACTERISTIC_CAMPER
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_LTG_TEAMHELP,8,3               ## @LTG_TEAMHELP
	.comm	_LTG_TEAMACCOMPANY,8,3          ## @LTG_TEAMACCOMPANY
	.comm	_LTG_DEFENDKEYAREA,8,3          ## @LTG_DEFENDKEYAREA
	.comm	_LTG_GETFLAG,8,3                ## @LTG_GETFLAG
	.comm	_LTG_RUSHBASE,8,3               ## @LTG_RUSHBASE
	.comm	_LTG_CAMP,8,3                   ## @LTG_CAMP
	.comm	_LTG_CAMPORDER,8,3              ## @LTG_CAMPORDER
	.comm	_LTG_PATROL,8,3                 ## @LTG_PATROL
	.comm	_INVENTORY_ROCKETLAUNCHER,8,3   ## @INVENTORY_ROCKETLAUNCHER
	.comm	_INVENTORY_ROCKETS,4,2          ## @INVENTORY_ROCKETS
	.comm	_INVENTORY_RAILGUN,8,3          ## @INVENTORY_RAILGUN
	.comm	_INVENTORY_SLUGS,8,3            ## @INVENTORY_SLUGS
	.comm	_INVENTORY_BFG10K,8,3           ## @INVENTORY_BFG10K
	.comm	_INVENTORY_BFGAMMO,8,3          ## @INVENTORY_BFGAMMO
	.comm	_TFL_DEFAULT,4,2                ## @TFL_DEFAULT
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotWantsToCamp                 ; -- Begin function BotWantsToCamp
	.p2align	2
_BotWantsToCamp:                        ; @BotWantsToCamp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x0
	ldr	w0, [x0, #36]
Lloh0:
	adrp	x8, _CHARACTERISTIC_CAMPER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHARACTERISTIC_CAMPER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #1
	bl	_trap_Characteristic_BFloat
	fmov	s8, s0
	fcvt	d0, s0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.mi	LBB0_13
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _LTG_TEAMHELP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LTG_TEAMHELP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x20, _qfalse@GOTPAGE
Lloh7:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.2:
Lloh8:
	adrp	x9, _LTG_TEAMACCOMPANY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LTG_TEAMACCOMPANY@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.3:
Lloh11:
	adrp	x9, _LTG_DEFENDKEYAREA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LTG_DEFENDKEYAREA@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.4:
Lloh14:
	adrp	x9, _LTG_GETFLAG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LTG_GETFLAG@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.5:
Lloh17:
	adrp	x9, _LTG_RUSHBASE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LTG_RUSHBASE@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.6:
Lloh20:
	adrp	x9, _LTG_CAMP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LTG_CAMP@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.7:
Lloh23:
	adrp	x9, _LTG_CAMPORDER@GOTPAGE
Lloh24:
	ldr	x9, [x9, _LTG_CAMPORDER@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.8:
Lloh26:
	adrp	x9, _LTG_PATROL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _LTG_PATROL@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.9:
	ldr	s0, [x19, #8]
	scvtf	s9, s0
	bl	_FloatTime
	sub	w8, w0, #60
	scvtf	s0, w8
	fmov	s1, #1.00000000
	fsub	s1, s1, s8
	mov	w8, #1133903872
	fmov	s2, w8
	fmadd	s0, s1, s2, s0
	fcmp	s0, s9
	b.mi	LBB0_13
; %bb.10:
	bl	_random
	fcmp	s0, s8
	b.le	LBB0_12
; %bb.11:
	bl	_FloatTime
	str	w0, [x19, #8]
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_BotAggression
	cmp	w0, #50
	b.ge	LBB0_15
LBB0_13:
Lloh29:
	adrp	x20, _qfalse@GOTPAGE
Lloh30:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x20]
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	ldr	x8, [x19, #16]
Lloh31:
	adrp	x9, _INVENTORY_ROCKETLAUNCHER@GOTPAGE
Lloh32:
	ldr	x9, [x9, _INVENTORY_ROCKETLAUNCHER@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.16:
Lloh34:
	adrp	x9, _INVENTORY_ROCKETS@GOTPAGE
Lloh35:
	ldr	x9, [x9, _INVENTORY_ROCKETS@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w9, #10
	cset	w9, lt
	ldr	w9, [x8, w9, uxtw #2]
	cbz	w9, LBB0_21
LBB0_17:
Lloh37:
	adrp	x9, _INVENTORY_RAILGUN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _INVENTORY_RAILGUN@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.18:
Lloh40:
	adrp	x9, _INVENTORY_SLUGS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _INVENTORY_SLUGS@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #9
	b.gt	LBB0_21
LBB0_19:
Lloh43:
	adrp	x9, _INVENTORY_BFG10K@GOTPAGE
Lloh44:
	ldr	x9, [x9, _INVENTORY_BFG10K@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.20:
Lloh46:
	adrp	x9, _INVENTORY_BFGAMMO@GOTPAGE
Lloh47:
	ldr	x9, [x9, _INVENTORY_BFGAMMO@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #10
	b.lt	LBB0_13
LBB0_21:
	add	x1, sp, #8
	mov	w0, #0
	bl	_trap_BotGetNextCampSpotGoal
	cbz	w0, LBB0_13
; %bb.22:
	mov	x20, x0
	mov	w23, #34463
	movk	w23, #1, lsl #16
Lloh49:
	adrp	x22, _TFL_DEFAULT@GOTPAGE
Lloh50:
	ldr	x22, [x22, _TFL_DEFAULT@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_trap_BotGetNextCampSpotGoal
	mov	x20, x0
	cbz	w0, LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x19, #28]
	ldr	w2, [sp, #8]
	ldr	w3, [x22]
	bl	_trap_AAS_AreaTravelTimeToGoalArea
	cmp	w0, #0
	ccmp	w0, w23, #0, ne
	b.ge	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x21, x0
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	mov	x23, x21
	b	LBB0_23
LBB0_26:
Lloh51:
	adrp	x20, _qfalse@GOTPAGE
Lloh52:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	cmp	w23, #150
	b.gt	LBB0_14
; %bb.27:
	mov	x1, sp
	mov	x0, x19
	bl	_BotGoCamp
	ldr	w8, [x20]
	str	w8, [x19, #24]
Lloh53:
	adrp	x20, _qtrue@GOTPAGE
Lloh54:
	ldr	x20, [x20, _qtrue@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_CHARACTERISTIC_CAMPER,4,2      ; @CHARACTERISTIC_CAMPER
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_LTG_TEAMHELP,8,3               ; @LTG_TEAMHELP
	.comm	_LTG_TEAMACCOMPANY,8,3          ; @LTG_TEAMACCOMPANY
	.comm	_LTG_DEFENDKEYAREA,8,3          ; @LTG_DEFENDKEYAREA
	.comm	_LTG_GETFLAG,8,3                ; @LTG_GETFLAG
	.comm	_LTG_RUSHBASE,8,3               ; @LTG_RUSHBASE
	.comm	_LTG_CAMP,8,3                   ; @LTG_CAMP
	.comm	_LTG_CAMPORDER,8,3              ; @LTG_CAMPORDER
	.comm	_LTG_PATROL,8,3                 ; @LTG_PATROL
	.comm	_INVENTORY_ROCKETLAUNCHER,8,3   ; @INVENTORY_ROCKETLAUNCHER
	.comm	_INVENTORY_ROCKETS,4,2          ; @INVENTORY_ROCKETS
	.comm	_INVENTORY_RAILGUN,8,3          ; @INVENTORY_RAILGUN
	.comm	_INVENTORY_SLUGS,8,3            ; @INVENTORY_SLUGS
	.comm	_INVENTORY_BFG10K,8,3           ; @INVENTORY_BFG10K
	.comm	_INVENTORY_BFGAMMO,8,3          ; @INVENTORY_BFGAMMO
	.comm	_TFL_DEFAULT,4,2                ; @TFL_DEFAULT
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
