	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_tree_1
_read_tree_1:                           ## @read_tree_1
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rdx), %r15d
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_parse_tree
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movl	$-1, %r15d
	jmp	LBB0_2
LBB0_3:
	movl	%r15d, -100(%rbp)               ## 4-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_tree_desc
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_21
## %bb.4:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_8 Depth=1
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	leaq	-52(%rbp), %rsi
	callq	_oidcpy
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_tree_entry_len
	movl	-56(%rbp), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_strbuf_add
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_lookup_tree
	movq	16(%rbp), %rcx
	movq	%rcx, (%rsp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_read_tree_1
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_strbuf_setlen
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	leaq	-96(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_21
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_all_entries_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %edi
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_tree_entry_interesting
	movl	%eax, %r14d
	movq	_all_entries_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_7
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-56(%rbp), %edx
	movl	-48(%rbp), %ecx
	leaq	-52(%rbp), %rdi
	movq	%r12, %rsi
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movq	16(%rbp), %r9
	callq	*%r13
	testl	%eax, %eax
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	je	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	-52(%rbp), %rsi
	callq	_lookup_commit
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-52(%rbp), %rdi
	callq	_oid_to_hex
	movl	4(%r12), %edx
	movl	-56(%rbp), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_parse_commit
	testq	%rax, %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-52(%rbp), %rdi
	callq	_oid_to_hex
	movl	4(%r12), %edx
	movl	-56(%rbp), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_get_commit_tree_oid
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_oidcpy
	jmp	LBB0_6
LBB0_21:
	xorl	%r15d, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entry_not_interesting,4,2      ## @entry_not_interesting
	.comm	_all_entries_interesting,4,2    ## @all_entries_interesting
	.comm	_all_entries_not_interesting,4,2 ## @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Commit %s in submodule path %s%s not found"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid commit %s in submodule path %s%s"

	.no_dead_strip	_read_tree_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_tree_1
_read_tree_1:                           ; @read_tree_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x26, x1
	mov	x24, x0
	ldr	w25, [x2]
Lloh0:
	adrp	x8, _entry_not_interesting@GOTPAGE
Lloh1:
	ldr	x8, [x8, _entry_not_interesting@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	mov	x0, x1
	bl	_parse_tree
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	ldp	w2, w1, [x26]
	add	x0, sp, #24
	bl	_init_tree_desc
	add	x26, sp, #8
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_tree_entry
	cbz	x0, LBB0_2
; %bb.4:
	orr	x26, x26, #0x4
Lloh3:
	adrp	x28, _all_entries_interesting@GOTPAGE
Lloh4:
	ldr	x28, [x28, _all_entries_interesting@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, sp
	mov	x1, x26
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_oidcpy
	add	x0, sp, #8
	bl	_tree_entry_len
	mov	x2, x0
	ldr	w1, [sp, #8]
	mov	x0, x23
	bl	_strbuf_add
	mov	x0, x23
	mov	w1, #47
	bl	_strbuf_addch
	mov	x1, sp
	mov	x0, x24
	bl	_lookup_tree
	mov	x1, x0
	mov	x0, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_read_tree_1
	mov	x27, x0
	mov	x0, x23
	mov	x1, x25
	bl	_strbuf_setlen
	cbnz	w27, LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_tree_entry
	cbz	x0, LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28]
	cmp	w27, w8
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	add	x1, sp, #8
	mov	x2, x23
	mov	w3, #0
	mov	x4, x21
	bl	_tree_entry_interesting
Lloh5:
	adrp	x8, _all_entries_not_interesting@GOTPAGE
Lloh6:
	ldr	x8, [x8, _all_entries_not_interesting@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x27, x0
Lloh8:
	adrp	x8, _entry_not_interesting@GOTPAGE
Lloh9:
	ldr	x8, [x8, _entry_not_interesting@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [sp, #8]
	ldr	w3, [sp, #16]
	mov	x0, x26
	mov	x1, x23
	mov	x4, x22
	mov	x5, x19
	blr	x20
	cbz	w0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, #128
	b.ne	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISDIR
	cbnz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISGITLINK
	cbz	x0, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	_lookup_commit
	mov	x27, x0
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_oid_to_hex
	mov	x1, x0
	ldr	w2, [x23, #4]
	ldr	w3, [sp, #8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_parse_commit
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_oid_to_hex
	mov	x1, x0
	ldr	w2, [x23, #4]
	ldr	w3, [sp, #8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_get_commit_tree_oid
	mov	x1, x0
	mov	x0, sp
	b	LBB0_6
LBB0_20:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_entry_not_interesting,4,2      ; @entry_not_interesting
	.comm	_all_entries_interesting,4,2    ; @all_entries_interesting
	.comm	_all_entries_not_interesting,4,2 ; @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Commit %s in submodule path %s%s not found"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid commit %s in submodule path %s%s"

	.no_dead_strip	_read_tree_1
.subsections_via_symbols
