	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChat_StartLevel             ## -- Begin function BotChat_StartLevel
	.p2align	4, 0x90
_BotChat_StartLevel:                    ## @BotChat_StartLevel
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_bot_nochat@GOTPCREL(%rip), %rax
	movq	_qfalse@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	callq	_BotIsObserver
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	(%r14), %r15
	xorl	%eax, %eax
	callq	_FloatTime
	movq	_TIME_BETWEENCHATTING@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	cmpq	%rax, %r15
	jg	LBB0_10
## %bb.3:
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	12(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_trap_EA_Command
	jmp	LBB0_10
LBB0_5:
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.6:
	movl	16(%r14), %edi
	movq	_CHARACTERISTIC_CHAT_STARTENDLEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_trap_Characteristic_BFloat
	movq	_bot_fastchat@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	callq	_random
	ucomiss	-68(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	callq	_BotNumActivePlayers
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.9:
	movl	12(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$32, %edx
	callq	_EasyClientName
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_BotAI_BotInitialChat
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, (%r14)
	movq	_CHAT_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_qtrue@GOTPCREL(%rip), %rbx
LBB0_10:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_bot_nochat,8,3                 ## @bot_nochat
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_TIME_BETWEENCHATTING,8,3       ## @TIME_BETWEENCHATTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vtaunt"

	.comm	_gametype,8,3                   ## @gametype
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
	.comm	_CHARACTERISTIC_CHAT_STARTENDLEVEL,4,2 ## @CHARACTERISTIC_CHAT_STARTENDLEVEL
	.comm	_bot_fastchat,4,2               ## @bot_fastchat
L_.str.1:                               ## @.str.1
	.asciz	"level_start"

	.comm	_CHAT_ALL,4,2                   ## @CHAT_ALL
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChat_StartLevel             ; -- Begin function BotChat_StartLevel
	.p2align	2
_BotChat_StartLevel:                    ; @BotChat_StartLevel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _bot_nochat@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bot_nochat@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.1:
	mov	x19, x0
	bl	_BotIsObserver
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	x20, [x19]
	bl	_FloatTime
Lloh6:
	adrp	x8, _TIME_BETWEENCHATTING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIME_BETWEENCHATTING@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x8, x0, x8
	cmp	x20, x8
	b.gt	LBB0_9
; %bb.3:
	bl	_TeamPlayIsOn
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #12]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trap_EA_Command
	b	LBB0_9
LBB0_5:
Lloh11:
	adrp	x8, _gametype@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _GT_TOURNAMENT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.6:
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _CHARACTERISTIC_CHAT_STARTENDLEVEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CHARACTERISTIC_CHAT_STARTENDLEVEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #1
	bl	_trap_Characteristic_BFloat
Lloh20:
	adrp	x8, _bot_fastchat@GOTPAGE
Lloh21:
	ldr	x8, [x8, _bot_fastchat@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.7:
	fmov	s8, s0
	bl	_random
	fcmp	s0, s8
	b.gt	LBB0_9
LBB0_8:
	bl	_BotNumActivePlayers
	cmp	w0, #2
	b.ge	LBB0_12
LBB0_9:
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #32
	bl	_EasyClientName
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_BotAI_BotInitialChat
	bl	_FloatTime
	str	x0, [x19]
Lloh30:
	adrp	x8, _CHAT_ALL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CHAT_ALL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh33:
	adrp	x8, _qtrue@GOTPAGE
Lloh34:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_bot_nochat,8,3                 ; @bot_nochat
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_TIME_BETWEENCHATTING,8,3       ; @TIME_BETWEENCHATTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vtaunt"

	.comm	_gametype,8,3                   ; @gametype
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
	.comm	_CHARACTERISTIC_CHAT_STARTENDLEVEL,4,2 ; @CHARACTERISTIC_CHAT_STARTENDLEVEL
	.comm	_bot_fastchat,4,2               ; @bot_fastchat
l_.str.1:                               ; @.str.1
	.asciz	"level_start"

	.comm	_CHAT_ALL,4,2                   ; @CHAT_ALL
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
