#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*/ printf(char *);
void usage() {
  printf("Usage: wordom -ie RING [OPTION]...\n");
  printf("\n");
  printf("Options:\n");
  printf("\t--GRAPH  \t Input filename (if analysing a single graph)\n");
  printf("\t--LIST   \t Input filename (if analysing a list of graphs)\n");
  printf("\t--DIM    \t The maximum dimension of the rings; bigger rings are "
         "not perceived; default: 10\n");
  printf("\t--RINGS  \t The output filename for the list of perceived rings; "
         "default is 'rings.dat'\n");
  printf("\t--STATS  \t Output filename for ring dimension statistics; if not "
         "set no statistics are performed\n");
  printf("\t--HELP   \t Show this help and exit\n");
  printf("\t--VERSION\t Print version information and exit\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1042(%rip),%rdi
call   1030 <printf@plt>
lea    0x105b(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee5(%rip),%rdi
call   1040 <puts@plt>
lea    0xee2(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8e(%rip),%rdi
call   1040 <puts@plt>
lea    0xfda(%rip),%rdi
call   1040 <puts@plt>
lea    0x1030(%rip),%rdi
call   1040 <puts@plt>
lea    0x1048(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"Usage: wordom -ie RING [OPTION]...\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [10 x i8] c"Options:\0A\00"
@.str.3 = [58 x i8] c"\09--GRAPH \09 Input filename (if analysing a single graph)\0A\00"
@.str.4 = [60 x i8] c"\09--LIST \09 Input filename (if analysing a list of graphs)\0A\00"
@.str.5 = [93 x i8] c"\09--DIM \09 The maximum dimension of the rings; bigger rings are not perceived; default: 10\0A\00"
@.str.6 = [89 x i8] c"\09--RINGS \09 The output filename for the list of perceived rings; default is 'rings.dat'\0A\00"
@.str.7 = [99 x i8] c"\09--STATS \09 Output filename for ring dimension statistics; if not set no statistics are performed\0A\00"
@.str.8 = [37 x i8] c"\09--HELP \09 Show this help and exit\0A\00"
@.str.9 = [48 x i8] c"\09--VERSION\09 Print version information and exit\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [35 x i8] c"Usage: wordom -ie RING [OPTION]...\00"
@str.10 = [9 x i8] c"Options:\00"
@str.11 = [57 x i8] c"\09--GRAPH \09 Input filename (if analysing a single graph)\00"
@str.12 = [59 x i8] c"\09--LIST \09 Input filename (if analysing a list of graphs)\00"
@str.13 = [92 x i8] c"\09--DIM \09 The maximum dimension of the rings; bigger rings are not perceived; default: 10\00"
@str.14 = [88 x i8] c"\09--RINGS \09 The output filename for the list of perceived rings; default is 'rings.dat'\00"
@str.15 = [98 x i8] c"\09--STATS \09 Output filename for ring dimension statistics; if not set no statistics are performed\00"
@str.16 = [36 x i8] c"\09--HELP \09 Show this help and exit\00"
@str.17 = [47 x i8] c"\09--VERSION\09 Print version information and exit\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.10, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([98 x i8], [98 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.17, i64 0, i64 0))
ret void
}