	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BotEnemyFlagCarrierVisible
LCPI0_0:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotEnemyFlagCarrierVisible
	.p2align	4, 0x90
_BotEnemyFlagCarrierVisible:            ## @BotEnemyFlagCarrierVisible
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_maxclients@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	movl	$-1, %eax
	jle	LBB0_12
## %bb.1:
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.2:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %ebx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_BotEntityInfo
	cmpl	$0, -48(%rbp)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_EntityCarriesFlag
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_BotSameTeam
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%r15), %edi
	movl	4(%r15), %edx
	movl	8(%r15), %esi
	movl	$360, %ecx                      ## imm = 0x168
	movl	%ebx, %r8d
	callq	_BotEntityVisible
	xorps	%xmm1, %xmm1
	ucomiss	%xmm0, %xmm1
	jb	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r14), %ebx
	jl	LBB0_3
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%ebx, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_maxclients,4,2                 ## @maxclients
	.comm	_MAX_CLIENTS,4,2                ## @MAX_CLIENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotEnemyFlagCarrierVisible     ; -- Begin function BotEnemyFlagCarrierVisible
	.p2align	2
_BotEnemyFlagCarrierVisible:            ; @BotEnemyFlagCarrierVisible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x21, _maxclients@GOTPAGE
Lloh1:
	ldr	x21, [x21, _maxclients@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _MAX_CLIENTS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MAX_CLIENTS@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, #1
	ccmp	w9, #1, #8, ge
	b.ge	LBB0_3
LBB0_1:
	mov	w20, #-1
LBB0_2:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_3:
	mov	x19, x0
	mov	w20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	ldr	w8, [x21]
	ldr	w9, [x22]
	cmp	w20, w8
	ccmp	w20, w9, #0, lt
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w20, w8
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_BotEntityInfo
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_EntityCarriesFlag
	cbz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_BotSameTeam
	cbnz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w1, w0, [x19, #8]
	ldr	w2, [x19, #4]
	mov	w3, #360
	mov	x4, x20
	bl	_BotEntityVisible
	fcmp	s0, #0.0
	b.ls	LBB0_4
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_maxclients,4,2                 ; @maxclients
	.comm	_MAX_CLIENTS,4,2                ; @MAX_CLIENTS
.subsections_via_symbols
