	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_config
_module_config:                         ## @module_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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$0, -100(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	leaq	L_.str(%rip), %rsi
	leaq	-100(%rbp), %rbx
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movl	$1, %r8d
	callq	_OPT_CMDMODE
	movl	%eax, -56(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movl	$2, %r8d
	callq	_OPT_CMDMODE
	movl	%eax, -52(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -48(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	movq	%rax, -96(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movq	%rax, -88(%rbp)
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	movq	%rax, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	_PARSE_OPT_KEEP_ARGV0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-56(%rbp), %rcx
	leaq	-96(%rbp), %r8
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_parse_options
	movl	-100(%rbp), %ecx
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_is_writing_gitmodules_ok
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
	jmp	LBB0_16
LBB0_3:
	cmpl	$2, %eax
	jne	LBB0_6
## %bb.4:
	cmpl	$2, %ecx
	je	LBB0_6
## %bb.5:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_print_config_from_gitmodules
	jmp	LBB0_15
LBB0_6:
	movl	%eax, %edx
	xorl	$2, %edx
	xorl	$2, %ecx
	orl	%edx, %ecx
	sete	%cl
	cmpl	$3, %eax
	je	LBB0_9
## %bb.7:
	testb	%cl, %cl
	jne	LBB0_9
## %bb.8:
	leaq	-96(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_usage_with_options
                                        ## implicit-def: $ebx
	jmp	LBB0_16
LBB0_9:
	cmpl	$3, %eax
	jne	LBB0_11
## %bb.10:
	movq	16(%r14), %rbx
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	xorl	%eax, %eax
	callq	_is_writing_gitmodules_ok
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_14:
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_config_set_in_gitmodules_file_gently
LBB0_15:
	movl	%eax, %ebx
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"check-writeable"

L_.str.1:                               ## @.str.1
	.asciz	"check if it is safe to write to the .gitmodules file"

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

L_.str.3:                               ## @.str.3
	.asciz	"unset the config in the .gitmodules file"

L_.str.4:                               ## @.str.4
	.asciz	"git submodule--helper config <name> [<value>]"

L_.str.5:                               ## @.str.5
	.asciz	"git submodule--helper config --unset <name>"

L_.str.6:                               ## @.str.6
	.asciz	"git submodule--helper config --check-writeable"

	.comm	_PARSE_OPT_KEEP_ARGV0,4,2       ## @PARSE_OPT_KEEP_ARGV0
	.comm	_the_repository,4,2             ## @the_repository
L_.str.7:                               ## @.str.7
	.asciz	"please make sure that the .gitmodules file is in the working tree"

	.no_dead_strip	_module_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_config
_module_config:                         ; @module_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	wzr, [sp, #4]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	mov	w0, #0
	mov	w4, #1
	bl	_OPT_CMDMODE
	str	w0, [sp, #40]
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	mov	w0, #0
	mov	w4, #2
	bl	_OPT_CMDMODE
	str	w0, [sp, #44]
	bl	_OPT_END
	str	w0, [sp, #48]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	str	x0, [sp, #8]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	str	x0, [sp, #16]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_N_
	stp	x0, xzr, [sp, #24]
Lloh17:
	adrp	x8, _PARSE_OPT_KEEP_ARGV0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PARSE_OPT_KEEP_ARGV0@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	add	x3, sp, #40
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_parse_options
	ldr	w8, [sp, #4]
	cmp	w0, #1
	ccmp	w8, #1, #0, eq
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #2
	ccmp	w8, #2, #4, eq
	b.ne	LBB0_6
; %bb.2:
	cmp	w0, #2
	ccmp	w8, #2, #0, eq
	cset	w8, eq
	cmp	w0, #3
	b.eq	LBB0_7
; %bb.3:
	cbnz	w8, LBB0_7
; %bb.4:
	add	x0, sp, #8
	add	x1, sp, #40
	bl	_usage_with_options
                                        ; implicit-def: $w0
	b	LBB0_12
LBB0_5:
	bl	_is_writing_gitmodules_ok
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_12
LBB0_6:
Lloh20:
	adrp	x8, _the_repository@GOTPAGE
Lloh21:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_print_config_from_gitmodules
	b	LBB0_12
LBB0_7:
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.8:
	ldr	x20, [x19, #16]
	bl	_is_writing_gitmodules_ok
	cbnz	x0, LBB0_11
	b	LBB0_10
LBB0_9:
	mov	x20, #0
	bl	_is_writing_gitmodules_ok
	cbnz	x0, LBB0_11
LBB0_10:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	bl	_die
LBB0_11:
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_config_set_in_gitmodules_file_gently
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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
	add	sp, sp, #112
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"check-writeable"

l_.str.1:                               ; @.str.1
	.asciz	"check if it is safe to write to the .gitmodules file"

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

l_.str.3:                               ; @.str.3
	.asciz	"unset the config in the .gitmodules file"

l_.str.4:                               ; @.str.4
	.asciz	"git submodule--helper config <name> [<value>]"

l_.str.5:                               ; @.str.5
	.asciz	"git submodule--helper config --unset <name>"

l_.str.6:                               ; @.str.6
	.asciz	"git submodule--helper config --check-writeable"

	.comm	_PARSE_OPT_KEEP_ARGV0,4,2       ; @PARSE_OPT_KEEP_ARGV0
	.comm	_the_repository,4,2             ; @the_repository
l_.str.7:                               ; @.str.7
	.asciz	"please make sure that the .gitmodules file is in the working tree"

	.no_dead_strip	_module_config
.subsections_via_symbols
