	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repo_index_has_changes         ## -- Begin function repo_index_has_changes
	.p2align	4, 0x90
_repo_index_has_changes:                ## @repo_index_has_changes
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movl	(%rsi), %eax
	movl	%eax, -40(%rbp)
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_repo_diff_setup
	movl	$1, -56(%rbp)
	testq	%r12, %r12
	jne	LBB0_4
## %bb.3:
	movl	$1, -52(%rbp)
LBB0_4:
	leaq	-40(%rbp), %rdi
	leaq	-56(%rbp), %r14
	movq	%r14, %rsi
	callq	_do_diff_cache
	movq	%r14, %rdi
	callq	_diffcore_std
	testq	%r12, %r12
	je	LBB0_9
## %bb.5:
	movq	_diff_queued_diff@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.6:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	cmpl	$2, (%r14)
	jl	LBB0_9
## %bb.7:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_strbuf_addch
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	leaq	-56(%rbp), %rdi
	callq	_diff_flush
	cmpq	$0, -48(%rbp)
	jmp	LBB0_17
LBB0_10:
	movq	(%r14), %r15
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsi
	callq	_get_oid_tree
	testl	%eax, %eax
	je	LBB0_2
## %bb.11:
	testq	%r12, %r12
	je	LBB0_16
## %bb.12:
	cmpl	$0, (%r15)
	jle	LBB0_16
## %bb.13:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	cmpl	$2, (%r15)
	jl	LBB0_16
## %bb.14:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_strbuf_addch
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	cmpl	$0, (%r15)
LBB0_17:
	setne	%al
	movzbl	%al, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_diff_queued_diff,16,3          ## @diff_queued_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_repo_index_has_changes         ; -- Begin function repo_index_has_changes
	.p2align	2
_repo_index_has_changes:                ; @repo_index_has_changes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x0
	cbz	x1, LBB0_10
; %bb.1:
	ldr	w8, [x1]
	str	w8, [sp, #24]
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_repo_diff_setup
	mov	w8, #1
	str	w8, [sp, #8]
	cbnz	x19, LBB0_4
; %bb.3:
	str	w8, [sp, #12]
LBB0_4:
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_do_diff_cache
	add	x0, sp, #8
	bl	_diffcore_std
	cbz	x19, LBB0_9
; %bb.5:
Lloh0:
	adrp	x20, _diff_queued_diff@GOTPAGE
Lloh1:
	ldr	x20, [x20, _diff_queued_diff@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strbuf_addstr
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #32
	bl	_strbuf_addch
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strbuf_addstr
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	add	x0, sp, #8
	bl	_diff_flush
	ldr	x8, [sp, #16]
	cmp	x8, #0
	b	LBB0_17
LBB0_10:
	ldr	x21, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #24
	bl	_get_oid_tree
	cbz	w0, LBB0_2
; %bb.11:
	cbz	x19, LBB0_16
; %bb.12:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.13:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strbuf_addstr
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.14:
	mov	w20, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #32
	bl	_strbuf_addch
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strbuf_addstr
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_15
LBB0_16:
	ldr	w8, [x21]
	cmp	w8, #0
LBB0_17:
	cset	w0, ne
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_diff_queued_diff,16,3          ; @diff_queued_diff
.subsections_via_symbols
