#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*/ EX_USAGE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage(void) {
  fprintf(stderr, "client: tcpp"
                  " -c remoteIP"
                  " [-h]"
                  " [-P]"
                  " [-M localIPcount]"
                  " [-l localIPbase]"
                  "\n\t"
                  " [-b bytespertcp]"
                  " [-m maxtcpsatonce]"
                  " [-p procs]"
                  " [-t tcpsperproc]"
                  "\n"
                  "\t"
                  " [-r baseport]"
                  "\n");
  fprintf(stderr, "server: tcpp"
                  " -s"
                  " [-P]"
                  " [-l localIPbase]"
                  " [-m maxtcpsatonce]"
                  " [-p procs]"
                  "\n"
                  "\t"
                  " [-r baseport]"
                  "\n");
  exit(EX_USAGE);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e98(%rip),%rax
mov    (%rax),%edi
lea    0xf50(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e93(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    0x2eb0(%rip),%rbx
mov    (%rbx),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf5a(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9d(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [153 x i8] c"client: tcpp -c remoteIP [-h] [-P] [-M localIPcount] [-l localIPbase]\0A\09 [-b bytespertcp] [-m maxtcpsatonce] [-p procs] [-t tcpsperproc]\0A\09 [-r baseport]\0A\00"
@.str.1 = [85 x i8] c"server: tcpp -s [-P] [-l localIPbase] [-m maxtcpsatonce] [-p procs]\0A\09 [-r baseport]\0A\00"
@EX_USAGE = global i32 0
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([153 x i8], [153 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @EX_USAGE
%6 = call i32 @exit(i32 %5)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [153 x i8] c"client: tcpp -c remoteIP [-h] [-P] [-M localIPcount] [-l localIPbase]\0A\09 [-b bytespertcp] [-m maxtcpsatonce] [-p procs] [-t tcpsperproc]\0A\09 [-r baseport]\0A\00"
@.str.1 = [85 x i8] c"server: tcpp -s [-P] [-l localIPbase] [-m maxtcpsatonce] [-p procs]\0A\09 [-r baseport]\0A\00"
@EX_USAGE = global i32 0
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([153 x i8], [153 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @EX_USAGE
%6 = tail call i32 @exit(i32 %5)
unreachable
}