	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_RestartGameProgs            ## -- Begin function SV_RestartGameProgs
	.p2align	4, 0x90
_SV_RestartGameProgs:                   ## @SV_RestartGameProgs
	.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	_gvm@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_GAME_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_qtrue@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_VM_Call
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	callq	_VM_Restart
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_3:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SV_InitGameVM                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gvm,8,3                        ## @gvm
	.comm	_GAME_SHUTDOWN,4,2              ## @GAME_SHUTDOWN
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM_Restart on game failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_RestartGameProgs            ; -- Begin function SV_RestartGameProgs
	.p2align	2
_SV_RestartGameProgs:                   ; @SV_RestartGameProgs
	.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	x20, _gvm@GOTPAGE
Lloh1:
	ldr	x20, [x20, _gvm@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _GAME_SHUTDOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GAME_SHUTDOWN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x19, _qtrue@GOTPAGE
Lloh6:
	ldr	x19, [x19, _qtrue@GOTPAGEOFF]
	ldr	w2, [x19]
	bl	_VM_Call
	ldr	x0, [x20]
	ldr	w1, [x19]
	bl	_VM_Restart
	str	x0, [x20]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_3:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SV_InitGameVM
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_gvm,8,3                        ; @gvm
	.comm	_GAME_SHUTDOWN,4,2              ; @GAME_SHUTDOWN
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM_Restart on game failed"

.subsections_via_symbols
