	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkout_paths
_checkout_paths:                        ## @checkout_paths
	.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	$24, %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, %r12
	movq	_LOCK_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	cmpq	$0, 80(%rdi)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_trace2_cmd_mode
	movq	(%r12), %rax
	movq	_BRANCH_TRACK_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	cmpq	$0, 112(%r12)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	leaq	L_.str.4(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	cmpq	$0, 64(%r12)
	je	LBB0_7
## %bb.5:
	cmpq	$0, 80(%r12)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	96(%r12), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	cmpq	$0, 104(%r12)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_9:
	cmpq	$0, 32(%r12)
	je	LBB0_12
## %bb.10:
	cmpq	$0, 80(%r12)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_12:
	cmpq	$0, 64(%r12)
	je	LBB0_15
## %bb.13:
	cmpq	$0, 32(%r12)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	96(%r12), %esi
	leaq	L_.str.9(%rip), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_15:
	cmpl	$0, 92(%r12)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.10(%rip), %rdi
	callq	__
	movl	92(%r12), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_17:
	cmpq	$0, 24(%r12)
	jne	LBB0_22
## %bb.18:
	cmpl	$0, 8(%r12)
	je	LBB0_21
LBB0_19:
	cmpl	$0, 88(%r12)
	jne	LBB0_22
## %bb.20:
	leaq	L_.str.14(%rip), %rdi
	callq	__
	leaq	L_.str.13(%rip), %rsi
	leaq	L_.str.15(%rip), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.11(%rip), %rdi
	callq	__
	leaq	L_.str.12(%rip), %rsi
	leaq	L_.str.13(%rip), %rdx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	cmpq	$0, 24(%r12)
	je	LBB0_19
LBB0_22:
	cmpl	$0, 8(%r12)
	je	LBB0_29
## %bb.23:
	cmpq	$0, 24(%r12)
	jne	LBB0_29
## %bb.24:
	cmpq	$0, 48(%r12)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.16(%rip), %rdi
	callq	__
	leaq	L_.str.17(%rip), %rsi
	leaq	L_.str.18(%rip), %rdx
	leaq	L_.str.12(%rip), %rcx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	cmpl	$0, 8(%r12)
	je	LBB0_29
LBB0_26:
	cmpq	$0, 24(%r12)
	jne	LBB0_29
## %bb.27:
	cmpq	$0, 32(%r12)
	je	LBB0_29
## %bb.28:
	leaq	L_.str.16(%rip), %rdi
	callq	__
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.19(%rip), %rdx
	leaq	L_.str.12(%rip), %rcx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_29:
	cmpq	$0, 80(%r12)
	je	LBB0_32
## %bb.30:
	movl	8(%r12), %edi
	movq	24(%r12), %rax
	testl	%edi, %edi
	je	LBB0_41
## %bb.31:
	testq	%rax, %rax
	leaq	L_.str.21(%rip), %rax
	leaq	L_.str.20(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_43
LBB0_32:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOCK_DIE_ON_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	callq	_repo_hold_locked_index
	leaq	72(%r12), %r14
	movq	%r14, %rdi
	callq	_read_cache_preload
	testq	%rax, %rax
	js	LBB0_63
## %bb.33:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.34:
	movq	%r14, %rsi
	callq	_read_tree_some
LBB0_35:
	movl	(%r14), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, _checkout_paths.ps_matched(%rip)
	movq	_active_nr@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_45
## %bb.36:
	xorl	%ebx, %ebx
	movq	_active_cache@GOTPCREL(%rip), %r13
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_39 Depth=1
	callq	_mark_ce_for_checkout_overlay
LBB0_38:                                ##   in Loop: Header=BB0_39 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_44
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 40(%r12)
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_checkout_paths.ps_matched(%rip), %rsi
	movq	%r12, %rdx
	jne	LBB0_37
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	callq	_mark_ce_for_checkout_no_overlay
	jmp	LBB0_38
LBB0_41:
	testq	%rax, %rax
	je	LBB0_77
## %bb.42:
	leaq	L_.str.22(%rip), %rsi
LBB0_43:
	addq	$72, %r12
	movq	%r14, %rdi
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_run_add_interactive            ## TAILCALL
LBB0_44:
	movq	_checkout_paths.ps_matched(%rip), %rax
	movl	$1, %ebx
LBB0_45:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_report_path_error
	movq	%rax, %r14
	movq	_checkout_paths.ps_matched(%rip), %rdi
	callq	_free
	testq	%r14, %r14
	jne	LBB0_75
## %bb.46:
	cmpq	$0, 32(%r12)
	je	LBB0_48
## %bb.47:
	movq	_the_index@GOTPCREL(%rip), %rdi
	callq	_unmerge_marked_index
LBB0_48:
	cmpl	$0, (%r15)
	jle	LBB0_65
## %bb.49:
	movq	_CE_MATCHED@GOTPCREL(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_55
LBB0_50:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	48(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_60
## %bb.51:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	40(%r12), %rcx
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_check_stage
LBB0_52:                                ##   in Loop: Header=BB0_55 Depth=1
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
LBB0_53:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_skip_same_name
	movl	%eax, %ebx
	decl	%ebx
LBB0_54:                                ##   in Loop: Header=BB0_55 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_64
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %r13
	movl	(%r14), %eax
	testl	%eax, (%r13)
	je	LBB0_54
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	%r13, %rdi
	callq	_ce_stage
	testl	%eax, %eax
	je	LBB0_54
## %bb.57:                              ##   in Loop: Header=BB0_55 Depth=1
	cmpq	$0, 64(%r12)
	je	LBB0_50
## %bb.58:                              ##   in Loop: Header=BB0_55 Depth=1
	cmpl	$0, 56(%r12)
	jne	LBB0_53
## %bb.59:                              ##   in Loop: Header=BB0_55 Depth=1
	leaq	L_.str.25(%rip), %rdi
	callq	__
	movl	4(%r13), %esi
	movl	%eax, %edi
	callq	_warning
	jmp	LBB0_53
LBB0_60:                                ##   in Loop: Header=BB0_55 Depth=1
	cmpq	$0, 32(%r12)
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	$12, %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_check_stages
	jmp	LBB0_52
LBB0_62:                                ##   in Loop: Header=BB0_55 Depth=1
	leaq	L_.str.25(%rip), %rdi
	callq	__
	movl	4(%r13), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_error
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_53
LBB0_63:
	leaq	L_.str.24(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %ebx
	jmp	LBB0_75
LBB0_64:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	$1, %ebx
	jne	LBB0_75
LBB0_65:
	cmpq	$0, 24(%r12)
	je	LBB0_70
## %bb.66:
	movq	%r12, %rdi
	callq	_checkout_worktree
	movl	%eax, %r13d
	cmpq	$0, 24(%r12)
	je	LBB0_71
## %bb.67:
	cmpl	$0, 8(%r12)
	jne	LBB0_72
## %bb.68:
	cmpq	$0, 16(%r12)
	je	LBB0_72
LBB0_69:
	leaq	-48(%rbp), %rdi
	callq	_rollback_lock_file
	jmp	LBB0_74
LBB0_70:
	xorl	%r13d, %r13d
LBB0_71:
	cmpl	$0, 8(%r12)
	je	LBB0_69
LBB0_72:
	movq	_COMMIT_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_the_index@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rsi
	callq	_write_locked_index
	testq	%rax, %rax
	je	LBB0_74
## %bb.73:
	leaq	L_.str.26(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_74:
	leaq	L_.str.27(%rip), %rdi
	leaq	-56(%rbp), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_read_ref_full
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	movq	%rax, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_post_checkout_hook
	movl	%eax, %ebx
	orl	%r13d, %ebx
LBB0_75:
	movl	%ebx, %eax
LBB0_76:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_77:
	callq	_checkout_paths.cold.1
	xorl	%eax, %eax
	jmp	LBB0_76
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function checkout_paths.cold.1
_checkout_paths.cold.1:                 ## @checkout_paths.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %edx
	leaq	L_.str.23(%rip), %rdi
	xorl	%esi, %esi
	callq	_BUG
	ud2
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_checkout_paths.ps_matched,8,3 ## @checkout_paths.ps_matched
	.comm	_LOCK_INIT,4,2                  ## @LOCK_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"patch"

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

	.comm	_BRANCH_TRACK_UNSPECIFIED,8,3   ## @BRANCH_TRACK_UNSPECIFIED
L_.str.2:                               ## @.str.2
	.asciz	"'%s' cannot be used with updating paths"

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

L_.str.4:                               ## @.str.4
	.asciz	"-l"

L_.str.5:                               ## @.str.5
	.asciz	"--detach"

L_.str.6:                               ## @.str.6
	.asciz	"'%s' cannot be used with %s"

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

L_.str.8:                               ## @.str.8
	.asciz	"--patch"

L_.str.9:                               ## @.str.9
	.asciz	"-m"

L_.str.10:                              ## @.str.10
	.asciz	"Cannot update paths and switch to branch '%s' at the same time."

L_.str.11:                              ## @.str.11
	.asciz	"neither '%s' or '%s' is specified"

L_.str.12:                              ## @.str.12
	.asciz	"--staged"

L_.str.13:                              ## @.str.13
	.asciz	"--worktree"

L_.str.14:                              ## @.str.14
	.asciz	"'%s' must be used when '%s' is not specified"

L_.str.15:                              ## @.str.15
	.asciz	"--source"

L_.str.16:                              ## @.str.16
	.asciz	"'%s' or '%s' cannot be used with %s"

L_.str.17:                              ## @.str.17
	.asciz	"--ours"

L_.str.18:                              ## @.str.18
	.asciz	"--theirs"

L_.str.19:                              ## @.str.19
	.asciz	"--conflict"

L_.str.20:                              ## @.str.20
	.asciz	"--patch=checkout"

L_.str.21:                              ## @.str.21
	.asciz	"--patch=reset"

L_.str.22:                              ## @.str.22
	.asciz	"--patch=worktree"

L_.str.23:                              ## @.str.23
	.asciz	"either flag must have been set, worktree=%d, index=%d"

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_LOCK_DIE_ON_ERROR,4,2          ## @LOCK_DIE_ON_ERROR
L_.str.24:                              ## @.str.24
	.asciz	"index file corrupt"

	.comm	_active_nr,4,2                  ## @active_nr
	.comm	_active_cache,8,3               ## @active_cache
	.comm	_the_index,4,2                  ## @the_index
	.comm	_CE_MATCHED,4,2                 ## @CE_MATCHED
L_.str.25:                              ## @.str.25
	.asciz	"path '%s' is unmerged"

	.comm	_COMMIT_LOCK,4,2                ## @COMMIT_LOCK
L_.str.26:                              ## @.str.26
	.asciz	"unable to write new index file"

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

	.no_dead_strip	_checkout_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkout_paths
_checkout_paths:                        ; @checkout_paths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LOCK_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCK_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	ldr	x8, [x0, #80]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_trace2_cmd_mode
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _BRANCH_TRACK_UNSPECIFIED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BRANCH_TRACK_UNSPECIFIED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
Lloh12:
	adrp	x8, l_.str.3@PAGE
Lloh13:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp]
	bl	_die
LBB0_2:
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
Lloh16:
	adrp	x8, l_.str.4@PAGE
Lloh17:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [sp]
	bl	_die
LBB0_4:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_7
; %bb.6:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	w8, [x19, #96]
	str	x8, [sp]
	bl	_die
LBB0_7:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_9
; %bb.8:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
Lloh22:
	adrp	x8, l_.str.5@PAGE
Lloh23:
	add	x8, x8, l_.str.5@PAGEOFF
	str	x8, [sp]
	bl	_die
LBB0_9:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_12
; %bb.11:
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
Lloh26:
	adrp	x8, l_.str.8@PAGE
Lloh27:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh28:
	adrp	x9, l_.str.7@PAGE
Lloh29:
	add	x9, x9, l_.str.7@PAGEOFF
	stp	x9, x8, [sp]
	bl	_die
LBB0_12:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_15
; %bb.13:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
; %bb.14:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	ldr	w8, [x19, #96]
Lloh32:
	adrp	x9, l_.str.9@PAGE
Lloh33:
	add	x9, x9, l_.str.9@PAGEOFF
	stp	x8, x9, [sp]
	bl	_die
LBB0_15:
	ldr	w8, [x19, #92]
	cbz	w8, LBB0_17
; %bb.16:
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	__
	ldr	w8, [x19, #92]
	str	x8, [sp]
	bl	_die
LBB0_17:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_22
; %bb.18:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_21
LBB0_19:
	ldr	w8, [x19, #88]
	cbnz	w8, LBB0_22
; %bb.20:
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__
Lloh38:
	adrp	x8, l_.str.15@PAGE
Lloh39:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh40:
	adrp	x9, l_.str.13@PAGE
Lloh41:
	add	x9, x9, l_.str.13@PAGEOFF
	stp	x9, x8, [sp]
	bl	_die
	b	LBB0_22
LBB0_21:
Lloh42:
	adrp	x0, l_.str.11@PAGE
Lloh43:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	__
Lloh44:
	adrp	x8, l_.str.13@PAGE
Lloh45:
	add	x8, x8, l_.str.13@PAGEOFF
Lloh46:
	adrp	x9, l_.str.12@PAGE
Lloh47:
	add	x9, x9, l_.str.12@PAGEOFF
	stp	x9, x8, [sp]
	bl	_die
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_19
LBB0_22:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_29
; %bb.23:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_29
; %bb.24:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_26
; %bb.25:
Lloh48:
	adrp	x0, l_.str.16@PAGE
Lloh49:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__
Lloh50:
	adrp	x8, l_.str.12@PAGE
Lloh51:
	add	x8, x8, l_.str.12@PAGEOFF
Lloh52:
	adrp	x9, l_.str.18@PAGE
Lloh53:
	add	x9, x9, l_.str.18@PAGEOFF
	stp	x9, x8, [sp, #8]
Lloh54:
	adrp	x8, l_.str.17@PAGE
Lloh55:
	add	x8, x8, l_.str.17@PAGEOFF
	str	x8, [sp]
	bl	_die
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_29
LBB0_26:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_29
; %bb.27:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_29
; %bb.28:
Lloh56:
	adrp	x0, l_.str.16@PAGE
Lloh57:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	__
Lloh58:
	adrp	x8, l_.str.12@PAGE
Lloh59:
	add	x8, x8, l_.str.12@PAGEOFF
Lloh60:
	adrp	x9, l_.str.19@PAGE
Lloh61:
	add	x9, x9, l_.str.19@PAGEOFF
	stp	x9, x8, [sp, #8]
Lloh62:
	adrp	x8, l_.str.7@PAGE
Lloh63:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [sp]
	bl	_die
LBB0_29:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_32
; %bb.30:
	ldr	w0, [x19, #8]
	ldr	x8, [x19, #24]
	cbz	w0, LBB0_41
; %bb.31:
Lloh64:
	adrp	x9, l_.str.20@PAGE
Lloh65:
	add	x9, x9, l_.str.20@PAGEOFF
Lloh66:
	adrp	x10, l_.str.21@PAGE
Lloh67:
	add	x10, x10, l_.str.21@PAGEOFF
	cmp	x8, #0
	csel	x1, x10, x9, eq
	b	LBB0_43
LBB0_32:
Lloh68:
	adrp	x23, _the_repository@GOTPAGE
Lloh69:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh70:
	adrp	x8, _LOCK_DIE_ON_ERROR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _LOCK_DIE_ON_ERROR@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
	add	x1, sp, #32
	bl	_repo_hold_locked_index
	add	x20, x19, #72
	mov	x0, x20
	bl	_read_cache_preload
	tbnz	x0, #63, LBB0_47
; %bb.33:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_35
; %bb.34:
	mov	x1, x20
	bl	_read_tree_some
LBB0_35:
	ldr	w0, [x20]
	mov	w1, #1
	bl	_xcalloc
	adrp	x21, _checkout_paths.ps_matched@PAGE
	str	x0, [x21, _checkout_paths.ps_matched@PAGEOFF]
Lloh73:
	adrp	x24, _active_nr@GOTPAGE
Lloh74:
	ldr	x24, [x24, _active_nr@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_45
; %bb.36:
	mov	x22, #0
Lloh75:
	adrp	x25, _active_cache@GOTPAGE
Lloh76:
	ldr	x25, [x25, _active_cache@GOTPAGEOFF]
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_39 Depth=1
	bl	_mark_ce_for_checkout_no_overlay
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x24]
	cmp	x22, x8
	b.ge	LBB0_44
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x25]
	ldr	x0, [x9, x22, lsl #3]
	ldr	x1, [x21, _checkout_paths.ps_matched@PAGEOFF]
	mov	x2, x19
	cbz	x8, LBB0_37
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	bl	_mark_ce_for_checkout_overlay
	b	LBB0_38
LBB0_41:
	cbz	x8, LBB0_77
; %bb.42:
Lloh77:
	adrp	x1, l_.str.22@PAGE
Lloh78:
	add	x1, x1, l_.str.22@PAGEOFF
LBB0_43:
	add	x2, x19, #72
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_run_add_interactive
LBB0_44:
	ldr	x0, [x21, _checkout_paths.ps_matched@PAGEOFF]
LBB0_45:
	mov	x1, x20
	bl	_report_path_error
	mov	x20, x0
	ldr	x0, [x21, _checkout_paths.ps_matched@PAGEOFF]
	bl	_free
	cbz	x20, LBB0_48
LBB0_46:
	mov	w0, #1
	b	LBB0_76
LBB0_47:
Lloh79:
	adrp	x0, l_.str.24@PAGE
Lloh80:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	__
	bl	_error
	b	LBB0_76
LBB0_48:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_50
; %bb.49:
Lloh81:
	adrp	x0, _the_index@GOTPAGE
Lloh82:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	bl	_unmerge_marked_index
LBB0_50:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_66
; %bb.51:
	mov	w27, #0
	mov	w20, #0
Lloh83:
	adrp	x25, _active_cache@GOTPAGE
Lloh84:
	ldr	x25, [x25, _active_cache@GOTPAGEOFF]
Lloh85:
	adrp	x26, _CE_MATCHED@GOTPAGE
Lloh86:
	ldr	x26, [x26, _CE_MATCHED@GOTPAGEOFF]
Lloh87:
	adrp	x21, l_.str.25@PAGE
Lloh88:
	add	x21, x21, l_.str.25@PAGEOFF
	b	LBB0_57
LBB0_52:                                ;   in Loop: Header=BB0_57 Depth=1
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_62
; %bb.53:                               ;   in Loop: Header=BB0_57 Depth=1
	ldr	x3, [x19, #40]
	mov	x1, x22
	mov	x2, x20
	bl	_check_stage
LBB0_54:                                ;   in Loop: Header=BB0_57 Depth=1
	orr	w27, w0, w27
LBB0_55:                                ;   in Loop: Header=BB0_57 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_skip_same_name
	sub	w20, w0, #1
LBB0_56:                                ;   in Loop: Header=BB0_57 Depth=1
	add	w20, w20, #1
	ldr	w8, [x24]
	cmp	w20, w8
	b.ge	LBB0_65
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x22, [x8, w20, sxtw #3]
	ldr	w8, [x22]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_56
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	mov	x0, x22
	bl	_ce_stage
	cbz	w0, LBB0_56
; %bb.59:                               ;   in Loop: Header=BB0_57 Depth=1
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_52
; %bb.60:                               ;   in Loop: Header=BB0_57 Depth=1
	ldr	w8, [x19, #56]
	cbnz	w8, LBB0_55
; %bb.61:                               ;   in Loop: Header=BB0_57 Depth=1
	mov	x0, x21
	bl	__
	ldr	w1, [x22, #4]
	bl	_warning
	b	LBB0_55
LBB0_62:                                ;   in Loop: Header=BB0_57 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_57 Depth=1
	mov	w0, #12
	mov	x1, x22
	mov	x2, x20
	bl	_check_stages
	b	LBB0_54
LBB0_64:                                ;   in Loop: Header=BB0_57 Depth=1
	mov	x0, x21
	bl	__
	ldr	w8, [x22, #4]
	str	x8, [sp]
	bl	_error
	mov	w27, #1
	b	LBB0_55
LBB0_65:
	cbnz	w27, LBB0_46
LBB0_66:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_71
; %bb.67:
	mov	x0, x19
	bl	_checkout_worktree
	mov	x20, x0
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_72
; %bb.68:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_73
; %bb.69:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_73
LBB0_70:
	add	x0, sp, #32
	bl	_rollback_lock_file
	b	LBB0_75
LBB0_71:
	mov	w20, #0
LBB0_72:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_70
LBB0_73:
Lloh89:
	adrp	x8, _COMMIT_LOCK@GOTPAGE
Lloh90:
	ldr	x8, [x8, _COMMIT_LOCK@GOTPAGEOFF]
Lloh91:
	ldr	w2, [x8]
Lloh92:
	adrp	x0, _the_index@GOTPAGE
Lloh93:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	add	x1, sp, #32
	bl	_write_locked_index
	cbz	x0, LBB0_75
; %bb.74:
Lloh94:
	adrp	x0, l_.str.26@PAGE
Lloh95:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	__
	bl	_die
LBB0_75:
Lloh96:
	adrp	x0, l_.str.27@PAGE
Lloh97:
	add	x0, x0, l_.str.27@PAGEOFF
	add	x2, sp, #40
	mov	w1, #0
	mov	x3, #0
	bl	_read_ref_full
	ldr	w0, [x23]
	add	x1, sp, #40
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	mov	x1, x0
	mov	w2, #0
	bl	_post_checkout_hook
	orr	w0, w0, w20
LBB0_76:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_77:
	bl	_checkout_paths.cold.1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function checkout_paths.cold.1
_checkout_paths.cold.1:                 ; @checkout_paths.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
Lloh98:
	adrp	x0, l_.str.23@PAGE
Lloh99:
	add	x0, x0, l_.str.23@PAGEOFF
	mov	x1, #0
	bl	_BUG
	brk	#0x1
	.loh AdrpAdd	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_checkout_paths.ps_matched,8,3 ; @checkout_paths.ps_matched
	.comm	_LOCK_INIT,4,2                  ; @LOCK_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"patch"

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

	.comm	_BRANCH_TRACK_UNSPECIFIED,8,3   ; @BRANCH_TRACK_UNSPECIFIED
l_.str.2:                               ; @.str.2
	.asciz	"'%s' cannot be used with updating paths"

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

l_.str.4:                               ; @.str.4
	.asciz	"-l"

l_.str.5:                               ; @.str.5
	.asciz	"--detach"

l_.str.6:                               ; @.str.6
	.asciz	"'%s' cannot be used with %s"

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

l_.str.8:                               ; @.str.8
	.asciz	"--patch"

l_.str.9:                               ; @.str.9
	.asciz	"-m"

l_.str.10:                              ; @.str.10
	.asciz	"Cannot update paths and switch to branch '%s' at the same time."

l_.str.11:                              ; @.str.11
	.asciz	"neither '%s' or '%s' is specified"

l_.str.12:                              ; @.str.12
	.asciz	"--staged"

l_.str.13:                              ; @.str.13
	.asciz	"--worktree"

l_.str.14:                              ; @.str.14
	.asciz	"'%s' must be used when '%s' is not specified"

l_.str.15:                              ; @.str.15
	.asciz	"--source"

l_.str.16:                              ; @.str.16
	.asciz	"'%s' or '%s' cannot be used with %s"

l_.str.17:                              ; @.str.17
	.asciz	"--ours"

l_.str.18:                              ; @.str.18
	.asciz	"--theirs"

l_.str.19:                              ; @.str.19
	.asciz	"--conflict"

l_.str.20:                              ; @.str.20
	.asciz	"--patch=checkout"

l_.str.21:                              ; @.str.21
	.asciz	"--patch=reset"

l_.str.22:                              ; @.str.22
	.asciz	"--patch=worktree"

l_.str.23:                              ; @.str.23
	.asciz	"either flag must have been set, worktree=%d, index=%d"

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_LOCK_DIE_ON_ERROR,4,2          ; @LOCK_DIE_ON_ERROR
l_.str.24:                              ; @.str.24
	.asciz	"index file corrupt"

	.comm	_active_nr,4,2                  ; @active_nr
	.comm	_active_cache,8,3               ; @active_cache
	.comm	_the_index,4,2                  ; @the_index
	.comm	_CE_MATCHED,4,2                 ; @CE_MATCHED
l_.str.25:                              ; @.str.25
	.asciz	"path '%s' is unmerged"

	.comm	_COMMIT_LOCK,4,2                ; @COMMIT_LOCK
l_.str.26:                              ; @.str.26
	.asciz	"unable to write new index file"

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

	.no_dead_strip	_checkout_paths
.subsections_via_symbols
