	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_ListFilteredFiles           ## -- Begin function FS_ListFilteredFiles
	.p2align	4, 0x90
_FS_ListFilteredFiles:                  ## @FS_ListFilteredFiles
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -108(%rbp)                ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_ZPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	_fs_searchpaths@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_3
LBB0_1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_4:
	testq	%r12, %r12
	leaq	L_.str.1(%rip), %rax
	cmovneq	%r12, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cltq
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movb	-1(%rbx,%rax), %cl
	cmpb	$92, %cl
	je	LBB0_6
## %bb.5:
	cmpb	$47, %cl
	jne	LBB0_7
LBB0_6:
	decq	%rax
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
LBB0_7:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r12d
	leaq	-116(%rbp), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_FS_ReturnPath
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.8:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %rax
	negq	%rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leal	1(%rcx), %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	cltq
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, -112(%rbp)               ## 4-byte Spill
	jmp	LBB0_9
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_Sys_FreeFileList
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_31:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_32
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	je	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_FS_PakIsPure
	testl	%eax, %eax
	je	LBB0_30
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rbx
	cmpl	$0, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_31
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_FS_AddFileToList
	movl	%eax, %r15d
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_31
LBB0_13:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%r13,8), %r12
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	movq	%r12, %rsi
	callq	_Com_FilterPath
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	leaq	-52(%rbp), %rdx
	callq	_FS_ReturnPath
	movl	-52(%rbp), %ecx
	subl	-116(%rbp), %ecx
	cmpl	$2, %ecx
	jg	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	cmpl	%eax, %edx
	jg	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Q_stricmpn
	testq	%rax, %rax
	jne	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	callq	_strlen
	cmpl	-112(%rbp), %eax                ## 4-byte Folded Reload
	jl	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	movslq	%eax, %rdi
	movq	-144(%rbp), %rax                ## 8-byte Reload
	addq	%r12, %rax
	addq	%rax, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_Q_stricmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=2
	addq	-136(%rbp), %r12                ## 8-byte Folded Reload
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_31
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -108(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_fs_numServerPaks@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_31
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, %rbx
	callq	_FS_BuildOSPath
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rax, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	leaq	-52(%rbp), %rcx
	callq	_Sys_ListFiles
	movq	%rax, %r14
	cmpl	$0, -52(%rbp)
	jle	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14,%rbx,8), %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_FS_AddFileToList
	movl	%eax, %r15d
	incq	%rbx
	movslq	-52(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_28
	jmp	LBB0_29
LBB0_3:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_32:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_33
## %bb.34:
	leal	8(,%r15,8), %edi
	callq	_Z_Malloc
	testl	%r15d, %r15d
	jle	LBB0_51
## %bb.35:
	movl	%r15d, %r8d
	xorl	%edx, %edx
	cmpl	$4, %r15d
	jb	LBB0_36
## %bb.37:
	movq	%rax, %rcx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %rcx
	cmpq	$32, %rcx
	jb	LBB0_46
## %bb.38:
	movl	%r8d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$12, %rcx
	jae	LBB0_40
## %bb.39:
	xorl	%ebx, %ebx
	jmp	LBB0_42
LBB0_33:
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_36:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_46
LBB0_40:
	andq	$-4, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movaps	(%rsi,%rbx,8), %xmm0
	movaps	16(%rsi,%rbx,8), %xmm1
	movups	%xmm0, (%rax,%rbx,8)
	movups	%xmm1, 16(%rax,%rbx,8)
	movaps	32(%rsi,%rbx,8), %xmm0
	movaps	48(%rsi,%rbx,8), %xmm1
	movups	%xmm0, 32(%rax,%rbx,8)
	movups	%xmm1, 48(%rax,%rbx,8)
	movaps	64(%rsi,%rbx,8), %xmm0
	movaps	80(%rsi,%rbx,8), %xmm1
	movups	%xmm0, 64(%rax,%rbx,8)
	movups	%xmm1, 80(%rax,%rbx,8)
	movaps	96(%rsi,%rbx,8), %xmm0
	movaps	112(%rsi,%rbx,8), %xmm1
	movups	%xmm0, 96(%rax,%rbx,8)
	movups	%xmm1, 112(%rax,%rbx,8)
	addq	$16, %rbx
	addq	$-4, %rdi
	jne	LBB0_41
LBB0_42:
	testq	%r9, %r9
	je	LBB0_45
## %bb.43:
	leaq	(%rax,%rbx,8), %rdi
	addq	$16, %rdi
	leaq	(%rsi,%rbx,8), %rbx
	addq	$16, %rbx
	shlq	$5, %r9
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movaps	-16(%rbx,%rcx), %xmm0
	movaps	(%rbx,%rcx), %xmm1
	movups	%xmm0, -16(%rdi,%rcx)
	movups	%xmm1, (%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_44
LBB0_45:
	cmpq	%r8, %rdx
	je	LBB0_50
LBB0_46:
	movq	%rdx, %rbx
	notq	%rbx
	addq	%r8, %rbx
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_48
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rcx
	movq	%rcx, (%rax,%rdx,8)
	incq	%rdx
	decq	%rdi
	jne	LBB0_47
LBB0_48:
	cmpq	$3, %rbx
	jb	LBB0_50
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rcx
	movq	%rcx, (%rax,%rdx,8)
	movq	8(%rsi,%rdx,8), %rcx
	movq	%rcx, 8(%rax,%rdx,8)
	movq	16(%rsi,%rdx,8), %rcx
	movq	%rcx, 16(%rax,%rdx,8)
	movq	24(%rsi,%rdx,8), %rcx
	movq	%rcx, 24(%rax,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_49
LBB0_50:
	movl	%r15d, %ebx
LBB0_51:
	movl	%ebx, %ecx
	movq	$0, (%rax,%rcx,8)
LBB0_52:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_54
## %bb.53:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FOUND_FILES,4,2            ## @MAX_FOUND_FILES
	.comm	_MAX_ZPATH,4,2                  ## @MAX_ZPATH
	.comm	_fs_searchpaths,8,3             ## @fs_searchpaths
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Filesystem call made without initialization"

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

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_fs_numServerPaks,8,3           ## @fs_numServerPaks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_ListFilteredFiles           ; -- Begin function FS_ListFilteredFiles
	.p2align	2
_FS_ListFilteredFiles:                  ; @FS_ListFilteredFiles
	.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	w4, [x29, #-132]                ; 4-byte Folded Spill
	mov	x24, x3
	mov	x23, x2
	mov	x20, x1
	mov	x25, x0
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_FOUND_FILES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_FOUND_FILES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _MAX_ZPATH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_ZPATH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh13:
	adrp	x21, _fs_searchpaths@GOTPAGE
Lloh14:
	ldr	x21, [x21, _fs_searchpaths@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	cbnz	x25, LBB0_3
	b	LBB0_29
LBB0_2:
Lloh15:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	cbz	x25, LBB0_29
LBB0_3:
Lloh20:
	adrp	x8, l_.str.1@PAGE
Lloh21:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x20, #0
	csel	x8, x8, x20, eq
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	mov	x0, x25
	bl	_strlen
	mov	x27, x0
	sxtw	x8, w27
	sub	x8, x8, #1
	ldrb	w9, [x25, x8]
	cmp	w9, #92
	b.eq	LBB0_5
; %bb.4:
	cmp	w9, #47
	b.ne	LBB0_6
LBB0_5:
	mov	x27, x8
LBB0_6:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_strlen
	mov	x20, x0
	sub	x2, x29, #92
	mov	x0, x25
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_FS_ReturnPath
	ldr	x22, [x21]
	cbz	x22, LBB0_29
; %bb.7:
	stur	x25, [x29, #-112]               ; 8-byte Folded Spill
	mov	x8, #0
	mov	w21, #0
	stur	w20, [x29, #-116]               ; 4-byte Folded Spill
	sub	x8, x8, w20, sxtw
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	cmp	w27, #0
	csinc	w8, wzr, w27, eq
	sxtw	x8, w8
	stp	x24, x8, [x29, #-160]           ; 16-byte Folded Spill
Lloh22:
	adrp	x26, _qfalse@GOTPAGE
Lloh23:
	ldr	x26, [x26, _qfalse@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_Sys_FreeFileList
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_30
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_FS_PakIsPure
	cbz	w0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x28, [x22, #8]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, #0
	ldr	x25, [x28, #8]
	b	LBB0_23
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	w9, [x29, #-132]                ; 4-byte Folded Reload
	cbnz	w9, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh24:
	adrp	x9, _fs_numServerPaks@GOTPAGE
Lloh25:
	ldr	x9, [x9, _fs_numServerPaks@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cbnz	x9, LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	ldp	w1, w0, [x8]
	ldur	x2, [x29, #-112]                ; 8-byte Folded Reload
	bl	_FS_BuildOSPath
	ldr	w4, [x26]
	sub	x3, x29, #96
	ldur	x1, [x29, #-128]                ; 8-byte Folded Reload
	mov	x2, x23
	bl	_Sys_ListFiles
	mov	x20, x0
	ldur	w8, [x29, #-96]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, #0
LBB0_19:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20, x24, lsl #3]
	mov	x1, x19
	mov	x2, x21
	bl	_FS_AddFileToList
	mov	x21, x0
	add	x24, x24, #1
	ldursw	x8, [x29, #-96]
	cmp	x24, x8
	b.lt	LBB0_19
	b	LBB0_8
LBB0_20:                                ;   in Loop: Header=BB0_23 Depth=2
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	add	x20, x20, x8
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_FS_AddFileToList
	mov	x21, x0
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x28]
	cmp	x24, x8
	b.ge	LBB0_9
LBB0_23:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x20, [x25, x24, lsl #3]
	cbz	x23, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	w2, [x26]
	mov	x0, x23
	mov	x1, x20
	bl	_Com_FilterPath
	cbnz	w0, LBB0_21
	b	LBB0_22
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=2
	sub	x2, x29, #96
	mov	x0, x20
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_FS_ReturnPath
	ldp	w8, w9, [x29, #-96]
	sub	w8, w8, w9
	cmp	w8, #2
	ccmp	w27, w0, #0, le
	b.gt	LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x0, x20
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	mov	x2, x27
	bl	_Q_stricmpn
	cbnz	x0, LBB0_22
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x0, x20
	bl	_strlen
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cmp	w0, w8
	b.lt	LBB0_22
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=2
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	add	x8, x20, x8
	add	x0, x8, w0, sxtw
	ldur	x1, [x29, #-128]                ; 8-byte Folded Reload
	bl	_Q_stricmp
	cbnz	x0, LBB0_22
	b	LBB0_20
LBB0_29:
	mov	x0, #0
	str	wzr, [x24]
	b	LBB0_42
LBB0_30:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	str	w21, [x8]
	cbz	w21, LBB0_39
; %bb.31:
	lsl	w8, w21, #3
	add	w0, w8, #8
	bl	_Z_Malloc
	cmp	w21, #1
	b.lt	LBB0_40
; %bb.32:
	mov	x9, #0
	mov	w8, w21
	cmp	w21, #8
	b.lo	LBB0_37
; %bb.33:
	sub	x10, x0, x19
	cmp	x10, #64
	b.lo	LBB0_37
; %bb.34:
	and	x9, x8, #0xfffffff8
	add	x10, x19, #32
	add	x11, x0, #32
	mov	x12, x9
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_35
; %bb.36:
	cmp	x9, x8
	b.eq	LBB0_41
LBB0_37:
	lsl	x11, x9, #3
	add	x10, x0, x11
	add	x11, x19, x11
	sub	x8, x8, x9
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #8
	str	x9, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_38
	b	LBB0_41
LBB0_39:
	mov	x0, #0
	b	LBB0_42
LBB0_40:
	mov	w21, #0
LBB0_41:
	str	xzr, [x0, w21, uxtw #3]
LBB0_42:
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.43:
	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_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FOUND_FILES,4,2            ; @MAX_FOUND_FILES
	.comm	_MAX_ZPATH,4,2                  ; @MAX_ZPATH
	.comm	_fs_searchpaths,8,3             ; @fs_searchpaths
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Filesystem call made without initialization"

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

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_fs_numServerPaks,8,3           ; @fs_numServerPaks
.subsections_via_symbols
