	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_show_merge
_prepare_show_merge:                    ## @prepare_show_merge
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rdi
	leaq	-48(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_lookup_commit_or_die
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	callq	_die
LBB0_4:
	leaq	L_.str.2(%rip), %r12
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_lookup_commit_or_die
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_add_pending_object
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_add_pending_object
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_merge_bases
	movq	%rax, %rbx
	movq	_REV_CMD_MERGE_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movq	_BOTTOM@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_add_rev_cmdline_list
	movl	(%r12), %edx
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_add_pending_commit_list
	movq	%rbx, %rdi
	callq	_free_commit_list
	movq	_SYMMETRIC_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	testl	%eax, %eax
	jg	LBB0_7
	jmp	LBB0_16
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_repo_read_index
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_16
LBB0_7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%r12d
	cmpl	(%r13), %r12d
	jge	LBB0_16
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	8(%r13), %rax
	movslq	%r12d, %r15
	movq	(%rax,%r15,8), %rbx
	movq	%rbx, %rdi
	callq	_ce_stage
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_ce_path_match
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	incl	%esi
	xorl	%edi, %edi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_REALLOC_ARRAY
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %r14d
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%rbx, %rdi
	callq	_ce_same_name
	leal	1(%r14), %r12d
	incq	%r15
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_16:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_clear_pathspec
	movq	_PATHSPEC_ALL_MAGIC@GOTPCREL(%rip), %rax
	movq	_PATHSPEC_LITERAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	(%rax), %esi
	movq	_PATHSPEC_PREFER_FULL@GOTPCREL(%rip), %rax
	movq	_PATHSPEC_LITERAL_PATH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	_parse_pathspec
	movl	$1, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

L_.str.1:                               ## @.str.1
	.asciz	"--merge without HEAD?"

L_.str.2:                               ## @.str.2
	.asciz	"MERGE_HEAD"

L_.str.3:                               ## @.str.3
	.asciz	"--merge without MERGE_HEAD?"

	.comm	_REV_CMD_MERGE_BASE,4,2         ## @REV_CMD_MERGE_BASE
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_BOTTOM,4,2                     ## @BOTTOM
	.comm	_SYMMETRIC_LEFT,4,2             ## @SYMMETRIC_LEFT
	.comm	_PATHSPEC_ALL_MAGIC,4,2         ## @PATHSPEC_ALL_MAGIC
	.comm	_PATHSPEC_LITERAL,4,2           ## @PATHSPEC_LITERAL
	.comm	_PATHSPEC_PREFER_FULL,4,2       ## @PATHSPEC_PREFER_FULL
	.comm	_PATHSPEC_LITERAL_PATH,4,2      ## @PATHSPEC_LITERAL_PATH
L_.str.4:                               ## @.str.4
	.space	1

	.no_dead_strip	_prepare_show_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_show_merge
_prepare_show_merge:                    ; @prepare_show_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_get_oid
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_2:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_lookup_commit_or_die
	mov	x21, x0
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #8
	bl	_get_oid
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_4:
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	x1, x22
	bl	_lookup_commit_or_die
	mov	x23, x0
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_add_pending_object
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_add_pending_object
	mov	x0, x21
	mov	x1, x23
	bl	_get_merge_bases
	mov	x22, x0
Lloh14:
	adrp	x8, _REV_CMD_MERGE_BASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REV_CMD_MERGE_BASE@GOTPAGEOFF]
Lloh16:
	adrp	x23, _UNINTERESTING@GOTPAGE
Lloh17:
	ldr	x23, [x23, _UNINTERESTING@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w8, [x23]
Lloh19:
	adrp	x24, _BOTTOM@GOTPAGE
Lloh20:
	ldr	x24, [x24, _BOTTOM@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x22
	bl	_add_rev_cmdline_list
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x22
	bl	_add_pending_commit_list
	mov	x0, x22
	bl	_free_commit_list
Lloh21:
	adrp	x8, _SYMMETRIC_LEFT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SYMMETRIC_LEFT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.5:
	cmp	w8, #1
	b.ge	LBB0_7
	b	LBB0_16
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_repo_read_index
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
LBB0_7:
	mov	w24, #0
	add	x21, x19, #4
	mov	w22, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, x26
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w24, w24, #1
	ldr	w8, [x20]
	cmp	w24, w8
	b.ge	LBB0_16
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x8, [x20, #8]
	ldr	x23, [x8, w24, sxtw #3]
	mov	x0, x23
	bl	_ce_stage
	cbz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	bl	_ce_path_match
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	mov	x0, #0
	mov	x1, x22
	bl	_REALLOC_ARRAY
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	sxtw	x8, w24
	add	x25, x8, #1
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x26, x24
	ldrsw	x8, [x20]
	cmp	x25, x8
	b.ge	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x20, #8]
	ldr	x1, [x8, x25, lsl #3]
	mov	x0, x23
	bl	_ce_same_name
	add	w24, w26, #1
	add	x25, x25, #1
	cbnz	x0, LBB0_14
	b	LBB0_8
LBB0_16:
	add	x20, x19, #4
	mov	x0, x20
	bl	_clear_pathspec
Lloh24:
	adrp	x8, _PATHSPEC_ALL_MAGIC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PATHSPEC_ALL_MAGIC@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _PATHSPEC_LITERAL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PATHSPEC_LITERAL@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _PATHSPEC_PREFER_FULL@GOTPAGE
Lloh31:
	ldr	x10, [x10, _PATHSPEC_PREFER_FULL@GOTPAGEOFF]
	bic	w1, w8, w9
Lloh32:
	ldr	w8, [x10]
Lloh33:
	adrp	x9, _PATHSPEC_LITERAL_PATH@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PATHSPEC_LITERAL_PATH@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh36:
	adrp	x3, l_.str.4@PAGE
Lloh37:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x4, #0
	bl	_parse_pathspec
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

l_.str.1:                               ; @.str.1
	.asciz	"--merge without HEAD?"

l_.str.2:                               ; @.str.2
	.asciz	"MERGE_HEAD"

l_.str.3:                               ; @.str.3
	.asciz	"--merge without MERGE_HEAD?"

	.comm	_REV_CMD_MERGE_BASE,4,2         ; @REV_CMD_MERGE_BASE
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_BOTTOM,4,2                     ; @BOTTOM
	.comm	_SYMMETRIC_LEFT,4,2             ; @SYMMETRIC_LEFT
	.comm	_PATHSPEC_ALL_MAGIC,4,2         ; @PATHSPEC_ALL_MAGIC
	.comm	_PATHSPEC_LITERAL,4,2           ; @PATHSPEC_LITERAL
	.comm	_PATHSPEC_PREFER_FULL,4,2       ; @PATHSPEC_PREFER_FULL
	.comm	_PATHSPEC_LITERAL_PATH,4,2      ; @PATHSPEC_LITERAL_PATH
l_.str.4:                               ; @.str.4
	.space	1

	.no_dead_strip	_prepare_show_merge
.subsections_via_symbols
