	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_submodule
_merge_submodule:                       ## @merge_submodule
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %r13d
	movq	%rsi, %rdi
	movq	%r8, %rsi
	callq	_oidcpy
	movq	%r12, %rdi
	callq	_is_null_oid
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	jne	LBB0_35
## %bb.2:
	movq	%r15, %rbx
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	jne	LBB0_35
## %bb.3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_add_submodule_odb
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	jmp	LBB0_10
LBB0_5:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_lookup_commit_reference
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r15
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_lookup_commit_reference
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %r13
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_lookup_commit_reference
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_in_merge_bases
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_in_merge_bases
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%r13, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_in_merge_bases
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_oidcpy
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_show
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$3, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_output
	movq	%r12, %rdi
	movq	%r15, %rsi
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	callq	__
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_10:
	xorl	%eax, %eax
	callq	_output
LBB0_35:
	xorl	%ecx, %ecx
LBB0_36:
	movl	%ecx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_9
LBB0_21:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_in_merge_bases
	testq	%rax, %rax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_26
## %bb.22:
	movq	%rbx, %rsi
	callq	_oidcpy
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_show
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$3, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_output
	movq	%r12, %rdi
	movq	%r13, %rsi
LBB0_17:
	callq	_output_commit_title
	movl	$1, %ecx
	jmp	LBB0_36
LBB0_18:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_show
	movl	$1, %ecx
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_36
## %bb.19:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	jmp	LBB0_20
LBB0_26:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_35
## %bb.27:
	movl	(%r12), %edi
	leaq	-80(%rbp), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	callq	_find_first_merges
	cmpl	$1, %eax
	je	LBB0_30
## %bb.28:
	testl	%eax, %eax
	jne	LBB0_31
## %bb.29:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_output
	jmp	LBB0_34
LBB0_24:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_show
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_36
## %bb.25:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_20:
	xorl	%eax, %eax
	callq	_output
	movl	$1, %ecx
	jmp	LBB0_36
LBB0_30:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_output
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_output
	movq	-72(%rbp), %rax
	movq	(%rax), %rdi
	callq	_print_commit
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	-72(%rbp), %rax
	movq	(%rax), %rdi
	callq	_oid_to_hex
	movq	%r12, %rdi
	movl	$2, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_output
	jmp	LBB0_34
LBB0_31:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_output
	cmpl	$0, -80(%rbp)
	jle	LBB0_34
