	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_deltas
_resolve_deltas:                        ## @resolve_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nr_ofs_deltas@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_nr_ref_deltas@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	orq	%rsi, %rax
	je	LBB0_10
## %bb.1:
	movq	_ofs_deltas@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_compare_ofs_delta_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_QSORT
	movq	_ref_deltas@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movq	_compare_ref_delta_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_QSORT
	movq	_verbose@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_show_resolving_progress@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_start_progress
	movq	_progress@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_3:
	movq	_nr_dispatched@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nr_threads@GOTPCREL(%rip), %r15
	cmpl	$1, (%r15)
	jg	LBB0_11
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
LBB0_11:
	xorl	%eax, %eax
	callq	_init_thread
	cmpl	$0, (%r15)
	jle	LBB0_19
## %bb.12:
	xorl	%r14d, %r14d
	movq	_thread_data@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %r14
	cmpq	%rax, %r12
	jge	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	addq	%r14, %rcx
	movq	_threaded_second_pass@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, %rdi
	xorl	%esi, %esi
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%r15, %r13
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_strerror
	movl	%r15d, %edi
	movq	%r13, %r15
	movq	_thread_data@GOTPCREL(%rip), %r13
	movl	%eax, %esi
	callq	_die
	jmp	LBB0_15
LBB0_16:
	testl	%eax, %eax
	jle	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_pthread_join
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cleanup_thread                 ## TAILCALL
LBB0_5:
	movq	_nr_objects@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	movq	_objects@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r15
	movl	(%r15,%rbx), %edi
	callq	_is_delta_type
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	%rbx, %r15
	movq	%r15, %rdi
	callq	_resolve_base
	movq	_progress@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_nr_resolved_deltas@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_display_progress
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_ofs_deltas,8,3              ## @nr_ofs_deltas
	.comm	_nr_ref_deltas,8,3              ## @nr_ref_deltas
	.comm	_ofs_deltas,4,2                 ## @ofs_deltas
	.comm	_compare_ofs_delta_entry,4,2    ## @compare_ofs_delta_entry
	.comm	_ref_deltas,4,2                 ## @ref_deltas
	.comm	_compare_ref_delta_entry,4,2    ## @compare_ref_delta_entry
	.comm	_verbose,8,3                    ## @verbose
	.comm	_show_resolving_progress,8,3    ## @show_resolving_progress
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Resolving deltas"

	.comm	_progress,4,2                   ## @progress
	.comm	_nr_dispatched,8,3              ## @nr_dispatched
	.comm	_nr_threads,4,2                 ## @nr_threads
L_.str.1:                               ## @.str.1
	.asciz	"GIT_FORCE_THREADS"

	.comm	_thread_data,8,3                ## @thread_data
	.comm	_threaded_second_pass,4,2       ## @threaded_second_pass
L_.str.2:                               ## @.str.2
	.asciz	"unable to create thread: %s"

	.comm	_nr_objects,4,2                 ## @nr_objects
	.comm	_objects,8,3                    ## @objects
	.comm	_nr_resolved_deltas,4,2         ## @nr_resolved_deltas
	.no_dead_strip	_resolve_deltas
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_deltas
_resolve_deltas:                        ; @resolve_deltas
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x19, _nr_ofs_deltas@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nr_ofs_deltas@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh2:
	adrp	x20, _nr_ref_deltas@GOTPAGE
Lloh3:
	ldr	x20, [x20, _nr_ref_deltas@GOTPAGEOFF]
	ldr	x8, [x20]
	orr	x8, x1, x8
	cbz	x8, LBB0_19
; %bb.1:
Lloh4:
	adrp	x8, _ofs_deltas@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ofs_deltas@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _compare_ofs_delta_entry@GOTPAGE
