	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CL_UpdateGUID
_CL_UpdateGUID:                         ## @CL_UpdateGUID
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_QKEY_FILE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-36(%rbp), %rsi
	callq	_FS_SV_FOpenFileRead
	movl	%eax, %ebx
	movl	-36(%rbp), %edi
	callq	_FS_FCloseFile
	movq	_QKEY_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_1
## %bb.2:
	movl	(%r12), %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_Com_MD5File
	movq	%rax, %rsi
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_Set
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QKEY_FILE,4,2                  ## @QKEY_FILE
	.comm	_QKEY_SIZE,4,2                  ## @QKEY_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cl_guid"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_CL_UpdateGUID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CL_UpdateGUID
_CL_UpdateGUID:                         ; @CL_UpdateGUID
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _QKEY_FILE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QKEY_FILE@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #12
	bl	_FS_SV_FOpenFileRead
	mov	x21, x0
	ldr	w0, [sp, #12]
	bl	_FS_FCloseFile
Lloh2:
	adrp	x8, _QKEY_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QKEY_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x22]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_Com_MD5File
	mov	x1, x0
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_Set
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QKEY_FILE,4,2                  ; @QKEY_FILE
	.comm	_QKEY_SIZE,4,2                  ; @QKEY_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cl_guid"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_CL_UpdateGUID
.subsections_via_symbols
