#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*/ stdout;
void printhelp() {
  fprintf(stdout, "Usage: AESCripto [-e or -d] -k <key> -x <message>\r\n\r\n");
  fprintf(stdout, "[-options]: \r\n");
  fprintf(stdout, "  -h			Shows this Help\r\n");
  fprintf(stdout, "  -e			Encrypt message\r\n");
  fprintf(stdout, "  -d			Decrypt message\r\n\r\n");
  fprintf(stdout, "  -k			32Byte size Key\r\n");
  fprintf(stdout, "  -x			Hexadecimal message\r\n\r\n");
  fprintf(stdout, "The Key must have 32Byte in size.\r\n");
  fprintf(
      stdout,
      "The Hexadecimal message must be typed without the initial '0x'.\r\n");
  fprintf(stdout, "Example:\n aescripto -e -k 12345678901234567890123456789012 "
                  "-x 000102030405060708090a0b0c0d0e0f");
}


x86 assembly (clang, -O0):
<printhelp>:
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    0xefd(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0xef7(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%edi
lea    0xefb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    0xeff(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%edi
lea    0xf05(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%edi
lea    0xf09(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0xf13(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%edi
lea    0xf22(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%edi
lea    0xf4f(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printhelp>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf07(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf08(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf13(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf1e(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf2b(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf36(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf47(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf5d(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf91(%rip),%rsi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [54 x i8] c"Usage: AESCripto [-e or -d] -k <key> -x <message>\0D\0A\0D\0A\00"
@.str.1 = [15 x i8] c"[-options]: \0D\0A\00"
@.str.2 = [25 x i8] c" -h\09\09\09Shows this Help\0D\0A\00"
@.str.3 = [25 x i8] c" -e\09\09\09Encrypt message\0D\0A\00"
@.str.4 = [27 x i8] c" -d\09\09\09Decrypt message\0D\0A\0D\0A\00"
@.str.5 = [25 x i8] c" -k\09\09\0932Byte size Key\0D\0A\00"
@.str.6 = [31 x i8] c" -x\09\09\09Hexadecimal message\0D\0A\0D\0A\00"
@.str.7 = [36 x i8] c"The Key must have 32Byte in size.\0D\0A\00"
@.str.8 = [66 x i8] c"The Hexadecimal message must be typed without the initial '0x'.\0D\0A\00"
@.str.9 = [95 x i8] c"Example:\0A aescripto -e -k 12345678901234567890123456789012 -x 000102030405060708090a0b0c0d0e0f\00"
define void @printhelp() {
%1 = load i32, i32* @stdout
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stdout
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [54 x i8] c"Usage: AESCripto [-e or -d] -k <key> -x <message>\0D\0A\0D\0A\00"
@.str.1 = [15 x i8] c"[-options]: \0D\0A\00"
@.str.2 = [25 x i8] c" -h\09\09\09Shows this Help\0D\0A\00"
@.str.3 = [25 x i8] c" -e\09\09\09Encrypt message\0D\0A\00"
@.str.4 = [27 x i8] c" -d\09\09\09Decrypt message\0D\0A\0D\0A\00"
@.str.5 = [25 x i8] c" -k\09\09\0932Byte size Key\0D\0A\00"
@.str.6 = [31 x i8] c" -x\09\09\09Hexadecimal message\0D\0A\0D\0A\00"
@.str.7 = [36 x i8] c"The Key must have 32Byte in size.\0D\0A\00"
@.str.8 = [66 x i8] c"The Hexadecimal message must be typed without the initial '0x'.\0D\0A\00"
@.str.9 = [95 x i8] c"Example:\0A aescripto -e -k 12345678901234567890123456789012 -x 000102030405060708090a0b0c0d0e0f\00"
define void @printhelp() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stdout
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = tail call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = tail call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = tail call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = tail call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = tail call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.9, i64 0, i64 0))
ret void
}