	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_InitRef                     ## -- Begin function CL_InitRef
	.p2align	4, 0x90
_CL_InitRef:                            ## @CL_InitRef
	.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	$120, %rsp
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	movq	_Cmd_AddCommand@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_Cmd_RemoveCommand@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_Cmd_Argc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_Cmd_Argv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_Cbuf_ExecuteText@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_CL_RefPrintf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_Com_Error@GOTPCREL(%rip), %rax
	movq	%rax, -40(%rbp)
	movq	_CL_ScaledMilliseconds@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_CL_RefMalloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_Z_Free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_Hunk_Alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_Hunk_AllocateTempMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_Hunk_FreeTempMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_CM_DrawDebugSurface@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_FS_ReadFile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_FS_FreeFile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_FS_WriteFile@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_FS_FreeFileList@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_FS_ListFiles@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_FS_FileIsInPAK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_FS_FileExists@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	_Cvar_Get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	_Cvar_Set@GOTPCREL(%rip), %rax
	movq	%rax, -112(%rbp)
	movq	_CIN_UploadCinematic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_CIN_PlayCinematic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movq	_CIN_RunCinematic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	_REF_API_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-128(%rbp), %rsi
	callq	_GetRefAPI
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_Com_Printf
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_Com_Error
LBB0_2:
	movl	(%rbx), %eax
	movq	_re@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_Cvar_Set
	addq	$120, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"----- Initializing Renderer ----\n"

	.comm	_Cmd_AddCommand,4,2             ## @Cmd_AddCommand
	.comm	_Cmd_RemoveCommand,4,2          ## @Cmd_RemoveCommand
	.comm	_Cmd_Argc,4,2                   ## @Cmd_Argc
	.comm	_Cmd_Argv,4,2                   ## @Cmd_Argv
	.comm	_Cbuf_ExecuteText,4,2           ## @Cbuf_ExecuteText
	.comm	_CL_RefPrintf,4,2               ## @CL_RefPrintf
	.comm	_CL_ScaledMilliseconds,4,2      ## @CL_ScaledMilliseconds
	.comm	_CL_RefMalloc,4,2               ## @CL_RefMalloc
	.comm	_Z_Free,4,2                     ## @Z_Free
	.comm	_Hunk_Alloc,4,2                 ## @Hunk_Alloc
	.comm	_Hunk_AllocateTempMemory,4,2    ## @Hunk_AllocateTempMemory
	.comm	_Hunk_FreeTempMemory,4,2        ## @Hunk_FreeTempMemory
	.comm	_CM_DrawDebugSurface,4,2        ## @CM_DrawDebugSurface
	.comm	_FS_ReadFile,4,2                ## @FS_ReadFile
	.comm	_FS_FreeFile,4,2                ## @FS_FreeFile
	.comm	_FS_WriteFile,4,2               ## @FS_WriteFile
	.comm	_FS_FreeFileList,4,2            ## @FS_FreeFileList
	.comm	_FS_ListFiles,4,2               ## @FS_ListFiles
	.comm	_FS_FileIsInPAK,4,2             ## @FS_FileIsInPAK
	.comm	_FS_FileExists,4,2              ## @FS_FileExists
	.comm	_Cvar_Get,4,2                   ## @Cvar_Get
	.comm	_CIN_UploadCinematic,4,2        ## @CIN_UploadCinematic
	.comm	_CIN_PlayCinematic,4,2          ## @CIN_PlayCinematic
	.comm	_CIN_RunCinematic,4,2           ## @CIN_RunCinematic
	.comm	_REF_API_VERSION,4,2            ## @REF_API_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"-------------------------------\n"

	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't initialize refresh"

	.comm	_re,4,2                         ## @re
L_.str.3:                               ## @.str.3
	.asciz	"cl_paused"

L_.str.4:                               ## @.str.4
	.asciz	"0"

	.comm	_Hunk_AllocDebug,4,2            ## @Hunk_AllocDebug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_InitRef                     ; -- Begin function CL_InitRef
	.p2align	2
_CL_InitRef:                            ; @CL_InitRef
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh2:
	adrp	x8, _Cmd_AddCommand@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Cmd_AddCommand@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _Cmd_RemoveCommand@GOTPAGE
