	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_diff_index                 ## -- Begin function cmd_diff_index
	.p2align	4, 0x90
_cmd_diff_index:                        ## @cmd_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movl	%edi, %r15d
	cmpl	$2, %edi
	jne	LBB0_3
## %bb.1:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_diff_cache_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_3:
	movq	_git_diff_basic_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_git_config
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %r13
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_repo_init_revisions
	movq	$0, -56(%rbp)
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_precompose_argv
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_setup_revisions
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.4:
	movl	%eax, %r13d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	leaq	L_.str.1(%rip), %r15
	movq	_diff_cache_usage@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %edi
	callq	_usage
	jmp	LBB0_8
LBB0_9:
	cmpq	$0, -72(%rbp)
	jne	LBB0_11
## %bb.10:
	movq	_DIFF_FORMAT_RAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
LBB0_11:
	cmpl	$1, -64(%rbp)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_15
## %bb.12:
	cmpl	$-1, -96(%rbp)
	jne	LBB0_15
## %bb.13:
	cmpl	$-1, -92(%rbp)
	jne	LBB0_15
## %bb.14:
	cmpl	$-1, -88(%rbp)
	je	LBB0_16
LBB0_15:
	movq	_diff_cache_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
LBB0_16:
	leaq	-80(%rbp), %r15
	xorl	%eax, %eax
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.20:
	callq	_read_cache
	testq	%rax, %rax
	jns	LBB0_22
## %bb.21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_19
LBB0_17:
	callq	_setup_work_tree
	movq	%r15, %rdi
	callq	_read_cache_preload
	testq	%rax, %rax
	js	LBB0_18
LBB0_22:
	leaq	-96(%rbp), %rdi
	movl	%ebx, %esi
	callq	_run_diff_index
	movl	%eax, %ebx
	movups	-96(%rbp), %xmm0
	movups	-80(%rbp), %xmm1
	movups	-64(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_UNLEAK
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_diff_result_code
LBB0_23:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	leaq	L_.str.2(%rip), %rdi
LBB0_19:
	callq	_perror
	movl	$-1, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-h"

	.comm	_diff_cache_usage,4,2           ## @diff_cache_usage
	.comm	_git_diff_basic_config,4,2      ## @git_diff_basic_config
	.comm	_the_repository,4,2             ## @the_repository
L_.str.1:                               ## @.str.1
	.asciz	"--cached"

	.comm	_DIFF_FORMAT_RAW,8,3            ## @DIFF_FORMAT_RAW
L_.str.2:                               ## @.str.2
	.asciz	"read_cache_preload"

L_.str.3:                               ## @.str.3
	.asciz	"read_cache"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function cmd_diff_index
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cmd_diff_index
	.p2align	2
_cmd_diff_index:                        ; @cmd_diff_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _diff_cache_usage@GOTPAGE
Lloh1:
	ldr	x22, [x22, _diff_cache_usage@GOTPAGEOFF]
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x22]
	bl	_usage
LBB0_3:
Lloh4:
	adrp	x8, _git_diff_basic_config@GOTPAGE
Lloh5:
	ldr	x8, [x8, _git_diff_basic_config@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh7:
	adrp	x8, _the_repository@GOTPAGE
Lloh8:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x23, sp, #64
	add	x1, sp, #64
	mov	x2, x21
	bl	_repo_init_revisions
	str	xzr, [sp, #104]
	mov	x0, x19
	mov	x1, x20
	bl	_precompose_argv
	add	x2, sp, #64
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_setup_revisions
	cmp	w0, #2
	b.lt	LBB0_9
; %bb.4:
	mov	w19, #0
	mov	w8, w0
	add	x21, x20, #8
	sub	x24, x8, #1
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w19, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #8
	subs	x24, x24, #1
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22]
	bl	_usage
	b	LBB0_6
LBB0_9:
	mov	w19, #0
LBB0_10:
	ldr	x8, [sp, #88]
	cbnz	x8, LBB0_12
; %bb.11:
Lloh12:
	adrp	x8, _DIFF_FORMAT_RAW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DIFF_FORMAT_RAW@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [sp, #88]
LBB0_12:
	add	x20, x23, #16
	add	x8, sp, #64
	ldr	d0, [sp, #96]
	ldr	d1, [sp, #64]
	zip1.2s	v0, v0, v1
	dup.2s	v1, v1[1]
	add	x8, x8, #8
	mov.d	v0[1], v1[0]
	ld1.s	{ v0 }[3], [x8]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	cmeq.4s	v0, v0, v1
	mvn.16b	v0, v0
	xtn.4h	v0, v0
	umov.h	w8, v0[0]
	umov.h	w9, v0[1]
	and	w9, w9, #0x1
	bfi	w8, w9, #1, #1
	umov.h	w9, v0[2]
	and	w9, w9, #0x1
	bfi	w8, w9, #2, #1
	umov.h	w9, v0[3]
	bfi	w8, w9, #3, #29
	tst	w8, #0xf
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x22]
	bl	_usage
LBB0_14:
	cbz	w19, LBB0_17
; %bb.15:
	bl	_read_cache
	tbz	x0, #63, LBB0_18
; %bb.16:
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_17:
	bl	_setup_work_tree
	mov	x0, x20
	bl	_read_cache_preload
	tbnz	x0, #63, LBB0_20
LBB0_18:
	add	x0, sp, #64
	mov	x1, x19
	bl	_run_diff_index
	mov	x19, x0
	ldp	q0, q1, [sp, #64]
	stp	q0, q1, [sp, #16]
	ldr	q0, [sp, #96]
	str	q0, [sp, #48]
	add	x0, sp, #16
	bl	_UNLEAK
	mov	x0, x20
	mov	x1, x19
	bl	_diff_result_code
LBB0_19:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_20:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_21:
	bl	_perror
	mov	w0, #-1
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-h"

	.comm	_diff_cache_usage,4,2           ; @diff_cache_usage
	.comm	_git_diff_basic_config,4,2      ; @git_diff_basic_config
	.comm	_the_repository,4,2             ; @the_repository
l_.str.1:                               ; @.str.1
	.asciz	"--cached"

	.comm	_DIFF_FORMAT_RAW,8,3            ; @DIFF_FORMAT_RAW
l_.str.2:                               ; @.str.2
	.asciz	"read_cache_preload"

l_.str.3:                               ; @.str.3
	.asciz	"read_cache"

.subsections_via_symbols
