	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function G_SayTo
_G_SayTo:                               ## @G_SayTo
	.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
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$0, 8(%rsi)
	je	LBB0_9
## %bb.2:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	%ecx, %r15d
	movq	8(%rax), %rax
	movq	_CON_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:
	movq	%r8, %r12
	movl	%edx, %r13d
	movq	%rdi, %r14
	movq	_SAY_TEAM@GOTPCREL(%rip), %rdx
	cmpl	%r13d, (%rdx)
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	callq	_OnSameTeam
	movq	_SAY_TEAM@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_9
LBB0_6:
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_TEAM_FREE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	(%r14), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_9
LBB0_10:
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$4, %rax
	subq	%rax, %rbx
	cmpl	%r13d, (%rdx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	_Q_COLOR_ESCAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	movl	%r15d, %r8d
	callq	_va
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_SendServerCommand         ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CON_CONNECTED,8,3              ## @CON_CONNECTED
	.comm	_SAY_TEAM,4,2                   ## @SAY_TEAM
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
	.comm	_TEAM_FREE,8,3                  ## @TEAM_FREE
	.comm	_g_entities,4,2                 ## @g_entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s \"%s%c%c%s\""

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

L_.str.2:                               ## @.str.2
	.asciz	"chat"

	.comm	_Q_COLOR_ESCAPE,4,2             ## @Q_COLOR_ESCAPE
	.no_dead_strip	_G_SayTo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function G_SayTo
_G_SayTo:                               ; @G_SayTo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_10
; %bb.1:
	mov	x23, x1
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_10
; %bb.2:
	ldr	x8, [x23]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	x8, [x8, #8]
Lloh0:
	adrp	x9, _CON_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CON_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x0
Lloh3:
	adrp	x25, _SAY_TEAM@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SAY_TEAM@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w2
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x23
	bl	_OnSameTeam
	cbz	w0, LBB0_10
LBB0_6:
Lloh5:
	adrp	x8, _g_gametype@GOTPAGE
Lloh6:
	ldr	x8, [x8, _g_gametype@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _GT_TOURNAMENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x23]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _TEAM_FREE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TEAM_FREE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	x9, [x24]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
LBB0_9:
Lloh14:
	adrp	x8, _g_entities@GOTPAGE
Lloh15:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	sub	x23, x23, x8, lsl #4
Lloh17:
	adrp	x8, l_.str.2@PAGE
Lloh18:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh19:
	adrp	x9, l_.str.1@PAGE
Lloh20:
	add	x9, x9, l_.str.1@PAGEOFF
	ldr	w10, [x25]
	cmp	w10, w22
	csel	x1, x9, x8, eq
Lloh21:
	adrp	x8, _Q_COLOR_ESCAPE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Q_COLOR_ESCAPE@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	mov	x4, x20
	mov	x5, x19
	bl	_va
	mov	x1, x0
	mov	x0, x23
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_trap_SendServerCommand
LBB0_10:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CON_CONNECTED,8,3              ; @CON_CONNECTED
	.comm	_SAY_TEAM,4,2                   ; @SAY_TEAM
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
	.comm	_TEAM_FREE,8,3                  ; @TEAM_FREE
	.comm	_g_entities,4,2                 ; @g_entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s \"%s%c%c%s\""

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

l_.str.2:                               ; @.str.2
	.asciz	"chat"

	.comm	_Q_COLOR_ESCAPE,4,2             ; @Q_COLOR_ESCAPE
	.no_dead_strip	_G_SayTo
.subsections_via_symbols
