	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_recursive_internal
_merge_recursive_internal:              ## @merge_recursive_internal
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rcx, -56(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movl	$4, %esi
	callq	_show
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r13, %rdi
	movl	$4, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_output
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_output_commit_title
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_output_commit_title
LBB0_2:
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_get_merge_bases
	movq	%rax, %rdi
	callq	_reverse_commit_list
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
LBB0_4:
	movq	%r13, %rdi
	movl	$5, %esi
	callq	_show
	testq	%rax, %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_commit_list_count
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_Q_
	movq	%r13, %rdi
	movl	$5, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_output
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_output_commit_title
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_8:
	leaq	-56(%rbp), %rdi
	callq	_pop_commit
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	movq	32(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
LBB0_13:
	movq	-56(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_9:
	movq	24(%r13), %rdi
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	callq	_lookup_tree
	movq	24(%r13), %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	%rax, %rsi
	callq	_make_virtual_commit
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	%rbx, %rsi
	addq	$8, %rsi
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rdi
	callq	_strbuf_add_unique_abbrev
	movq	-72(%rbp), %rax
LBB0_16:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_12:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_17:
	movq	-56(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_23
LBB0_18:
	movq	32(%r13), %rax
	movq	(%rax), %rcx
	leaq	L_.str.7(%rip), %r15
	leaq	-80(%rbp), %r14
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	movq	%rcx, (%rax)
	movq	24(%r13), %rax
	movl	(%rax), %edi
	callq	_discard_index
	movups	8(%r13), %xmm0
	movaps	%xmm0, -128(%rbp)               ## 16-byte Spill
	leaq	L_.str.6(%rip), %rax
	movq	%rax, 8(%r13)
	movq	%r15, 16(%r13)
	movq	(%r12), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_merge_recursive_internal
	testl	%eax, %eax
	js	LBB0_20
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movaps	-128(%rbp), %xmm0               ## 16-byte Reload
	movups	%xmm0, 8(%r13)
	movq	32(%r13), %rax
	movq	(%rax), %rcx
	decq	%rcx
	movq	%rcx, (%rax)
	movq	-80(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_19
## %bb.22:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_23:
	movq	24(%r13), %rax
	movl	(%rax), %edi
	callq	_discard_index
	movq	32(%r13), %rax
	cmpq	$0, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	24(%r13), %rdi
	callq	_repo_read_index
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	24(%r13), %rdi
	movq	%r14, %rsi
	callq	_repo_get_commit_tree
	movl	%eax, %r14d
	movq	24(%r13), %rdi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_repo_get_commit_tree
	movl	%eax, %r15d
	movq	24(%r13), %rdi
	movq	%rbx, %rsi
	callq	_repo_get_commit_tree
	leaq	-104(%rbp), %r8
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_merge_trees_internal
	movl	%eax, %ebx
	leaq	-72(%rbp), %rdi
	callq	_strbuf_release
	movq	$0, (%r13)
	testl	%ebx, %ebx
	js	LBB0_26
## %bb.29:
	movq	32(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.30:
	movq	24(%r13), %rdi
	movq	-104(%rbp), %rsi
	leaq	L_.str.9(%rip), %rdx
	callq	_make_virtual_commit
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_commit_list_insert
	movq	(%r14), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_commit_list_insert
	jmp	LBB0_31
LBB0_20:
	movl	$-1, %ebx
	jmp	LBB0_31
LBB0_28:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_err
	movl	%eax, %ebx
	jmp	LBB0_31
LBB0_26:
	movq	%r13, %rdi
	callq	_flush_output
LBB0_31:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Merging:"

L_.str.1:                               ## @.str.1
	.asciz	"found %u common ancestor:"

L_.str.2:                               ## @.str.2
	.asciz	"found %u common ancestors:"

L_.str.3:                               ## @.str.3
	.asciz	"ancestor"

L_.str.4:                               ## @.str.4
	.asciz	"empty tree"

L_.str.5:                               ## @.str.5
	.asciz	"merged common ancestors"

	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
L_.str.6:                               ## @.str.6
	.asciz	"Temporary merge branch 1"

L_.str.7:                               ## @.str.7
	.asciz	"Temporary merge branch 2"

L_.str.8:                               ## @.str.8
	.asciz	"merge returned no commit"

L_.str.9:                               ## @.str.9
	.asciz	"merged tree"

	.no_dead_strip	_merge_recursive_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_recursive_internal
_merge_recursive_internal:              ; @merge_recursive_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	str	x3, [sp, #40]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	mov	w1, #4
	bl	_show
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_output
	mov	x0, x22
	mov	x1, x21
	bl	_output_commit_title
	mov	x0, x22
	mov	x1, x19
	bl	_output_commit_title
LBB0_2:
	cbnz	x23, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_get_merge_bases
	bl	_reverse_commit_list
	mov	x23, x0
	str	x0, [sp, #40]
LBB0_4:
	mov	x0, x22
	mov	w1, #5
	bl	_show
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x23
	bl	_commit_list_count
	mov	x24, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_Q_
	mov	x2, x0
	str	x24, [sp]
	mov	x0, x22
	mov	w1, #5
	bl	_output
	cbz	x23, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x22
	bl	_output_commit_title
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_6
LBB0_7:
	add	x0, sp, #40
	bl	_pop_commit
	str	x0, [sp, #32]
	cbz	x0, LBB0_12
; %bb.8:
	mov	x23, x0
	ldr	x24, [x22]
	cbz	x24, LBB0_10
; %bb.9:
	ldr	x8, [x22, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
LBB0_10:
	ldr	x25, [sp, #40]
	cbz	x25, LBB0_14
; %bb.11:
Lloh9:
	adrp	x24, l_.str.5@PAGE
Lloh10:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_12:
	ldr	x0, [x22, #24]
	ldr	x8, [x0, #8]
	ldr	w1, [x8]
	bl	_lookup_tree
	mov	x1, x0
	ldr	x0, [x22, #24]
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_make_virtual_commit
	mov	x23, x0
	str	x0, [sp, #32]
Lloh13:
	adrp	x24, l_.str.4@PAGE
Lloh14:
	add	x24, x24, l_.str.4@PAGEOFF
LBB0_13:
	ldr	x25, [sp, #40]
	cbnz	x25, LBB0_15
	b	LBB0_20
LBB0_14:
	add	x1, x23, #8
Lloh15:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x0, sp, #16
	bl	_strbuf_add_unique_abbrev
	ldr	x24, [sp, #16]
	ldr	x25, [sp, #40]
	cbz	x25, LBB0_20
LBB0_15:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x21, x19
	mov	x19, x20
	ldr	x8, [x22, #32]
	ldr	x9, [x8]
Lloh18:
	adrp	x26, l_.str.6@PAGE
Lloh19:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh20:
	adrp	x27, l_.str.7@PAGE
Lloh21:
	add	x27, x27, l_.str.7@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x8, [x22, #24]
	ldr	w0, [x8]
	bl	_discard_index
	ldp	x28, x20, [x22, #8]
	stp	x26, x27, [x22, #8]
	ldr	x2, [x25]
	add	x4, sp, #32
	mov	x0, x22
	mov	x1, x23
	mov	x3, #0
	bl	_merge_recursive_internal
	tbnz	w0, #31, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	stp	x28, x20, [x22, #8]
	ldr	x8, [x22, #32]
	ldr	x9, [x8]
	sub	x9, x9, #1
	str	x9, [x8]
	ldr	x23, [sp, #32]
	cbz	x23, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x25, [x25, #8]
	cbnz	x25, LBB0_16
; %bb.19:
	mov	x20, x19
	mov	x19, x21
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_20:
	ldr	x8, [x22, #24]
	ldr	w0, [x8]
	bl	_discard_index
	ldr	x8, [x22, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_22
; %bb.21:
	ldr	x0, [x22, #24]
	bl	_repo_read_index
LBB0_22:
	str	x24, [x22]
	ldr	x0, [x22, #24]
	mov	x1, x21
	bl	_repo_get_commit_tree
	mov	x24, x0
	ldr	x0, [x22, #24]
	mov	x1, x19
	bl	_repo_get_commit_tree
	mov	x25, x0
	ldr	x0, [x22, #24]
	mov	x1, x23
	bl	_repo_get_commit_tree
	mov	x3, x0
	add	x4, sp, #24
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_merge_trees_internal
	mov	x23, x0
	add	x0, sp, #16
	bl	_strbuf_release
	str	xzr, [x22]
	tbnz	w23, #31, LBB0_27
; %bb.23:
	ldr	x8, [x22, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_28
; %bb.24:
	ldr	x0, [x22, #24]
	ldr	x1, [sp, #24]
Lloh22:
	adrp	x2, l_.str.9@PAGE
Lloh23:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_make_virtual_commit
	mov	x1, x0
	str	x0, [x20]
	mov	x0, x21
	bl	_commit_list_insert
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_commit_list_insert
	b	LBB0_28
LBB0_25:
	mov	w23, #-1
	b	LBB0_28
LBB0_26:
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x22
	bl	_err
	mov	x23, x0
	b	LBB0_28
LBB0_27:
	mov	x0, x22
	bl	_flush_output
LBB0_28:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Merging:"

l_.str.1:                               ; @.str.1
	.asciz	"found %u common ancestor:"

l_.str.2:                               ; @.str.2
	.asciz	"found %u common ancestors:"

l_.str.3:                               ; @.str.3
	.asciz	"ancestor"

l_.str.4:                               ; @.str.4
	.asciz	"empty tree"

l_.str.5:                               ; @.str.5
	.asciz	"merged common ancestors"

	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
l_.str.6:                               ; @.str.6
	.asciz	"Temporary merge branch 1"

l_.str.7:                               ; @.str.7
	.asciz	"Temporary merge branch 2"

l_.str.8:                               ; @.str.8
	.asciz	"merge returned no commit"

l_.str.9:                               ; @.str.9
	.asciz	"merged tree"

	.no_dead_strip	_merge_recursive_internal
.subsections_via_symbols
