	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_rename
_find_rename:                           ## @find_rename
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	leaq	-64(%rbp), %r15
	movq	%r15, %rsi
	callq	_repo_diff_setup
	movl	$1, -48(%rbp)
	movq	_DIFF_DETECT_RENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_DIFF_FORMAT_NO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	8(%r13), %eax
	movl	%eax, -60(%rbp)
	movq	%r15, %rdi
	callq	_diff_setup_done
	movq	16(%r13), %rdi
	callq	_is_null_oid
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_get_commit_tree_oid
	movl	%eax, %r15d
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	leaq	-64(%rbp), %rsi
	movl	%r15d, %edi
	callq	_do_diff_cache
	jmp	LBB0_3
LBB0_2:
	movq	16(%r13), %rdi
	callq	_get_commit_tree_oid
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rcx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_diff_tree_oid
LBB0_3:
	leaq	-64(%rbp), %rdi
	callq	_diffcore_std
	movq	_diff_queued_diff@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%r14,8), %rbx
	movzbl	(%rbx), %ecx
	cmpb	$82, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$67, %cl
	jne	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	8(%r13), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %eax
	jmp	LBB0_10
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_12:
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_origin
	movq	%rax, %r15
	leaq	4(%rax), %rdi
	movq	8(%rbx), %rsi
	addq	$4, %rsi
	callq	_oidcpy
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_11:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_diff_flush
	movq	%rbx, %rdi
	callq	_clear_pathspec
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_DETECT_RENAME,4,2         ## @DIFF_DETECT_RENAME
	.comm	_DIFF_FORMAT_NO_OUTPUT,4,2      ## @DIFF_FORMAT_NO_OUTPUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_rename
_find_rename:                           ; @find_rename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x19, x1
	add	x1, sp, #8
	bl	_repo_diff_setup
	mov	w8, #1
Lloh0:
	adrp	x9, _DIFF_DETECT_RENAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DIFF_DETECT_RENAME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
Lloh3:
	adrp	x8, _DIFF_FORMAT_NO_OUTPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIFF_FORMAT_NO_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	stp	w9, w8, [sp, #12]
	add	x0, sp, #8
	bl	_diff_setup_done
	ldr	x0, [x20, #16]
	bl	_is_null_oid
	mov	x22, x0
	mov	x0, x19
	bl	_get_commit_tree_oid
	mov	x21, x0
	cbz	x22, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	bl	_do_diff_cache
	b	LBB0_3
LBB0_2:
	ldr	x0, [x20, #16]
	bl	_get_commit_tree_oid
	mov	x1, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x21
	bl	_diff_tree_oid
LBB0_3:
	add	x0, sp, #8
	bl	_diffcore_std
Lloh8:
	adrp	x21, _diff_queued_diff@GOTPAGE
Lloh9:
	ldr	x21, [x21, _diff_queued_diff@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	ldr	x22, [x9, x23, lsl #3]
	ldrb	w9, [x22]
	cmp	w9, #82
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #67
	b.ne	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #16]
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	b	LBB0_5
LBB0_10:
	mov	x19, #0
	b	LBB0_12
LBB0_11:
	ldr	x8, [x22, #8]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_get_origin
	mov	x19, x0
	add	x0, x0, #4
	ldr	x8, [x22, #8]
	add	x1, x8, #4
	bl	_oidcpy
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_12:
	add	x0, sp, #8
	bl	_diff_flush
	add	x0, sp, #8
	bl	_clear_pathspec
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_DETECT_RENAME,4,2         ; @DIFF_DETECT_RENAME
	.comm	_DIFF_FORMAT_NO_OUTPUT,4,2      ; @DIFF_FORMAT_NO_OUTPUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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