	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_branchname_arg
_parse_branchname_arg:                  ## @parse_branchname_arg
	.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
	testl	%edi, %edi
	je	LBB0_37
## %bb.1:
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	cmpq	$0, 16(%r8)
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.2:
	movl	$1, %r13d
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	jmp	LBB0_5
LBB0_4:
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_16
LBB0_5:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %r13
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r15d
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_15
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12,%rbx,8), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.10:
	cmpl	$1, %ebx
	jne	LBB0_14
## %bb.11:
	movl	%ebx, %r13d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_13:
	movl	$1, %ebx
	jmp	LBB0_38
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_15:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_16:
	xorl	%eax, %eax
	movl	32(%r15), %ecx
	orl	%r13d, %ecx
	sete	%al
	movl	%eax, 8(%r15)
	leaq	L_.str.3(%rip), %rsi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	leaq	L_.str.4(%rip), %rax
	cmovneq	%r12, %rax
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_get_oid_mb
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.18:
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_21
LBB0_19:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_20:
	movl	24(%r15), %edi
	movq	%r12, %rsi
	callq	_check_filename
	testq	%rax, %rax
	setne	%al
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_no_wildcard
	testl	%eax, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmovel	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
LBB0_21:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	setne	%al
	cmpl	$1, %ebx
	setne	%cl
	movl	%ebx, %r13d
	cmpl	$2, %ebx
	sete	%dl
	testb	%al, %dl
	jne	LBB0_24
## %bb.22:
	orb	%al, %cl
	je	LBB0_24
## %bb.23:
	cmpq	$0, 16(%r15)
	jne	LBB0_32
