	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_resolve_rename_copy
_diff_resolve_rename_copy:              ## @diff_resolve_rename_copy
	.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
	leaq	L_.str(%rip), %rdi
	movq	_diff_queued_diff@GOTPCREL(%rip), %r15
	movq	%r15, %rsi
	callq	_diff_debug_queue
	cmpl	$0, (%r15)
	jle	LBB0_17
## %bb.1:
	xorl	%ebx, %ebx
	movq	_DIFF_STATUS_UNMERGED@GOTPCREL(%rip), %r13
	movq	_DIFF_STATUS_ADDED@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %rax
	movq	%rax, (%r12)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r12
	movq	$0, (%r12)
	movq	%r12, %rdi
	callq	_DIFF_PAIR_UNMERGED
	movq	%r13, %rcx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	callq	_DIFF_FILE_VALID
	movq	%r14, %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12), %rdi
	callq	_DIFF_FILE_VALID
	movq	_DIFF_STATUS_DELETED@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_DIFF_PAIR_TYPE_CHANGED
	movq	_DIFF_STATUS_TYPE_CHANGED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_DIFF_PAIR_RENAME
	movq	8(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rdi), %edi
	movq	16(%r12), %rax
	movl	16(%rax), %esi
	callq	_strcmp
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rdx
	leaq	-1(%rdx), %rcx
	movq	%rcx, (%rax)
	movq	_DIFF_STATUS_RENAMED@GOTPCREL(%rip), %rcx
	cmpq	$2, %rdx
	jl	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIFF_STATUS_COPIED@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$20, %rdi
	movq	16(%r12), %rsi
	addq	$20, %rsi
	callq	_oideq
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movq	16(%r12), %rax
	movq	8(%rdi), %rdx
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	cmpq	8(%rax), %rdx
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rdi)
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rax)
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$20, %rdi
	callq	_is_null_oid
	movq	_DIFF_STATUS_MODIFIED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	movl	16(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	movq	_DIFF_STATUS_UNKNOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_17:
	leaq	L_.str.2(%rip), %rdi
	movq	_diff_queued_diff@GOTPCREL(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_diff_debug_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_diff_queued_diff,16,3          ## @diff_queued_diff
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resolve-rename-copy"

	.comm	_DIFF_STATUS_UNMERGED,8,3       ## @DIFF_STATUS_UNMERGED
	.comm	_DIFF_STATUS_ADDED,8,3          ## @DIFF_STATUS_ADDED
	.comm	_DIFF_STATUS_DELETED,8,3        ## @DIFF_STATUS_DELETED
	.comm	_DIFF_STATUS_TYPE_CHANGED,8,3   ## @DIFF_STATUS_TYPE_CHANGED
	.comm	_DIFF_STATUS_MODIFIED,8,3       ## @DIFF_STATUS_MODIFIED
	.comm	_DIFF_STATUS_COPIED,8,3         ## @DIFF_STATUS_COPIED
	.comm	_DIFF_STATUS_RENAMED,8,3        ## @DIFF_STATUS_RENAMED
L_.str.1:                               ## @.str.1
	.asciz	"feeding unmodified %s to diffcore"

	.comm	_DIFF_STATUS_UNKNOWN,8,3        ## @DIFF_STATUS_UNKNOWN
L_.str.2:                               ## @.str.2
	.asciz	"resolve-rename-copy done"

	.no_dead_strip	_diff_resolve_rename_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_resolve_rename_copy
_diff_resolve_rename_copy:              ; @diff_resolve_rename_copy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x19, _diff_queued_diff@GOTPAGE
Lloh3:
	ldr	x19, [x19, _diff_queued_diff@GOTPAGEOFF]
	mov	x1, x19
	bl	_diff_debug_queue
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x22, #0
Lloh4:
	adrp	x23, _DIFF_STATUS_UNMERGED@GOTPAGE
Lloh5:
	ldr	x23, [x23, _DIFF_STATUS_UNMERGED@GOTPAGEOFF]
Lloh6:
	adrp	x24, _DIFF_STATUS_ADDED@GOTPAGE
Lloh7:
	ldr	x24, [x24, _DIFF_STATUS_ADDED@GOTPAGEOFF]
Lloh8:
	adrp	x25, _DIFF_STATUS_DELETED@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DIFF_STATUS_DELETED@GOTPAGEOFF]
Lloh10:
	adrp	x26, _DIFF_STATUS_TYPE_CHANGED@GOTPAGE
Lloh11:
	ldr	x26, [x26, _DIFF_STATUS_TYPE_CHANGED@GOTPAGEOFF]
Lloh12:
	adrp	x27, _DIFF_STATUS_MODIFIED@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DIFF_STATUS_MODIFIED@GOTPAGEOFF]
