	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_fork_point
_handle_fork_point:                     ## @handle_fork_point
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dwim_ref
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.5:
	cmpl	$2, %r14d
	jne	LBB0_6
LBB0_7:
	movq	8(%r15), %rbx
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	movq	(%r15), %rsi
	callq	_die
	cmpl	$2, %r14d
	je	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rbx
LBB0_8:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_10:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_lookup_commit_reference
	movq	-40(%rbp), %rdi
	movq	%rax, %rsi
	callq	_get_fork_point
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rdi
	callq	_oid_to_hex
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	movl	$1, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No such ref: '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"Ambiguous refname: '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"HEAD"

L_.str.3:                               ## @.str.3
	.asciz	"Not a valid object name: '%s'"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_handle_fork_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_fork_point
_handle_fork_point:                     ; @handle_fork_point
	.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, x1
	mov	x20, x0
	ldr	x21, [x1]
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	bl	_dwim_ref
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.2:
	cmp	w20, #2
	b.ne	LBB0_7
LBB0_3:
	ldr	x19, [x19, #8]
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	ldr	x1, [x19]
	bl	_die
	cmp	w20, #2
	b.eq	LBB0_3
LBB0_7:
Lloh4:
	adrp	x19, l_.str.2@PAGE
Lloh5:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_8:
	add	x1, sp, #8
	mov	x0, x19
	bl	_get_oid
	cbz	x0, LBB0_10
; %bb.9:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_10:
Lloh8:
	adrp	x8, _the_repository@GOTPAGE
Lloh9:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_lookup_commit_reference
	mov	x1, x0
	ldr	x0, [sp]
	bl	_get_fork_point
	cbz	x0, LBB0_12
; %bb.11:
	bl	_oid_to_hex
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No such ref: '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"Ambiguous refname: '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"HEAD"

l_.str.3:                               ; @.str.3
	.asciz	"Not a valid object name: '%s'"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_handle_fork_point
.subsections_via_symbols
