#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*/ copyright();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ usage();
void help() {
  usage();
  printf("\n");
  printf("Server:\n");
  printf("\t-p,\tListening port, default is %d\n\n", 7474);
  printf("Client:\n");
  printf("\t-s,\tServer IP address, default is 127.0.0.1\n");
  printf("\t-h,\tServer hostname, e.g. example.com\n");
  printf("\t-p,\tServer port, default is %d\n", 7474);
  printf("\n");
  printf("\t-s and -h parameters are obviously conflicting, last one will take "
         "precedence.\n");
  printf("\n");
  copyright();
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1050 <usage@plt>
lea    0xeea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeab(%rip),%rdi
mov    $0x1d32,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
mov    $0x1d32,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <copyright@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
xor    %eax,%eax
call   1070 <usage@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xedd(%rip),%rdi
call   1040 <puts@plt>
lea    0xe8b(%rip),%rdi
mov    $0x1d32,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec6(%rip),%rdi
call   1040 <puts@plt>
lea    0xec2(%rip),%rdi
call   1040 <puts@plt>
lea    0xee3(%rip),%rdi
call   1040 <puts@plt>
lea    0xe79(%rip),%rdi
mov    $0x1d32,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee1(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <copyright@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [9 x i8] c"Server:\0A\00"
@.str.2 = [37 x i8] c"\09-p,\09Listening port, default is %d\0A\0A\00"
@.str.3 = [9 x i8] c"Client:\0A\00"
@.str.4 = [46 x i8] c"\09-s,\09Server IP address, default is 127.0.0.1\0A\00"
@.str.5 = [40 x i8] c"\09-h,\09Server hostname, e.g. example.com\0A\00"
@.str.6 = [33 x i8] c"\09-p,\09Server port, default is %d\0A\00"
@.str.7 = [81 x i8] c"\09-s and -h parameters are obviously conflicting, last one will take precedence.\0A\00"
define void @help() {
%1 = call i32 (...) @usage()
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 7474)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), i32 7474)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (...) @copyright()
ret void
}

LLVM IR (-O2):
@.str.2 = [37 x i8] c"\09-p,\09Listening port, default is %d\0A\0A\00"
@.str.6 = [33 x i8] c"\09-p,\09Server port, default is %d\0A\00"
@str = [8 x i8] c"Server:\00"
@str.8 = [8 x i8] c"Client:\00"
@str.9 = [45 x i8] c"\09-s,\09Server IP address, default is 127.0.0.1\00"
@str.10 = [39 x i8] c"\09-h,\09Server hostname, e.g. example.com\00"
@str.11 = [80 x i8] c"\09-s and -h parameters are obviously conflicting, last one will take precedence.\00"
define void @help() {
%1 = tail call i32 (...) @usage()
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 7474)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.8, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.9, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.10, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), i32 7474)
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.11, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 (...) @copyright()
ret void
}