	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Set2                      ## -- Begin function 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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_Com_DPrintf
	movq	%rbx, %rdi
	callq	_Cvar_ValidateString
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	leaq	L_.str.2(%rip), %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_Cvar_FindVar
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%rax, %r15
	testq	%r14, %r14
	jne	LBB0_11
## %bb.10:
	movq	(%r15), %r14
LBB0_11:
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.12:
	movl	8(%r15), %eax
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.27:
	movq	48(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_Z_Free
	movq	$0, 48(%r15)
LBB0_29:
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	incl	32(%r15)
	movq	16(%r15), %rdi
	callq	_Z_Free
	movq	%r14, %rdi
	callq	_CopyString
	movq	%rax, %rbx
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_atof
	movl	%eax, 28(%r15)
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 24(%r15)
	jmp	LBB0_31
LBB0_3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_13:
	movq	_CVAR_ROM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.14:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_31
LBB0_6:
	movq	_CVAR_USER_CREATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cvar_Get                       ## TAILCALL
LBB0_16:
	movq	_CVAR_INIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rdi
LBB0_15:
	movq	%rbx, %rsi
	callq	_Com_Printf
LBB0_31:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_CVAR_LATCH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.19:
	movq	48(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.20:
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.21:
	movq	48(%r15), %rdi
	callq	_Z_Free
	jmp	LBB0_23
LBB0_24:
	movq	_CVAR_CHEAT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.25:
	movq	_cvar_cheats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_29
## %bb.26:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_15
LBB0_22:
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
LBB0_23:
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	%r14, %rdi
	callq	_CopyString
	movq	%rax, 48(%r15)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	incl	32(%r15)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cvar_Set2: %s %s\n"

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
	.comm	_CVAR_ROM,4,2                   ## @CVAR_ROM
L_.str.3:                               ## @.str.3
	.asciz	"%s is read only.\n"

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

	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
L_.str.5:                               ## @.str.5
	.asciz	"%s will be changed upon restarting.\n"

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

	.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	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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_Com_DPrintf
	mov	x0, x21
	bl	_Cvar_ValidateString
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_Com_Printf
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:
	mov	x0, x21
	bl	_Cvar_FindVar
	cbz	x0, LBB0_11
; %bb.3:
	mov	x19, x0
	cbnz	x20, LBB0_5
; %bb.4:
	ldr	x20, [x19]
LBB0_5:
	ldr	x1, [x19, #16]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.6:
	ldr	w8, [x19, #8]
Lloh6:
	adrp	x9, _cvar_modifiedFlags@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w10, w10, w8
	str	w10, [x9]
	cbz	w22, LBB0_14
; %bb.7:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_Z_Free
	str	xzr, [x19, #48]
LBB0_9:
	ldr	x1, [x19, #16]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.10:
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	ldr	x0, [x19, #16]
	bl	_Z_Free
	mov	x0, x20
	bl	_CopyString
	mov	x20, x0
	str	x0, [x19, #16]
	bl	_atof
	str	w0, [x19, #28]
	mov	x0, x20
	bl	_atoi
	str	w0, [x19, #24]
	b	LBB0_22
LBB0_11:
	cbz	x20, LBB0_16
; %bb.12:
	cbz	w22, LBB0_17
; %bb.13:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	b	LBB0_18
LBB0_14:
Lloh11:
	adrp	x9, _CVAR_ROM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CVAR_ROM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.15:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_16:
	mov	x19, #0
	b	LBB0_22
LBB0_17:
Lloh16:
	adrp	x8, _CVAR_USER_CREATED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CVAR_USER_CREATED@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
LBB0_18:
	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	_Cvar_Get
LBB0_19:
Lloh19:
	adrp	x9, _CVAR_INIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CVAR_INIT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.20:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_21:
	mov	x1, x21
	bl	_Com_Printf
LBB0_22:
	mov	x0, x19
	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_23:
Lloh24:
	adrp	x9, _CVAR_LATCH@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CVAR_LATCH@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.24:
	ldr	x1, [x19, #48]
	cbz	x1, LBB0_30
; %bb.25:
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.26:
	ldr	x0, [x19, #48]
	bl	_Z_Free
	b	LBB0_31
LBB0_27:
Lloh27:
	adrp	x9, _CVAR_CHEAT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CVAR_CHEAT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.28:
Lloh30:
	adrp	x8, _cvar_cheats@GOTPAGE
Lloh31:
	ldr	x8, [x8, _cvar_cheats@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.29:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_21
LBB0_30:
	ldr	x1, [x19, #16]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_22
LBB0_31:
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_Com_Printf
	mov	x0, x20
	bl	_CopyString
Lloh37:
	adrp	x8, _qtrue@GOTPAGE
Lloh38:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	stp	x8, x0, [x19, #40]
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cvar_Set2: %s %s\n"

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
	.comm	_CVAR_ROM,4,2                   ; @CVAR_ROM
l_.str.3:                               ; @.str.3
	.asciz	"%s is read only.\n"

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

	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
l_.str.5:                               ; @.str.5
	.asciz	"%s will be changed upon restarting.\n"

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

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