	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SVC_RemoteCommand
_SVC_RemoteCommand:                     ## @SVC_RemoteCommand
	.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	$2040, %rsp                     ## imm = 0x7F8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$10, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_SVC_RateLimitAddress
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	callq	_NET_AdrToString
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_25
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$2040, %rsp                     ## imm = 0x7F8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_DPrintf                    ## TAILCALL
LBB0_3:
	movq	_sv_rconPassword@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	(%r12), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	leaq	_SVC_RemoteCommand.bucket(%rip), %rdi
	movl	$10, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_SVC_RateLimit
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$2040, %rsp                     ## imm = 0x7F8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_DPrintf                    ## TAILCALL
LBB0_10:
	leaq	L_.str.2(%rip), %r14
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.3(%rip), %r14
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_NET_AdrToString
	movl	%eax, %r15d
	movl	$2, %edi
	callq	_Cmd_ArgsFrom
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_svs@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_SV_FlushRedirect@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-2080(%rbp), %rdi
	movl	$1008, %esi                     ## imm = 0x3F0
	callq	_Com_BeginRedirect
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_7
## %bb.13:
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.15:
	movb	$0, -1072(%rbp)
	xorl	%eax, %eax
	callq	_Cmd_Cmd
	addq	$3, %rax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rax), %ecx
	incq	%rax
	cmpb	$32, %cl
	je	LBB0_16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movzbl	1(%rax), %ecx
	incq	%rax
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	testb	%cl, %cl
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$32, %cl
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rdx
	cmpb	$32, 1(%rax)
	movq	%rdx, %rax
	je	LBB0_20
	jmp	LBB0_22
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_8
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
LBB0_8:
	xorl	%eax, %eax
	callq	_Com_Printf
	jmp	LBB0_23
LBB0_21:
	movq	%rax, %rdx
LBB0_22:
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_Q_strcat
	movq	%rbx, %rdi
	callq	_Cmd_ExecuteString
LBB0_23:
	xorl	%eax, %eax
	callq	_Com_EndRedirect
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	addq	$2040, %rsp                     ## imm = 0x7F8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SVC_RemoteCommand: rate limit from %s exceeded, dropping request\n"

	.comm	_sv_rconPassword,8,3            ## @sv_rconPassword
.zerofill __DATA,__bss,_SVC_RemoteCommand.bucket,4,2 ## @SVC_RemoteCommand.bucket
L_.str.1:                               ## @.str.1
	.asciz	"SVC_RemoteCommand: rate limit exceeded, dropping request\n"

	.comm	_qfalse,4,2                     ## @qfalse
L_.str.2:                               ## @.str.2
	.asciz	"Bad rcon from %s: %s\n"

	.comm	_qtrue,4,2                      ## @qtrue
L_.str.3:                               ## @.str.3
	.asciz	"Rcon from %s: %s\n"

	.comm	_svs,4,2                        ## @svs
	.comm	_SV_FlushRedirect,4,2           ## @SV_FlushRedirect
L_.str.4:                               ## @.str.4
	.asciz	"No rconpassword set on the server.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Bad rconpassword.\n"

	.comm	_SV_OUTPUTBUF_LENGTH,4,2        ## @SV_OUTPUTBUF_LENGTH
	.no_dead_strip	_SVC_RemoteCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SVC_RemoteCommand
_SVC_RemoteCommand:                     ; @SVC_RemoteCommand
	.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
	sub	sp, sp, #2064
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w1, #10
	mov	w2, #1000
	bl	_SVC_RateLimitAddress
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_NET_AdrToString
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_DPrintf
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.3:
	add	sp, sp, #2064
	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_4:
Lloh8:
	adrp	x22, _sv_rconPassword@GOTPAGE
Lloh9:
	ldr	x22, [x22, _sv_rconPassword@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_strlen
	cbz	w0, LBB0_6
; %bb.5:
	mov	w0, #1
	bl	_Cmd_Argv
	ldr	x8, [x22]
	ldr	w1, [x8]
	bl	_strcmp
	cbz	x0, LBB0_10
LBB0_6:
Lloh10:
	adrp	x0, _SVC_RemoteCommand.bucket@PAGE
Lloh11:
	add	x0, x0, _SVC_RemoteCommand.bucket@PAGEOFF
	mov	w1, #10
	mov	w2, #1000
	bl	_SVC_RateLimit
	cbz	x0, LBB0_9
; %bb.7:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.8:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	add	sp, sp, #2064
	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	_Com_DPrintf
LBB0_9:
Lloh17:
	adrp	x20, l_.str.2@PAGE
Lloh18:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh19:
	adrp	x8, _qfalse@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh21:
	adrp	x20, l_.str.3@PAGE
Lloh22:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh23:
	adrp	x8, _qtrue@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_11:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_NET_AdrToString
	mov	x21, x0
	mov	w0, #2
	bl	_Cmd_ArgsFrom
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
	mov	x0, x20
	bl	_Com_Printf
Lloh25:
	adrp	x8, _svs@GOTPAGE
Lloh26:
	ldr	x8, [x8, _svs@GOTPAGEOFF]
Lloh27:
	str	w19, [x8]
Lloh28:
	adrp	x8, _SV_FlushRedirect@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SV_FlushRedirect@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	add	x0, sp, #24
	mov	w1, #1008
	bl	_Com_BeginRedirect
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_strlen
	cbz	w0, LBB0_20
; %bb.12:
	cbz	w23, LBB0_21
; %bb.13:
	strb	wzr, [sp, #1032]
	bl	_Cmd_Cmd
	add	x2, x0, #3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x2, #1]!
	cmp	w8, #32
	b.eq	LBB0_14
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x2, #1]!
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w8, #32
	b.ne	LBB0_15
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x2, #1]!
	cmp	w8, #32
	b.eq	LBB0_18
LBB0_19:
	add	x0, sp, #1032
	mov	w1, #1024
	bl	_Q_strcat
	add	x0, sp, #1032
	bl	_Cmd_ExecuteString
	bl	_Com_EndRedirect
	b	LBB0_2
LBB0_20:
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_22:
	bl	_Com_Printf
	bl	_Com_EndRedirect
	b	LBB0_2
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SVC_RemoteCommand: rate limit from %s exceeded, dropping request\n"

	.comm	_sv_rconPassword,8,3            ; @sv_rconPassword
.zerofill __DATA,__bss,_SVC_RemoteCommand.bucket,4,2 ; @SVC_RemoteCommand.bucket
l_.str.1:                               ; @.str.1
	.asciz	"SVC_RemoteCommand: rate limit exceeded, dropping request\n"

	.comm	_qfalse,4,2                     ; @qfalse
l_.str.2:                               ; @.str.2
	.asciz	"Bad rcon from %s: %s\n"

	.comm	_qtrue,4,2                      ; @qtrue
l_.str.3:                               ; @.str.3
	.asciz	"Rcon from %s: %s\n"

	.comm	_svs,4,2                        ; @svs
	.comm	_SV_FlushRedirect,4,2           ; @SV_FlushRedirect
l_.str.4:                               ; @.str.4
	.asciz	"No rconpassword set on the server.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Bad rconpassword.\n"

	.comm	_SV_OUTPUTBUF_LENGTH,4,2        ; @SV_OUTPUTBUF_LENGTH
	.no_dead_strip	_SVC_RemoteCommand
.subsections_via_symbols
