#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
int printGedekHelp() {
  fprintf(stderr,
          "Usage: configureGedek GEDEK_MAC_ADRESS NEW_GEDEK_IP "
          "DESTINATION_IP1:DESTINATION_PORT1 DESTINATION_MAC_ADDRESS1 "
          "DESTINATION_IP2:DESTINATION_PORT2 DESTINATION_MAC_ADDRESS2\n\n");
  fprintf(stderr,
          "GEDEK_MAC_ADRESS\t\t"
          "MAC Address of the GEDEK we want to change Ip and other parameters\n"
          "NEW_GEDEK_IP\t\t\t"
          "New GEDEK Ip to be assigned\n"
          "DESTINATION_IP1\t\t\t"
          "Ip Address of the destination1\n"
          "DESTINATION_PORT1\t\t"
          "Port Number of the destination1\n"
          "DESTINATION_MAC_ADDRESS1\t"
          "MAC Address of the destination1 Network Card\n"
          "DESTINATION_IP2\t\t\t"
          "Ip Address of the destination2\n"
          "DESTINATION_PORT2\t\t"
          "Port Number of the destination2\n"
          "DESTINATION_MAC_ADDRESS2\t"
          "MAC Address of the destination2 Network Card\n"
          "\n");
  fprintf(stderr, "Example: configureGedek 00:07:11:a6:9e:c7 192.168.1.20 "
                  "192.168.1.207:2000 80:3f:5d:70:6e:7c 192.168.1.207:2001 "
                  "80:3f:5d:70:6e:7c\n");
  return (0);
}


x86 assembly (clang, -O0):
<printGedekHelp>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%edi
lea    0xf73(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0x1134(%rip),%rsi
call   1030 <fprintf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<printGedekHelp>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf7d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1145(%rip),%rsi
call   1030 <fprintf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [172 x i8] c"Usage: configureGedek GEDEK_MAC_ADRESS NEW_GEDEK_IP DESTINATION_IP1:DESTINATION_PORT1 DESTINATION_MAC_ADDRESS1 DESTINATION_IP2:DESTINATION_PORT2 DESTINATION_MAC_ADDRESS2\0A\0A\00"
@.str.1 = [470 x i8] c"GEDEK_MAC_ADRESS\09\09MAC Address of the GEDEK we want to change Ip and other parameters\0ANEW_GEDEK_IP\09\09\09New GEDEK Ip to be assigned\0ADESTINATION_IP1\09\09\09Ip Address of the destination1\0ADESTINATION_PORT1\09\09Port Number of the destination1\0ADESTINATION_MAC_ADDRESS1\09MAC Address of the destination1 Network Card\0ADESTINATION_IP2\09\09\09Ip Address of the destination2\0ADESTINATION_PORT2\09\09Port Number of the destination2\0ADESTINATION_MAC_ADDRESS2\09MAC Address of the destination2 Network Card\0A\0A\00"
@.str.2 = [130 x i8] c"Example: configureGedek 00:07:11:a6:9e:c7 192.168.1.20 192.168.1.207:2000 80:3f:5d:70:6e:7c 192.168.1.207:2001 80:3f:5d:70:6e:7c\0A\00"
define i32 @printGedekHelp() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([172 x i8], [172 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([470 x i8], [470 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([130 x i8], [130 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [172 x i8] c"Usage: configureGedek GEDEK_MAC_ADRESS NEW_GEDEK_IP DESTINATION_IP1:DESTINATION_PORT1 DESTINATION_MAC_ADDRESS1 DESTINATION_IP2:DESTINATION_PORT2 DESTINATION_MAC_ADDRESS2\0A\0A\00"
@.str.1 = [470 x i8] c"GEDEK_MAC_ADRESS\09\09MAC Address of the GEDEK we want to change Ip and other parameters\0ANEW_GEDEK_IP\09\09\09New GEDEK Ip to be assigned\0ADESTINATION_IP1\09\09\09Ip Address of the destination1\0ADESTINATION_PORT1\09\09Port Number of the destination1\0ADESTINATION_MAC_ADDRESS1\09MAC Address of the destination1 Network Card\0ADESTINATION_IP2\09\09\09Ip Address of the destination2\0ADESTINATION_PORT2\09\09Port Number of the destination2\0ADESTINATION_MAC_ADDRESS2\09MAC Address of the destination2 Network Card\0A\0A\00"
@.str.2 = [130 x i8] c"Example: configureGedek 00:07:11:a6:9e:c7 192.168.1.20 192.168.1.207:2000 80:3f:5d:70:6e:7c 192.168.1.207:2001 80:3f:5d:70:6e:7c\0A\00"
define i32 @printGedekHelp() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([172 x i8], [172 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([470 x i8], [470 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([130 x i8], [130 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}