Lloh8:
	ldr	x8, [x8, _compare_ofs_delta_entry@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_QSORT
Lloh10:
	adrp	x8, _ref_deltas@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ref_deltas@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x1, [x20]
Lloh13:
	adrp	x8, _compare_ref_delta_entry@GOTPAGE
Lloh14:
	ldr	x8, [x8, _compare_ref_delta_entry@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_QSORT
Lloh16:
	adrp	x8, _verbose@GOTPAGE
Lloh17:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _show_resolving_progress@GOTPAGE
Lloh20:
	ldr	x9, [x9, _show_resolving_progress@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_3
; %bb.2:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x8, [x20]
	ldr	x9, [x19]
	add	x1, x9, x8
	bl	_start_progress
Lloh24:
	adrp	x8, _progress@GOTPAGE
Lloh25:
	ldr	x8, [x8, _progress@GOTPAGEOFF]
Lloh26:
	str	w0, [x8]
LBB0_3:
Lloh27:
	adrp	x8, _nr_dispatched@GOTPAGE
Lloh28:
	ldr	x8, [x8, _nr_dispatched@GOTPAGEOFF]
Lloh29:
	str	xzr, [x8]
Lloh30:
	adrp	x22, _nr_threads@GOTPAGE
Lloh31:
	ldr	x22, [x22, _nr_threads@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.4:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_14
LBB0_5:
	bl	_init_thread
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.6:
	mov	x24, #0
	mov	x25, #0
Lloh34:
	adrp	x23, _thread_data@GOTPAGE
Lloh35:
	ldr	x23, [x23, _thread_data@GOTPAGEOFF]
Lloh36:
	adrp	x26, _threaded_second_pass@GOTPAGE
Lloh37:
	ldr	x26, [x26, _threaded_second_pass@GOTPAGEOFF]
Lloh38:
	adrp	x19, l_.str.2@PAGE
Lloh39:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x24, x24, #4
	cmp	x25, x8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, x24
	ldr	w2, [x26]
	mov	x1, #0
	mov	x3, x0
	bl	_pthread_create
	cbz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x20, x0
	mov	x0, x19
	bl	__
	mov	x21, x0
	mov	x0, x20
	bl	_strerror
	mov	x1, x0
	mov	x0, x21
	bl	_die
	b	LBB0_7
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x19, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, x19, lsl #2]
	mov	x1, #0
	bl	_pthread_join
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.lt	LBB0_12
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_cleanup_thread
LBB0_14:
Lloh40:
	adrp	x20, _nr_objects@GOTPAGE
Lloh41:
	ldr	x20, [x20, _nr_objects@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.15:
	mov	x21, #0
	mov	x22, #0
Lloh42:
	adrp	x23, _objects@GOTPAGE
Lloh43:
	ldr	x23, [x23, _objects@GOTPAGEOFF]
Lloh44:
	adrp	x24, _progress@GOTPAGE
Lloh45:
	ldr	x24, [x24, _progress@GOTPAGEOFF]
Lloh46:
	adrp	x25, _nr_resolved_deltas@GOTPAGE
Lloh47:
	ldr	x25, [x25, _nr_resolved_deltas@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.ge	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x19, x8, x21
	ldr	w0, [x19]
	bl	_is_delta_type
	cbnz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_resolve_base
	ldr	w0, [x24]
	ldr	w1, [x25]
	bl	_display_progress
	b	LBB0_16
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_ofs_deltas,8,3              ; @nr_ofs_deltas
	.comm	_nr_ref_deltas,8,3              ; @nr_ref_deltas
	.comm	_ofs_deltas,4,2                 ; @ofs_deltas
	.comm	_compare_ofs_delta_entry,4,2    ; @compare_ofs_delta_entry
	.comm	_ref_deltas,4,2                 ; @ref_deltas
	.comm	_compare_ref_delta_entry,4,2    ; @compare_ref_delta_entry
	.comm	_verbose,8,3                    ; @verbose
	.comm	_show_resolving_progress,8,3    ; @show_resolving_progress
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Resolving deltas"

	.comm	_progress,4,2                   ; @progress
	.comm	_nr_dispatched,8,3              ; @nr_dispatched
	.comm	_nr_threads,4,2                 ; @nr_threads
l_.str.1:                               ; @.str.1
	.asciz	"GIT_FORCE_THREADS"

	.comm	_thread_data,8,3                ; @thread_data
	.comm	_threaded_second_pass,4,2       ; @threaded_second_pass
l_.str.2:                               ; @.str.2
	.asciz	"unable to create thread: %s"

	.comm	_nr_objects,4,2                 ; @nr_objects
	.comm	_objects,8,3                    ; @objects
	.comm	_nr_resolved_deltas,4,2         ; @nr_resolved_deltas
	.no_dead_strip	_resolve_deltas
.subsections_via_symbols
