	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function die_expecting_a_branch
_die_expecting_a_branch:                ## @die_expecting_a_branch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dwim_ref
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.1:
	movq	-32(%rbp), %rdi
	movq	%rdi, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_3:
	movq	-24(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_5:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_6:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_die
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/tags/"

L_.str.1:                               ## @.str.1
	.asciz	"a branch is expected, got tag '%s'"

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

L_.str.3:                               ## @.str.3
	.asciz	"a branch is expected, got remote branch '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"a branch is expected, got '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"a branch is expected, got commit '%s'"

	.no_dead_strip	_die_expecting_a_branch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function die_expecting_a_branch
_die_expecting_a_branch:                ; @die_expecting_a_branch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	bl	_dwim_ref
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.1:
	ldr	x0, [sp, #16]
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_die
LBB0_3:
	ldr	x0, [sp, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_die
LBB0_5:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	ldr	x1, [sp, #8]
	bl	_die
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	ldr	x1, [x19]
	bl	_die
LBB0_8:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	ldr	x1, [x19]
	bl	_die
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/tags/"

l_.str.1:                               ; @.str.1
	.asciz	"a branch is expected, got tag '%s'"

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

l_.str.3:                               ; @.str.3
	.asciz	"a branch is expected, got remote branch '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"a branch is expected, got '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"a branch is expected, got commit '%s'"

	.no_dead_strip	_die_expecting_a_branch
.subsections_via_symbols
