	.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, %r12
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	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, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, (%r12)
	jge	LBB0_20
## %bb.1:
	cmpb	$0, (%r14)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_Com_sprintf
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_4:
	movq	%rbx, %rdi
	callq	_opendir
	testq	%rax, %rax
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rbx
	je	LBB0_20
## %bb.5:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%rax, %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_readdir
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r8
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	callq	_stat
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$0, (%rcx)
	movq	(%r14), %r8
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_Com_sprintf
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdx
	movq	%r8, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_Sys_ListFilteredFiles
	movq	_MAX_FOUND_FILES@GOTPCREL(%rip), %rbx
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %eax
	decl	%eax
	cmpl	%eax, (%r12)
	jge	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %r8
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	L_.str(%rip), %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_Com_FilterPath
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_CopyString
	movslq	(%r12), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	leal	1(%rcx), %eax
	movl	%eax, (%r12)
	jmp	LBB0_18
LBB0_19:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_closedir
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	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	_S_IFDIR,4,2                    ## @S_IFDIR
L_.str.2:                               ## @.str.2
	.asciz	"."

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

	.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
	stur	x3, [x29, #-104]                ; 8-byte Folded Spill
	mov	x21, x2
	mov	x22, x1
	mov	x20, 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_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	x25, x8, x12
	mov	sp, x25
	mov	x9, x24
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	mov	x9, x24
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x27, x8, x12
	mov	sp, x27
	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_20
; %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, x25
	mov	x1, x24
	mov	x3, x20
	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, x25
	mov	x1, x24
	mov	x3, x20
	bl	_Com_sprintf
LBB0_4:
	mov	x0, x25
	bl	_opendir
	cbz	x0, LBB0_20
; %bb.5:
	mov	x28, x0
	stur	x20, [x29, #-112]               ; 8-byte Folded Spill
	bl	_readdir
	cbz	x0, LBB0_19
; %bb.6:
	mov	x20, x0
Lloh19:
	adrp	x23, l_.str@PAGE
Lloh20:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x28
	bl	_readdir
	mov	x20, x0
	cbz	x0, LBB0_19
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	str	x8, [sp, #-16]!
	mov	x0, x27
	mov	x1, x24
	mov	x2, x23
	mov	x3, x25
	bl	_Com_sprintf
	add	sp, sp, #16
	sub	x1, x29, #96
	mov	x0, x27
	bl	_stat
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	w8, [x29, #-96]
Lloh21:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_Q_stricmp
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22]
	ldr	x3, [x20]
	cbz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x3, [sp, #-16]!
	mov	x0, x26
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_Com_sprintf
	add	sp, sp, #16
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	mov	x1, x24
Lloh28:
	adrp	x2, l_.str.1@PAGE
Lloh29:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_Com_sprintf
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	x0, x3, [x29, #-112]            ; 16-byte Folded Reload
	mov	x1, x26
	mov	x2, x21
	mov	x4, x19
	bl	_Sys_ListFilteredFiles
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _MAX_FOUND_FILES@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MAX_FOUND_FILES@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ge	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20]
	str	x8, [sp, #-16]!
	mov	x0, x27
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh33:
	adrp	x8, _qfalse@GOTPAGE
Lloh34:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x27
	bl	_Com_FilterPath
	cbz	w0, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_CopyString
	ldrsw	x8, [x19]
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	str	x0, [x9, x8, lsl #3]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_7
LBB0_19:
	mov	x0, x28
	bl	_closedir
LBB0_20:
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	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_22:
	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	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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	_S_IFDIR,4,2                    ; @S_IFDIR
l_.str.2:                               ; @.str.2
	.asciz	"."

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

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