	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ServerStatus_f              ## -- Begin function CL_ServerStatus_f
	.p2align	4, 0x90
_CL_ServerStatus_f:                     ## @CL_ServerStatus_f
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-4(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.5:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_1:
	movq	_cls@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_clc@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	8(%rax), %rdi
LBB0_6:
	leaq	-4(%rbp), %rsi
	callq	_NET_StringToAdr
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_NS_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-4(%rbp), %esi
	leaq	L_.str.2(%rip), %rdx
	callq	_NET_OutOfBandPrint
	movl	-4(%rbp), %edi
	callq	_CL_GetServerStatus
	movl	-4(%rbp), %ecx
	movl	%ecx, 16(%rax)
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rcx, (%rax)
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_Printf
LBB0_8:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cls,16,3                       ## @cls
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_clc,8,3                        ## @clc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not connected to a server.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Usage: serverstatus [server]\n"

	.comm	_NS_CLIENT,4,2                  ## @NS_CLIENT
L_.str.2:                               ## @.str.2
	.asciz	"getstatus"

	.comm	_qtrue,8,3                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_ServerStatus_f              ; -- Begin function CL_ServerStatus_f
	.p2align	2
_CL_ServerStatus_f:                     ; @CL_ServerStatus_f
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	x0, x29, #4
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
	bl	_Cmd_Argc
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_Cmd_Argv
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _cls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _CA_ACTIVE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CA_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _clc@GOTPAGE
Lloh6:
	ldr	x11, [x11, _clc@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x11, #0, #0, eq
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	b	LBB0_7
LBB0_4:
	ldr	x0, [x8, #8]
LBB0_5:
	sub	x1, x29, #4
	bl	_NET_StringToAdr
	cbz	w0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldur	w1, [x29, #-4]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_NET_OutOfBandPrint
	ldur	w0, [x29, #-4]
	bl	_CL_GetServerStatus
	ldur	w8, [x29, #-4]
	str	w8, [x0, #16]
Lloh17:
	adrp	x8, _qtrue@GOTPAGE
Lloh18:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	stp	x8, x8, [x0]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cls,16,3                       ; @cls
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_clc,8,3                        ; @clc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not connected to a server.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Usage: serverstatus [server]\n"

	.comm	_NS_CLIENT,4,2                  ; @NS_CLIENT
l_.str.2:                               ; @.str.2
	.asciz	"getstatus"

	.comm	_qtrue,8,3                      ; @qtrue
.subsections_via_symbols
