	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_ConSayto_f
_SV_ConSayto_f:                         ## @SV_ConSayto_f
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NAME_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$2, %eax
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_15
LBB0_5:
	movq	%r13, -1080(%rbp)               ## 8-byte Spill
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_Com_FieldStringToPlayerName
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.6:
	movq	_svs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r13d
	addq	$8, %rbx
	cmpl	(%rax), %r13d
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%rbx)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_Q_strncpyz
	movq	%r12, %rdi
	callq	_Q_CleanStr
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	-1080(%rbp), %r13               ## 8-byte Reload
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	leaq	-1072(%rbp), %rdi
	callq	_strcpy
	movl	$2, %edi
	callq	_Cmd_ArgsFrom
	movq	%rax, %r14
	cmpb	$34, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	%r14, %r15
	incq	%r15
	movq	%r15, %rdi
	callq	_strlen
	cltq
	movb	$0, (%rax,%r14)
	movq	%r15, %r14
LBB0_14:
	movq	-1080(%rbp), %r13               ## 8-byte Reload
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strcat
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_SV_SendServerCommand
LBB0_15:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NAME_LENGTH,4,2            ## @MAX_NAME_LENGTH
	.comm	_com_sv_running,8,3             ## @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server is not running.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Usage: sayto <player name> <text>\n"

	.comm	_svs,8,3                        ## @svs
	.comm	_sv_maxclients,8,3              ## @sv_maxclients
L_.str.2:                               ## @.str.2
	.asciz	"No such player name: %s.\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

L_.str.5:                               ## @.str.5
	.asciz	"chat \"%s\""

	.no_dead_strip	_SV_ConSayto_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_ConSayto_f
_SV_ConSayto_f:                         ; @SV_ConSayto_f
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1040
	mov	x19, sp
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x21, _MAX_NAME_LENGTH@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MAX_NAME_LENGTH@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w22, [x21]
	mov	x9, x22
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh9:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh10:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_Cmd_Argc
	cmp	w0, #2
	b.gt	LBB0_4
; %bb.2:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	b	LBB0_14
LBB0_3:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	b	LBB0_14
LBB0_4:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x2, x0
	ldr	w1, [x21]
	mov	x0, x20
	bl	_Com_FieldStringToPlayerName
Lloh16:
	adrp	x25, _sv_maxclients@GOTPAGE
Lloh17:
	ldr	x25, [x25, _sv_maxclients@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.5:
	mov	w26, #0
Lloh18:
	adrp	x9, _svs@GOTPAGE
Lloh19:
	ldr	x9, [x9, _svs@GOTPAGEOFF]
Lloh20:
	ldr	x21, [x9]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w26, w26, #1
	add	x21, x21, #8
	ldr	w9, [x8]
	cmp	w26, w9
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, #4]
	cbz	w9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x21]
	mov	x0, x23
	mov	x2, x22
	bl	_Q_strncpyz
	mov	x0, x23
	bl	_Q_CleanStr
	mov	x0, x23
	mov	x1, x20
	bl	_Q_stricmp
	cbz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	b	LBB0_6
LBB0_10:
	str	x20, [sp, #-16]!
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
	b	LBB0_14
LBB0_11:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x22, x19, #8
	add	x0, x19, #8
	bl	_strcpy
	mov	w0, #2
	bl	_Cmd_ArgsFrom
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #34
	b.ne	LBB0_13
; %bb.12:
	add	x20, x20, #1
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw
	sturb	wzr, [x8, #-1]
LBB0_13:
	add	x0, x19, #8
	mov	x1, x20
	bl	_strcat
	str	x22, [sp, #-16]!
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, x19, #8
	mov	x0, x21
	bl	_SV_SendServerCommand
LBB0_14:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NAME_LENGTH,4,2            ; @MAX_NAME_LENGTH
	.comm	_com_sv_running,8,3             ; @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server is not running.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Usage: sayto <player name> <text>\n"

	.comm	_svs,8,3                        ; @svs
	.comm	_sv_maxclients,8,3              ; @sv_maxclients
l_.str.2:                               ; @.str.2
	.asciz	"No such player name: %s.\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

l_.str.5:                               ; @.str.5
	.asciz	"chat \"%s\""

	.no_dead_strip	_SV_ConSayto_f
.subsections_via_symbols
