	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_SetSafe                   ## -- Begin function Cvar_SetSafe
	.p2align	4, 0x90
_Cvar_SetSafe:                          ## @Cvar_SetSafe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_Cvar_Flags
	movq	_CVAR_NONEXISTENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.1:
	movq	_CVAR_PROTECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%r14, %r14
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Com_Error                      ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Cvar_Set                       ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Com_Error                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CVAR_NONEXISTENT,4,2           ## @CVAR_NONEXISTENT
	.comm	_CVAR_PROTECTED,4,2             ## @CVAR_PROTECTED
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Restricted source tried to set \"%s\" to \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"Restricted source tried to modify \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_SetSafe                   ; -- Begin function Cvar_SetSafe
	.p2align	2
_Cvar_SetSafe:                          ; @Cvar_SetSafe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_Cvar_Flags
Lloh0:
	adrp	x8, _CVAR_NONEXISTENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CVAR_NONEXISTENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _CVAR_PROTECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CVAR_PROTECTED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	cbz	x20, LBB0_5
; %bb.3:
	str	x20, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_Com_Error
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Cvar_Set
LBB0_5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Com_Error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CVAR_NONEXISTENT,4,2           ; @CVAR_NONEXISTENT
	.comm	_CVAR_PROTECTED,4,2             ; @CVAR_PROTECTED
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Restricted source tried to set \"%s\" to \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"Restricted source tried to modify \"%s\""

.subsections_via_symbols
