	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function BotTeamAI
LCPI0_0:
	.quad	0x3fd999999999999a              ## double 0.40000000000000002
LCPI0_1:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BotTeamAI
	.p2align	4, 0x90
_BotTeamAI:                             ## @BotTeamAI
	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NETNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_gametype@GOTPCREL(%rip), %rbx
	cmpl	$128, (%rbx)
	jl	LBB0_34
## %bb.1:
	movq	%r15, %rdi
	callq	_BotValidTeamLeader
	testl	%eax, %eax
	jne	LBB0_14
## %bb.2:
	movq	%r15, %rdi
	callq	_FindHumanTeamLeader
	testl	%eax, %eax
	je	LBB0_3
LBB0_14:
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%r15)
	movl	80(%r15), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_ClientName
	movq	24(%r15), %rsi
	movq	%r14, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_15
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.35:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r15, %rdi
	callq	_BotNumTeamMates
	movl	%eax, %r12d
	movl	(%rbx), %eax
	cmpl	$131, %eax
	je	LBB0_24
## %bb.16:
	cmpl	$128, %eax
	jne	LBB0_34
## %bb.17:
	cmpl	%r12d, 32(%r15)
	jne	LBB0_20
## %bb.18:
	cmpq	$0, 56(%r15)
	je	LBB0_19
LBB0_20:
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, %r14
	movq	%rax, 40(%r15)
	movl	%r12d, 32(%r15)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r15)
	testq	%r14, %r14
	je	LBB0_34
LBB0_22:
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$-5, %rax
	cmpq	%rax, %r14
	jge	LBB0_34
## %bb.23:
	movq	%r15, %rdi
	callq	_BotTeamOrders
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$120, %rax
	movq	%rax, 40(%r15)
	jmp	LBB0_34
LBB0_3:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_9:
	xorl	%eax, %eax
	callq	_FloatTime
	cmpq	%rax, %rbx
	jge	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_BotAI_BotInitialChat
	movl	84(%r15), %edi
	movq	_CHAT_TEAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_trap_BotEnterChat
	movq	$0, (%r15)
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$8, %rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_random
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %rax
	movq	%rax, 8(%r15)
	jmp	LBB0_11
LBB0_24:
	cmpl	%r12d, 32(%r15)
	jne	LBB0_27
## %bb.25:
	cmpq	$0, 72(%r15)
	jne	LBB0_27
## %bb.26:
	cmpq	$0, 56(%r15)
	je	LBB0_28
LBB0_27:
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, 40(%r15)
	movl	%r12d, 32(%r15)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	%rax, 56(%r15)
LBB0_28:
	movq	48(%r15), %rbx
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$-240, %rax
	cmpq	%rax, %rbx
	jge	LBB0_31
