	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_submodule
_init_submodule:                        ## @init_submodule
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	callq	_get_submodule_displaypath
	movq	%rax, %r14
	movq	_the_repository@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_null_oid@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_submodule_from_path
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_die
LBB0_2:
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_is_submodule_active
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addf
	movl	-48(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_git_config_set_gently
	movq	%rbx, %rdi
	callq	_strbuf_reset
LBB0_4:
	movq	(%r12), %rdx
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strbuf_addf
	movl	-48(%rbp), %edi
	leaq	-56(%rbp), %rsi
	callq	_git_config_get_string
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_die
	movq	8(%r12), %rdi
LBB0_7:
	callq	_xstrdup
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_starts_with_dot_dot_slash
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi
	callq	_starts_with_dot_slash
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	movq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_compute_submodule_clone_url
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_free
LBB0_10:
	movl	-48(%rbp), %edi
	movq	-56(%rbp), %rsi
	callq	_git_config_set_gently
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_die
LBB0_12:
	movq	_OPT_QUIET@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	(%r12), %rdx
	movq	-56(%rbp), %rcx
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_reset
	movq	(%r12), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strbuf_addf
	movl	-48(%rbp), %edi
	leaq	-64(%rbp), %rsi
	callq	_git_config_get_string
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	16(%r12), %rax
	movq	_SM_UPDATE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.16:
	movq	_SM_UPDATE_COMMAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	(%r12), %rdx
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_19
LBB0_18:
	addq	$16, %r12
	movq	%r12, %rdi
	callq	_submodule_strategy_to_string
	movq	%rax, %rdi
LBB0_19:
	callq	_xstrdup
	movq	%rax, -64(%rbp)
	movl	-48(%rbp), %edi
	movq	%rax, %rsi
	callq	_git_config_set_gently
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_die
LBB0_21:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	%r14, %rdi
	callq	_free
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_null_oid,4,2                   ## @null_oid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No url found for submodule path '%s' in .gitmodules"

L_.str.1:                               ## @.str.1
	.asciz	"submodule.%s.active"

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

L_.str.3:                               ## @.str.3
	.asciz	"submodule.%s.url"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to register url for submodule path '%s'"

	.comm	_OPT_QUIET,4,2                  ## @OPT_QUIET
	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"Submodule '%s' (%s) registered for path '%s'\n"

L_.str.6:                               ## @.str.6
	.asciz	"submodule.%s.update"

	.comm	_SM_UPDATE_UNSPECIFIED,8,3      ## @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_COMMAND,8,3          ## @SM_UPDATE_COMMAND
L_.str.7:                               ## @.str.7
	.asciz	"warning: command update mode suggested for submodule '%s'\n"

L_.str.8:                               ## @.str.8
	.asciz	"none"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to register update mode for submodule path '%s'"

	.no_dead_strip	_init_submodule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_submodule
_init_submodule:                        ; @init_submodule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	bl	_get_submodule_displaypath
	mov	x19, x0
Lloh3:
	adrp	x23, _the_repository@GOTPAGE
Lloh4:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh5:
	adrp	x1, _null_oid@GOTPAGE
Lloh6:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	mov	x2, x22
	bl	_submodule_from_path
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_2:
	ldr	w0, [x23]
	mov	x1, x22
	bl	_is_submodule_active
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x2, [x20]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	ldr	w0, [sp, #40]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_git_config_set_gently
	add	x0, sp, #40
	bl	_strbuf_reset
LBB0_4:
	ldr	x2, [x20]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	ldr	w0, [sp, #40]
	add	x1, sp, #24
	bl	_git_config_get_string
	cbz	x0, LBB0_14
; %bb.5:
	ldr	x0, [x20, #8]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
	ldr	x0, [x20, #8]
LBB0_7:
	bl	_xstrdup
	str	x0, [sp, #24]
	bl	_starts_with_dot_dot_slash
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	x0, [sp, #24]
	bl	_starts_with_dot_slash
	cbz	x0, LBB0_10
LBB0_9:
	ldr	x22, [sp, #24]
	mov	x0, x22
	bl	_compute_submodule_clone_url
	str	x0, [sp, #24]
	mov	x0, x22
	bl	_free
LBB0_10:
	ldr	w0, [sp, #40]
	ldr	x1, [sp, #24]
	bl	_git_config_set_gently
	cbz	x0, LBB0_12
; %bb.11:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_12:
Lloh19:
	adrp	x8, _OPT_QUIET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OPT_QUIET@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_14
; %bb.13:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	x2, [x20]
	ldr	x8, [sp, #24]
	stp	x8, x19, [sp]
	mov	x0, x21
	bl	_fprintf
LBB0_14:
	add	x0, sp, #40
	bl	_strbuf_reset
	ldr	x2, [x20]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	ldr	w0, [sp, #40]
	add	x1, sp, #32
	bl	_git_config_get_string
	cbz	x0, LBB0_21
; %bb.15:
	mov	x0, x20
	ldr	x8, [x0, #16]!
Lloh29:
	adrp	x9, _SM_UPDATE_UNSPECIFIED@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SM_UPDATE_UNSPECIFIED@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.16:
Lloh32:
	adrp	x9, _SM_UPDATE_COMMAND@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SM_UPDATE_COMMAND@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w21, [x8]
Lloh38:
	adrp	x0, l_.str.7@PAGE
Lloh39:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x1, x0
	ldr	x2, [x20]
	mov	x0, x21
	bl	_fprintf
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_19
LBB0_18:
	bl	_submodule_strategy_to_string
LBB0_19:
	bl	_xstrdup
	mov	x1, x0
	str	x0, [sp, #32]
	ldr	w0, [sp, #40]
	bl	_git_config_set_gently
	cbz	x0, LBB0_21
; %bb.20:
Lloh42:
	adrp	x0, l_.str.9@PAGE
Lloh43:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_21:
	add	x0, sp, #40
	bl	_strbuf_release
	mov	x0, x19
	bl	_free
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #32]
	bl	_free
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_null_oid,4,2                   ; @null_oid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No url found for submodule path '%s' in .gitmodules"

l_.str.1:                               ; @.str.1
	.asciz	"submodule.%s.active"

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

l_.str.3:                               ; @.str.3
	.asciz	"submodule.%s.url"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to register url for submodule path '%s'"

	.comm	_OPT_QUIET,4,2                  ; @OPT_QUIET
	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"Submodule '%s' (%s) registered for path '%s'\n"

l_.str.6:                               ; @.str.6
	.asciz	"submodule.%s.update"

	.comm	_SM_UPDATE_UNSPECIFIED,8,3      ; @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_COMMAND,8,3          ; @SM_UPDATE_COMMAND
l_.str.7:                               ; @.str.7
	.asciz	"warning: command update mode suggested for submodule '%s'\n"

l_.str.8:                               ; @.str.8
	.asciz	"none"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to register update mode for submodule path '%s'"

	.no_dead_strip	_init_submodule
.subsections_via_symbols
