	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch
_fetch:                                 ## @fetch
	.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, %r13
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	callq	_get_helper
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_process_connect
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_do_take_over
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	cmpl	$0, 56(%r12)
	je	LBB0_6
## %bb.3:
	testl	%r14d, %r14d
	jg	LBB0_4
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_get_refs_list_using_list
	testl	%r14d, %r14d
	jle	LBB0_7
LBB0_4:
	movq	_REF_STATUS_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %r8d
	cmpl	$1, %r14d
	jne	LBB0_8
## %bb.5:
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_8:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rsi,8), %rcx
	movq	8(%r13,%rsi,8), %rbx
	xorl	%edi, %edi
	testl	%eax, (%rcx)
	sete	%dil
	movl	(%rbx), %ecx
	andl	%eax, %ecx
	cmpl	$1, %ecx
	adcl	%edi, %edx
	addq	$2, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_9
LBB0_10:
	testb	$1, %r8b
	je	LBB0_12
## %bb.11:
	movq	(%r13,%rsi,8), %rcx
	andl	(%rcx), %eax
	cmpl	$1, %eax
	adcl	$0, %edx
LBB0_12:
	testl	%edx, %edx
	je	LBB0_7
## %bb.13:
	cmpq	$0, 48(%r12)
	je	LBB0_16
## %bb.14:
	cmpq	$0, 40(%r12)
	je	LBB0_16
## %bb.15:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_set_helper_option
LBB0_16:
	cmpq	$0, (%r15)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_set_helper_option
LBB0_18:
	cmpq	$0, 32(%r12)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_set_helper_option
LBB0_20:
	cmpq	$0, 24(%r12)
	je	LBB0_22
## %bb.21:
	leaq	24(%r12), %rdi
	callq	_expand_list_objects_filter_spec
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_set_helper_option
LBB0_22:
	cmpq	$0, 16(%r12)
	je	LBB0_24
## %bb.23:
	leaq	L_.str.5(%rip), %rdi
	callq	_warning
LBB0_24:
	cmpq	$0, 8(%r12)
	je	LBB0_27
## %bb.25:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fetch_with_fetch               ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	cmpq	$0, (%r12)
	je	LBB0_29
## %bb.28:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fetch_with_import              ## TAILCALL
LBB0_29:
	movl	$-1, %eax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_STATUS_UPTODATE,4,2        ## @REF_STATUS_UPTODATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"check-connectivity"

L_.str.1:                               ## @.str.1
	.asciz	"true"

L_.str.2:                               ## @.str.2
	.asciz	"cloning"

L_.str.3:                               ## @.str.3
	.asciz	"update-shallow"

L_.str.4:                               ## @.str.4
	.asciz	"filter"

L_.str.5:                               ## @.str.5
	.asciz	"Ignoring --negotiation-tip because the protocol does not support it."

	.no_dead_strip	_fetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch
_fetch:                                 ; @fetch
	.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
	ldr	x22, [x0, #16]
	bl	_get_helper
	mov	x0, x21
	mov	w1, #0
	bl	_process_connect
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_do_take_over
	ldr	x8, [x21, #8]
	ldr	x3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	br	x3
LBB0_2:
	ldr	w8, [x22, #56]
	cbz	w8, LBB0_4
; %bb.3:
	cmp	w20, #1
	b.ge	LBB0_5
	b	LBB0_26
LBB0_4:
	mov	x0, x21
	mov	w1, #0
	bl	_get_refs_list_using_list
	cmp	w20, #1
	b.lt	LBB0_26
LBB0_5:
Lloh0:
	adrp	x8, _REF_STATUS_UPTODATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_STATUS_UPTODATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, w20
	cmp	w20, #4
	b.hs	LBB0_7
; %bb.6:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_10
LBB0_7:
	mov	w13, #0
	mov	w14, #0
	mov	w12, #0
	mov	w11, #0
	and	x10, x9, #0xfffffffc
	add	x15, x19, #16
	mov	x16, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x17, x0, [x15, #-16]
	ldp	x1, x2, [x15], #32
	ldr	w17, [x17]
	ldr	w0, [x0]
	ldr	w1, [x1]
	ldr	w2, [x2]
	tst	w8, w17
	cinc	w13, w13, eq
	tst	w8, w0
	cinc	w14, w14, eq
	tst	w8, w1
	cinc	w12, w12, eq
	tst	w8, w2
	cinc	w11, w11, eq
	subs	x16, x16, #4
	b.ne	LBB0_8
; %bb.9:
	add	w13, w14, w13
	add	w12, w12, w13
	add	w11, w11, w12
	cmp	x10, x9
	b.eq	LBB0_12
LBB0_10:
	add	x12, x19, x10, lsl #3
	sub	x9, x9, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x12], #8
	ldr	w10, [x10]
	tst	w8, w10
	cinc	w11, w11, eq
	subs	x9, x9, #1
	b.ne	LBB0_11
LBB0_12:
	cbz	w11, LBB0_26
; %bb.13:
	ldr	x8, [x22, #48]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x8, [x22, #40]
	cbz	x8, LBB0_16
; %bb.15:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_set_helper_option
LBB0_16:
	ldr	x8, [x21]
	cbz	x8, LBB0_18
; %bb.17:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_set_helper_option
LBB0_18:
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_20
; %bb.19:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_set_helper_option
LBB0_20:
	mov	x0, x22
	ldr	x8, [x0, #24]!
	cbz	x8, LBB0_22
; %bb.21:
	bl	_expand_list_objects_filter_spec
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_set_helper_option
LBB0_22:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_24
; %bb.23:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warning
LBB0_24:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_28
; %bb.25:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_fetch_with_fetch
LBB0_26:
	mov	w0, #0
LBB0_27:
	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
LBB0_28:
	ldr	x8, [x22]
	cbz	x8, LBB0_30
; %bb.29:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_fetch_with_import
LBB0_30:
	mov	w0, #-1
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_STATUS_UPTODATE,4,2        ; @REF_STATUS_UPTODATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"check-connectivity"

l_.str.1:                               ; @.str.1
	.asciz	"true"

l_.str.2:                               ; @.str.2
	.asciz	"cloning"

l_.str.3:                               ; @.str.3
	.asciz	"update-shallow"

l_.str.4:                               ; @.str.4
	.asciz	"filter"

l_.str.5:                               ; @.str.5
	.asciz	"Ignoring --negotiation-tip because the protocol does not support it."

	.no_dead_strip	_fetch
.subsections_via_symbols
