	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_UpdateCvars                 ## -- Begin function CG_UpdateCvars
	.p2align	4, 0x90
_CG_UpdateCvars:                        ## @CG_UpdateCvars
	.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	_cvarTableSize@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	_cvarTable@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_trap_Cvar_Update
	incq	%rbx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_drawTeamOverlayModificationCount@GOTPCREL(%rip), %rax
	movq	_cg_drawTeamOverlay@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rdx, (%rax)
	cmpq	$0, 8(%rcx)
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %rsi
	cmovgq	%r14, %rsi
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_trap_Cvar_Set
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_trap_Cvar_Set
LBB0_5:
	movq	_forceModelModificationCount@GOTPCREL(%rip), %rax
	movq	_cg_forceModel@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_7
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_ForceModelChange            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cvarTable,8,3                  ## @cvarTable
	.comm	_cvarTableSize,4,2              ## @cvarTableSize
	.comm	_drawTeamOverlayModificationCount,8,3 ## @drawTeamOverlayModificationCount
	.comm	_cg_drawTeamOverlay,16,3        ## @cg_drawTeamOverlay
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"teamoverlay"

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

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

	.comm	_forceModelModificationCount,8,3 ## @forceModelModificationCount
	.comm	_cg_forceModel,8,3              ## @cg_forceModel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_UpdateCvars                 ; -- Begin function CG_UpdateCvars
	.p2align	2
_CG_UpdateCvars:                        ; @CG_UpdateCvars
	.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	x19, _cvarTableSize@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cvarTableSize@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x8, _cvarTable@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cvarTable@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x20, lsl #2]
	bl	_trap_Cvar_Update
	ldr	w8, [x19]
	add	x20, x20, #1
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh5:
	adrp	x8, _drawTeamOverlayModificationCount@GOTPAGE
Lloh6:
	ldr	x8, [x8, _drawTeamOverlayModificationCount@GOTPAGEOFF]
	ldr	x11, [x8]
Lloh7:
	adrp	x9, _cg_drawTeamOverlay@GOTPAGE
Lloh8:
	ldr	x9, [x9, _cg_drawTeamOverlay@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x11, x10
	b.eq	LBB0_5
; %bb.4:
	str	x10, [x8]
	ldr	x8, [x9, #8]
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh11:
	adrp	x19, l_.str.1@PAGE
Lloh12:
	add	x19, x19, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x19, x9, gt
Lloh13:
	adrp	x20, l_.str@PAGE
Lloh14:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_trap_Cvar_Set
	mov	x0, x20
	mov	x1, x19
	bl	_trap_Cvar_Set
LBB0_5:
Lloh15:
	adrp	x8, _forceModelModificationCount@GOTPAGE
Lloh16:
	ldr	x8, [x8, _forceModelModificationCount@GOTPAGEOFF]
	ldr	x10, [x8]
Lloh17:
	adrp	x9, _cg_forceModel@GOTPAGE
Lloh18:
	ldr	x9, [x9, _cg_forceModel@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x10, x9
	b.ne	LBB0_7
; %bb.6:
	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
	ret
LBB0_7:
	str	x9, [x8]
	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	_CG_ForceModelChange
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_cvarTable,8,3                  ; @cvarTable
	.comm	_cvarTableSize,4,2              ; @cvarTableSize
	.comm	_drawTeamOverlayModificationCount,8,3 ; @drawTeamOverlayModificationCount
	.comm	_cg_drawTeamOverlay,16,3        ; @cg_drawTeamOverlay
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"teamoverlay"

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

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

	.comm	_forceModelModificationCount,8,3 ; @forceModelModificationCount
	.comm	_cg_forceModel,8,3              ; @cg_forceModel
.subsections_via_symbols
