	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SV_MapRestart_f
_SV_MapRestart_f:                       ## @SV_MapRestart_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_com_frameTime@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_sv@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_41
## %bb.1:
	movq	_com_sv_running@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.4:
	cmpl	$0, 8(%r15)
	jne	LBB0_41
## %bb.5:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movl	$5, %r14d
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.6:
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_atoi
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_Cvar_VariableValue
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	movl	%r14d, %r12d
LBB0_9:
	movq	_sv_maxclients@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_11
## %bb.10:
	movq	_sv_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
LBB0_11:
	movq	%rsp, %r15
	movq	_MAX_QPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	leaq	L_.str.4(%rip), %rdi
	callq	_Cvar_VariableString
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_Q_strncpyz
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_SV_SpawnServer
	movq	%r15, %rsp
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.42:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_12:
	imull	$1000, %r14d, %esi              ## imm = 0x3E8
	addl	12(%r15), %esi
	movl	%esi, 8(%r15)
	movq	_CS_WARMUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_va
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_43
## %bb.13:
	movl	%ebx, %edi
	movl	%eax, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SV_SetConfigstring             ## TAILCALL
LBB0_14:
	movq	_SNAPFLAG_SERVERCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_svs@GOTPCREL(%rip), %r14
	xorl	%eax, 16(%r14)
	movq	(%rbx), %rsi
	movq	%rsi, (%r15)
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rcx, %rbx
	callq	_va
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_Cvar_Set
	movq	(%rbx), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_26
## %bb.15:
	movq	8(%r14), %r8
	movq	_CS_PRIMED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	8(%r15), %edx
	cmpl	$1, %ebx
	jne	LBB0_17
## %bb.16:
	xorl	%edi, %edi
LBB0_23:
	testb	$1, %bl
	je	LBB0_26
## %bb.24:
	leaq	(%rdi,%rdi,2), %rax
	cmpq	%rsi, (%r8,%rax,8)
	jne	LBB0_26
## %bb.25:
	movl	%edx, 8(%r8,%rax,8)
LBB0_26:
	movq	_SS_LOADING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	xorl	%eax, %eax
	callq	_SV_RestartGameProgs
	movq	_gvm@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_GAME_RUN_FRAME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	12(%r15), %edx
	xorl	%eax, %eax
	callq	_VM_Call
	movl	12(%r15), %edx
	addl	$100, (%r14)
	addl	$100, %edx
	movl	%edx, 12(%r15)
	movl	(%r13), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_VM_Call
	movl	12(%r15), %edx
	addl	$100, (%r14)
	addl	$100, %edx
	movl	%edx, 12(%r15)
	movl	(%r13), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_VM_Call
	movl	12(%r15), %edx
	addl	$100, %edx
	movl	%edx, 12(%r15)
	addl	$100, (%r14)
	movq	_SS_GAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	movq	_sv_maxclients@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_40
## %bb.27:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	_CS_CONNECTED@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_31:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_SV_AddServerCommand
	movq	_gvm@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GAME_CLIENT_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r14d, %edi
	movl	%ebx, %edx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	xorl	%eax, %eax
	callq	_VM_Call
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_VM_ExplicitArgPtr
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_SV_DropClient
	leaq	L_.str.7(%rip), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_svs@GOTPCREL(%rip), %r14
LBB0_37:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	_sv_maxclients@GOTPCREL(%rip), %rcx
	movq	_CS_CONNECTED@GOTPCREL(%rip), %rdx
LBB0_38:                                ##   in Loop: Header=BB0_28 Depth=1
	incq	%rbx
	movq	(%rcx), %rax
	movslq	(%rax), %rax
	addq	$24, %r12
	cmpq	%rax, %rbx
	jge	LBB0_39
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r13
	movq	(%r13,%r12), %rax
	cmpq	(%rdx), %rax
	jl	LBB0_38
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	leaq	(%r12,%r13), %r15
	movq	16(%r13,%r12), %rcx
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	_NA_BOT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	(%r13,%r12), %rax
	movq	_CS_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_svs@GOTPCREL(%rip), %r14
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_28 Depth=1
	leaq	(%r12,%r13), %rsi
	addq	$12, %rsi
	movq	%r15, %rdi
	jmp	LBB0_36
LBB0_35:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
LBB0_36:                                ##   in Loop: Header=BB0_28 Depth=1
	callq	_SV_ClientEnterWorld
	jmp	LBB0_37
