	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_rm                         ## -- Begin function cmd_rm
	.p2align	4, 0x90
_cmd_rm:                                ## @cmd_rm
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_LOCK_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	_builtin_rm_options@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_builtin_rm_usage@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_usage_with_options
LBB0_2:
	movq	_index_only@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_setup_work_tree
LBB0_4:
	movq	_LOCK_DIE_ON_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_hold_locked_index
	xorl	%eax, %eax
	callq	_read_cache
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_6:
	movq	_PATHSPEC_PREFER_CWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_parse_pathspec
	movq	_REFRESH_QUIET@GOTPCREL(%rip), %rax
	movq	_REFRESH_UNMERGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_the_index@GOTPCREL(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_refresh_index
	movl	-72(%rbp), %edi
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, %r13
	movq	_active_nr@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.7:
	movq	_the_index@GOTPCREL(%rip), %r14
	movq	_list@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	movq	_active_nr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-72(%rbp), %rdx
	movq	%r13, %rcx
	callq	_ce_path_match
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r12), %rdi
	movl	(%r12), %esi
	incl	%esi
	movl	16(%r12), %edx
	callq	_ALLOC_GROW
	movl	4(%rbx), %edi
	callq	_xstrdup
	movq	8(%r12), %rcx
	movslq	(%r12), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rcx,%rdx)
	movl	(%rbx), %edi
	callq	_S_ISGITLINK
	movq	8(%r12), %rcx
	movslq	(%r12), %rdx
	leal	1(%rdx), %esi
	shlq	$4, %rdx
	movq	%rax, 8(%rcx,%rdx)
	movl	%esi, (%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_is_staging_gitmodules_ok
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_12
LBB0_13:
	cmpl	$0, -72(%rbp)
	je	LBB0_27
## %bb.14:
	jle	LBB0_58
## %bb.15:
	movq	_recursive@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	movq	_recursive@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r12
	movslq	-72(%rbp), %rax
	cmpq	%rax, %r12
	jge	LBB0_26
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r14d
	movq	-64(%rbp), %rax
	movq	(%rax,%r12,8), %rbx
	movl	$1, %r15d
	cmpb	$0, (%r13,%r12)
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$0, (%rcx)
	jne	LBB0_25
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_ignore_unmatch@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
	movq	_recursive@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%r14d, %r15d
	cmpl	$0, (%rcx)
	jne	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	movzbl	(%r13,%r12), %eax
	movq	_MATCHED_RECURSIVELY@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %al
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	__
	cmpb	$0, (%rbx)
	leaq	L_.str.4(%rip), %rsi
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rsi
	jmp	LBB0_24
LBB0_26:
	testl	%r15d, %r15d
	je	LBB0_58
LBB0_27:
	movq	_index_only@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_29
## %bb.28:
	xorl	%eax, %eax
	callq	_submodules_absorb_gitdir_if_needed
LBB0_29:
	movq	_force@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_33
## %bb.30:
	leaq	L_.str.5(%rip), %rdi
	leaq	-48(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	leaq	-48(%rbp), %rdi
	callq	_oidclr
LBB0_32:
	movq	_index_only@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_check_local_mod
	testq	%rax, %rax
	jne	LBB0_59
LBB0_33:
	movq	_list@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_40
## %bb.34:
	movq	_quiet@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_35 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jge	LBB0_40
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r14), %rbx
	cmpl	$0, (%r12)
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	%rbx, %rdi
	callq	_remove_file_from_cache
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_39
LBB0_40:
	movq	_show_only@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_57
## %bb.41:
	movq	_index_only@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_42
LBB0_55:
	movq	_COMMIT_LOCK@GOTPCREL(%rip), %rax
	movq	_SKIP_IF_UNCHANGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_the_index@GOTPCREL(%rip), %rdi
	leaq	-56(%rbp), %rsi
	callq	_write_locked_index
	testq	%rax, %rax
	je	LBB0_57
## %bb.56:
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_57:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	testl	%eax, %eax
	jle	LBB0_60
## %bb.43:
	movl	$8, %r14d
	xorl	%r12d, %r12d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	%rbx, %rdi
	callq	_remove_path_from_gitmodules
	testl	%eax, %eax
	movl	$1, %r15d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmovel	%r15d, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_52:                                ##   in Loop: Header=BB0_44 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	addq	$16, %r14
	cmpq	%rax, %r12
	jge	LBB0_53
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	-8(%rax,%r14), %rbx
	cmpq	$0, (%rax,%r14)
	je	LBB0_48
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_reset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_remove_dir_recursively
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=1
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	%rbx, %rdi
	callq	_remove_path
	testl	%eax, %eax
	je	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_44 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_44 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die_errno
	xorl	%r15d, %r15d
	jmp	LBB0_52
LBB0_49:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	$1, %r15d
	jmp	LBB0_52
LBB0_53:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_55
## %bb.54:
	movq	_the_index@GOTPCREL(%rip), %rdi
	callq	_stage_updated_gitmodules
	jmp	LBB0_55
LBB0_60:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_55
LBB0_58:
	xorl	%edi, %edi
	callq	_exit
LBB0_59:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCK_INIT,4,2                  ## @LOCK_INIT
	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_builtin_rm_options,4,2         ## @builtin_rm_options
	.comm	_builtin_rm_usage,4,2           ## @builtin_rm_usage
	.comm	_index_only,4,2                 ## @index_only
	.comm	_LOCK_DIE_ON_ERROR,4,2          ## @LOCK_DIE_ON_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index file corrupt"

	.comm	_PATHSPEC_PREFER_CWD,4,2        ## @PATHSPEC_PREFER_CWD
	.comm	_the_index,4,2                  ## @the_index
	.comm	_REFRESH_QUIET,4,2              ## @REFRESH_QUIET
	.comm	_REFRESH_UNMERGED,4,2           ## @REFRESH_UNMERGED
	.comm	_active_nr,4,2                  ## @active_nr
	.comm	_active_cache,8,3               ## @active_cache
	.comm	_list,24,3                      ## @list
L_.str.1:                               ## @.str.1
	.asciz	"please stage your changes to .gitmodules or stash them to proceed"

	.comm	_ignore_unmatch,4,2             ## @ignore_unmatch
L_.str.2:                               ## @.str.2
	.asciz	"pathspec '%s' did not match any files"

	.comm	_recursive,4,2                  ## @recursive
	.comm	_MATCHED_RECURSIVELY,1,0        ## @MATCHED_RECURSIVELY
L_.str.3:                               ## @.str.3
	.asciz	"not removing '%s' recursively without -r"

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

	.comm	_force,4,2                      ## @force
L_.str.5:                               ## @.str.5
	.asciz	"HEAD"

	.comm	_quiet,4,2                      ## @quiet
L_.str.6:                               ## @.str.6
	.asciz	"rm '%s'\n"

L_.str.7:                               ## @.str.7
	.asciz	"git rm: unable to remove %s"

	.comm	_show_only,8,3                  ## @show_only
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.8:                               ## @.str.8
	.asciz	"could not remove '%s'"

L_.str.9:                               ## @.str.9
	.asciz	"git rm: '%s'"

	.comm	_COMMIT_LOCK,4,2                ## @COMMIT_LOCK
	.comm	_SKIP_IF_UNCHANGED,4,2          ## @SKIP_IF_UNCHANGED
L_.str.10:                              ## @.str.10
	.asciz	"Unable to write new index file"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_rm                         ; -- Begin function cmd_rm
	.p2align	2
_cmd_rm:                                ; @cmd_rm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	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
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _LOCK_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCK_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _git_default_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh6:
	adrp	x22, _builtin_rm_options@GOTPAGE
Lloh7:
	ldr	x22, [x22, _builtin_rm_options@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh8:
	adrp	x23, _builtin_rm_usage@GOTPAGE
Lloh9:
	ldr	x23, [x23, _builtin_rm_usage@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w5, #0
	bl	_parse_options
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	ldr	w1, [x22]
	bl	_usage_with_options
LBB0_2:
Lloh10:
	adrp	x28, _index_only@GOTPAGE
Lloh11:
	ldr	x28, [x28, _index_only@GOTPAGEOFF]
	ldr	w8, [x28]
	cbnz	w8, LBB0_4
; %bb.3:
	bl	_setup_work_tree
LBB0_4:
Lloh12:
	adrp	x8, _LOCK_DIE_ON_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOCK_DIE_ON_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x0, sp, #40
	bl	_hold_locked_index
	bl	_read_cache
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_6:
Lloh17:
	adrp	x8, _PATHSPEC_PREFER_CWD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PATHSPEC_PREFER_CWD@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x0, sp, #24
	mov	w1, #0
	mov	x3, x20
	mov	x4, x19
	bl	_parse_pathspec
Lloh20:
	adrp	x8, _REFRESH_QUIET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REFRESH_QUIET@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _REFRESH_UNMERGED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _REFRESH_UNMERGED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh26:
	adrp	x0, _the_index@GOTPAGE
Lloh27:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	add	x2, sp, #24
	mov	x3, #0
	mov	x4, #0
	bl	_refresh_index
	ldr	w0, [sp, #24]
	mov	w1, #1
	bl	_xcalloc
	mov	x19, x0
Lloh28:
	adrp	x25, _active_nr@GOTPAGE
Lloh29:
	ldr	x25, [x25, _active_nr@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh30:
	adrp	x23, _list@GOTPAGE
Lloh31:
	ldr	x23, [x23, _list@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:
	mov	x26, #0
Lloh32:
	adrp	x27, _active_cache@GOTPAGE
Lloh33:
	ldr	x27, [x27, _active_cache@GOTPAGEOFF]
Lloh34:
	adrp	x20, _the_index@GOTPAGE
Lloh35:
	ldr	x20, [x20, _the_index@GOTPAGEOFF]
Lloh36:
	adrp	x21, l_.str.1@PAGE
Lloh37:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	x22, [x8, x26, lsl #3]
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_ce_path_match
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x23, #8]
	ldr	w8, [x23]
	add	w1, w8, #1
	ldr	w2, [x23, #16]
	bl	_ALLOC_GROW
	ldr	w0, [x22, #4]
	bl	_xstrdup
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
	lsl	x9, x9, #4
	str	x0, [x8, x9]
	ldr	w0, [x22]
	bl	_S_ISGITLINK
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #4
	str	x0, [x8, #8]
	add	w8, w9, #1
	str	w8, [x23]
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_is_staging_gitmodules_ok
	cbnz	w0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	__
	bl	_die
	b	LBB0_8
LBB0_13:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_25
; %bb.14:
	cmp	w8, #1
	b.lt	LBB0_57
; %bb.15:
	mov	x22, #0
	mov	w25, #0
Lloh38:
	adrp	x26, _ignore_unmatch@GOTPAGE
Lloh39:
	ldr	x26, [x26, _ignore_unmatch@GOTPAGEOFF]
Lloh40:
	adrp	x27, _recursive@GOTPAGE
Lloh41:
	ldr	x27, [x27, _recursive@GOTPAGEOFF]
Lloh42:
	adrp	x28, _MATCHED_RECURSIVELY@GOTPAGE
Lloh43:
	ldr	x28, [x28, _MATCHED_RECURSIVELY@GOTPAGEOFF]
Lloh44:
	adrp	x21, l_.str.3@PAGE
Lloh45:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh46:
	adrp	x24, l_.str.4@PAGE
Lloh47:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x26]
	cbz	w8, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x27]
	cbz	w8, LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [sp, #24]
	cmp	x22, x8
	b.ge	LBB0_24
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #32]
	ldr	x20, [x8, x22, lsl #3]
	ldrb	w8, [x19, x22]
	cbz	w8, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w25, #1
	ldr	w8, [x27]
	cbnz	w8, LBB0_18
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	ldrb	w8, [x19, x22]
	ldrb	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	__
	ldrb	w8, [x20]
	cmp	w8, #0
	csel	x8, x24, x20, eq
	str	x8, [sp]
	bl	_die
	b	LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
Lloh48:
	adrp	x0, l_.str.2@PAGE
Lloh49:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	str	x20, [sp]
	bl	_die
	ldr	w8, [x27]
	cbnz	w8, LBB0_18
	b	LBB0_21
LBB0_24:
Lloh50:
	adrp	x28, _index_only@GOTPAGE
Lloh51:
	ldr	x28, [x28, _index_only@GOTPAGEOFF]
	cbz	w25, LBB0_57
LBB0_25:
	ldr	w8, [x28]
	cbnz	w8, LBB0_27
; %bb.26:
	bl	_submodules_absorb_gitdir_if_needed
LBB0_27:
Lloh52:
	adrp	x8, _force@GOTPAGE
Lloh53:
	ldr	x8, [x8, _force@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cbnz	w8, LBB0_31
; %bb.28:
Lloh55:
	adrp	x0, l_.str.5@PAGE
Lloh56:
	add	x0, x0, l_.str.5@PAGEOFF
	add	x1, sp, #16
	bl	_get_oid
	cbz	x0, LBB0_30
; %bb.29:
	add	x0, sp, #16
	bl	_oidclr
LBB0_30:
	ldr	w1, [x28]
	add	x0, sp, #16
	bl	_check_local_mod
	cbnz	x0, LBB0_58
LBB0_31:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.32:
	mov	x22, #0
	mov	x24, #0
Lloh57:
	adrp	x25, _quiet@GOTPAGE
Lloh58:
	ldr	x25, [x25, _quiet@GOTPAGEOFF]
Lloh59:
	adrp	x19, l_.str.6@PAGE
Lloh60:
	add	x19, x19, l_.str.6@PAGEOFF
Lloh61:
	adrp	x20, l_.str.7@PAGE
Lloh62:
	add	x20, x20, l_.str.7@PAGEOFF
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	add	x22, x22, #16
	cmp	x24, x8
	b.ge	LBB0_38
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	x21, [x8, x22]
	ldr	w8, [x25]
	cbnz	w8, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_printf
LBB0_36:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	x0, x21
	bl	_remove_file_from_cache
	cbz	x0, LBB0_33
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x0, x20
	bl	__
	str	x21, [sp]
	bl	_die
	b	LBB0_33
LBB0_38:
Lloh63:
	adrp	x9, _show_only@GOTPAGE
Lloh64:
	ldr	x9, [x9, _show_only@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cbnz	x9, LBB0_42
; %bb.39:
	ldr	w9, [x28]
	cbz	w9, LBB0_43
LBB0_40:
Lloh66:
	adrp	x8, _COMMIT_LOCK@GOTPAGE
Lloh67:
	ldr	x8, [x8, _COMMIT_LOCK@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _SKIP_IF_UNCHANGED@GOTPAGE
Lloh70:
	ldr	x9, [x9, _SKIP_IF_UNCHANGED@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh72:
	adrp	x0, _the_index@GOTPAGE
Lloh73:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	add	x1, sp, #40
	bl	_write_locked_index
	cbz	x0, LBB0_42
; %bb.41:
Lloh74:
	adrp	x0, l_.str.10@PAGE
Lloh75:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	bl	_die
LBB0_42:
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_43:
Lloh76:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh77:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_56
; %bb.44:
	mov	x24, #0
	mov	x25, #0
	mov	w22, #0
	mov	w26, #0
Lloh79:
	adrp	x19, l_.str.9@PAGE
Lloh80:
	add	x19, x19, l_.str.9@PAGEOFF
Lloh81:
	adrp	x20, l_.str.8@PAGE
Lloh82:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_48
LBB0_45:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x21
	bl	_remove_path_from_gitmodules
	cmp	w0, #0
	csinc	w22, w22, wzr, ne
LBB0_46:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	w26, #1
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #16
	cmp	x25, x8
	b.ge	LBB0_54
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	add	x8, x8, x24
	ldp	x21, x8, [x8]
	cbz	x8, LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	add	x0, sp, #16
	bl	_strbuf_reset
	add	x0, sp, #16
	mov	x1, x21
	bl	_strbuf_addstr
	add	x0, sp, #16
	mov	w1, #0
	bl	_remove_dir_recursively
	cbz	x0, LBB0_45
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x20
	bl	__
	str	x21, [sp]
	bl	_die
	b	LBB0_45
LBB0_51:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x21
	bl	_remove_path
	cbz	w0, LBB0_46
; %bb.52:                               ;   in Loop: Header=BB0_48 Depth=1
	cbnz	w26, LBB0_47
; %bb.53:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_die_errno
	b	LBB0_47
LBB0_54:
	add	x0, sp, #16
	bl	_strbuf_release
	cbz	w22, LBB0_40
; %bb.55:
Lloh83:
	adrp	x0, _the_index@GOTPAGE
Lloh84:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	bl	_stage_updated_gitmodules
	b	LBB0_40
LBB0_56:
	add	x0, sp, #16
	bl	_strbuf_release
	b	LBB0_40
LBB0_57:
	mov	w0, #0
	bl	_exit
LBB0_58:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCK_INIT,4,2                  ; @LOCK_INIT
	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_builtin_rm_options,4,2         ; @builtin_rm_options
	.comm	_builtin_rm_usage,4,2           ; @builtin_rm_usage
	.comm	_index_only,4,2                 ; @index_only
	.comm	_LOCK_DIE_ON_ERROR,4,2          ; @LOCK_DIE_ON_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index file corrupt"

	.comm	_PATHSPEC_PREFER_CWD,4,2        ; @PATHSPEC_PREFER_CWD
	.comm	_the_index,4,2                  ; @the_index
	.comm	_REFRESH_QUIET,4,2              ; @REFRESH_QUIET
	.comm	_REFRESH_UNMERGED,4,2           ; @REFRESH_UNMERGED
	.comm	_active_nr,4,2                  ; @active_nr
	.comm	_active_cache,8,3               ; @active_cache
	.comm	_list,24,3                      ; @list
l_.str.1:                               ; @.str.1
	.asciz	"please stage your changes to .gitmodules or stash them to proceed"

	.comm	_ignore_unmatch,4,2             ; @ignore_unmatch
l_.str.2:                               ; @.str.2
	.asciz	"pathspec '%s' did not match any files"

	.comm	_recursive,4,2                  ; @recursive
	.comm	_MATCHED_RECURSIVELY,1,0        ; @MATCHED_RECURSIVELY
l_.str.3:                               ; @.str.3
	.asciz	"not removing '%s' recursively without -r"

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

	.comm	_force,4,2                      ; @force
l_.str.5:                               ; @.str.5
	.asciz	"HEAD"

	.comm	_quiet,4,2                      ; @quiet
l_.str.6:                               ; @.str.6
	.asciz	"rm '%s'\n"

l_.str.7:                               ; @.str.7
	.asciz	"git rm: unable to remove %s"

	.comm	_show_only,8,3                  ; @show_only
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.8:                               ; @.str.8
	.asciz	"could not remove '%s'"

l_.str.9:                               ; @.str.9
	.asciz	"git rm: '%s'"

	.comm	_COMMIT_LOCK,4,2                ; @COMMIT_LOCK
	.comm	_SKIP_IF_UNCHANGED,4,2          ; @SKIP_IF_UNCHANGED
l_.str.10:                              ; @.str.10
	.asciz	"Unable to write new index file"

.subsections_via_symbols
