#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*/ printa(char **);
void help_project() {
  char *msg[] = {"Pit project is basic entity used to group related tasks "
                 "together. A project has name and status.\n",
                 "Creating a project:\n",
                 "   $ pit project -c name [-s status]\n",
                 "Editing a project:\n",
                 "   $ pit project -e [number] [-n name] [-s status]\n",
                 "Deleting a project:\n",
                 "   $ pit project -d [number]\n",
                 "Viewing a project:\n",
                 "   $ pit project [[-q] number]\n",
                 "Searching projects:\n",
                 "   $ pit project -q [number | [-n name] [-s status]]\n",
                 "Examples:\n",
                 "   $ pit project -c 'My Tasks'",
                 "   created project 1: My Tasks (status: active)\n",
                 "   $ pit project -c 'Feature Requests' -s backlog",
                 "   created project 2: Feature Requests (status: backlog)\n",
                 "   $ pit pro",
                 "     1: (username) [active ] My Tasks         (0 tasks)",
                 "   * 2: (username) [backlog] Feature Requests (0 tasks)\n",
                 "   $ pit p 1 -e -n 'Task and Bugs' -s current",
                 "   1: Task and Bugs (current, 0 tasks)\n",
                 "   $ pit p",
                 "     1: (username) [current] Task and Bugs    (0 tasks)",
                 "   * 2: (username) [backlog] Feature Requests (0 tasks)\n",
                 "   $ pit p -d",
                 "   deleted project 2: Feature Requests\n",
                 "   $ pit p",
                 "   * 1: (username) [current] Task and Bugs (0 tasks)\n",
                 NULL};
  printa(msg);
}


x86 assembly (clang, -O0):
<help_project>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
lea    -0xf0(%rbp),%rdi
lea    0x2bf7(%rip),%rsi
mov    $0xe8,%edx
call   1030 <memcpy@plt>
lea    -0xf0(%rbp),%rdi
call   1040 <printa@plt>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_project>:
push   %rbx
sub    $0xf0,%rsp
lea    0x2c01(%rip),%rsi
mov    %rsp,%rbx
mov    $0xe8,%edx
mov    %rbx,%rdi
call   1030 <memcpy@plt>
mov    %rbx,%rdi
call   1040 <printa@plt>
add    $0xf0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [98 x i8] c"Pit project is basic entity used to group related tasks together. A project has name and status.\0A\00"
@.str.1 = [21 x i8] c"Creating a project:\0A\00"
@.str.2 = [38 x i8] c" $ pit project -c name [-s status]\0A\00"
@.str.3 = [20 x i8] c"Editing a project:\0A\00"
@.str.4 = [52 x i8] c" $ pit project -e [number] [-n name] [-s status]\0A\00"
@.str.5 = [21 x i8] c"Deleting a project:\0A\00"
@.str.6 = [30 x i8] c" $ pit project -d [number]\0A\00"
@.str.7 = [20 x i8] c"Viewing a project:\0A\00"
@.str.8 = [32 x i8] c" $ pit project [[-q] number]\0A\00"
@.str.9 = [21 x i8] c"Searching projects:\0A\00"
@.str.10 = [54 x i8] c" $ pit project -q [number | [-n name] [-s status]]\0A\00"
@.str.11 = [11 x i8] c"Examples:\0A\00"
@.str.12 = [31 x i8] c" $ pit project -c 'My Tasks'\00"
@.str.13 = [49 x i8] c" created project 1: My Tasks (status: active)\0A\00"
@.str.14 = [50 x i8] c" $ pit project -c 'Feature Requests' -s backlog\00"
@.str.15 = [58 x i8] c" created project 2: Feature Requests (status: backlog)\0A\00"
@.str.16 = [13 x i8] c" $ pit pro\00"
@.str.17 = [56 x i8] c" 1: (username) [active ] My Tasks (0 tasks)\00"
@.str.18 = [57 x i8] c" * 2: (username) [backlog] Feature Requests (0 tasks)\0A\00"
@.str.19 = [46 x i8] c" $ pit p 1 -e -n 'Task and Bugs' -s current\00"
@.str.20 = [40 x i8] c" 1: Task and Bugs (current, 0 tasks)\0A\00"
@.str.21 = [11 x i8] c" $ pit p\00"
@.str.22 = [56 x i8] c" 1: (username) [current] Task and Bugs (0 tasks)\00"
@.str.23 = [14 x i8] c" $ pit p -d\00"
@.str.24 = [40 x i8] c" deleted project 2: Feature Requests\0A\00"
@.str.25 = [54 x i8] c" * 1: (username) [current] Task and Bugs (0 tasks)\0A\00"
@__const.help_project.msg = [29 x i8*] [i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.25, i32 0, i32 0), i8* null]
define void @help_project() {
%1 = alloca [29 x i8*]
%2 = bitcast [29 x i8*]* %1 to i8*
%3 = getelementptr inbounds [29 x i8*], [29 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}

LLVM IR (-O2):
@.str = [98 x i8] c"Pit project is basic entity used to group related tasks together. A project has name and status.\0A\00"
@.str.1 = [21 x i8] c"Creating a project:\0A\00"
@.str.2 = [38 x i8] c" $ pit project -c name [-s status]\0A\00"
@.str.3 = [20 x i8] c"Editing a project:\0A\00"
@.str.4 = [52 x i8] c" $ pit project -e [number] [-n name] [-s status]\0A\00"
@.str.5 = [21 x i8] c"Deleting a project:\0A\00"
@.str.6 = [30 x i8] c" $ pit project -d [number]\0A\00"
@.str.7 = [20 x i8] c"Viewing a project:\0A\00"
@.str.8 = [32 x i8] c" $ pit project [[-q] number]\0A\00"
@.str.9 = [21 x i8] c"Searching projects:\0A\00"
@.str.10 = [54 x i8] c" $ pit project -q [number | [-n name] [-s status]]\0A\00"
@.str.11 = [11 x i8] c"Examples:\0A\00"
@.str.12 = [31 x i8] c" $ pit project -c 'My Tasks'\00"
@.str.13 = [49 x i8] c" created project 1: My Tasks (status: active)\0A\00"
@.str.14 = [50 x i8] c" $ pit project -c 'Feature Requests' -s backlog\00"
@.str.15 = [58 x i8] c" created project 2: Feature Requests (status: backlog)\0A\00"
@.str.16 = [13 x i8] c" $ pit pro\00"
@.str.17 = [56 x i8] c" 1: (username) [active ] My Tasks (0 tasks)\00"
@.str.18 = [57 x i8] c" * 2: (username) [backlog] Feature Requests (0 tasks)\0A\00"
@.str.19 = [46 x i8] c" $ pit p 1 -e -n 'Task and Bugs' -s current\00"
@.str.20 = [40 x i8] c" 1: Task and Bugs (current, 0 tasks)\0A\00"
@.str.21 = [11 x i8] c" $ pit p\00"
@.str.22 = [56 x i8] c" 1: (username) [current] Task and Bugs (0 tasks)\00"
@.str.23 = [14 x i8] c" $ pit p -d\00"
@.str.24 = [40 x i8] c" deleted project 2: Feature Requests\0A\00"
@.str.25 = [54 x i8] c" * 1: (username) [current] Task and Bugs (0 tasks)\0A\00"
@__const.help_project.msg = [29 x i8*] [i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.25, i32 0, i32 0), i8* null]
define void @help_project() {
%1 = alloca [29 x i8*]
%2 = bitcast [29 x i8*]* %1 to i8*
%3 = getelementptr inbounds [29 x i8*], [29 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}