LBB0_24:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
## %bb.25:
	movq	16(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_unique_tracking_name
	testq	%rax, %rax
	je	LBB0_32
## %bb.26:
	movq	%rax, %rbx
	cmpb	$0, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_28
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_28:
	movq	%r12, (%r15)
	movq	%rbx, %r12
	movl	%r13d, %ebx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_29:
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_setup_new_branch_info_and_source_tree
	cmpl	$0, 28(%r15)
	je	LBB0_34
## %bb.30:
	testl	%r13d, %r13d
	je	LBB0_35
LBB0_31:
	cmpq	$1, 16(%r15)
	movl	$2, %ebx
	sbbl	$0, %ebx
	jmp	LBB0_38
LBB0_32:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.33:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	xorl	%ebx, %ebx
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_38
LBB0_37:
	xorl	%ebx, %ebx
LBB0_38:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
	testl	%r13d, %r13d
	jne	LBB0_31
LBB0_35:
	movl	%ebx, %eax
	movl	$1, %ebx
	cmpl	$1, %eax
	je	LBB0_38
## %bb.36:
	movl	24(%r15), %edi
	movq	%r12, %rsi
	callq	_verify_non_filename
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"only one reference expected"

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

L_.str.2:                               ## @.str.2
	.asciz	"only one reference expected, %d given."

L_.str.3:                               ## @.str.3
	.asciz	"-"

L_.str.4:                               ## @.str.4
	.asciz	"@{-1}"

L_.str.5:                               ## @.str.5
	.asciz	"'%s' could be both a local file and a tracking branch.\nPlease use -- (and optionally --no-guess) to disambiguate"

L_.str.6:                               ## @.str.6
	.asciz	"invalid reference: %s"

L_.str.7:                               ## @.str.7
	.asciz	"reference is not a tree: %s"

	.no_dead_strip	_parse_branchname_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_branchname_arg
_parse_branchname_arg:                  ; @parse_branchname_arg
	.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
	cbz	w0, LBB0_38
; %bb.1:
	mov	x23, x6
	mov	x21, x5
	mov	x19, x4
	mov	x22, x3
	mov	x24, x2
	mov	x26, x1
	mov	x20, x0
	ldr	x8, [x4, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w28, #0
	b	LBB0_6
LBB0_3:
	cmp	w20, #1
	b.le	LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
	ldr	x25, [x26]
	mov	w28, #1
	b	LBB0_7
LBB0_5:
	mov	w28, #1
LBB0_6:
	ldr	x25, [x26]
	cmp	w20, #1
	b.lt	LBB0_16
LBB0_7:
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
	stp	x23, x21, [sp, #16]             ; 16-byte Folded Spill
	mov	x21, x22
	mov	x22, #0
	ldr	x23, [x19, #16]
	mov	w24, w20
Lloh2:
	adrp	x27, l_.str.1@PAGE
Lloh3:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	cmp	x24, x22
	b.eq	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x23, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x26, x22, lsl #3]
	mov	x1, x27
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.11:
	cbz	w22, LBB0_36
; %bb.12:
	cmp	w22, #1
	b.ne	LBB0_14
; %bb.13:
	mov	x28, x22
	b	LBB0_15
LBB0_14:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	str	x22, [sp]
	bl	_die
LBB0_15:
	mov	x22, x21
	ldp	x23, x21, [sp, #16]             ; 16-byte Folded Reload
	ldr	w24, [sp, #12]                  ; 4-byte Folded Reload
LBB0_16:
	ldr	w8, [x19, #32]
	orr	w8, w8, w28
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19, #8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_strcmp
Lloh8:
	adrp	x8, l_.str.4@PAGE
Lloh9:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	w0, #0
	csel	x25, x8, x25, eq
	mov	x0, x25
	mov	x1, x21
	bl	_get_oid_mb
	cbz	x0, LBB0_28
; %bb.17:
	cbz	w28, LBB0_19
; %bb.18:
	mov	w26, #0
	b	LBB0_20
LBB0_19:
	ldr	w0, [x19, #24]
	mov	x1, x25
	bl	_check_filename
	cmp	x0, #0
	cset	w26, ne
	mov	x0, x25
	bl	_no_wildcard
	cmp	w0, #0
	csel	w24, wzr, w24, eq
LBB0_20:
	cmp	w28, #0
	cset	w8, ne
	cmp	w20, #1
	cset	w9, ne
	cmp	w20, #2
	cset	w10, eq
	and	w10, w10, w8
	tbnz	w10, #0, LBB0_23
; %bb.21:
	orr	w8, w9, w8
	cbz	w8, LBB0_23
; %bb.22:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_31
LBB0_23:
	cbz	w24, LBB0_31
; %bb.24:
	mov	x0, x25
	mov	x1, x21
	mov	x2, x23
	bl	_unique_tracking_name
	cbz	x0, LBB0_31
; %bb.25:
	mov	x23, x0
	cbz	w26, LBB0_27
; %bb.26:
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	str	x25, [sp]
	bl	_die
LBB0_27:
	str	x25, [x19]
	mov	x25, x23
LBB0_28:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x25
	bl	_setup_new_branch_info_and_source_tree
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_33
; %bb.29:
	cbz	w28, LBB0_34
LBB0_30:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	mov	w8, #1
	cinc	w0, w8, ne
	b	LBB0_38
LBB0_31:
	cbz	w28, LBB0_37
; %bb.32:
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	str	x25, [sp]
	bl	_die
	mov	w0, #0
	b	LBB0_38
LBB0_33:
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	str	x25, [sp]
	bl	_die
	cbnz	w28, LBB0_30
LBB0_34:
	cmp	w20, #1
	b.eq	LBB0_36
; %bb.35:
	ldr	w0, [x19, #24]
	mov	x1, x25
	bl	_verify_non_filename
LBB0_36:
	mov	w0, #1
	b	LBB0_38
LBB0_37:
	mov	w0, #0
LBB0_38:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"only one reference expected"

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

l_.str.2:                               ; @.str.2
	.asciz	"only one reference expected, %d given."

l_.str.3:                               ; @.str.3
	.asciz	"-"

l_.str.4:                               ; @.str.4
	.asciz	"@{-1}"

l_.str.5:                               ; @.str.5
	.asciz	"'%s' could be both a local file and a tracking branch.\nPlease use -- (and optionally --no-guess) to disambiguate"

l_.str.6:                               ; @.str.6
	.asciz	"invalid reference: %s"

l_.str.7:                               ; @.str.7
	.asciz	"reference is not a tree: %s"

	.no_dead_strip	_parse_branchname_arg
.subsections_via_symbols
