	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Shutdown                    ## -- Begin function FS_Shutdown
	.p2align	4, 0x90
_FS_Shutdown:                           ## @FS_Shutdown
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_FILE_HANDLES@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_fsh@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_FS_FCloseFile
	movl	(%r14), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_fs_searchpaths@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_11:
	movq	$0, (%r14)
	leaq	L_.str(%rip), %rdi
	callq	_Cmd_RemoveCommand
	leaq	L_.str.1(%rip), %rdi
	callq	_Cmd_RemoveCommand
	leaq	L_.str.2(%rip), %rdi
	callq	_Cmd_RemoveCommand
	leaq	L_.str.3(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cmd_RemoveCommand              ## TAILCALL
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_Z_Free
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	32(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	24(%rax), %edi
	callq	_unzClose
	movq	8(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_Z_Free
	movq	8(%rbx), %rdi
	callq	_Z_Free
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_Z_Free
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FILE_HANDLES,4,2           ## @MAX_FILE_HANDLES
	.comm	_fsh,8,3                        ## @fsh
	.comm	_fs_searchpaths,8,3             ## @fs_searchpaths
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"path"

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

L_.str.2:                               ## @.str.2
	.asciz	"fdir"

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

	.comm	_missingFiles,4,2               ## @missingFiles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Shutdown                    ; -- Begin function FS_Shutdown
	.p2align	2
_FS_Shutdown:                           ; @FS_Shutdown
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _MAX_FILE_HANDLES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAX_FILE_HANDLES@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, #0
Lloh2:
	adrp	x21, _fsh@GOTPAGE
Lloh3:
	ldr	x21, [x21, _fsh@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x9, [x9, x19, lsl #3]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_FS_FCloseFile
	ldr	w8, [x20]
	b	LBB0_2
LBB0_5:
Lloh4:
	adrp	x20, _fs_searchpaths@GOTPAGE
Lloh5:
	ldr	x20, [x20, _fs_searchpaths@GOTPAGEOFF]
	ldr	x19, [x20]
	cbnz	x19, LBB0_8
LBB0_6:
	str	xzr, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cmd_RemoveCommand
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cmd_RemoveCommand
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cmd_RemoveCommand
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Cmd_RemoveCommand
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_Z_Free
	mov	x19, x21
	cbz	x21, LBB0_6
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, #32]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x8, #24]
	bl	_unzClose
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #16]
	bl	_Z_Free
	ldr	x0, [x19, #8]
	bl	_Z_Free
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_Z_Free
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FILE_HANDLES,4,2           ; @MAX_FILE_HANDLES
	.comm	_fsh,8,3                        ; @fsh
	.comm	_fs_searchpaths,8,3             ; @fs_searchpaths
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"path"

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

l_.str.2:                               ; @.str.2
	.asciz	"fdir"

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

	.comm	_missingFiles,4,2               ; @missingFiles
.subsections_via_symbols
