#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 print_usage() {
  printf("Usage for infoli simulator:\n");
  printf("/path/to/bin/infoli.x -n <integer> -p <[0,1]> -t <float>\n");
  printf("-i <filename> -c <filename> -o <filename>\n");
  printf("Argument summary:\n");
  printf(
      "-n denotes number of neurons to be simulated. Default value: 1000.\n");
  printf("-p denotes network density in [0,1] format. Default value: 0.5 "
         "(=50%%).\n");
  printf("-t denotes simulation time in milliseconds. Default value: 5000.\n");
  printf("-i denotes a filename for input stimulus. By default, stimulus is "
         "hardcoded.\n");
  printf("-c denotes a filename for configuration file. By default, "
         "configuration is read from default.conf.\n");
  printf("-o denotes a filename for simulation output. Default value: "
         "InferiorOlive_Output.txt.\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef6(%rip),%rdi
call   1030 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
lea    0xf43(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
call   1030 <printf@plt>
lea    0x108f(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf82(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9c(%rip),%rdi
call   1040 <printf@plt>
lea    0xfad(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1023(%rip),%rdi
call   1030 <puts@plt>
lea    0x107a(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"Usage for infoli simulator:\0A\00"
@.str.1 = [58 x i8] c"/path/to/bin/infoli.x -n <integer> -p <[0,1]> -t <float>\0A\00"
@.str.2 = [43 x i8] c"-i <filename> -c <filename> -o <filename>\0A\00"
@.str.3 = [19 x i8] c"Argument summary:\0A\00"
@.str.4 = [68 x i8] c"-n denotes number of neurons to be simulated. Default value: 1000.\0A\00"
@.str.5 = [73 x i8] c"-p denotes network density in [0,1] format. Default value: 0.5 (=50%%).\0A\00"
@.str.6 = [66 x i8] c"-t denotes simulation time in milliseconds. Default value: 5000.\0A\00"
@.str.7 = [78 x i8] c"-i denotes a filename for input stimulus. By default, stimulus is hardcoded.\0A\00"
@.str.8 = [100 x i8] c"-c denotes a filename for configuration file. By default, configuration is read from default.conf.\0A\00"
@.str.9 = [87 x i8] c"-o denotes a filename for simulation output. Default value: InferiorOlive_Output.txt.\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.5 = [73 x i8] c"-p denotes network density in [0,1] format. Default value: 0.5 (=50%%).\0A\00"
@str = [28 x i8] c"Usage for infoli simulator:\00"
@str.10 = [57 x i8] c"/path/to/bin/infoli.x -n <integer> -p <[0,1]> -t <float>\00"
@str.11 = [42 x i8] c"-i <filename> -c <filename> -o <filename>\00"
@str.12 = [18 x i8] c"Argument summary:\00"
@str.13 = [67 x i8] c"-n denotes number of neurons to be simulated. Default value: 1000.\00"
@str.14 = [65 x i8] c"-t denotes simulation time in milliseconds. Default value: 5000.\00"
@str.15 = [77 x i8] c"-i denotes a filename for input stimulus. By default, stimulus is hardcoded.\00"
@str.16 = [99 x i8] c"-c denotes a filename for configuration file. By default, configuration is read from default.conf.\00"
@str.17 = [86 x i8] c"-o denotes a filename for simulation output. Default value: InferiorOlive_Output.txt.\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.17, i64 0, i64 0))
ret void
}