	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_clone
_module_clone:                          ## @module_clone
	.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	%r12
	pushq	%rbx
	subq	$160, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	%rdx, -184(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -176(%rbp)
	movl	$0, -132(%rbp)
	movl	$0, -128(%rbp)
	movq	$0, -104(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	_STRING_LIST_INIT_NODUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movl	$0, -124(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -152(%rbp)
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	leaq	L_.str(%rip), %rsi
	leaq	-184(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING
	movl	%eax, -80(%rbp)
	movq	%r12, %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	leaq	-104(%rbp), %rdx
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING
	movl	%eax, -76(%rbp)
	leaq	L_.str.5(%rip), %r12
	movq	%r12, %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	leaq	L_.str.4(%rip), %rsi
	leaq	-168(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING
	movl	%eax, -72(%rbp)
	movq	%r12, %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.8(%rip), %rdi
	callq	_N_
	leaq	L_.str.7(%rip), %rsi
	leaq	-144(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING
	movl	%eax, -68(%rbp)
	leaq	L_.str.10(%rip), %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.11(%rip), %rdi
	callq	_N_
	leaq	L_.str.9(%rip), %rsi
	leaq	-120(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING_LIST
	movl	%eax, -64(%rbp)
	leaq	L_.str.13(%rip), %rdi
	callq	_N_
	leaq	L_.str.12(%rip), %rsi
	leaq	-124(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rax, %rcx
	callq	_OPT_BOOL
	movl	%eax, -60(%rbp)
	movq	%r12, %rdi
	callq	_N_
	movq	%rax, %rbx
	leaq	L_.str.15(%rip), %rdi
	callq	_N_
	leaq	L_.str.14(%rip), %rsi
	leaq	-176(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_OPT_STRING
	movl	%eax, -56(%rbp)
	leaq	L_.str.16(%rip), %rsi
	leaq	-132(%rbp), %rdi
	callq	_OPT__QUIET
	movl	%eax, -52(%rbp)
	leaq	L_.str.18(%rip), %rdi
	callq	_N_
	leaq	L_.str.17(%rip), %rsi
	leaq	-128(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rax, %rcx
	callq	_OPT_BOOL
	movl	%eax, -48(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -44(%rbp)
	leaq	L_.str.19(%rip), %rdi
	callq	_N_
	movq	%rax, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	-184(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-96(%rbp), %r8
	movl	%r15d, %edi
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	callq	_parse_options
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, -144(%rbp)
	je	LBB0_4
## %bb.2:
	movq	-104(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpb	$0, (%rax)
	jne	LBB0_5
LBB0_4:
	leaq	-96(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_5:
	xorl	%eax, %eax
	callq	_get_git_dir
	movslq	%eax, %rdx
	movq	-168(%rbp), %rcx
	leaq	L_.str.20(%rip), %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	movl	-112(%rbp), %edi
	callq	_absolute_pathdup
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strbuf_reset
	movq	-104(%rbp), %rdi
	callq	_is_absolute_path
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	-104(%rbp), %rdi
	callq	_xstrdup
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	callq	_get_git_work_tree
	movslq	%eax, %rdx
	movq	-104(%rbp), %rcx
	leaq	L_.str.21(%rip), %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
LBB0_8:
	movq	%rax, -104(%rbp)
	movq	%r14, %rdi
	callq	_file_exists
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:
	movq	-104(%rbp), %rdi
	callq	_safe_create_leading_directories_const
	testq	%rax, %rax
	jns	LBB0_15
## %bb.14:
	leaq	L_.str.22(%rip), %rdi
	callq	__
	movq	-104(%rbp), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_15:
	leaq	L_.str.24(%rip), %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_strbuf_addf
	movl	-112(%rbp), %edi
	callq	_unlink_or_warn
	movq	%rbx, %rdi
	callq	_strbuf_reset
	jmp	LBB0_16
LBB0_9:
	movq	%r14, %rdi
	callq	_safe_create_leading_directories_const
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	leaq	L_.str.22(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_11:
	movq	-168(%rbp), %rdi
	leaq	-120(%rbp), %r15
	movq	%r15, %rsi
	callq	_prepare_possible_alternates
	movq	-104(%rbp), %rdi
	movq	-144(%rbp), %rdx
	movq	-176(%rbp), %rcx
	movl	-124(%rbp), %r9d
	movl	-132(%rbp), %eax
	movl	-128(%rbp), %ebx
	movq	%r14, %rsi
	movq	%r15, %r8
	pushq	%rbx
	pushq	%rax
	callq	_clone_submodule
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	leaq	L_.str.23(%rip), %rdi
	callq	__
	movq	-144(%rbp), %rsi
	movq	-104(%rbp), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_16:
	movq	-104(%rbp), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_connect_work_tree_and_git_dir
	movq	-104(%rbp), %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_git_pathdup_submodule
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.26(%rip), %rdi
	callq	__
	movq	-104(%rbp), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_18:
	leaq	L_.str.27(%rip), %rdi
	leaq	-160(%rbp), %rsi
	callq	_git_config_get_string
	movq	-160(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.19:
	leaq	L_.str.27(%rip), %rsi
	movq	%rbx, %rdi
	callq	_git_config_set_in_file
LBB0_20:
	leaq	L_.str.28(%rip), %rdi
	leaq	-152(%rbp), %rsi
	callq	_git_config_get_string
	movq	-152(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.21:
	leaq	L_.str.28(%rip), %rsi
	movq	%rbx, %rdi
	callq	_git_config_set_in_file
LBB0_22:
	movq	-160(%rbp), %rdi
	callq	_free
	movq	-152(%rbp), %rdi
	callq	_free
	leaq	-112(%rbp), %rdi
	callq	_strbuf_release
	movq	%r14, %rdi
	callq	_free
	movq	-104(%rbp), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	addq	$160, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_STRING_LIST_INIT_NODUP,4,2     ## @STRING_LIST_INIT_NODUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prefix"

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

L_.str.2:                               ## @.str.2
	.asciz	"alternative anchor for relative paths"

L_.str.3:                               ## @.str.3
	.asciz	"where the new submodule will be cloned to"

L_.str.4:                               ## @.str.4
	.asciz	"name"

L_.str.5:                               ## @.str.5
	.asciz	"string"

L_.str.6:                               ## @.str.6
	.asciz	"name of the new submodule"

L_.str.7:                               ## @.str.7
	.asciz	"url"

L_.str.8:                               ## @.str.8
	.asciz	"url where to clone the submodule from"

L_.str.9:                               ## @.str.9
	.asciz	"reference"

L_.str.10:                              ## @.str.10
	.asciz	"repo"

L_.str.11:                              ## @.str.11
	.asciz	"reference repository"

L_.str.12:                              ## @.str.12
	.asciz	"dissociate"

L_.str.13:                              ## @.str.13
	.asciz	"use --reference only while cloning"

L_.str.14:                              ## @.str.14
	.asciz	"depth"

L_.str.15:                              ## @.str.15
	.asciz	"depth for shallow clones"

L_.str.16:                              ## @.str.16
	.asciz	"Suppress output for cloning a submodule"

L_.str.17:                              ## @.str.17
	.asciz	"progress"

L_.str.18:                              ## @.str.18
	.asciz	"force cloning progress"

L_.str.19:                              ## @.str.19
	.asciz	"git submodule--helper clone [--prefix=<path>] [--quiet] [--reference <repository>] [--name <name>] [--depth <depth>] --url <url> --path <path>"

L_.str.20:                              ## @.str.20
	.asciz	"%s/modules/%s"

L_.str.21:                              ## @.str.21
	.asciz	"%s/%s"

L_.str.22:                              ## @.str.22
	.asciz	"could not create directory '%s'"

L_.str.23:                              ## @.str.23
	.asciz	"clone of '%s' into submodule path '%s' failed"

L_.str.24:                              ## @.str.24
	.asciz	"%s/index"

L_.str.25:                              ## @.str.25
	.asciz	"config"

L_.str.26:                              ## @.str.26
	.asciz	"could not get submodule directory for '%s'"

L_.str.27:                              ## @.str.27
	.asciz	"submodule.alternateLocation"

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

	.no_dead_strip	_module_clone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_clone
_module_clone:                          ; @module_clone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	stp	xzr, x2, [sp, #80]
	stp	xzr, xzr, [sp, #64]
	stp	xzr, xzr, [sp, #48]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _STRING_LIST_INIT_NODUP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STRING_LIST_INIT_NODUP@GOTPAGEOFF]
	str	w8, [sp, #40]
Lloh8:
	ldr	w8, [x9]
	stp	wzr, w8, [sp, #28]
	stp	xzr, xzr, [sp, #8]
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_N_
	mov	x22, x0
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #88
	mov	w0, #0
	mov	x3, x22
	bl	_OPT_STRING
	stur	w0, [x29, #-80]
	mov	x0, x21
	bl	_N_
	mov	x22, x0
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x4, x0
	add	x2, sp, #48
	mov	w0, #0
	mov	x1, x21
	mov	x3, x22
	bl	_OPT_STRING
	stur	w0, [x29, #-76]
Lloh17:
	adrp	x21, l_.str.5@PAGE
Lloh18:
	add	x21, x21, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_N_
	mov	x22, x0
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #80
	mov	w0, #0
	mov	x3, x22
	bl	_OPT_STRING
	stur	w0, [x29, #-72]
	mov	x0, x21
	bl	_N_
	mov	x22, x0
Lloh23:
	adrp	x0, l_.str.8@PAGE
Lloh24:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #72
	mov	w0, #0
	mov	x3, x22
	bl	_OPT_STRING
	stur	w0, [x29, #-68]
Lloh27:
	adrp	x0, l_.str.10@PAGE
Lloh28:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_N_
	mov	x22, x0
Lloh29:
	adrp	x0, l_.str.11@PAGE
Lloh30:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh31:
	adrp	x1, l_.str.9@PAGE
Lloh32:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #32
	mov	w0, #0
	mov	x3, x22
	bl	_OPT_STRING_LIST
	stur	w0, [x29, #-64]
Lloh33:
	adrp	x0, l_.str.13@PAGE
Lloh34:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #28
	mov	w0, #0
	bl	_OPT_BOOL
	stur	w0, [x29, #-60]
	mov	x0, x21
	bl	_N_
	mov	x21, x0
Lloh37:
	adrp	x0, l_.str.15@PAGE
Lloh38:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh39:
	adrp	x1, l_.str.14@PAGE
Lloh40:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x2, sp, #64
	mov	w0, #0
	mov	x3, x21
	bl	_OPT_STRING
	stur	w0, [x29, #-56]
Lloh41:
	adrp	x1, l_.str.16@PAGE
Lloh42:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #60
	bl	_OPT__QUIET
	stur	w0, [x29, #-52]
Lloh43:
	adrp	x0, l_.str.18@PAGE
Lloh44:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh45:
	adrp	x1, l_.str.17@PAGE
Lloh46:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x2, sp, #56
	mov	w0, #0
	bl	_OPT_BOOL
	stur	w0, [x29, #-48]
	bl	_OPT_END
	stur	w0, [x29, #-44]
Lloh47:
	adrp	x0, l_.str.19@PAGE
Lloh48:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_N_
	stp	x0, xzr, [sp, #96]
	ldr	x2, [sp, #88]
	sub	x3, x29, #80
	add	x4, sp, #96
	mov	x0, x20
	mov	x1, x19
	mov	w5, #0
	bl	_parse_options
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #72]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_4
; %bb.3:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_5
LBB0_4:
	add	x0, sp, #96
	sub	x1, x29, #80
	bl	_usage_with_options
LBB0_5:
	bl	_get_git_dir
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldr	x8, [sp, #80]
	str	x8, [sp]
Lloh49:
	adrp	x1, l_.str.20@PAGE
Lloh50:
	add	x1, x1, l_.str.20@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	ldr	w0, [sp, #40]
	bl	_absolute_pathdup
	mov	x19, x0
	add	x0, sp, #40
	bl	_strbuf_reset
	ldr	x0, [sp, #48]
	bl	_is_absolute_path
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x0, [sp, #48]
	bl	_xstrdup
	b	LBB0_8
LBB0_7:
	bl	_get_git_work_tree
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldr	x8, [sp, #48]
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.21@PAGE
Lloh52:
	add	x1, x1, l_.str.21@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	add	x0, sp, #40
	mov	x1, #0
	bl	_strbuf_detach
LBB0_8:
	str	x0, [sp, #48]
	mov	x0, x19
	bl	_file_exists
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x0, [sp, #48]
	bl	_safe_create_leading_directories_const
	tbz	x0, #63, LBB0_11
; %bb.10:
Lloh53:
	adrp	x0, l_.str.22@PAGE
Lloh54:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	__
	ldr	x1, [sp, #48]
	bl	_die
LBB0_11:
Lloh55:
	adrp	x1, l_.str.24@PAGE
Lloh56:
	add	x1, x1, l_.str.24@PAGEOFF
	add	x0, sp, #40
	mov	x2, x19
	bl	_strbuf_addf
	ldr	w0, [sp, #40]
	bl	_unlink_or_warn
	add	x0, sp, #40
	bl	_strbuf_reset
	b	LBB0_16
LBB0_12:
	mov	x0, x19
	bl	_safe_create_leading_directories_const
	tbz	x0, #63, LBB0_14
; %bb.13:
Lloh57:
	adrp	x0, l_.str.22@PAGE
Lloh58:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_14:
	ldr	x0, [sp, #80]
	add	x1, sp, #32
	bl	_prepare_possible_alternates
	ldr	x0, [sp, #48]
	ldp	x3, x2, [sp, #64]
	ldr	w5, [sp, #28]
	ldp	w7, w6, [sp, #56]
	add	x4, sp, #32
	mov	x1, x19
	bl	_clone_submodule
	cbz	x0, LBB0_16
; %bb.15:
Lloh59:
	adrp	x0, l_.str.23@PAGE
Lloh60:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	__
	ldr	x1, [sp, #72]
	ldr	x8, [sp, #48]
	str	x8, [sp]
	bl	_die
LBB0_16:
	ldr	x0, [sp, #48]
	mov	x1, x19
	mov	w2, #0
	bl	_connect_work_tree_and_git_dir
	ldr	x0, [sp, #48]
Lloh61:
	adrp	x1, l_.str.25@PAGE
Lloh62:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_git_pathdup_submodule
	mov	x20, x0
	cbnz	x0, LBB0_18
; %bb.17:
Lloh63:
	adrp	x0, l_.str.26@PAGE
Lloh64:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	__
	ldr	x1, [sp, #48]
	bl	_die
LBB0_18:
Lloh65:
	adrp	x0, l_.str.27@PAGE
Lloh66:
	add	x0, x0, l_.str.27@PAGEOFF
	add	x1, sp, #16
	bl	_git_config_get_string
	ldr	x2, [sp, #16]
	cbz	x2, LBB0_20
; %bb.19:
Lloh67:
	adrp	x1, l_.str.27@PAGE
Lloh68:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x20
	bl	_git_config_set_in_file
LBB0_20:
Lloh69:
	adrp	x0, l_.str.28@PAGE
Lloh70:
	add	x0, x0, l_.str.28@PAGEOFF
	add	x1, sp, #8
	bl	_git_config_get_string
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_22
; %bb.21:
Lloh71:
	adrp	x1, l_.str.28@PAGE
Lloh72:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x20
	bl	_git_config_set_in_file
LBB0_22:
	ldr	x0, [sp, #16]
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	add	x0, sp, #40
	bl	_strbuf_release
	mov	x0, x19
	bl	_free
	ldr	x0, [sp, #48]
	bl	_free
	mov	x0, x20
	bl	_free
	ldur	x8, [x29, #-40]
Lloh73:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh74:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	w0, #0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_STRING_LIST_INIT_NODUP,4,2     ; @STRING_LIST_INIT_NODUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prefix"

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

l_.str.2:                               ; @.str.2
	.asciz	"alternative anchor for relative paths"

l_.str.3:                               ; @.str.3
	.asciz	"where the new submodule will be cloned to"

l_.str.4:                               ; @.str.4
	.asciz	"name"

l_.str.5:                               ; @.str.5
	.asciz	"string"

l_.str.6:                               ; @.str.6
	.asciz	"name of the new submodule"

l_.str.7:                               ; @.str.7
	.asciz	"url"

l_.str.8:                               ; @.str.8
	.asciz	"url where to clone the submodule from"

l_.str.9:                               ; @.str.9
	.asciz	"reference"

l_.str.10:                              ; @.str.10
	.asciz	"repo"

l_.str.11:                              ; @.str.11
	.asciz	"reference repository"

l_.str.12:                              ; @.str.12
	.asciz	"dissociate"

l_.str.13:                              ; @.str.13
	.asciz	"use --reference only while cloning"

l_.str.14:                              ; @.str.14
	.asciz	"depth"

l_.str.15:                              ; @.str.15
	.asciz	"depth for shallow clones"

l_.str.16:                              ; @.str.16
	.asciz	"Suppress output for cloning a submodule"

l_.str.17:                              ; @.str.17
	.asciz	"progress"

l_.str.18:                              ; @.str.18
	.asciz	"force cloning progress"

l_.str.19:                              ; @.str.19
	.asciz	"git submodule--helper clone [--prefix=<path>] [--quiet] [--reference <repository>] [--name <name>] [--depth <depth>] --url <url> --path <path>"

l_.str.20:                              ; @.str.20
	.asciz	"%s/modules/%s"

l_.str.21:                              ; @.str.21
	.asciz	"%s/%s"

l_.str.22:                              ; @.str.22
	.asciz	"could not create directory '%s'"

l_.str.23:                              ; @.str.23
	.asciz	"clone of '%s' into submodule path '%s' failed"

l_.str.24:                              ; @.str.24
	.asciz	"%s/index"

l_.str.25:                              ; @.str.25
	.asciz	"config"

l_.str.26:                              ; @.str.26
	.asciz	"could not get submodule directory for '%s'"

l_.str.27:                              ; @.str.27
	.asciz	"submodule.alternateLocation"

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

	.no_dead_strip	_module_clone
.subsections_via_symbols
