	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remote_submodule_branch
_remote_submodule_branch:               ## @remote_submodule_branch
	.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, %rdx
	movq	$0, -40(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_null_oid@GOTPCREL(%rip), %rsi
	callq	_submodule_from_path
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_xstrfmt
	movq	%rax, %rbx
	movl	(%r14), %edi
	leaq	-40(%rbp), %rdx
	movq	%rax, %rsi
	callq	_repo_config_get_string_const
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r15), %rax
	movq	%rax, -40(%rbp)
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
	movq	-40(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_resolve_ref_unsafe
	movq	%rax, %r14
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	-32(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_13:
	movq	-32(%rbp), %rbx
	jmp	LBB0_14
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.1(%rip), %rbx
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_null_oid,4,2                   ## @null_oid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule.%s.branch"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"HEAD"

L_.str.4:                               ## @.str.4
	.asciz	"No such ref: %s"

L_.str.5:                               ## @.str.5
	.asciz	"Submodule (%s) branch configured to inherit branch from superproject, but the superproject is not on any branch"

L_.str.6:                               ## @.str.6
	.asciz	"refs/heads/"

L_.str.7:                               ## @.str.7
	.asciz	"Expecting a full ref name, got %s"

	.no_dead_strip	_remote_submodule_branch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remote_submodule_branch
_remote_submodule_branch:               ; @remote_submodule_branch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x2, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x21, _the_repository@GOTPAGE
Lloh1:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, _null_oid@GOTPAGE
Lloh3:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	bl	_submodule_from_path
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x1, [x0]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xstrfmt
	mov	x20, x0
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	x1, x20
	bl	_repo_config_get_string_const
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	str	x8, [sp, #8]
LBB0_3:
	mov	x0, x20
	bl	_free
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_13
; %bb.4:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_14
; %bb.5:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_resolve_ref_unsafe
	mov	x20, x0
	str	x0, [sp]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_die
LBB0_7:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.8:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	ldr	x1, [x19]
	bl	_die
LBB0_9:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, sp
	mov	x0, x20
	bl	_skip_prefix
	cbnz	w0, LBB0_11
; %bb.10:
Lloh20:
	adrp	x0, l_.str.7@PAGE
Lloh21:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	ldr	x1, [sp]
	bl	_die
LBB0_11:
	ldr	x20, [sp]
	b	LBB0_14
LBB0_12:
	mov	x20, #0
	b	LBB0_14
LBB0_13:
Lloh22:
	adrp	x20, l_.str.1@PAGE
Lloh23:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_null_oid,4,2                   ; @null_oid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule.%s.branch"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"HEAD"

l_.str.4:                               ; @.str.4
	.asciz	"No such ref: %s"

l_.str.5:                               ; @.str.5
	.asciz	"Submodule (%s) branch configured to inherit branch from superproject, but the superproject is not on any branch"

l_.str.6:                               ; @.str.6
	.asciz	"refs/heads/"

l_.str.7:                               ; @.str.7
	.asciz	"Expecting a full ref name, got %s"

	.no_dead_strip	_remote_submodule_branch
.subsections_via_symbols
