	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_WhichTeam             ## -- Begin function BotMatch_WhichTeam
	.p2align	4, 0x90
_BotMatch_WhichTeam:                    ## @BotMatch_WhichTeam
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_TeamPlayIsOn
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BotAddressedToBot
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	8(%r14), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movslq	8(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_BotAI_BotInitialChat
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_BotAI_BotInitialChat
LBB0_5:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	_CHAT_TEAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_BotEnterChat              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inteam"

L_.str.1:                               ## @.str.1
	.asciz	"noteam"

	.comm	_CHAT_TEAM,4,2                  ## @CHAT_TEAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotMatch_WhichTeam             ; -- Begin function BotMatch_WhichTeam
	.p2align	2
_BotMatch_WhichTeam:                    ; @BotMatch_WhichTeam
	.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	x20, x1
	mov	x19, x0
	bl	_TeamPlayIsOn
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_BotAddressedToBot
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_strlen
	cbz	x0, LBB0_5
; %bb.3:
	ldrsw	x2, [x19, #8]
	str	xzr, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
LBB0_6:
	bl	_BotAI_BotInitialChat
	ldp	w1, w0, [x19]
Lloh4:
	adrp	x8, _CHAT_TEAM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CHAT_TEAM@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_trap_BotEnterChat
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inteam"

l_.str.1:                               ; @.str.1
	.asciz	"noteam"

	.comm	_CHAT_TEAM,4,2                  ; @CHAT_TEAM
.subsections_via_symbols
