	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Get                       ## -- Begin function Cvar_Get
	.p2align	4, 0x90
_Cvar_Get:                              ## @Cvar_Get
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_2:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_3:
	movq	%r15, %rdi
	callq	_Cvar_ValidateString
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_Com_Printf
	leaq	L_.str.2(%rip), %r15
LBB0_5:
	movq	%r15, %rdi
	callq	_Cvar_FindVar
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movq	%rax, %r13
	movl	(%rax), %eax
	movq	_CVAR_USER_CREATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_10
## %bb.7:
	movl	%ecx, %edx
	andl	%r14d, %edx
	jne	LBB0_10
## %bb.8:
	cmpb	$0, (%rbx)
	je	LBB0_10
## %bb.9:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r13)
	movq	8(%r13), %rdi
	callq	_Z_Free
	movq	%rbx, %rdi
	callq	_CopyString
	movq	%rax, 8(%r13)
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %rax
	orl	%r14d, (%rax)
	movl	(%r13), %eax
LBB0_10:
	orl	%r14d, %eax
	movl	%eax, (%r13)
	movq	8(%r13), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_11
## %bb.12:
	cmpb	$0, (%rbx)
	je	LBB0_15
## %bb.13:
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	8(%r13), %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	callq	_Com_DPrintf
	jmp	LBB0_15
LBB0_17:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_cvar_numIndexes@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	_MAX_CVARS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_19
## %bb.18:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rdx, %r14
	callq	_Com_Error
	movq	%r14, %rdx
	movq	(%r14), %rax
LBB0_19:
	movq	_cvar_indexes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	leaq	(%rax,%rax,4), %r14
	shlq	$4, %r14
	leaq	(%r12,%r14), %r13
	incq	%rax
	movq	%rax, (%rdx)
	movq	%r15, %rdi
	callq	_CopyString
	movq	%rax, 72(%r12,%r14)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_CopyString
	movq	%rax, %rbx
	movq	%rax, 48(%r12,%r14)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r12,%r14)
	movl	$1, 24(%r12,%r14)
	movq	%rbx, %rdi
	callq	_atof
	movl	%eax, 60(%r12,%r14)
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 56(%r12,%r14)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_CopyString
	movq	%rax, 8(%r12,%r14)
	movq	_cvar_vars@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 40(%r12,%r14)
	movq	%r13, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12,%r14)
	movq	%r15, %rdi
	callq	_generateHashValue
	movq	_hashTable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%rdx,%rax,8), %rdx
	movq	%rdx, 32(%r12,%r14)
	movq	(%rcx), %rcx
	movq	%r13, (%rcx,%rax,8)
	jmp	LBB0_20
LBB0_11:
	callq	_Z_Free
	movq	%rbx, %rdi
	callq	_CopyString
	movq	%rax, 8(%r13)
LBB0_15:
	movq	16(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.16:
	movq	$0, 16(%r13)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Set2
	movq	%rbx, %rdi
	callq	_Z_Free
LBB0_20:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cvar_Get: NULL parameter"

L_.str.1:                               ## @.str.1
	.asciz	"invalid cvar name string: %s\n"

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

	.comm	_CVAR_USER_CREATED,4,2          ## @CVAR_USER_CREATED
	.comm	_cvar_modifiedFlags,4,2         ## @cvar_modifiedFlags
L_.str.3:                               ## @.str.3
	.asciz	"Warning: cvar \"%s\" given initial values: \"%s\" and \"%s\"\n"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_cvar_numIndexes,8,3            ## @cvar_numIndexes
	.comm	_MAX_CVARS,8,3                  ## @MAX_CVARS
L_.str.4:                               ## @.str.4
	.asciz	"MAX_CVARS"

	.comm	_cvar_indexes,8,3               ## @cvar_indexes
	.comm	_cvar_vars,8,3                  ## @cvar_vars
	.comm	_hashTable,8,3                  ## @hashTable
	.comm	_CVAR_ROM,4,2                   ## @CVAR_ROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Get                       ; -- Begin function Cvar_Get
	.p2align	2
_Cvar_Get:                              ; @Cvar_Get
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	cbnz	x20, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_3:
	mov	x0, x19
	bl	_Cvar_ValidateString
	cbnz	w0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_Com_Printf
Lloh7:
	adrp	x19, l_.str.2@PAGE
Lloh8:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_Cvar_FindVar
	cbz	x0, LBB0_13
; %bb.6:
	mov	x21, x0
Lloh9:
	adrp	x9, _CVAR_USER_CREATED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CVAR_USER_CREATED@GOTPAGEOFF]
	ldr	w8, [x0]
