	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChat_EndLevel               ## -- Begin function BotChat_EndLevel
	.p2align	4, 0x90
_BotChat_EndLevel:                      ## @BotChat_EndLevel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_bot_nochat@GOTPCREL(%rip), %rax
	movq	_qfalse@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rax)
	jne	LBB0_16
## %bb.1:
	movq	%rdi, %r13
	callq	_BotIsObserver
	testq	%rax, %rax
	jne	LBB0_16
## %bb.2:
	movq	(%r13), %r14
	xorl	%eax, %eax
	callq	_FloatTime
	movq	_TIME_BETWEENCHATTING@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	cmpq	%rax, %r14
	jg	LBB0_16
## %bb.3:
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_BotIsFirstInRankings
	movq	_qtrue@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:
	movl	12(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_trap_EA_Command
	jmp	LBB0_16
LBB0_6:
	movq	_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.7:
	movl	16(%r13), %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_9
## %bb.8:
	xorl	%eax, %eax
	movss	%xmm0, -84(%rbp)                ## 4-byte Spill
	callq	_random
	ucomiss	-84(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_16
LBB0_9:
	xorl	%eax, %eax
	callq	_BotNumActivePlayers
	cmpl	$2, %eax
	jl	LBB0_16
## %bb.10:
	movq	%r13, %rdi
	callq	_BotIsFirstInRankings
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	12(%r13), %edi
	leaq	-80(%rbp), %rsi
	movl	$32, %edx
	callq	_EasyClientName
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_BotRandomOpponentName
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_BotLastClientInRankings
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_BotMapTitle
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %r8
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movq	%r12, %r9
	jmp	LBB0_15
LBB0_12:
	movq	%r13, %rdi
	callq	_BotIsLastInRankings
	movq	%rax, %rbx
	movl	12(%r13), %edi
	leaq	-80(%rbp), %rsi
	movl	$32, %edx
	callq	_EasyClientName
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_BotRandomOpponentName
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_BotFirstClientInRankings
	movq	%rax, %r12
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:
	callq	_BotMapTitle
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.2(%rip), %r9
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movq	%r12, %r8
	jmp	LBB0_15
LBB0_14:
	callq	_BotLastClientInRankings
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_BotMapTitle
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movq	%r12, %r8
	movq	%rbx, %r9
LBB0_15:
	pushq	$0
	pushq	%rax
	callq	_BotAI_BotInitialChat
	addq	$16, %rsp
	xorl	%eax, %eax
	callq	_FloatTime
	movq	%rax, (%r13)
	movq	_CHAT_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_qtrue@GOTPCREL(%rip), %rbx
LBB0_16:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	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	_qtrue,4,2                      ## @qtrue
	.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_end_victory"

L_.str.2:                               ## @.str.2
	.asciz	"[invalid var]"

L_.str.3:                               ## @.str.3
	.asciz	"level_end_lose"

L_.str.4:                               ## @.str.4
	.asciz	"level_end"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotChat_EndLevel               ; -- Begin function BotChat_EndLevel
	.p2align	2
_BotChat_EndLevel:                      ; @BotChat_EndLevel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
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_3
; %bb.1:
	mov	x19, x0
	bl	_BotIsObserver
	cbnz	x0, LBB0_3
; %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.le	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _qfalse@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	bl	_TeamPlayIsOn
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_BotIsFirstInRankings
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x19, #12]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trap_EA_Command
LBB0_9:
Lloh16:
	adrp	x8, _qtrue@GOTPAGE
Lloh17:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
Lloh18:
	adrp	x8, _gametype@GOTPAGE
Lloh19:
	ldr	x8, [x8, _gametype@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _GT_TOURNAMENT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.11:
	ldr	w0, [x19, #16]
Lloh24:
	adrp	x8, _CHARACTERISTIC_CHAT_STARTENDLEVEL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CHARACTERISTIC_CHAT_STARTENDLEVEL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #1
	bl	_trap_Characteristic_BFloat
Lloh27:
	adrp	x8, _bot_fastchat@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bot_fastchat@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cbnz	w8, LBB0_13
; %bb.12:
	fmov	s8, s0
	bl	_random
	fcmp	s0, s8
	b.gt	LBB0_3
LBB0_13:
	bl	_BotNumActivePlayers
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.14:
	mov	x0, x19
	bl	_BotIsFirstInRankings
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #32
	bl	_EasyClientName
	mov	x20, x0
	mov	x0, x19
	bl	_BotRandomOpponentName
	mov	x21, x0
	bl	_BotLastClientInRankings
	mov	x22, x0
	bl	_BotMapTitle
	mov	x6, x0
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh32:
	adrp	x4, l_.str.2@PAGE
Lloh33:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x5, x22
	b	LBB0_19
LBB0_16:
	mov	x0, x19
	bl	_BotIsLastInRankings
	mov	x23, x0
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	mov	w2, #32
	bl	_EasyClientName
	mov	x20, x0
	mov	x0, x19
	bl	_BotRandomOpponentName
	mov	x21, x0
	bl	_BotFirstClientInRankings
	mov	x22, x0
	cbz	x23, LBB0_18
; %bb.17:
	bl	_BotMapTitle
	mov	x6, x0
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh36:
	adrp	x5, l_.str.2@PAGE
Lloh37:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	b	LBB0_19
LBB0_18:
	bl	_BotLastClientInRankings
	mov	x23, x0
	bl	_BotMapTitle
	mov	x6, x0
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
LBB0_19:
	mov	x7, #0
	bl	_BotAI_BotInitialChat
	bl	_FloatTime
	str	x0, [x19]
Lloh40:
	adrp	x8, _CHAT_ALL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _CHAT_ALL@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_9
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.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	_qtrue,4,2                      ; @qtrue
	.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_end_victory"

l_.str.2:                               ; @.str.2
	.asciz	"[invalid var]"

l_.str.3:                               ; @.str.3
	.asciz	"level_end_lose"

l_.str.4:                               ; @.str.4
	.asciz	"level_end"

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