	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_dup_ref
_is_dup_ref:                            ## @is_dup_ref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movl	4(%rsi), %esi
	callq	_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.1:
	movq	_REF_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_3
## %bb.2:
	testl	%eax, (%rbx)
	je	LBB0_4
LBB0_3:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_4:
	leaq	8(%r14), %rdi
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_oideq
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_6:
	movl	4(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_warning
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_DIR,4,2                    ## @REF_DIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reference directory conflict: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Duplicated ref, and SHA1s don't match: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Duplicated ref: %s"

	.no_dead_strip	_is_dup_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_dup_ref
_is_dup_ref:                            ; @is_dup_ref
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x1, #4]
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	ldr	w9, [x19]
Lloh0:
	adrp	x8, _REF_DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_DIR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
	ldr	w1, [x19, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_5:
	add	x0, x19, #8
	add	x1, x20, #8
	bl	_oideq
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_7:
	ldr	w1, [x19, #4]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warning
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_DIR,4,2                    ; @REF_DIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reference directory conflict: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Duplicated ref, and SHA1s don't match: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Duplicated ref: %s"

	.no_dead_strip	_is_dup_ref
.subsections_via_symbols
