	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_fork_point                 ## -- Begin function get_fork_point
	.p2align	4, 0x90
_get_fork_point:                        ## @get_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, %r14
	movq	%rdi, %rbx
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	$1, -40(%rbp)
	movq	_collect_one_reflog_ent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_for_each_reflog_ent
	movl	-36(%rbp), %esi
	testl	%esi, %esi
	jne	LBB0_4
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_oid
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	-48(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_add_one_commit
LBB0_3:
	movl	-36(%rbp), %esi
LBB0_4:
	movq	-32(%rbp), %rdx
	testl	%esi, %esi
	jle	LBB0_11
## %bb.5:
	movl	%esi, %r8d
	cmpl	$1, %esi
	jne	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_7:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%ecx, %ecx
	movq	_TMP_MARK@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	notl	%eax
	movq	(%rdx,%rcx,8), %rdi
	andl	%eax, (%rdi)
	movl	(%rbx), %eax
	notl	%eax
	movq	8(%rdx,%rcx,8), %rdi
	andl	%eax, (%rdi)
	addq	$2, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_8
LBB0_9:
	testb	$1, %r8b
	je	LBB0_11
## %bb.10:
	movq	_TMP_MARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%rdx,%rcx,8), %rcx
	andl	%eax, (%rcx)
LBB0_11:
	movq	%r14, %rdi
	callq	_get_merge_bases_many
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	cmpq	$0, 8(%rax)
	je	LBB0_16
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rax, %rdi
	callq	_free_commit_list
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	-36(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.17:
	movq	(%rax), %rbx
	movq	-32(%rbp), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdx,%rsi,8), %rbx
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_18
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_collect_one_reflog_ent,4,2     ## @collect_one_reflog_ent
	.comm	_TMP_MARK,4,2                   ## @TMP_MARK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_fork_point                 ; -- Begin function get_fork_point
	.p2align	2
_get_fork_point:                        ; @get_fork_point
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _collect_one_reflog_ent@GOTPAGE
Lloh1:
	ldr	x8, [x8, _collect_one_reflog_ent@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_for_each_reflog_ent
	ldr	w1, [sp, #12]
	cbnz	w1, LBB0_4
; %bb.1:
	add	x1, sp, #24
	mov	x0, x20
	bl	_get_oid
	cbnz	w0, LBB0_3
; %bb.2:
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_add_one_commit
LBB0_3:
	ldr	w1, [sp, #12]
LBB0_4:
	ldr	x2, [sp, #16]
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w8, w1
Lloh3:
	adrp	x9, _TMP_MARK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMP_MARK@GOTPAGEOFF]
	mov	x10, x2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	ldr	x12, [x10], #8
	ldr	w13, [x12]
	bic	w11, w13, w11
	str	w11, [x12]
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_get_merge_bases_many
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_11
LBB0_9:
	mov	x19, #0
LBB0_10:
	bl	_free_commit_list
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.12:
	ldr	x19, [x0]
	ldr	x9, [sp, #16]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x19, x10
	b.eq	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_13
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_collect_one_reflog_ent,4,2     ; @collect_one_reflog_ent
	.comm	_TMP_MARK,4,2                   ; @TMP_MARK
.subsections_via_symbols
