#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 */
typedef int uint8_t;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ aes128_decrypt(int *, int *);
int /*<<< orphan*/ aes128_encrypt(int *, int *);
int /*<<< orphan*/ aes192_decrypt(int *, int *);
int /*<<< orphan*/ aes192_encrypt(int *, int *);
int /*<<< orphan*/ aes256_decrypt(int *, int *);
int /*<<< orphan*/ aes256_encrypt(int *, int *);
scalar_t__ calloc(int, int);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, int);
int /*<<< orphan*/ free(int *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ realloc(int *, int);
int /*<<< orphan*/ stderr;
int main(void) {
  uint8_t *message = (uint8_t *)calloc(16, sizeof(uint8_t));
  uint8_t *key = (uint8_t *)calloc(16, sizeof(uint8_t));
  for (uint8_t i = 0; i < 16; i++) {
    key[i] = 0xff;
  }
  do {
    if (message == NULL) {
      fprintf(stderr, "memory allocation failure in %s:%d\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/"
              "test.c",
              22);
      exit(EXIT_FAILURE);
    }
  } while (0);
  do {
    if (key == NULL) {
      fprintf(stderr, "memory allocation failure in %s:%d\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/"
              "test.c",
              23);
      exit(EXIT_FAILURE);
    }
  } while (0);
  printf("AES-128\n");
  printf("Plaintext:\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  aes128_encrypt(message, key);
  printf("Ciphertext (encryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  aes128_decrypt(message, key);
  printf("Plaintext (decryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  printf("\n\n");
  printf("AES-192\n");
  printf("Plaintext:\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  key = (uint8_t *)realloc(key, 24 * sizeof(uint8_t));
  do {
    if (key == NULL) {
      fprintf(stderr, "memory allocation failure in %s:%d\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/"
              "test.c",
              58);
      exit(EXIT_FAILURE);
    }
  } while (0);
  for (uint8_t i = 0; i < 24; i++) {
    key[i] = 0xff;
  }
  aes192_encrypt(message, key);
  printf("Ciphertext (encryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  aes192_decrypt(message, key);
  printf("Plaintext (decryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  printf("\n\n");
  printf("AES-256\n");
  printf("Plaintext:\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  key = (uint8_t *)realloc(key, 32 * sizeof(uint8_t));
  do {
    if (key == NULL) {
      fprintf(stderr, "memory allocation failure in %s:%d\n",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/"
              "test.c",
              89);
      exit(EXIT_FAILURE);
    }
  } while (0);
  for (uint8_t i = 0; i < 24; i++) {
    key[i] = 0xff;
  }
  aes256_encrypt(message, key);
  printf("Ciphertext (encryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  aes256_decrypt(message, key);
  printf("Plaintext (decryption result):\n");
  for (uint8_t i = 0; i < 15; i++) {
    printf("0x%02x, ", message[i]);
  }
  printf("0x%02x\n\n", message[15]);
  free(message);
  free(key);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x10,%edi
mov    $0x4,%esi
call   1080 <calloc@plt>
mov    %rax,-0x10(%rbp)
mov    $0x10,%edi
mov    $0x4,%esi
call   1080 <calloc@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x10,-0x1c(%rbp)
jge    1223 <main+0x63>
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movl   $0xff,(%rax,%rcx,4)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11fc <main+0x3c>
jmp    1228 <main+0x68>
cmpq   $0x0,-0x10(%rbp)
jne    1262 <main+0xa2>
mov    0x2da6(%rip),%rax
mov    (%rax),%edi
lea    0xdbd(%rip),%rsi
lea    0xdda(%rip),%rdx
mov    $0x16,%ecx
call   10a0 <fprintf@plt>
mov    0x2d7d(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
jmp    1267 <main+0xa7>
jmp    126c <main+0xac>
cmpq   $0x0,-0x18(%rbp)
jne    12a6 <main+0xe6>
mov    0x2d62(%rip),%rax
mov    (%rax),%edi
lea    0xd79(%rip),%rsi
lea    0xd96(%rip),%rdx
mov    $0x17,%ecx
call   10a0 <fprintf@plt>
mov    0x2d39(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
jmp    12ab <main+0xeb>
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xdf2(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0xf,-0x20(%rbp)
jge    12ff <main+0x13f>
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12ce <main+0x10e>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xdba(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <aes128_encrypt@plt>
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0xf,-0x24(%rbp)
jge    1367 <main+0x1a7>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd6c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1336 <main+0x176>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xd52(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1090 <aes128_decrypt@plt>
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x28(%rbp)
cmpl   $0xf,-0x28(%rbp)
jge    13cf <main+0x20f>
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd04(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    139e <main+0x1de>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xcea(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xce2(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xcab(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x2c(%rbp)
cmpl   $0xf,-0x2c(%rbp)
jge    1446 <main+0x286>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc8d(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1415 <main+0x255>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xc73(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%rdi
mov    $0x60,%esi
call   10c0 <realloc@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    14a7 <main+0x2e7>
mov    0x2b61(%rip),%rax
mov    (%rax),%edi
lea    0xb78(%rip),%rsi
lea    0xb95(%rip),%rdx
mov    $0x3a,%ecx
call   10a0 <fprintf@plt>
mov    0x2b38(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
jmp    14ac <main+0x2ec>
movl   $0x0,-0x30(%rbp)
cmpl   $0x18,-0x30(%rbp)
jge    14da <main+0x31a>
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movl   $0xff,(%rax,%rcx,4)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    14b3 <main+0x2f3>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10e0 <aes192_encrypt@plt>
lea    0xbe2(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0xf,-0x34(%rbp)
jge    152d <main+0x36d>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xba6(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    14fc <main+0x33c>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xb8c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1050 <aes192_decrypt@plt>
lea    0xb9b(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x38(%rbp)
cmpl   $0xf,-0x38(%rbp)
jge    1595 <main+0x3d5>
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xb3e(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1564 <main+0x3a4>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xb24(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xb1c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xb5b(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xae5(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0xf,-0x3c(%rbp)
jge    160c <main+0x44c>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xac7(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    15db <main+0x41b>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0xaad(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%rdi
mov    $0x80,%esi
call   10c0 <realloc@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    166d <main+0x4ad>
mov    0x299b(%rip),%rax
mov    (%rax),%edi
lea    0x9b2(%rip),%rsi
lea    0x9cf(%rip),%rdx
mov    $0x59,%ecx
call   10a0 <fprintf@plt>
mov    0x2972(%rip),%rax
mov    (%rax),%edi
call   10d0 <exit@plt>
jmp    1672 <main+0x4b2>
movl   $0x0,-0x40(%rbp)
cmpl   $0x18,-0x40(%rbp)
jge    16a0 <main+0x4e0>
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
movl   $0xff,(%rax,%rcx,4)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1679 <main+0x4b9>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10b0 <aes256_encrypt@plt>
lea    0xa1c(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x44(%rbp)
cmpl   $0xf,-0x44(%rbp)
jge    16f3 <main+0x533>
mov    -0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0x9e0(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    16c2 <main+0x502>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0x9c6(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1060 <aes256_decrypt@plt>
lea    0x9d5(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
movl   $0x0,-0x48(%rbp)
cmpl   $0xf,-0x48(%rbp)
jge    175b <main+0x59b>
mov    -0x10(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0x978(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    172a <main+0x56a>
mov    -0x10(%rbp),%rax
mov    0x3c(%rax),%esi
lea    0x95e(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    0x2847(%rip),%rax
mov    (%rax),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    $0x10,%edi
mov    $0x4,%esi
call   1090 <calloc@plt>
mov    %rax,%rbx
mov    $0x10,%edi
mov    $0x4,%esi
call   1090 <calloc@plt>
movaps 0xdff(%rip),%xmm0
movups %xmm0,(%rax)
movups %xmm0,0x10(%rax)
movups %xmm0,0x20(%rax)
movups %xmm0,0x30(%rax)
test   %rbx,%rbx
je     1b10 <main+0x940>
mov    %rax,%r14
test   %rax,%rax
je     1b2e <main+0x95e>
lea    0xe9f(%rip),%rdi
call   1050 <puts@plt>
lea    0xeab(%rip),%r12
mov    %r12,%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
lea    0xe70(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
lea    0xdaf(%rip),%r13
mov    %r13,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <aes128_encrypt@plt>
lea    0xdbf(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   10a0 <aes128_decrypt@plt>
lea    0xcf9(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xbd9(%rip),%rdi
call   1050 <puts@plt>
lea    0xbd7(%rip),%rdi
call   1050 <puts@plt>
mov    %r12,%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0x60,%esi
call   10d0 <realloc@plt>
test   %rax,%rax
je     1b4c <main+0x97c>
mov    %rax,%r14
movaps 0xa08(%rip),%xmm0
movups %xmm0,(%rax)
movups %xmm0,0x10(%rax)
movups %xmm0,0x20(%rax)
movups %xmm0,0x30(%rax)
movups %xmm0,0x40(%rax)
movups %xmm0,0x50(%rax)
mov    %rbx,%rdi
mov    %rax,%rsi
call   10f0 <aes192_encrypt@plt>
lea    0xacd(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
lea    0xa8a(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
lea    0x9c9(%rip),%r12
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <aes192_decrypt@plt>
lea    0x9f9(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x8d9(%rip),%rdi
call   1050 <puts@plt>
lea    0x8df(%rip),%rdi
call   1050 <puts@plt>
lea    0x8db(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
mov    $0x80,%esi
call   10d0 <realloc@plt>
test   %rax,%rax
je     1b6a <main+0x99a>
mov    %rax,%r14
movaps 0x704(%rip),%xmm0
movups %xmm0,(%rax)
movups %xmm0,0x10(%rax)
movups %xmm0,0x20(%rax)
movups %xmm0,0x30(%rax)
movups %xmm0,0x40(%rax)
movups %xmm0,0x50(%rax)
mov    %rbx,%rdi
mov    %rax,%rsi
call   10c0 <aes256_encrypt@plt>
lea    0x7c9(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
lea    0x786(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
lea    0x6c5(%rip),%r12
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1070 <aes256_decrypt@plt>
lea    0x6f5(%rip),%rdi
call   1050 <puts@plt>
mov    (%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x24(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x28(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2c(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x30(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x34(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x38(%rbx),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x3c(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    0x24cc(%rip),%rax
mov    (%rax),%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret
mov    0x24c9(%rip),%rax
mov    (%rax),%edi
lea    0x4f0(%rip),%rsi
lea    0x50d(%rip),%rdx
mov    $0x16,%ecx
jmp    1b86 <main+0x9b6>
mov    0x24ab(%rip),%rax
mov    (%rax),%edi
lea    0x4d2(%rip),%rsi
lea    0x4ef(%rip),%rdx
mov    $0x17,%ecx
jmp    1b86 <main+0x9b6>
mov    0x248d(%rip),%rax
mov    (%rax),%edi
lea    0x4b4(%rip),%rsi
lea    0x4d1(%rip),%rdx
mov    $0x3a,%ecx
jmp    1b86 <main+0x9b6>
mov    0x246f(%rip),%rax
mov    (%rax),%edi
lea    0x496(%rip),%rsi
lea    0x4b3(%rip),%rdx
mov    $0x59,%ecx
call   10b0 <fprintf@plt>
mov    0x2446(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [36 x i8] c"memory allocation failure in %s:%d\0A\00"
@.str.1 = [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/test.c\00"
@EXIT_FAILURE = global i32 0
@.str.2 = [9 x i8] c"AES-128\0A\00"
@.str.3 = [12 x i8] c"Plaintext:\0A\00"
@.str.4 = [9 x i8] c"0x%02x, \00"
@.str.5 = [9 x i8] c"0x%02x\0A\0A\00"
@.str.6 = [33 x i8] c"Ciphertext (encryption result):\0A\00"
@.str.7 = [32 x i8] c"Plaintext (decryption result):\0A\00"
@.str.8 = [3 x i8] c"\0A\0A\00"
@.str.9 = [9 x i8] c"AES-192\0A\00"
@.str.10 = [9 x i8] c"AES-256\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i32 0, i32* %1
%16 = call i64 @calloc(i32 16, i32 4)
%17 = inttoptr i64 %16 to i32*
store i32* %17, i32** %2
%18 = call i64 @calloc(i32 16, i32 4)
%19 = inttoptr i64 %18 to i32*
store i32* %19, i32** %3
store i32 0, i32* %4
br label %20
20: ; preds = %28, %0
%21 = load i32, i32* %4
%22 = icmp slt i32 %21, 16
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32*, i32** %3
%25 = load i32, i32* %4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, i32* %24, i64 %26
store i32 255, i32* %27
br label %28
28: ; preds = %23
%29 = load i32, i32* %4
%30 = add nsw i32 %29, 1
store i32 %30, i32* %4
br label %20
31: ; preds = %20
br label %32
32: ; preds = %31
%33 = load i32*, i32** %2
%34 = icmp eq i32* %33, null
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load i32, i32* @stderr
%37 = call i32 @fprintf(i32 %36, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 22)
%38 = load i32, i32* @EXIT_FAILURE
%39 = call i32 @exit(i32 %38)
unreachable
40: ; preds = %32
br label %41
41: ; preds = %40
br label %42
42: ; preds = %41
%43 = load i32*, i32** %3
%44 = icmp eq i32* %43, null
br i1 %44, label %45, label %50
45: ; preds = %42
%46 = load i32, i32* @stderr
%47 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 23)
%48 = load i32, i32* @EXIT_FAILURE
%49 = call i32 @exit(i32 %48)
unreachable
50: ; preds = %42
br label %51
51: ; preds = %50
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %5
br label %54
54: ; preds = %64, %51
%55 = load i32, i32* %5
%56 = icmp slt i32 %55, 15
br i1 %56, label %57, label %67
57: ; preds = %54
%58 = load i32*, i32** %2
%59 = load i32, i32* %5
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, i32* %58, i64 %60
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %62)
br label %64
64: ; preds = %57
%65 = load i32, i32* %5
%66 = add nsw i32 %65, 1
store i32 %66, i32* %5
br label %54
67: ; preds = %54
%68 = load i32*, i32** %2
%69 = getelementptr inbounds i32, i32* %68, i64 15
%70 = load i32, i32* %69
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %70)
%72 = load i32*, i32** %2
%73 = load i32*, i32** %3
%74 = call i32 @aes128_encrypt(i32* %72, i32* %73)
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %6
br label %76
76: ; preds = %86, %67
%77 = load i32, i32* %6
%78 = icmp slt i32 %77, 15
br i1 %78, label %79, label %89
79: ; preds = %76
%80 = load i32*, i32** %2
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, i32* %80, i64 %82
%84 = load i32, i32* %83
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %84)
br label %86
86: ; preds = %79
%87 = load i32, i32* %6
%88 = add nsw i32 %87, 1
store i32 %88, i32* %6
br label %76
89: ; preds = %76
%90 = load i32*, i32** %2
%91 = getelementptr inbounds i32, i32* %90, i64 15
%92 = load i32, i32* %91
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %92)
%94 = load i32*, i32** %2
%95 = load i32*, i32** %3
%96 = call i32 @aes128_decrypt(i32* %94, i32* %95)
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %7
br label %98
98: ; preds = %108, %89
%99 = load i32, i32* %7
%100 = icmp slt i32 %99, 15
br i1 %100, label %101, label %111
101: ; preds = %98
%102 = load i32*, i32** %2
%103 = load i32, i32* %7
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, i32* %102, i64 %104
%106 = load i32, i32* %105
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %106)
br label %108
108: ; preds = %101
%109 = load i32, i32* %7
%110 = add nsw i32 %109, 1
store i32 %110, i32* %7
br label %98
111: ; preds = %98
%112 = load i32*, i32** %2
%113 = getelementptr inbounds i32, i32* %112, i64 15
%114 = load i32, i32* %113
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %114)
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %8
br label %119
119: ; preds = %129, %111
%120 = load i32, i32* %8
%121 = icmp slt i32 %120, 15
br i1 %121, label %122, label %132
122: ; preds = %119
%123 = load i32*, i32** %2
%124 = load i32, i32* %8
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, i32* %123, i64 %125
%127 = load i32, i32* %126
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %127)
br label %129
129: ; preds = %122
%130 = load i32, i32* %8
%131 = add nsw i32 %130, 1
store i32 %131, i32* %8
br label %119
132: ; preds = %119
%133 = load i32*, i32** %2
%134 = getelementptr inbounds i32, i32* %133, i64 15
%135 = load i32, i32* %134
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %135)
%137 = load i32*, i32** %3
%138 = call i64 @realloc(i32* %137, i32 96)
%139 = inttoptr i64 %138 to i32*
store i32* %139, i32** %3
br label %140
140: ; preds = %132
%141 = load i32*, i32** %3
%142 = icmp eq i32* %141, null
br i1 %142, label %143, label %148
143: ; preds = %140
%144 = load i32, i32* @stderr
%145 = call i32 @fprintf(i32 %144, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 58)
%146 = load i32, i32* @EXIT_FAILURE
%147 = call i32 @exit(i32 %146)
unreachable
148: ; preds = %140
br label %149
149: ; preds = %148
store i32 0, i32* %9
br label %150
150: ; preds = %158, %149
%151 = load i32, i32* %9
%152 = icmp slt i32 %151, 24
br i1 %152, label %153, label %161
153: ; preds = %150
%154 = load i32*, i32** %3
%155 = load i32, i32* %9
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, i32* %154, i64 %156
store i32 255, i32* %157
br label %158
158: ; preds = %153
%159 = load i32, i32* %9
%160 = add nsw i32 %159, 1
store i32 %160, i32* %9
br label %150
161: ; preds = %150
%162 = load i32*, i32** %2
%163 = load i32*, i32** %3
%164 = call i32 @aes192_encrypt(i32* %162, i32* %163)
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %10
br label %166
166: ; preds = %176, %161
%167 = load i32, i32* %10
%168 = icmp slt i32 %167, 15
br i1 %168, label %169, label %179
169: ; preds = %166
%170 = load i32*, i32** %2
%171 = load i32, i32* %10
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i32, i32* %170, i64 %172
%174 = load i32, i32* %173
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %174)
br label %176
176: ; preds = %169
%177 = load i32, i32* %10
%178 = add nsw i32 %177, 1
store i32 %178, i32* %10
br label %166
179: ; preds = %166
%180 = load i32*, i32** %2
%181 = getelementptr inbounds i32, i32* %180, i64 15
%182 = load i32, i32* %181
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %182)
%184 = load i32*, i32** %2
%185 = load i32*, i32** %3
%186 = call i32 @aes192_decrypt(i32* %184, i32* %185)
%187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %11
br label %188
188: ; preds = %198, %179
%189 = load i32, i32* %11
%190 = icmp slt i32 %189, 15
br i1 %190, label %191, label %201
191: ; preds = %188
%192 = load i32*, i32** %2
%193 = load i32, i32* %11
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds i32, i32* %192, i64 %194
%196 = load i32, i32* %195
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %196)
br label %198
198: ; preds = %191
%199 = load i32, i32* %11
%200 = add nsw i32 %199, 1
store i32 %200, i32* %11
br label %188
201: ; preds = %188
%202 = load i32*, i32** %2
%203 = getelementptr inbounds i32, i32* %202, i64 15
%204 = load i32, i32* %203
%205 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %204)
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%207 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%208 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %12
br label %209
209: ; preds = %219, %201
%210 = load i32, i32* %12
%211 = icmp slt i32 %210, 15
br i1 %211, label %212, label %222
212: ; preds = %209
%213 = load i32*, i32** %2
%214 = load i32, i32* %12
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i32, i32* %213, i64 %215
%217 = load i32, i32* %216
%218 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %217)
br label %219
219: ; preds = %212
%220 = load i32, i32* %12
%221 = add nsw i32 %220, 1
store i32 %221, i32* %12
br label %209
222: ; preds = %209
%223 = load i32*, i32** %2
%224 = getelementptr inbounds i32, i32* %223, i64 15
%225 = load i32, i32* %224
%226 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %225)
%227 = load i32*, i32** %3
%228 = call i64 @realloc(i32* %227, i32 128)
%229 = inttoptr i64 %228 to i32*
store i32* %229, i32** %3
br label %230
230: ; preds = %222
%231 = load i32*, i32** %3
%232 = icmp eq i32* %231, null
br i1 %232, label %233, label %238
233: ; preds = %230
%234 = load i32, i32* @stderr
%235 = call i32 @fprintf(i32 %234, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 89)
%236 = load i32, i32* @EXIT_FAILURE
%237 = call i32 @exit(i32 %236)
unreachable
238: ; preds = %230
br label %239
239: ; preds = %238
store i32 0, i32* %13
br label %240
240: ; preds = %248, %239
%241 = load i32, i32* %13
%242 = icmp slt i32 %241, 24
br i1 %242, label %243, label %251
243: ; preds = %240
%244 = load i32*, i32** %3
%245 = load i32, i32* %13
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds i32, i32* %244, i64 %246
store i32 255, i32* %247
br label %248
248: ; preds = %243
%249 = load i32, i32* %13
%250 = add nsw i32 %249, 1
store i32 %250, i32* %13
br label %240
251: ; preds = %240
%252 = load i32*, i32** %2
%253 = load i32*, i32** %3
%254 = call i32 @aes256_encrypt(i32* %252, i32* %253)
%255 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %14
br label %256
256: ; preds = %266, %251
%257 = load i32, i32* %14
%258 = icmp slt i32 %257, 15
br i1 %258, label %259, label %269
259: ; preds = %256
%260 = load i32*, i32** %2
%261 = load i32, i32* %14
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds i32, i32* %260, i64 %262
%264 = load i32, i32* %263
%265 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %264)
br label %266
266: ; preds = %259
%267 = load i32, i32* %14
%268 = add nsw i32 %267, 1
store i32 %268, i32* %14
br label %256
269: ; preds = %256
%270 = load i32*, i32** %2
%271 = getelementptr inbounds i32, i32* %270, i64 15
%272 = load i32, i32* %271
%273 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %272)
%274 = load i32*, i32** %2
%275 = load i32*, i32** %3
%276 = call i32 @aes256_decrypt(i32* %274, i32* %275)
%277 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %15
br label %278
278: ; preds = %288, %269
%279 = load i32, i32* %15
%280 = icmp slt i32 %279, 15
br i1 %280, label %281, label %291
281: ; preds = %278
%282 = load i32*, i32** %2
%283 = load i32, i32* %15
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds i32, i32* %282, i64 %284
%286 = load i32, i32* %285
%287 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %286)
br label %288
288: ; preds = %281
%289 = load i32, i32* %15
%290 = add nsw i32 %289, 1
store i32 %290, i32* %15
br label %278
291: ; preds = %278
%292 = load i32*, i32** %2
%293 = getelementptr inbounds i32, i32* %292, i64 15
%294 = load i32, i32* %293
%295 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %294)
%296 = load i32*, i32** %2
%297 = call i32 @free(i32* %296)
%298 = load i32*, i32** %3
%299 = call i32 @free(i32* %298)
%300 = load i32, i32* @EXIT_SUCCESS
ret i32 %300
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [36 x i8] c"memory allocation failure in %s:%d\0A\00"
@.str.1 = [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/test.c\00"
@EXIT_FAILURE = global i32 0
@.str.4 = [9 x i8] c"0x%02x, \00"
@.str.5 = [9 x i8] c"0x%02x\0A\0A\00"
@EXIT_SUCCESS = global i32 0
@str = [8 x i8] c"AES-128\00"
@str.15 = [8 x i8] c"AES-192\00"
@str.19 = [2 x i8] c"\0A\00"
@str.20 = [8 x i8] c"AES-256\00"
@str.21 = [11 x i8] c"Plaintext:\00"
@str.22 = [32 x i8] c"Ciphertext (encryption result):\00"
@str.23 = [31 x i8] c"Plaintext (decryption result):\00"
define i32 @main() {
%1 = tail call i64 @calloc(i32 16, i32 4)
%2 = tail call i64 @calloc(i32 16, i32 4)
%3 = inttoptr i64 %2 to i32*
%4 = inttoptr i64 %2 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %4
%5 = getelementptr inbounds i32, i32* %3, i64 4
%6 = bitcast i32* %5 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %6
%7 = getelementptr inbounds i32, i32* %3, i64 8
%8 = bitcast i32* %7 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %8
%9 = getelementptr inbounds i32, i32* %3, i64 12
%10 = bitcast i32* %9 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %10
%11 = inttoptr i64 %1 to i32*
%12 = icmp eq i64 %1, 0
br i1 %12, label %13, label %18
13: ; preds = %0
%14 = load i32, i32* @stderr
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 22)
%16 = load i32, i32* @EXIT_FAILURE
%17 = tail call i32 @exit(i32 %16)
unreachable
18: ; preds = %0
%19 = icmp eq i64 %2, 0
br i1 %19, label %20, label %25
20: ; preds = %18
%21 = load i32, i32* @stderr
%22 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 23)
%23 = load i32, i32* @EXIT_FAILURE
%24 = tail call i32 @exit(i32 %23)
unreachable
25: ; preds = %18
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.21, i64 0, i64 0))
%28 = load i32, i32* %11
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds i32, i32* %11, i64 1
%31 = load i32, i32* %30
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %31)
%33 = getelementptr inbounds i32, i32* %11, i64 2
%34 = load i32, i32* %33
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %34)
%36 = getelementptr inbounds i32, i32* %11, i64 3
%37 = load i32, i32* %36
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %37)
%39 = getelementptr inbounds i32, i32* %11, i64 4
%40 = load i32, i32* %39
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %40)
%42 = getelementptr inbounds i32, i32* %11, i64 5
%43 = load i32, i32* %42
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %43)
%45 = getelementptr inbounds i32, i32* %11, i64 6
%46 = load i32, i32* %45
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %46)
%48 = getelementptr inbounds i32, i32* %11, i64 7
%49 = load i32, i32* %48
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds i32, i32* %11, i64 8
%52 = load i32, i32* %51
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds i32, i32* %11, i64 9
%55 = load i32, i32* %54
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %55)
%57 = getelementptr inbounds i32, i32* %11, i64 10
%58 = load i32, i32* %57
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds i32, i32* %11, i64 11
%61 = load i32, i32* %60
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %61)
%63 = getelementptr inbounds i32, i32* %11, i64 12
%64 = load i32, i32* %63
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds i32, i32* %11, i64 13
%67 = load i32, i32* %66
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds i32, i32* %11, i64 14
%70 = load i32, i32* %69
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds i32, i32* %11, i64 15
%73 = load i32, i32* %72
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %73)
%75 = tail call i32 @aes128_encrypt(i32* %11, i32* %3)
%76 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.22, i64 0, i64 0))
%77 = load i32, i32* %11
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %77)
%79 = load i32, i32* %30
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %33
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %81)
%83 = load i32, i32* %36
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %83)
%85 = load i32, i32* %39
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %85)
%87 = load i32, i32* %42
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %87)
%89 = load i32, i32* %45
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %89)
%91 = load i32, i32* %48
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %91)
%93 = load i32, i32* %51
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %93)
%95 = load i32, i32* %54
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %95)
%97 = load i32, i32* %57
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %97)
%99 = load i32, i32* %60
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %99)
%101 = load i32, i32* %63
%102 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %101)
%103 = load i32, i32* %66
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %103)
%105 = load i32, i32* %69
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %105)
%107 = load i32, i32* %72
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %107)
%109 = tail call i32 @aes128_decrypt(i32* %11, i32* %3)
%110 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.23, i64 0, i64 0))
%111 = load i32, i32* %11
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %111)
%113 = load i32, i32* %30
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %113)
%115 = load i32, i32* %33
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %115)
%117 = load i32, i32* %36
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %117)
%119 = load i32, i32* %39
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %119)
%121 = load i32, i32* %42
%122 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %121)
%123 = load i32, i32* %45
%124 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %123)
%125 = load i32, i32* %48
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %125)
%127 = load i32, i32* %51
%128 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %127)
%129 = load i32, i32* %54
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %129)
%131 = load i32, i32* %57
%132 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %131)
%133 = load i32, i32* %60
%134 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %133)
%135 = load i32, i32* %63
%136 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %135)
%137 = load i32, i32* %66
%138 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %137)
%139 = load i32, i32* %69
%140 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %139)
%141 = load i32, i32* %72
%142 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %141)
%143 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%144 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.15, i64 0, i64 0))
%145 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.21, i64 0, i64 0))
%146 = load i32, i32* %11
%147 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %146)
%148 = load i32, i32* %30
%149 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %148)
%150 = load i32, i32* %33
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %150)
%152 = load i32, i32* %36
%153 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %152)
%154 = load i32, i32* %39
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %154)
%156 = load i32, i32* %42
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %156)
%158 = load i32, i32* %45
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %158)
%160 = load i32, i32* %48
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %160)
%162 = load i32, i32* %51
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %162)
%164 = load i32, i32* %54
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %164)
%166 = load i32, i32* %57
%167 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %166)
%168 = load i32, i32* %60
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %168)
%170 = load i32, i32* %63
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %170)
%172 = load i32, i32* %66
%173 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %172)
%174 = load i32, i32* %69
%175 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %174)
%176 = load i32, i32* %72
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %176)
%178 = tail call i64 @realloc(i32* %3, i32 96)
%179 = inttoptr i64 %178 to i32*
%180 = icmp eq i64 %178, 0
br i1 %180, label %299, label %181
181: ; preds = %25
%182 = inttoptr i64 %178 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %182
%183 = getelementptr inbounds i32, i32* %179, i64 4
%184 = bitcast i32* %183 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %184
%185 = getelementptr inbounds i32, i32* %179, i64 8
%186 = bitcast i32* %185 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %186
%187 = getelementptr inbounds i32, i32* %179, i64 12
%188 = bitcast i32* %187 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %188
%189 = getelementptr inbounds i32, i32* %179, i64 16
%190 = bitcast i32* %189 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %190
%191 = getelementptr inbounds i32, i32* %179, i64 20
%192 = bitcast i32* %191 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %192
%193 = tail call i32 @aes192_encrypt(i32* %11, i32* %179)
%194 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.22, i64 0, i64 0))
%195 = load i32, i32* %11
%196 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %195)
%197 = load i32, i32* %30
%198 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %197)
%199 = load i32, i32* %33
%200 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %199)
%201 = load i32, i32* %36
%202 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %201)
%203 = load i32, i32* %39
%204 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %203)
%205 = load i32, i32* %42
%206 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %205)
%207 = load i32, i32* %45
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %207)
%209 = load i32, i32* %48
%210 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %209)
%211 = load i32, i32* %51
%212 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %211)
%213 = load i32, i32* %54
%214 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %213)
%215 = load i32, i32* %57
%216 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %215)
%217 = load i32, i32* %60
%218 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %217)
%219 = load i32, i32* %63
%220 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %219)
%221 = load i32, i32* %66
%222 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %221)
%223 = load i32, i32* %69
%224 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %223)
%225 = load i32, i32* %72
%226 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %225)
%227 = tail call i32 @aes192_decrypt(i32* %11, i32* %179)
%228 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.23, i64 0, i64 0))
%229 = load i32, i32* %11
%230 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %229)
%231 = load i32, i32* %30
%232 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %231)
%233 = load i32, i32* %33
%234 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %233)
%235 = load i32, i32* %36
%236 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %235)
%237 = load i32, i32* %39
%238 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %237)
%239 = load i32, i32* %42
%240 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %239)
%241 = load i32, i32* %45
%242 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %241)
%243 = load i32, i32* %48
%244 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %243)
%245 = load i32, i32* %51
%246 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %245)
%247 = load i32, i32* %54
%248 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %247)
%249 = load i32, i32* %57
%250 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %249)
%251 = load i32, i32* %60
%252 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %251)
%253 = load i32, i32* %63
%254 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %253)
%255 = load i32, i32* %66
%256 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %255)
%257 = load i32, i32* %69
%258 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %257)
%259 = load i32, i32* %72
%260 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %259)
%261 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%262 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.20, i64 0, i64 0))
%263 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.21, i64 0, i64 0))
%264 = load i32, i32* %11
%265 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %264)
%266 = load i32, i32* %30
%267 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %266)
%268 = load i32, i32* %33
%269 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %268)
%270 = load i32, i32* %36
%271 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %270)
%272 = load i32, i32* %39
%273 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %272)
%274 = load i32, i32* %42
%275 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %274)
%276 = load i32, i32* %45
%277 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %276)
%278 = load i32, i32* %48
%279 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %278)
%280 = load i32, i32* %51
%281 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %280)
%282 = load i32, i32* %54
%283 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %282)
%284 = load i32, i32* %57
%285 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %284)
%286 = load i32, i32* %60
%287 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %286)
%288 = load i32, i32* %63
%289 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %288)
%290 = load i32, i32* %66
%291 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %290)
%292 = load i32, i32* %69
%293 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %292)
%294 = load i32, i32* %72
%295 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %294)
%296 = tail call i64 @realloc(i32* %179, i32 128)
%297 = inttoptr i64 %296 to i32*
%298 = icmp eq i64 %296, 0
br i1 %298, label %387, label %304
299: ; preds = %25
%300 = load i32, i32* @stderr
%301 = tail call i32 @fprintf(i32 %300, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 58)
%302 = load i32, i32* @EXIT_FAILURE
%303 = tail call i32 @exit(i32 %302)
unreachable
304: ; preds = %181
%305 = inttoptr i64 %296 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %305
%306 = getelementptr inbounds i32, i32* %297, i64 4
%307 = bitcast i32* %306 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %307
%308 = getelementptr inbounds i32, i32* %297, i64 8
%309 = bitcast i32* %308 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %309
%310 = getelementptr inbounds i32, i32* %297, i64 12
%311 = bitcast i32* %310 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %311
%312 = getelementptr inbounds i32, i32* %297, i64 16
%313 = bitcast i32* %312 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %313
%314 = getelementptr inbounds i32, i32* %297, i64 20
%315 = bitcast i32* %314 to <4 x i32>*
store <4 x i32> <i32 255, i32 255, i32 255, i32 255>, <4 x i32>* %315
%316 = tail call i32 @aes256_encrypt(i32* %11, i32* %297)
%317 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.22, i64 0, i64 0))
%318 = load i32, i32* %11
%319 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %318)
%320 = load i32, i32* %30
%321 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %320)
%322 = load i32, i32* %33
%323 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %322)
%324 = load i32, i32* %36
%325 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %324)
%326 = load i32, i32* %39
%327 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %326)
%328 = load i32, i32* %42
%329 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %328)
%330 = load i32, i32* %45
%331 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %330)
%332 = load i32, i32* %48
%333 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %332)
%334 = load i32, i32* %51
%335 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %334)
%336 = load i32, i32* %54
%337 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %336)
%338 = load i32, i32* %57
%339 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %338)
%340 = load i32, i32* %60
%341 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %340)
%342 = load i32, i32* %63
%343 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %342)
%344 = load i32, i32* %66
%345 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %344)
%346 = load i32, i32* %69
%347 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %346)
%348 = load i32, i32* %72
%349 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %348)
%350 = tail call i32 @aes256_decrypt(i32* %11, i32* %297)
%351 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.23, i64 0, i64 0))
%352 = load i32, i32* %11
%353 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %352)
%354 = load i32, i32* %30
%355 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %354)
%356 = load i32, i32* %33
%357 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %356)
%358 = load i32, i32* %36
%359 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %358)
%360 = load i32, i32* %39
%361 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %360)
%362 = load i32, i32* %42
%363 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %362)
%364 = load i32, i32* %45
%365 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %364)
%366 = load i32, i32* %48
%367 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %366)
%368 = load i32, i32* %51
%369 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %368)
%370 = load i32, i32* %54
%371 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %370)
%372 = load i32, i32* %57
%373 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %372)
%374 = load i32, i32* %60
%375 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %374)
%376 = load i32, i32* %63
%377 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %376)
%378 = load i32, i32* %66
%379 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %378)
%380 = load i32, i32* %69
%381 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %380)
%382 = load i32, i32* %72
%383 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 %382)
%384 = tail call i32 @free(i32* %11)
%385 = tail call i32 @free(i32* %297)
%386 = load i32, i32* @EXIT_SUCCESS
ret i32 %386
387: ; preds = %181
%388 = load i32, i32* @stderr
%389 = tail call i32 @fprintf(i32 %388, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.1, i64 0, i64 0), i32 89)
%390 = load i32, i32* @EXIT_FAILURE
%391 = tail call i32 @exit(i32 %390)
unreachable
}