	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function submodule_uses_gitfile
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_submodule_uses_gitfile
	.p2align	4, 0x90
_submodule_uses_gitfile:                ## @submodule_uses_gitfile
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	32(%rax), %rcx
	movq	%rcx, -96(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -48(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	leaq	L_.str.5(%rip), %rsi
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_strbuf_addf
	movl	-88(%rbp), %edi
	callq	_read_gitfile
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strbuf_release
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	-80(%rbp), %rax
	movq	%rax, -128(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_prepare_submodule_repo_env
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, -120(%rbp)
	movq	%r14, -104(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_run_command
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,40,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submodule"

L_.str.1:                               ## @.str.1
	.asciz	"foreach"

L_.str.2:                               ## @.str.2
	.asciz	"--quiet"

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

L_.str.4:                               ## @.str.4
	.asciz	"test -f .git"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.5:                               ## @.str.5
	.asciz	"%s/.git"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_submodule_uses_gitfile         ; -- Begin function submodule_uses_gitfile
	.p2align	2
_submodule_uses_gitfile:                ; @submodule_uses_gitfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldr	x10, [x8, #32]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x11, x9, l_.str.1@PAGEOFF
	stp	x10, x8, [sp, #48]
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh11:
	adrp	x9, l_.str.3@PAGE
Lloh12:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x11, x8, [sp, #64]
Lloh13:
	adrp	x8, l_.str.4@PAGE
Lloh14:
	add	x8, x8, l_.str.4@PAGEOFF
	str	xzr, [sp, #96]
	stp	x9, x8, [sp, #80]
Lloh15:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	mov	x2, x19
	bl	_strbuf_addf
	ldr	w0, [sp, #8]
	bl	_read_gitfile
	mov	x20, x0
	add	x0, sp, #8
	bl	_strbuf_release
	cbz	x20, LBB0_2
; %bb.1:
	add	x8, sp, #56
	str	x8, [sp, #16]
	add	x8, sp, #16
	add	x0, x8, #32
	bl	_prepare_submodule_repo_env
	movi.4s	v0, #1
	stur	q0, [sp, #24]
	str	x19, [sp, #40]
	add	x0, sp, #16
	bl	_run_command
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,40,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submodule"

l_.str.1:                               ; @.str.1
	.asciz	"foreach"

l_.str.2:                               ; @.str.2
	.asciz	"--quiet"

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

l_.str.4:                               ; @.str.4
	.asciz	"test -f .git"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.5:                               ; @.str.5
	.asciz	"%s/.git"

.subsections_via_symbols
