	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function G_VoiceTo
_G_VoiceTo:                             ## @G_VoiceTo
	.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:
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.3:
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rdi, %r12
	movq	_SAY_TEAM@GOTPCREL(%rip), %rdx
	cmpl	%r13d, (%rdx)
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_OnSameTeam
	movq	_SAY_TEAM@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GT_TOURNAMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_SAY_TELL@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	_COLOR_GREEN@GOTPCREL(%rip), %rax
	cmoveq	_COLOR_MAGENTA@GOTPCREL(%rip), %rax
	cmoveq	%rcx, %rsi
	cmpl	%r13d, (%rdx)
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	_COLOR_CYAN@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r8d
	movq	_g_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	negq	%rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,4), %rbx
	movl	(%r12), %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %edx
	movq	%r14, %r9
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_SAY_TEAM,4,2                   ## @SAY_TEAM
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ## @GT_TOURNAMENT
	.comm	_COLOR_CYAN,4,2                 ## @COLOR_CYAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vtchat"

	.comm	_SAY_TELL,4,2                   ## @SAY_TELL
	.comm	_COLOR_MAGENTA,4,2              ## @COLOR_MAGENTA
L_.str.1:                               ## @.str.1
	.asciz	"vtell"

	.comm	_COLOR_GREEN,4,2                ## @COLOR_GREEN
L_.str.2:                               ## @.str.2
	.asciz	"vchat"

	.comm	_g_entities,4,2                 ## @g_entities
L_.str.3:                               ## @.str.3
	.asciz	"%s %d %d %d %s"

	.no_dead_strip	_G_VoiceTo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function G_VoiceTo
_G_VoiceTo:                             ; @G_VoiceTo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x22, x1
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x20, x4
	mov	x19, x3
	mov	x23, x2
	mov	x21, x0
Lloh0:
	adrp	x24, _SAY_TEAM@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SAY_TEAM@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w2
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_OnSameTeam
	cbz	w0, LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _g_gametype@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_gametype@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _GT_TOURNAMENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GT_TOURNAMENT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x24]
Lloh8:
	adrp	x9, _SAY_TELL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SAY_TELL@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, l_.str.2@PAGE
Lloh12:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh13:
	adrp	x11, l_.str.1@PAGE
Lloh14:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	w9, w23
	csel	x9, x11, x10, eq
Lloh15:
	adrp	x10, l_.str@PAGE
Lloh16:
	add	x10, x10, l_.str@PAGEOFF
Lloh17:
	adrp	x11, _COLOR_MAGENTA@GOTPAGE
Lloh18:
	ldr	x11, [x11, _COLOR_MAGENTA@GOTPAGEOFF]
Lloh19:
	adrp	x12, _COLOR_GREEN@GOTPAGE
Lloh20:
	ldr	x12, [x12, _COLOR_GREEN@GOTPAGEOFF]
	csel	x11, x11, x12, eq
	cmp	w8, w23
	csel	x1, x10, x9, eq
Lloh21:
	adrp	x8, _COLOR_CYAN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _COLOR_CYAN@GOTPAGEOFF]
	csel	x8, x8, x11, eq
Lloh23:
	adrp	x9, _g_entities@GOTPAGE
Lloh24:
	ldr	x9, [x9, _g_entities@GOTPAGEOFF]
	ldr	w4, [x8]
Lloh25:
	ldrsw	x8, [x9]
	mov	w9, #12
	mneg	x8, x8, x9
	add	x22, x22, x8
	ldr	w3, [x21]
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x20
	mov	x5, x19
	bl	_va
	mov	x1, x0
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_trap_SendServerCommand
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SAY_TEAM,4,2                   ; @SAY_TEAM
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_TOURNAMENT,8,3              ; @GT_TOURNAMENT
	.comm	_COLOR_CYAN,4,2                 ; @COLOR_CYAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vtchat"

	.comm	_SAY_TELL,4,2                   ; @SAY_TELL
	.comm	_COLOR_MAGENTA,4,2              ; @COLOR_MAGENTA
l_.str.1:                               ; @.str.1
	.asciz	"vtell"

	.comm	_COLOR_GREEN,4,2                ; @COLOR_GREEN
l_.str.2:                               ; @.str.2
	.asciz	"vchat"

	.comm	_g_entities,4,2                 ; @g_entities
l_.str.3:                               ; @.str.3
	.asciz	"%s %d %d %d %s"

	.no_dead_strip	_G_VoiceTo
.subsections_via_symbols
