	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SpawnServer                 ## -- Begin function SV_SpawnServer
	.p2align	4, 0x90
_SV_SpawnServer:                        ## @SV_SpawnServer
	.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
	pushq	%rax
	movl	$16408, %eax                    ## imm = 0x4018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -16448(%rbp)              ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_SV_ShutdownGameProgs
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_Com_Printf
	xorl	%eax, %eax
	callq	_CL_MapLoading
	xorl	%eax, %eax
	callq	_CL_ShutdownAll
	xorl	%eax, %eax
	callq	_Hunk_Clear
	xorl	%eax, %eax
	callq	_CM_ClearMap
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_VariableValue
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_sv_maxclients@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_SV_ChangeMaxClients
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	callq	_SV_Startup
LBB0_4:
	xorl	%edi, %edi
	callq	_FS_ClearPakReferences
	movq	_svs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	movq	_h_high@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Hunk_Alloc
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_SNAPFLAG_SERVERCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 16(%rbx)
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	callq	_SV_ClearServer
	movq	_MAX_CONFIGSTRINGS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	leaq	L_.str.5(%rip), %r12
	movq	_sv@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_CopyString
	movq	24(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	callq	_Com_Milliseconds
	movl	%eax, %edi
	callq	_srand
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, %r12d
	shll	$16, %r12d
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_Com_Milliseconds
	xorl	%eax, %ebx
	xorl	%r12d, %ebx
	movq	_sv@GOTPCREL(%rip), %r15
	movl	%ebx, (%r15)
	movl	%ebx, %edi
	callq	_FS_Restart
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_va
	movq	_qfalse@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	leaq	-16436(%rbp), %rdx
	movq	%rax, %rdi
	callq	_CM_LoadMap
	leaq	L_.str.9(%rip), %rdi
	movq	%r14, %rsi
	callq	_Cvar_Set
	movl	-16436(%rbp), %esi
	leaq	L_.str.11(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_va
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	movq	_com_frameTime@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, 4(%r15)
	movl	%esi, 8(%r15)
	movl	%esi, 12(%r15)
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_va
	leaq	L_.str.12(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	callq	_SV_ClearWorld
	movq	_SS_LOADING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	xorl	%eax, %eax
	callq	_SV_InitGameProgs
	movq	(%r12), %rax
	movq	_sv_gametype@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	_gvm@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GAME_RUN_FRAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_svs@GOTPCREL(%rip), %r13
	movl	4(%r13), %edx
	xorl	%eax, %eax
	callq	_VM_Call
	movl	4(%r13), %edi
	callq	_SV_BotFrame
	movl	4(%r13), %edx
	addl	$100, %edx
	movl	%edx, 4(%r13)
	movl	(%r14), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_VM_Call
	movl	4(%r13), %edi
	callq	_SV_BotFrame
	movl	4(%r13), %edx
	addl	$100, %edx
	movl	%edx, 4(%r13)
	movl	(%r14), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_VM_Call
	movl	4(%r13), %edi
	callq	_SV_BotFrame
	addl	$100, 4(%r13)
	xorl	%eax, %eax
	callq	_SV_CreateBaseline
	movq	_sv_maxclients@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_22
## %bb.8:
	movq	_CS_CONNECTED@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_SV_DropClient
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	movslq	(%rax), %rax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jge	LBB0_22
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	movq	(%rdi,%r14), %rax
	cmpq	(%r12), %rax
	jl	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%rdi,%r14), %rax
	movq	_NA_BOT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, -16448(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %r12
	cmpq	%rdx, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_gvm@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_GAME_CLIENT_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	movl	%ebx, %edx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_VM_Call
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_VM_ExplicitArgPtr
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_svs@GOTPCREL(%rip), %r13
	movq	8(%r13), %rdi
	addq	%r14, %rdi
	movq	%rax, %rsi
	callq	_SV_DropClient
	jmp	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	testq	%r12, %r12
	movq	_svs@GOTPCREL(%rip), %r13
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r13), %r12
	movq	_CS_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12,%r14)
	movl	%ebx, %edi
	callq	_SV_GentityNum
	movl	%ebx, (%rax)
	movq	%rax, 16(%r12,%r14)
	movl	$-1, 8(%r12,%r14)
	movl	4(%r13), %eax
	movl	%eax, 12(%r12,%r14)
	movq	_gvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAME_CLIENT_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_VM_Call
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_CS_CONNECTED@GOTPCREL(%rip), %r12
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_CS_CONNECTED@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%r14)
	jmp	LBB0_21