## %bb.29:
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, 48(%r15)
	xorl	%eax, %eax
	callq	_random
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_31
## %bb.30:
	movq	_CTFS_AGRESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 64(%r15)
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, 40(%r15)
LBB0_31:
	movq	40(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.32:
	xorl	%eax, %eax
	callq	_FloatTime
	addq	$-3, %rax
	cmpq	%rax, %rbx
	jge	LBB0_34
## %bb.33:
	movq	%r15, %rdi
	callq	_BotCTFOrders
	movq	$0, 40(%r15)
	jmp	LBB0_34
LBB0_4:
	cmpq	$0, 8(%r15)
	je	LBB0_5
LBB0_11:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.12:
	xorl	%eax, %eax
	callq	_FloatTime
	cmpq	%rax, %rbx
	jge	LBB0_34
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_BotAI_BotInitialChat
	movl	84(%r15), %edi
	movq	_CHAT_TEAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_trap_BotEnterChat
	movq	_VOICECHAT_STARTLEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_BotSayVoiceTeamOrder
	movl	80(%r15), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_ClientName
	movq	24(%r15), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strncpy
	movq	24(%r15), %rax
	movb	$0, 8(%rax)
	movq	$0, 8(%r15)
	jmp	LBB0_34
LBB0_19:
	movq	40(%r15), %r14
	testq	%r14, %r14
	jne	LBB0_22
	jmp	LBB0_34
LBB0_5:
	movq	16(%r15), %rax
	addq	$10, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, %r13
	addq	$5, %r13
	xorl	%eax, %eax
	callq	_random
	cvtsi2sd	%r13, %xmm1
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	jle	LBB0_7
## %bb.6:
	movq	%rbx, (%r15)
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, 8(%r15)
	movq	(%r15), %rbx
LBB0_8:
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NETNAME,4,2                ## @MAX_NETNAME
	.comm	_gametype,4,2                   ## @gametype
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"whoisteamleader"

	.comm	_CHAT_TEAM,4,2                  ## @CHAT_TEAM
L_.str.1:                               ## @.str.1
	.asciz	"iamteamleader"

	.comm	_VOICECHAT_STARTLEADER,4,2      ## @VOICECHAT_STARTLEADER
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_CTFS_AGRESSIVE,4,2             ## @CTFS_AGRESSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotTeamAI                      ; -- Begin function BotTeamAI
	.p2align	2
_BotTeamAI:                             ; @BotTeamAI
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_NETNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NETNAME@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x22, _gametype@GOTPAGE
Lloh9:
	ldr	x22, [x22, _gametype@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #128
	b.lt	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_BotValidTeamLeader
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_FindHumanTeamLeader
	cbz	w0, LBB0_13
LBB0_3:
	stp	xzr, xzr, [x19]
	ldr	w0, [x19, #80]
	mov	x1, x20
	mov	x2, x21
	bl	_ClientName
	ldr	x1, [x19, #24]
	mov	x0, x20
	bl	_Q_stricmp
	cbz	x0, LBB0_6
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_BotNumTeamMates
	mov	x20, x0
	ldr	w8, [x22]
	cmp	w8, #131
	b.eq	LBB0_16
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.8:
	ldr	w8, [x19, #32]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_30
LBB0_10:
	bl	_FloatTime
	mov	x21, x0
	str	x0, [x19, #40]
	str	w20, [x19, #32]
Lloh13:
	adrp	x8, _qfalse@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	cbz	x21, LBB0_4
LBB0_11:
	bl	_FloatTime
	sub	x8, x0, #5
	cmp	x21, x8
	b.ge	LBB0_4
; %bb.12:
	mov	x0, x19
	bl	_BotTeamOrders
	bl	_FloatTime
	add	x8, x0, #120
	str	x8, [x19, #40]
	b	LBB0_4
LBB0_13:
	ldr	x23, [x19]
	cbz	x23, LBB0_26
LBB0_14:
	bl	_FloatTime
	cmp	x23, x0
	b.ge	LBB0_27
; %bb.15:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_BotAI_BotInitialChat
	ldr	w0, [x19, #84]
Lloh18:
	adrp	x8, _CHAT_TEAM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHAT_TEAM@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_trap_BotEnterChat
	str	xzr, [x19]
	bl	_FloatTime
	add	x8, x0, #8
	scvtf	d8, x8
	bl	_random
	fmov	d1, #10.00000000
	fmadd	d0, d0, d1, d8
	fcvtzs	x8, d0
	str	x8, [x19, #8]
	b	LBB0_27
LBB0_16:
	ldr	w8, [x19, #32]
	cmp	w8, w20
	b.ne	LBB0_19
; %bb.17:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_20
LBB0_19:
	bl	_FloatTime
	str	x0, [x19, #40]
	str	w20, [x19, #32]
Lloh21:
	adrp	x8, _qfalse@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x19, #72]
	str	x8, [x19, #56]
LBB0_20:
	ldr	x20, [x19, #48]
	bl	_FloatTime
	sub	x8, x0, #240
	cmp	x20, x8
	b.ge	LBB0_23
; %bb.21:
	bl	_FloatTime
	str	x0, [x19, #48]
	bl	_random
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16345, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_23
; %bb.22:
Lloh24:
	adrp	x8, _CTFS_AGRESSIVE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CTFS_AGRESSIVE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x19, #64]
	eor	w8, w9, w8
	str	w8, [x19, #64]
	bl	_FloatTime
	str	x0, [x19, #40]
LBB0_23:
	ldr	x20, [x19, #40]
	cbz	x20, LBB0_4
; %bb.24:
	bl	_FloatTime
	sub	x8, x0, #3
	cmp	x20, x8
	b.ge	LBB0_4
; %bb.25:
	mov	x0, x19
	bl	_BotCTFOrders
	str	xzr, [x19, #40]
	b	LBB0_4
LBB0_26:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_31
LBB0_27:
	ldr	x22, [x19, #8]
	cbz	x22, LBB0_4
; %bb.28:
	bl	_FloatTime
	cmp	x22, x0
	b.ge	LBB0_4
; %bb.29:
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_BotAI_BotInitialChat
	ldr	w0, [x19, #84]
Lloh29:
	adrp	x8, _CHAT_TEAM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CHAT_TEAM@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_trap_BotEnterChat
Lloh32:
	adrp	x8, _VOICECHAT_STARTLEADER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VOICECHAT_STARTLEADER@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_BotSayVoiceTeamOrder
	ldr	w0, [x19, #80]
	mov	x1, x20
	mov	x2, x21
	bl	_ClientName
	ldr	x0, [x19, #24]
	mov	x1, x20
	mov	w2, #8
	bl	_strncpy
	ldr	x8, [x19, #24]
	strb	wzr, [x8, #8]
	str	xzr, [x19, #8]
	b	LBB0_4
LBB0_30:
	ldr	x21, [x19, #40]
	cbnz	x21, LBB0_11
	b	LBB0_4
LBB0_31:
	ldr	x8, [x19, #16]
	add	x24, x8, #10
	bl	_FloatTime
	mov	x22, x0
	bl	_FloatTime
	add	x8, x0, #5
	scvtf	d8, x8
	bl	_random
	fmov	d1, #10.00000000
	fmadd	d0, d0, d1, d8
	fcvtzs	x23, d0
	cmp	x24, x22
	b.le	LBB0_33
; %bb.32:
	str	x23, [x19]
	b	LBB0_34
LBB0_33:
	str	x23, [x19, #8]
	ldr	x23, [x19]
LBB0_34:
	cbnz	x23, LBB0_14
	b	LBB0_27
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NETNAME,4,2                ; @MAX_NETNAME
	.comm	_gametype,4,2                   ; @gametype
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"whoisteamleader"

	.comm	_CHAT_TEAM,4,2                  ; @CHAT_TEAM
l_.str.1:                               ; @.str.1
	.asciz	"iamteamleader"

	.comm	_VOICECHAT_STARTLEADER,4,2      ; @VOICECHAT_STARTLEADER
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_CTFS_AGRESSIVE,4,2             ; @CTFS_AGRESSIVE
.subsections_via_symbols
