	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_unresolved_deltas
_fix_unresolved_deltas:                 ## @fix_unresolved_deltas
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nr_ref_deltas@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ALLOC_ARRAY
	movl	(%r15), %esi
	movq	_delta_pos_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_QSORT
	xorl	%eax, %eax
	callq	_has_promisor_remote
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	_OID_ARRAY_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_the_repository@GOTPCREL(%rip), %r12
	movq	_OBJECT_INFO_FOR_PREFETCH@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r13), %ecx
	xorl	%edx, %edx
	callq	_oid_object_info_extended
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_oid_array_append
	jmp	LBB0_5
LBB0_6:
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %esi
	callq	_promisor_remote_get_direct
LBB0_8:
	leaq	-64(%rbp), %rdi
	callq	_oid_array_clear
LBB0_9:
	cmpl	$0, (%r15)
	jg	LBB0_10
## %bb.11:
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	callq	_alloc_base_data
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_ref_deltas,4,2              ## @nr_ref_deltas
	.comm	_ref_deltas,8,3                 ## @ref_deltas
	.comm	_delta_pos_compare,4,2          ## @delta_pos_compare
	.comm	_OID_ARRAY_INIT,16,3            ## @OID_ARRAY_INIT
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJECT_INFO_FOR_PREFETCH,4,2   ## @OBJECT_INFO_FOR_PREFETCH
	.comm	_objects,8,3                    ## @objects
	.comm	_OBJ_REF_DELTA,8,3              ## @OBJ_REF_DELTA
	.comm	_progress,4,2                   ## @progress
	.comm	_nr_resolved_deltas,4,2         ## @nr_resolved_deltas
	.no_dead_strip	_fix_unresolved_deltas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_unresolved_deltas
_fix_unresolved_deltas:                 ; @fix_unresolved_deltas
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _nr_ref_deltas@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nr_ref_deltas@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_ALLOC_ARRAY
	ldr	w1, [x19]
Lloh2:
	adrp	x8, _delta_pos_compare@GOTPAGE
Lloh3:
	ldr	x8, [x8, _delta_pos_compare@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_QSORT
	bl	_has_promisor_remote
	cbz	x0, LBB0_9
; %bb.1:
Lloh5:
	adrp	x8, _OID_ARRAY_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OID_ARRAY_INIT@GOTPAGEOFF]
Lloh7:
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	w8, [x19]
Lloh8:
	adrp	x20, _the_repository@GOTPAGE
Lloh9:
	ldr	x20, [x20, _the_repository@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w21, #0
Lloh10:
	adrp	x22, _OBJECT_INFO_FOR_PREFETCH@GOTPAGE
Lloh11:
	ldr	x22, [x22, _OBJECT_INFO_FOR_PREFETCH@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	w3, [x22]
	mov	x2, #0
	bl	_oid_object_info_extended
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	bl	_oid_array_append
	b	LBB0_3
LBB0_6:
	ldr	x2, [sp]
	cbz	x2, LBB0_8
; %bb.7:
	ldr	w0, [x20]
	ldr	w1, [sp, #8]
	bl	_promisor_remote_get_direct
LBB0_8:
	mov	x0, sp
	bl	_oid_array_clear
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ge	LBB0_11
; %bb.10:
	bl	_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	bl	_alloc_base_data
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_ref_deltas,4,2              ; @nr_ref_deltas
	.comm	_ref_deltas,8,3                 ; @ref_deltas
	.comm	_delta_pos_compare,4,2          ; @delta_pos_compare
	.comm	_OID_ARRAY_INIT,16,3            ; @OID_ARRAY_INIT
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJECT_INFO_FOR_PREFETCH,4,2   ; @OBJECT_INFO_FOR_PREFETCH
	.comm	_objects,8,3                    ; @objects
	.comm	_OBJ_REF_DELTA,8,3              ; @OBJ_REF_DELTA
	.comm	_progress,4,2                   ; @progress
	.comm	_nr_resolved_deltas,4,2         ; @nr_resolved_deltas
	.no_dead_strip	_fix_unresolved_deltas
.subsections_via_symbols
