	.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	24(%rdi), %r15
	cmpl	$0, 24(%r15)
	je	LBB0_25
## %bb.1:
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movslq	(%rdx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_3:
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movq	_SEEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_4
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_parse_tree_gently
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	cmpq	$0, 16(%r15)
	jne	LBB0_25
## %bb.6:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.7:
	leaq	4(%rbx), %rdi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_is_promisor_object
	testq	%rax, %rax
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_25
LBB0_8:
	cmpl	$0, 4(%r15)
	jne	LBB0_10
## %bb.9:
	leaq	4(%rbx), %rdi
	movl	%eax, %r15d
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
	movl	%r15d, %eax
LBB0_10:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	24(%r12), %rax
	movl	(%rax), %edi
	movq	_LOFS_BEGIN_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %r8
	movl	16(%r12), %r9d
	movq	%rbx, %rdx
	callq	_list_objects_filter__filter_object
	movl	%eax, %r13d
	movq	_LOFR_MARK_SEEN@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_12:
	movq	_LOFR_DO_SHOW@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_14
## %bb.13:
	movq	8(%r14), %rsi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	*8(%r12)
LBB0_14:
	cmpl	$0, (%r14)
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
LBB0_16:
	movq	_LOFR_SKIP_TREE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
## %bb.17:
	movq	8(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_trace_printf
	jmp	LBB0_20
LBB0_18:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_process_tree_contents
LBB0_20:
	movq	24(%r12), %rax
	movl	(%rax), %edi
	movq	_LOFS_END_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	leaq	(%rcx,%r15,4), %r8
	movl	16(%r12), %r9d
	movq	%rbx, %rdx
	callq	_list_objects_filter__filter_object
	movq	_LOFR_MARK_SEEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	movq	_SEEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
LBB0_22:
	movq	_LOFR_DO_SHOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movq	8(%r14), %rsi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	*8(%r12)
LBB0_24:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_strbuf_setlen
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_tree_buffer               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad tree object"

	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_SEEN,4,2                       ## @SEEN
L_.str.1:                               ## @.str.1
	.asciz	"bad tree object %s"

	.comm	_LOFS_BEGIN_TREE,4,2            ## @LOFS_BEGIN_TREE
	.comm	_LOFR_MARK_SEEN,4,2             ## @LOFR_MARK_SEEN
	.comm	_LOFR_DO_SHOW,4,2               ## @LOFR_DO_SHOW
	.comm	_LOFR_SKIP_TREE,4,2             ## @LOFR_SKIP_TREE
L_.str.2:                               ## @.str.2
	.asciz	"Skipping contents of tree %s...\n"

	.comm	_LOFS_END_TREE,4,2              ## @LOFS_END_TREE
	.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x26, [x0, #24]
	ldr	w8, [x26, #24]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldrsw	x21, [x2]
	cbnz	x1, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _UNINTERESTING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UNINTERESTING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x25, _SEEN@GOTPAGE
Lloh6:
	ldr	x25, [x25, _SEEN@GOTPAGEOFF]
	ldr	w10, [x25]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	bl	_parse_tree_gently
	mov	x23, x0
	cbz	w0, LBB0_11
; %bb.6:
	ldr	x8, [x26, #16]
	cbnz	x8, LBB0_4
; %bb.7:
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_9
; %bb.8:
	add	x0, x19, #4
	bl	_is_promisor_object
	cbnz	x0, LBB0_4
LBB0_9:
	ldr	w8, [x26, #4]
	cbnz	w8, LBB0_11
; %bb.10:
	add	x0, x19, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_11:
	mov	x0, x20
	mov	x1, x24
	bl	_strbuf_addstr
	ldr	x8, [x22, #24]
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _LOFS_BEGIN_TREE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOFS_BEGIN_TREE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x3, [x20, #8]
	add	x4, x3, x21, lsl #2
	ldr	w5, [x22, #16]
	mov	x2, x19
	bl	_list_objects_filter__filter_object
	mov	x24, x0
Lloh12:
	adrp	x26, _LOFR_MARK_SEEN@GOTPAGE
Lloh13:
	ldr	x26, [x26, _LOFR_MARK_SEEN@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
	ldr	w8, [x25]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_13:
Lloh14:
	adrp	x27, _LOFR_DO_SHOW@GOTPAGE
Lloh15:
	ldr	x27, [x27, _LOFR_DO_SHOW@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w24
	b.eq	LBB0_15
; %bb.14:
	ldr	x8, [x22, #8]
	ldr	x1, [x20, #8]
	ldr	w2, [x22]
	mov	x0, x19
	blr	x8
LBB0_15:
	ldr	w8, [x20]
	cbz	w8, LBB0_17
; %bb.16:
	mov	x0, x20
	mov	w1, #47
	bl	_strbuf_addch
LBB0_17:
Lloh16:
	adrp	x8, _LOFR_SKIP_TREE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOFR_SKIP_TREE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_19
; %bb.18:
	ldr	x1, [x20, #8]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_trace_printf
	b	LBB0_21
LBB0_19:
	cbnz	w23, LBB0_21
; %bb.20:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_process_tree_contents
LBB0_21:
	ldr	x8, [x22, #24]
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _LOFS_END_TREE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOFS_END_TREE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	x3, [x20, #8]
	add	x4, x3, x21, lsl #2
	ldr	w5, [x22, #16]
	mov	x2, x19
	bl	_list_objects_filter__filter_object
	ldr	w8, [x26]
	tst	w8, w0
	b.eq	LBB0_23
; %bb.22:
	ldr	w8, [x25]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_23:
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_25
; %bb.24:
	ldr	x8, [x22, #8]
	ldr	x1, [x20, #8]
	ldr	w2, [x22]
	mov	x0, x19
	blr	x8
LBB0_25:
	mov	x0, x20
	mov	x1, x21
	bl	_strbuf_setlen
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_free_tree_buffer
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad tree object"

	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_SEEN,4,2                       ; @SEEN
l_.str.1:                               ; @.str.1
	.asciz	"bad tree object %s"

	.comm	_LOFS_BEGIN_TREE,4,2            ; @LOFS_BEGIN_TREE
	.comm	_LOFR_MARK_SEEN,4,2             ; @LOFR_MARK_SEEN
	.comm	_LOFR_DO_SHOW,4,2               ; @LOFR_DO_SHOW
	.comm	_LOFR_SKIP_TREE,4,2             ; @LOFR_SKIP_TREE
l_.str.2:                               ; @.str.2
	.asciz	"Skipping contents of tree %s...\n"

	.comm	_LOFS_END_TREE,4,2              ; @LOFS_END_TREE
	.no_dead_strip	_process_tree
.subsections_via_symbols
