#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void help_message() {
  fputs("deem, verion 1.0: Key-Value ar Archive.\n", stderr);
  fputs("Usage:\n", stderr);
  fputs("    deem [options] <archive>\n", stderr);
  fputs("Options:\n", stderr);
  fputs("    -h --help              This help message\n", stderr);
  fputs("    -q --quiet             Suppress stats, new archive, test-mode "
        "notices\n",
        stderr);
  fputs("    -t --test              Test for changes but do not touch the "
        "archive\n",
        stderr);
  fputs(
      "    -i --input <filename>  Read from filename rather than from stdin\n",
      stderr);
  fputs("Exit status 0 if okay or minor problems, 1 otherwise.\n", stderr);
  fputs("More info in the README file enclosed with the source code.\n",
        stderr);
  fputs(
      "Copyright (c) 2015 Avner Herskovits, licensed under the MIT License.\n",
      stderr);
}


x86 assembly (clang, -O0):
<help_message>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%esi
lea    0xef0(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%esi
lea    0xee3(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%esi
lea    0xeec(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%esi
lea    0xee1(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%esi
lea    0xefa(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%esi
lea    0xf30(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
lea    0xf65(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%esi
lea    0xf96(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%esi
lea    0xfb8(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2df3(%rip),%rax
mov    (%rax),%esi
lea    0xfe0(%rip),%rdi
call   1030 <fputs@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help_message>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%esi
lea    0xedf(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xefa(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xef4(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf04(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf00(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf20(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf5d(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf99(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfd1(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xffa(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1029(%rip),%rdi
pop    %rbx
jmp    1030 <fputs@plt>

LLVM IR (-O0):
@.str = [41 x i8] c"deem, verion 1.0: Key-Value ar Archive.\0A\00"
@stderr = global i32 0
@.str.1 = [8 x i8] c"Usage:\0A\00"
@.str.2 = [30 x i8] c" deem [options] <archive>\0A\00"
@.str.3 = [10 x i8] c"Options:\0A\00"
@.str.4 = [46 x i8] c" -h --help This help message\0A\00"
@.str.5 = [75 x i8] c" -q --quiet Suppress stats, new archive, test-mode notices\0A\00"
@.str.6 = [74 x i8] c" -t --test Test for changes but do not touch the archive\0A\00"
@.str.7 = [70 x i8] c" -i --input <filename> Read from filename rather than from stdin\0A\00"
@.str.8 = [55 x i8] c"Exit status 0 if okay or minor problems, 1 otherwise.\0A\00"
@.str.9 = [61 x i8] c"More info in the README file enclosed with the source code.\0A\00"
@.str.10 = [70 x i8] c"Copyright (c) 2015 Avner Herskovits, licensed under the MIT License.\0A\00"
define void @help_message() {
%1 = load i32, i32* @stderr
%2 = call i32 @fputs(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = call i32 @fputs(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = call i32 @fputs(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = call i32 @fputs(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = call i32 @fputs(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = call i32 @fputs(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = call i32 @fputs(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = call i32 @fputs(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @stderr
%22 = call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0), i32 %21)
ret void
}

LLVM IR (-O2):
@.str = [41 x i8] c"deem, verion 1.0: Key-Value ar Archive.\0A\00"
@stderr = global i32 0
@.str.1 = [8 x i8] c"Usage:\0A\00"
@.str.2 = [30 x i8] c" deem [options] <archive>\0A\00"
@.str.3 = [10 x i8] c"Options:\0A\00"
@.str.4 = [46 x i8] c" -h --help This help message\0A\00"
@.str.5 = [75 x i8] c" -q --quiet Suppress stats, new archive, test-mode notices\0A\00"
@.str.6 = [74 x i8] c" -t --test Test for changes but do not touch the archive\0A\00"
@.str.7 = [70 x i8] c" -i --input <filename> Read from filename rather than from stdin\0A\00"
@.str.8 = [55 x i8] c"Exit status 0 if okay or minor problems, 1 otherwise.\0A\00"
@.str.9 = [61 x i8] c"More info in the README file enclosed with the source code.\0A\00"
@.str.10 = [70 x i8] c"Copyright (c) 2015 Avner Herskovits, licensed under the MIT License.\0A\00"
define void @help_message() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fputs(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = tail call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = tail call i32 @fputs(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = tail call i32 @fputs(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = tail call i32 @fputs(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = tail call i32 @fputs(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = tail call i32 @fputs(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = tail call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = tail call i32 @fputs(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = tail call i32 @fputs(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.9, i64 0, i64 0), i32 %19)
%21 = load i32, i32* @stderr
%22 = tail call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.10, i64 0, i64 0), i32 %21)
ret void
}