	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_from_tree
_read_from_tree:                        ## @read_from_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	%edx, -36(%rbp)
	leaq	-72(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_copy_pathspec
	movq	_DIFF_FORMAT_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_update_index_from_diff@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-36(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	$1, -56(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_do_diff_cache
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_diffcore_std
	movq	%rbx, %rdi
	callq	_diff_flush
	movq	%r14, %rdi
	callq	_clear_pathspec
	xorl	%eax, %eax
LBB0_2:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_FORMAT_CALLBACK,4,2       ## @DIFF_FORMAT_CALLBACK
	.comm	_update_index_from_diff,4,2     ## @update_index_from_diff
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_read_from_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_from_tree
_read_from_tree:                        ; @read_from_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x20, x0
	stur	w2, [x29, #-36]
	add	x19, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x19, x19, #8
	mov	x0, x19
	mov	x1, x20
	bl	_copy_pathspec
Lloh0:
	adrp	x8, _DIFF_FORMAT_CALLBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIFF_FORMAT_CALLBACK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _update_index_from_diff@GOTPAGE
Lloh3:
	ldr	x9, [x9, _update_index_from_diff@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #28]
	sub	x8, x29, #36
	str	x8, [sp, #8]
	mov	w20, #1
Lloh6:
	adrp	x8, _the_repository@GOTPAGE
Lloh7:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w20, [sp, #20]
	add	x1, sp, #8
	mov	x0, x21
	bl	_do_diff_cache
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_diffcore_std
	add	x0, sp, #8
	bl	_diff_flush
	mov	x0, x19
	bl	_clear_pathspec
	mov	w20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_FORMAT_CALLBACK,4,2       ; @DIFF_FORMAT_CALLBACK
	.comm	_update_index_from_diff,4,2     ; @update_index_from_diff
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_read_from_tree
.subsections_via_symbols
