	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diffcore_std                   ## -- Begin function diffcore_std
	.p2align	4, 0x90
_diffcore_std:                          ## @diffcore_std
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_the_repository@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	callq	_has_promisor_remote
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_OID_ARRAY_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_diff_queued_diff@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	(%r12), %rdi
	movl	4(%r13), %edx
	movq	%r14, %rsi
	callq	_add_if_missing
	movq	(%r12), %rdi
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_add_if_missing
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rdi
	movl	-56(%rbp), %esi
	callq	_promisor_remote_get_direct
LBB0_7:
	leaq	-64(%rbp), %rdi
	callq	_oid_array_clear
LBB0_8:
	cmpq	$0, 48(%r12)
	je	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_diffcore_skip_stat_unmatch
LBB0_10:
	cmpq	$0, 16(%r12)
	jne	LBB0_17
## %bb.11:
	movl	8(%r12), %esi
	cmpl	$-1, %esi
	je	LBB0_13
## %bb.12:
	movq	(%r12), %rdi
	callq	_diffcore_break
LBB0_13:
	cmpq	$0, 40(%r12)
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_diffcore_rename
LBB0_15:
	cmpl	$-1, 8(%r12)
	je	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_diffcore_merge_broken
LBB0_17:
	movq	_DIFF_PICKAXE_KINDS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r12)
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_diffcore_pickaxe
LBB0_19:
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_diffcore_order
LBB0_21:
	cmpq	$0, 16(%r12)
	jne	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_diff_resolve_rename_copy
LBB0_23:
	movq	%r12, %rdi
	callq	_diffcore_apply_filter
	movq	_diff_queued_diff@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_26
## %bb.24:
	cmpl	$0, 28(%r12)
	je	LBB0_25
LBB0_26:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_25:
	movl	$1, %eax
LBB0_27:
	movl	%eax, 24(%r12)
	movq	$0, 16(%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,8,3             ## @the_repository
	.comm	_diff_queued_diff,16,3          ## @diff_queued_diff
	.comm	_OID_ARRAY_INIT,16,3            ## @OID_ARRAY_INIT
	.comm	_DIFF_PICKAXE_KINDS_MASK,4,2    ## @DIFF_PICKAXE_KINDS_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diffcore_std                   ; -- Begin function diffcore_std
	.p2align	2
_diffcore_std:                          ; @diffcore_std
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _the_repository@GOTPAGE
Lloh1:
	ldr	x9, [x9, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x20, _diff_queued_diff@GOTPAGE
Lloh4:
	ldr	x20, [x20, _diff_queued_diff@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	bl	_has_promisor_remote
	cbz	x0, LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _OID_ARRAY_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OID_ARRAY_INIT@GOTPAGEOFF]
Lloh7:
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x22, [x8, x21, lsl #3]
	ldr	x0, [x19]
	ldr	w2, [x22, #4]
	mov	x1, sp
	bl	_add_if_missing
	ldr	x0, [x19]
	ldr	w2, [x22]
	mov	x1, sp
	bl	_add_if_missing
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x2, [sp]
	cbz	x2, LBB0_7
; %bb.6:
	ldr	x0, [x19]
	ldr	w1, [sp, #8]
	bl	_promisor_remote_get_direct
LBB0_7:
	mov	x0, sp
	bl	_oid_array_clear
LBB0_8:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_diffcore_skip_stat_unmatch
LBB0_10:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_17
; %bb.11:
	ldr	w1, [x19, #8]
	cmn	w1, #1
	b.eq	LBB0_13
; %bb.12:
	ldr	x0, [x19]
	bl	_diffcore_break
LBB0_13:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_diffcore_rename
LBB0_15:
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.eq	LBB0_17
; %bb.16:
	bl	_diffcore_merge_broken
LBB0_17:
	ldr	w8, [x19, #12]
Lloh8:
	adrp	x9, _DIFF_PICKAXE_KINDS_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DIFF_PICKAXE_KINDS_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_diffcore_pickaxe
LBB0_19:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_diffcore_order
LBB0_21:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_23
; %bb.22:
	bl	_diff_resolve_rename_copy
LBB0_23:
	mov	x0, x19
	bl	_diffcore_apply_filter
	ldr	w8, [x20]
	cbz	w8, LBB0_25
; %bb.24:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_26
LBB0_25:
	mov	w8, #0
	b	LBB0_27
LBB0_26:
	mov	w8, #1
LBB0_27:
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,8,3             ; @the_repository
	.comm	_diff_queued_diff,16,3          ; @diff_queued_diff
	.comm	_OID_ARRAY_INIT,16,3            ; @OID_ARRAY_INIT
	.comm	_DIFF_PICKAXE_KINDS_MASK,4,2    ; @DIFF_PICKAXE_KINDS_MASK
.subsections_via_symbols
