	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_ListFilteredFiles          ## -- Begin function Sys_ListFilteredFiles
	.p2align	4, 0x90
_Sys_ListFilteredFiles:                 ## @Sys_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -56(%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), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, (%rbx)
	jge	LBB0_18
## %bb.1:
	cmpb	$0, (%r12)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_Com_sprintf
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_4:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	__findfirst
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.5:
	movl	%eax, %r15d
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %edi
	leaq	-72(%rbp), %rsi
	callq	__findnext
	cmpl	$-1, %eax
	je	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	__A_SUBDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%r12)
	movq	-64(%rbp), %r8
	movq	%r12, %rcx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r13d, %esi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_Com_sprintf
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.5(%rip), %rdx
	movq	%r8, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_Sys_ListFilteredFiles
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, (%rbx)
	jge	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r8
	movq	%r14, %rdi
	movl	%r13d, %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_Com_FilterPath
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_CopyString
	movslq	(%rbx), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	leal	1(%rcx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_16
LBB0_17:
	movl	%r15d, %edi
	callq	__findclose
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OSPATH,4,2                 ## @MAX_OSPATH
	.comm	_MAX_FOUND_FILES,4,2            ## @MAX_FOUND_FILES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\\%s\\*"

L_.str.1:                               ## @.str.1
	.asciz	"%s\\*"

	.comm	__A_SUBDIR,4,2                  ## @_A_SUBDIR
L_.str.2:                               ## @.str.2
	.asciz	"."

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

L_.str.4:                               ## @.str.4
	.asciz	"%s\\%s"

L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_ListFilteredFiles          ; -- Begin function Sys_ListFilteredFiles
	.p2align	2
_Sys_ListFilteredFiles:                 ; @Sys_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, #32
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	stur	x0, [x29, #-112]                ; 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	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x12, x9, #0x1fffffff0
	sub	x23, x8, x12
	mov	sp, x23
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x25, x8, x12
	mov	sp, x25
	mov	x9, x24
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	ldr	w8, [x4]
Lloh12:
	adrp	x9, _MAX_FOUND_FILES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MAX_FOUND_FILES@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_18
; %bb.1:
	ldrb	w8, [x22]
	cbz	w8, LBB0_3
; %bb.2:
	str	x22, [sp, #-16]!
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x24
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
	bl	_Com_sprintf
	add	sp, sp, #16
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x1, x24
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
	bl	_Com_sprintf
LBB0_4:
	sub	x1, x29, #104
	mov	x0, x23
	bl	__findfirst
	cmn	w0, #1
	b.eq	LBB0_18
; %bb.5:
	mov	x27, x0
Lloh19:
	adrp	x23, __A_SUBDIR@GOTPAGE
Lloh20:
	ldr	x23, [x23, __A_SUBDIR@GOTPAGEOFF]
Lloh21:
	adrp	x28, l_.str.4@PAGE
Lloh22:
	add	x28, x28, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	x1, x29, #104
	mov	x0, x27
	bl	__findnext
	cmn	w0, #1
	b.eq	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-104]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-96]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-96]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x22]
	ldur	x3, [x29, #-96]
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x3, [sp, #-16]!
	mov	x0, x25
	mov	x1, x24
	mov	x2, x28
	mov	x3, x22
	bl	_Com_sprintf
	add	sp, sp, #16
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x24
Lloh27:
	adrp	x2, l_.str.5@PAGE
Lloh28:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_Com_sprintf
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_Sys_ListFilteredFiles
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19]
Lloh29:
	adrp	x9, _MAX_FOUND_FILES@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MAX_FOUND_FILES@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-96]
	str	x8, [sp, #-16]!
	mov	x0, x26
	mov	x1, x24
	mov	x2, x28
	mov	x3, x22
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh32:
	adrp	x8, _qfalse@GOTPAGE
Lloh33:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x26
	bl	_Com_FilterPath
	cbz	w0, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_CopyString
	ldrsw	x8, [x19]
	str	x0, [x20, x8, lsl #3]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_17:
	mov	x0, x27
	bl	__findclose
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	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_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OSPATH,4,2                 ; @MAX_OSPATH
	.comm	_MAX_FOUND_FILES,4,2            ; @MAX_FOUND_FILES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\\%s\\*"

l_.str.1:                               ; @.str.1
	.asciz	"%s\\*"

	.comm	__A_SUBDIR,4,2                  ; @_A_SUBDIR
l_.str.2:                               ; @.str.2
	.asciz	"."

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

l_.str.4:                               ; @.str.4
	.asciz	"%s\\%s"

l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
