#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*/ exit(int);
int /*<<< orphan*/ printf(char *);
void Help(int rcode) {
  printf("Usage:  simprovider\n");
  printf("\t\t -v - Be Verbose when running the command\n");
  printf("\t\t -h - Display this manu\n");
  printf("\t\t -m - Set the Multicast address ( Default : 226.1.1.1 )\n");
  printf("\t\t -p - Set the Listening Port ( Default : 4321 )\n");
  printf("\t\t -i - Set the interface to bind to (Default : ANY ) \n");
  printf("\t\t -t - Text message to send over the multicast( Default : Hello "
         "Multicast )\n");
  printf("\n");
  exit(rcode);
}


x86 assembly (clang, -O0):
<Help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
lea    0xef8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<Help>:
push   %rbx
mov    %edi,%ebx
lea    0xec6(%rip),%rdi
call   1040 <puts@plt>
lea    0xece(%rip),%rdi
call   1040 <puts@plt>
lea    0xeee(%rip),%rdi
call   1040 <puts@plt>
lea    0xefc(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf50(%rip),%rdi
call   1040 <puts@plt>
lea    0xf7b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %ebx,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [21 x i8] c"Usage: simprovider\0A\00"
@.str.1 = [45 x i8] c"\09\09 -v - Be Verbose when running the command\0A\00"
@.str.2 = [27 x i8] c"\09\09 -h - Display this manu\0A\00"
@.str.3 = [59 x i8] c"\09\09 -m - Set the Multicast address ( Default : 226.1.1.1 )\0A\00"
@.str.4 = [51 x i8] c"\09\09 -p - Set the Listening Port ( Default : 4321 )\0A\00"
@.str.5 = [56 x i8] c"\09\09 -i - Set the interface to bind to (Default : ANY ) \0A\00"
@.str.6 = [78 x i8] c"\09\09 -t - Text message to send over the multicast( Default : Hello Multicast )\0A\00"
@.str.7 = [2 x i8] c"\0A\00"
define void @Help(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%11 = load i32, i32* %2
%12 = call i32 @exit(i32 %11)
unreachable
}

LLVM IR (-O2):
@str = [20 x i8] c"Usage: simprovider\00"
@str.8 = [44 x i8] c"\09\09 -v - Be Verbose when running the command\00"
@str.9 = [26 x i8] c"\09\09 -h - Display this manu\00"
@str.10 = [58 x i8] c"\09\09 -m - Set the Multicast address ( Default : 226.1.1.1 )\00"
@str.11 = [50 x i8] c"\09\09 -p - Set the Listening Port ( Default : 4321 )\00"
@str.12 = [55 x i8] c"\09\09 -i - Set the interface to bind to (Default : ANY ) \00"
@str.13 = [77 x i8] c"\09\09 -t - Text message to send over the multicast( Default : Hello Multicast )\00"
define void @Help(i32 %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.8, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.9, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.10, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.12, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.13, i64 0, i64 0))
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 @exit(i32 %0)
unreachable
}