	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function get_superproject_working_tree
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_get_superproject_working_tree
	.p2align	4, 0x90
_get_superproject_working_tree:         ## @get_superproject_working_tree
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_real_path_if_valid
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_xgetcwd
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_is_inside_work_tree
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.2:
	leaq	-40(%rbp), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_relative_path
	movq	%rax, %r12
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_prepare_submodule_repo_env
	movq	%rbx, %rdi
	callq	_argv_array_pop
	leaq	-48(%rbp), %rdi
	subq	$8, %rsp
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %rbx
	leaq	L_.str.6(%rip), %r10
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %r9
	pushq	$0
	pushq	%r12
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_argv_array_pushl
	addq	$48, %rsp
	movq	%r15, %rdi
	callq	_strbuf_reset
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,4294967295,1]
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	movl	-56(%rbp), %esi
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	callq	_strbuf_read
	movq	%rax, %r15
	movl	-56(%rbp), %edi
	callq	_close
	movl	-40(%rbp), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movl	-40(%rbp), %edi
	movl	$9, %esi
	callq	_strchr
	movq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strlen
	subl	%eax, %r12d
	movslq	%r12d, %r12
	jl	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	addq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	leaq	L_.str.11(%rip), %rdi
	callq	_BUG
LBB0_9:
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movb	$0, (%rax,%r12)
	movq	%rax, %rdi
	callq	_real_path
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_10
LBB0_5:
	xorl	%r14d, %r14d
LBB0_10:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	leaq	-64(%rbp), %rdi
	callq	_finish_command
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.11:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_12:
	movl	%eax, %ebx
	testq	%r15, %r15
	cmovneq	%r14, %r15
	testl	%eax, %eax
	cmovneq	%r14, %r15
	je	LBB0_14
## %bb.13:
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_die
	movq	%r14, %r15
LBB0_14:
	movq	%r15, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,24,2        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"../"

L_.str.1:                               ## @.str.1
	.asciz	"--literal-pathspecs"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"ls-files"

L_.str.5:                               ## @.str.5
	.asciz	"-z"

L_.str.6:                               ## @.str.6
	.asciz	"--stage"

L_.str.7:                               ## @.str.7
	.asciz	"--full-name"

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

L_.str.9:                               ## @.str.9
	.asciz	"could not start ls-files in .."

	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
L_.str.10:                              ## @.str.10
	.asciz	"160000"

L_.str.11:                              ## @.str.11
	.asciz	"returned path string doesn't match cwd?"

L_.str.12:                              ## @.str.12
	.asciz	"ls-tree returned unexpected return code %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function get_superproject_working_tree
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_get_superproject_working_tree
	.p2align	2
_get_superproject_working_tree:         ; @get_superproject_working_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [sp, #32]
	ldr	x8, [x8, #16]
	str	x8, [sp, #48]
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_real_path_if_valid
	mov	x20, x0
	bl	_xgetcwd
	mov	x19, x0
	bl	_is_inside_work_tree
	mov	x21, #0
	cbz	w0, LBB0_15
; %bb.1:
	cbz	x20, LBB0_15
; %bb.2:
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_relative_path
	mov	x20, x0
	add	x22, sp, #32
	add	x21, x22, #20
	mov	x0, x21
	bl	_prepare_submodule_repo_env
	mov	x0, x21
	bl	_argv_array_pop
	add	x0, x22, #16
	stp	x20, xzr, [sp, #8]
Lloh7:
	adrp	x8, l_.str.8@PAGE
Lloh8:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh13:
	adrp	x3, l_.str.3@PAGE
Lloh14:
	add	x3, x3, l_.str.3@PAGEOFF
Lloh15:
	adrp	x4, l_.str.4@PAGE
Lloh16:
	add	x4, x4, l_.str.4@PAGEOFF
Lloh17:
	adrp	x5, l_.str.5@PAGE
Lloh18:
	add	x5, x5, l_.str.5@PAGEOFF
Lloh19:
	adrp	x6, l_.str.6@PAGE
Lloh20:
	add	x6, x6, l_.str.6@PAGEOFF
Lloh21:
	adrp	x7, l_.str.7@PAGE
Lloh22:
	add	x7, x7, l_.str.7@PAGEOFF
	bl	_argv_array_pushl
	add	x0, sp, #24
	bl	_strbuf_reset
Lloh23:
	adrp	x8, lCPI0_0@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #32]
	add	x0, sp, #32
	bl	_start_command
	cbz	x0, LBB0_4
; %bb.3:
Lloh25:
	adrp	x0, l_.str.9@PAGE
Lloh26:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	bl	_die
LBB0_4:
	ldr	w1, [sp, #40]
Lloh27:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	add	x0, sp, #24
	bl	_strbuf_read
	mov	x20, x0
	ldr	w0, [sp, #40]
	bl	_close
	ldr	w0, [sp, #24]
Lloh30:
	adrp	x1, l_.str.10@PAGE
Lloh31:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	ldr	w0, [sp, #24]
	mov	w1, #9
	bl	_strchr
	add	x21, x0, #1
	mov	x0, x21
	bl	_strlen
	subs	w8, w22, w0
	sxtw	x22, w8
	b.lt	LBB0_7
; %bb.6:
	add	x0, x19, x22
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_8
LBB0_7:
Lloh32:
	adrp	x0, l_.str.11@PAGE
Lloh33:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_BUG
LBB0_8:
	mov	x0, x19
	bl	_xstrdup
	mov	x19, x0
	strb	wzr, [x0, x22]
	bl	_real_path
	mov	x21, x0
	mov	x0, x19
	bl	_free
	b	LBB0_10
LBB0_9:
	mov	x21, #0
LBB0_10:
	add	x0, sp, #24
	bl	_strbuf_release
	add	x0, sp, #32
	bl	_finish_command
	cmp	w0, #128
	b.ne	LBB0_12
; %bb.11:
	mov	x21, #0
	b	LBB0_15
LBB0_12:
	mov	x19, x0
	cmp	x20, #0
	ccmp	w0, #0, #0, eq
	csel	x8, xzr, x21, eq
	cbz	w0, LBB0_14
; %bb.13:
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	str	x19, [sp]
	bl	_die
	b	LBB0_15
LBB0_14:
	mov	x21, x8
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,24,2        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"../"

l_.str.1:                               ; @.str.1
	.asciz	"--literal-pathspecs"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"ls-files"

l_.str.5:                               ; @.str.5
	.asciz	"-z"

l_.str.6:                               ; @.str.6
	.asciz	"--stage"

l_.str.7:                               ; @.str.7
	.asciz	"--full-name"

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

l_.str.9:                               ; @.str.9
	.asciz	"could not start ls-files in .."

	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
l_.str.10:                              ; @.str.10
	.asciz	"160000"

l_.str.11:                              ; @.str.11
	.asciz	"returned path string doesn't match cwd?"

l_.str.12:                              ; @.str.12
	.asciz	"ls-tree returned unexpected return code %d"

.subsections_via_symbols
