	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_merge_recursive            ## -- Begin function cmd_merge_recursive
	.p2align	4, 0x90
_cmd_merge_recursive:                   ## @cmd_merge_recursive
	.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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-264(%rbp), %rdi
	callq	_init_merge_options
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_ends_with
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -264(%rbp)
LBB0_3:
	cmpl	$3, %ebx
	jg	LBB0_6
## %bb.4:
	movq	_builtin_merge_recursive_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rsi
	callq	_usagef
	cmpl	$2, %ebx
	jl	LBB0_5
LBB0_6:
	movl	%ebx, -232(%rbp)                ## 4-byte Spill
	movl	%ebx, %r14d
	movl	$1, %r12d
	leaq	L_.str.2(%rip), %rbx
	movl	$0, -228(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_Q_
	movq	%rbx, %rdi
	movl	%eax, %ebx
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %esi
	movq	(%r13,%r12,8), %rdx
	movl	%ebx, %edi
	callq	_warning
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rbx
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_18
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r12,8), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, 2(%r15)
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	2(%r15), %rsi
	leaq	-264(%rbp), %rdi
	callq	_parse_merge_opt
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %r15
	leaq	-224(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	decl	%eax
	cmpl	%eax, -228(%rbp)                ## 4-byte Folded Reload
	jae	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$4, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	(%r13,%r12,8), %rdi
	movq	%rax, %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	(%r13,%r12,8), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-228(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %eax
	incl	%ecx
	movl	%ecx, -228(%rbp)                ## 4-byte Spill
	movq	%rbx, -224(%rbp,%rax,8)
	jmp	LBB0_16
LBB0_18:
	movl	%r14d, %r12d
LBB0_19:
	movq	_the_repository@GOTPCREL(%rip), %r14
	movl	-232(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_20
LBB0_5:
	movl	$0, -228(%rbp)                  ## 4-byte Folded Spill
	movl	$1, %r12d
LBB0_20:
	subl	%r12d, %ebx
	cmpl	$3, %ebx
	je	LBB0_22
## %bb.21:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_22:
	movl	(%r14), %edi
	callq	_repo_read_index_unmerged
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.8(%rip), %rdi
	callq	_die_resolve_conflict
LBB0_24:
	movl	%r12d, %eax
	movq	8(%r13,%rax,8), %rdi
	movq	%rdi, -256(%rbp)
	movq	16(%r13,%rax,8), %rax
	movq	%rax, -248(%rbp)
	leaq	-280(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	-256(%rbp), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_26:
	movq	-248(%rbp), %rdi
	leaq	-272(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	-248(%rbp), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_28:
	movq	-256(%rbp), %rdi
	callq	_better_branch_name
	movq	%rax, %r15
	movq	%rax, -256(%rbp)
	movq	-248(%rbp), %rdi
	callq	_better_branch_name
	movq	%rax, %r12
	movq	%rax, -248(%rbp)
	cmpl	$3, -240(%rbp)
	jl	LBB0_30
## %bb.29:
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movq	-256(%rbp), %rsi
	movq	-248(%rbp), %rdx
	movq	%rax, %rdi
	callq	_printf
LBB0_30:
	leaq	-264(%rbp), %rdi
	leaq	-280(%rbp), %rsi
	leaq	-272(%rbp), %rdx
	leaq	-224(%rbp), %r8
	leaq	-288(%rbp), %r9
	movl	-228(%rbp), %ecx                ## 4-byte Reload
	callq	_merge_recursive_generic
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
	testl	%ebx, %ebx
	movl	$128, %eax
	cmovnsl	%ebx, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_32
## %bb.31:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-subtree"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_builtin_merge_recursive_usage,4,2 ## @builtin_merge_recursive_usage
L_.str.2:                               ## @.str.2
	.asciz	"--"

L_.str.3:                               ## @.str.3
	.asciz	"unknown option %s"

L_.str.4:                               ## @.str.4
	.asciz	"could not parse object '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"cannot handle more than %d base. Ignoring %s."

L_.str.6:                               ## @.str.6
	.asciz	"cannot handle more than %d bases. Ignoring %s."

L_.str.7:                               ## @.str.7
	.asciz	"not handling anything other than two heads merge."

L_.str.8:                               ## @.str.8
	.asciz	"merge"

L_.str.9:                               ## @.str.9
	.asciz	"could not resolve ref '%s'"

L_.str.10:                              ## @.str.10
	.asciz	"Merging %s with %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_merge_recursive            ; -- Begin function cmd_merge_recursive
	.p2align	2
_cmd_merge_recursive:                   ; @cmd_merge_recursive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #256]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x22, _the_repository@GOTPAGE
Lloh4:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x0, sp, #24
	bl	_init_merge_options
	ldr	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ends_with
	cbz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp, #24]
LBB0_3:
	cmp	w21, #3
	b.gt	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _builtin_merge_recursive_usage@GOTPAGE
Lloh10:
	ldr	x8, [x8, _builtin_merge_recursive_usage@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x1, [x20]
	bl	_usagef
	cmp	w21, #2
	b.lt	LBB0_18
LBB0_5:
	mov	w19, #0
	mov	w23, w21
	mov	w28, #1
Lloh12:
	adrp	x22, l_.str.2@PAGE
Lloh13:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh14:
	adrp	x24, l_.str.5@PAGE
Lloh15:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh16:
	adrp	x25, l_.str.6@PAGE
Lloh17:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh18:
	adrp	x26, l_.str.3@PAGE
Lloh19:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #72
	bl	_ARRAY_SIZE
	sub	w2, w0, #1
	mov	x0, x24
	mov	x1, x25
	bl	_Q_
	mov	x27, x0
	add	x0, sp, #72
	bl	_ARRAY_SIZE
	sub	w1, w0, #1
	ldr	x2, [x20, x28, lsl #3]
	mov	x0, x27
	bl	_warning
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x28, x28, #1
	cmp	x23, x28
	b.eq	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x20, x28, lsl #3]
	mov	x0, x27
	mov	x1, x22
	bl	_starts_with
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x27
	ldrb	w8, [x1, #2]!
	cbz	w8, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #24
	bl	_parse_merge_opt
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	__
	str	x27, [sp]
	bl	_die
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #72
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	cmp	w19, w8
	b.hs	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #4
	bl	_xmalloc
	mov	x27, x0
	ldr	x0, [x20, x28, lsl #3]
	mov	x1, x27
	bl	_get_oid
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	ldr	x8, [x20, x28, lsl #3]
	str	x8, [sp]
	bl	_die
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, sp, #72
	str	x27, [x8, w19, uxtw #3]
	add	w19, w19, #1
	b	LBB0_7
LBB0_16:
	mov	x28, x23
LBB0_17:
Lloh22:
	adrp	x22, _the_repository@GOTPAGE
Lloh23:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
	mov	w19, #0
	mov	w28, #1
LBB0_19:
	sub	w8, w21, w28
	cmp	w8, #3
	b.eq	LBB0_21
; %bb.20:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	bl	_die
LBB0_21:
	ldr	w0, [x22]
	bl	_repo_read_index_unmerged
	cbz	x0, LBB0_23
; %bb.22:
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_die_resolve_conflict
LBB0_23:
	add	w8, w28, #1
	ldr	x0, [x20, w8, uxtw #3]
	add	w8, w28, #2
	ldr	x8, [x20, w8, uxtw #3]
	stp	x0, x8, [sp, #32]
	add	x1, sp, #64
	bl	_get_oid
	cbz	x0, LBB0_25
; %bb.24:
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	ldr	x8, [sp, #32]
	str	x8, [sp]
	bl	_die
LBB0_25:
	ldr	x0, [sp, #40]
	add	x1, sp, #56
	bl	_get_oid
	cbz	x0, LBB0_27
; %bb.26:
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	ldr	x8, [sp, #40]
	str	x8, [sp]
	bl	_die
LBB0_27:
	ldr	x0, [sp, #32]
	bl	_better_branch_name
	mov	x20, x0
	str	x0, [sp, #32]
	ldr	x0, [sp, #40]
	bl	_better_branch_name
	mov	x21, x0
	str	x0, [sp, #40]
	ldr	w8, [sp, #48]
	cmp	w8, #3
	b.lt	LBB0_29
; %bb.28:
Lloh32:
	adrp	x0, l_.str.10@PAGE
Lloh33:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	ldp	x1, x2, [sp, #32]
	bl	_printf
LBB0_29:
	add	x0, sp, #24
	add	x1, sp, #64
	add	x2, sp, #56
	add	x4, sp, #72
	add	x5, sp, #16
	mov	x3, x19
	bl	_merge_recursive_generic
	mov	x19, x0
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_free
	mov	w8, #128
	cmp	w19, #0
	csel	w0, w8, w19, lt
	ldur	x8, [x29, #-96]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-subtree"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_builtin_merge_recursive_usage,4,2 ; @builtin_merge_recursive_usage
l_.str.2:                               ; @.str.2
	.asciz	"--"

l_.str.3:                               ; @.str.3
	.asciz	"unknown option %s"

l_.str.4:                               ; @.str.4
	.asciz	"could not parse object '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"cannot handle more than %d base. Ignoring %s."

l_.str.6:                               ; @.str.6
	.asciz	"cannot handle more than %d bases. Ignoring %s."

l_.str.7:                               ; @.str.7
	.asciz	"not handling anything other than two heads merge."

l_.str.8:                               ; @.str.8
	.asciz	"merge"

l_.str.9:                               ; @.str.9
	.asciz	"could not resolve ref '%s'"

l_.str.10:                              ; @.str.10
	.asciz	"Merging %s with %s\n"

.subsections_via_symbols
