#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
void pr_help(const char *name) {
  printf("\n%s [<command>] ", name);
  printf("where <command> is:\n");
  printf("\n [-h|--help|h|help]                 - print this screen.\n");
  printf("\n -p ls [<project1> <project2> ...]\n");
  printf("                                    - list registered projects.\n");
  printf("\n -p lsr [<project1> <project2> ...] - list recursively, i.e. all "
         "data down to clocked times.\n");
  printf("\n -p lsa                             - (list active) list projects "
         "with running tasks.\n");
  printf("\n -p lsd                             - (list done) list projects "
         "with finished tasks.\n");
  printf("\n -p sum [<project1> <project2> ...]\n");
  printf("                                    - summarize the tracked time for "
         "all (or the given) projects.\n");
  printf("\n -p add <project1> [<project2> <project3> ...]\n");
  printf("                                    - register a project.\n");
  printf("\n -p rm  <project>  [<project2> <project3> ...]\n");
  printf("                                    - rm a project.\n");
  printf("\n -t ls <project> [<task2> <task3> ...]\n");
  printf("                                    - print task times.\n");
  printf("\n -t lsa <project> [<task2> <task3> ...]\n");
  printf("                                    - list active runs.\n");
  printf("\n -t lsd <project> ls [<task2> <task3> ...]\n");
  printf("                                    - list finished runs.\n");
  printf("\n -t sum <project> [<task2> <task3> ...]\n");
  printf("                                    - summarize the tracked time for "
         "all (or the given) tasks in a project.\n");
  printf("\n -t add <project> <task> [<task2> <task3> ...]\n");
  printf(
      "                                    - register tasks in a project.\n");
  printf("\n -t rm <project> <task> [<task2> <task3> ...]\n");
  printf(
      "                                    - remove tasks from a project.\n");
  printf("\n -t start <project> <task>\n");
  printf("                                    - start a task in a project.\n");
  printf("\n -t stop <project> <task>\n");
  printf("                                    - stop tasks in a project.\n");
  printf("\n -t stop <project> <task> [<index1> <index2> ...]\n");
  printf("                                    - stop task runs with given "
         "indices in a project.\n");
}


