	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_Startup
_SV_Startup:                            ## @SV_Startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_svs@GOTPCREL(%rip), %r14
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_2:
	movl	$1, %edi
	callq	_SV_BoundMaxClients
	movq	_sv_maxclients@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	callq	_Z_Malloc
	movl	%eax, 16(%r14)
	movq	_com_dedicated@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	leal	(,%rcx,4), %edx
	movq	_PACKET_BACKUP@GOTPCREL(%rip), %rsi
	imull	(%rsi), %ecx
	cmpq	$0, (%rax)
	cmovel	%edx, %ecx
	movq	_MAX_SNAPSHOT_ENTITIES@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_sv_killserver@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Cvar_Set
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_NET_JoinMulticast6             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_svs,24,3                       ## @svs
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_Startup: svs.initialized"

	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_com_dedicated,8,3              ## @com_dedicated
	.comm	_PACKET_BACKUP,4,2              ## @PACKET_BACKUP
	.comm	_MAX_SNAPSHOT_ENTITIES,4,2      ## @MAX_SNAPSHOT_ENTITIES
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_sv_killserver,8,3              ## @sv_killserver
L_.str.1:                               ## @.str.1
	.asciz	"sv_killserver"

L_.str.2:                               ## @.str.2
	.asciz	"0"

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

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

	.no_dead_strip	_SV_Startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_Startup
_SV_Startup:                            ; @SV_Startup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _svs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _svs@GOTPAGEOFF]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_2:
	mov	w0, #1
	bl	_SV_BoundMaxClients
Lloh7:
	adrp	x20, _sv_maxclients@GOTPAGE
Lloh8:
	ldr	x20, [x20, _sv_maxclients@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w8, [x8]
	lsl	w0, w8, #2
	bl	_Z_Malloc
	str	w0, [x19, #16]
Lloh9:
	adrp	x8, _com_dedicated@GOTPAGE
Lloh10:
	ldr	x8, [x8, _com_dedicated@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PACKET_BACKUP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PACKET_BACKUP@GOTPAGEOFF]
	lsl	w11, w9, #2
Lloh14:
	ldr	w10, [x10]
	mul	w9, w10, w9
	cmp	x8, #0
Lloh15:
	adrp	x8, _MAX_SNAPSHOT_ENTITIES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_SNAPSHOT_ENTITIES@GOTPAGEOFF]
	csel	w9, w11, w9, eq
Lloh17:
	ldr	w8, [x8]
	mul	w8, w9, w8
	str	w8, [x19]
Lloh18:
	adrp	x8, _qtrue@GOTPAGE
Lloh19:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh21:
	adrp	x8, _sv_killserver@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sv_killserver@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Cvar_Set
LBB0_4:
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Cvar_Set
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_NET_JoinMulticast6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_svs,24,3                       ; @svs
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_Startup: svs.initialized"

	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_com_dedicated,8,3              ; @com_dedicated
	.comm	_PACKET_BACKUP,4,2              ; @PACKET_BACKUP
	.comm	_MAX_SNAPSHOT_ENTITIES,4,2      ; @MAX_SNAPSHOT_ENTITIES
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_sv_killserver,8,3              ; @sv_killserver
l_.str.1:                               ; @.str.1
	.asciz	"sv_killserver"

l_.str.2:                               ; @.str.2
	.asciz	"0"

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

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

	.no_dead_strip	_SV_Startup
.subsections_via_symbols