LBB0_39:
	movq	_sv@GOTPCREL(%rip), %r15
	movl	12(%r15), %edx
	movq	_GAME_RUN_FRAME@GOTPCREL(%rip), %rbx
LBB0_40:
	movq	_gvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	xorl	%eax, %eax
	callq	_VM_Call
	addl	$100, 12(%r15)
	addl	$100, (%r14)
	jmp	LBB0_41
LBB0_17:
	movl	%ebx, %ecx
	andl	$-2, %ecx
	leaq	32(%r8), %rax
	xorl	%edi, %edi
	jmp	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=1
	addq	$2, %rdi
	addq	$48, %rax
	cmpq	%rdi, %rcx
	je	LBB0_23
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -32(%rax)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%edx, -24(%rax)
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%rsi, -8(%rax)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%edx, (%rax)
	jmp	LBB0_22
LBB0_43:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_com_frameTime,8,3              ## @com_frameTime
	.comm	_sv,32,3                        ## @sv
	.comm	_com_sv_running,8,3             ## @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Server is not running.\n"

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

	.comm	_CS_WARMUP,4,2                  ## @CS_WARMUP
L_.str.2:                               ## @.str.2
	.asciz	"%i"

	.comm	_sv_maxclients,8,3              ## @sv_maxclients
	.comm	_sv_gametype,8,3                ## @sv_gametype
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
L_.str.3:                               ## @.str.3
	.asciz	"variable change -- restarting.\n"

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

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_SNAPFLAG_SERVERCOUNT,4,2       ## @SNAPFLAG_SERVERCOUNT
	.comm	_svs,24,3                       ## @svs
L_.str.5:                               ## @.str.5
	.asciz	"sv_serverid"

	.comm	_CS_PRIMED,8,3                  ## @CS_PRIMED
	.comm	_SS_LOADING,4,2                 ## @SS_LOADING
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_gvm,4,2                        ## @gvm
	.comm	_GAME_RUN_FRAME,4,2             ## @GAME_RUN_FRAME
	.comm	_SS_GAME,4,2                    ## @SS_GAME
	.comm	_CS_CONNECTED,8,3               ## @CS_CONNECTED
	.comm	_NA_BOT,8,3                     ## @NA_BOT
L_.str.6:                               ## @.str.6
	.asciz	"map_restart\n"

	.comm	_GAME_CLIENT_CONNECT,4,2        ## @GAME_CLIENT_CONNECT
