	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_callback
_update_callback:                       ## @update_callback
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_15
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%rbx)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jge	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %r13
	movq	8(%r13), %rax
	movq	(%rax), %r12
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fix_unmerged_status
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %eax
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	movq	_ADD_CACHE_IGNORE_REMOVAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ADD_CACHE_PRETEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_index@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_remove_file_from_index
	movl	(%rbx), %eax
	movq	_ADD_CACHE_PRETEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ADD_CACHE_VERBOSE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_printf
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r13), %esi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movq	_the_index@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_add_file_to_index
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ADD_CACHE_IGNORE_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_8
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected diff status %c"

	.comm	_the_index,4,2                  ## @the_index
	.comm	_ADD_CACHE_IGNORE_ERRORS,4,2    ## @ADD_CACHE_IGNORE_ERRORS
L_.str.1:                               ## @.str.1
	.asciz	"updating files failed"

	.comm	_ADD_CACHE_IGNORE_REMOVAL,4,2   ## @ADD_CACHE_IGNORE_REMOVAL
	.comm	_ADD_CACHE_PRETEND,4,2          ## @ADD_CACHE_PRETEND
	.comm	_ADD_CACHE_VERBOSE,4,2          ## @ADD_CACHE_VERBOSE
L_.str.2:                               ## @.str.2
	.asciz	"remove '%s'\n"

	.no_dead_strip	_update_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_callback
_update_callback:                       ; @update_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	mov	x27, #0
Lloh0:
	adrp	x21, _the_index@GOTPAGE
Lloh1:
	ldr	x21, [x21, _the_index@GOTPAGEOFF]
Lloh2:
	adrp	x28, _ADD_CACHE_IGNORE_ERRORS@GOTPAGE
Lloh3:
	ldr	x28, [x28, _ADD_CACHE_IGNORE_ERRORS@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, _ADD_CACHE_IGNORE_REMOVAL@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ADD_CACHE_IGNORE_REMOVAL@GOTPAGEOFF]
Lloh8:
	adrp	x24, l_.str@PAGE
Lloh9:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x20]
	cmp	x27, x8
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x26, [x8, x27, lsl #3]
	ldr	x8, [x26, #8]
	ldr	x25, [x8]
	mov	x0, x26
	mov	x1, x19
	bl	_fix_unmerged_status
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #130
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x10, _ADD_CACHE_PRETEND@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ADD_CACHE_PRETEND@GOTPAGEOFF]
	ldr	w9, [x10]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x10
	mov	x0, x21
	mov	x1, x25
	bl	_remove_file_from_index
	ldr	w8, [x19]
	ldr	w9, [x26]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x10, _ADD_CACHE_VERBOSE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ADD_CACHE_VERBOSE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x25
	bl	_printf
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	__
	ldr	w8, [x26]
	str	x8, [sp]
	bl	_die
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x19]
	mov	x0, x21
	mov	x1, x25
	bl	_add_file_to_index
	cbz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	__
	bl	_die
	b	LBB0_2
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected diff status %c"

	.comm	_the_index,4,2                  ; @the_index
	.comm	_ADD_CACHE_IGNORE_ERRORS,4,2    ; @ADD_CACHE_IGNORE_ERRORS
l_.str.1:                               ; @.str.1
	.asciz	"updating files failed"

	.comm	_ADD_CACHE_IGNORE_REMOVAL,4,2   ; @ADD_CACHE_IGNORE_REMOVAL
	.comm	_ADD_CACHE_PRETEND,4,2          ; @ADD_CACHE_PRETEND
	.comm	_ADD_CACHE_VERBOSE,4,2          ; @ADD_CACHE_VERBOSE
l_.str.2:                               ; @.str.2
	.asciz	"remove '%s'\n"

	.no_dead_strip	_update_callback
.subsections_via_symbols