x86 assembly (clang, -O0):
<pr_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x103e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1056(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ce(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10fb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x111e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1145(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1160(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x118b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11d2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11f1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x121e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x123a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1299(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12bc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x12f2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1314(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x134a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1359(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x138d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x139b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x13cd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x13f3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<pr_help>:
push   %rax
mov    %rdi,%rsi
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee0(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xff7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1041(%rip),%rdi
call   1030 <puts@plt>
lea    0x105a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1102(%rip),%rdi
call   1030 <puts@plt>
lea    0x1126(%rip),%rdi
call   1030 <puts@plt>
lea    0x114e(%rip),%rdi
call   1030 <puts@plt>
lea    0x116a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1196(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b3(%rip),%rdi
call   1030 <puts@plt>
lea    0x11df(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ff(%rip),%rdi
call   1030 <puts@plt>
lea    0x122d(%rip),%rdi
call   1030 <puts@plt>
lea    0x124a(%rip),%rdi
call   1030 <puts@plt>
lea    0x12aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x12ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x1305(%rip),%rdi
call   1030 <puts@plt>
lea    0x1328(%rip),%rdi
call   1030 <puts@plt>
lea    0x135f(%rip),%rdi
call   1030 <puts@plt>
lea    0x136f(%rip),%rdi
call   1030 <puts@plt>
lea    0x13a4(%rip),%rdi
call   1030 <puts@plt>
lea    0x13b3(%rip),%rdi
call   1030 <puts@plt>
lea    0x13e6(%rip),%rdi
call   1030 <puts@plt>
lea    0x140d(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"\0A%s [<command>] \00"
@.str.1 = [21 x i8] c"where <command> is:\0A\00"
@.str.2 = [59 x i8] c"\0A [-h|--help|h|help] - print this screen.\0A\00"
@.str.3 = [37 x i8] c"\0A -p ls [<project1> <project2> ...]\0A\00"
@.str.4 = [65 x i8] c" - list registered projects.\0A\00"
@.str.5 = [95 x i8] c"\0A -p lsr [<project1> <project2> ...] - list recursively, i.e. all data down to clocked times.\0A\00"
@.str.6 = [88 x i8] c"\0A -p lsa - (list active) list projects with running tasks.\0A\00"
@.str.7 = [87 x i8] c"\0A -p lsd - (list done) list projects with finished tasks.\0A\00"
@.str.8 = [38 x i8] c"\0A -p sum [<project1> <project2> ...]\0A\00"
@.str.9 = [99 x i8] c" - summarize the tracked time for all (or the given) projects.\0A\00"
@.str.10 = [49 x i8] c"\0A -p add <project1> [<project2> <project3> ...]\0A\00"
@.str.11 = [59 x i8] c" - register a project.\0A\00"
@.str.12 = [49 x i8] c"\0A -p rm <project> [<project2> <project3> ...]\0A\00"
@.str.13 = [53 x i8] c" - rm a project.\0A\00"
@.str.14 = [41 x i8] c"\0A -t ls <project> [<task2> <task3> ...]\0A\00"
@.str.15 = [57 x i8] c" - print task times.\0A\00"
@.str.16 = [42 x i8] c"\0A -t lsa <project> [<task2> <task3> ...]\0A\00"
@.str.17 = [57 x i8] c" - list active runs.\0A\00"
@.str.18 = [45 x i8] c"\0A -t lsd <project> ls [<task2> <task3> ...]\0A\00"
@.str.19 = [59 x i8] c" - list finished runs.\0A\00"
@.str.20 = [42 x i8] c"\0A -t sum <project> [<task2> <task3> ...]\0A\00"
@.str.21 = [109 x i8] c" - summarize the tracked time for all (or the given) tasks in a project.\0A\00"
@.str.22 = [49 x i8] c"\0A -t add <project> <task> [<task2> <task3> ...]\0A\00"
@.str.23 = [68 x i8] c" - register tasks in a project.\0A\00"
@.str.24 = [48 x i8] c"\0A -t rm <project> <task> [<task2> <task3> ...]\0A\00"
@.str.25 = [68 x i8] c" - remove tasks from a project.\0A\00"
@.str.26 = [29 x i8] c"\0A -t start <project> <task>\0A\00"
@.str.27 = [66 x i8] c" - start a task in a project.\0A\00"
@.str.28 = [28 x i8] c"\0A -t stop <project> <task>\0A\00"
@.str.29 = [64 x i8] c" - stop tasks in a project.\0A\00"
@.str.30 = [52 x i8] c"\0A -t stop <project> <task> [<index1> <index2> ...]\0A\00"
@.str.31 = [87 x i8] c" - stop task runs with given indices in a project.\0A\00"
define void @pr_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.15, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.16, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.17, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.19, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.20, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([109 x i8], [109 x i8]* @.str.21, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.22, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.23, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.24, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.25, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.26, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.27, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.28, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.29, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.30, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.31, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [17 x i8] c"\0A%s [<command>] \00"
@str = [20 x i8] c"where <command> is:\00"
@str.32 = [58 x i8] c"\0A [-h|--help|h|help] - print this screen.\00"
@str.33 = [36 x i8] c"\0A -p ls [<project1> <project2> ...]\00"
@str.34 = [64 x i8] c" - list registered projects.\00"
@str.35 = [94 x i8] c"\0A -p lsr [<project1> <project2> ...] - list recursively, i.e. all data down to clocked times.\00"
@str.36 = [87 x i8] c"\0A -p lsa - (list active) list projects with running tasks.\00"
@str.37 = [86 x i8] c"\0A -p lsd - (list done) list projects with finished tasks.\00"
@str.38 = [37 x i8] c"\0A -p sum [<project1> <project2> ...]\00"
@str.39 = [98 x i8] c" - summarize the tracked time for all (or the given) projects.\00"
@str.40 = [48 x i8] c"\0A -p add <project1> [<project2> <project3> ...]\00"
@str.41 = [58 x i8] c" - register a project.\00"
@str.42 = [48 x i8] c"\0A -p rm <project> [<project2> <project3> ...]\00"
@str.43 = [52 x i8] c" - rm a project.\00"
@str.44 = [40 x i8] c"\0A -t ls <project> [<task2> <task3> ...]\00"
@str.45 = [56 x i8] c" - print task times.\00"
@str.46 = [41 x i8] c"\0A -t lsa <project> [<task2> <task3> ...]\00"
@str.47 = [56 x i8] c" - list active runs.\00"
@str.48 = [44 x i8] c"\0A -t lsd <project> ls [<task2> <task3> ...]\00"
@str.49 = [58 x i8] c" - list finished runs.\00"
@str.50 = [41 x i8] c"\0A -t sum <project> [<task2> <task3> ...]\00"
@str.51 = [108 x i8] c" - summarize the tracked time for all (or the given) tasks in a project.\00"
@str.52 = [48 x i8] c"\0A -t add <project> <task> [<task2> <task3> ...]\00"
@str.53 = [67 x i8] c" - register tasks in a project.\00"
@str.54 = [47 x i8] c"\0A -t rm <project> <task> [<task2> <task3> ...]\00"
@str.55 = [67 x i8] c" - remove tasks from a project.\00"
@str.56 = [28 x i8] c"\0A -t start <project> <task>\00"
@str.57 = [65 x i8] c" - start a task in a project.\00"
@str.58 = [27 x i8] c"\0A -t stop <project> <task>\00"
@str.59 = [63 x i8] c" - stop tasks in a project.\00"
@str.60 = [51 x i8] c"\0A -t stop <project> <task> [<index1> <index2> ...]\00"
@str.61 = [86 x i8] c" - stop task runs with given indices in a project.\00"
define void @pr_help(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.32, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.33, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.34, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.35, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str.36, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.37, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.38, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([98 x i8], [98 x i8]* @str.39, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.40, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.41, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.42, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.43, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.44, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.45, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.46, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.47, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.48, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.49, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.50, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([108 x i8], [108 x i8]* @str.51, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.52, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.53, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.54, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.55, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.56, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.57, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.58, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.59, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.60, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.61, i64 0, i64 0))
ret void
}