	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_submodules
_update_submodules:                     ## @update_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	24(%rdi), %edi
	movq	_update_clone_get_next_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_update_clone_start_failure@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_update_clone_task_finished@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %r9
	movq	%r15, %r8
	callq	_run_processes_parallel_tr2
	movl	$1, %r14d
	cmpq	$0, 16(%r15)
	jne	LBB0_5
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_2
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_update_submodule
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_2:
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_clone_get_next_task,4,2 ## @update_clone_get_next_task
	.comm	_update_clone_start_failure,4,2 ## @update_clone_start_failure
	.comm	_update_clone_task_finished,4,2 ## @update_clone_task_finished
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule"

L_.str.1:                               ## @.str.1
	.asciz	"parallel/update"

	.no_dead_strip	_update_submodules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_submodules
_update_submodules:                     ; @update_submodules
	.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
	mov	x19, x0
	ldr	w0, [x0, #24]
Lloh0:
	adrp	x8, _update_clone_get_next_task@GOTPAGE
Lloh1:
	ldr	x8, [x8, _update_clone_get_next_task@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _update_clone_start_failure@GOTPAGE
Lloh4:
	ldr	x8, [x8, _update_clone_start_failure@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _update_clone_task_finished@GOTPAGE
Lloh7:
	ldr	x8, [x8, _update_clone_task_finished@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x5, l_.str@PAGE
Lloh10:
	add	x5, x5, l_.str@PAGEOFF
Lloh11:
	adrp	x6, l_.str.1@PAGE
Lloh12:
	add	x6, x6, l_.str.1@PAGEOFF
	mov	x4, x19
	bl	_run_processes_parallel_tr2
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_update_submodule
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_update_clone_get_next_task,4,2 ; @update_clone_get_next_task
	.comm	_update_clone_start_failure,4,2 ; @update_clone_start_failure
	.comm	_update_clone_task_finished,4,2 ; @update_clone_task_finished
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule"

l_.str.1:                               ; @.str.1
	.asciz	"parallel/update"

	.no_dead_strip	_update_submodules
.subsections_via_symbols
