	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_MapRestart
_CG_MapRestart:                         ## @CG_MapRestart
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cg_showmiss@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_CG_Printf
LBB0_2:
	xorl	%eax, %eax
	callq	_CG_InitLocalEntities
	xorl	%eax, %eax
	callq	_CG_InitMarkPolys
	xorl	%eax, %eax
	callq	_CG_ClearParticles
	xorps	%xmm0, %xmm0
	movq	_cg@GOTPCREL(%rip), %rbx
	movups	%xmm0, 24(%rbx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_cgs@GOTPCREL(%rip), %r14
	movq	$0, 8(%r14)
	movq	_qtrue@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	callq	_CG_StartMusic
	movl	(%r15), %edi
	callq	_trap_S_ClearLoopingSounds
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	movq	_CHAN_ANNOUNCER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
	movq	_GIANTCHAR_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%edx, %edx
	leaq	L_.str.1(%rip), %rdi
	movl	$120, %esi
	callq	_CG_CenterPrint
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_Cvar_Set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_showmiss,8,3                ## @cg_showmiss
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CG_MapRestart\n"

	.comm	_cg,40,3                        ## @cg
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_cgs,16,3                       ## @cgs
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_CHAN_ANNOUNCER,4,2             ## @CHAN_ANNOUNCER
L_.str.1:                               ## @.str.1
	.asciz	"FIGHT!"

	.comm	_GIANTCHAR_WIDTH,4,2            ## @GIANTCHAR_WIDTH
L_.str.2:                               ## @.str.2
	.asciz	"cg_thirdPerson"

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

	.comm	_cg_recordSPDemo,8,3            ## @cg_recordSPDemo
	.comm	_cg_recordSPDemoName,8,3        ## @cg_recordSPDemoName
	.comm	_cg_singlePlayerActive,8,3      ## @cg_singlePlayerActive
	.no_dead_strip	_CG_MapRestart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_MapRestart
_CG_MapRestart:                         ; @CG_MapRestart
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _cg_showmiss@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg_showmiss@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_CG_Printf
LBB0_2:
	bl	_CG_InitLocalEntities
	bl	_CG_InitMarkPolys
	bl	_CG_ClearParticles
Lloh5:
	adrp	x20, _cg@GOTPAGE
Lloh6:
	ldr	x20, [x20, _cg@GOTPAGEOFF]
	stp	xzr, xzr, [x20, #24]
Lloh7:
	adrp	x8, _qfalse@GOTPAGE
Lloh8:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x19, _cgs@GOTPAGE
Lloh11:
	ldr	x19, [x19, _cgs@GOTPAGEOFF]
	str	xzr, [x19, #8]
Lloh12:
	adrp	x21, _qtrue@GOTPAGE
Lloh13:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	ldr	w9, [x21]
	stp	w9, w8, [x20, #16]
	bl	_CG_StartMusic
	ldr	w0, [x21]
	bl	_trap_S_ClearLoopingSounds
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _CHAN_ANNOUNCER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHAN_ANNOUNCER@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
Lloh17:
	adrp	x8, _GIANTCHAR_WIDTH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GIANTCHAR_WIDTH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	lsl	w2, w8, #1
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #120
	bl	_CG_CenterPrint
LBB0_4:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_trap_Cvar_Set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_showmiss,8,3                ; @cg_showmiss
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CG_MapRestart\n"

	.comm	_cg,40,3                        ; @cg
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_cgs,16,3                       ; @cgs
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_CHAN_ANNOUNCER,4,2             ; @CHAN_ANNOUNCER
l_.str.1:                               ; @.str.1
	.asciz	"FIGHT!"

	.comm	_GIANTCHAR_WIDTH,4,2            ; @GIANTCHAR_WIDTH
l_.str.2:                               ; @.str.2
	.asciz	"cg_thirdPerson"

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

	.comm	_cg_recordSPDemo,8,3            ; @cg_recordSPDemo
	.comm	_cg_recordSPDemoName,8,3        ; @cg_recordSPDemoName
	.comm	_cg_singlePlayerActive,8,3      ; @cg_singlePlayerActive
	.no_dead_strip	_CG_MapRestart
.subsections_via_symbols
