	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_clone_get_next_task
_update_clone_get_next_task:            ## @update_clone_get_next_task
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdx), %rax
	movq	24(%rdx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_prepare_to_clone_next_submodule
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	%rcx, %rax
	jb	LBB0_2
LBB0_4:
	subq	%rcx, %rax
	xorl	%r13d, %r13d
	cmpl	%eax, 8(%rbx)
	jle	LBB0_8
## %bb.5:
	movq	16(%rbx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_prepare_to_clone_next_submodule
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movl	$4, %edi
	callq	_xmalloc
	movq	(%rbx), %rcx
	movl	%ecx, (%rax)
	movq	%rax, (%r14)
	incq	%rcx
	movq	%rcx, (%rbx)
	movl	$1, %r13d
	jmp	LBB0_8
LBB0_6:
	incq	(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strbuf_addstr
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG: submodule considered for cloning, doesn't need cloning any more?\n"

	.no_dead_strip	_update_clone_get_next_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_clone_get_next_task
_update_clone_get_next_task:            ; @update_clone_get_next_task
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x2]
	ldr	x9, [x2, #24]
	cmp	x8, x9
	b.hs	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	ldr	x0, [x9, x8, lsl #3]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_prepare_to_clone_next_submodule
	cbnz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.lo	LBB0_1
LBB0_3:
	ldr	w10, [x19, #8]
	sub	x8, x8, x9
	cmp	w10, w8
	b.le	LBB0_7
; %bb.4:
	ldr	x9, [x19, #16]
	sbfiz	x8, x8, #3, #32
	ldr	x0, [x9, x8]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_prepare_to_clone_next_submodule
	cbz	x0, LBB0_6
LBB0_5:
	mov	w0, #4
	bl	_xmalloc
	ldr	x8, [x19]
	str	w8, [x0]
	str	x0, [x20]
	add	x8, x8, #1
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strbuf_addstr
LBB0_7:
	mov	w0, #0
LBB0_8:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG: submodule considered for cloning, doesn't need cloning any more?\n"

	.no_dead_strip	_update_clone_get_next_task
.subsections_via_symbols
