	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commit_graph_compatible
_commit_graph_compatible:               ## @commit_graph_compatible
	.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
	xorl	%r14d, %r14d
	cmpl	$0, 16(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	_read_replace_refs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_prepare_replace_object
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_hashmap_get_size
	testq	%rax, %rax
	jne	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_prepare_commit_graft
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%rax)
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_is_repository_shallow
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_read_replace_refs,8,3          ## @read_replace_refs
	.no_dead_strip	_commit_graph_compatible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commit_graph_compatible
_commit_graph_compatible:               ; @commit_graph_compatible
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _read_replace_refs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _read_replace_refs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_prepare_replace_object
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_hashmap_get_size
	cbnz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_prepare_commit_graft
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_is_repository_shallow
	cmp	x0, #0
	cset	w0, eq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_read_replace_refs,8,3          ; @read_replace_refs
	.no_dead_strip	_commit_graph_compatible
.subsections_via_symbols
