	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_tree_contents
_process_tree_contents:                 ## @process_tree_contents
	.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
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_all_entries_interesting@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	8(%rsi), %edx
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	12(%rsi), %esi
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_tree_desc
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r13, %r15
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	cmovel	-76(%rbp), %r14d                ## 4-byte Folded Reload
	leaq	-56(%rbp), %rbx
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NOT_USER_GIVEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
	movl	-56(%rbp), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_process_tree
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rbx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r15), %r14d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %r8
	movq	(%r8), %rax
	movl	(%rax), %edi
	addq	$8, %r8
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_tree_entry_interesting
	movl	%eax, %r14d
	movq	_all_entries_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_entry_not_interesting@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	(%rax), %rdi
	leaq	-52(%rbp), %rsi
	callq	_lookup_tree
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movl	-56(%rbp), %r15d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	movl	%ebx, %edi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	_all_entries_interesting@GOTPCREL(%rip), %r15
	movl	%eax, %edx
	callq	_die
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %esi
	movq	%r12, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_process_gitlink
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	(%rax), %rdi
	leaq	-52(%rbp), %rsi
	callq	_lookup_blob
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movl	-56(%rbp), %r15d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	movl	%ebx, %edi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	_all_entries_interesting@GOTPCREL(%rip), %r15
	movl	%eax, %edx
	callq	_die
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_NOT_USER_GIVEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movl	-56(%rbp), %ecx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_process_blob
	jmp	LBB0_14
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_all_entries_interesting,4,2    ## @all_entries_interesting
	.comm	_entry_not_interesting,4,2      ## @entry_not_interesting
	.comm	_all_entries_not_interesting,4,2 ## @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entry '%s' in tree %s has tree mode, but is not a tree"

	.comm	_NOT_USER_GIVEN,4,2             ## @NOT_USER_GIVEN
L_.str.1:                               ## @.str.1
	.asciz	"entry '%s' in tree %s has blob mode, but is not a blob"

	.no_dead_strip	_process_tree_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_tree_contents
_process_tree_contents:                 ; @process_tree_contents
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x22, [x8, #8]
Lloh0:
	adrp	x23, _all_entries_interesting@GOTPAGE
Lloh1:
	ldr	x23, [x23, _all_entries_interesting@GOTPAGEOFF]
	ldr	w24, [x23]
Lloh2:
	adrp	x27, _entry_not_interesting@GOTPAGE
Lloh3:
	ldr	x27, [x27, _entry_not_interesting@GOTPAGEOFF]
	ldr	w25, [x27]
	ldr	w1, [x1, #12]
	ldr	w2, [x20, #8]
	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_15
; %bb.1:
	cmp	x22, #0
	csel	w25, w24, w25, eq
	orr	x22, x26, #0x4
Lloh4:
	adrp	x24, _NOT_USER_GIVEN@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NOT_USER_GIVEN@GOTPAGEOFF]
Lloh6:
	adrp	x28, _all_entries_not_interesting@GOTPAGE
Lloh7:
	ldr	x28, [x28, _all_entries_not_interesting@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26, #4]
	orr	w8, w9, w8
	str	w8, [x26, #4]
	ldr	w3, [sp, #8]
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	bl	_process_tree
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_tree_entry
	cbz	x0, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cmp	w25, w8
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x4, [x21]
	ldr	x8, [x4], #8
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, x19
	mov	w3, #0
	bl	_tree_entry_interesting
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.eq	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISDIR
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8]
	mov	x1, x22
	bl	_lookup_tree
	mov	x26, x0
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x27, x0
	ldr	w28, [sp, #8]
	mov	x0, x20
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x27
Lloh10:
	adrp	x27, _entry_not_interesting@GOTPAGE
Lloh11:
	ldr	x27, [x27, _entry_not_interesting@GOTPAGEOFF]
	mov	x1, x28
Lloh12:
	adrp	x28, _all_entries_not_interesting@GOTPAGE
Lloh13:
	ldr	x28, [x28, _all_entries_not_interesting@GOTPAGEOFF]
	bl	_die
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISGITLINK
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	w3, w1, [sp, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_process_gitlink
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8]
	mov	x1, x22
	bl	_lookup_blob
	mov	x26, x0
	cbnz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x27, x0
	ldr	w28, [sp, #8]
	mov	x0, x20
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x27
Lloh16:
	adrp	x27, _entry_not_interesting@GOTPAGE
Lloh17:
	ldr	x27, [x27, _entry_not_interesting@GOTPAGEOFF]
	mov	x1, x28
Lloh18:
	adrp	x28, _all_entries_not_interesting@GOTPAGE
Lloh19:
	ldr	x28, [x28, _all_entries_not_interesting@GOTPAGEOFF]
	bl	_die
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [x26]
	ldr	w3, [sp, #8]
	mov	x0, x21
	mov	x1, x26
	mov	x2, x19
	bl	_process_blob
	b	LBB0_3
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_all_entries_interesting,4,2    ; @all_entries_interesting
	.comm	_entry_not_interesting,4,2      ; @entry_not_interesting
	.comm	_all_entries_not_interesting,4,2 ; @all_entries_not_interesting
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entry '%s' in tree %s has tree mode, but is not a tree"

	.comm	_NOT_USER_GIVEN,4,2             ; @NOT_USER_GIVEN
l_.str.1:                               ; @.str.1
	.asciz	"entry '%s' in tree %s has blob mode, but is not a blob"

	.no_dead_strip	_process_tree_contents
.subsections_via_symbols
