	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_populated_submodules     ## -- Begin function fetch_populated_submodules
	.p2align	4, 0x90
_fetch_populated_submodules:            ## @fetch_populated_submodules
	.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	_SPF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm1, -80(%rbp)
	movq	32(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%rdi, -56(%rbp)
	movl	%ecx, -96(%rbp)
	movl	%r8d, -92(%rbp)
	movl	%r9d, -88(%rbp)
	movq	%rdx, -80(%rbp)
	cmpl	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_repo_read_index
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	movl	16(%rbp), %r12d
	leaq	-64(%rbp), %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_argv_array_push
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_argv_array_push
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_argv_array_push
	leaq	-68(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_calculate_changed_submodule_paths
	movq	%rbx, %rdi
	callq	_string_list_sort
	movq	_get_next_submodule@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fetch_start_failure@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fetch_finish@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.3(%rip), %r9
	leaq	-96(%rbp), %r8
	movl	%r12d, %edi
	callq	_run_processes_parallel_tr2
	movq	%r15, %rdi
	callq	_argv_array_clear
LBB0_7:
	leaq	-68(%rbp), %rdi
	callq	_free_submodules_oids
	movl	-72(%rbp), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPF_INIT,48,3                  ## @SPF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index file corrupt"

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

L_.str.2:                               ## @.str.2
	.asciz	"--recurse-submodules-default"

	.comm	_get_next_submodule,4,2         ## @get_next_submodule
	.comm	_fetch_start_failure,4,2        ## @fetch_start_failure
	.comm	_fetch_finish,4,2               ## @fetch_finish
L_.str.3:                               ## @.str.3
	.asciz	"submodule"

L_.str.4:                               ## @.str.4
	.asciz	"parallel/fetch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetch_populated_submodules     ; -- Begin function fetch_populated_submodules
	.p2align	2
_fetch_populated_submodules:            ; @fetch_populated_submodules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _SPF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPF_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	x8, [x8, #32]
	stp	x8, x0, [sp, #32]
	stp	w3, w4, [sp]
	str	w5, [sp, #8]
	str	x2, [sp, #16]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x6
	mov	x22, x1
	mov	x20, x0
	bl	_repo_read_index
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	mov	x23, sp
	add	x21, x23, #32
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_argv_array_push
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x24, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x1, [x8, x24, lsl #3]
	mov	x0, x21
	bl	_argv_array_push
	add	x24, x24, #1
	ldrsw	x8, [x22]
	cmp	x24, x8
	b.lt	LBB0_5
LBB0_6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_argv_array_push
	add	x22, x23, #28
	mov	x0, x20
	mov	x1, x22
	bl	_calculate_changed_submodule_paths
	mov	x0, x22
	bl	_string_list_sort
Lloh8:
	adrp	x8, _get_next_submodule@GOTPAGE
Lloh9:
	ldr	x8, [x8, _get_next_submodule@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _fetch_start_failure@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fetch_start_failure@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _fetch_finish@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fetch_finish@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x5, l_.str.3@PAGE
Lloh18:
	add	x5, x5, l_.str.3@PAGEOFF
Lloh19:
	adrp	x6, l_.str.4@PAGE
Lloh20:
	add	x6, x6, l_.str.4@PAGEOFF
	mov	x4, sp
	mov	x0, x19
	bl	_run_processes_parallel_tr2
	mov	x0, x21
	bl	_argv_array_clear
LBB0_7:
	mov	x8, sp
	add	x0, x8, #28
	bl	_free_submodules_oids
	ldr	w0, [sp, #24]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SPF_INIT,48,3                  ; @SPF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index file corrupt"

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

l_.str.2:                               ; @.str.2
	.asciz	"--recurse-submodules-default"

	.comm	_get_next_submodule,4,2         ; @get_next_submodule
	.comm	_fetch_start_failure,4,2        ; @fetch_start_failure
	.comm	_fetch_finish,4,2               ; @fetch_finish
l_.str.3:                               ; @.str.3
	.asciz	"submodule"

l_.str.4:                               ; @.str.4
	.asciz	"parallel/fetch"

.subsections_via_symbols
