	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RegisterCvars                ## -- Begin function G_RegisterCvars
	.p2align	4, 0x90
_G_RegisterCvars:                       ## @G_RegisterCvars
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_gameCvarTableSize@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.1:
	movq	_gameCvarTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	$28, %rbx
	xorl	%r12d, %r12d
	movq	_qtrue@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$32, %rbx
	cmpl	(%r14), %r12d
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-20(%rbx), %rdi
	movl	(%rbx), %esi
	movl	-4(%rbx), %edx
	movl	-8(%rbx), %ecx
	callq	_trap_Cvar_Register
	movq	-20(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -12(%rbx)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -28(%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %r15
	jmp	LBB0_6
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_G_RemapTeamShaders
LBB0_9:
	movq	_g_gametype@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	js	LBB0_11
## %bb.10:
	movq	_GT_MAX_GAME_TYPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jl	LBB0_12
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_G_Printf
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_trap_Cvar_Set
LBB0_12:
	movq	_g_warmup@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_level@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_gameCvarTable,8,3              ## @gameCvarTable
	.comm	_gameCvarTableSize,4,2          ## @gameCvarTableSize
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_g_gametype,8,3                 ## @g_gametype
	.comm	_GT_MAX_GAME_TYPE,8,3           ## @GT_MAX_GAME_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"g_gametype %i is out of range, defaulting to 0\n"

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

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

	.comm	_g_warmup,4,2                   ## @g_warmup
	.comm	_level,4,2                      ## @level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_RegisterCvars                ; -- Begin function G_RegisterCvars
	.p2align	2
_G_RegisterCvars:                       ; @G_RegisterCvars
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x20, _gameCvarTableSize@GOTPAGE
Lloh4:
	ldr	x20, [x20, _gameCvarTableSize@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w21, #0
Lloh5:
	adrp	x8, _gameCvarTable@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gameCvarTable@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x22, x8, #16
Lloh8:
	adrp	x23, _qtrue@GOTPAGE
Lloh9:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x22, #-16]
	ldr	x9, [x23]
	cmp	x8, #0
	csel	x19, x19, x9, eq
	add	w21, w21, #1
	ldr	w8, [x20]
	add	x22, x22, #32
	cmp	w21, w8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x22, #-8]
	ldp	w2, w1, [x22, #8]
	ldr	w3, [x22, #4]
	bl	_trap_Cvar_Register
	ldur	x8, [x22, #-8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_2
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	bl	_G_RemapTeamShaders
LBB0_7:
Lloh10:
	adrp	x8, _g_gametype@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_gametype@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
	tbnz	x1, #63, LBB0_9
; %bb.8:
Lloh13:
	adrp	x8, _GT_MAX_GAME_TYPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GT_MAX_GAME_TYPE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x1, x8
	b.lt	LBB0_10
LBB0_9:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_G_Printf
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_trap_Cvar_Set
LBB0_10:
Lloh22:
	adrp	x8, _g_warmup@GOTPAGE
Lloh23:
	ldr	x8, [x8, _g_warmup@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _level@GOTPAGE
Lloh26:
	ldr	x9, [x9, _level@GOTPAGEOFF]
Lloh27:
	str	w8, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_gameCvarTable,8,3              ; @gameCvarTable
	.comm	_gameCvarTableSize,4,2          ; @gameCvarTableSize
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_g_gametype,8,3                 ; @g_gametype
	.comm	_GT_MAX_GAME_TYPE,8,3           ; @GT_MAX_GAME_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"g_gametype %i is out of range, defaulting to 0\n"

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

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

	.comm	_g_warmup,4,2                   ; @g_warmup
	.comm	_level,4,2                      ; @level
.subsections_via_symbols
