	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preload_thread
_preload_thread:                        ## @preload_thread
	.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	24(%rdi), %rsi
	movslq	(%rdi), %rax
	movq	%rax, %rbx
	shlq	$3, %rbx
	addq	8(%rsi), %rbx
	movq	_CACHE_DEF_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	movl	4(%rdi), %ecx
	leal	(%rcx,%rax), %edx
	movslq	%edx, %r8
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rsi
	movl	%esi, %edx
	subl	%eax, %edx
	cmpq	%r8, %rsi
	cmovgel	%ecx, %edx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	leaq	16(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	negl	%r12d
	leaq	-64(%rbp), %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	$8, %rbx
	leal	-1(%r15), %eax
	incl	%r12d
	cmpl	$1, %r15d
	movl	%eax, %r15d
	jle	LBB0_16
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r13
	movq	%r13, %rdi
	callq	_ce_stage
	testq	%rax, %rax
	jne	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r13), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_ce_uptodate
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_ce_skip_worktree
	testq	%rax, %rax
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_CE_FSMONITOR_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %eax
	andl	$31, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%rcx), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	callq	_pthread_mutex_lock
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax), %esi
	addl	%r12d, %esi
	movl	%esi, (%rax)
	movl	8(%rax), %edi
	callq	_display_progress
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_pthread_mutex_unlock
	movl	%r15d, %eax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_ce_path_match
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r13), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_ce_namelen
	leaq	-72(%rbp), %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_threaded_has_symlink_leading_path
	testq	%rax, %rax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r13), %edi
	movq	%r14, %rsi
	callq	_lstat
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CE_MATCH_IGNORE_FSMONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CE_MATCH_RACY_IS_DIRTY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	leaq	-64(%rbp), %rdx
	callq	_ie_match_stat
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_ce_mark_uptodate
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_mark_fsmonitor_valid
	jmp	LBB0_15
LBB0_16:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.17:
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_pthread_mutex_lock
	movl	8(%rbx), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addl	(%rbx), %esi
	callq	_display_progress
	movq	%r15, %rdi
	callq	_pthread_mutex_unlock
LBB0_18:
	leaq	-72(%rbp), %rdi
	callq	_cache_def_clear
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_DEF_INIT,4,2             ## @CACHE_DEF_INIT
	.comm	_CE_FSMONITOR_VALID,4,2         ## @CE_FSMONITOR_VALID
	.comm	_CE_MATCH_RACY_IS_DIRTY,4,2     ## @CE_MATCH_RACY_IS_DIRTY
	.comm	_CE_MATCH_IGNORE_FSMONITOR,4,2  ## @CE_MATCH_IGNORE_FSMONITOR
	.no_dead_strip	_preload_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preload_thread
_preload_thread:                        ; @preload_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldp	w8, w9, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	ldp	x11, x10, [x20]
	add	x24, x10, x8, lsl #3
Lloh0:
	adrp	x10, _CACHE_DEF_INIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CACHE_DEF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w10, [sp, #24]
	add	w10, w9, w8
	sub	w8, w11, w8
	cmp	x11, w10, sxtw
	csel	w28, w8, w9, lt
	add	x21, x0, #16
Lloh3:
	adrp	x26, _CE_FSMONITOR_VALID@GOTPAGE
Lloh4:
	ldr	x26, [x26, _CE_FSMONITOR_VALID@GOTPAGEOFF]
	neg	w27, w28
	mov	x25, x28
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #1
	subs	w25, w25, #1
	b.le	LBB0_15
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x24], #8
	mov	x0, x22
	bl	_ce_stage
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22, #8]
	bl	_S_ISGITLINK
	cbnz	x0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ce_uptodate
	cbnz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ce_skip_worktree
	cbnz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x21, x26
	ldr	x26, [x19, #8]
	cbz	x26, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w25, #0x1f
	cbnz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x26, #4
	mov	x0, x23
	bl	_pthread_mutex_lock
	ldr	w8, [x26]
	add	w8, w28, w8
	add	w1, w27, w8
	str	w1, [x26]
	ldr	w0, [x26, #8]
	bl	_display_progress
	mov	x0, x23
	bl	_pthread_mutex_unlock
	mov	x28, x25
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x26, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, #0
	bl	_ce_path_match
	cbz	w0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w23, [x22, #4]
	mov	x0, x22
	bl	_ce_namelen
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, x23
	bl	_threaded_has_symlink_leading_path
	cbnz	x0, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22, #4]
	add	x1, sp, #16
	bl	_lstat
	cbnz	x0, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh5:
	adrp	x8, _CE_MATCH_RACY_IS_DIRTY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CE_MATCH_RACY_IS_DIRTY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CE_MATCH_IGNORE_FSMONITOR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CE_MATCH_IGNORE_FSMONITOR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x22
	bl	_ie_match_stat
	cbnz	x0, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ce_mark_uptodate
	mov	x0, x20
	mov	x1, x22
	bl	_mark_fsmonitor_valid
	b	LBB0_1
LBB0_15:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_17
; %bb.16:
	add	x19, x20, #4
	mov	x0, x19
	bl	_pthread_mutex_lock
	ldr	w0, [x20, #8]
	ldr	w8, [x20]
	add	w1, w8, w28
	bl	_display_progress
	mov	x0, x19
	bl	_pthread_mutex_unlock
LBB0_17:
	add	x0, sp, #24
	bl	_cache_def_clear
	mov	x0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_DEF_INIT,4,2             ; @CACHE_DEF_INIT
	.comm	_CE_FSMONITOR_VALID,4,2         ; @CE_FSMONITOR_VALID
	.comm	_CE_MATCH_RACY_IS_DIRTY,4,2     ; @CE_MATCH_RACY_IS_DIRTY
	.comm	_CE_MATCH_IGNORE_FSMONITOR,4,2  ; @CE_MATCH_IGNORE_FSMONITOR
	.no_dead_strip	_preload_thread
.subsections_via_symbols
