	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_remote_info_ref
_add_remote_info_ref:                   ## @add_remote_info_ref
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	8(%rbx), %r15
	callq	_alloc_ref
	movq	%rax, %r14
	movq	_repo@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_http_fetch_ref
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	movq	(%r12), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
LBB0_2:
	callq	_fprintf
	movq	_aborted@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_3:
	movq	_the_repository@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_parse_object
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_oid_to_hex
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_strbuf_addf
	movq	(%r12), %rax
	movq	_OBJ_TAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movl	(%r13), %edi
	movq	(%rbx), %rdx
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_deref_tag
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	$8, %rax
	movq	%rax, %rdi
	callq	_oid_to_hex
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_strbuf_addf
	jmp	LBB0_8
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_oid_to_hex
	movq	(%rbx), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rax, %rdx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_repo,8,3                       ## @repo
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to fetch ref %s from %s\n"

	.comm	_aborted,4,2                    ## @aborted
	.comm	_the_repository,4,2             ## @the_repository
L_.str.1:                               ## @.str.1
	.asciz	"Unable to parse object %s for remote ref %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s\t%s\n"

	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
L_.str.3:                               ## @.str.3
	.asciz	"%s\t%s^{}\n"

	.no_dead_strip	_add_remote_info_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_remote_info_ref
_add_remote_info_ref:                   ; @add_remote_info_ref
	.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	x20, x0
	ldp	x0, x21, [x0]
	bl	_alloc_ref
	mov	x19, x0
Lloh0:
	adrp	x22, _repo@GOTPAGE
Lloh1:
	ldr	x22, [x22, _repo@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8]
	mov	x1, x19
	bl	_http_fetch_ref
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x2, [x20]
	ldr	x8, [x22]
	ldr	x3, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_fprintf
Lloh7:
	adrp	x8, _aborted@GOTPAGE
Lloh8:
	ldr	x8, [x8, _aborted@GOTPAGEOFF]
	mov	w9, #1
Lloh9:
	str	w9, [x8]
LBB0_3:
	mov	x0, x19
	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
	b	_free
LBB0_4:
Lloh10:
	adrp	x23, _the_repository@GOTPAGE
Lloh11:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x19
	bl	_parse_object
	cbz	x0, LBB0_8
; %bb.5:
	mov	x22, x0
	mov	x0, x19
	bl	_oid_to_hex
	mov	x2, x0
	ldr	x3, [x20]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strbuf_addf
	ldr	x8, [x22]
Lloh14:
	adrp	x9, _OBJ_TAG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OBJ_TAG@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:
	ldr	w0, [x23]
	ldr	x2, [x20]
	mov	x1, x22
	mov	w3, #0
	bl	_deref_tag
	cbz	x0, LBB0_3
; %bb.7:
	add	x0, x0, #8
	bl	_oid_to_hex
	mov	x2, x0
	ldr	x3, [x20]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strbuf_addf
	b	LBB0_3
LBB0_8:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_oid_to_hex
	mov	x2, x0
	ldr	x3, [x20]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_repo,8,3                       ; @repo
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to fetch ref %s from %s\n"

	.comm	_aborted,4,2                    ; @aborted
	.comm	_the_repository,4,2             ; @the_repository
l_.str.1:                               ; @.str.1
	.asciz	"Unable to parse object %s for remote ref %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s\t%s\n"

	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
l_.str.3:                               ; @.str.3
	.asciz	"%s\t%s^{}\n"

	.no_dead_strip	_add_remote_info_ref
.subsections_via_symbols
