	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_GetModList                  ## -- Begin function FS_GetModList
	.p2align	4, 0x90
_FS_GetModList:                         ## @FS_GetModList
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_OSPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movb	$0, (%rbx)
	movq	%rax, %rbx
	movq	_fs_homepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	_qtrue@GOTPCREL(%rip), %r13
	movq	(%r13), %r8
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-140(%rbp), %r14
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_Sys_ListFiles
	movq	%rax, %r15
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	(%r13), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_Sys_ListFiles
	movq	%rax, %r12
	movq	_fs_cdpath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	(%r13), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_Sys_ListFiles
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_Sys_ConcatenateFileLists
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_Sys_CountFileList
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_27
## %bb.1:
	movl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	leaq	L_.str.2(%rip), %r12
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	cmpq	-136(%rbp), %r13                ## 8-byte Folded Reload
	je	LBB0_27
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r14,%r13,8), %r15
	testq	%r13, %r13
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rbx,8), %rdi
	movq	%r15, %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rbx
	movq	%r12, %rcx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_qfalse@GOTPCREL(%rip), %rbx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %r12
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edx
	callq	_Q_stricmpn
	testq	%rax, %rax
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_fs_basepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_FS_BuildOSPath
	movl	$0, -52(%rbp)
	movq	(%rbx), %r8
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	leaq	-52(%rbp), %rcx
	callq	_Sys_ListFiles
	movq	%rax, %rdi
	callq	_Sys_FreeFileList
	cmpl	$0, -52(%rbp)
	jg	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_fs_cdpath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_FS_BuildOSPath
	movl	$0, -52(%rbp)
	movq	(%rbx), %r8
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	leaq	-52(%rbp), %rcx
	callq	_Sys_ListFiles
	movq	%rax, %rdi
	callq	_Sys_FreeFileList
	cmpl	$0, -52(%rbp)
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_fs_homepath@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_FS_BuildOSPath
	movl	$0, -52(%rbp)
	movq	(%rbx), %r8
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	leaq	-52(%rbp), %rcx
	callq	_Sys_ListFiles
	movq	%rax, %rdi
	callq	_Sys_FreeFileList
	cmpl	$0, -52(%rbp)
	jle	LBB0_2
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	incl	%eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movb	$0, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcat
	movq	%rbx, %rdi
	leaq	-112(%rbp), %rsi
	callq	_FS_SV_FOpenFileRead
	testl	%eax, %eax
	jle	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	callq	_FS_FileForHandle
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Com_Memset
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$48, %edx
	movq	%r12, %rcx
	callq	_fread
	testl	%eax, %eax
	js	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	$0, (%rcx,%rax)
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-112(%rbp), %rdi
	callq	_FS_FCloseFile
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_strcpy
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r12d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	addl	%ebx, %ecx
	leal	(%r12,%rcx), %eax
	addl	$3, %eax
	cmpl	-92(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rcx, %r15
	callq	_strcpy
	movslq	%ebx, %rbx
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	movslq	%r12d, %rax
	addq	%rax, %rbx
	addl	%eax, %r15d
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_qfalse@GOTPCREL(%rip), %rbx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_3
LBB0_27:
	movq	%r14, %rdi
	callq	_Sys_FreeFileList
	movq	-120(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OSPATH,4,2                 ## @MAX_OSPATH
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_fs_homepath,8,3                ## @fs_homepath
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_fs_basepath,8,3                ## @fs_basepath
	.comm	_fs_cdpath,8,3                  ## @fs_cdpath
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"baseq3"

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

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

L_.str.3:                               ## @.str.3
	.asciz	".pk3"

L_.str.4:                               ## @.str.4
	.asciz	"/description.txt"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_GetModList                  ; -- Begin function FS_GetModList
	.p2align	2
_FS_GetModList:                         ; @FS_GetModList
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [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 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
	sub	sp, sp, #80
	stur	w1, [x29, #-132]                ; 4-byte Folded Spill
	mov	x21, x0
	mov	x8, sp
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_OSPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_OSPATH@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	stur	x12, [x29, #-144]               ; 8-byte Folded Spill
	add	x9, x12, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
Lloh8:
	adrp	x28, _qfalse@GOTPAGE
Lloh9:
	ldr	x28, [x28, _qfalse@GOTPAGEOFF]
	ldr	x20, [x28]
Lloh10:
	adrp	x8, _fs_homepath@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fs_homepath@GOTPAGEOFF]
	strb	wzr, [x0]
Lloh12:
	ldr	x8, [x8]
	ldr	x0, [x8]
Lloh13:
	adrp	x19, _qtrue@GOTPAGE
Lloh14:
	ldr	x19, [x19, _qtrue@GOTPAGEOFF]
	ldr	x4, [x19]
	sub	x3, x29, #108
	mov	x1, #0
	mov	x2, #0
	bl	_Sys_ListFiles
	mov	x23, x0
Lloh15:
	adrp	x8, _fs_basepath@GOTPAGE
Lloh16:
	ldr	x8, [x8, _fs_basepath@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldr	x4, [x19]
	sub	x3, x29, #108
	mov	x1, #0
	mov	x2, #0
	bl	_Sys_ListFiles
	mov	x24, x0
Lloh18:
	adrp	x8, _fs_cdpath@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fs_cdpath@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldr	x4, [x19]
	sub	x3, x29, #108
	mov	x1, #0
	mov	x2, #0
	bl	_Sys_ListFiles
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_Sys_ConcatenateFileLists
	mov	x23, x0
	bl	_Sys_CountFileList
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x25, #0
	stur	xzr, [x29, #-116]               ; 8-byte Folded Spill
	mov	w19, w0
Lloh21:
	adrp	x26, l_.str.2@PAGE
Lloh22:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh23:
	adrp	x24, _qtrue@GOTPAGE
Lloh24:
	ldr	x24, [x24, _qtrue@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	stur	wzr, [x29, #-112]               ; 4-byte Folded Spill
LBB0_3:
	mov	x0, x23
	bl	_Sys_FreeFileList
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.4:
	ldur	w0, [x29, #-112]                ; 4-byte Folded Reload
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	cmp	x25, x19
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x27, [x23, x25, lsl #3]
	cbz	x25, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, #0
	ldr	x20, [x28]
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x23, x26, lsl #3]
	mov	x1, x27
	bl	_Q_stricmp
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x26, x26, #1
	cmp	x25, x26
	b.ne	LBB0_9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh28:
	adrp	x26, l_.str.2@PAGE
Lloh29:
	add	x26, x26, l_.str.2@PAGEOFF
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x20, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_Q_stricmpn
	cbz	x0, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	stur	x21, [x29, #-128]               ; 8-byte Folded Spill
Lloh34:
	adrp	x8, _fs_basepath@GOTPAGE
Lloh35:
	ldr	x8, [x8, _fs_basepath@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x27
	mov	x2, x26
	bl	_FS_BuildOSPath
	stur	wzr, [x29, #-92]
	ldr	x4, [x28]
	sub	x3, x29, #92
Lloh37:
	adrp	x21, l_.str.3@PAGE
Lloh38:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	x2, #0
	bl	_Sys_ListFiles
	bl	_Sys_FreeFileList
	ldur	w8, [x29, #-92]
	cmp	w8, #0
	b.gt	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh39:
	adrp	x8, _fs_cdpath@GOTPAGE
Lloh40:
	ldr	x8, [x8, _fs_cdpath@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x27
	mov	x2, x26
	bl	_FS_BuildOSPath
	stur	wzr, [x29, #-92]
	ldr	x4, [x28]
	sub	x3, x29, #92
	mov	x1, x21
	mov	x2, #0
	bl	_Sys_ListFiles
	bl	_Sys_FreeFileList
	ldur	w8, [x29, #-92]
	cmp	w8, #0
	b.gt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh42:
	adrp	x8, _fs_homepath@GOTPAGE
Lloh43:
	ldr	x8, [x8, _fs_homepath@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x27
	mov	x2, x26
	bl	_FS_BuildOSPath
	stur	wzr, [x29, #-92]
	ldr	x4, [x28]
	sub	x3, x29, #92
	mov	x1, x21
	mov	x2, #0
	bl	_Sys_ListFiles
	bl	_Sys_FreeFileList
	ldur	w8, [x29, #-92]
	cmp	w8, #1
	b.lt	LBB0_5
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x28
	mov	x0, x27
	bl	_strlen
	mov	x28, x0
	strb	wzr, [x22]
	mov	x0, x22
	mov	x1, x27
	bl	_strcpy
	mov	x0, x22
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcat
	sub	x1, x29, #104
	mov	x0, x22
	bl	_FS_SV_FOpenFileRead
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-104]
	cbz	x0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_FS_FileForHandle
	mov	x26, x0
	mov	x0, x22
	mov	w1, #0
	ldur	x2, [x29, #-144]                ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_Com_Memset
	mov	x0, x22
	mov	w1, #1
	mov	w2, #48
	mov	x3, x26
	bl	_fread
	tbnz	w0, #31, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	strb	wzr, [x22, w0, uxtw]
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-104]
	bl	_FS_FCloseFile
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x27
	bl	_strcpy
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x21, [x29, #-128]               ; 8-byte Folded Reload
	add	w26, w28, #1
	mov	x0, x22
	bl	_strlen
	add	w28, w0, #1
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	add	w8, w26, w8
	add	w10, w8, w28
	add	w8, w10, #2
	ldur	w9, [x29, #-132]                ; 4-byte Folded Reload
	cmp	w8, w9
	b.ge	LBB0_3
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	stur	w10, [x29, #-116]               ; 4-byte Folded Spill
	mov	x0, x21
	mov	x1, x27
	bl	_strcpy
	add	x21, x21, w26, sxtw
	mov	x0, x21
	mov	x1, x22
	bl	_strcpy
	add	x21, x21, w28, sxtw
	ldur	w8, [x29, #-112]                ; 4-byte Folded Reload
	add	w8, w8, #1
	stur	w8, [x29, #-112]                ; 4-byte Folded Spill
	mov	x28, x24
Lloh47:
	adrp	x24, _qtrue@GOTPAGE
Lloh48:
	ldr	x24, [x24, _qtrue@GOTPAGEOFF]
Lloh49:
	adrp	x26, l_.str.2@PAGE
Lloh50:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OSPATH,4,2                 ; @MAX_OSPATH
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_fs_homepath,8,3                ; @fs_homepath
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_fs_basepath,8,3                ; @fs_basepath
	.comm	_fs_cdpath,8,3                  ; @fs_cdpath
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"baseq3"

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

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

l_.str.3:                               ; @.str.3
	.asciz	".pk3"

l_.str.4:                               ; @.str.4
	.asciz	"/description.txt"

.subsections_via_symbols
