	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_RegisterCvars               ## -- Begin function CG_RegisterCvars
	.p2align	4, 0x90
_CG_RegisterCvars:                      ## @CG_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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_TOKEN_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_cvarTableSize@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	movq	_cvarTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	$16, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	-16(%rbx), %rsi
	movl	-4(%rbx), %edx
	movl	-8(%rbx), %ecx
	callq	_trap_Cvar_Register
	incl	%r13d
	addq	$24, %rbx
	cmpl	(%r12), %r13d
	jl	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_trap_Cvar_VariableStringBuffer
	movq	%r15, %rdi
	callq	_atoi
	movq	_cgs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_cg_forceModel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_forceModelModificationCount@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_DEFAULT_MODEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_CVAR_USERINFO@GOTPCREL(%rip), %r14
	movq	_CVAR_ARCHIVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%edi, %edi
	callq	_trap_Cvar_Register
	movl	(%r15), %edx
	movl	(%rbx), %ecx
	orl	(%r14), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	callq	_trap_Cvar_Register
	movq	_DEFAULT_TEAM_MODEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	orl	(%r14), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	callq	_trap_Cvar_Register
	movq	_DEFAULT_TEAM_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	orl	(%r14), %ecx
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	callq	_trap_Cvar_Register
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ## @MAX_TOKEN_CHARS
	.comm	_cvarTable,8,3                  ## @cvarTable
	.comm	_cvarTableSize,4,2              ## @cvarTableSize
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sv_running"

	.comm	_cgs,4,2                        ## @cgs
	.comm	_cg_forceModel,4,2              ## @cg_forceModel
	.comm	_forceModelModificationCount,4,2 ## @forceModelModificationCount
L_.str.1:                               ## @.str.1
	.asciz	"model"

	.comm	_DEFAULT_MODEL,4,2              ## @DEFAULT_MODEL
	.comm	_CVAR_USERINFO,4,2              ## @CVAR_USERINFO
	.comm	_CVAR_ARCHIVE,4,2               ## @CVAR_ARCHIVE
L_.str.2:                               ## @.str.2
	.asciz	"headmodel"

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

	.comm	_DEFAULT_TEAM_MODEL,4,2         ## @DEFAULT_TEAM_MODEL
L_.str.4:                               ## @.str.4
	.asciz	"team_headmodel"

	.comm	_DEFAULT_TEAM_HEAD,4,2          ## @DEFAULT_TEAM_HEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_RegisterCvars               ; -- Begin function CG_RegisterCvars
	.p2align	2
_CG_RegisterCvars:                      ; @CG_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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_TOKEN_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_TOKEN_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	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
Lloh8:
	adrp	x21, _cvarTableSize@GOTPAGE
Lloh9:
	ldr	x21, [x21, _cvarTableSize@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
Lloh10:
	adrp	x8, _cvarTable@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cvarTable@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x23, x8, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldur	x1, [x23, #-16]
	ldp	w3, w2, [x23, #-8]
	bl	_trap_Cvar_Register
	add	w22, w22, #1
	ldr	w8, [x21]
	add	x23, x23, #24
	cmp	w22, w8
	b.lt	LBB0_2
LBB0_3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_trap_Cvar_VariableStringBuffer
	mov	x0, x20
	bl	_atoi
Lloh15:
	adrp	x8, _cgs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
Lloh18:
	adrp	x8, _cg_forceModel@GOTPAGE
Lloh19:
	ldr	x8, [x8, _cg_forceModel@GOTPAGEOFF]
Lloh20:
	adrp	x9, _forceModelModificationCount@GOTPAGE
Lloh21:
	ldr	x9, [x9, _forceModelModificationCount@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	str	w8, [x9]
Lloh24:
	adrp	x19, _DEFAULT_MODEL@GOTPAGE
Lloh25:
	ldr	x19, [x19, _DEFAULT_MODEL@GOTPAGEOFF]
Lloh26:
	adrp	x20, _CVAR_USERINFO@GOTPAGE
Lloh27:
	ldr	x20, [x20, _CVAR_USERINFO@GOTPAGEOFF]
	ldr	w2, [x19]
	ldr	w8, [x20]
Lloh28:
	adrp	x21, _CVAR_ARCHIVE@GOTPAGE
Lloh29:
	ldr	x21, [x21, _CVAR_ARCHIVE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_trap_Cvar_Register
	ldr	w2, [x19]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_trap_Cvar_Register
Lloh34:
	adrp	x8, _DEFAULT_TEAM_MODEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DEFAULT_TEAM_MODEL@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_trap_Cvar_Register
Lloh39:
	adrp	x8, _DEFAULT_TEAM_HEAD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DEFAULT_TEAM_HEAD@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, #0
	bl	_trap_Cvar_Register
	ldur	x8, [x29, #-56]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	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
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOKEN_CHARS,4,2            ; @MAX_TOKEN_CHARS
	.comm	_cvarTable,8,3                  ; @cvarTable
	.comm	_cvarTableSize,4,2              ; @cvarTableSize
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sv_running"

	.comm	_cgs,4,2                        ; @cgs
	.comm	_cg_forceModel,4,2              ; @cg_forceModel
	.comm	_forceModelModificationCount,4,2 ; @forceModelModificationCount
l_.str.1:                               ; @.str.1
	.asciz	"model"

	.comm	_DEFAULT_MODEL,4,2              ; @DEFAULT_MODEL
	.comm	_CVAR_USERINFO,4,2              ; @CVAR_USERINFO
	.comm	_CVAR_ARCHIVE,4,2               ; @CVAR_ARCHIVE
l_.str.2:                               ; @.str.2
	.asciz	"headmodel"

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

	.comm	_DEFAULT_TEAM_MODEL,4,2         ; @DEFAULT_TEAM_MODEL
l_.str.4:                               ; @.str.4
	.asciz	"team_headmodel"

	.comm	_DEFAULT_TEAM_HEAD,4,2          ; @DEFAULT_TEAM_HEAD
.subsections_via_symbols
