#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 csperf_config_display_long_help() {
  printf("Usage: csperf [-s|-c host] [options]\n");
  printf(" -c <ip/hostname>      # Run as client and connect to ip "
         "address/hostname\n");
  printf(" -s                    # Run as server\n");
  printf(" -p <port>             # Server port to listen and client to "
         "connect. Default 5001\n");
  printf(" -B <data block size>  # Size of the data segment. Default 1KB\n");
  printf(" -n <num blcks>        # Number of data blocks to send. Default 1\n");
  printf(
      " -t <seconds>          # Number of seconds the client will be active\n");
  printf(
      " -e                    # Echo client data. Server echos client data\n");
  printf(" -C <num-clients>      # Total number of clients\n");
  printf(" -P <num-clients>      # Concurrent/Parallel clients that needs to "
         "connect to the server \n");
  printf(" -S <num-clients>      # Number of Clients that connects with the "
         "server every second\n");
  printf(" -r <repeat count>     # Repeat the test these many times. Setting "
         "-1 means run forever\n");
  printf(" -l <logfile>          # Logfile to write to. Default writes to "
         "csperf_xxx.txt xxx = client or server\n");
}


x86 assembly (clang, -O0):
<csperf_config_display_long_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa2(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
call   1030 <printf@plt>
lea    0x100d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1047(%rip),%rdi
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a6(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1140(%rip),%rdi
call   1030 <printf@plt>
lea    0x118d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<csperf_config_display_long_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf01(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa1(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd4(%rip),%rdi
call   1030 <puts@plt>
lea    0x100a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x107b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ee(%rip),%rdi
call   1030 <puts@plt>
lea    0x1138(%rip),%rdi
call   1030 <puts@plt>
lea    0x1184(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [38 x i8] c"Usage: csperf [-s|-c host] [options]\0A\00"
@.str.1 = [75 x i8] c" -c <ip/hostname> # Run as client and connect to ip address/hostname\0A\00"
@.str.2 = [40 x i8] c" -s # Run as server\0A\00"
@.str.3 = [84 x i8] c" -p <port> # Server port to listen and client to connect. Default 5001\0A\00"
@.str.4 = [64 x i8] c" -B <data block size> # Size of the data segment. Default 1KB\0A\00"
@.str.5 = [67 x i8] c" -n <num blcks> # Number of data blocks to send. Default 1\0A\00"
@.str.6 = [70 x i8] c" -t <seconds> # Number of seconds the client will be active\0A\00"
@.str.7 = [69 x i8] c" -e # Echo client data. Server echos client data\0A\00"
@.str.8 = [50 x i8] c" -C <num-clients> # Total number of clients\0A\00"
@.str.9 = [91 x i8] c" -P <num-clients> # Concurrent/Parallel clients that needs to connect to the server \0A\00"
@.str.10 = [87 x i8] c" -S <num-clients> # Number of Clients that connects with the server every second\0A\00"
@.str.11 = [89 x i8] c" -r <repeat count> # Repeat the test these many times. Setting -1 means run forever\0A\00"
@.str.12 = [103 x i8] c" -l <logfile> # Logfile to write to. Default writes to csperf_xxx.txt xxx = client or server\0A\00"
define void @csperf_config_display_long_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [37 x i8] c"Usage: csperf [-s|-c host] [options]\00"
@str.13 = [74 x i8] c" -c <ip/hostname> # Run as client and connect to ip address/hostname\00"
@str.14 = [39 x i8] c" -s # Run as server\00"
@str.15 = [83 x i8] c" -p <port> # Server port to listen and client to connect. Default 5001\00"
@str.16 = [63 x i8] c" -B <data block size> # Size of the data segment. Default 1KB\00"
@str.17 = [66 x i8] c" -n <num blcks> # Number of data blocks to send. Default 1\00"
@str.18 = [69 x i8] c" -t <seconds> # Number of seconds the client will be active\00"
@str.19 = [68 x i8] c" -e # Echo client data. Server echos client data\00"
@str.20 = [49 x i8] c" -C <num-clients> # Total number of clients\00"
@str.21 = [90 x i8] c" -P <num-clients> # Concurrent/Parallel clients that needs to connect to the server \00"
@str.22 = [86 x i8] c" -S <num-clients> # Number of Clients that connects with the server every second\00"
@str.23 = [88 x i8] c" -r <repeat count> # Repeat the test these many times. Setting -1 means run forever\00"
@str.24 = [102 x i8] c" -l <logfile> # Logfile to write to. Default writes to csperf_xxx.txt xxx = client or server\00"
define void @csperf_config_display_long_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([90 x i8], [90 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @str.24, i64 0, i64 0))
ret void
}