	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GlobalServers_f             ## -- Begin function CL_GlobalServers_f
	.p2align	4, 0x90
_CL_GlobalServers_f:                    ## @CL_GlobalServers_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	%r12
	pushq	%rbx
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$2, %eax
	jg	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.2:
	leaq	L_.str(%rip), %rdi
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_3:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	callq	_atoi
	movq	_cls@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_Printf
	movl	(%r14), %ebx
	movq	_MASTER_SERVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-1080(%rbp), %rsi
	callq	_NET_StringToAdr
	xorl	%eax, %eax
	cmpl	$1, %ebx
	setne	%al
	movl	$-1, 4(%r14,%rax,4)
	jne	LBB0_4
## %bb.5:
	movq	_AS_MPLAYER@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_AS_GLOBAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_NA_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1076(%rbp)
	movq	_PORT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BigShort
	movl	%eax, -1080(%rbp)
	movl	$2, %edi
	callq	_Cmd_Argv
	leaq	L_.str.2(%rip), %rsi
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %r15
	addq	$-1072, %r15                    ## imm = 0xFBD0
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$4, %eax
	jl	LBB0_9
## %bb.7:
	movl	%eax, %r14d
	movl	$3, %ebx
	leaq	L_.str.3(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %r15
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_8
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	callq	_Cvar_VariableValue
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movw	$111, 4(%r15)
	movl	$1835361312, (%r15)             ## imm = 0x6D656420
LBB0_11:
	movq	_NS_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-1080(%rbp), %rsi
	leaq	-1072(%rbp), %rdx
	callq	_NET_OutOfBandPrint
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: globalservers <master# 0-1> <protocol> [keywords]\n"

	.comm	_cls,16,2                       ## @cls
L_.str.1:                               ## @.str.1
	.asciz	"Requesting servers from the master...\n"

	.comm	_MASTER_SERVER_NAME,4,2         ## @MASTER_SERVER_NAME
	.comm	_AS_MPLAYER,4,2                 ## @AS_MPLAYER
	.comm	_AS_GLOBAL,4,2                  ## @AS_GLOBAL
	.comm	_NA_IP,4,2                      ## @NA_IP
	.comm	_PORT_MASTER,4,2                ## @PORT_MASTER
L_.str.2:                               ## @.str.2
	.asciz	"getservers %s"

L_.str.3:                               ## @.str.3
	.asciz	" %s"

L_.str.4:                               ## @.str.4
	.asciz	"fs_restrict"

L_.str.5:                               ## @.str.5
	.asciz	" demo"

	.comm	_NS_SERVER,4,2                  ## @NS_SERVER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GlobalServers_f             ; -- Begin function CL_GlobalServers_f
	.p2align	2
_CL_GlobalServers_f:                    ; @CL_GlobalServers_f
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1056
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_Cmd_Argc
	cmp	w0, #3
	b.ge	LBB0_3
; %bb.1:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	add	sp, sp, #1056
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	b	_Com_Printf
LBB0_3:
	mov	w0, #1
	bl	_Cmd_Argv
	bl	_atoi
Lloh8:
	adrp	x19, _cls@GOTPAGE
Lloh9:
	ldr	x19, [x19, _cls@GOTPAGEOFF]
	str	w0, [x19]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	ldr	w20, [x19]
Lloh12:
	adrp	x8, _MASTER_SERVER_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MASTER_SERVER_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, sp, #16
	bl	_NET_StringToAdr
	cmp	w20, #1
	mov	w8, #8
	mov	w9, #4
	csel	x8, x9, x8, eq
	mov	w9, #-1
	str	w9, [x19, x8]
Lloh15:
	adrp	x8, _AS_MPLAYER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AS_MPLAYER@GOTPAGEOFF]
Lloh17:
	adrp	x9, _AS_GLOBAL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AS_GLOBAL@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _NA_IP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NA_IP@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh21:
	ldr	w8, [x9]
	str	w8, [sp, #20]
Lloh22:
	adrp	x8, _PORT_MASTER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PORT_MASTER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_BigShort
	str	w0, [sp, #16]
	mov	w0, #2
	bl	_Cmd_Argv
	str	x0, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x19, sp, #24
	add	x0, sp, #24
	bl	_sprintf
	add	x0, sp, #24
	bl	_strlen
	add	x19, x19, w0, sxtw
	bl	_Cmd_Argc
	cmp	w0, #3
	b.le	LBB0_6
; %bb.4:
	mov	x20, x0
	mov	w21, #3
Lloh27:
	adrp	x22, l_.str.3@PAGE
Lloh28:
	add	x22, x22, l_.str.3@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_Cmd_Argv
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_sprintf
	add	x19, x19, w0, sxtw
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_5
LBB0_6:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Cvar_VariableValue
	cbz	x0, LBB0_8
; %bb.7:
	mov	w8, #111
	strh	w8, [x19, #4]
	mov	w8, #25632
	movk	w8, #28005, lsl #16
	str	w8, [x19]
LBB0_8:
Lloh31:
	adrp	x8, _NS_SERVER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NS_SERVER@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	x1, [sp, #16]
	add	x2, sp, #24
	bl	_NET_OutOfBandPrint
	ldur	x8, [x29, #-56]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	add	sp, sp, #1056
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: globalservers <master# 0-1> <protocol> [keywords]\n"

	.comm	_cls,16,2                       ; @cls
l_.str.1:                               ; @.str.1
	.asciz	"Requesting servers from the master...\n"

	.comm	_MASTER_SERVER_NAME,4,2         ; @MASTER_SERVER_NAME
	.comm	_AS_MPLAYER,4,2                 ; @AS_MPLAYER
	.comm	_AS_GLOBAL,4,2                  ; @AS_GLOBAL
	.comm	_NA_IP,4,2                      ; @NA_IP
	.comm	_PORT_MASTER,4,2                ; @PORT_MASTER
l_.str.2:                               ; @.str.2
	.asciz	"getservers %s"

l_.str.3:                               ; @.str.3
	.asciz	" %s"

l_.str.4:                               ; @.str.4
	.asciz	"fs_restrict"

l_.str.5:                               ; @.str.5
	.asciz	" demo"

	.comm	_NS_SERVER,4,2                  ; @NS_SERVER
.subsections_via_symbols
