	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function correct_untracked_entries
_correct_untracked_entries:             ## @correct_untracked_entries
	.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
	movq	%rdi, %r12
	cmpl	$0, (%rdi)
	jle	LBB0_23
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %rbx
	movq	8(%r12), %rax
	movq	16(%r12), %rcx
	movq	(%rax,%rbx,8), %rdi
	movslq	%r13d, %rax
	movq	(%rcx,%rax,8), %rsi
	callq	_check_dir_entry_contains
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jge	LBB0_24
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movl	4(%r12), %eax
	cmpl	%eax, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %r14
	movslq	%r13d, %r13
	leaq	(,%r13,8), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(,%r14,8), %rdi
	addq	8(%r12), %rdi
	movq	16(%r12), %rsi
	addq	%rbx, %rsi
	callq	_cmp_dir_entry
	testq	%rax, %rax
	js	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	%r13
	movslq	4(%r12), %rax
	addq	$8, %rbx
	cmpq	%rax, %r13
	jl	LBB0_9
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%eax, %r13d
	jge	LBB0_13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r12), %eax
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%eax, %r13d
	jl	LBB0_6
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdx
	movslq	%edx, %rbx
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %r14
	movslq	%r15d, %rcx
	incl	%r15d
	movq	%r14, (%rax,%rcx,8)
	leal	1(%rdx), %ebx
	cmpl	(%r12), %ebx
	jge	LBB0_2
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movslq	%ebx, %r15
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r14, %rdi
	callq	_check_dir_entry_contains
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
                                        ## kill: def $ebx killed $ebx def $rbx
	movq	8(%r12), %rax
	movq	-8(%rax,%r15,8), %rdi
	callq	_free
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r14, %rdi
	callq	_check_dir_entry_contains
	movq	%rbx, %rcx
	incl	%ebx
	incq	%r15
	testq	%rax, %rax
	jne	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	%rcx, %rbx
	jmp	LBB0_3
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_2
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_3
LBB0_23:
	xorl	%r15d, %r15d
LBB0_24:
	movl	%r15d, (%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_correct_untracked_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function correct_untracked_entries
_correct_untracked_entries:             ; @correct_untracked_entries
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	w22, #0
	mov	w21, #0
	mov	w23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x24
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19]
	cmp	w22, w8
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x22
	sxtw	x20, w8
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x24, x21, #3, #32
	sxtw	x21, w21
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x9, [x19, #8]
	add	x0, x8, x20, lsl #3
	add	x1, x9, x24
	bl	_cmp_dir_entry
	tbnz	x0, #63, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x24, x24, #8
	cmp	x21, x8
	b.lt	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, w8
	b.ge	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x20, w22
	ldp	x8, x9, [x19, #8]
	ldr	x0, [x8, w22, sxtw #3]
	ldr	x1, [x9, w21, sxtw #3]
	bl	_check_dir_entry_contains
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	bl	_free
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x22
	sxtw	x20, w8
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x20, [x8, x20, lsl #3]
	add	w24, w23, #1
	str	x20, [x8, w23, sxtw #3]
	add	w23, w22, #1
	ldr	w8, [x19]
	cmp	w23, w8
	b.ge	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x1, [x8, w23, sxtw #3]
	mov	x0, x20
	bl	_check_dir_entry_contains
	cbz	x0, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x23, w23
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x22, x23
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_free
	add	x25, x23, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.ge	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x19, #8]
	add	x8, x8, x23, lsl #3
	ldr	x1, [x8, #8]
	mov	x0, x20
	bl	_check_dir_entry_contains
	mov	x23, x25
	cbnz	x0, LBB0_16
	b	LBB0_2
LBB0_18:
	mov	w23, #0
LBB0_19:
	str	w23, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_correct_untracked_entries
.subsections_via_symbols
