	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_deinit
_module_deinit:                         ## @module_deinit
	.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	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_DEINIT_CB_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	_MODULE_LIST_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movl	$0, -96(%rbp)
	movl	$0, -92(%rbp)
	movl	$0, -84(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_N_
	leaq	-96(%rbp), %rdi
	movq	%rax, %rsi
	callq	_OPT__QUIET
	movl	%eax, -64(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	leaq	-92(%rbp), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_OPT__FORCE
	movl	%eax, -60(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	leaq	L_.str.2(%rip), %rsi
	leaq	-84(%rbp), %rdx
	xorl	%edi, %edi
	movq	%rax, %rcx
	callq	_OPT_BOOL
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -52(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	movq	%rax, -80(%rbp)
	movq	$0, -72(%rbp)
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	%eax, %ebx
	movl	-84(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	leaq	L_.str.5(%rip), %rdi
	callq	_error
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	movl	-84(%rbp), %eax
LBB0_3:
	orl	%ebx, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	leaq	-120(%rbp), %rcx
	leaq	-88(%rbp), %r8
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_module_list_compute
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%r12, -112(%rbp)
	cmpl	$0, -96(%rbp)
	je	LBB0_9
## %bb.8:
	movq	_OPT_QUIET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -104(%rbp)
LBB0_9:
	cmpl	$0, -92(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_OPT_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -104(%rbp)
LBB0_11:
	movq	_deinit_submodule_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	leaq	-112(%rbp), %rdx
	callq	_for_each_listed_submodule
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	movl	$1, %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DEINIT_CB_INIT,16,3            ## @DEINIT_CB_INIT
	.comm	_MODULE_LIST_INIT,4,2           ## @MODULE_LIST_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Suppress submodule status output"

L_.str.1:                               ## @.str.1
	.asciz	"Remove submodule working trees even if they contain local changes"

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

L_.str.3:                               ## @.str.3
	.asciz	"Unregister all submodules"

L_.str.4:                               ## @.str.4
	.asciz	"git submodule deinit [--quiet] [-f | --force] [--all | [--] [<path>...]]"

L_.str.5:                               ## @.str.5
	.asciz	"pathspec and --all are incompatible"

L_.str.6:                               ## @.str.6
	.asciz	"Use '--all' if you really want to deinitialize all submodules"

	.comm	_OPT_QUIET,4,2                  ## @OPT_QUIET
	.comm	_OPT_FORCE,4,2                  ## @OPT_FORCE
	.comm	_deinit_submodule_cb,4,2        ## @deinit_submodule_cb
	.no_dead_strip	_module_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_deinit
_module_deinit:                         ; @module_deinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x2
	mov	x20, 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]
Lloh3:
	adrp	x8, _DEINIT_CB_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEINIT_CB_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
Lloh6:
	adrp	x8, _MODULE_LIST_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODULE_LIST_INIT@GOTPAGEOFF]
	str	q0, [sp, #32]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
	add	x0, sp, #12
	bl	_OPT__QUIET
	stur	w0, [x29, #-56]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #0
	bl	_OPT__FORCE
	stur	w0, [x29, #-52]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #4
	mov	w0, #0
	bl	_OPT_BOOL
	stur	w0, [x29, #-48]
	bl	_OPT_END
	stur	w0, [x29, #-44]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	stp	x0, xzr, [sp, #56]
	sub	x3, x29, #56
	add	x4, sp, #56
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w5, #0
	bl	_parse_options
	mov	x21, x0
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_error
	add	x0, sp, #56
	sub	x1, x29, #56
	bl	_usage_with_options
	ldr	w8, [sp, #4]
LBB0_3:
	orr	w8, w21, w8
	cbnz	w8, LBB0_5
; %bb.4:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
	add	x3, sp, #24
	add	x4, sp, #16
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_module_list_compute
	tbnz	x0, #63, LBB0_11
; %bb.6:
	str	x19, [sp, #32]
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _OPT_QUIET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OPT_QUIET@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [sp, #40]
	orr	w8, w9, w8
	str	w8, [sp, #40]
LBB0_8:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_10
; %bb.9:
Lloh26:
	adrp	x8, _OPT_FORCE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OPT_FORCE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [sp, #40]
	orr	w8, w9, w8
	str	w8, [sp, #40]
LBB0_10:
Lloh29:
	adrp	x8, _deinit_submodule_cb@GOTPAGE
Lloh30:
	ldr	x8, [x8, _deinit_submodule_cb@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	add	x0, sp, #16
	add	x2, sp, #32
	bl	_for_each_listed_submodule
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_14:
	bl	___stack_chk_fail
	.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	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_DEINIT_CB_INIT,16,3            ; @DEINIT_CB_INIT
	.comm	_MODULE_LIST_INIT,4,2           ; @MODULE_LIST_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Suppress submodule status output"

l_.str.1:                               ; @.str.1
	.asciz	"Remove submodule working trees even if they contain local changes"

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

l_.str.3:                               ; @.str.3
	.asciz	"Unregister all submodules"

l_.str.4:                               ; @.str.4
	.asciz	"git submodule deinit [--quiet] [-f | --force] [--all | [--] [<path>...]]"

l_.str.5:                               ; @.str.5
	.asciz	"pathspec and --all are incompatible"

l_.str.6:                               ; @.str.6
	.asciz	"Use '--all' if you really want to deinitialize all submodules"

	.comm	_OPT_QUIET,4,2                  ; @OPT_QUIET
	.comm	_OPT_FORCE,4,2                  ; @OPT_FORCE
	.comm	_deinit_submodule_cb,4,2        ; @deinit_submodule_cb
	.no_dead_strip	_module_deinit
.subsections_via_symbols
