	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deinit_submodule
_deinit_submodule:                      ## @deinit_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -72(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_xstrfmt
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_null_oid@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_submodule_from_path
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %r13
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_submodule_displaypath
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_is_directory
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	(%r14), %rax
	movq	%rax, -88(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_is_directory
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_die
LBB0_5:
	movq	_OPT_FORCE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)
	movl	$1, -56(%rbp)
	leaq	-52(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%eax, %eax
	callq	_argv_array_pushl
	leaq	-56(%rbp), %rdi
	callq	_run_command
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_die
LBB0_8:
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_remove_dir_recursively
	testl	%eax, %eax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	__
	movq	_OPT_QUIET@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_10:
	movq	%r13, %rdi
	callq	_submodule_unset_core_worktree
	leaq	-88(%rbp), %rdi
	callq	_strbuf_release
LBB0_11:
	movq	%rbx, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_mkdir
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_13:
	movl	$1, -72(%rbp)
	leaq	-68(%rbp), %rbx
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.9(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_argv_array_pushl
	movq	(%r13), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_argv_array_pushf
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	xorl	%edx, %edx
	callq	_capture_command
	testl	%eax, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_20
## %bb.14:
	cmpq	$0, -64(%rbp)
	je	LBB0_20
## %bb.15:
	movq	(%r13), %rsi
	leaq	L_.str.11(%rip), %rdi
	callq	_xstrfmt
	movq	%rax, %r14
	xorl	%edi, %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_git_config_rename_section_in_file
	movq	_OPT_QUIET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	movq	%rax, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_17:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_20
LBB0_19:
	xorl	%r12d, %r12d
LBB0_20:
	movq	%r12, %rdi
	callq	_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,8,2         ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/.git"

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_null_oid,4,2                   ## @null_oid
L_.str.1:                               ## @.str.1
	.asciz	"Submodule work tree '%s' contains a .git directory (use 'rm -rf' if you really want to remove it including all of its history)"

	.comm	_OPT_FORCE,4,2                  ## @OPT_FORCE
L_.str.2:                               ## @.str.2
	.asciz	"rm"

L_.str.3:                               ## @.str.3
	.asciz	"-qn"

L_.str.4:                               ## @.str.4
	.asciz	"Submodule work tree '%s' contains local modifications; use '-f' to discard them"

L_.str.5:                               ## @.str.5
	.asciz	"Cleared directory '%s'\n"

L_.str.6:                               ## @.str.6
	.asciz	"Could not remove submodule work tree '%s'\n"

	.comm	_OPT_QUIET,4,2                  ## @OPT_QUIET
L_.str.7:                               ## @.str.7
	.asciz	"could not create empty submodule directory %s"

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

L_.str.9:                               ## @.str.9
	.asciz	"--get-regexp"

L_.str.10:                              ## @.str.10
	.asciz	"submodule.%s\\."

L_.str.11:                              ## @.str.11
	.asciz	"submodule.%s"

L_.str.12:                              ## @.str.12
	.asciz	"Submodule '%s' (%s) unregistered for path '%s'\n"

	.no_dead_strip	_deinit_submodule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deinit_submodule
_deinit_submodule:                      ; @deinit_submodule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [sp, #40]
Lloh2:
	adrp	x26, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _STRBUF_INIT@GOTPAGEOFF]
	ldr	x8, [x26]
	str	x8, [sp, #32]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_xstrfmt
	mov	x19, x0
Lloh6:
	adrp	x8, _the_repository@GOTPAGE
Lloh7:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, _null_oid@GOTPAGE
Lloh10:
	ldr	x1, [x1, _null_oid@GOTPAGEOFF]
	mov	x2, x23
	bl	_submodule_from_path
	cbz	x0, LBB0_18
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_18
; %bb.2:
	mov	x0, x23
	mov	x1, x20
	bl	_get_submodule_displaypath
	mov	x20, x0
	mov	x0, x23
	bl	_is_directory
Lloh11:
	adrp	x24, _OPT_QUIET@GOTPAGE
Lloh12:
	ldr	x24, [x24, _OPT_QUIET@GOTPAGEOFF]
	cbz	x0, LBB0_11
; %bb.3:
	ldr	x8, [x26]
	str	x8, [sp, #24]
	mov	x0, x19
	bl	_is_directory
	cbz	x0, LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_5:
Lloh15:
	adrp	x8, _OPT_FORCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OPT_FORCE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x25]
	str	x8, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #16]
	add	x8, sp, #16
	orr	x0, x8, #0x4
	str	xzr, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x23
	bl	_argv_array_pushl
	add	x0, sp, #16
	bl	_run_command
	cbz	x0, LBB0_8
; %bb.7:
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_8:
	add	x0, sp, #24
	mov	x1, x23
	bl	_strbuf_addstr
	add	x0, sp, #24
	mov	w1, #0
	bl	_remove_dir_recursively
Lloh24:
	adrp	x8, l_.str.6@PAGE
Lloh25:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh26:
	adrp	x9, l_.str.5@PAGE
Lloh27:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w0, #0
	csel	x0, x9, x8, eq
	bl	__
	ldr	w8, [x24]
	tst	w8, w21
	b.ne	LBB0_10
; %bb.9:
	mov	x1, x20
	bl	_printf
LBB0_10:
	mov	x0, x22
	bl	_submodule_unset_core_worktree
	add	x0, sp, #24
	bl	_strbuf_release
LBB0_11:
	mov	x0, x23
	mov	w1, #511
	bl	_mkdir
	cbz	x0, LBB0_13
; %bb.12:
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_printf
LBB0_13:
	mov	w8, #1
	str	w8, [sp, #40]
	add	x8, sp, #40
	orr	x23, x8, #0x4
Lloh30:
	adrp	x1, l_.str.8@PAGE
Lloh31:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh32:
	adrp	x2, l_.str.9@PAGE
Lloh33:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x23
	mov	x3, #0
	bl	_argv_array_pushl
	ldr	x2, [x22]
Lloh34:
	adrp	x1, l_.str.10@PAGE
Lloh35:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x23
	bl	_argv_array_pushf
	add	x0, sp, #40
	add	x1, sp, #32
	mov	w2, #0
	bl	_capture_command
	cbnz	w0, LBB0_19
; %bb.14:
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_19
; %bb.15:
	ldr	x1, [x22]
Lloh36:
	adrp	x0, l_.str.11@PAGE
Lloh37:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_xstrfmt
	mov	x23, x0
	mov	x0, #0
	mov	x1, x23
	mov	x2, #0
	bl	_git_config_rename_section_in_file
	ldr	w8, [x24]
	tst	w8, w21
	b.ne	LBB0_17
; %bb.16:
Lloh38:
	adrp	x0, l_.str.12@PAGE
Lloh39:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	ldp	x1, x8, [x22]
	stp	x8, x20, [sp]
	bl	_printf
LBB0_17:
	mov	x0, x23
	bl	_free
	b	LBB0_19
LBB0_18:
	mov	x20, #0
LBB0_19:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	add	x0, sp, #32
	bl	_strbuf_release
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,8,2         ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/.git"

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_null_oid,4,2                   ; @null_oid
l_.str.1:                               ; @.str.1
	.asciz	"Submodule work tree '%s' contains a .git directory (use 'rm -rf' if you really want to remove it including all of its history)"

	.comm	_OPT_FORCE,4,2                  ; @OPT_FORCE
l_.str.2:                               ; @.str.2
	.asciz	"rm"

l_.str.3:                               ; @.str.3
	.asciz	"-qn"

l_.str.4:                               ; @.str.4
	.asciz	"Submodule work tree '%s' contains local modifications; use '-f' to discard them"

l_.str.5:                               ; @.str.5
	.asciz	"Cleared directory '%s'\n"

l_.str.6:                               ; @.str.6
	.asciz	"Could not remove submodule work tree '%s'\n"

	.comm	_OPT_QUIET,4,2                  ; @OPT_QUIET
l_.str.7:                               ; @.str.7
	.asciz	"could not create empty submodule directory %s"

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

l_.str.9:                               ; @.str.9
	.asciz	"--get-regexp"

l_.str.10:                              ; @.str.10
	.asciz	"submodule.%s\\."

l_.str.11:                              ; @.str.11
	.asciz	"submodule.%s"

l_.str.12:                              ; @.str.12
	.asciz	"Submodule '%s' (%s) unregistered for path '%s'\n"

	.no_dead_strip	_deinit_submodule
.subsections_via_symbols
