	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collect_parents
_collect_parents:                       ## @collect_parents
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	$0, -48(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	testq	%r8, %r8
	je	LBB0_1
## %bb.2:
	movq	_have_message@GOTPCREL(%rip), %rax
	movq	_shortlog_len@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	leaq	-56(%rbp), %rcx
	cmovneq	%rcx, %rdx
	cmpl	$0, (%rax)
	cmoveq	%rcx, %rdx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	testq	%rdi, %rdi
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	leaq	-48(%rbp), %rsi
	callq	_commit_list_insert
	movq	%rax, %r14
	cmpl	$1, %r15d
	jne	LBB0_9
LBB0_7:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_handle_fetch_head
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_reduce_parents
	movq	%rax, -48(%rbp)
	jmp	LBB0_17
LBB0_4:
	leaq	-48(%rbp), %r14
	cmpl	$1, %r15d
	je	LBB0_7
LBB0_9:
	jl	LBB0_14
LBB0_10:
	movl	%r15d, %r13d
	xorl	%ebx, %ebx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_commit_list_insert
	movq	%rax, %r14
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_get_merge_parent
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12,%rbx,8), %r13
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%r13, %rdi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_help_unknown_ref
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_reduce_parents
	movq	%rax, -48(%rbp)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_19
## %bb.15:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_merge_remote_util
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_merge_name
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_16
LBB0_17:
	testq	%r14, %r14
	je	LBB0_19
LBB0_18:
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_prepare_merge_message
	movq	%r14, %rdi
	callq	_strbuf_release
LBB0_19:
	movq	-48(%rbp), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_have_message,4,2               ## @have_message
	.comm	_shortlog_len,8,3               ## @shortlog_len
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FETCH_HEAD"

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

L_.str.2:                               ## @.str.2
	.asciz	"not something we can merge"

	.no_dead_strip	_collect_parents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collect_parents
_collect_parents:                       ; @collect_parents
	.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, x3
	mov	x25, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	cbz	x4, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _have_message@GOTPAGE
Lloh4:
	ldr	x8, [x8, _have_message@GOTPAGEOFF]
Lloh5:
	adrp	x9, _shortlog_len@GOTPAGE
Lloh6:
	ldr	x9, [x9, _shortlog_len@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #0, #4, eq
	add	x8, sp, #16
	csel	x20, x8, xzr, eq
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	cbz	x22, LBB0_6
LBB0_2:
	add	x1, sp, #24
	mov	x0, x22
	bl	_commit_list_insert
	mov	x24, x0
	cmp	w25, #1
	b.ne	LBB0_7
LBB0_3:
	ldr	x0, [x23]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x24
	mov	x1, x20
	bl	_handle_fetch_head
	ldr	x2, [sp, #24]
	mov	x0, x22
	mov	x1, x21
	bl	_reduce_parents
	str	x0, [sp, #24]
	b	LBB0_15
LBB0_5:
	mov	x20, #0
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	cbnz	x22, LBB0_2
LBB0_6:
	add	x24, sp, #24
	cmp	w25, #1
	b.eq	LBB0_3
LBB0_7:
	b.lt	LBB0_12
LBB0_8:
	mov	w19, w25
Lloh11:
	adrp	x25, l_.str.2@PAGE
Lloh12:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh13:
	adrp	x26, l_.str.1@PAGE
Lloh14:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x27
	mov	x1, x24
	bl	_commit_list_insert
	mov	x24, x0
	add	x23, x23, #8
	subs	x19, x19, #1
	b.eq	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	bl	_get_merge_parent
	mov	x27, x0
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x28, [x23]
	mov	x0, x25
	bl	__
	mov	x2, x0
	mov	x0, x28
	mov	x1, x26
	bl	_help_unknown_ref
	b	LBB0_9
LBB0_12:
	ldr	x2, [sp, #24]
	mov	x0, x22
	mov	x1, x21
	bl	_reduce_parents
	str	x0, [sp, #24]
	cbz	x20, LBB0_17
; %bb.13:
	mov	x21, x0
	cbz	x0, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_merge_remote_util
	ldr	w0, [x0]
	mov	x1, x20
	bl	_merge_name
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_14
LBB0_15:
	cbz	x20, LBB0_17
LBB0_16:
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_prepare_merge_message
	mov	x0, x20
	bl	_strbuf_release
LBB0_17:
	ldr	x0, [sp, #24]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_have_message,4,2               ; @have_message
	.comm	_shortlog_len,8,3               ; @shortlog_len
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FETCH_HEAD"

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

l_.str.2:                               ; @.str.2
	.asciz	"not something we can merge"

	.no_dead_strip	_collect_parents
.subsections_via_symbols
