	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Cvar_Set2
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Cvar_Set2
	.p2align	4, 0x90
_Cvar_Set2:                             ## @Cvar_Set2
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_Cvar_ValidateString
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_Com_Printf
	leaq	L_.str.1(%rip), %r14
LBB0_2:
	movq	%r14, %rdi
	callq	_Cvar_FindVar
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rax, %r13
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %rbx
LBB0_11:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Validate
	movq	%rax, %r15
	movq	_CVAR_LATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, 8(%r13)
	je	LBB0_15
## %bb.12:
	cmpq	$0, 48(%r13)
	je	LBB0_15
## %bb.13:
	movq	24(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movq	48(%r13), %rsi
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:
	movq	%rsi, %rdi
	callq	_Z_Free
	movq	$0, 48(%r13)
	jmp	LBB0_39
LBB0_15:
	movq	24(%r13), %rsi
LBB0_16:
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
## %bb.17:
	movl	8(%r13), %eax
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.32:
	movq	48(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.33:
	callq	_Z_Free
	movq	$0, 48(%r13)
LBB0_34:
	movq	24(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
## %bb.35:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r13)
	incl	36(%r13)
	movq	24(%r13), %rdi
	callq	_Z_Free
	movq	%r15, %rdi
	callq	_CopyString
	movq	%rax, %rbx
	movq	%rax, 24(%r13)
	movq	%rax, %rdi
	callq	_atof
	movq	_FLT_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movapd	LCPI0_0(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm1, %xmm2
	ucomisd	%xmm2, %xmm0
	jb	LBB0_38
## %bb.36:
	ucomisd	%xmm0, %xmm1
	jb	LBB0_38
## %bb.37:
	movsd	%xmm0, 16(%r13)
LBB0_38:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 32(%r13)
	jmp	LBB0_39
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_39
LBB0_18:
	movq	_CVAR_ROM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_20
LBB0_6:
	movq	_CVAR_USER_CREATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cvar_Get                       ## TAILCALL
LBB0_21:
	movq	_CVAR_INIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	leaq	L_.str.3(%rip), %rdi
LBB0_20:
	movq	%r14, %rsi
	callq	_Com_Printf
LBB0_39:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_CVAR_CHEAT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.24:
	movq	_cvar_cheats@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_25
LBB0_26:
	testl	%eax, (%rbx)
	je	LBB0_34
## %bb.27:
	movq	48(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.28:
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
## %bb.29:
	movq	48(%r13), %rdi
	callq	_Z_Free
	jmp	LBB0_31
LBB0_25:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_20
LBB0_30:
	movq	24(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_39
LBB0_31:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	_Com_Printf
	movq	%r15, %rdi
	callq	_CopyString
	movq	%rax, 48(%r13)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r13)
	incl	36(%r13)
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid cvar name string: %s\n"

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

	.comm	_CVAR_USER_CREATED,4,2          ## @CVAR_USER_CREATED
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
	.comm	_cvar_modifiedFlags,4,2         ## @cvar_modifiedFlags
	.comm	_CVAR_ROM,4,2                   ## @CVAR_ROM
L_.str.2:                               ## @.str.2
	.asciz	"%s is read only.\n"

	.comm	_CVAR_INIT,4,2                  ## @CVAR_INIT
L_.str.3:                               ## @.str.3
	.asciz	"%s is write protected.\n"

	.comm	_CVAR_CHEAT,4,2                 ## @CVAR_CHEAT
	.comm	_cvar_cheats,8,3                ## @cvar_cheats
L_.str.4:                               ## @.str.4
	.asciz	"%s is cheat protected.\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s will be changed upon restarting.\n"

	.comm	_FLT_MAX,8,3                    ## @FLT_MAX
	.comm	_var_value,8,3                  ## @var_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Set2                      ; -- Begin function Cvar_Set2
	.p2align	2
_Cvar_Set2:                             ; @Cvar_Set2
	.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	x21, x1
	mov	x20, x0
	bl	_Cvar_ValidateString
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_Com_Printf
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_Cvar_FindVar
	cbz	x0, LBB0_18
; %bb.3:
	mov	x19, x0
	cbnz	x21, LBB0_5
; %bb.4:
	ldr	x21, [x19]
LBB0_5:
Lloh4:
	adrp	x23, _qtrue@GOTPAGE
Lloh5:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	ldr	x2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_Cvar_Validate
	mov	x21, x0
	ldr	w8, [x19, #8]
Lloh6:
	adrp	x24, _CVAR_LATCH@GOTPAGE
Lloh7:
	ldr	x24, [x24, _CVAR_LATCH@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x1, [x19, #24]
	mov	x0, x21
	bl	_strcmp
	ldr	x1, [x19, #48]
	cbnz	x0, LBB0_10
; %bb.8:
	mov	x0, x1
	bl	_Z_Free
	str	xzr, [x19, #48]
	b	LBB0_29
LBB0_9:
	ldr	x1, [x19, #24]
LBB0_10:
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_29
; %bb.11:
	ldr	w8, [x19, #8]
Lloh8:
	adrp	x9, _cvar_modifiedFlags@GOTPAGE
Lloh9:
	ldr	x9, [x9, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w10, w10, w8
	str	w10, [x9]
	cbz	w22, LBB0_22
; %bb.12:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_Z_Free
	str	xzr, [x19, #48]
LBB0_14:
	ldr	x1, [x19, #24]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_29
; %bb.15:
	ldr	x8, [x23]
	str	x8, [x19, #40]
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	ldr	x0, [x19, #24]
	bl	_Z_Free
	mov	x0, x21
	bl	_CopyString
	mov	x20, x0
	str	x0, [x19, #24]
	bl	_atof
Lloh10:
	adrp	x8, _FLT_MAX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLT_MAX@GOTPAGEOFF]
Lloh12:
	ldr	d1, [x8]
	fneg	d2, d1
	fcmp	d0, d2
	fccmp	d0, d1, #2, ge
	b.hi	LBB0_17
; %bb.16:
	str	d0, [x19, #16]
LBB0_17:
	mov	x0, x20
	bl	_atoi
	str	w0, [x19, #32]
	b	LBB0_29
LBB0_18:
	cbz	x21, LBB0_21
; %bb.19:
	cbz	w22, LBB0_24
; %bb.20:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	b	LBB0_25
LBB0_21:
	mov	x19, #0
	b	LBB0_29
LBB0_22:
Lloh13:
	adrp	x9, _CVAR_ROM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CVAR_ROM@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.23:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_24:
Lloh18:
	adrp	x8, _CVAR_USER_CREATED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CVAR_USER_CREATED@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
LBB0_25:
	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
	b	_Cvar_Get
LBB0_26:
Lloh21:
	adrp	x9, _CVAR_INIT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CVAR_INIT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.27:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_28:
	mov	x1, x20
	bl	_Com_Printf
LBB0_29:
	mov	x0, x19
	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_30:
Lloh26:
	adrp	x9, _CVAR_CHEAT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CVAR_CHEAT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
Lloh29:
	adrp	x9, _cvar_cheats@GOTPAGE
Lloh30:
	ldr	x9, [x9, _cvar_cheats@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cbz	w9, LBB0_36
LBB0_32:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.33:
	ldr	x1, [x19, #48]
	cbz	x1, LBB0_37
; %bb.34:
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_29
; %bb.35:
	ldr	x0, [x19, #48]
	bl	_Z_Free
	b	LBB0_38
LBB0_36:
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_28
LBB0_37:
	ldr	x1, [x19, #24]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_29
LBB0_38:
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_Com_Printf
	mov	x0, x21
	bl	_CopyString
	ldr	x8, [x23]
	stp	x8, x0, [x19, #40]
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	b	LBB0_29
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid cvar name string: %s\n"

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

	.comm	_CVAR_USER_CREATED,4,2          ; @CVAR_USER_CREATED
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
	.comm	_cvar_modifiedFlags,4,2         ; @cvar_modifiedFlags
	.comm	_CVAR_ROM,4,2                   ; @CVAR_ROM
l_.str.2:                               ; @.str.2
	.asciz	"%s is read only.\n"

	.comm	_CVAR_INIT,4,2                  ; @CVAR_INIT
l_.str.3:                               ; @.str.3
	.asciz	"%s is write protected.\n"

	.comm	_CVAR_CHEAT,4,2                 ; @CVAR_CHEAT
	.comm	_cvar_cheats,8,3                ; @cvar_cheats
l_.str.4:                               ; @.str.4
	.asciz	"%s is cheat protected.\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s will be changed upon restarting.\n"

	.comm	_FLT_MAX,8,3                    ; @FLT_MAX
	.comm	_var_value,8,3                  ; @var_value
.subsections_via_symbols
