	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_preparing_worktree_line
_print_preparing_worktree_line:         ## @print_preparing_worktree_line
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_lookup_commit_reference_by_name
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_find_unique_abbrev
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf_ln                      ## TAILCALL
LBB0_3:
	testq	%r15, %r15
	je	LBB0_4
LBB0_12:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf_ln                      ## TAILCALL
LBB0_4:
	movq	%rsi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	testl	%edi, %edi
	jne	LBB0_8
## %bb.5:
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strbuf_check_branch_ref
	testl	%eax, %eax
	je	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	callq	_lookup_commit_reference_by_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_die
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_find_unique_abbrev
	movl	%r14d, %edi
	movq	%rax, %rsi
LBB0_11:
	xorl	%eax, %eax
	callq	_printf_ln
	leaq	-32(%rbp), %rdi
	callq	_strbuf_release
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-32(%rbp), %edi
	callq	_ref_exists
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Preparing worktree (new branch '%s')"

L_.str.1:                               ## @.str.1
	.asciz	"Preparing worktree (resetting branch '%s'; was at %s)"

	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.2:                               ## @.str.2
	.asciz	"Preparing worktree (checking out '%s')"

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

L_.str.4:                               ## @.str.4
	.asciz	"Preparing worktree (detached HEAD %s)"

	.no_dead_strip	_print_preparing_worktree_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_preparing_worktree_line
_print_preparing_worktree_line:         ; @print_preparing_worktree_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	cbz	w3, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_lookup_commit_reference_by_name
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x21, x0
Lloh2:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_find_unique_abbrev
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_printf_ln
	b	LBB0_11
LBB0_3:
	cbz	x20, LBB0_5
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printf_ln
LBB0_5:
	mov	x19, x1
Lloh7:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	cbnz	w0, LBB0_7
; %bb.6:
	add	x0, sp, #8
	mov	x1, x19
	bl	_strbuf_check_branch_ref
	cbz	w0, LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_lookup_commit_reference_by_name
	mov	x20, x0
	cbnz	x0, LBB0_9
; %bb.8:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_9:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x19, x0
Lloh14:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_find_unique_abbrev
	mov	x1, x0
	mov	x0, x19
LBB0_10:
	bl	_printf_ln
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	ldr	w0, [sp, #8]
	bl	_ref_exists
	cbz	x0, LBB0_7
; %bb.13:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x19
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Preparing worktree (new branch '%s')"

l_.str.1:                               ; @.str.1
	.asciz	"Preparing worktree (resetting branch '%s'; was at %s)"

	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.2:                               ; @.str.2
	.asciz	"Preparing worktree (checking out '%s')"

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

l_.str.4:                               ; @.str.4
	.asciz	"Preparing worktree (detached HEAD %s)"

	.no_dead_strip	_print_preparing_worktree_line
.subsections_via_symbols
