#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*/ exit(int);
int /*<<< orphan*/ printf(char *, ...);
void usage() {
  printf("dwarf-ng-%s (c) Fernando Iazeolla 2007-2013-2017.\n", "0.4.0");
  printf("\nUSAGE: ");
  printf("dwarf [options] [file]\n");
  printf("valid options:\n");
  printf("-s              --stdin                 file from stdin\n");
  printf("-i              --shell --interactive   interactive (shell mode)\n");
  printf("-h              --help                  show this help\n");
  printf("-c '<commands>' --command '<commands>'  command  mode (execute "
         "commands)\n");
  printf("-e '<commands>' --command '<commands>'  command  mode alias (execute "
         "commands)\n");
  printf("-x <file>       --execute <file>        execute file script\n");
  printf("-v              --version               show dwarf-ng's version "
         "number\n");
  printf("-f <file>       --file <file>           open file\n");
  printf("-p              --probe                 probe file and print file "
         "type and info\n");
  printf("-C [n]          --colors [n]            colored output (n=theme num "
         "(opt.))\n");
  printf("-B              --nocolors              nocolored output\n");
  printf("-T [n]          --theme [n]             theme 2 colored output "
         "(n=theme num (opt.))\n");
  printf("-W              --work-on-copy          work on copy file\n");
  printf("-P              --no-work-on-copy       no work on copy file\n");
  printf("-D <name>       --tmpdir <name>         set tmp dir path\n");
  printf("-N <name>       --tmpname <name>        set tmp filename\n");
  printf("-s <offs>       --seek <offs>           set seek offset\n");
  printf("-b <size>       --block <size>          set block size\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xf01(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1007(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1036(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1070(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1095(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1117(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1143(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x118a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11b7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11e7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1213(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x123f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x126a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0xef4(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeec(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee7(%rip),%rdi
call   1030 <puts@plt>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf56(%rip),%rdi
call   1030 <puts@plt>
lea    0xf81(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1030 <puts@plt>
lea    0x1001(%rip),%rdi
call   1030 <puts@plt>
lea    0x1031(%rip),%rdi
call   1030 <puts@plt>
lea    0x106c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1092(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d6(%rip),%rdi
call   1030 <puts@plt>
lea    0x1116(%rip),%rdi
call   1030 <puts@plt>
lea    0x1143(%rip),%rdi
call   1030 <puts@plt>
lea    0x118b(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b9(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ea(%rip),%rdi
call   1030 <puts@plt>
lea    0x1217(%rip),%rdi
call   1030 <puts@plt>
lea    0x1244(%rip),%rdi
call   1030 <puts@plt>
lea    0x1270(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [51 x i8] c"dwarf-ng-%s (c) Fernando Iazeolla 2007-2013-2017.\0A\00"
@.str.1 = [6 x i8] c"0.4.0\00"
@.str.2 = [9 x i8] c"\0AUSAGE: \00"
@.str.3 = [24 x i8] c"dwarf [options] [file]\0A\00"
@.str.4 = [16 x i8] c"valid options:\0A\00"
@.str.5 = [57 x i8] c"-s --stdin file from stdin\0A\00"
@.str.6 = [66 x i8] c"-i --shell --interactive interactive (shell mode)\0A\00"
@.str.7 = [56 x i8] c"-h --help show this help\0A\00"
@.str.8 = [74 x i8] c"-c '<commands>' --command '<commands>' command mode (execute commands)\0A\00"
@.str.9 = [80 x i8] c"-e '<commands>' --command '<commands>' command mode alias (execute commands)\0A\00"
@.str.10 = [61 x i8] c"-x <file> --execute <file> execute file script\0A\00"
@.str.11 = [72 x i8] c"-v --version show dwarf-ng's version number\0A\00"
@.str.12 = [51 x i8] c"-f <file> --file <file> open file\0A\00"
@.str.13 = [81 x i8] c"-p --probe probe file and print file type and info\0A\00"
@.str.14 = [77 x i8] c"-C [n] --colors [n] colored output (n=theme num (opt.))\0A\00"
@.str.15 = [58 x i8] c"-B --nocolors nocolored output\0A\00"
@.str.16 = [85 x i8] c"-T [n] --theme [n] theme 2 colored output (n=theme num (opt.))\0A\00"
@.str.17 = [59 x i8] c"-W --work-on-copy work on copy file\0A\00"
@.str.18 = [62 x i8] c"-P --no-work-on-copy no work on copy file\0A\00"
@.str.19 = [58 x i8] c"-D <name> --tmpdir <name> set tmp dir path\0A\00"
@.str.20 = [58 x i8] c"-N <name> --tmpname <name> set tmp filename\0A\00"
@.str.21 = [57 x i8] c"-s <offs> --seek <offs> set seek offset\0A\00"
@.str.22 = [56 x i8] c"-b <size> --block <size> set block size\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.13, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.14, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.15, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.16, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.17, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.18, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.19, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.20, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.22, i64 0, i64 0))
%23 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@.str = [51 x i8] c"dwarf-ng-%s (c) Fernando Iazeolla 2007-2013-2017.\0A\00"
@.str.1 = [6 x i8] c"0.4.0\00"
@.str.2 = [9 x i8] c"\0AUSAGE: \00"
@str = [23 x i8] c"dwarf [options] [file]\00"
@str.23 = [15 x i8] c"valid options:\00"
@str.24 = [56 x i8] c"-s --stdin file from stdin\00"
@str.25 = [65 x i8] c"-i --shell --interactive interactive (shell mode)\00"
@str.26 = [55 x i8] c"-h --help show this help\00"
@str.27 = [73 x i8] c"-c '<commands>' --command '<commands>' command mode (execute commands)\00"
@str.28 = [79 x i8] c"-e '<commands>' --command '<commands>' command mode alias (execute commands)\00"
@str.29 = [60 x i8] c"-x <file> --execute <file> execute file script\00"
@str.30 = [71 x i8] c"-v --version show dwarf-ng's version number\00"
@str.31 = [50 x i8] c"-f <file> --file <file> open file\00"
@str.32 = [80 x i8] c"-p --probe probe file and print file type and info\00"
@str.33 = [76 x i8] c"-C [n] --colors [n] colored output (n=theme num (opt.))\00"
@str.34 = [57 x i8] c"-B --nocolors nocolored output\00"
@str.35 = [84 x i8] c"-T [n] --theme [n] theme 2 colored output (n=theme num (opt.))\00"
@str.36 = [58 x i8] c"-W --work-on-copy work on copy file\00"
@str.37 = [61 x i8] c"-P --no-work-on-copy no work on copy file\00"
@str.38 = [57 x i8] c"-D <name> --tmpdir <name> set tmp dir path\00"
@str.39 = [57 x i8] c"-N <name> --tmpname <name> set tmp filename\00"
@str.40 = [56 x i8] c"-s <offs> --seek <offs> set seek offset\00"
@str.41 = [55 x i8] c"-b <size> --block <size> set block size\00"
define void @usage() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.23, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.24, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.25, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.26, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.27, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.28, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.29, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.30, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.31, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.32, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.33, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.34, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.35, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.36, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.37, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.38, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.39, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.40, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.41, i64 0, i64 0))
%23 = tail call i32 @exit(i32 1)
unreachable
}