	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotWantsToChase                ## -- Begin function BotWantsToChase
	.p2align	4, 0x90
_BotWantsToChase:                       ## @BotWantsToChase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_CTF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_BotCTFCarryingFlag
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	(%rbx), %rdi
	leaq	-20(%rbp), %r14
	movq	%r14, %rsi
	callq	_BotEntityInfo
	movq	%r14, %rdi
	callq	_EntityCarriesFlag
	testq	%rax, %rax
	jne	LBB0_7
LBB0_4:
	movq	8(%rbx), %rax
	movq	_LTG_GETFLAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_BotAggression
	cmpl	$51, %eax
	jl	LBB0_8
LBB0_7:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_CTF,8,3                     ## @GT_CTF
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_LTG_GETFLAG,8,3                ## @LTG_GETFLAG
	.comm	_GT_1FCTF,8,3                   ## @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ## @GT_OBELISK
	.comm	_LTG_ATTACKENEMYBASE,8,3        ## @LTG_ATTACKENEMYBASE
	.comm	_blueobelisk,8,3                ## @blueobelisk
	.comm	_redobelisk,8,3                 ## @redobelisk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotWantsToChase                ; -- Begin function BotWantsToChase
	.p2align	2
_BotWantsToChase:                       ; @BotWantsToChase
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _gametype@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GT_CTF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GT_CTF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_BotCTFCarryingFlag
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x20, _qfalse@GOTPAGE
Lloh7:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	ldr	x0, [x19]
	add	x1, sp, #12
	bl	_BotEntityInfo
	add	x0, sp, #12
	bl	_EntityCarriesFlag
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x20, _qtrue@GOTPAGE
Lloh9:
	ldr	x20, [x20, _qtrue@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _LTG_GETFLAG@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LTG_GETFLAG@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x20, _qfalse@GOTPAGE
Lloh14:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_BotAggression
Lloh15:
	adrp	x8, _qtrue@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	cmp	w0, #50
	csel	x20, x8, x20, gt
LBB0_7:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_CTF,8,3                     ; @GT_CTF
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_LTG_GETFLAG,8,3                ; @LTG_GETFLAG
	.comm	_GT_1FCTF,8,3                   ; @GT_1FCTF
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.comm	_GT_OBELISK,8,3                 ; @GT_OBELISK
	.comm	_LTG_ATTACKENEMYBASE,8,3        ; @LTG_ATTACKENEMYBASE
	.comm	_blueobelisk,8,3                ; @blueobelisk
	.comm	_redobelisk,8,3                 ; @redobelisk
.subsections_via_symbols