L_.str.7:                               ## @.str.7
	.asciz	"SV_MapRestart_f(%d): dropped client %i - denied!\n"

	.comm	_CS_ACTIVE,8,3                  ## @CS_ACTIVE
	.no_dead_strip	_SV_MapRestart_f
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SV_MapRestart_f
_SV_MapRestart_f:                       ; @SV_MapRestart_f
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _com_frameTime@GOTPAGE
Lloh4:
	ldr	x20, [x20, _com_frameTime@GOTPAGEOFF]
	stur	x8, [x29, #-88]
	ldr	x8, [x20]
Lloh5:
	adrp	x25, _sv@GOTPAGE
Lloh6:
	ldr	x25, [x25, _sv@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.1:
Lloh7:
	adrp	x8, _com_sv_running@GOTPAGE
Lloh8:
	ldr	x8, [x8, _com_sv_running@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	w8, [x25, #8]
	cbnz	w8, LBB0_12
; %bb.3:
	bl	_Cmd_Argc
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.4:
	mov	w0, #1
	bl	_Cmd_Argv
	bl	_atoi
	mov	x19, x0
	cbnz	w0, LBB0_8
	b	LBB0_9
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	sub	sp, x29, #80
	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
	b	_Com_Printf
LBB0_7:
	mov	w19, #5
LBB0_8:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cvar_VariableValue
	cbz	w0, LBB0_14
LBB0_9:
Lloh17:
	adrp	x22, _sv_maxclients@GOTPAGE
Lloh18:
	ldr	x22, [x22, _sv_maxclients@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_11
; %bb.10:
Lloh19:
	adrp	x8, _sv_gametype@GOTPAGE
Lloh20:
	ldr	x8, [x8, _sv_gametype@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
LBB0_11:
	mov	x21, sp
Lloh22:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
	mov	x9, x19
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Com_Printf
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Cvar_VariableString
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_Q_strncpyz
Lloh31:
	adrp	x8, _qfalse@GOTPAGE
Lloh32:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_SV_SpawnServer
	mov	sp, x21
LBB0_12:
	ldur	x8, [x29, #-88]
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_34
; %bb.13:
	sub	sp, x29, #80
	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_14:
	ldr	w8, [x25, #12]
	mov	w9, #1000
	madd	w1, w19, w9, w8
	str	w1, [x25, #8]
Lloh37:
	adrp	x8, _CS_WARMUP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CS_WARMUP@GOTPAGEOFF]
Lloh39:
	ldr	w19, [x8]
Lloh40:
	adrp	x0, l_.str.2@PAGE
Lloh41:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_va
	ldur	x8, [x29, #-88]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.15:
	mov	x1, x0
	mov	x0, x19
	sub	sp, x29, #80
	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
	b	_SV_SetConfigstring
LBB0_16:
Lloh45:
	adrp	x8, _SNAPFLAG_SERVERCOUNT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SNAPFLAG_SERVERCOUNT@GOTPAGEOFF]
Lloh47:
	adrp	x24, _svs@GOTPAGE
Lloh48:
	ldr	x24, [x24, _svs@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x24, #16]
	eor	w8, w9, w8
	str	w8, [x24, #16]
	ldr	x1, [x20]
	str	x1, [x25]
Lloh50:
	adrp	x0, l_.str.2@PAGE
Lloh51:
	add	x0, x0, l_.str.2@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_va
	mov	x1, x0
Lloh52:
	adrp	x0, l_.str.5@PAGE
Lloh53:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Cvar_Set
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.17:
	ldr	x11, [x24, #8]
Lloh54:
	adrp	x9, _CS_PRIMED@GOTPAGE
Lloh55:
	ldr	x9, [x9, _CS_PRIMED@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	ldr	w10, [x25, #8]
	add	x11, x11, #8
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x11, x11, #24
	subs	x8, x8, #1
	b.eq	LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x9
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	str	w10, [x11]
	b	LBB0_18
LBB0_21:
Lloh57:
	adrp	x8, _SS_LOADING@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SS_LOADING@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	str	w8, [x25, #24]
Lloh60:
	adrp	x8, _qtrue@GOTPAGE
Lloh61:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	str	x8, [x25, #16]
	bl	_SV_RestartGameProgs
Lloh63:
	adrp	x20, _gvm@GOTPAGE
Lloh64:
	ldr	x20, [x20, _gvm@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh65:
	adrp	x21, _GAME_RUN_FRAME@GOTPAGE
Lloh66:
	ldr	x21, [x21, _GAME_RUN_FRAME@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x25, #12]
	bl	_VM_Call
	ldr	w8, [x25, #12]
	add	w2, w8, #100
	str	w2, [x25, #12]
	ldr	w8, [x24]
	add	w8, w8, #100
	str	w8, [x24]
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_VM_Call
	ldr	w8, [x25, #12]
	add	w2, w8, #100
	str	w2, [x25, #12]
	ldr	w8, [x24]
	add	w8, w8, #100
	str	w8, [x24]
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_VM_Call
	ldr	w8, [x25, #12]
	add	w2, w8, #100
	str	w2, [x25, #12]
	ldr	w8, [x24]
	add	w8, w8, #100
	str	w8, [x24]
Lloh67:
	adrp	x8, _SS_GAME@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SS_GAME@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _qfalse@GOTPAGE
Lloh71:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
	str	w8, [x25, #24]
Lloh72:
	ldr	x8, [x9]
	str	x8, [x25, #16]
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.22:
	stur	x19, [x29, #-96]                ; 8-byte Folded Spill
	mov	x28, #0
	mov	x20, #0
Lloh73:
	adrp	x10, _CS_CONNECTED@GOTPAGE
Lloh74:
	ldr	x10, [x10, _CS_CONNECTED@GOTPAGEOFF]
Lloh75:
	adrp	x19, _qfalse@GOTPAGE
Lloh76:
	ldr	x19, [x19, _qfalse@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, x0
	mov	x0, x23
	bl	_SV_DropClient
	sub	sp, sp, #16
	str	x20, [sp, #8]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	str	x8, [sp]
Lloh77:
	adrp	x0, l_.str.7@PAGE
Lloh78:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_Com_Printf
	add	sp, sp, #16
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x24, x22
	mov	x22, x21
Lloh79:
	adrp	x10, _CS_CONNECTED@GOTPAGE
Lloh80:
	ldr	x10, [x10, _CS_CONNECTED@GOTPAGEOFF]
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x20, x20, #1
	ldr	x8, [x22]
	ldrsw	x8, [x8]
	add	x28, x28, #24
	cmp	x20, x8
	b.ge	LBB0_32
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x24, #8]
	add	x23, x26, x28
	ldr	x8, [x23]
	ldr	x9, [x10]
	cmp	x8, x9
	b.lt	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x21, x22
	mov	x22, x24
	ldr	x8, [x23, #16]
Lloh81:
	adrp	x9, _NA_BOT@GOTPAGE
Lloh82:
	ldr	x9, [x9, _NA_BOT@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh84:
	adrp	x8, _qtrue@GOTPAGE
Lloh85:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	csel	x8, x8, x19, eq
	ldr	x27, [x8]
	mov	x0, x23
Lloh86:
	adrp	x1, l_.str.6@PAGE
Lloh87:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_SV_AddServerCommand
Lloh88:
	adrp	x8, _gvm@GOTPAGE
Lloh89:
	ldr	x8, [x8, _gvm@GOTPAGEOFF]
Lloh90:
	ldr	w24, [x8]
Lloh91:
	adrp	x8, _GAME_CLIENT_CONNECT@GOTPAGE
Lloh92:
	ldr	x8, [x8, _GAME_CLIENT_CONNECT@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	ldr	x8, [x19]
	stp	x8, x27, [sp, #-16]!
	mov	x0, x24
	mov	x2, x20
	bl	_VM_Call
	add	sp, sp, #16
	mov	x1, x0
	mov	x0, x24
	bl	_VM_ExplicitArgPtr
	cbnz	x0, LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x26, x28]
Lloh94:
	adrp	x9, _CS_ACTIVE@GOTPAGE
Lloh95:
	ldr	x9, [x9, _CS_ACTIVE@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x8, x26, x28
	add	x1, x8, #12
	mov	x0, x23
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x23
	mov	x1, #0
LBB0_31:                                ;   in Loop: Header=BB0_26 Depth=1
	bl	_SV_ClientEnterWorld
	b	LBB0_24
LBB0_32:
	ldr	w2, [x25, #12]
Lloh97:
	adrp	x21, _GAME_RUN_FRAME@GOTPAGE
Lloh98:
	ldr	x21, [x21, _GAME_RUN_FRAME@GOTPAGEOFF]
LBB0_33:
Lloh99:
	adrp	x8, _gvm@GOTPAGE
Lloh100:
	ldr	x8, [x8, _gvm@GOTPAGEOFF]
Lloh101:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_VM_Call
	ldr	w8, [x25, #12]
	add	w8, w8, #100
	str	w8, [x25, #12]
	ldr	w8, [x24]
	add	w8, w8, #100
	str	w8, [x24]
	b	LBB0_12
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_com_frameTime,8,3              ; @com_frameTime
	.comm	_sv,32,3                        ; @sv
	.comm	_com_sv_running,8,3             ; @com_sv_running
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Server is not running.\n"

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

	.comm	_CS_WARMUP,4,2                  ; @CS_WARMUP
l_.str.2:                               ; @.str.2
	.asciz	"%i"

	.comm	_sv_maxclients,8,3              ; @sv_maxclients
	.comm	_sv_gametype,8,3                ; @sv_gametype
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
l_.str.3:                               ; @.str.3
	.asciz	"variable change -- restarting.\n"

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

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_SNAPFLAG_SERVERCOUNT,4,2       ; @SNAPFLAG_SERVERCOUNT
	.comm	_svs,24,3                       ; @svs
l_.str.5:                               ; @.str.5
	.asciz	"sv_serverid"

	.comm	_CS_PRIMED,8,3                  ; @CS_PRIMED
	.comm	_SS_LOADING,4,2                 ; @SS_LOADING
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_gvm,4,2                        ; @gvm
	.comm	_GAME_RUN_FRAME,4,2             ; @GAME_RUN_FRAME
	.comm	_SS_GAME,4,2                    ; @SS_GAME
	.comm	_CS_CONNECTED,8,3               ; @CS_CONNECTED
	.comm	_NA_BOT,8,3                     ; @NA_BOT
l_.str.6:                               ; @.str.6
	.asciz	"map_restart\n"

	.comm	_GAME_CLIENT_CONNECT,4,2        ; @GAME_CLIENT_CONNECT
l_.str.7:                               ; @.str.7
	.asciz	"SV_MapRestart_f(%d): dropped client %i - denied!\n"

	.comm	_CS_ACTIVE,8,3                  ; @CS_ACTIVE
	.no_dead_strip	_SV_MapRestart_f
.subsections_via_symbols
