	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finishDosDirSection            ## -- Begin function finishDosDirSection
	.p2align	4, 0x90
_finishDosDirSection:                   ## @finishDosDirSection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_pendingDirectories@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_freeDirTodo
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_1
LBB0_2:
	movq	$0, (%r14)
	movq	_rootDir@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
LBB0_9:
	movq	_lostDir@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	$0, (%r14)
	movq	_buffer@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_free
	movq	_delbuf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%r14)
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 16(%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdi), %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_freeDosDirEntry
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_pendingDirectories,8,3         ## @pendingDirectories
	.comm	_rootDir,8,3                    ## @rootDir
	.comm	_lostDir,8,3                    ## @lostDir
	.comm	_buffer,8,3                     ## @buffer
	.comm	_delbuf,8,3                     ## @delbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finishDosDirSection            ; -- Begin function finishDosDirSection
	.p2align	2
_finishDosDirSection:                   ; @finishDosDirSection
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _pendingDirectories@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pendingDirectories@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0]
	bl	_freeDirTodo
	mov	x0, x20
	cbnz	x20, LBB0_1
LBB0_2:
	str	xzr, [x19]
Lloh2:
	adrp	x19, _rootDir@GOTPAGE
Lloh3:
	ldr	x19, [x19, _rootDir@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_4
	b	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x0, #16]
	mov	x0, x8
	cbz	x0, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0, #16]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x0, #8]
	cbnz	x20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x0]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_freeDosDirEntry
	mov	x0, x20
	cbnz	x0, LBB0_4
LBB0_8:
Lloh4:
	adrp	x8, _lostDir@GOTPAGE
Lloh5:
	ldr	x8, [x8, _lostDir@GOTPAGEOFF]
Lloh6:
	str	xzr, [x8]
	str	xzr, [x19]
Lloh7:
	adrp	x19, _buffer@GOTPAGE
Lloh8:
	ldr	x19, [x19, _buffer@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_free
Lloh9:
	adrp	x20, _delbuf@GOTPAGE
Lloh10:
	ldr	x20, [x20, _delbuf@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_free
	str	xzr, [x19]
	str	xzr, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pendingDirectories,8,3         ; @pendingDirectories
	.comm	_rootDir,8,3                    ; @rootDir
	.comm	_lostDir,8,3                    ; @lostDir
	.comm	_buffer,8,3                     ; @buffer
	.comm	_delbuf,8,3                     ; @delbuf
.subsections_via_symbols
