	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_submodule_clone_url
_compute_submodule_clone_url:           ## @compute_submodule_clone_url
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_default_remote
	movq	%rax, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	movq	%r15, %rdx
	callq	_strbuf_addf
	movl	-32(%rbp), %edi
	leaq	-40(%rbp), %rsi
	callq	_git_config_get_string
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	-32(%rbp), %esi
	movl	%eax, %edi
	callq	_warning
	xorl	%eax, %eax
	callq	_xgetcwd
	movq	%rax, %rdi
	movq	%rax, -40(%rbp)
	jmp	LBB0_3
LBB0_1:
	movq	-40(%rbp), %rdi
LBB0_3:
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_relative_url
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_free
	movq	-40(%rbp), %rdi
	callq	_free
	leaq	-32(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remote.%s.url"

L_.str.1:                               ## @.str.1
	.asciz	"could not look up configuration '%s'. Assuming this repository is its own authoritative upstream."

	.no_dead_strip	_compute_submodule_clone_url
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_submodule_clone_url
_compute_submodule_clone_url:           ; @compute_submodule_clone_url
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_get_default_remote
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	mov	x2, x19
	bl	_strbuf_addf
	ldr	w0, [sp]
	add	x1, sp, #8
	bl	_git_config_get_string
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldr	w1, [sp]
	bl	_warning
	bl	_xgetcwd
	str	x0, [sp, #8]
	b	LBB0_3
LBB0_2:
	ldr	x0, [sp, #8]
LBB0_3:
	mov	x1, x20
	mov	x2, #0
	bl	_relative_url
	mov	x20, x0
	mov	x0, x19
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote.%s.url"

l_.str.1:                               ; @.str.1
	.asciz	"could not look up configuration '%s'. Assuming this repository is its own authoritative upstream."

	.no_dead_strip	_compute_submodule_clone_url
.subsections_via_symbols
