	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_clone_task_finished
_update_clone_task_finished:            ## @update_clone_task_finished
	.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	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r13d
	movslq	(%rcx), %rbx
	movq	%rcx, %rdi
	callq	_free
	xorl	%r15d, %r15d
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.1:
	movl	16(%r12), %eax
	cmpl	%eax, %ebx
	jge	LBB0_3
## %bb.2:
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rbx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strbuf_addf
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	8(%r12), %rdi
	movq	32(%r12), %rsi
	incq	%rsi
	movl	40(%r12), %edx
	callq	_ALLOC_GROW
	movq	8(%r12), %rax
	movq	32(%r12), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 32(%r12)
	movq	%rbx, (%rax,%rcx,8)
	jmp	LBB0_4
LBB0_3:
	subl	%eax, %ebx
	movq	8(%r12), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strbuf_addf
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movl	$1, (%r12)
	movl	$1, %r15d
LBB0_4:
	movl	%r15d, %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	"Failed to clone '%s'. Retry scheduled"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to clone '%s' a second time, aborting"

	.no_dead_strip	_update_clone_task_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_clone_task_finished
_update_clone_task_finished:            ; @update_clone_task_finished
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldrsw	x22, [x3]
	mov	x0, x3
	bl	_free
	cbz	w21, LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
	cmp	w22, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x21, [x8, x22, lsl #3]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x20
	bl	_strbuf_addf
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
	ldr	x0, [x19, #8]
	ldr	x8, [x19, #32]
	add	x1, x8, #1
	ldr	w2, [x19, #40]
	bl	_ALLOC_GROW
	mov	w0, #0
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #32]
	add	x10, x9, #1
	str	x10, [x19, #32]
	str	x21, [x8, x9, lsl #3]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	sub	w8, w22, w8
	ldr	x9, [x19, #8]
	ldr	x21, [x9, w8, sxtw #3]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x20
	bl	_strbuf_addf
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
	mov	w0, #1
	str	w0, [x19]
LBB0_5:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to clone '%s'. Retry scheduled"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to clone '%s' a second time, aborting"

	.no_dead_strip	_update_clone_task_finished
.subsections_via_symbols
