	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__submodule_config          ## -- Begin function cmd__submodule_config
	.p2align	4, 0x90
_cmd__submodule_config:                 ## @cmd__submodule_config
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	leaq	8(%rsi), %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leal	-1(%rdi), %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	movl	$1, %eax
	cmovel	%eax, %r14d
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	movl	$1, %eax
	cmovel	%eax, %r12d
	decl	%r13d
	movq	8(%r15), %rdi
	addq	$8, %r15
	testq	%rdi, %rdi
	jne	LBB0_3
LBB0_5:
	testb	$1, %r13b
	je	LBB0_7
LBB0_6:
	leaq	L_.str.3(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_die_usage
LBB0_7:
	xorl	%eax, %eax
	callq	_setup_git_directory
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.8:
	testl	%r14d, %r14d
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	$16, %r15
	leaq	-64(%rbp), %rbx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
	shlq	$4, %rax
	movq	(%rbx,%rax), %rsi
	movq	8(%rbx), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_printf
	movq	(%r15), %rdi
	addq	$16, %r15
	testq	%rdi, %rdi
	leaq	-64(%rbp), %rbx
	je	LBB0_19
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r15), %r13
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rsi
	callq	_get_oid
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	callq	_die_usage
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_oidclr
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_submodule_from_name
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_submodule_from_path
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdx
	callq	_die_usage
	jmp	LBB0_18
LBB0_19:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_submodule_free
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	testb	$1, %r13b
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

L_.str.1:                               ## @.str.1
	.asciz	"--url"

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

L_.str.3:                               ## @.str.3
	.asciz	"Wrong number of arguments."

L_.str.4:                               ## @.str.4
	.asciz	"Commit not found."

	.comm	_the_repository,4,2             ## @the_repository
L_.str.5:                               ## @.str.5
	.asciz	"Submodule not found."

L_.str.6:                               ## @.str.6
	.asciz	"Submodule url: '%s' for path '%s'\n"

L_.str.7:                               ## @.str.7
	.asciz	"Submodule name: '%s' for path '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__submodule_config          ; -- Begin function cmd__submodule_config
	.p2align	2
_cmd__submodule_config:                 ; @cmd__submodule_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x27, x1
	ldr	x0, [x27, #8]!
	sub	w28, w20, #1
	cbz	x0, LBB0_18
; %bb.1:
	mov	w26, #0
	mov	w25, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	bl	_starts_with
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x24, [x27]
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cmp	w0, #0
	csinc	w25, w25, wzr, ne
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cmp	w0, #0
	csinc	w26, w26, wzr, ne
	ldr	x0, [x27, #8]!
	sub	w28, w28, #1
	cbnz	x0, LBB0_2
LBB0_4:
	tbz	w28, #0, LBB0_6
LBB0_5:
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_die_usage
LBB0_6:
	bl	_setup_git_directory
	ldr	x0, [x27]
Lloh8:
	adrp	x28, _the_repository@GOTPAGE
Lloh9:
	ldr	x28, [x28, _the_repository@GOTPAGEOFF]
	cbz	x0, LBB0_17
; %bb.7:
Lloh10:
	adrp	x8, l_.str.6@PAGE
Lloh11:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh12:
	adrp	x9, l_.str.7@PAGE
Lloh13:
	add	x9, x9, l_.str.7@PAGEOFF
	cmp	w25, #0
	csel	x21, x9, x8, eq
	add	x27, x27, #16
Lloh14:
	adrp	x22, l_.str.5@PAGE
Lloh15:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh16:
	adrp	x23, l_.str.4@PAGE
Lloh17:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	w25, #0
	cset	w8, eq
	lsl	x8, x8, #4
	ldr	x1, [x24, x8]
	ldr	x2, [x24, #8]
	mov	x0, x21
	bl	_printf
	ldr	x0, [x27], #16
	cbz	x0, LBB0_17
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x24, [x27, #-8]
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x1, sp, #8
	bl	_get_oid
	tbz	x0, #63, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_die_usage
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #8
	bl	_oidclr
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #8
	mov	x2, x24
	cbz	w26, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_submodule_from_name
	mov	x24, x0
	cbnz	x0, LBB0_8
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_submodule_from_path
	mov	x24, x0
	cbnz	x0, LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_die_usage
	b	LBB0_8
LBB0_17:
	ldr	w0, [x28]
	bl	_submodule_free
	mov	w0, #0
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_18:
	mov	w25, #0
	mov	w26, #0
	tbnz	w28, #0, LBB0_5
	b	LBB0_6
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

l_.str.1:                               ; @.str.1
	.asciz	"--url"

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

l_.str.3:                               ; @.str.3
	.asciz	"Wrong number of arguments."

l_.str.4:                               ; @.str.4
	.asciz	"Commit not found."

	.comm	_the_repository,4,2             ; @the_repository
l_.str.5:                               ; @.str.5
	.asciz	"Submodule not found."

l_.str.6:                               ; @.str.6
	.asciz	"Submodule url: '%s' for path '%s'\n"

l_.str.7:                               ; @.str.7
	.asciz	"Submodule name: '%s' for path '%s'\n"

.subsections_via_symbols
