#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_init() {
  char *msg[] = {
      "Create empty Pit database or reinitialize an existing one. Default file "
      "name for the Pit database",
      "is ~/.pit -- you can override the default by setting PITFILE "
      "environment variable.\n",
      "   $ pit init [-f]\n",
      "   -f   force initialization without prompt\n",
      "Example:\n",
      "   $ pit init",
      "   /home/user/.pit already exists, do you want to override it [y/N]: y",
      "   Created empty /home/user/.pit\n",
      NULL};
  printa(msg);
}


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

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

LLVM IR (-O0):
@.str = [98 x i8] c"Create empty Pit database or reinitialize an existing one. Default file name for the Pit database\00"
@.str.1 = [84 x i8] c"is ~/.pit -- you can override the default by setting PITFILE environment variable.\0A\00"
@.str.2 = [20 x i8] c" $ pit init [-f]\0A\00"
@.str.3 = [45 x i8] c" -f force initialization without prompt\0A\00"
@.str.4 = [10 x i8] c"Example:\0A\00"
@.str.5 = [14 x i8] c" $ pit init\00"
@.str.6 = [71 x i8] c" /home/user/.pit already exists, do you want to override it [y/N]: y\00"
@.str.7 = [34 x i8] c" Created empty /home/user/.pit\0A\00"
@__const.help_init.msg = [9 x i8*] [i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i32 0, i32 0), i8* null]
define void @help_init() {
%1 = alloca [9 x i8*]
%2 = bitcast [9 x i8*]* %1 to i8*
%3 = getelementptr inbounds [9 x i8*], [9 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}

LLVM IR (-O2):
@.str = [98 x i8] c"Create empty Pit database or reinitialize an existing one. Default file name for the Pit database\00"
@.str.1 = [84 x i8] c"is ~/.pit -- you can override the default by setting PITFILE environment variable.\0A\00"
@.str.2 = [20 x i8] c" $ pit init [-f]\0A\00"
@.str.3 = [45 x i8] c" -f force initialization without prompt\0A\00"
@.str.4 = [10 x i8] c"Example:\0A\00"
@.str.5 = [14 x i8] c" $ pit init\00"
@.str.6 = [71 x i8] c" /home/user/.pit already exists, do you want to override it [y/N]: y\00"
@.str.7 = [34 x i8] c" Created empty /home/user/.pit\0A\00"
@__const.help_init.msg = [9 x i8*] [i8* getelementptr inbounds ([98 x i8], [98 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.7, i32 0, i32 0), i8* null]
define void @help_init() {
%1 = alloca [9 x i8*]
%2 = bitcast [9 x i8*]* %1 to i8*
%3 = getelementptr inbounds [9 x i8*], [9 x i8*]* %1, i64 0, i64 0
%4 = call i32 @printa(i8** %3)
ret void
}