	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_diff_index                 ## -- Begin function run_diff_index
	.p2align	4, 0x90
_run_diff_index:                        ## @run_diff_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$1, 8(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_2:
	xorl	%eax, %eax
	callq	_trace_performance_enter
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_diff_cache
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	testl	%r14d, %r14d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_diff_set_mnemonic_prefix
	xorl	%eax, %eax
	callq	_diffcore_fix_diff_index
	movq	%rbx, %rdi
	callq	_diffcore_std
	movq	%rbx, %rdi
	callq	_diff_flush
	leaq	L_.str.4(%rip), %rdi
	callq	_trace_performance_leave
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	$128, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"run_diff_index must be passed exactly one tree"

L_.str.1:                               ## @.str.1
	.asciz	"c/"

L_.str.2:                               ## @.str.2
	.asciz	"i/"

L_.str.3:                               ## @.str.3
	.asciz	"w/"

L_.str.4:                               ## @.str.4
	.asciz	"diff-index"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_run_diff_index                 ; -- Begin function run_diff_index
	.p2align	2
_run_diff_index:                        ; @run_diff_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_2:
	bl	_trace_performance_enter
	ldr	x8, [x19, #16]
	ldr	x1, [x8, #8]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x20
	bl	_diff_cache
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, l_.str.2@PAGE
Lloh3:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_diff_set_mnemonic_prefix
	bl	_diffcore_fix_diff_index
	mov	x0, x19
	bl	_diffcore_std
	mov	x0, x19
	bl	_diff_flush
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trace_performance_leave
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #128
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"run_diff_index must be passed exactly one tree"

l_.str.1:                               ; @.str.1
	.asciz	"c/"

l_.str.2:                               ; @.str.2
	.asciz	"i/"

l_.str.3:                               ; @.str.3
	.asciz	"w/"

l_.str.4:                               ; @.str.4
	.asciz	"diff-index"

.subsections_via_symbols
