	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_SortFileList                ## -- Begin function FS_SortFileList
	.p2align	4, 0x90
_FS_SortFileList:                       ## @FS_SortFileList
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	leal	(,%r12,8), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	8(,%r12,8), %edi
	callq	_Z_Malloc
	movq	%rax, %rbx
	movq	$0, (%rax)
	testl	%r12d, %r12d
	jle	LBB0_16
## %bb.1:
	movl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	movq	%rbx, %r14
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%r13,8), %rax
	movl	%r12d, %ecx
	movq	%rax, (%rbx,%rcx,8)
	incq	%r13
	addq	$8, %r14
	decq	%r8
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movl	$0, %r12d
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%r13,8), %rdi
	movq	(%rbx,%r12,8), %rsi
	callq	_FS_PathCmp
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	cmpq	%r12, %r13
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r12d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %r12d
	jae	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	movl	%r13d, %esi
	subl	%r12d, %esi
	movq	%rax, %rcx
	notq	%rcx
	addq	%r13, %rcx
	movq	%r13, %rdx
	testb	$3, %sil
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edx
	subb	%r12b, %dl
	movzbl	%dl, %esi
	andl	$3, %esi
	negq	%rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-8(%r14,%rdx,8), %rdi
	movq	%rdi, (%r14,%rdx,8)
	decq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	%r8, %rdx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %rcx
	jb	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-32(%rbx,%rdx,8), %xmm0
	movups	-16(%rbx,%rdx,8), %xmm1
	movups	%xmm1, -8(%rbx,%rdx,8)
	movups	%xmm0, -24(%rbx,%rdx,8)
	addq	$-4, %rdx
	cmpq	%rax, %rdx
	jg	LBB0_14
	jmp	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_Com_Memcpy
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_Free                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_SortFileList                ; -- Begin function FS_SortFileList
	.p2align	2
_FS_SortFileList:                       ; @FS_SortFileList
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x20, x0
	lsl	w19, w1, #3
	add	w0, w19, #8
	bl	_Z_Malloc
	mov	x21, x0
	str	xzr, [x0]
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x23, #0
	mov	w22, w22
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, x23, lsl #3]
	str	x8, [x21, w24, uxtw #3]
	add	x23, x23, #1
	cmp	x23, x22
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	cbz	w23, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20, x23, lsl #3]
	ldr	x1, [x21, x24, lsl #3]
	bl	_FS_PathCmp
	tbnz	x0, #63, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x24, x24, #1
	cmp	x23, x24
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x23
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w23
	b.hs	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x24
	sxtw	x8, w8
	mov	x9, x23
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x10, x21, x9, lsl #3
	sub	x11, x9, #1
	ldur	x9, [x10, #-8]
	str	x9, [x10]
	mov	x9, x11
	cmp	x11, x8
	b.gt	LBB0_11
	b	LBB0_2
LBB0_12:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_Com_Memcpy
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Z_Free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