## %bb.32:
	xorl	%ebx, %ebx
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_print_commit
	incq	%rbx
	movslq	-80(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_33
LBB0_34:
	leaq	-80(%rbp), %rdi
	callq	_object_array_clear
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to merge submodule %s (not checked out)"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to merge submodule %s (commits not present)"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to merge submodule %s (commits don't follow merge-base)"

L_.str.3:                               ## @.str.3
	.asciz	"Fast-forwarding submodule %s to the following commit:"

L_.str.4:                               ## @.str.4
	.asciz	"Fast-forwarding submodule %s"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to merge submodule %s (merge following commits not found)"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to merge submodule %s (not fast-forward)"

L_.str.7:                               ## @.str.7
	.asciz	"Found a possible merge resolution for the submodule:\n"

L_.str.8:                               ## @.str.8
	.asciz	"If this is correct simply add it to the index for example\nby using:\n\n  git update-index --cacheinfo 160000 %s \"%s\"\n\nwhich will accept this suggestion.\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to merge submodule %s (multiple merges found)"

	.no_dead_strip	_merge_submodule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_submodule
_merge_submodule:                       ; @merge_submodule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w27, [x8]
	mov	x0, x1
	mov	x1, x4
	bl	_oidcpy
	mov	x0, x24
	bl	_is_null_oid
	cbnz	x0, LBB0_15
; %bb.1:
	mov	x0, x21
	bl	_is_null_oid
	cbnz	x0, LBB0_15
; %bb.2:
	mov	x0, x23
	bl	_is_null_oid
	cbnz	x0, LBB0_15
; %bb.3:
	mov	x0, x20
	bl	_add_submodule_odb
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_5:
	ldr	w0, [x19]
	mov	x1, x24
	bl	_lookup_commit_reference
	cbz	x0, LBB0_13
; %bb.6:
	mov	x26, x0
	ldr	w0, [x19]
	mov	x1, x21
	bl	_lookup_commit_reference
	cbz	x0, LBB0_13
; %bb.7:
	mov	x24, x0
	ldr	w0, [x19]
	mov	x1, x23
	bl	_lookup_commit_reference
	cbz	x0, LBB0_13
; %bb.8:
	mov	x25, x0
	mov	x0, x26
	mov	x1, x24
	bl	_in_merge_bases
	cbz	x0, LBB0_17
; %bb.9:
	mov	x0, x26
	mov	x1, x25
	bl	_in_merge_bases
	cbz	x0, LBB0_17
; %bb.10:
	mov	x0, x24
	mov	x1, x25
	bl	_in_merge_bases
	cbz	x0, LBB0_18
; %bb.11:
	mov	x0, x22
	mov	x1, x23
	bl	_oidcpy
	mov	x0, x19
	mov	w1, #3
	bl	_show
	cbz	x0, LBB0_22
; %bb.12:
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #3
	bl	_output
	mov	x0, x19
	mov	x1, x25
	b	LBB0_21
LBB0_13:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #1
	bl	_output
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_18:
	mov	x0, x25
	mov	x1, x24
	bl	_in_merge_bases
	cbz	x0, LBB0_25
; %bb.19:
	mov	x0, x22
	mov	x1, x21
	bl	_oidcpy
	mov	x0, x19
	mov	w1, #3
	bl	_show
	cbz	x0, LBB0_22
; %bb.20:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #3
	bl	_output
	mov	x0, x19
	mov	x1, x24
LBB0_21:
	bl	_output_commit_title
	mov	w0, #1
	b	LBB0_16
LBB0_22:
	mov	x0, x19
	mov	w1, #2
	bl	_show
	cbz	x0, LBB0_24
; %bb.23:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #2
	bl	_output
LBB0_24:
	mov	w0, #1
	b	LBB0_16
LBB0_25:
	cbnz	w27, LBB0_15
; %bb.26:
	ldr	w0, [x19]
	add	x1, sp, #16
	mov	x2, x20
	mov	x3, x24
	mov	x4, x25
	bl	_find_first_merges
	cmp	w0, #1
	b.eq	LBB0_29
; %bb.27:
	cbnz	w0, LBB0_30
; %bb.28:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #1
	bl	_output
	b	LBB0_33
LBB0_29:
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #1
	bl	_output
Lloh16:
	adrp	x0, l_.str.7@PAGE
Lloh17:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2
	bl	_output
	ldr	x8, [sp, #24]
	ldr	x0, [x8]
	bl	_print_commit
Lloh18:
	adrp	x0, l_.str.8@PAGE
Lloh19:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x21, x0
	ldr	x8, [sp, #24]
	ldr	x0, [x8]
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x20, [sp]
	mov	x0, x19
	mov	w1, #2
	mov	x2, x21
	bl	_output
	b	LBB0_33
LBB0_30:
Lloh20:
	adrp	x0, l_.str.9@PAGE
Lloh21:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	mov	x2, x0
	str	x20, [sp]
	mov	x0, x19
	mov	w1, #1
	bl	_output
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.31:
	mov	x19, #0
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x19, lsl #3]
	bl	_print_commit
	add	x19, x19, #1
	ldrsw	x8, [sp, #16]
	cmp	x19, x8
	b.lt	LBB0_32
LBB0_33:
	add	x0, sp, #16
	bl	_object_array_clear
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to merge submodule %s (not checked out)"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to merge submodule %s (commits not present)"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to merge submodule %s (commits don't follow merge-base)"

l_.str.3:                               ; @.str.3
	.asciz	"Fast-forwarding submodule %s to the following commit:"

l_.str.4:                               ; @.str.4
	.asciz	"Fast-forwarding submodule %s"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to merge submodule %s (merge following commits not found)"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to merge submodule %s (not fast-forward)"

l_.str.7:                               ; @.str.7
	.asciz	"Found a possible merge resolution for the submodule:\n"

l_.str.8:                               ; @.str.8
	.asciz	"If this is correct simply add it to the index for example\nby using:\n\n  git update-index --cacheinfo 160000 %s \"%s\"\n\nwhich will accept this suggestion.\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to merge submodule %s (multiple merges found)"

	.no_dead_strip	_merge_submodule
.subsections_via_symbols
