	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_tree
_process_tree:                          ## @process_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_LOCAL@GOTPCREL(%rip), %rax
	movl	8(%rdi), %ecx
	orl	(%rax), %ecx
	movq	%rsi, %rbx
	movl	%ecx, 8(%rdi)
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movq	_SEEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%rax), %edx
	testl	%ecx, %edx
	jne	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	leaq	8(%rdi), %r15
	callq	_parse_tree
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	leaq	12(%r14), %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_3:
	movl	(%r12), %eax
	orl	%eax, 8(%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_add_one_object
	movq	%rax, %rbx
	movl	(%r14), %edx
	movl	4(%r14), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_init_tree_desc
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	_the_repository@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r15
	leaq	-48(%rbp), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_lookup_blob
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_process_blob
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %edi
	callq	_object_type
	cmpl	$129, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_lookup_tree
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_process_tree
	jmp	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	callq	_free_tree_buffer
LBB0_12:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCAL,4,2                      ## @LOCAL
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_SEEN,4,2                       ## @SEEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad tree object %s"

	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_process_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_tree
_process_tree:                          ; @process_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x21, #8]!
Lloh0:
	adrp	x9, _LOCAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
Lloh3:
	adrp	x9, _UNINTERESTING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UNINTERESTING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x22, _SEEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SEEN@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_12
; %bb.1:
	mov	x20, x0
	bl	_parse_tree
	tbz	x0, #63, LBB0_3
; %bb.2:
	add	x0, x20, #12
	bl	_oid_to_hex
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	ldr	w8, [x22]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_add_one_object
	mov	x19, x0
	ldp	w2, w1, [x20]
	add	x0, sp, #8
	bl	_init_tree_desc
	add	x0, sp, #8
	mov	x1, sp
	bl	_tree_entry
	cbz	x0, LBB0_11
; %bb.4:
Lloh10:
	adrp	x21, _the_repository@GOTPAGE
Lloh11:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x21]
	mov	x1, sp
	bl	_lookup_blob
	mov	x1, x19
	bl	_process_blob
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x19, x0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_tree_entry
	cbz	x0, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #4]
	bl	_object_type
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w0, #128
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x21]
	mov	x1, sp
	bl	_lookup_tree
	mov	x1, x19
	bl	_process_tree
	b	LBB0_6
LBB0_11:
	mov	x0, x20
	bl	_free_tree_buffer
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCAL,4,2                      ; @LOCAL
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_SEEN,4,2                       ; @SEEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad tree object %s"

	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_process_tree
.subsections_via_symbols
