	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wanted_peer_refs
_wanted_peer_refs:                      ## @wanted_peer_refs
	.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	%rsi, %r14
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	callq	_find_ref_by_name
	movl	%eax, %edi
	callq	_copy_ref
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	leaq	-56(%rbp), %rcx
	movq	%rax, %rdx
	cmoveq	%rcx, %rdx
	movq	%rdx, -48(%rbp)
	movq	_option_single_branch@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_1
## %bb.4:
	movq	_option_branch@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.6:
	movq	$0, -56(%rbp)
	movq	%rcx, -48(%rbp)
	movq	%r13, %rdi
	callq	_find_remote_branch
	movl	%eax, %edi
	callq	_copy_ref
	jmp	LBB0_7
LBB0_1:
	cmpl	$0, (%r14)
	jle	LBB0_13
## %bb.2:
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	addq	%r12, %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_get_fetch_map
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_13
LBB0_5:
	movq	%rax, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_guess_remote_head
LBB0_7:
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	cmpq	$0, (%r12)
	je	LBB0_9
## %bb.18:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	(%r12), %rsi
	movl	%eax, %edi
	callq	_warning
	jmp	LBB0_13
LBB0_9:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_get_fetch_map
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_tag_refspec@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_get_fetch_map
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_13:
	movq	_option_mirror@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.14:
	movq	_option_single_branch@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_17
## %bb.15:
	movq	_option_no_tags@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.16:
	movq	_tag_refspec@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_get_fetch_map
LBB0_17:
	movq	-56(%rbp), %rax
	addq	$24, %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	"HEAD"

	.comm	_option_single_branch,8,3       ## @option_single_branch
	.comm	_option_branch,8,3              ## @option_branch
L_.str.1:                               ## @.str.1
	.asciz	"Could not find remote branch %s to clone."

	.comm	_tag_refspec,8,3                ## @tag_refspec
	.comm	_option_mirror,4,2              ## @option_mirror
	.comm	_option_no_tags,4,2             ## @option_no_tags
	.no_dead_strip	_wanted_peer_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wanted_peer_refs
_wanted_peer_refs:                      ; @wanted_peer_refs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_find_ref_by_name
	bl	_copy_ref
	add	x8, sp, #8
	cmp	x0, #0
	csel	x8, x8, x0, eq
	stp	x8, x0, [sp]
Lloh2:
	adrp	x22, _option_single_branch@GOTPAGE
Lloh3:
	ldr	x22, [x22, _option_single_branch@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.1:
Lloh4:
	adrp	x23, _option_branch@GOTPAGE
Lloh5:
	ldr	x23, [x23, _option_branch@GOTPAGEOFF]
	ldr	x1, [x23]
	cbz	x1, LBB0_6
; %bb.2:
	add	x8, sp, #8
	stp	x8, xzr, [sp]
	mov	x0, x19
	bl	_find_remote_branch
	bl	_copy_ref
	b	LBB0_7
LBB0_3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x21, #0
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x21
	mov	x2, sp
	mov	x0, x19
	mov	w3, #0
	bl	_get_fetch_map
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x23, x8
	b.lt	LBB0_5
	b	LBB0_13
LBB0_6:
	mov	x1, x19
	mov	w2, #0
	bl	_guess_remote_head
LBB0_7:
	mov	x21, x0
	ldr	x8, [x23]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_12
; %bb.8:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x23, #0
	mov	x24, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x23
	mov	x2, sp
	mov	x0, x21
	mov	w3, #0
	bl	_get_fetch_map
	add	x24, x24, #1
	ldrsw	x8, [x20]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_10
LBB0_11:
Lloh6:
	adrp	x8, _tag_refspec@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tag_refspec@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x2, sp
	mov	x0, x21
	mov	w3, #0
	bl	_get_fetch_map
	b	LBB0_13
LBB0_12:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldr	x1, [x23]
	bl	_warning
LBB0_13:
Lloh11:
	adrp	x8, _option_mirror@GOTPAGE
Lloh12:
	ldr	x8, [x8, _option_mirror@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x22]
Lloh14:
	adrp	x10, _option_no_tags@GOTPAGE
Lloh15:
	ldr	x10, [x10, _option_no_tags@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	ccmp	w10, #0, #0, eq
	b.ne	LBB0_15
; %bb.14:
Lloh17:
	adrp	x8, _tag_refspec@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tag_refspec@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #0
	bl	_get_fetch_map
LBB0_15:
	ldr	x0, [sp, #8]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_option_single_branch,8,3       ; @option_single_branch
	.comm	_option_branch,8,3              ; @option_branch
l_.str.1:                               ; @.str.1
	.asciz	"Could not find remote branch %s to clone."

	.comm	_tag_refspec,8,3                ; @tag_refspec
	.comm	_option_mirror,4,2              ; @option_mirror
	.comm	_option_no_tags,4,2             ; @option_no_tags
	.no_dead_strip	_wanted_peer_refs
.subsections_via_symbols