Lloh11:
	ldr	w9, [x9]
	and	w10, w9, w8
	and	w11, w9, w22
	cmp	w10, #0
	ccmp	w11, #0, #0, ne
	b.ne	LBB0_9
; %bb.7:
	ldrb	w10, [x20]
	cbz	w10, LBB0_9
; %bb.8:
	bic	w8, w8, w9
	str	w8, [x21]
	ldr	x0, [x21, #8]
	bl	_Z_Free
	mov	x0, x20
	bl	_CopyString
	str	x0, [x21, #8]
Lloh12:
	adrp	x8, _cvar_modifiedFlags@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w22
	str	w9, [x8]
	ldr	w8, [x21]
LBB0_9:
	orr	w8, w8, w22
	str	w8, [x21]
	ldr	x0, [x21, #8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_16
; %bb.10:
	ldrb	w8, [x20]
	cbz	w8, LBB0_17
; %bb.11:
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.12:
	ldr	x2, [x21, #8]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_Com_DPrintf
	b	LBB0_17
LBB0_13:
Lloh16:
	adrp	x23, _cvar_numIndexes@GOTPAGE
Lloh17:
	ldr	x23, [x23, _cvar_numIndexes@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh18:
	adrp	x9, _MAX_CVARS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_CVARS@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_15
; %bb.14:
Lloh21:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Com_Error
	ldr	x8, [x23]
LBB0_15:
Lloh26:
	adrp	x9, _cvar_indexes@GOTPAGE
Lloh27:
	ldr	x9, [x9, _cvar_indexes@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	mov	w10, #80
	madd	x21, x8, x10, x9
	add	x8, x8, #1
	str	x8, [x23]
	mov	x0, x19
	bl	_CopyString
	str	x0, [x21, #72]
	mov	x0, x20
	bl	_CopyString
	mov	x23, x0
	str	x0, [x21, #48]
Lloh29:
	adrp	x8, _qtrue@GOTPAGE
Lloh30:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	mov	w8, #1
	str	w8, [x21, #24]
	bl	_atof
	str	w0, [x21, #60]
	mov	x0, x23
	bl	_atoi
	str	w0, [x21, #56]
	mov	x0, x20
	bl	_CopyString
	str	x0, [x21, #8]
Lloh32:
	adrp	x8, _cvar_vars@GOTPAGE
Lloh33:
	ldr	x8, [x8, _cvar_vars@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x21, #40]
	str	x21, [x8]
	str	w22, [x21]
	mov	x0, x19
	bl	_generateHashValue
Lloh34:
	adrp	x8, _hashTable@GOTPAGE
Lloh35:
	ldr	x8, [x8, _hashTable@GOTPAGEOFF]
	ldr	x9, [x8]
	lsl	x10, x0, #3
	ldr	x9, [x9, x10]
	str	x9, [x21, #32]
	ldr	x8, [x8]
	str	x21, [x8, x10]
	b	LBB0_19
LBB0_16:
	bl	_Z_Free
	mov	x0, x20
	bl	_CopyString
	str	x0, [x21, #8]
LBB0_17:
	ldr	x20, [x21, #16]
	cbz	x20, LBB0_19
; %bb.18:
	str	xzr, [x21, #16]
Lloh36:
	adrp	x8, _qtrue@GOTPAGE
Lloh37:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_Cvar_Set2
	mov	x0, x20
	bl	_Z_Free
LBB0_19:
	mov	x0, x21
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cvar_Get: NULL parameter"

l_.str.1:                               ; @.str.1
	.asciz	"invalid cvar name string: %s\n"

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

	.comm	_CVAR_USER_CREATED,4,2          ; @CVAR_USER_CREATED
	.comm	_cvar_modifiedFlags,4,2         ; @cvar_modifiedFlags
l_.str.3:                               ; @.str.3
	.asciz	"Warning: cvar \"%s\" given initial values: \"%s\" and \"%s\"\n"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_cvar_numIndexes,8,3            ; @cvar_numIndexes
	.comm	_MAX_CVARS,8,3                  ; @MAX_CVARS
l_.str.4:                               ; @.str.4
	.asciz	"MAX_CVARS"

	.comm	_cvar_indexes,8,3               ; @cvar_indexes
	.comm	_cvar_vars,8,3                  ; @cvar_vars
	.comm	_hashTable,8,3                  ; @hashTable
	.comm	_CVAR_ROM,4,2                   ; @CVAR_ROM
.subsections_via_symbols
