	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FS_Startup
_FS_Startup:                            ## @FS_Startup
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_fs_packFiles@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	_fs_debug@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_Sys_DefaultInstallPath
	movq	_CVAR_INIT@GOTPCREL(%rip), %r12
	movq	_CVAR_PROTECTED@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Get
	movq	_fs_basepath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r12), %edx
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_Cvar_Get
	movq	_fs_basegame@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_Sys_DefaultHomePath
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rax)
	jne	LBB0_3
LBB0_2:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
LBB0_3:
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.6(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Get
	movq	_fs_homepath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CVAR_SYSTEMINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %edx
	leaq	L_.str.7(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_Cvar_Get
	movq	_fs_gamedirvar@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	cmpb	$0, (%rbx)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.8(%rip), %rdi
	callq	_Cvar_ForceReset
	movq	(%r15), %rax
LBB0_5:
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_FS_FilenameCompare
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.7(%rip), %rdi
	callq	_Cvar_ForceReset
LBB0_7:
	movq	%rbx, %rdi
	callq	_FS_InvalidGameDir
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdx
	callq	_Com_Error
LBB0_9:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_FS_InvalidGameDir
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.10(%rip), %rsi
	callq	_Com_Error
LBB0_11:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_FS_InvalidGameDir
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rdx
	leaq	L_.str.11(%rip), %rsi
	callq	_Com_Error
LBB0_13:
	xorl	%eax, %eax
	callq	_Sys_GogPath
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.12(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Get
	movq	_fs_gogpath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_15:
	movq	_fs_homepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.13(%rip), %rdi
	callq	_Cvar_Get
	movq	_fs_temporarypath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_17:
	xorl	%eax, %eax
	callq	_Sys_SteamPath
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.14(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Get
	movq	_fs_steampath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_19:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_21:
	xorl	%eax, %eax
	callq	_Sys_DefaultAppPath
	movl	(%r13), %edx
	orl	(%r12), %edx
	leaq	L_.str.15(%rip), %rdi
	movq	%rax, %rsi
	callq	_Cvar_Get
	movq	_fs_apppath@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_23:
	movq	_fs_homepath@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_26
## %bb.24:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	callq	_FS_CreatePath
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_FS_AddGameDirectory
LBB0_26:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_37
## %bb.27:
	movq	%rbx, %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.28:
	movq	_fs_gogpath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_30
## %bb.29:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_30:
	movq	_fs_steampath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_32
## %bb.31:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_32:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_34
## %bb.33:
	movq	(%r14), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_34:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_37
## %bb.35:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_37:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_48
## %bb.38:
	movq	%rbx, %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_48
## %bb.39:
	movq	_fs_gogpath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_41
## %bb.40:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_41:
	movq	_fs_steampath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_43
## %bb.42:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_43:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_45
## %bb.44:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_45:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_48
## %bb.46:
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	callq	_FS_AddGameDirectory
LBB0_48:
	movq	_com_standalone@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_51
## %bb.49:
	movq	_BASEGAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Com_ReadCDKey
	movq	(%r15), %rax
	movq	(%rax), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_51
## %bb.50:
	callq	_Com_AppendCDKey
LBB0_51:
	leaq	L_.str.16(%rip), %rdi
	movq	_FS_Path_f@GOTPCREL(%rip), %rsi
	callq	_Cmd_AddCommand
	leaq	L_.str.17(%rip), %rdi
	movq	_FS_Dir_f@GOTPCREL(%rip), %rsi
	callq	_Cmd_AddCommand
	leaq	L_.str.18(%rip), %rdi
	movq	_FS_NewDir_f@GOTPCREL(%rip), %rsi
	callq	_Cmd_AddCommand
	leaq	L_.str.19(%rip), %rdi
	movq	_FS_TouchFile_f@GOTPCREL(%rip), %rsi
	callq	_Cmd_AddCommand
	leaq	L_.str.20(%rip), %rdi
	movq	_FS_Which_f@GOTPCREL(%rip), %rsi
	callq	_Cmd_AddCommand
	xorl	%eax, %eax
	callq	_FS_ReorderPurePaks
	xorl	%eax, %eax
	callq	_FS_Path_f
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, 8(%rcx)
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	movq	_fs_packFiles@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"----- FS_Startup -----\n"

	.comm	_fs_packFiles,8,3               ## @fs_packFiles
L_.str.1:                               ## @.str.1
	.asciz	"fs_debug"

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

	.comm	_fs_debug,8,3                   ## @fs_debug
L_.str.3:                               ## @.str.3
	.asciz	"fs_basepath"

	.comm	_CVAR_INIT,4,2                  ## @CVAR_INIT
	.comm	_CVAR_PROTECTED,4,2             ## @CVAR_PROTECTED
	.comm	_fs_basepath,8,3                ## @fs_basepath
L_.str.4:                               ## @.str.4
	.asciz	"fs_basegame"

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

	.comm	_fs_basegame,8,3                ## @fs_basegame
L_.str.6:                               ## @.str.6
	.asciz	"fs_homepath"

	.comm	_fs_homepath,8,3                ## @fs_homepath
L_.str.7:                               ## @.str.7
	.asciz	"fs_game"

	.comm	_CVAR_SYSTEMINFO,4,2            ## @CVAR_SYSTEMINFO
	.comm	_fs_gamedirvar,8,3              ## @fs_gamedirvar
L_.str.8:                               ## @.str.8
	.asciz	"com_basegame"

	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
L_.str.9:                               ## @.str.9
	.asciz	"Invalid com_basegame '%s'"

L_.str.10:                              ## @.str.10
	.asciz	"Invalid fs_basegame '%s'"

L_.str.11:                              ## @.str.11
	.asciz	"Invalid fs_game '%s'"

L_.str.12:                              ## @.str.12
	.asciz	"fs_gogpath"

	.comm	_fs_gogpath,8,3                 ## @fs_gogpath
L_.str.13:                              ## @.str.13
	.asciz	"fs_temporarypath"

	.comm	_fs_temporarypath,8,3           ## @fs_temporarypath
L_.str.14:                              ## @.str.14
	.asciz	"fs_steampath"

	.comm	_fs_steampath,8,3               ## @fs_steampath
L_.str.15:                              ## @.str.15
	.asciz	"fs_apppath"

	.comm	_fs_apppath,8,3                 ## @fs_apppath
	.comm	_com_standalone,8,3             ## @com_standalone
	.comm	_BASEGAME,4,2                   ## @BASEGAME
L_.str.16:                              ## @.str.16
	.asciz	"path"

L_.str.17:                              ## @.str.17
	.asciz	"dir"

L_.str.18:                              ## @.str.18
	.asciz	"fdir"

L_.str.19:                              ## @.str.19
	.asciz	"touchFile"

L_.str.20:                              ## @.str.20
	.asciz	"which"

	.comm	_qfalse,4,2                     ## @qfalse
L_.str.21:                              ## @.str.21
	.asciz	"----------------------\n"

L_.str.22:                              ## @.str.22
	.asciz	"%d files in pk3 files\n"

	.comm	_missingFiles,8,3               ## @missingFiles
	.no_dead_strip	_FS_Startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FS_Startup
_FS_Startup:                            ; @FS_Startup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh2:
	adrp	x20, _fs_packFiles@GOTPAGE
Lloh3:
	ldr	x20, [x20, _fs_packFiles@GOTPAGEOFF]
	str	xzr, [x20]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_Cvar_Get
Lloh8:
	adrp	x8, _fs_debug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _fs_debug@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
	bl	_Sys_DefaultInstallPath
	mov	x1, x0
Lloh11:
	adrp	x25, _CVAR_INIT@GOTPAGE
Lloh12:
	ldr	x25, [x25, _CVAR_INIT@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh13:
	adrp	x26, _CVAR_PROTECTED@GOTPAGE
Lloh14:
	ldr	x26, [x26, _CVAR_PROTECTED@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Cvar_Get
Lloh17:
	adrp	x22, _fs_basepath@GOTPAGE
Lloh18:
	ldr	x22, [x22, _fs_basepath@GOTPAGEOFF]
	str	x0, [x22]
	ldr	w2, [x25]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Cvar_Get
Lloh23:
	adrp	x24, _fs_basegame@GOTPAGE
Lloh24:
	ldr	x24, [x24, _fs_basegame@GOTPAGEOFF]
	str	x0, [x24]
	bl	_Sys_DefaultHomePath
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	ldrb	w8, [x0]
	cbnz	w8, LBB0_3
LBB0_2:
	ldr	x8, [x22]
	ldr	x1, [x8]
LBB0_3:
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh25:
	adrp	x0, l_.str.6@PAGE
Lloh26:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_Cvar_Get
Lloh27:
	adrp	x23, _fs_homepath@GOTPAGE
Lloh28:
	ldr	x23, [x23, _fs_homepath@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w8, [x25]
Lloh29:
	adrp	x9, _CVAR_SYSTEMINFO@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CVAR_SYSTEMINFO@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_Cvar_Get
Lloh36:
	adrp	x21, _fs_gamedirvar@GOTPAGE
Lloh37:
	ldr	x21, [x21, _fs_gamedirvar@GOTPAGEOFF]
	str	x0, [x21]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_5
; %bb.4:
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_Cvar_ForceReset
	ldr	x0, [x21]
LBB0_5:
	ldr	x0, [x0]
	mov	x1, x19
	bl	_FS_FilenameCompare
	cbnz	w0, LBB0_7
; %bb.6:
Lloh40:
	adrp	x0, l_.str.7@PAGE
Lloh41:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_Cvar_ForceReset
LBB0_7:
	mov	x0, x19
	bl	_FS_InvalidGameDir
Lloh42:
	adrp	x27, _ERR_DROP@GOTPAGE
Lloh43:
	ldr	x27, [x27, _ERR_DROP@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x27]
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	bl	_Com_Error
LBB0_9:
	ldr	x8, [x24]
	ldr	x0, [x8]
	bl	_FS_InvalidGameDir
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x27]
	ldr	x8, [x24]
	ldr	x2, [x8]
Lloh46:
	adrp	x1, l_.str.10@PAGE
Lloh47:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_Com_Error
LBB0_11:
	ldr	x8, [x21]
	ldr	x0, [x8]
	bl	_FS_InvalidGameDir
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w0, [x27]
	ldr	x8, [x21]
	ldr	x2, [x8]
Lloh48:
	adrp	x1, l_.str.11@PAGE
Lloh49:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_Com_Error
LBB0_13:
	bl	_Sys_GogPath
	mov	x1, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh50:
	adrp	x0, l_.str.12@PAGE
Lloh51:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_Cvar_Get
Lloh52:
	adrp	x27, _fs_gogpath@GOTPAGE
Lloh53:
	ldr	x27, [x27, _fs_gogpath@GOTPAGEOFF]
	str	x0, [x27]
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.14:
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_15:
	ldr	x8, [x23]
	ldr	x1, [x8]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh54:
	adrp	x0, l_.str.13@PAGE
Lloh55:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_Cvar_Get
Lloh56:
	adrp	x8, _fs_temporarypath@GOTPAGE
Lloh57:
	ldr	x8, [x8, _fs_temporarypath@GOTPAGEOFF]
Lloh58:
	str	x0, [x8]
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_17
; %bb.16:
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_17:
	bl	_Sys_SteamPath
	mov	x1, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh59:
	adrp	x0, l_.str.14@PAGE
Lloh60:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_Cvar_Get
Lloh61:
	adrp	x28, _fs_steampath@GOTPAGE
Lloh62:
	ldr	x28, [x28, _fs_steampath@GOTPAGEOFF]
	str	x0, [x28]
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_19
; %bb.18:
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_19:
	ldr	x8, [x22]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_21
; %bb.20:
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_21:
	bl	_Sys_DefaultAppPath
	mov	x1, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh63:
	adrp	x0, l_.str.15@PAGE
Lloh64:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_Cvar_Get
Lloh65:
	adrp	x8, _fs_apppath@GOTPAGE
Lloh66:
	ldr	x8, [x8, _fs_apppath@GOTPAGEOFF]
Lloh67:
	str	x0, [x8]
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_23
; %bb.22:
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_23:
	ldr	x8, [x23]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_26
; %bb.24:
	ldr	x8, [x22]
	ldr	x1, [x8]
	bl	_Q_stricmp
	cbz	x0, LBB0_26
; %bb.25:
	ldr	x8, [x23]
	ldr	x0, [x8]
	bl	_FS_CreatePath
	ldr	x8, [x23]
	ldr	x0, [x8]
	mov	x1, x19
	bl	_FS_AddGameDirectory
LBB0_26:
	ldr	x8, [x24]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_37
; %bb.27:
	mov	x1, x19
	bl	_Q_stricmp
	cbz	x0, LBB0_37
; %bb.28:
	ldr	x8, [x27]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_30
; %bb.29:
	ldr	x8, [x24]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_30:
	ldr	x8, [x28]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_32
; %bb.31:
	ldr	x8, [x24]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_32:
	ldr	x8, [x22]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_34
; %bb.33:
	ldr	x8, [x24]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_34:
	ldr	x8, [x23]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_37
; %bb.35:
	ldr	x8, [x22]
	ldr	x1, [x8]
	bl	_Q_stricmp
	cbz	x0, LBB0_37
; %bb.36:
	ldr	x8, [x23]
	ldr	x0, [x8]
	ldr	x8, [x24]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_37:
	ldr	x8, [x21]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_48
; %bb.38:
	mov	x1, x19
	bl	_Q_stricmp
	cbz	x0, LBB0_48
; %bb.39:
	ldr	x8, [x27]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_41
; %bb.40:
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_41:
	ldr	x8, [x28]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_43
; %bb.42:
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_43:
	ldr	x8, [x22]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_45
; %bb.44:
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_45:
	ldr	x8, [x23]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_48
; %bb.46:
	ldr	x8, [x22]
	ldr	x1, [x8]
	bl	_Q_stricmp
	cbz	x0, LBB0_48
; %bb.47:
	ldr	x8, [x23]
	ldr	x0, [x8]
	ldr	x8, [x21]
	ldr	x1, [x8]
	bl	_FS_AddGameDirectory
LBB0_48:
Lloh68:
	adrp	x8, _com_standalone@GOTPAGE
Lloh69:
	ldr	x8, [x8, _com_standalone@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_51
; %bb.49:
Lloh71:
	adrp	x8, _BASEGAME@GOTPAGE
Lloh72:
	ldr	x8, [x8, _BASEGAME@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	bl	_Com_ReadCDKey
	ldr	x8, [x21]
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_51
; %bb.50:
	bl	_Com_AppendCDKey
LBB0_51:
Lloh74:
	adrp	x0, l_.str.16@PAGE
Lloh75:
	add	x0, x0, l_.str.16@PAGEOFF
Lloh76:
	adrp	x1, _FS_Path_f@GOTPAGE
Lloh77:
	ldr	x1, [x1, _FS_Path_f@GOTPAGEOFF]
	bl	_Cmd_AddCommand
Lloh78:
	adrp	x0, l_.str.17@PAGE
Lloh79:
	add	x0, x0, l_.str.17@PAGEOFF
Lloh80:
	adrp	x1, _FS_Dir_f@GOTPAGE
Lloh81:
	ldr	x1, [x1, _FS_Dir_f@GOTPAGEOFF]
	bl	_Cmd_AddCommand
Lloh82:
	adrp	x0, l_.str.18@PAGE
Lloh83:
	add	x0, x0, l_.str.18@PAGEOFF
Lloh84:
	adrp	x1, _FS_NewDir_f@GOTPAGE
Lloh85:
	ldr	x1, [x1, _FS_NewDir_f@GOTPAGEOFF]
	bl	_Cmd_AddCommand
Lloh86:
	adrp	x0, l_.str.19@PAGE
Lloh87:
	add	x0, x0, l_.str.19@PAGEOFF
Lloh88:
	adrp	x1, _FS_TouchFile_f@GOTPAGE
Lloh89:
	ldr	x1, [x1, _FS_TouchFile_f@GOTPAGEOFF]
	bl	_Cmd_AddCommand
Lloh90:
	adrp	x0, l_.str.20@PAGE
Lloh91:
	add	x0, x0, l_.str.20@PAGEOFF
Lloh92:
	adrp	x1, _FS_Which_f@GOTPAGE
Lloh93:
	ldr	x1, [x1, _FS_Which_f@GOTPAGEOFF]
	bl	_Cmd_AddCommand
	bl	_FS_ReorderPurePaks
	bl	_FS_Path_f
Lloh94:
	adrp	x8, _qfalse@GOTPAGE
Lloh95:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	ldr	x9, [x21]
	str	w8, [x9, #8]
Lloh97:
	adrp	x0, l_.str.21@PAGE
Lloh98:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_Com_Printf
	ldr	x8, [x20]
	str	x8, [sp]
Lloh99:
	adrp	x0, l_.str.22@PAGE
Lloh100:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_Com_Printf
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"----- FS_Startup -----\n"

	.comm	_fs_packFiles,8,3               ; @fs_packFiles
l_.str.1:                               ; @.str.1
	.asciz	"fs_debug"

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

	.comm	_fs_debug,8,3                   ; @fs_debug
l_.str.3:                               ; @.str.3
	.asciz	"fs_basepath"

	.comm	_CVAR_INIT,4,2                  ; @CVAR_INIT
	.comm	_CVAR_PROTECTED,4,2             ; @CVAR_PROTECTED
	.comm	_fs_basepath,8,3                ; @fs_basepath
l_.str.4:                               ; @.str.4
	.asciz	"fs_basegame"

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

	.comm	_fs_basegame,8,3                ; @fs_basegame
l_.str.6:                               ; @.str.6
	.asciz	"fs_homepath"

	.comm	_fs_homepath,8,3                ; @fs_homepath
l_.str.7:                               ; @.str.7
	.asciz	"fs_game"

	.comm	_CVAR_SYSTEMINFO,4,2            ; @CVAR_SYSTEMINFO
	.comm	_fs_gamedirvar,8,3              ; @fs_gamedirvar
l_.str.8:                               ; @.str.8
	.asciz	"com_basegame"

	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
l_.str.9:                               ; @.str.9
	.asciz	"Invalid com_basegame '%s'"

l_.str.10:                              ; @.str.10
	.asciz	"Invalid fs_basegame '%s'"

l_.str.11:                              ; @.str.11
	.asciz	"Invalid fs_game '%s'"

l_.str.12:                              ; @.str.12
	.asciz	"fs_gogpath"

	.comm	_fs_gogpath,8,3                 ; @fs_gogpath
l_.str.13:                              ; @.str.13
	.asciz	"fs_temporarypath"

	.comm	_fs_temporarypath,8,3           ; @fs_temporarypath
l_.str.14:                              ; @.str.14
	.asciz	"fs_steampath"

	.comm	_fs_steampath,8,3               ; @fs_steampath
l_.str.15:                              ; @.str.15
	.asciz	"fs_apppath"

	.comm	_fs_apppath,8,3                 ; @fs_apppath
	.comm	_com_standalone,8,3             ; @com_standalone
	.comm	_BASEGAME,4,2                   ; @BASEGAME
l_.str.16:                              ; @.str.16
	.asciz	"path"

l_.str.17:                              ; @.str.17
	.asciz	"dir"

l_.str.18:                              ; @.str.18
	.asciz	"fdir"

l_.str.19:                              ; @.str.19
	.asciz	"touchFile"

l_.str.20:                              ; @.str.20
	.asciz	"which"

	.comm	_qfalse,4,2                     ; @qfalse
l_.str.21:                              ; @.str.21
	.asciz	"----------------------\n"

l_.str.22:                              ; @.str.22
	.asciz	"%d files in pk3 files\n"

	.comm	_missingFiles,8,3               ; @missingFiles
	.no_dead_strip	_FS_Startup
.subsections_via_symbols
