	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_parse_tree
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movl	4(%r12), %edx
	movl	8(%r12), %esi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_tree_desc
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	leaq	-48(%rbp), %rbx
	leaq	-56(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_tree_entry
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %edi
	callq	_S_ISDIR
	movq	_the_repository@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_lookup_tree
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_lookup_blob
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_process
	testq	%rax, %rax
	je	LBB0_10
	jmp	LBB0_12
LBB0_11:
	movq	%r12, %rdi
	callq	_free_tree_buffer
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	x20, x0
	mov	x0, x1
	bl	_parse_tree
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_12
LBB0_2:
	ldp	w2, w1, [x19, #4]
	add	x0, sp, #8
	bl	_init_tree_desc
	add	x0, sp, #8
	mov	x1, sp
	bl	_tree_entry
	cbz	x0, LBB0_11
; %bb.3:
Lloh0:
	adrp	x21, _the_repository@GOTPAGE
Lloh1:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_tree_entry
	cbz	x0, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #4]
	bl	_S_ISGITLINK
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #4]
	bl	_S_ISDIR
	mov	x8, x0
	ldr	w0, [x21]
	mov	x1, sp
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_lookup_tree
	mov	x1, x0
	cbnz	x0, LBB0_9
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_lookup_blob
	mov	x1, x0
	cbz	x0, LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x1, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_process
	cbz	x0, LBB0_4
	b	LBB0_1
LBB0_11:
	mov	x0, x19
	bl	_free_tree_buffer
	mov	w0, #0
LBB0_12:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_process_tree
.subsections_via_symbols
