	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_submodule_modified          ## -- Begin function is_submodule_modified
	.p2align	4, 0x90
_is_submodule_modified:                 ## @is_submodule_modified
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movq	%r15, %rdx
	callq	_strbuf_addf
	movq	-64(%rbp), %rdi
	callq	_read_gitfile
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %r12
LBB0_2:
	movq	%r12, %rdi
	callq	_is_git_directory
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_reset
	leaq	-84(%rbp), %r14
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_argv_array_pushl
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
LBB0_7:
	leaq	-88(%rbp), %rdi
	callq	_prepare_submodule_repo_env
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -112(%rbp)
	movl	$-1, -104(%rbp)
	movq	%r15, -96(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	callq	_die
LBB0_9:
	movl	-104(%rbp), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_xfdopen
	movq	%rax, %r12
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	_EOF@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movb	$1, %bl
	cmpq	(%rcx), %rax
	je	LBB0_29
## %bb.10:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_DIRTY_SUBMODULE_MODIFIED@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r12, %rsi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	%r15, %rcx
	cmpq	(%r15), %rax
	je	LBB0_28
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r15
	movq	-64(%rbp), %rsi
	movzbl	(%rsi), %eax
	movl	$0, %ebx
	cmpb	$63, %al
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DIRTY_SUBMODULE_UNTRACKED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	orl	%r14d, %ebx
	leal	-49(%rax), %ecx
	cmpb	$2, %cl
	jb	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$117, %al
	jne	LBB0_24
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$8, -56(%rbp)
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.8(%rip), %rdi
	callq	_BUG
	movq	-64(%rbp), %rsi
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$83, 5(%rsi)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$85, 8(%rsi)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DIRTY_SUBMODULE_UNTRACKED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movzbl	(%rsi), %eax
	cmpb	$50, %al
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$117, %al
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	$5, %rsi
	movq	%rsi, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	orl	(%r13), %ebx
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %r14d
	testl	%ebx, (%r13)
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_DIRTY_SUBMODULE_UNTRACKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_27
## %bb.26:
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_3:
	movq	%r12, %rdi
	callq	_is_directory
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_33
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	jmp	LBB0_32
LBB0_28:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movb	$1, %bl
LBB0_29:
	movq	%r12, %rdi
	callq	_fclose
	leaq	-112(%rbp), %rdi
	callq	_finish_command
	testb	%bl, %bl
	je	LBB0_33
## %bb.30:
	testq	%rax, %rax
	je	LBB0_33
## %bb.31:
	leaq	L_.str.10(%rip), %rdi
	movq	%r15, %rsi
LBB0_32:
	callq	_die
LBB0_33:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/.git"

L_.str.1:                               ## @.str.1
	.asciz	"'%s' not recognized as a git repository"

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

L_.str.3:                               ## @.str.3
	.asciz	"--porcelain=2"

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

L_.str.5:                               ## @.str.5
	.asciz	"Could not run 'git status --porcelain=2' in submodule %s"

L_.str.6:                               ## @.str.6
	.asciz	"r"

	.comm	_EOF,8,3                        ## @EOF
	.comm	_DIRTY_SUBMODULE_UNTRACKED,4,2  ## @DIRTY_SUBMODULE_UNTRACKED
L_.str.8:                               ## @.str.8
	.asciz	"invalid status --porcelain=2 line %s"

L_.str.9:                               ## @.str.9
	.asciz	"S..U"

	.comm	_DIRTY_SUBMODULE_MODIFIED,4,2   ## @DIRTY_SUBMODULE_MODIFIED
L_.str.10:                              ## @.str.10
	.asciz	"'git status --porcelain=2' failed in submodule %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_submodule_modified          ; -- Begin function is_submodule_modified
	.p2align	2
_is_submodule_modified:                 ; @is_submodule_modified
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	mov	x2, x19
	bl	_strbuf_addf
	ldr	x0, [sp]
	bl	_read_gitfile
	ldr	x8, [sp]
	cmp	x0, #0
	csel	x21, x8, x0, eq
	mov	x0, x21
	bl	_is_git_directory
	cbz	w0, LBB0_11
; %bb.1:
	mov	x0, sp
	bl	_strbuf_reset
	add	x22, sp, #16
	add	x21, x22, #28
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x3, #0
	bl	_argv_array_pushl
	cbz	w20, LBB0_3
; %bb.2:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_argv_array_push
LBB0_3:
	add	x0, x22, #24
	bl	_prepare_submodule_repo_env
	movi.2s	v0, #1
	str	d0, [sp, #16]
	mov	w8, #-1
	str	w8, [sp, #24]
	str	x19, [sp, #32]
	add	x0, sp, #16
	bl	_start_command
	cbz	x0, LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_5:
	ldr	w0, [sp, #24]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_xfdopen
	mov	x22, x0
	mov	x0, sp
	mov	x1, x22
	mov	w2, #10
	bl	_strbuf_getwholeline
Lloh17:
	adrp	x25, _EOF@GOTPAGE
Lloh18:
	ldr	x25, [x25, _EOF@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.6:
	mov	w21, #0
LBB0_7:
	mov	w20, #1
LBB0_8:
	mov	x0, x22
	bl	_fclose
	add	x0, sp, #16
	bl	_finish_command
	cbz	w20, LBB0_14
; %bb.9:
	cbz	x0, LBB0_14
; %bb.10:
Lloh19:
	adrp	x0, l_.str.10@PAGE
Lloh20:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x19
	bl	_die
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	bl	_is_directory
	cbz	x0, LBB0_13
; %bb.12:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x21
	bl	_die
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x21
	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_15:
	mov	w21, #0
Lloh23:
	adrp	x26, _DIRTY_SUBMODULE_UNTRACKED@GOTPAGE
Lloh24:
	ldr	x26, [x26, _DIRTY_SUBMODULE_UNTRACKED@GOTPAGEOFF]
Lloh25:
	adrp	x23, l_.str.8@PAGE
Lloh26:
	add	x23, x23, l_.str.8@PAGEOFF
Lloh27:
	adrp	x27, _DIRTY_SUBMODULE_MODIFIED@GOTPAGE
Lloh28:
	ldr	x27, [x27, _DIRTY_SUBMODULE_MODIFIED@GOTPAGEOFF]
Lloh29:
	adrp	x24, l_.str.9@PAGE
Lloh30:
	add	x24, x24, l_.str.9@PAGEOFF
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, sp
	mov	x1, x22
	mov	w2, #10
	bl	_strbuf_getwholeline
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_7
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp]
	ldrb	w8, [x1]
	ldr	w9, [x26]
	cmp	w8, #63
	csel	w9, w9, wzr, eq
	orr	w21, w9, w21
	sub	w9, w8, #49
	cmp	w9, #2
	b.lo	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w8, #117
	b.ne	LBB0_28
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, #8
	b.gt	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x23
	bl	_BUG
	ldr	x1, [sp]
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x1
	ldrb	w8, [x0, #5]!
	cmp	w8, #83
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w8, [x1, #8]
	cmp	w8, #85
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x26]
	orr	w21, w8, w21
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w8, [x1]
	cmp	w8, #50
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w8, #117
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x1, x24
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x27]
	orr	w21, w8, w21
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x27]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x26]
	and	w8, w8, w21
	orr	w8, w8, w20
	cbz	w8, LBB0_16
; %bb.30:
	mov	w20, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/.git"

l_.str.1:                               ; @.str.1
	.asciz	"'%s' not recognized as a git repository"

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

l_.str.3:                               ; @.str.3
	.asciz	"--porcelain=2"

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

l_.str.5:                               ; @.str.5
	.asciz	"Could not run 'git status --porcelain=2' in submodule %s"

l_.str.6:                               ; @.str.6
	.asciz	"r"

	.comm	_EOF,8,3                        ; @EOF
	.comm	_DIRTY_SUBMODULE_UNTRACKED,4,2  ; @DIRTY_SUBMODULE_UNTRACKED
l_.str.8:                               ; @.str.8
	.asciz	"invalid status --porcelain=2 line %s"

l_.str.9:                               ; @.str.9
	.asciz	"S..U"

	.comm	_DIRTY_SUBMODULE_MODIFIED,4,2   ; @DIRTY_SUBMODULE_MODIFIED
l_.str.10:                              ; @.str.10
	.asciz	"'git status --porcelain=2' failed in submodule %s"

.subsections_via_symbols
