	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_index_unchanged
_is_index_unchanged:                    ## @is_index_unchanged
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	leaq	-32(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_resolve_ref_unsafe
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_lookup_commit
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_parse_commit
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	callq	_get_cache_tree_oid
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_get_commit_tree_oid
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_oideq
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
LBB0_5:
	movl	%eax, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
L_.str.1:                               ## @.str.1
	.asciz	"could not resolve HEAD commit"

	.no_dead_strip	_is_index_unchanged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_index_unchanged
_is_index_unchanged:                    ; @is_index_unchanged
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _RESOLVE_REF_READING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, #0
	bl	_resolve_ref_unsafe
	cbz	w0, LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_lookup_commit
	mov	x20, x0
	bl	_parse_commit
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_error
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_get_cache_tree_oid
	cbz	x0, LBB0_2
; %bb.5:
	mov	x19, x0
	mov	x0, x20
	bl	_get_commit_tree_oid
	mov	x1, x0
	mov	x0, x19
	bl	_oideq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
l_.str.1:                               ; @.str.1
	.asciz	"could not resolve HEAD commit"

	.no_dead_strip	_is_index_unchanged
.subsections_via_symbols
