	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_merge_bases_many_0
_get_merge_bases_many_0:                ## @get_merge_bases_many_0
	.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
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_merge_bases_many
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movl	%r14d, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, (%r15,%rcx,8)
	je	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	callq	_commit_list_count
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	movl	$8, %esi
	callq	_xcalloc
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	8(%rbx), %rbx
	addq	$8, %rax
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.10:
	movq	-48(%rbp), %rdi
	callq	_free_commit_list
	movq	_all_flags@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_clear_commit_marks
	movl	(%rbx), %edx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_clear_commit_marks_many
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_remove_redundant
	movq	$0, -48(%rbp)
	testl	%eax, %eax
	jle	LBB0_13
## %bb.11:
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	movq	%r14, %rsi
	callq	_commit_list_insert_by_date
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_12
LBB0_13:
	movq	%r12, %rdi
	callq	_free
	movq	-48(%rbp), %rbx
	jmp	LBB0_14
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.7:
	movq	_all_flags@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_clear_commit_marks
	movl	(%r12), %edx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_clear_commit_marks_many
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_all_flags,4,2                  ## @all_flags
	.no_dead_strip	_get_merge_bases_many_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_merge_bases_many_0
_get_merge_bases_many_0:                ; @get_merge_bases_many_0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	bl	_merge_bases_many
	mov	x21, x0
	str	x0, [sp, #8]
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, w20
	mov	x9, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x23
	b.eq	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	cbz	x21, LBB0_12
; %bb.5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_12
; %bb.6:
	mov	x0, x21
	bl	_commit_list_count
	mov	x25, x0
	mov	w1, #8
	bl	_xcalloc
	mov	x24, x0
	mov	x8, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	str	x9, [x8], #8
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_7
; %bb.8:
	ldr	x0, [sp, #8]
	bl	_free_commit_list
Lloh0:
	adrp	x21, _all_flags@GOTPAGE
Lloh1:
	ldr	x21, [x21, _all_flags@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x23
	bl	_clear_commit_marks
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_clear_commit_marks_many
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_remove_redundant
	str	xzr, [sp, #8]
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w19, w0
	mov	x20, x24
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	add	x1, sp, #8
	bl	_commit_list_insert_by_date
	subs	x19, x19, #1
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x24
	bl	_free
	ldr	x21, [sp, #8]
	b	LBB0_14
LBB0_12:
	cbz	w24, LBB0_14
; %bb.13:
Lloh2:
	adrp	x22, _all_flags@GOTPAGE
Lloh3:
	ldr	x22, [x22, _all_flags@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x23
	bl	_clear_commit_marks
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_clear_commit_marks_many
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_all_flags,4,2                  ; @all_flags
	.no_dead_strip	_get_merge_bases_many_0
.subsections_via_symbols
