	.file	"extr_worktree.c_show_worktree.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%-*s "
.LC1:
	.string	"(bare)"
.LC2:
	.string	"(detached HEAD)"
.LC3:
	.string	"[%s]"
.LC4:
	.string	"(error)"
.LC5:
	.string	"%s\n"
	.text
	.p2align 4
	.type	show_worktree, @function
show_worktree:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 32[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	QWORD PTR [rsp], rax
	call	strlen@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	ebp, eax
	call	utf8_strwidth@PLT
	mov	ecx, DWORD PTR 32[rbx]
	lea	rsi, .LC0[rip]
	sub	ebp, eax
	xor	eax, eax
	lea	edx, 1[r12+rbp]
	mov	rbp, rsp
	mov	rdi, rbp
	call	strbuf_addf@PLT
	cmp	QWORD PTR 24[rbx], 0
	je	.L2
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	strbuf_addstr@PLT
.L3:
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, .LC5[rip]
	call	printf@PLT
	mov	rdi, rbp
	call	strbuf_release@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR DEFAULT_ABBREV[rip]
	lea	rdi, 16[rbx]
	call	find_unique_abbrev@PLT
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	ecx, eax
	xor	eax, eax
	call	strbuf_addf@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L10
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L5
	xor	esi, esi
	call	shorten_unambiguous_ref@PLT
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	mov	r12, rax
	mov	rdx, rax
	xor	eax, eax
	call	strbuf_addf@PLT
	mov	rdi, r12
	call	free@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	strbuf_addstr@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strbuf_addstr@PLT
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	show_worktree, .-show_worktree
	.comm	STRBUF_INIT,8,8
	.comm	DEFAULT_ABBREV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_worktree.c_show_worktree.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%-*s \000"
	.align	2
.LC1:
	.ascii	"(bare)\000"
	.align	2
.LC2:
	.ascii	"(detached HEAD)\000"
	.align	2
.LC3:
	.ascii	"[%s]\000"
	.align	2
.LC4:
	.ascii	"(error)\000"
	.align	2
.LC5:
	.ascii	"%s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_worktree, %function
show_worktree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L11
	mov	r7, r2
	ldr	r3, [r3]
	ldr	r2, .L11+4
	sub	sp, sp, #12
	mov	r4, r0
	ldr	r0, [r0, #16]
	mov	r6, r1
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	str	r3, [sp]
	bl	strlen
	mov	r5, r0
	ldr	r0, [r4, #16]
	bl	utf8_strwidth
	add	r6, r6, #1
	sub	r5, r5, r0
	ldr	r3, [r4, #16]
	mov	r0, sp
	ldr	r1, .L11+8
	add	r2, r6, r5
	bl	strbuf_addf
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L2
	mov	r0, sp
	ldr	r1, .L11+12
	bl	strbuf_addstr
.L3:
	ldr	r1, [sp]
	ldr	r0, .L11+16
	bl	printf
	mov	r0, sp
	bl	strbuf_release
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, .L11+20
	add	r0, r4, #8
	ldr	r1, [r3]
	bl	find_unique_abbrev
	ldr	r1, .L11+8
	mov	r3, r0
	mov	r2, r7
	mov	r0, sp
	bl	strbuf_addf
	ldr	r1, [r4, #4]
	cmp	r1, #0
	bne	.L10
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L5
	bl	shorten_unambiguous_ref
	mov	r4, r0
	mov	r2, r0
	ldr	r1, .L11+24
	mov	r0, sp
	bl	strbuf_addf
	mov	r0, r4
	bl	free
	b	.L3
.L5:
	mov	r0, sp
	ldr	r1, .L11+28
	bl	strbuf_addstr
	b	.L3
.L10:
	mov	r0, sp
	ldr	r1, .L11+32
	bl	strbuf_addstr
	b	.L3
.L9:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	STRBUF_INIT
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC5
	.word	DEFAULT_ABBREV
	.word	.LC3
	.word	.LC4
	.word	.LC2
	.size	show_worktree, .-show_worktree
	.comm	STRBUF_INIT,4,4
	.comm	DEFAULT_ABBREV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