LBB0_22:
	movq	_gvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GAME_RUN_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r13), %edx
	xorl	%eax, %eax
	callq	_VM_Call
	movl	4(%r13), %edi
	callq	_SV_BotFrame
	addl	$100, 4(%r13)
	movq	_sv_pure@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.23:
	xorl	%eax, %eax
	callq	_FS_LoadedPakChecksums
	movq	%rax, %rbx
	leaq	L_.str.13(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	cmpb	$0, (%rbx)
	jne	LBB0_25
## %bb.24:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
LBB0_25:
	xorl	%eax, %eax
	callq	_FS_LoadedPakNames
	leaq	L_.str.15(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	movq	_com_dedicated@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_28
## %bb.26:
	xorl	%eax, %eax
	callq	_SV_TouchCGame
	jmp	LBB0_28
LBB0_27:
	leaq	L_.str.13(%rip), %rdi
	leaq	L_.str.5(%rip), %rbx
	movq	%rbx, %rsi
	callq	_Cvar_Set
	leaq	L_.str.15(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Set
LBB0_28:
	xorl	%eax, %eax
	callq	_FS_ReferencedPakChecksums
	leaq	L_.str.16(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	xorl	%eax, %eax
	callq	_FS_ReferencedPakNames
	leaq	L_.str.17(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Set
	movq	_CVAR_SYSTEMINFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_Cvar_InfoString_Big
	leaq	-16432(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_Q_strncpyz
	movl	(%rbx), %eax
	notl	%eax
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %r15
	andl	%eax, (%r15)
	movq	_CS_SYSTEMINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_SV_SetConfigstring
	movq	_CS_SERVERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CVAR_SERVERINFO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_Cvar_InfoString
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_SV_SetConfigstring
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%r15)
	movq	_SS_GAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_sv@GOTPCREL(%rip), %rcx
	movl	%eax, 16(%rcx)
	xorl	%eax, %eax
	callq	_SV_Heartbeat_f
	xorl	%eax, %eax
	callq	_Hunk_SetMark
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	addq	$16408, %rsp                    ## imm = 0x4018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"------ Server Initialization ------\n"

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

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

	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_svs,40,3                       ## @svs
	.comm	_h_high,4,2                     ## @h_high
	.comm	_SNAPFLAG_SERVERCOUNT,4,2       ## @SNAPFLAG_SERVERCOUNT
L_.str.3:                               ## @.str.3
	.asciz	"nextmap"

L_.str.4:                               ## @.str.4
	.asciz	"map_restart 0"

	.comm	_MAX_CONFIGSTRINGS,4,2          ## @MAX_CONFIGSTRINGS
L_.str.5:                               ## @.str.5
	.space	1

	.comm	_sv,32,3                        ## @sv
L_.str.6:                               ## @.str.6
	.asciz	"cl_paused"

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

L_.str.8:                               ## @.str.8
	.asciz	"maps/%s.bsp"

	.comm	_qfalse,8,3                     ## @qfalse
L_.str.9:                               ## @.str.9
	.asciz	"mapname"

L_.str.10:                              ## @.str.10
	.asciz	"sv_mapChecksum"

L_.str.11:                              ## @.str.11
	.asciz	"%i"

	.comm	_com_frameTime,4,2              ## @com_frameTime
L_.str.12:                              ## @.str.12
	.asciz	"sv_serverid"

	.comm	_SS_LOADING,4,2                 ## @SS_LOADING
	.comm	_sv_gametype,8,3                ## @sv_gametype
	.comm	_gvm,4,2                        ## @gvm
	.comm	_GAME_RUN_FRAME,4,2             ## @GAME_RUN_FRAME
	.comm	_CS_CONNECTED,8,3               ## @CS_CONNECTED
	.comm	_NA_BOT,8,3                     ## @NA_BOT
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_GAME_CLIENT_CONNECT,4,2        ## @GAME_CLIENT_CONNECT
	.comm	_CS_ACTIVE,8,3                  ## @CS_ACTIVE
	.comm	_GAME_CLIENT_BEGIN,4,2          ## @GAME_CLIENT_BEGIN
	.comm	_sv_pure,8,3                    ## @sv_pure
L_.str.13:                              ## @.str.13
	.asciz	"sv_paks"

L_.str.14:                              ## @.str.14
	.asciz	"WARNING: sv_pure set but no PK3 files loaded\n"

L_.str.15:                              ## @.str.15
	.asciz	"sv_pakNames"

	.comm	_com_dedicated,8,3              ## @com_dedicated
L_.str.16:                              ## @.str.16
	.asciz	"sv_referencedPaks"

L_.str.17:                              ## @.str.17
	.asciz	"sv_referencedPakNames"

	.comm	_CVAR_SYSTEMINFO,4,2            ## @CVAR_SYSTEMINFO
	.comm	_cvar_modifiedFlags,4,2         ## @cvar_modifiedFlags
	.comm	_CS_SYSTEMINFO,4,2              ## @CS_SYSTEMINFO
	.comm	_CS_SERVERINFO,4,2              ## @CS_SERVERINFO
	.comm	_CVAR_SERVERINFO,4,2            ## @CVAR_SERVERINFO
	.comm	_SS_GAME,4,2                    ## @SS_GAME
L_.str.18:                              ## @.str.18
	.asciz	"-----------------------------------\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SpawnServer                 ; -- Begin function SV_SpawnServer
	.p2align	2
_SV_SpawnServer:                        ; @SV_SpawnServer
	.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
	mov	w9, #16432
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #48
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_SV_ShutdownGameProgs
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	str	x20, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	bl	_CL_MapLoading
	bl	_CL_ShutdownAll
	bl	_Hunk_Clear
	bl	_CM_ClearMap
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_VariableValue
Lloh11:
	adrp	x24, _sv_maxclients@GOTPAGE
Lloh12:
	ldr	x24, [x24, _sv_maxclients@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.2:
	bl	_SV_ChangeMaxClients
	b	LBB0_4
LBB0_3:
	bl	_SV_Startup
LBB0_4:
	mov	w0, #0
	bl	_FS_ClearPakReferences
Lloh13:
	adrp	x25, _svs@GOTPAGE
Lloh14:
	ldr	x25, [x25, _svs@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	w0, w8, #2
Lloh15:
	adrp	x8, _h_high@GOTPAGE
Lloh16:
	ldr	x8, [x8, _h_high@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_Hunk_Alloc
	str	w0, [x25, #32]
	str	xzr, [x25, #24]
Lloh18:
	adrp	x8, _SNAPFLAG_SERVERCOUNT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SNAPFLAG_SERVERCOUNT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x25, #16]
	eor	w8, w9, w8
	str	w8, [x25, #16]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Cvar_Set
	bl	_SV_ClearServer
Lloh25:
	adrp	x22, _MAX_CONFIGSTRINGS@GOTPAGE
Lloh26:
	ldr	x22, [x22, _MAX_CONFIGSTRINGS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh27:
	adrp	x23, _sv@GOTPAGE
Lloh28:
	ldr	x23, [x23, _sv@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x19, #0
Lloh29:
	adrp	x21, l_.str.5@PAGE
Lloh30:
	add	x21, x21, l_.str.5@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_CopyString
	ldr	x8, [x23, #24]
	str	w0, [x8, x19, lsl #2]
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_6
LBB0_7:
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_Cvar_Set
	bl	_Com_Milliseconds
	bl	_srand
	bl	_rand
	mov	x21, x0
	bl	_rand
	eor	w19, w0, w21, lsl #16
	bl	_Com_Milliseconds
	eor	w0, w19, w0
	str	w0, [x23]
	bl	_FS_Restart
	str	x20, [sp]
Lloh35:
	adrp	x0, l_.str.8@PAGE
Lloh36:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_va
Lloh37:
	adrp	x19, _qfalse@GOTPAGE
Lloh38:
	ldr	x19, [x19, _qfalse@GOTPAGEOFF]
	ldr	x1, [x19]
	add	x2, sp, #28
	bl	_CM_LoadMap
Lloh39:
	adrp	x0, l_.str.9@PAGE
Lloh40:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x20
	bl	_Cvar_Set
	ldr	w8, [sp, #28]
	str	x8, [sp]
Lloh41:
	adrp	x20, l_.str.11@PAGE
Lloh42:
	add	x20, x20, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_va
	mov	x1, x0
Lloh43:
	adrp	x0, l_.str.10@PAGE
Lloh44:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_Cvar_Set
Lloh45:
	adrp	x8, _com_frameTime@GOTPAGE
Lloh46:
	ldr	x8, [x8, _com_frameTime@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	stp	w8, w8, [x23, #4]
	str	w8, [x23, #12]
	str	x8, [sp]
	mov	x0, x20
	bl	_va
	mov	x1, x0
Lloh48:
	adrp	x0, l_.str.12@PAGE
Lloh49:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_Cvar_Set
	bl	_SV_ClearWorld
Lloh50:
	adrp	x8, _SS_LOADING@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SS_LOADING@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	str	w8, [x23, #16]
	bl	_SV_InitGameProgs
	ldr	x8, [x19]
Lloh53:
	adrp	x9, _sv_gametype@GOTPAGE
Lloh54:
	ldr	x9, [x9, _sv_gametype@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
Lloh56:
	adrp	x27, _gvm@GOTPAGE
Lloh57:
	ldr	x27, [x27, _gvm@GOTPAGEOFF]
	str	x8, [x9]
	ldr	w0, [x27]
Lloh58:
	adrp	x19, _GAME_RUN_FRAME@GOTPAGE
Lloh59:
	ldr	x19, [x19, _GAME_RUN_FRAME@GOTPAGEOFF]
	ldr	w1, [x19]
	ldr	w2, [x25, #4]
	bl	_VM_Call
	ldr	w0, [x25, #4]
	bl	_SV_BotFrame
	ldr	w8, [x25, #4]
	add	w2, w8, #100
	str	w2, [x25, #4]
	ldr	w0, [x27]
	ldr	w1, [x19]
	bl	_VM_Call
	ldr	w0, [x25, #4]
	bl	_SV_BotFrame
	ldr	w8, [x25, #4]
	add	w2, w8, #100
	str	w2, [x25, #4]
	ldr	w0, [x27]
	ldr	w1, [x19]
	bl	_VM_Call
	ldr	w0, [x25, #4]
	bl	_SV_BotFrame
	ldr	w8, [x25, #4]
	add	w8, w8, #100
	str	w8, [x25, #4]
	bl	_SV_CreateBaseline
	ldr	x8, [x24]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.8:
	mov	x28, #0
	mov	x20, #0
Lloh60:
	adrp	x26, _CS_CONNECTED@GOTPAGE
Lloh61:
	ldr	x26, [x26, _CS_CONNECTED@GOTPAGEOFF]
Lloh62:
	adrp	x21, _NA_BOT@GOTPAGE
Lloh63:
	ldr	x21, [x21, _NA_BOT@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_SV_DropClient
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x20, x20, #1
	ldr	x8, [x24]
	ldrsw	x8, [x8]
	add	x28, x28, #32
	cmp	x20, x8
	b.ge	LBB0_19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #8]
	add	x0, x8, x28
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x0, #24]
	ldr	x9, [x21]
	cmp	x8, x9
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh66:
	adrp	x10, _qfalse@GOTPAGE
Lloh67:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh68:
	ldr	x10, [x10]
Lloh69:
	adrp	x11, _qtrue@GOTPAGE
Lloh70:
	ldr	x11, [x11, _qtrue@GOTPAGEOFF]
Lloh71:
	ldr	x11, [x11]
	cmp	x8, x9
	csel	x19, x10, x11, ne
	ldr	w22, [x27]
Lloh72:
	adrp	x8, _GAME_CLIENT_CONNECT@GOTPAGE
Lloh73:
	ldr	x8, [x8, _GAME_CLIENT_CONNECT@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	stp	x10, x19, [sp]
	mov	x0, x22
	mov	x2, x20
	bl	_VM_Call
	mov	x1, x0
	mov	x0, x22
	bl	_VM_ExplicitArgPtr
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x0
	ldr	x8, [x25, #8]
	add	x0, x8, x28
	b	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	x19, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x25, #8]
Lloh75:
	adrp	x9, _CS_ACTIVE@GOTPAGE
Lloh76:
	ldr	x9, [x9, _CS_ACTIVE@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	add	x19, x8, x28
	str	x9, [x19]
	mov	x0, x20
	bl	_SV_GentityNum
	str	w20, [x0]
	str	x0, [x19, #16]
	mov	w8, #-1
	str	w8, [x19, #8]
	ldr	w8, [x25, #4]
	str	w8, [x19, #12]
	ldr	w0, [x27]
Lloh78:
	adrp	x8, _GAME_CLIENT_BEGIN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _GAME_CLIENT_BEGIN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_VM_Call
	b	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x25, #8]
	str	x8, [x9, x28]
	b	LBB0_11
LBB0_19:
	ldr	w0, [x27]
Lloh81:
	adrp	x8, _GAME_RUN_FRAME@GOTPAGE
Lloh82:
	ldr	x8, [x8, _GAME_RUN_FRAME@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	ldr	w2, [x25, #4]
	bl	_VM_Call
	ldr	w0, [x25, #4]
	bl	_SV_BotFrame
	ldr	w8, [x25, #4]
	add	w8, w8, #100
	str	w8, [x25, #4]
Lloh84:
	adrp	x8, _sv_pure@GOTPAGE
Lloh85:
	ldr	x8, [x8, _sv_pure@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.20:
	bl	_FS_LoadedPakChecksums
	mov	x19, x0
Lloh87:
	adrp	x0, l_.str.13@PAGE
Lloh88:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Set
	ldrb	w8, [x19]
	cbnz	w8, LBB0_22
; %bb.21:
Lloh89:
	adrp	x0, l_.str.14@PAGE
Lloh90:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_Com_Printf
LBB0_22:
	bl	_FS_LoadedPakNames
	mov	x1, x0
Lloh91:
	adrp	x0, l_.str.15@PAGE
Lloh92:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_Cvar_Set
Lloh93:
	adrp	x8, _com_dedicated@GOTPAGE
Lloh94:
	ldr	x8, [x8, _com_dedicated@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.23:
	bl	_SV_TouchCGame
	b	LBB0_25
LBB0_24:
Lloh96:
	adrp	x0, l_.str.13@PAGE
Lloh97:
	add	x0, x0, l_.str.13@PAGEOFF
Lloh98:
	adrp	x19, l_.str.5@PAGE
Lloh99:
	add	x19, x19, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Set
Lloh100:
	adrp	x0, l_.str.15@PAGE
Lloh101:
	add	x0, x0, l_.str.15@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Set
LBB0_25:
	bl	_FS_ReferencedPakChecksums
	mov	x1, x0
Lloh102:
	adrp	x0, l_.str.16@PAGE
Lloh103:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_Cvar_Set
	bl	_FS_ReferencedPakNames
	mov	x1, x0
Lloh104:
	adrp	x0, l_.str.17@PAGE
Lloh105:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_Cvar_Set
Lloh106:
	adrp	x19, _CVAR_SYSTEMINFO@GOTPAGE
Lloh107:
	ldr	x19, [x19, _CVAR_SYSTEMINFO@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_Cvar_InfoString_Big
	mov	x1, x0
	add	x0, sp, #32
	mov	w2, #16384
	bl	_Q_strncpyz
	ldr	w8, [x19]
Lloh108:
	adrp	x20, _cvar_modifiedFlags@GOTPAGE
Lloh109:
	ldr	x20, [x20, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
Lloh110:
	adrp	x8, _CS_SYSTEMINFO@GOTPAGE
Lloh111:
	ldr	x8, [x8, _CS_SYSTEMINFO@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
	add	x1, sp, #32
	bl	_SV_SetConfigstring
Lloh113:
	adrp	x8, _CS_SERVERINFO@GOTPAGE
Lloh114:
	ldr	x8, [x8, _CS_SERVERINFO@GOTPAGEOFF]
Lloh115:
	ldr	w19, [x8]
Lloh116:
	adrp	x21, _CVAR_SERVERINFO@GOTPAGE
Lloh117:
	ldr	x21, [x21, _CVAR_SERVERINFO@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_Cvar_InfoString
	mov	x1, x0
	mov	x0, x19
	bl	_SV_SetConfigstring
	ldr	w8, [x21]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
Lloh118:
	adrp	x8, _SS_GAME@GOTPAGE
Lloh119:
	ldr	x8, [x8, _SS_GAME@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	str	w8, [x23, #16]
	bl	_SV_Heartbeat_f
	bl	_Hunk_SetMark
Lloh121:
	adrp	x0, l_.str.18@PAGE
Lloh122:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_Com_Printf
	ldur	x8, [x29, #-96]
Lloh123:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh124:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh125:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #48
	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_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"------ Server Initialization ------\n"

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

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

	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_svs,40,3                       ; @svs
	.comm	_h_high,4,2                     ; @h_high
	.comm	_SNAPFLAG_SERVERCOUNT,4,2       ; @SNAPFLAG_SERVERCOUNT
l_.str.3:                               ; @.str.3
	.asciz	"nextmap"

l_.str.4:                               ; @.str.4
	.asciz	"map_restart 0"

	.comm	_MAX_CONFIGSTRINGS,4,2          ; @MAX_CONFIGSTRINGS
l_.str.5:                               ; @.str.5
	.space	1

	.comm	_sv,32,3                        ; @sv
l_.str.6:                               ; @.str.6
	.asciz	"cl_paused"

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

l_.str.8:                               ; @.str.8
	.asciz	"maps/%s.bsp"

	.comm	_qfalse,8,3                     ; @qfalse
l_.str.9:                               ; @.str.9
	.asciz	"mapname"

l_.str.10:                              ; @.str.10
	.asciz	"sv_mapChecksum"

l_.str.11:                              ; @.str.11
	.asciz	"%i"

	.comm	_com_frameTime,4,2              ; @com_frameTime
l_.str.12:                              ; @.str.12
	.asciz	"sv_serverid"

	.comm	_SS_LOADING,4,2                 ; @SS_LOADING
	.comm	_sv_gametype,8,3                ; @sv_gametype
	.comm	_gvm,4,2                        ; @gvm
	.comm	_GAME_RUN_FRAME,4,2             ; @GAME_RUN_FRAME
	.comm	_CS_CONNECTED,8,3               ; @CS_CONNECTED
	.comm	_NA_BOT,8,3                     ; @NA_BOT
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_GAME_CLIENT_CONNECT,4,2        ; @GAME_CLIENT_CONNECT
	.comm	_CS_ACTIVE,8,3                  ; @CS_ACTIVE
	.comm	_GAME_CLIENT_BEGIN,4,2          ; @GAME_CLIENT_BEGIN
	.comm	_sv_pure,8,3                    ; @sv_pure
l_.str.13:                              ; @.str.13
	.asciz	"sv_paks"

l_.str.14:                              ; @.str.14
	.asciz	"WARNING: sv_pure set but no PK3 files loaded\n"

l_.str.15:                              ; @.str.15
	.asciz	"sv_pakNames"

	.comm	_com_dedicated,8,3              ; @com_dedicated
l_.str.16:                              ; @.str.16
	.asciz	"sv_referencedPaks"

l_.str.17:                              ; @.str.17
	.asciz	"sv_referencedPakNames"

	.comm	_CVAR_SYSTEMINFO,4,2            ; @CVAR_SYSTEMINFO
	.comm	_cvar_modifiedFlags,4,2         ; @cvar_modifiedFlags
	.comm	_CS_SYSTEMINFO,4,2              ; @CS_SYSTEMINFO
	.comm	_CS_SERVERINFO,4,2              ; @CS_SERVERINFO
	.comm	_CVAR_SERVERINFO,4,2            ; @CVAR_SERVERINFO
	.comm	_SS_GAME,4,2                    ; @SS_GAME
l_.str.18:                              ; @.str.18
	.asciz	"-----------------------------------\n"

.subsections_via_symbols