Lloh6:
	ldr	x9, [x9, _Cmd_RemoveCommand@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _Cmd_Argc@GOTPAGE
Lloh9:
	ldr	x10, [x10, _Cmd_Argc@GOTPAGEOFF]
	stp	w9, w8, [sp, #120]
Lloh10:
	ldr	w8, [x10]
Lloh11:
	adrp	x9, _Cmd_Argv@GOTPAGE
Lloh12:
	ldr	x9, [x9, _Cmd_Argv@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #112]
Lloh14:
	adrp	x8, _Cbuf_ExecuteText@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Cbuf_ExecuteText@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _CL_RefPrintf@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CL_RefPrintf@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #104]
Lloh20:
	adrp	x8, _Com_Error@GOTPAGE
Lloh21:
	ldr	x8, [x8, _Com_Error@GOTPAGEOFF]
	str	x8, [sp, #96]
Lloh22:
	adrp	x8, _CL_ScaledMilliseconds@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CL_ScaledMilliseconds@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #92]
Lloh25:
	adrp	x8, _CL_RefMalloc@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CL_RefMalloc@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _Z_Free@GOTPAGE
Lloh29:
	ldr	x9, [x9, _Z_Free@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #84]
Lloh31:
	adrp	x8, _Hunk_Alloc@GOTPAGE
Lloh32:
	ldr	x8, [x8, _Hunk_Alloc@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _Hunk_AllocateTempMemory@GOTPAGE
Lloh35:
	ldr	x9, [x9, _Hunk_AllocateTempMemory@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #72]
Lloh37:
	adrp	x8, _Hunk_FreeTempMemory@GOTPAGE
Lloh38:
	ldr	x8, [x8, _Hunk_FreeTempMemory@GOTPAGEOFF]
Lloh39:
	adrp	x9, _CM_DrawDebugSurface@GOTPAGE
Lloh40:
	ldr	x9, [x9, _CM_DrawDebugSurface@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #64]
Lloh43:
	adrp	x8, _FS_ReadFile@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FS_ReadFile@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _FS_FreeFile@GOTPAGE
Lloh47:
	ldr	x9, [x9, _FS_FreeFile@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #56]
Lloh49:
	adrp	x8, _FS_WriteFile@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FS_WriteFile@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
Lloh52:
	adrp	x9, _FS_FreeFileList@GOTPAGE
Lloh53:
	ldr	x9, [x9, _FS_FreeFileList@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #48]
Lloh55:
	adrp	x8, _FS_ListFiles@GOTPAGE
Lloh56:
	ldr	x8, [x8, _FS_ListFiles@GOTPAGEOFF]
Lloh57:
	adrp	x9, _FS_FileIsInPAK@GOTPAGE
Lloh58:
	ldr	x9, [x9, _FS_FileIsInPAK@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #40]
Lloh61:
	adrp	x8, _FS_FileExists@GOTPAGE
Lloh62:
	ldr	x8, [x8, _FS_FileExists@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _Cvar_Get@GOTPAGE
Lloh65:
	ldr	x9, [x9, _Cvar_Get@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh67:
	adrp	x8, _Cvar_Set@GOTPAGE
Lloh68:
	ldr	x8, [x8, _Cvar_Set@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh69:
	adrp	x8, _CIN_UploadCinematic@GOTPAGE
Lloh70:
	ldr	x8, [x8, _CIN_UploadCinematic@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh72:
	adrp	x8, _CIN_PlayCinematic@GOTPAGE
Lloh73:
	ldr	x8, [x8, _CIN_PlayCinematic@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
Lloh75:
	adrp	x9, _CIN_RunCinematic@GOTPAGE
Lloh76:
	ldr	x9, [x9, _CIN_RunCinematic@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh78:
	adrp	x8, _REF_API_VERSION@GOTPAGE
Lloh79:
	ldr	x8, [x8, _REF_API_VERSION@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_GetRefAPI
	mov	x19, x0
Lloh81:
	adrp	x0, l_.str.1@PAGE
Lloh82:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	cbnz	x19, LBB0_2
; %bb.1:
Lloh83:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
Lloh86:
	adrp	x1, l_.str.2@PAGE
Lloh87:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Com_Error
LBB0_2:
	ldr	w8, [x19]
Lloh88:
	adrp	x9, _re@GOTPAGE
Lloh89:
	ldr	x9, [x9, _re@GOTPAGEOFF]
Lloh90:
	str	w8, [x9]
Lloh91:
	adrp	x0, l_.str.3@PAGE
Lloh92:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh93:
	adrp	x1, l_.str.4@PAGE
Lloh94:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_Cvar_Set
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh59
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh41
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotStr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"----- Initializing Renderer ----\n"

	.comm	_Cmd_AddCommand,4,2             ; @Cmd_AddCommand
	.comm	_Cmd_RemoveCommand,4,2          ; @Cmd_RemoveCommand
	.comm	_Cmd_Argc,4,2                   ; @Cmd_Argc
	.comm	_Cmd_Argv,4,2                   ; @Cmd_Argv
	.comm	_Cbuf_ExecuteText,4,2           ; @Cbuf_ExecuteText
	.comm	_CL_RefPrintf,4,2               ; @CL_RefPrintf
	.comm	_CL_ScaledMilliseconds,4,2      ; @CL_ScaledMilliseconds
	.comm	_CL_RefMalloc,4,2               ; @CL_RefMalloc
	.comm	_Z_Free,4,2                     ; @Z_Free
	.comm	_Hunk_Alloc,4,2                 ; @Hunk_Alloc
	.comm	_Hunk_AllocateTempMemory,4,2    ; @Hunk_AllocateTempMemory
	.comm	_Hunk_FreeTempMemory,4,2        ; @Hunk_FreeTempMemory
	.comm	_CM_DrawDebugSurface,4,2        ; @CM_DrawDebugSurface
	.comm	_FS_ReadFile,4,2                ; @FS_ReadFile
	.comm	_FS_FreeFile,4,2                ; @FS_FreeFile
	.comm	_FS_WriteFile,4,2               ; @FS_WriteFile
	.comm	_FS_FreeFileList,4,2            ; @FS_FreeFileList
	.comm	_FS_ListFiles,4,2               ; @FS_ListFiles
	.comm	_FS_FileIsInPAK,4,2             ; @FS_FileIsInPAK
	.comm	_FS_FileExists,4,2              ; @FS_FileExists
	.comm	_Cvar_Get,4,2                   ; @Cvar_Get
	.comm	_CIN_UploadCinematic,4,2        ; @CIN_UploadCinematic
	.comm	_CIN_PlayCinematic,4,2          ; @CIN_PlayCinematic
	.comm	_CIN_RunCinematic,4,2           ; @CIN_RunCinematic
	.comm	_REF_API_VERSION,4,2            ; @REF_API_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"-------------------------------\n"

	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't initialize refresh"

	.comm	_re,4,2                         ; @re
l_.str.3:                               ; @.str.3
	.asciz	"cl_paused"

l_.str.4:                               ; @.str.4
	.asciz	"0"

	.comm	_Hunk_AllocDebug,4,2            ; @Hunk_AllocDebug
.subsections_via_symbols
