	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_worktree
_show_worktree:                         ## @show_worktree
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	32(%rdi), %edi
	callq	_strlen
	movl	%eax, %ebx
	movl	32(%r12), %edi
	callq	_utf8_strwidth
	addl	%r15d, %ebx
	subl	%eax, %ebx
	incl	%ebx
	movl	32(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_strbuf_addf
	cmpq	$0, 24(%r12)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_2:
	leaq	16(%r12), %rdi
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_find_unique_abbrev
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_strbuf_addf
	cmpq	$0, 8(%r12)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_addstr
LBB0_8:
	movq	-40(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	callq	_shorten_unambiguous_ref
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_strbuf_addf
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-*s "

L_.str.1:                               ## @.str.1
	.asciz	"(bare)"

	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
L_.str.2:                               ## @.str.2
	.asciz	"(detached HEAD)"

L_.str.3:                               ## @.str.3
	.asciz	"[%s]"

L_.str.4:                               ## @.str.4
	.asciz	"(error)"

L_.str.5:                               ## @.str.5
	.asciz	"%s\n"

	.no_dead_strip	_show_worktree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_worktree
_show_worktree:                         ; @show_worktree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0, #32]
	bl	_strlen
	mov	x22, x0
	ldr	w0, [x19, #32]
	bl	_utf8_strwidth
	add	w8, w21, w22
	sub	w8, w8, w0
	add	w8, w8, #1
	ldr	w9, [x19, #32]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strbuf_addf
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	add	x0, x19, #16
Lloh7:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_find_unique_abbrev
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strbuf_addf
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.3:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_4:
	add	x0, sp, #24
	bl	_strbuf_addstr
LBB0_5:
	ldr	x1, [sp, #24]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	add	x0, sp, #24
	bl	_strbuf_release
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:
	mov	w1, #0
	bl	_shorten_unambiguous_ref
	mov	x19, x0
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #24
	bl	_strbuf_addf
	mov	x0, x19
	bl	_free
	b	LBB0_5
LBB0_8:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-*s "

l_.str.1:                               ; @.str.1
	.asciz	"(bare)"

	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
l_.str.2:                               ; @.str.2
	.asciz	"(detached HEAD)"

l_.str.3:                               ; @.str.3
	.asciz	"[%s]"

l_.str.4:                               ; @.str.4
	.asciz	"(error)"

l_.str.5:                               ; @.str.5
	.asciz	"%s\n"

	.no_dead_strip	_show_worktree
.subsections_via_symbols
