	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_SetValueSafe              ## -- Begin function Cvar_SetValueSafe
	.p2align	4, 0x90
_Cvar_SetValueSafe:                     ## @Cvar_SetValueSafe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_Q_isintegral
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cvttps2dq	-64(%rbp), %xmm0        ## 16-byte Folded Reload
	cvtdq2ps	%xmm0, %xmm0
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$32, %esi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$32, %esi
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
LBB0_3:
	callq	_Com_sprintf
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_Cvar_SetSafe
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_SetValueSafe              ; -- Begin function Cvar_SetValueSafe
	.p2align	2
_Cvar_SetValueSafe:                     ; @Cvar_SetValueSafe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	s8, s0
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_Q_isintegral
	cbz	x0, LBB0_2
; %bb.1:
	fcvtzs	s0, s8
	scvtf	s0, s0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	fmov	s0, s8
LBB0_3:
	bl	_Com_sprintf
	add	x1, sp, #8
	mov	x0, x19
	bl	_Cvar_SetSafe
	ldr	x8, [sp, #40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i"

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

.subsections_via_symbols
