	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_bases_many
_merge_bases_many:                      ## @merge_bases_many
	.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
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	$0, -56(%rbp)
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movl	%r15d, %r13d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%rbx,%rax,8)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_2
## %bb.4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_repo_parse_commit
	testq	%rax, %rax
	jne	LBB0_18
## %bb.9:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,8), %rsi
	movq	%r12, %rdi
	callq	_repo_parse_commit
	testq	%rax, %rax
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	jne	LBB0_10
	jmp	LBB0_12
LBB0_6:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_repo_parse_commit
	testq	%rax, %rax
	je	LBB0_12
LBB0_18:
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_8:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_commit_list_insert
	movq	%rax, %r15
	jmp	LBB0_19
LBB0_12:
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_paint_down_to_common
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	leaq	-64(%rbp), %r15
	movq	_STALE@GOTPCREL(%rip), %rbx
	leaq	-56(%rbp), %r14
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, -64(%rbp)
	je	LBB0_17
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_pop_commit
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_commit_list_insert_by_date
	jmp	LBB0_14
LBB0_17:
	movq	-56(%rbp), %r15
LBB0_19:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STALE,4,2                      ## @STALE
	.no_dead_strip	_merge_bases_many
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_bases_many
_merge_bases_many:                      ; @merge_bases_many
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	str	xzr, [sp]
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	w23, w21
	mov	x8, x23
	mov	x9, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x19
	b.eq	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x22
	mov	x1, x19
	bl	_repo_parse_commit
	cbnz	x0, LBB0_9
; %bb.5:
	mov	x24, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x24]
	mov	x0, x22
	bl	_repo_parse_commit
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #8
	subs	x23, x23, #1
	b.ne	LBB0_6
	b	LBB0_11
LBB0_8:
	mov	x0, x22
	mov	x1, x19
	bl	_repo_parse_commit
	cbz	x0, LBB0_11
LBB0_9:
	mov	x0, #0
	b	LBB0_17
LBB0_10:
	mov	x1, sp
	mov	x0, x19
	bl	_commit_list_insert
	b	LBB0_17
LBB0_11:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	bl	_paint_down_to_common
	str	x0, [sp, #8]
	cbz	x0, LBB0_17
; %bb.12:
Lloh0:
	adrp	x19, _STALE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _STALE@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_pop_commit
	ldr	w8, [x0]
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, sp
	bl	_commit_list_insert_by_date
	b	LBB0_13
LBB0_16:
	ldr	x0, [sp]
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STALE,4,2                      ; @STALE
	.no_dead_strip	_merge_bases_many
.subsections_via_symbols
