	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_name
_merge_name:                            ## @merge_name
	.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	%rsi, %r14
	movq	%rdi, %rsi
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rbx
	movups	(%rbx), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -96(%rbp)
	leaq	-96(%rbp), %rdi
	xorl	%edx, %edx
	callq	_strbuf_branchname
	movq	-96(%rbp), %r12
	leaq	-48(%rbp), %rdi
	callq	_oidclr
	movq	%r12, %rdi
	callq	_get_merge_parent
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_die
LBB0_2:
	movq	%r12, %rdi
	callq	_strlen
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dwim_ref
	testq	%rax, %rax
	jle	LBB0_10
## %bb.3:
	movq	-64(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movslq	%eax, %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_34
LBB0_6:
	movq	-64(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movslq	%eax, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_34
LBB0_8:
	movq	-64(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movslq	%eax, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	jmp	LBB0_34
LBB0_10:
	movq	%r12, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_18
## %bb.11:
	movl	%eax, %eax
	addq	%r12, %rax
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$94, -1(%rax,%r13)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	(%rax,%r13), %rcx
	decq	%rcx
	decq	%r13
	cmpq	%rcx, %r12
	jb	LBB0_12
## %bb.14:
	negl	%r13d
	movl	$1, %eax
	jmp	LBB0_27
LBB0_16:
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.17:
	negq	%r13
	movl	$1, %eax
	jmp	LBB0_27
LBB0_18:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$126, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.19:
	movq	%rax, %rbx
	movb	1(%rax), %al
	testb	%al, %al
	je	LBB0_20
## %bb.21:
	xorl	%r14d, %r14d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isdigit
	movzbl	(%rbx,%r13), %ecx
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
	cmpb	$48, %cl
	setne	%al
	orl	%eax, %r14d
	movzbl	1(%rbx,%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_22
	jmp	LBB0_25
LBB0_20:
	movl	$1, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rbx
	jmp	LBB0_26
LBB0_24:
	testb	%cl, %cl
	jne	LBB0_29
LBB0_25:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rbx
	movl	$1, %eax
	testl	%r14d, %r14d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_27
LBB0_26:
	xorl	%eax, %eax
	cmpl	$1, %r13d
	sete	%al
LBB0_27:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movups	(%rbx), %xmm0
	movaps	%xmm0, -80(%rbp)
	leaq	L_.str.7(%rip), %rsi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_strbuf_addf
	movq	-72(%rbp), %rsi
	movl	%r13d, %eax
	subq	%rax, %rsi
	movq	%rbx, %rdi
	callq	_strbuf_setlen
	movq	-80(%rbp), %rdi
	callq	_ref_exists
	testq	%rax, %rax
	je	LBB0_28
## %bb.36:
	movq	%r15, %rdi
	callq	_oid_to_hex
	movslq	%eax, %rdx
	movq	-80(%rbp), %rcx
	addq	$11, %rcx
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.9(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_strbuf_addf
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_35
LBB0_28:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
LBB0_29:
	movq	%r15, %rdi
	callq	_merge_remote_util
	testq	%rax, %rax
	je	LBB0_33
## %bb.30:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.31:
	movq	(%rdi), %rax
	movq	_OBJ_TAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.32:
	addq	$8, %rdi
	callq	_oid_to_hex
	movslq	%eax, %r15
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_type_name
	leaq	L_.str.11(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%eax, %ecx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_35
LBB0_33:
	movq	%r15, %rdi
	callq	_oid_to_hex
	movslq	%eax, %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_34:
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_strbuf_addf
LBB0_35:
	leaq	-112(%rbp), %rdi
	callq	_strbuf_release
	leaq	-96(%rbp), %rdi
	callq	_strbuf_release
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s' does not point to a commit"

L_.str.1:                               ## @.str.1
	.asciz	"refs/heads/"

L_.str.2:                               ## @.str.2
	.asciz	"%s\t\tbranch '%s' of .\n"

L_.str.3:                               ## @.str.3
	.asciz	"refs/tags/"

L_.str.4:                               ## @.str.4
	.asciz	"%s\t\ttag '%s' of .\n"

L_.str.5:                               ## @.str.5
	.asciz	"refs/remotes/"

L_.str.6:                               ## @.str.6
	.asciz	"%s\t\tremote-tracking branch '%s' of .\n"

L_.str.7:                               ## @.str.7
	.asciz	"refs/heads/%s"

L_.str.8:                               ## @.str.8
	.asciz	"%s\t\tbranch '%s'%s of .\n"

L_.str.9:                               ## @.str.9
	.asciz	" (early part)"

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

	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
L_.str.11:                              ## @.str.11
	.asciz	"%s\t\t%s '%s'\n"

L_.str.12:                              ## @.str.12
	.asciz	"%s\t\tcommit '%s'\n"

	.no_dead_strip	_merge_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_name
_merge_name:                            ; @merge_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x1
	mov	x1, x0
Lloh0:
	adrp	x23, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STRBUF_INIT@GOTPAGEOFF]
	ldr	q0, [x23]
	stp	q0, q0, [sp, #48]
	add	x0, sp, #48
	mov	w2, #0
	bl	_strbuf_branchname
	ldr	x20, [sp, #48]
	sub	x0, x29, #72
	bl	_oidclr
	mov	x0, x20
	bl	_get_merge_parent
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_2:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	sub	x2, x29, #72
	add	x3, sp, #40
	mov	x0, x20
	bl	_dwim_ref
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.3:
	ldr	x0, [sp, #40]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_5
; %bb.4:
	sub	x0, x29, #72
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	str	x20, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_35
LBB0_5:
	ldr	x0, [sp, #40]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_7
; %bb.6:
	sub	x0, x29, #72
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_35
LBB0_7:
	ldr	x0, [sp, #40]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_9
; %bb.8:
	sub	x0, x29, #72
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_35
LBB0_9:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x8, #0
	add	x9, x20, w0, uxtw
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x10, x9, x8
	ldurb	w10, [x10, #-1]
	cmp	w10, #94
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x8, x8, #1
	add	x10, x9, x8
	cmp	x20, x10
	b.lo	LBB0_11
; %bb.13:
	neg	w24, w8
	b	LBB0_26
LBB0_14:
	cbz	w8, LBB0_16
; %bb.15:
	neg	x24, x8
	b	LBB0_26
LBB0_16:
	mov	x0, x20
	mov	w1, #126
	bl	_strrchr
	cbz	x0, LBB0_30
; %bb.17:
	mov	x22, x0
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_22
; %bb.18:
	mov	x24, #0
	mov	w25, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x22, x24
	sxtb	w0, w8
	bl	_isdigit
	ldrb	w8, [x26, #1]
	cbz	x0, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w8, #48
	cset	w8, ne
	orr	w25, w25, w8
	ldrb	w8, [x26, #2]
	add	x24, x24, #1
	cbnz	w8, LBB0_19
; %bb.21:
	add	w24, w24, #1
	cbnz	w25, LBB0_26
	b	LBB0_23
LBB0_22:
	mov	w24, #1
LBB0_23:
	cmp	w24, #1
	cset	w22, eq
	b	LBB0_27
LBB0_24:
	cbnz	w8, LBB0_30
; %bb.25:
	add	x24, x24, #1
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	cbz	w25, LBB0_23
LBB0_26:
	mov	w22, #1
LBB0_27:
	ldr	q0, [x23]
	str	q0, [sp, #16]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #16
	mov	x2, x20
	bl	_strbuf_addf
	ldr	x8, [sp, #24]
	sub	x1, x8, w24, uxtw
	add	x0, sp, #16
	bl	_strbuf_setlen
	ldr	x0, [sp, #16]
	bl	_ref_exists
	cbz	x0, LBB0_29
; %bb.28:
	mov	x0, x21
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldr	x8, [sp, #16]
	add	x8, x8, #11
Lloh18:
	adrp	x9, l_.str.9@PAGE
Lloh19:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh20:
	adrp	x10, l_.str.10@PAGE
Lloh21:
	add	x10, x10, l_.str.10@PAGEOFF
	cmp	w22, #0
	csel	x9, x10, x9, eq
	stp	x8, x9, [sp]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_strbuf_addf
	add	x0, sp, #16
	bl	_strbuf_release
	b	LBB0_37
LBB0_29:
	add	x0, sp, #16
	bl	_strbuf_release
LBB0_30:
	mov	x0, x21
	bl	_merge_remote_util
	cbz	x0, LBB0_34
; %bb.31:
	mov	x22, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_34
; %bb.32:
	ldr	x9, [x8]
Lloh24:
	adrp	x10, _OBJ_TAG@GOTPAGE
Lloh25:
	ldr	x10, [x10, _OBJ_TAG@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_34
; %bb.33:
	add	x0, x8, #8
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	ldr	x8, [x22]
	ldr	x0, [x8]
	bl	_type_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x20, [sp]
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	b	LBB0_36
LBB0_34:
	mov	x0, x21
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	str	x20, [sp]
Lloh29:
	adrp	x1, l_.str.12@PAGE
Lloh30:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_35:
	mov	x0, x19
LBB0_36:
	bl	_strbuf_addf
LBB0_37:
	add	x0, sp, #64
	bl	_strbuf_release
	add	x0, sp, #48
	bl	_strbuf_release
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	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	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s' does not point to a commit"

l_.str.1:                               ; @.str.1
	.asciz	"refs/heads/"

l_.str.2:                               ; @.str.2
	.asciz	"%s\t\tbranch '%s' of .\n"

l_.str.3:                               ; @.str.3
	.asciz	"refs/tags/"

l_.str.4:                               ; @.str.4
	.asciz	"%s\t\ttag '%s' of .\n"

l_.str.5:                               ; @.str.5
	.asciz	"refs/remotes/"

l_.str.6:                               ; @.str.6
	.asciz	"%s\t\tremote-tracking branch '%s' of .\n"

l_.str.7:                               ; @.str.7
	.asciz	"refs/heads/%s"

l_.str.8:                               ; @.str.8
	.asciz	"%s\t\tbranch '%s'%s of .\n"

l_.str.9:                               ; @.str.9
	.asciz	" (early part)"

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

	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
l_.str.11:                              ; @.str.11
	.asciz	"%s\t\t%s '%s'\n"

l_.str.12:                              ; @.str.12
	.asciz	"%s\t\tcommit '%s'\n"

	.no_dead_strip	_merge_name
.subsections_via_symbols
