	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_possible_alternates
_prepare_possible_alternates:           ## @prepare_possible_alternates
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movq	_SUBMODULE_ALTERNATE_SETUP_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsi
	callq	_git_config_get_string
	cmpq	$0, -40(%rbp)
	je	LBB0_16
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	leaq	-32(%rbp), %rsi
	callq	_git_config_get_string
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
LBB0_3:
	movq	%r15, -64(%rbp)
	movq	%r14, -48(%rbp)
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	-32(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_11
LBB0_4:
	movq	_SUBMODULE_ALTERNATE_ERROR_DIE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_SUBMODULE_ALTERNATE_ERROR_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	_SUBMODULE_ALTERNATE_ERROR_IGNORE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
LBB0_11:
	movq	-40(%rbp), %rbx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_15
LBB0_12:
	movq	_add_possible_reference_from_superproject@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_foreach_alt_odb
LBB0_15:
	movq	-40(%rbp), %rdi
	callq	_free
	movq	-32(%rbp), %rdi
	callq	_free
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBMODULE_ALTERNATE_SETUP_INIT,24,3 ## @SUBMODULE_ALTERNATE_SETUP_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule.alternateLocation"

L_.str.1:                               ## @.str.1
	.asciz	"submodule.alternateErrorStrategy"

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

	.comm	_SUBMODULE_ALTERNATE_ERROR_DIE,4,2 ## @SUBMODULE_ALTERNATE_ERROR_DIE
L_.str.3:                               ## @.str.3
	.asciz	"info"

	.comm	_SUBMODULE_ALTERNATE_ERROR_INFO,4,2 ## @SUBMODULE_ALTERNATE_ERROR_INFO
L_.str.4:                               ## @.str.4
	.asciz	"ignore"

	.comm	_SUBMODULE_ALTERNATE_ERROR_IGNORE,4,2 ## @SUBMODULE_ALTERNATE_ERROR_IGNORE
L_.str.5:                               ## @.str.5
	.asciz	"Value '%s' for submodule.alternateErrorStrategy is not recognized"

L_.str.6:                               ## @.str.6
	.asciz	"superproject"

	.comm	_add_possible_reference_from_superproject,4,2 ## @add_possible_reference_from_superproject
L_.str.7:                               ## @.str.7
	.asciz	"no"

L_.str.8:                               ## @.str.8
	.asciz	"Value '%s' for submodule.alternateLocation is not recognized"

	.no_dead_strip	_prepare_possible_alternates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_possible_alternates
_prepare_possible_alternates:           ; @prepare_possible_alternates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #32]
Lloh0:
	adrp	x8, _SUBMODULE_ALTERNATE_SETUP_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUBMODULE_ALTERNATE_SETUP_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #40
	bl	_git_config_get_string
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_16
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #32
	bl	_git_config_get_string
	ldr	x21, [sp, #32]
	cbnz	x21, LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xstrdup
	mov	x21, x0
	str	x0, [sp, #32]
LBB0_3:
	str	x20, [sp]
	str	x19, [sp, #16]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.4:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.5:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.6:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	ldr	x1, [sp, #32]
	bl	_die
	b	LBB0_11
LBB0_7:
Lloh17:
	adrp	x8, _SUBMODULE_ALTERNATE_ERROR_DIE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SUBMODULE_ALTERNATE_ERROR_DIE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh19:
	adrp	x8, _SUBMODULE_ALTERNATE_ERROR_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SUBMODULE_ALTERNATE_ERROR_INFO@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh21:
	adrp	x8, _SUBMODULE_ALTERNATE_ERROR_IGNORE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SUBMODULE_ALTERNATE_ERROR_IGNORE@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [sp, #8]
LBB0_11:
	ldr	x19, [sp, #40]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.12:
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.13:
Lloh27:
	adrp	x0, l_.str.8@PAGE
Lloh28:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	ldr	x1, [sp, #40]
	bl	_die
	b	LBB0_15
LBB0_14:
Lloh29:
	adrp	x8, _add_possible_reference_from_superproject@GOTPAGE
Lloh30:
	ldr	x8, [x8, _add_possible_reference_from_superproject@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_foreach_alt_odb
LBB0_15:
	ldr	x0, [sp, #40]
	bl	_free
	ldr	x0, [sp, #32]
	bl	_free
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBMODULE_ALTERNATE_SETUP_INIT,24,3 ; @SUBMODULE_ALTERNATE_SETUP_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule.alternateLocation"

l_.str.1:                               ; @.str.1
	.asciz	"submodule.alternateErrorStrategy"

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

	.comm	_SUBMODULE_ALTERNATE_ERROR_DIE,4,2 ; @SUBMODULE_ALTERNATE_ERROR_DIE
l_.str.3:                               ; @.str.3
	.asciz	"info"

	.comm	_SUBMODULE_ALTERNATE_ERROR_INFO,4,2 ; @SUBMODULE_ALTERNATE_ERROR_INFO
l_.str.4:                               ; @.str.4
	.asciz	"ignore"

	.comm	_SUBMODULE_ALTERNATE_ERROR_IGNORE,4,2 ; @SUBMODULE_ALTERNATE_ERROR_IGNORE
l_.str.5:                               ; @.str.5
	.asciz	"Value '%s' for submodule.alternateErrorStrategy is not recognized"

l_.str.6:                               ; @.str.6
	.asciz	"superproject"

	.comm	_add_possible_reference_from_superproject,4,2 ; @add_possible_reference_from_superproject
l_.str.7:                               ; @.str.7
	.asciz	"no"

l_.str.8:                               ; @.str.8
	.asciz	"Value '%s' for submodule.alternateLocation is not recognized"

	.no_dead_strip	_prepare_possible_alternates
.subsections_via_symbols
