#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 usage() {
  char *msg[] = {
      "Pit is highly experimental software. Use it at your own risk. See "
      "LICENSE file for details.",
      "usage: pit command [args]\n",
      "The commands are:",
      "   init       Create empty Pit database or reinitialize an existing one",
      "   project    Create, search, and manage Pit projects",
      "   task       Create, search, and manage Pit tasks",
      "   note       Create, search, and manage Pit notes",
      "   log        Show chronological Pit activity log",
      "   info       Show summary information about your Pit database",
      "   help       Show help information about Pit",
      "   version    Show Pit version number\n",
      "All commands might be shortened as long as they remain unambiguous. See "
      "'pit help <command>' for more",
      "information on a specific command.\n",
      NULL};
  printa(msg);
}


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

x86 assembly (clang, -O2):
<usage>:
sub    $0x78,%rsp
movaps 0x2cf5(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0x2cd9(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0x2cbd(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0x2ca1(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0x2c85(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0x2c69(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0x2c4d(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    %rsp,%rdi
call   1030 <printa@plt>
add    $0x78,%rsp
ret

LLVM IR (-O0):
@.str = [92 x i8] c"Pit is highly experimental software. Use it at your own risk. See LICENSE file for details.\00"
@.str.1 = [27 x i8] c"usage: pit command [args]\0A\00"
@.str.2 = [18 x i8] c"The commands are:\00"
@.str.3 = [72 x i8] c" init Create empty Pit database or reinitialize an existing one\00"
@.str.4 = [54 x i8] c" project Create, search, and manage Pit projects\00"
@.str.5 = [51 x i8] c" task Create, search, and manage Pit tasks\00"
@.str.6 = [51 x i8] c" note Create, search, and manage Pit notes\00"
@.str.7 = [50 x i8] c" log Show chronological Pit activity log\00"
@.str.8 = [63 x i8] c" info Show summary information about your Pit database\00"
@.str.9 = [46 x i8] c" help Show help information about Pit\00"
@.str.10 = [39 x i8] c" version Show Pit version number\0A\00"
@.str.11 = [102 x i8] c"All commands might be shortened as long as they remain unambiguous. See 'pit help <command>' for more\00"
@.str.12 = [36 x i8] c"information on a specific command.\0A\00"
@__const.usage.msg = [14 x i8*] [i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i32 0, i32 0), i8* null]
define void @usage() {
%1 = alloca [14 x i8*]
%2 = bitcast [14 x i8*]* %1 to i8*
%3 = getelementptr inbounds [14 x i8*], [14 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}

LLVM IR (-O2):
@.str = [92 x i8] c"Pit is highly experimental software. Use it at your own risk. See LICENSE file for details.\00"
@.str.1 = [27 x i8] c"usage: pit command [args]\0A\00"
@.str.2 = [18 x i8] c"The commands are:\00"
@.str.3 = [72 x i8] c" init Create empty Pit database or reinitialize an existing one\00"
@.str.4 = [54 x i8] c" project Create, search, and manage Pit projects\00"
@.str.5 = [51 x i8] c" task Create, search, and manage Pit tasks\00"
@.str.6 = [51 x i8] c" note Create, search, and manage Pit notes\00"
@.str.7 = [50 x i8] c" log Show chronological Pit activity log\00"
@.str.8 = [63 x i8] c" info Show summary information about your Pit database\00"
@.str.9 = [46 x i8] c" help Show help information about Pit\00"
@.str.10 = [39 x i8] c" version Show Pit version number\0A\00"
@.str.11 = [102 x i8] c"All commands might be shortened as long as they remain unambiguous. See 'pit help <command>' for more\00"
@.str.12 = [36 x i8] c"information on a specific command.\0A\00"
@__const.usage.msg = [14 x i8*] [i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i32 0, i32 0), i8* null]
define void @usage() {
%1 = alloca [14 x i8*]
%2 = bitcast [14 x i8*]* %1 to i8*
%3 = getelementptr inbounds [14 x i8*], [14 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}