	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_refs
_fetch_refs:                            ## @fetch_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_fetch_if_missing@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	movl	$0, (%r12)
	callq	_remote_get
	movq	%rax, %rbx
	movq	(%rax), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
	movq	(%rbx), %rax
	movl	(%rax), %esi
LBB0_2:
	movq	%rbx, %rdi
	callq	_transport_get
	movq	%rax, %rbx
	movq	_TRANS_OPT_FROM_PROMISOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_transport_set_option
	movq	_TRANS_OPT_NO_DEPENDENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_transport_set_option
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_transport_fetch_refs
	movl	%r13d, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fetch_if_missing,4,2           ## @fetch_if_missing
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Remote with no URL"

	.comm	_TRANS_OPT_FROM_PROMISOR,4,2    ## @TRANS_OPT_FROM_PROMISOR
L_.str.1:                               ## @.str.1
	.asciz	"1"

	.comm	_TRANS_OPT_NO_DEPENDENTS,4,2    ## @TRANS_OPT_NO_DEPENDENTS
	.no_dead_strip	_fetch_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_refs
_fetch_refs:                            ; @fetch_refs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
Lloh0:
	adrp	x22, _fetch_if_missing@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fetch_if_missing@GOTPAGEOFF]
	ldr	w23, [x22]
	str	wzr, [x22]
	bl	_remote_get
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w1, [x8]
	cbnz	w1, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
	ldr	x8, [x20]
	ldr	w1, [x8]
LBB0_2:
	mov	x0, x20
	bl	_transport_get
	mov	x20, x0
Lloh4:
	adrp	x8, _TRANS_OPT_FROM_PROMISOR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRANS_OPT_FROM_PROMISOR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_transport_set_option
Lloh9:
	adrp	x8, _TRANS_OPT_NO_DEPENDENTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRANS_OPT_NO_DEPENDENTS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_transport_set_option
	mov	x0, x20
	mov	x1, x19
	bl	_transport_fetch_refs
	str	w23, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_fetch_if_missing,4,2           ; @fetch_if_missing
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Remote with no URL"

	.comm	_TRANS_OPT_FROM_PROMISOR,4,2    ; @TRANS_OPT_FROM_PROMISOR
l_.str.1:                               ; @.str.1
	.asciz	"1"

	.comm	_TRANS_OPT_NO_DEPENDENTS,4,2    ; @TRANS_OPT_NO_DEPENDENTS
	.no_dead_strip	_fetch_refs
.subsections_via_symbols