Lloh14:
	adrp	x20, _DIFF_STATUS_RENAMED@GOTPAGE
Lloh15:
	ldr	x20, [x20, _DIFF_STATUS_RENAMED@GOTPAGEOFF]
Lloh16:
	adrp	x28, _DIFF_STATUS_COPIED@GOTPAGE
Lloh17:
	ldr	x28, [x28, _DIFF_STATUS_COPIED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x24
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8]
	str	x8, [x21]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x21, [x8, x22, lsl #3]
	str	xzr, [x21]
	mov	x0, x21
	bl	_DIFF_PAIR_UNMERGED
	mov	x8, x23
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #8]
	bl	_DIFF_FILE_VALID
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #16]
	bl	_DIFF_FILE_VALID
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_DIFF_PAIR_TYPE_CHANGED
	mov	x8, x26
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_DIFF_PAIR_RENAME
	ldr	x8, [x21, #8]
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8, #16]
	ldr	x8, [x21, #16]
	ldr	w1, [x8, #16]
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	csel	x8, x28, x20, gt
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x25
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x8, #20
	ldr	x8, [x21, #16]
	add	x1, x8, #20
	bl	_oideq
	cbz	w0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x10, [x21, #8]
	ldr	x11, [x9, #8]
	ldr	x12, [x10, #8]
	mov	x8, x27
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x9, #24]
	mov	x8, x27
	cbnz	x11, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10, #24]
	mov	x8, x27
	cbnz	x10, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x9, #20
	bl	_is_null_oid
	mov	x8, x27
	cbnz	x0, LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #16]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
Lloh20:
	adrp	x8, _DIFF_STATUS_UNKNOWN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DIFF_STATUS_UNKNOWN@GOTPAGEOFF]
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
	b	LBB0_3
LBB0_19:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh24:
	adrp	x1, _diff_queued_diff@GOTPAGE
Lloh25:
	ldr	x1, [x1, _diff_queued_diff@GOTPAGEOFF]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_diff_debug_queue
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_diff_queued_diff,16,3          ; @diff_queued_diff
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resolve-rename-copy"

	.comm	_DIFF_STATUS_UNMERGED,8,3       ; @DIFF_STATUS_UNMERGED
	.comm	_DIFF_STATUS_ADDED,8,3          ; @DIFF_STATUS_ADDED
	.comm	_DIFF_STATUS_DELETED,8,3        ; @DIFF_STATUS_DELETED
	.comm	_DIFF_STATUS_TYPE_CHANGED,8,3   ; @DIFF_STATUS_TYPE_CHANGED
	.comm	_DIFF_STATUS_MODIFIED,8,3       ; @DIFF_STATUS_MODIFIED
	.comm	_DIFF_STATUS_COPIED,8,3         ; @DIFF_STATUS_COPIED
	.comm	_DIFF_STATUS_RENAMED,8,3        ; @DIFF_STATUS_RENAMED
l_.str.1:                               ; @.str.1
	.asciz	"feeding unmodified %s to diffcore"

	.comm	_DIFF_STATUS_UNKNOWN,8,3        ; @DIFF_STATUS_UNKNOWN
l_.str.2:                               ; @.str.2
	.asciz	"resolve-rename-copy done"

	.no_dead_strip	_diff_resolve_rename_copy
.subsections_via_symbols
