	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkout_main
_checkout_main:                         ## @checkout_main
	.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	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	movl	$0, -60(%rbp)
	leaq	-56(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, (%r13)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, 8(%r13)
	movl	$-1, 16(%r13)
	movq	_git_checkout_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_git_config
	movq	_BRANCH_TRACK_UNSPECIFIED@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 24(%r13)
	cmpq	$0, 160(%r13)
	je	LBB0_1
LBB0_3:
	cmpq	$0, 176(%r13)
	je	LBB0_5
## %bb.4:
	movq	_PARSE_OPT_KEEP_DASHDASH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	movl	%r12d, %r14d
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	cmpq	$0, 176(%r13)
	je	LBB0_2
LBB0_6:
	movl	%r15d, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movl	%r14d, %r9d
	callq	_parse_options
	movl	%eax, %r12d
	cmpl	$0, 16(%r13)
	jns	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	cmpq	$0, 200(%r13)
	jne	LBB0_9
## %bb.8:
	movl	$2, %edi
	callq	_isatty
LBB0_9:
	movl	%eax, 16(%r13)
LBB0_10:
	movq	192(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movl	$1, 32(%r13)
	leaq	L_.str.1(%rip), %rdi
	xorl	%edx, %edx
	callq	_git_xmerge_config
LBB0_12:
	cmpq	$0, 128(%r13)
	je	LBB0_14
## %bb.13:
	movl	$1, 36(%r13)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 40(%r13)
	movl	$1, 48(%r13)
LBB0_14:
	xorl	%eax, %eax
	cmpq	$0, 64(%r13)
	setne	%al
	cmpq	$1, 56(%r13)
	sbbl	$-1, %eax
	cmpq	$1, 72(%r13)
	sbbl	$-1, %eax
	cmpl	$2, %eax
	jb	LBB0_16
## %bb.15:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_16:
	cmpl	$1, 80(%r13)
	jne	LBB0_19
## %bb.17:
	cmpq	$0, 112(%r13)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_19:
	movl	84(%r13), %ecx
	movl	88(%r13), %eax
	testl	%ecx, %ecx
	js	LBB0_20
## %bb.22:
	testl	%eax, %eax
	jns	LBB0_25
## %bb.23:
	movl	$0, 88(%r13)
	cmpq	$0, 96(%r13)
	jne	LBB0_29
	jmp	LBB0_26
LBB0_20:
	testl	%eax, %eax
	js	LBB0_24
## %bb.21:
	movl	$0, 84(%r13)
LBB0_25:
	cmpq	$0, 96(%r13)
	je	LBB0_26
LBB0_29:
	movq	64(%r13), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	%rax, 56(%r13)
LBB0_31:
	movq	72(%r13), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	%rax, 56(%r13)
LBB0_33:
	movq	24(%r13), %rax
	cmpq	(%rbx), %rax
	je	LBB0_42
## %bb.34:
	cmpq	$0, 56(%r13)
	jne	LBB0_42
## %bb.35:
	movq	(%r15), %r14
	movq	%r14, -48(%rbp)
	testl	%r12d, %r12d
	je	LBB0_37
## %bb.36:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_38
LBB0_37:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	movq	-48(%rbp), %r14
LBB0_38:
	leaq	L_.str.9(%rip), %rsi
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdx
	callq	_skip_prefix
	movq	-48(%rbp), %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	cmpb	$0, 1(%rax)
	jne	LBB0_41
LBB0_40:
	leaq	L_.str.11(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	movq	-48(%rbp), %rax
LBB0_41:
	incq	%rax
	movq	%rax, 56(%r13)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_42:
	movq	176(%r13), %rax
	testl	%r12d, %r12d
	je	LBB0_49
## %bb.43:
	testq	%rax, %rax
	je	LBB0_51
## %bb.44:
	xorl	%edx, %edx
	cmpq	$0, 112(%r13)
	je	LBB0_45
LBB0_48:
	leaq	-60(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r9
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r13, %r8
	callq	_parse_branchname_arg
	cltq
	leaq	(%r15,%rax,8), %r15
	subl	%eax, %r12d
	cmpq	$0, 160(%r13)
	jne	LBB0_57
	jmp	LBB0_60
LBB0_49:
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	xorl	%r12d, %r12d
	cmpq	$0, 160(%r13)
	jne	LBB0_57
	jmp	LBB0_60
LBB0_51:
	movq	96(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_56
## %bb.52:
	leaq	-48(%rbp), %rsi
	callq	_get_oid_mb
	testq	%rax, %rax
	je	LBB0_54
## %bb.53:
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movq	96(%r13), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_54:
	movq	96(%r13), %rcx
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rsi
	callq	_setup_new_branch_info_and_source_tree
	cmpl	$0, 168(%r13)
	je	LBB0_55
LBB0_56:
	cmpq	$0, 160(%r13)
	je	LBB0_60
LBB0_57:
	movl	152(%r13), %eax
	orl	%r12d, %eax
	je	LBB0_58
LBB0_60:
	testl	%r12d, %r12d
	je	LBB0_73
## %bb.61:
	leaq	104(%r13), %rdi
	xorl	%edx, %edx
	cmpq	$0, 112(%r13)
	je	LBB0_63
## %bb.62:
	movq	_PATHSPEC_PREFIX_ORIGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_63:
	xorl	%esi, %esi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_parse_pathspec
	cmpq	$0, 104(%r13)
	jne	LBB0_65
## %bb.64:
	leaq	L_.str.15(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_65:
	cmpq	$0, 56(%r13)
	je	LBB0_68
## %bb.66:
	cmpl	$1, %r12d
	jne	LBB0_68
## %bb.67:
	leaq	L_.str.16(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movq	56(%r13), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_68:
	cmpq	$0, 144(%r13)
	je	LBB0_70
## %bb.69:
	leaq	L_.str.17(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_70:
	xorl	%eax, %eax
	cmpq	$0, 128(%r13)
	setne	%al
	cmpl	$1, 136(%r13)
	sbbl	$-1, %eax
	cmpl	$1, 32(%r13)
	sbbl	$-1, %eax
	cmpl	$2, %eax
	jb	LBB0_73
## %bb.71:
	leaq	L_.str.18(%rip), %rdi
	jmp	LBB0_72
LBB0_58:
	cmpq	$0, 112(%r13)
	jne	LBB0_73
## %bb.59:
	leaq	L_.str.14(%rip), %rdi
LBB0_72:
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_73:
	movq	56(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_78
## %bb.74:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	cmpq	$0, 64(%r13)
	je	LBB0_76
## %bb.75:
	leaq	-48(%rbp), %rsi
	callq	_validate_branchname
	jmp	LBB0_77
LBB0_76:
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_validate_new_branchname
LBB0_77:
	movl	%eax, 120(%r13)
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
LBB0_78:
	movq	%r13, %rdi
	callq	_UNLEAK
	cmpq	$0, 112(%r13)
	jne	LBB0_80
## %bb.79:
	cmpq	$0, 104(%r13)
	je	LBB0_84
LBB0_80:
	movl	-56(%rbp), %esi
	movq	%r13, %rdi
	callq	_checkout_paths
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_85
## %bb.81:
	cmpl	$2, -60(%rbp)
	jl	LBB0_85
## %bb.82:
	movq	_advice_checkout_ambiguous_remote_branch_name@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_85
## %bb.83:
	leaq	L_.str.19(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	-60(%rbp), %edx
	movl	%eax, %edi
	callq	_advise
	jmp	LBB0_85
LBB0_45:
	cmpq	$0, 184(%r13)
	je	LBB0_48
## %bb.46:
	movq	24(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_48
## %bb.47:
	xorl	%edx, %edx
	cmpq	$0, 56(%r13)
	sete	%dl
	jmp	LBB0_48
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	cmpq	$0, 160(%r13)
	jne	LBB0_3
	jmp	LBB0_6
LBB0_24:
	notl	%ecx
	movl	%ecx, 84(%r13)
	notl	%eax
	movl	%eax, 88(%r13)
	cmpq	$0, 96(%r13)
	jne	LBB0_29
LBB0_26:
	cmpl	$0, 84(%r13)
	je	LBB0_29
## %bb.27:
	cmpl	$0, 88(%r13)
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.6(%rip), %rax
	movq	%rax, 96(%r13)
	jmp	LBB0_29
LBB0_84:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_checkout_branch
	movl	%eax, %ebx
LBB0_85:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	leaq	L_.str.13(%rip), %rdi
	callq	__
	movq	96(%r13), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	cmpq	$0, 160(%r13)
	jne	LBB0_57
	jmp	LBB0_60
	.cfi_endproc
                                        ## -- End function
	.comm	_git_checkout_config,4,2        ## @git_checkout_config
	.comm	_BRANCH_TRACK_UNSPECIFIED,8,3   ## @BRANCH_TRACK_UNSPECIFIED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"make up your mind, you need to take _something_"

	.comm	_PARSE_OPT_KEEP_DASHDASH,4,2    ## @PARSE_OPT_KEEP_DASHDASH
L_.str.1:                               ## @.str.1
	.asciz	"merge.conflictstyle"

L_.str.2:                               ## @.str.2
	.asciz	"--force"

L_.str.3:                               ## @.str.3
	.asciz	"-b, -B and --orphan are mutually exclusive"

L_.str.4:                               ## @.str.4
	.asciz	"-p and --overlay are mutually exclusive"

L_.str.6:                               ## @.str.6
	.asciz	"HEAD"

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

L_.str.8:                               ## @.str.8
	.asciz	"--track needs a branch name"

L_.str.9:                               ## @.str.9
	.asciz	"refs/"

L_.str.10:                              ## @.str.10
	.asciz	"remotes/"

L_.str.11:                              ## @.str.11
	.asciz	"missing branch name; try -b"

L_.str.12:                              ## @.str.12
	.asciz	"could not resolve %s"

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

L_.str.14:                              ## @.str.14
	.asciz	"you must specify path(s) to restore"

	.comm	_PATHSPEC_PREFIX_ORIGIN,4,2     ## @PATHSPEC_PREFIX_ORIGIN
L_.str.15:                              ## @.str.15
	.asciz	"invalid path specification"

L_.str.16:                              ## @.str.16
	.asciz	"'%s' is not a commit and a branch '%s' cannot be created from it"

L_.str.17:                              ## @.str.17
	.asciz	"git checkout: --detach does not take a path argument '%s'"

L_.str.18:                              ## @.str.18
	.asciz	"git checkout: --ours/--theirs, --force and --merge are incompatible when\nchecking out of the index."

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_advice_checkout_ambiguous_remote_branch_name,8,3 ## @advice_checkout_ambiguous_remote_branch_name
L_.str.19:                              ## @.str.19
	.asciz	"'%s' matched more than one remote tracking branch.\nWe found %d remotes with a reference that matched. So we fell back\non trying to resolve the argument as a path, but failed there too!\n\nIf you meant to check out a remote tracking branch on, e.g. 'origin',\nyou can do so by fully qualifying the name with the --track option:\n\n    git checkout --track origin/<name>\n\nIf you'd like to always have checkouts of an ambiguous <name> prefer\none remote, e.g. the 'origin' remote, consider setting\ncheckout.defaultRemote=origin in your config."

	.no_dead_strip	_checkout_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkout_main
_checkout_main:                         ; @checkout_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x22, x5
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x24, x0
	str	wzr, [sp, #36]
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #1
	str	w8, [x20]
	str	x21, [x20, #8]
	mov	w8, #-1
	str	w8, [x20, #16]
Lloh0:
	adrp	x8, _git_checkout_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _git_checkout_config@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_git_config
Lloh3:
	adrp	x25, _BRANCH_TRACK_UNSPECIFIED@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BRANCH_TRACK_UNSPECIFIED@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [x20, #24]
	ldr	x8, [x20, #160]
	cbz	x8, LBB0_2
LBB0_1:
	ldr	x8, [x20, #176]
Lloh5:
	adrp	x9, _PARSE_OPT_KEEP_DASHDASH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PARSE_OPT_KEEP_DASHDASH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w5, wzr, w9, eq
	b	LBB0_4
LBB0_2:
	ldr	x8, [x20, #176]
	cbz	x8, LBB0_7
LBB0_3:
	mov	w5, #0
LBB0_4:
	mov	x0, x24
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	mov	x4, x22
	bl	_parse_options
	mov	x22, x0
	ldr	w8, [x20, #16]
	tbz	w8, #31, LBB0_10
; %bb.5:
	ldr	x8, [x20, #200]
	cbz	x8, LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
	ldr	x8, [x20, #160]
	cbnz	x8, LBB0_1
	b	LBB0_3
LBB0_8:
	mov	w0, #2
	bl	_isatty
LBB0_9:
	str	w0, [x20, #16]
LBB0_10:
	ldr	x1, [x20, #192]
	cbz	x1, LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x20, #32]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, #0
	bl	_git_xmerge_config
LBB0_12:
	ldr	x8, [x20, #128]
	cbz	x8, LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x20, #36]
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	str	x9, [x20, #40]
	str	w8, [x20, #48]
LBB0_14:
	ldp	x8, x9, [x20, #56]
	cmp	x8, #0
	cset	w8, ne
	cmp	x9, #0
	cinc	w8, w8, ne
	ldr	x9, [x20, #72]
	cmp	x9, #0
	cinc	w8, w8, ne
	cmp	w8, #2
	b.lo	LBB0_16
; %bb.15:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	bl	_die
LBB0_16:
	ldr	w8, [x20, #80]
	cmp	w8, #1
	b.ne	LBB0_19
; %bb.17:
	ldr	x8, [x20, #112]
	cbz	x8, LBB0_19
; %bb.18:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_die
LBB0_19:
	ldp	w9, w8, [x20, #84]
	tbnz	w9, #31, LBB0_33
; %bb.20:
	tbnz	w8, #31, LBB0_35
; %bb.21:
	ldr	x8, [x20, #96]
	cbz	x8, LBB0_79
LBB0_22:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_24
; %bb.23:
	str	x8, [x20, #56]
LBB0_24:
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_26
; %bb.25:
	str	x8, [x20, #56]
LBB0_26:
	ldr	x8, [x20, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_28
; %bb.27:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_36
LBB0_28:
	ldr	x8, [x20, #176]
	cbz	w22, LBB0_43
LBB0_29:
	cbz	x8, LBB0_45
; %bb.30:
	ldr	x8, [x20, #112]
	cbz	x8, LBB0_75
LBB0_31:
	mov	w2, #0
LBB0_32:
	add	x3, sp, #40
	add	x5, sp, #24
	add	x6, sp, #36
	mov	x0, x22
	mov	x1, x19
	mov	x4, x20
	bl	_parse_branchname_arg
	add	x19, x19, w0, sxtw #3
	sub	w22, w22, w0
	ldr	x8, [x20, #160]
	cbnz	x8, LBB0_50
	b	LBB0_51
LBB0_33:
	tbnz	w8, #31, LBB0_78
; %bb.34:
	str	wzr, [x20, #84]
	ldr	x8, [x20, #96]
	cbnz	x8, LBB0_22
	b	LBB0_79
LBB0_35:
	str	wzr, [x20, #88]
	ldr	x8, [x20, #96]
	cbnz	x8, LBB0_22
	b	LBB0_79
LBB0_36:
	ldr	x23, [x19]
	str	x23, [sp, #24]
	cbz	w22, LBB0_38
; %bb.37:
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbnz	w0, LBB0_39
LBB0_38:
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	bl	_die
	ldr	x23, [sp, #24]
LBB0_39:
Lloh22:
	adrp	x1, l_.str.9@PAGE
Lloh23:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #24
	mov	x0, x23
	bl	_skip_prefix
	ldr	x0, [sp, #24]
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #24
	bl	_skip_prefix
	ldr	x0, [sp, #24]
	mov	w1, #47
	bl	_strchr
	str	x0, [sp, #24]
	cbz	x0, LBB0_41
; %bb.40:
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_42
LBB0_41:
Lloh26:
	adrp	x0, l_.str.11@PAGE
Lloh27:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	__
	bl	_die
	ldr	x0, [sp, #24]
LBB0_42:
	add	x8, x0, #1
	str	x8, [x20, #56]
	ldr	x8, [x20, #176]
	cbnz	w22, LBB0_29
LBB0_43:
	cbz	x8, LBB0_45
; %bb.44:
	mov	w22, #0
	ldr	x8, [x20, #160]
	cbnz	x8, LBB0_50
	b	LBB0_51
LBB0_45:
	ldr	x0, [x20, #96]
	cbz	x0, LBB0_49
; %bb.46:
	add	x1, sp, #24
	bl	_get_oid_mb
	cbz	x0, LBB0_48
; %bb.47:
Lloh28:
	adrp	x0, l_.str.12@PAGE
Lloh29:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	ldr	x8, [x20, #96]
	str	x8, [sp]
	bl	_die
LBB0_48:
	ldr	x3, [x20, #96]
	add	x0, sp, #40
	add	x2, sp, #24
	mov	x1, x20
	bl	_setup_new_branch_info_and_source_tree
	ldr	w8, [x20, #168]
	cbz	w8, LBB0_84
LBB0_49:
	ldr	x8, [x20, #160]
	cbz	x8, LBB0_51
LBB0_50:
	ldr	w8, [x20, #152]
	orr	w8, w8, w22
	cbz	w8, LBB0_61
LBB0_51:
	cbz	w22, LBB0_64
; %bb.52:
	add	x0, x20, #104
	ldr	x8, [x20, #112]
Lloh30:
	adrp	x9, _PATHSPEC_PREFIX_ORIGIN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PATHSPEC_PREFIX_ORIGIN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
	mov	w1, #0
	mov	x3, x21
	mov	x4, x19
	bl	_parse_pathspec
	ldr	x8, [x20, #104]
	cbnz	x8, LBB0_54
; %bb.53:
Lloh33:
	adrp	x0, l_.str.15@PAGE
Lloh34:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	__
	bl	_die
LBB0_54:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_57
; %bb.55:
	cmp	w22, #1
	b.ne	LBB0_57
; %bb.56:
Lloh35:
	adrp	x0, l_.str.16@PAGE
Lloh36:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__
	ldr	x8, [x19]
	ldr	x9, [x20, #56]
	stp	x8, x9, [sp]
	bl	_die
LBB0_57:
	ldr	x8, [x20, #144]
	cbz	x8, LBB0_59
; %bb.58:
Lloh37:
	adrp	x0, l_.str.17@PAGE
Lloh38:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	__
	ldr	x8, [x19]
	str	x8, [sp]
	bl	_die
LBB0_59:
	ldr	w8, [x20, #136]
	cmp	w8, #0
	cset	w8, ne
	ldr	x9, [x20, #128]
	cmp	x9, #0
	cinc	w8, w8, ne
	ldr	w9, [x20, #32]
	cmp	w9, #0
	cinc	w8, w8, ne
	cmp	w8, #2
	b.lo	LBB0_64
; %bb.60:
Lloh39:
	adrp	x0, l_.str.18@PAGE
Lloh40:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_63
LBB0_61:
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_64
; %bb.62:
Lloh41:
	adrp	x0, l_.str.14@PAGE
Lloh42:
	add	x0, x0, l_.str.14@PAGEOFF
LBB0_63:
	bl	__
	bl	_die
LBB0_64:
	ldr	x0, [x20, #56]
	cbz	x0, LBB0_69
; %bb.65:
Lloh43:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_67
; %bb.66:
	add	x1, sp, #24
	bl	_validate_branchname
	b	LBB0_68
LBB0_67:
	add	x1, sp, #24
	mov	w2, #0
	bl	_validate_new_branchname
LBB0_68:
	str	w0, [x20, #120]
	add	x0, sp, #24
	bl	_strbuf_release
LBB0_69:
	mov	x0, x20
	bl	_UNLEAK
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_71
; %bb.70:
	ldr	x8, [x20, #104]
	cbz	x8, LBB0_82
LBB0_71:
	ldr	w1, [sp, #40]
	mov	x0, x20
	bl	_checkout_paths
	mov	x20, x0
	cbz	w0, LBB0_83
; %bb.72:
	ldr	w8, [sp, #36]
	cmp	w8, #2
	b.lt	LBB0_83
; %bb.73:
Lloh46:
	adrp	x8, _advice_checkout_ambiguous_remote_branch_name@GOTPAGE
Lloh47:
	ldr	x8, [x8, _advice_checkout_ambiguous_remote_branch_name@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cbz	x8, LBB0_83
; %bb.74:
Lloh49:
	adrp	x0, l_.str.19@PAGE
Lloh50:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	__
	ldr	x1, [x19]
	ldr	w2, [sp, #36]
	bl	_advise
	b	LBB0_83
LBB0_75:
	ldr	x8, [x20, #184]
	cbz	x8, LBB0_31
; %bb.76:
	ldr	x8, [x20, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.77:
	ldr	x8, [x20, #56]
	cmp	x8, #0
	cset	w2, eq
	b	LBB0_32
LBB0_78:
	mvn	w9, w9
	mvn	w8, w8
	stp	w9, w8, [x20, #84]
	ldr	x8, [x20, #96]
	cbnz	x8, LBB0_22
LBB0_79:
	ldr	w8, [x20, #84]
	cbz	w8, LBB0_22
; %bb.80:
	ldr	w8, [x20, #88]
	cbnz	w8, LBB0_22
; %bb.81:
Lloh51:
	adrp	x8, l_.str.6@PAGE
Lloh52:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x20, #96]
	b	LBB0_22
LBB0_82:
	add	x1, sp, #40
	mov	x0, x20
	bl	_checkout_branch
	mov	x20, x0
LBB0_83:
	mov	x0, x20
	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
	add	sp, sp, #128
	ret
LBB0_84:
Lloh53:
	adrp	x0, l_.str.13@PAGE
Lloh54:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__
	ldr	x8, [x20, #96]
	str	x8, [sp]
	bl	_die
	ldr	x8, [x20, #160]
	cbnz	x8, LBB0_50
	b	LBB0_51
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_git_checkout_config,4,2        ; @git_checkout_config
	.comm	_BRANCH_TRACK_UNSPECIFIED,8,3   ; @BRANCH_TRACK_UNSPECIFIED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"make up your mind, you need to take _something_"

	.comm	_PARSE_OPT_KEEP_DASHDASH,4,2    ; @PARSE_OPT_KEEP_DASHDASH
l_.str.1:                               ; @.str.1
	.asciz	"merge.conflictstyle"

l_.str.2:                               ; @.str.2
	.asciz	"--force"

l_.str.3:                               ; @.str.3
	.asciz	"-b, -B and --orphan are mutually exclusive"

l_.str.4:                               ; @.str.4
	.asciz	"-p and --overlay are mutually exclusive"

l_.str.6:                               ; @.str.6
	.asciz	"HEAD"

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

l_.str.8:                               ; @.str.8
	.asciz	"--track needs a branch name"

l_.str.9:                               ; @.str.9
	.asciz	"refs/"

l_.str.10:                              ; @.str.10
	.asciz	"remotes/"

l_.str.11:                              ; @.str.11
	.asciz	"missing branch name; try -b"

l_.str.12:                              ; @.str.12
	.asciz	"could not resolve %s"

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

l_.str.14:                              ; @.str.14
	.asciz	"you must specify path(s) to restore"

	.comm	_PATHSPEC_PREFIX_ORIGIN,4,2     ; @PATHSPEC_PREFIX_ORIGIN
l_.str.15:                              ; @.str.15
	.asciz	"invalid path specification"

l_.str.16:                              ; @.str.16
	.asciz	"'%s' is not a commit and a branch '%s' cannot be created from it"

l_.str.17:                              ; @.str.17
	.asciz	"git checkout: --detach does not take a path argument '%s'"

l_.str.18:                              ; @.str.18
	.asciz	"git checkout: --ours/--theirs, --force and --merge are incompatible when\nchecking out of the index."

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_advice_checkout_ambiguous_remote_branch_name,8,3 ; @advice_checkout_ambiguous_remote_branch_name
l_.str.19:                              ; @.str.19
	.asciz	"'%s' matched more than one remote tracking branch.\nWe found %d remotes with a reference that matched. So we fell back\non trying to resolve the argument as a path, but failed there too!\n\nIf you meant to check out a remote tracking branch on, e.g. 'origin',\nyou can do so by fully qualifying the name with the --track option:\n\n    git checkout --track origin/<name>\n\nIf you'd like to always have checkouts of an ambiguous <name> prefer\none remote, e.g. the 'origin' remote, consider setting\ncheckout.defaultRemote=origin in your config."

	.no_dead_strip	_checkout_main
.subsections_via_symbols
