#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*/ AdjustArrays(int, int, int);
int /*<<< orphan*/ AdjustGenes(int, int, int);
int /*<<< orphan*/ Free();
int GetColumns();
int GetRows();
int /*<<< orphan*/ HierarchicalPartition(char, char, char, char *, int);
int /*<<< orphan*/ KMeans(char, char, int, int, int, int, char *);
int /*<<< orphan*/ LogTransform();
int /*<<< orphan*/ SOM(char, char, int, int, int, int, char *);
int /*<<< orphan*/ display_help();
int /*<<< orphan*/ display_version();
int /*<<< orphan*/ free(char *);
char getmetric(int);
int /*<<< orphan*/ load(char *);
int /*<<< orphan*/ printf(char *);
int readnumber(char *);
char *setjobname(char *, int);
int /*<<< orphan*/ strchr(char *, char);
int /*<<< orphan*/ strcmp(char const *const, char *);
int strlen(char const *const);
int main(int argc, char *argv[]) {
  int i = 1;
  char *filename = 0;
  char *jobname = 0;
  int l = 0;
  int k = 0;
  int r = 1;
  int s = 0;
  int x = 2;
  int y = 1;
  int Rows, Columns;
  char genemetric = 'u';
  char arraymetric = '\0';
  char method = 'm';
  char cg = '\0';
  char ca = '\0';
  int ng = 0;
  int na = 0;
  int minK = 2;
  int maxK = 2;
  while (i < argc) {
    const char *const argument = argv[i];
    i++;
    if (strlen(argument) < 2) {
      printf("ERROR: missing argument\n");
      return 0;
    }
    if (argument[0] != '-') {
      printf("ERROR: unknown argument\n");
      return 0;
    }
    if (!strcmp(argument, "--version") || !strcmp(argument, "-v")) {
      display_version();
      return 0;
    }
    if (!strcmp(argument, "--help") || !strcmp(argument, "-h")) {
      display_help();
      return 0;
    }
    if (!strcmp(argument, "-cg")) {
      if (i == argc || strlen(argv[i]) > 1 || !strchr("am", argv[i][0])) {
        printf("Error reading command line argument cg\n");
        return 0;
      }
      cg = argv[i][0];
      i++;
      continue;
    }
    if (!strcmp(argument, "-ca")) {
      if (i == argc || strlen(argv[i]) > 1 || !strchr("am", argv[i][0])) {
        printf("Error reading command line argument ca\n");
        return 0;
      }
      ca = argv[i][0];
      i++;
      continue;
    }
    if (!strcmp(argument, "-ng")) {
      ng = 1;
      continue;
    }
    if (!strcmp(argument, "-na")) {
      na = 1;
      continue;
    }
    if (!strcmp(argument, "-cut")) {
      if (i == argc) {
        printf("Error reading command line argument minK: parameter missing\n");
        return 0;
      }
      minK = readnumber(argv[i]);
      if (minK < 1) {
        printf("Error reading command line argument mink: a positive integer "
               "is required\n");
        return 0;
      }
      i++;
      continue;
    }
    switch (argument[1]) {
    case 'l':
      l = 1;
      break;
    case 'u': {
      if (i == argc) {
        printf(
            "Error reading command line argument u: no job name specified\n");
        return 0;
      }
      jobname = setjobname(argv[i], 0);
      i++;
      break;
    }
    case 'f': {
      if (i == argc) {
        printf(
            "Error reading command line argument f: no file name specified\n");
        return 0;
      }
      filename = argv[i];
      i++;
      break;
    }
    case 'g': {
      int g;
      if (i == argc) {
        printf("Error reading command line argument g: parameter missing\n");
        return 0;
      }
      g = readnumber(argv[i]);
      if (g < 0 || g > 9) {
        printf("Error reading command line argument g: should be between 0 and "
               "9 inclusive\n");
        return 0;
      }
      i++;
      genemetric = getmetric(g);
      break;
    }
    case 'e': {
      int e;
      if (i == argc) {
        printf("Error reading command line argument e: parameter missing\n");
        return 0;
      }
      e = readnumber(argv[i]);
      if (e < 0 || e > 9) {
        printf("Error reading command line argument e: should be between 0 and "
               "9 inclusive\n");
        return 0;
      }
      i++;
      arraymetric = getmetric(e);
      break;
    }
    case 'm': {
      if (i == argc || strlen(argv[i]) > 1 || !strchr("msca", argv[i][0])) {
        printf("Error reading command line argument m: should be 'm', 's', "
               "'c', or 'a'\n");
        return 0;
      }
      method = argv[i][0];
      i++;
      break;
    }
    case 's': {
      s = 1;
      break;
    }
    case 'x': {
      if (i == argc) {
        printf("Error reading command line argument x: parameter missing\n");
        return 0;
      }
      x = readnumber(argv[i]);
      if (x < 1) {
        printf("Error reading command line argument x: a positive integer is "
               "required\n");
        return 0;
      }
      i++;
      break;
    }
    case 'y': {
      if (i == argc) {
        printf("Error reading command line argument y: parameter missing\n");
        return 0;
      }
      y = readnumber(argv[i]);
      if (y < 1) {
        printf("Error reading command line argument y: a positive integer is "
               "required\n");
        return 0;
      }
      i++;
      break;
    }
    case 'k': {
      if (i == argc) {
        printf("Error reading command line argument k: parameter missing\n");
        return 0;
      }
      k = readnumber(argv[i]);
      if (k < 1) {
        printf("Error reading command line argument k: a positive integer is "
               "required\n");
        return 0;
      }
      i++;
      break;
    }
    case 'r': {
      if (i == argc) {
        printf("Error reading command line argument r: parameter missing\n");
        return 0;
      }
      r = readnumber(argv[i]);
      if (r < 1) {
        printf("Error reading command line argument r: a positive integer is "
               "required\n");
        return 0;
      }
      i++;
      break;
    }
    default:
      printf("Unknown option\n");
    }
  }
  if (genemetric == '\0' && arraymetric == '\0')
    return 0;
  if (filename)
    load(filename);
  else {
    display_help();
    return 0;
  }
  Rows = GetRows();
  Columns = GetColumns();
  if (Rows == 0 || Columns == 0)
    printf("No data available\n");
  else {
    if (l)
      LogTransform();
    switch (cg) {
    case 'a':
      AdjustGenes(1, 0, ng);
    case 'm':
      AdjustGenes(0, 1, ng);
    default:
      AdjustGenes(0, 0, ng);
    }
    switch (ca) {
    case 'a':
      AdjustArrays(1, 0, na);
    case 'm':
      AdjustArrays(0, 1, na);
    default:
      AdjustArrays(0, 0, na);
    }
    if (jobname == 0)
      jobname = setjobname(filename, 1);
    if (k > 0)
      KMeans(genemetric, arraymetric, k, r, Rows, Columns, jobname);
    else if (s != 0)
      SOM(genemetric, arraymetric, x, y, Rows, Columns, jobname);
    else
      HierarchicalPartition(genemetric, arraymetric, method, jobname, minK);
    free(jobname);
  }
  Free();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x1,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x2,-0x3c(%rbp)
movl   $0x1,-0x40(%rbp)
movb   $0x75,-0x49(%rbp)
movb   $0x0,-0x4a(%rbp)
movb   $0x6d,-0x4b(%rbp)
movb   $0x0,-0x4c(%rbp)
movb   $0x0,-0x4d(%rbp)
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
movl   $0x2,-0x5c(%rbp)
movl   $0x2,-0x60(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    19c7 <main+0x787>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x68(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x68(%rbp),%rdi
call   1080 <strlen@plt>
cmp    $0x2,%eax
jge    1319 <main+0xd9>
lea    0xd4c(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x68(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
je     1341 <main+0x101>
lea    0xd3d(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x68(%rbp),%rdi
lea    0xd3a(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
je     1373 <main+0x133>
mov    -0x68(%rbp),%rdi
lea    0xd2b(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    1386 <main+0x146>
mov    $0x0,%al
call   1070 <display_version@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x68(%rbp),%rdi
lea    0xd02(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
je     13b8 <main+0x178>
mov    -0x68(%rbp),%rdi
lea    0xcf0(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    13cb <main+0x18b>
mov    $0x0,%al
call   10b0 <display_help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x68(%rbp),%rdi
lea    0xcc7(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    1465 <main+0x225>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
je     142e <main+0x1ee>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1080 <strlen@plt>
cmp    $0x1,%eax
jg     142e <main+0x1ee>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
lea    0xc84(%rip),%rdi
movsbl (%rax),%esi
call   1090 <strchr@plt>
cmp    $0x0,%eax
jne    1446 <main+0x206>
lea    0xc6f(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    (%rax),%al
mov    %al,-0x4c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12ca <main+0x8a>
mov    -0x68(%rbp),%rdi
lea    0xc5c(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    14ff <main+0x2bf>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
je     14c8 <main+0x288>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1080 <strlen@plt>
cmp    $0x1,%eax
jg     14c8 <main+0x288>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
lea    0xbea(%rip),%rdi
movsbl (%rax),%esi
call   1090 <strchr@plt>
cmp    $0x0,%eax
jne    14e0 <main+0x2a0>
lea    0xc01(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    (%rax),%al
mov    %al,-0x4d(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12ca <main+0x8a>
mov    -0x68(%rbp),%rdi
lea    0xbee(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    1524 <main+0x2e4>
movl   $0x1,-0x54(%rbp)
jmp    12ca <main+0x8a>
mov    -0x68(%rbp),%rdi
lea    0xbcd(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    1549 <main+0x309>
movl   $0x1,-0x58(%rbp)
jmp    12ca <main+0x8a>
mov    -0x68(%rbp),%rdi
lea    0xbac(%rip),%rsi
call   10f0 <strcmp@plt>
cmp    $0x0,%eax
jne    15ca <main+0x38a>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    1586 <main+0x346>
lea    0xb90(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x5c(%rbp)
cmpl   $0x1,-0x5c(%rbp)
jge    15bc <main+0x37c>
lea    0xb97(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12ca <main+0x8a>
mov    -0x68(%rbp),%rax
movsbl 0x1(%rax),%eax
add    $0xffffff9b,%eax
mov    %eax,%ecx
mov    %rcx,-0x78(%rbp)
sub    $0x14,%eax
ja     19b6 <main+0x776>
mov    -0x78(%rbp),%rax
lea    0xa11(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x1,-0x2c(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    1628 <main+0x3e8>
lea    0xb75(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %esi,%esi
call   10e0 <setjobname@plt>
mov    %rax,-0x28(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    1671 <main+0x431>
lea    0xb6a(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x20(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    16b3 <main+0x473>
lea    0xb67(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x6c(%rbp)
cmpl   $0x0,-0x6c(%rbp)
jl     16db <main+0x49b>
cmpl   $0x9,-0x6c(%rbp)
jle    16f3 <main+0x4b3>
lea    0xb61(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x6c(%rbp),%edi
call   1030 <getmetric@plt>
mov    %al,-0x49(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    1730 <main+0x4f0>
lea    0xb70(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x70(%rbp)
cmpl   $0x0,-0x70(%rbp)
jl     1758 <main+0x518>
cmpl   $0x9,-0x70(%rbp)
jle    1770 <main+0x530>
lea    0xb6a(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x70(%rbp),%edi
call   1030 <getmetric@plt>
mov    %al,-0x4a(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
je     17d3 <main+0x593>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1080 <strlen@plt>
cmp    $0x1,%eax
jg     17d3 <main+0x593>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
lea    0xb53(%rip),%rdi
movsbl (%rax),%esi
call   1090 <strchr@plt>
cmp    $0x0,%eax
jne    17eb <main+0x5ab>
lea    0xb40(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    (%rax),%al
mov    %al,-0x4b(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
movl   $0x1,-0x38(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    183a <main+0x5fa>
lea    0xb39(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x1,-0x3c(%rbp)
jge    1870 <main+0x630>
lea    0xb3d(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    18a2 <main+0x662>
lea    0xb52(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x40(%rbp)
cmpl   $0x1,-0x40(%rbp)
jge    18d8 <main+0x698>
lea    0xb56(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    190a <main+0x6ca>
lea    0xb6b(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x30(%rbp)
cmpl   $0x1,-0x30(%rbp)
jge    1940 <main+0x700>
lea    0xb6f(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    1972 <main+0x732>
lea    0xb84(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1160 <readnumber@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x1,-0x34(%rbp)
jge    19a8 <main+0x768>
lea    0xb88(%rip),%rdi
call   10a0 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    19c2 <main+0x782>
lea    0xba9(%rip),%rdi
call   10a0 <printf@plt>
jmp    12ca <main+0x8a>
movsbl -0x49(%rbp),%eax
cmp    $0x0,%eax
jne    19ed <main+0x7ad>
movsbl -0x4a(%rbp),%eax
cmp    $0x0,%eax
jne    19ed <main+0x7ad>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
cmpq   $0x0,-0x20(%rbp)
je     1a06 <main+0x7c6>
mov    -0x20(%rbp),%rdi
call   1140 <load@plt>
jmp    1a19 <main+0x7d9>
mov    $0x0,%al
call   10b0 <display_help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1bd1 <main+0x991>
mov    $0x0,%al
call   1150 <GetRows@plt>
mov    %eax,-0x44(%rbp)
mov    $0x0,%al
call   1110 <GetColumns@plt>
mov    %eax,-0x48(%rbp)
cmpl   $0x0,-0x44(%rbp)
je     1a41 <main+0x801>
cmpl   $0x0,-0x48(%rbp)
jne    1a52 <main+0x812>
lea    0xb2e(%rip),%rdi
call   10a0 <printf@plt>
jmp    1bc3 <main+0x983>
cmpl   $0x0,-0x2c(%rbp)
je     1a63 <main+0x823>
mov    $0x0,%al
call   10c0 <LogTransform@plt>
movsbl -0x4c(%rbp),%eax
mov    %eax,-0x7c(%rbp)
sub    $0x61,%eax
je     1a89 <main+0x849>
jmp    1a78 <main+0x838>
mov    -0x7c(%rbp),%eax
sub    $0x6d,%eax
je     1a98 <main+0x858>
jmp    1aa7 <main+0x867>
mov    -0x54(%rbp),%edx
mov    $0x1,%edi
xor    %esi,%esi
call   1120 <AdjustGenes@plt>
mov    -0x54(%rbp),%edx
xor    %edi,%edi
mov    $0x1,%esi
call   1120 <AdjustGenes@plt>
mov    -0x54(%rbp),%edx
xor    %esi,%esi
mov    %esi,%edi
call   1120 <AdjustGenes@plt>
movsbl -0x4d(%rbp),%eax
mov    %eax,-0x80(%rbp)
sub    $0x61,%eax
je     1ad9 <main+0x899>
jmp    1ac8 <main+0x888>
mov    -0x80(%rbp),%eax
sub    $0x6d,%eax
je     1ae8 <main+0x8a8>
jmp    1af7 <main+0x8b7>
mov    -0x58(%rbp),%edx
mov    $0x1,%edi
xor    %esi,%esi
call   1050 <AdjustArrays@plt>
mov    -0x58(%rbp),%edx
xor    %edi,%edi
mov    $0x1,%esi
call   1050 <AdjustArrays@plt>
mov    -0x58(%rbp),%edx
xor    %esi,%esi
mov    %esi,%edi
call   1050 <AdjustArrays@plt>
cmpq   $0x0,-0x28(%rbp)
jne    1b20 <main+0x8e0>
mov    -0x20(%rbp),%rdi
mov    $0x1,%esi
call   10e0 <setjobname@plt>
mov    %rax,-0x28(%rbp)
cmpl   $0x0,-0x30(%rbp)
jle    1b5a <main+0x91a>
mov    -0x49(%rbp),%dil
mov    -0x4a(%rbp),%sil
mov    -0x30(%rbp),%edx
mov    -0x34(%rbp),%ecx
mov    -0x44(%rbp),%r8d
mov    -0x48(%rbp),%r9d
mov    -0x28(%rbp),%rax
movsbl %dil,%edi
movsbl %sil,%esi
mov    %rax,(%rsp)
call   10d0 <KMeans@plt>
jmp    1bba <main+0x97a>
cmpl   $0x0,-0x38(%rbp)
je     1b94 <main+0x954>
mov    -0x49(%rbp),%dil
mov    -0x4a(%rbp),%sil
mov    -0x3c(%rbp),%edx
mov    -0x40(%rbp),%ecx
mov    -0x44(%rbp),%r8d
mov    -0x48(%rbp),%r9d
mov    -0x28(%rbp),%rax
movsbl %dil,%edi
movsbl %sil,%esi
mov    %rax,(%rsp)
call   1060 <SOM@plt>
jmp    1bb5 <main+0x975>
mov    -0x49(%rbp),%sil
mov    -0x4a(%rbp),%dl
mov    -0x4b(%rbp),%al
mov    -0x28(%rbp),%rcx
mov    -0x5c(%rbp),%r8d
movsbl %sil,%edi
movsbl %dl,%esi
movsbl %al,%edx
call   1100 <HierarchicalPartition@plt>
jmp    1bba <main+0x97a>
mov    -0x28(%rbp),%rdi
call   1040 <free@plt>
mov    $0x0,%al
call   1130 <Free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
cmp    $0x2,%edi
jl     17e6 <main+0x5a6>
mov    %rsi,%r12
mov    %edi,0x18(%rsp)
movb   $0x75,0x17(%rsp)
movb   $0x6d,0x16(%rsp)
xor    %eax,%eax
mov    %rax,0x48(%rsp)
movl   $0x2,0x38(%rsp)
mov    $0x1,%r14d
mov    $0x0,%eax
mov    %rax,0x40(%rsp)
mov    $0x0,%ebx
movl   $0x0,0x3c(%rsp)
xor    %eax,%eax
mov    %rax,0x58(%rsp)
xor    %eax,%eax
mov    %rax,0x60(%rsp)
xor    %eax,%eax
mov    %rax,0x50(%rsp)
xor    %ebp,%ebp
movl   $0x0,0x34(%rsp)
movl   $0x1,0x28(%rsp)
movl   $0x2,0x24(%rsp)
movl   $0x0,0x2c(%rsp)
movl   $0x1,0x30(%rsp)
mov    %ebp,%r13d
movslq %r14d,%rax
mov    (%r12,%rax,8),%rbp
mov    %rbp,%rdi
call   1090 <strlen@plt>
cmp    $0x1,%eax
jle    1691 <main+0x451>
cmpb   $0x2d,0x0(%rbp)
jne    16a2 <main+0x462>
mov    %rbp,%rdi
lea    0xd52(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     1685 <main+0x445>
mov    %rbp,%rdi
lea    0xd45(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     1685 <main+0x445>
mov    %rbp,%rdi
lea    0xd31(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     17e6 <main+0x5a6>
mov    %rbp,%rdi
lea    0xd21(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     17e6 <main+0x5a6>
mov    %ebx,0x1c(%rsp)
lea    0x1(%r14),%r15d
mov    %rbp,%rdi
lea    0xd05(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     1430 <main+0x1f0>
mov    %rbp,%rdi
lea    0xcf5(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
mov    0x18(%rsp),%ebx
je     147e <main+0x23e>
mov    %rbp,%rdi
lea    0xcde(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     14c5 <main+0x285>
mov    %rbp,%rdi
lea    0xccb(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     14cf <main+0x28f>
mov    %rbp,%rdi
lea    0xcb8(%rip),%rsi
call   10f0 <strcmp@plt>
test   %eax,%eax
je     14dc <main+0x29c>
movsbl 0x1(%rbp),%eax
add    $0xffffff9b,%eax
cmp    $0x14,%eax
ja     1565 <main+0x325>
mov    $0x1,%ebp
lea    0xc11(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
cmp    %ebx,%r15d
je     1899 <main+0x659>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
cmp    $0xa,%eax
jae    18aa <main+0x66a>
add    $0x2,%r14d
mov    %eax,%edi
call   1030 <getmetric@plt>
mov    %rax,0x50(%rsp)
jmp    1504 <main+0x2c4>
nopl   0x0(%rax,%rax,1)
mov    0x18(%rsp),%ebx
cmp    %ebx,%r15d
je     16b3 <main+0x473>
movslq %r15d,%rbp
mov    (%r12,%rbp,8),%rdi
call   1090 <strlen@plt>
cmp    $0x1,%eax
jg     16b3 <main+0x473>
mov    (%r12,%rbp,8),%rax
movsbl (%rax),%esi
lea    0xc0f(%rip),%rdi
call   10a0 <strchr@plt>
test   %eax,%eax
je     16b3 <main+0x473>
mov    (%r12,%rbp,8),%rax
movzbl (%rax),%eax
mov    %rax,0x60(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     17fe <main+0x5be>
movslq %r15d,%rbp
mov    (%r12,%rbp,8),%rdi
call   1090 <strlen@plt>
cmp    $0x1,%eax
jg     17fe <main+0x5be>
mov    (%r12,%rbp,8),%rax
movsbl (%rax),%esi
lea    0xbc5(%rip),%rdi
call   10a0 <strchr@plt>
test   %eax,%eax
je     17fe <main+0x5be>
mov    (%r12,%rbp,8),%rax
movzbl (%rax),%eax
mov    %rax,0x58(%rsp)
jmp    1500 <main+0x2c0>
movl   $0x1,0x3c(%rsp)
jmp    14d7 <main+0x297>
movl   $0x1,0x1c(%rsp)
mov    %r13d,%ebp
jmp    150a <main+0x2ca>
cmp    %ebx,%r15d
je     181a <main+0x5da>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
test   %eax,%eax
jle    1828 <main+0x5e8>
mov    %eax,0x38(%rsp)
nopl   (%rax)
add    $0x2,%r14d
mov    %r13d,%ebp
mov    %r14d,%r15d
mov    %r15d,%r14d
cmp    %ebx,%r15d
mov    0x1c(%rsp),%ebx
jl     12d3 <main+0x93>
jmp    16c4 <main+0x484>
cmp    %ebx,%r15d
je     18bb <main+0x67b>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rax
mov    %rax,0x48(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     18cc <main+0x68c>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
cmp    $0xa,%eax
jae    18dd <main+0x69d>
add    $0x2,%r14d
mov    %eax,%edi
call   1030 <getmetric@plt>
mov    %al,0x17(%rsp)
jmp    1504 <main+0x2c4>
lea    0xfc7(%rip),%rdi
call   1060 <puts@plt>
jmp    14d7 <main+0x297>
cmp    %ebx,%r15d
je     18ee <main+0x6ae>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
test   %eax,%eax
jle    18ff <main+0x6bf>
mov    %eax,0x34(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     185d <main+0x61d>
movslq %r15d,%rbp
mov    (%r12,%rbp,8),%rdi
call   1090 <strlen@plt>
cmp    $0x1,%eax
jg     185d <main+0x61d>
mov    (%r12,%rbp,8),%rax
movsbl (%rax),%esi
lea    0xabb(%rip),%rdi
call   10a0 <strchr@plt>
test   %eax,%eax
je     185d <main+0x61d>
mov    (%r12,%rbp,8),%rax
movzbl (%rax),%eax
mov    %al,0x16(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     1910 <main+0x6d0>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
test   %eax,%eax
jle    1921 <main+0x6e1>
mov    %eax,0x30(%rsp)
jmp    1500 <main+0x2c0>
movl   $0x1,0x2c(%rsp)
jmp    14d7 <main+0x297>
cmp    %ebx,%r15d
je     1932 <main+0x6f2>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
xor    %esi,%esi
call   10e0 <setjobname@plt>
mov    %rax,0x40(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     1943 <main+0x703>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
test   %eax,%eax
jle    1954 <main+0x714>
mov    %eax,0x24(%rsp)
jmp    1500 <main+0x2c0>
cmp    %ebx,%r15d
je     1965 <main+0x725>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
call   1160 <readnumber@plt>
test   %eax,%eax
jle    1976 <main+0x736>
mov    %eax,0x28(%rsp)
jmp    1500 <main+0x2c0>
xor    %eax,%eax
call   1080 <display_version@plt>
jmp    17ed <main+0x5ad>
lea    0xec2(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xe99(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x9e0(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
mov    0x17(%rsp),%r15b
mov    %r15d,%eax
mov    0x50(%rsp),%r13
or     %r13b,%al
je     17ed <main+0x5ad>
mov    0x48(%rsp),%r12
test   %r12,%r12
je     17e6 <main+0x5a6>
mov    %r12,%rdi
call   1140 <load@plt>
xor    %eax,%eax
call   1150 <GetRows@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1110 <GetColumns@plt>
test   %ebx,%ebx
je     180c <main+0x5cc>
test   %eax,%eax
je     180c <main+0x5cc>
mov    %ebx,0x18(%rsp)
mov    %eax,0x20(%rsp)
test   %ebp,%ebp
je     1723 <main+0x4e3>
xor    %eax,%eax
call   10c0 <LogTransform@plt>
movsbl 0x60(%rsp),%eax
cmp    $0x6d,%eax
mov    0x40(%rsp),%rbx
mov    0x3c(%rsp),%ebp
je     1749 <main+0x509>
cmp    $0x61,%eax
jne    1757 <main+0x517>
mov    $0x1,%edi
xor    %esi,%esi
mov    %ebp,%edx
call   1120 <AdjustGenes@plt>
xor    %edi,%edi
mov    $0x1,%esi
mov    %ebp,%edx
call   1120 <AdjustGenes@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    %ebp,%edx
call   1120 <AdjustGenes@plt>
movsbl 0x58(%rsp),%eax
cmp    $0x6d,%eax
je     1785 <main+0x545>
cmp    $0x61,%eax
mov    0x1c(%rsp),%r14d
jne    1799 <main+0x559>
mov    $0x1,%edi
xor    %esi,%esi
mov    %r14d,%edx
call   1050 <AdjustArrays@plt>
xor    %edi,%edi
mov    $0x1,%esi
mov    0x1c(%rsp),%r14d
mov    %r14d,%edx
call   1050 <AdjustArrays@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    %r14d,%edx
call   1050 <AdjustArrays@plt>
test   %rbx,%rbx
jne    17ba <main+0x57a>
mov    %r12,%rdi
mov    $0x1,%esi
call   10e0 <setjobname@plt>
mov    %rax,%rbx
mov    0x34(%rsp),%edx
test   %edx,%edx
mov    0x18(%rsp),%r8d
jle    1836 <main+0x5f6>
mov    %rbx,(%rsp)
movsbl %r15b,%edi
movsbl %r13b,%esi
mov    0x30(%rsp),%ecx
mov    0x20(%rsp),%r9d
call   10d0 <KMeans@plt>
jmp    1885 <main+0x645>
xor    %eax,%eax
call   10b0 <display_help@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x8bc(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x875(%rip),%rdi
call   1060 <puts@plt>
jmp    188d <main+0x64d>
lea    0x910(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x8b9(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
cmpl   $0x0,0x2c(%rsp)
je     186b <main+0x62b>
mov    %rbx,(%rsp)
movsbl %r15b,%edi
movsbl %r13b,%esi
mov    0x24(%rsp),%edx
mov    0x28(%rsp),%ecx
mov    0x20(%rsp),%r9d
call   1070 <SOM@plt>
jmp    1885 <main+0x645>
lea    0xb05(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
movsbl %r15b,%edi
movsbl %r13b,%esi
movsbl 0x16(%rsp),%edx
mov    %rbx,%rcx
mov    0x38(%rsp),%r8d
call   1100 <HierarchicalPartition@plt>
mov    %rbx,%rdi
call   1040 <free@plt>
xor    %eax,%eax
call   1130 <Free@plt>
jmp    17ed <main+0x5ad>
lea    0xb5b(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xaff(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xbf6(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xbac(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xb50(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x93d(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x8e6(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x89c(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x845(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0xbbd(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x9e6(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x98f(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x945(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>
lea    0x8ee(%rip),%rdi
call   1060 <puts@plt>
jmp    17ed <main+0x5ad>

LLVM IR (-O0):
@.str = [25 x i8] c"ERROR: missing argument\0A\00"
@.str.1 = [25 x i8] c"ERROR: unknown argument\0A\00"
@.str.2 = [10 x i8] c"--version\00"
@.str.3 = [3 x i8] c"-v\00"
@.str.4 = [7 x i8] c"--help\00"
@.str.5 = [3 x i8] c"-h\00"
@.str.6 = [4 x i8] c"-cg\00"
@.str.7 = [3 x i8] c"am\00"
@.str.8 = [40 x i8] c"Error reading command line argument cg\0A\00"
@.str.9 = [4 x i8] c"-ca\00"
@.str.10 = [40 x i8] c"Error reading command line argument ca\0A\00"
@.str.11 = [4 x i8] c"-ng\00"
@.str.12 = [4 x i8] c"-na\00"
@.str.13 = [5 x i8] c"-cut\00"
@.str.14 = [61 x i8] c"Error reading command line argument minK: parameter missing\0A\00"
@.str.15 = [74 x i8] c"Error reading command line argument mink: a positive integer is required\0A\00"
@.str.16 = [62 x i8] c"Error reading command line argument u: no job name specified\0A\00"
@.str.17 = [63 x i8] c"Error reading command line argument f: no file name specified\0A\00"
@.str.18 = [58 x i8] c"Error reading command line argument g: parameter missing\0A\00"
@.str.19 = [76 x i8] c"Error reading command line argument g: should be between 0 and 9 inclusive\0A\00"
@.str.20 = [58 x i8] c"Error reading command line argument e: parameter missing\0A\00"
@.str.21 = [76 x i8] c"Error reading command line argument e: should be between 0 and 9 inclusive\0A\00"
@.str.22 = [5 x i8] c"msca\00"
@.str.23 = [72 x i8] c"Error reading command line argument m: should be 'm', 's', 'c', or 'a'\0A\00"
@.str.24 = [58 x i8] c"Error reading command line argument x: parameter missing\0A\00"
@.str.25 = [71 x i8] c"Error reading command line argument x: a positive integer is required\0A\00"
@.str.26 = [58 x i8] c"Error reading command line argument y: parameter missing\0A\00"
@.str.27 = [71 x i8] c"Error reading command line argument y: a positive integer is required\0A\00"
@.str.28 = [58 x i8] c"Error reading command line argument k: parameter missing\0A\00"
@.str.29 = [71 x i8] c"Error reading command line argument k: a positive integer is required\0A\00"
@.str.30 = [58 x i8] c"Error reading command line argument r: parameter missing\0A\00"
@.str.31 = [71 x i8] c"Error reading command line argument r: a positive integer is required\0A\00"
@.str.32 = [16 x i8] c"Unknown option\0A\00"
@.str.33 = [19 x i8] c"No data available\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i8
%18 = alloca i8
%19 = alloca i8
%20 = alloca i8
%21 = alloca i8
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i8*
%27 = alloca i32
%28 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %6
store i8* null, i8** %7
store i8* null, i8** %8
store i32 0, i32* %9
store i32 0, i32* %10
store i32 1, i32* %11
store i32 0, i32* %12
store i32 2, i32* %13
store i32 1, i32* %14
store i8 117, i8* %17
store i8 0, i8* %18
store i8 109, i8* %19
store i8 0, i8* %20
store i8 0, i8* %21
store i32 0, i32* %22
store i32 0, i32* %23
store i32 2, i32* %24
store i32 2, i32* %25
br label %29
29: ; preds = %386, %181, %159, %154, %140, %102, %2
%30 = load i32, i32* %6
%31 = load i32, i32* %4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %387
33: ; preds = %29
%34 = load i8**, i8*** %5
%35 = load i32, i32* %6
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8*, i8** %34, i64 %36
%38 = load i8*, i8** %37
store i8* %38, i8** %26
%39 = load i32, i32* %6
%40 = add nsw i32 %39, 1
store i32 %40, i32* %6
%41 = load i8*, i8** %26
%42 = call i32 @strlen(i8* %41)
%43 = icmp slt i32 %42, 2
br i1 %43, label %44, label %46
44: ; preds = %33
%45 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %486
46: ; preds = %33
%47 = load i8*, i8** %26
%48 = getelementptr inbounds i8, i8* %47, i64 0
%49 = load i8, i8* %48
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 45
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %486
54: ; preds = %46
%55 = load i8*, i8** %26
%56 = call i32 @strcmp(i8* %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load i8*, i8** %26
%60 = call i32 @strcmp(i8* %59, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%61 = icmp ne i32 %60, 0
br i1 %61, label %64, label %62
62: ; preds = %58, %54
%63 = call i32 (...) @display_version()
store i32 0, i32* %3
br label %486
64: ; preds = %58
%65 = load i8*, i8** %26
%66 = call i32 @strcmp(i8* %65, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %64
%69 = load i8*, i8** %26
%70 = call i32 @strcmp(i8* %69, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%71 = icmp ne i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %68, %64
%73 = call i32 (...) @display_help()
store i32 0, i32* %3
br label %486
74: ; preds = %68
%75 = load i8*, i8** %26
%76 = call i32 @strcmp(i8* %75, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%77 = icmp ne i32 %76, 0
br i1 %77, label %112, label %78
78: ; preds = %74
%79 = load i32, i32* %6
%80 = load i32, i32* %4
%81 = icmp eq i32 %79, %80
br i1 %81, label %100, label %82
82: ; preds = %78
%83 = load i8**, i8*** %5
%84 = load i32, i32* %6
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8*, i8** %83, i64 %85
%87 = load i8*, i8** %86
%88 = call i32 @strlen(i8* %87)
%89 = icmp sgt i32 %88, 1
br i1 %89, label %100, label %90
90: ; preds = %82
%91 = load i8**, i8*** %5
%92 = load i32, i32* %6
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8*, i8** %91, i64 %93
%95 = load i8*, i8** %94
%96 = getelementptr inbounds i8, i8* %95, i64 0
%97 = load i8, i8* %96
%98 = call i32 @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8 signext %97)
%99 = icmp ne i32 %98, 0
br i1 %99, label %102, label %100
100: ; preds = %90, %82, %78
%101 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %3
br label %486
102: ; preds = %90
%103 = load i8**, i8*** %5
%104 = load i32, i32* %6
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8*, i8** %103, i64 %105
%107 = load i8*, i8** %106
%108 = getelementptr inbounds i8, i8* %107, i64 0
%109 = load i8, i8* %108
store i8 %109, i8* %20
%110 = load i32, i32* %6
%111 = add nsw i32 %110, 1
store i32 %111, i32* %6
br label %29
112: ; preds = %74
%113 = load i8*, i8** %26
%114 = call i32 @strcmp(i8* %113, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%115 = icmp ne i32 %114, 0
br i1 %115, label %150, label %116
116: ; preds = %112
%117 = load i32, i32* %6
%118 = load i32, i32* %4
%119 = icmp eq i32 %117, %118
br i1 %119, label %138, label %120
120: ; preds = %116
%121 = load i8**, i8*** %5
%122 = load i32, i32* %6
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8*, i8** %121, i64 %123
%125 = load i8*, i8** %124
%126 = call i32 @strlen(i8* %125)
%127 = icmp sgt i32 %126, 1
br i1 %127, label %138, label %128
128: ; preds = %120
%129 = load i8**, i8*** %5
%130 = load i32, i32* %6
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8*, i8** %129, i64 %131
%133 = load i8*, i8** %132
%134 = getelementptr inbounds i8, i8* %133, i64 0
%135 = load i8, i8* %134
%136 = call i32 @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8 signext %135)
%137 = icmp ne i32 %136, 0
br i1 %137, label %140, label %138
138: ; preds = %128, %120, %116
%139 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %3
br label %486
140: ; preds = %128
%141 = load i8**, i8*** %5
%142 = load i32, i32* %6
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i8*, i8** %141, i64 %143
%145 = load i8*, i8** %144
%146 = getelementptr inbounds i8, i8* %145, i64 0
%147 = load i8, i8* %146
store i8 %147, i8* %21
%148 = load i32, i32* %6
%149 = add nsw i32 %148, 1
store i32 %149, i32* %6
br label %29
150: ; preds = %112
%151 = load i8*, i8** %26
%152 = call i32 @strcmp(i8* %151, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%153 = icmp ne i32 %152, 0
br i1 %153, label %155, label %154
154: ; preds = %150
store i32 1, i32* %22
br label %29
155: ; preds = %150
%156 = load i8*, i8** %26
%157 = call i32 @strcmp(i8* %156, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%158 = icmp ne i32 %157, 0
br i1 %158, label %160, label %159
159: ; preds = %155
store i32 1, i32* %23
br label %29
160: ; preds = %155
%161 = load i8*, i8** %26
%162 = call i32 @strcmp(i8* %161, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%163 = icmp ne i32 %162, 0
br i1 %163, label %184, label %164
164: ; preds = %160
%165 = load i32, i32* %6
%166 = load i32, i32* %4
%167 = icmp eq i32 %165, %166
br i1 %167, label %168, label %170
168: ; preds = %164
%169 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.14, i64 0, i64 0))
store i32 0, i32* %3
br label %486
170: ; preds = %164
%171 = load i8**, i8*** %5
%172 = load i32, i32* %6
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i8*, i8** %171, i64 %173
%175 = load i8*, i8** %174
%176 = call i32 @readnumber(i8* %175)
store i32 %176, i32* %24
%177 = load i32, i32* %24
%178 = icmp slt i32 %177, 1
br i1 %178, label %179, label %181
179: ; preds = %170
%180 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.15, i64 0, i64 0))
store i32 0, i32* %3
br label %486
181: ; preds = %170
%182 = load i32, i32* %6
%183 = add nsw i32 %182, 1
store i32 %183, i32* %6
br label %29
184: ; preds = %160
%185 = load i8*, i8** %26
%186 = getelementptr inbounds i8, i8* %185, i64 1
%187 = load i8, i8* %186
%188 = sext i8 %187 to i32
switch i32 %188, label %384 [
i32 108, label %189
i32 117, label %190
i32 102, label %205
i32 103, label %219
i32 101, label %244
i32 109, label %269
i32 115, label %303
i32 120, label %304
i32 121, label %324
i32 107, label %344
i32 114, label %364
]
189: ; preds = %184
store i32 1, i32* %9
br label %386
190: ; preds = %184
%191 = load i32, i32* %6
%192 = load i32, i32* %4
%193 = icmp eq i32 %191, %192
br i1 %193, label %194, label %196
194: ; preds = %190
%195 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.16, i64 0, i64 0))
store i32 0, i32* %3
br label %486
196: ; preds = %190
%197 = load i8**, i8*** %5
%198 = load i32, i32* %6
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds i8*, i8** %197, i64 %199
%201 = load i8*, i8** %200
%202 = call i8* @setjobname(i8* %201, i32 0)
store i8* %202, i8** %8
%203 = load i32, i32* %6
%204 = add nsw i32 %203, 1
store i32 %204, i32* %6
br label %386
205: ; preds = %184
%206 = load i32, i32* %6
%207 = load i32, i32* %4
%208 = icmp eq i32 %206, %207
br i1 %208, label %209, label %211
209: ; preds = %205
%210 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
store i32 0, i32* %3
br label %486
211: ; preds = %205
%212 = load i8**, i8*** %5
%213 = load i32, i32* %6
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds i8*, i8** %212, i64 %214
%216 = load i8*, i8** %215
store i8* %216, i8** %7
%217 = load i32, i32* %6
%218 = add nsw i32 %217, 1
store i32 %218, i32* %6
br label %386
219: ; preds = %184
%220 = load i32, i32* %6
%221 = load i32, i32* %4
%222 = icmp eq i32 %220, %221
br i1 %222, label %223, label %225
223: ; preds = %219
%224 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.18, i64 0, i64 0))
store i32 0, i32* %3
br label %486
225: ; preds = %219
%226 = load i8**, i8*** %5
%227 = load i32, i32* %6
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds i8*, i8** %226, i64 %228
%230 = load i8*, i8** %229
%231 = call i32 @readnumber(i8* %230)
store i32 %231, i32* %27
%232 = load i32, i32* %27
%233 = icmp slt i32 %232, 0
br i1 %233, label %237, label %234
234: ; preds = %225
%235 = load i32, i32* %27
%236 = icmp sgt i32 %235, 9
br i1 %236, label %237, label %239
237: ; preds = %234, %225
%238 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.19, i64 0, i64 0))
store i32 0, i32* %3
br label %486
239: ; preds = %234
%240 = load i32, i32* %6
%241 = add nsw i32 %240, 1
store i32 %241, i32* %6
%242 = load i32, i32* %27
%243 = call signext i8 @getmetric(i32 %242)
store i8 %243, i8* %17
br label %386
244: ; preds = %184
%245 = load i32, i32* %6
%246 = load i32, i32* %4
%247 = icmp eq i32 %245, %246
br i1 %247, label %248, label %250
248: ; preds = %244
%249 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.20, i64 0, i64 0))
store i32 0, i32* %3
br label %486
250: ; preds = %244
%251 = load i8**, i8*** %5
%252 = load i32, i32* %6
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds i8*, i8** %251, i64 %253
%255 = load i8*, i8** %254
%256 = call i32 @readnumber(i8* %255)
store i32 %256, i32* %28
%257 = load i32, i32* %28
%258 = icmp slt i32 %257, 0
br i1 %258, label %262, label %259
259: ; preds = %250
%260 = load i32, i32* %28
%261 = icmp sgt i32 %260, 9
br i1 %261, label %262, label %264
262: ; preds = %259, %250
%263 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.21, i64 0, i64 0))
store i32 0, i32* %3
br label %486
264: ; preds = %259
%265 = load i32, i32* %6
%266 = add nsw i32 %265, 1
store i32 %266, i32* %6
%267 = load i32, i32* %28
%268 = call signext i8 @getmetric(i32 %267)
store i8 %268, i8* %18
br label %386
269: ; preds = %184
%270 = load i32, i32* %6
%271 = load i32, i32* %4
%272 = icmp eq i32 %270, %271
br i1 %272, label %291, label %273
273: ; preds = %269
%274 = load i8**, i8*** %5
%275 = load i32, i32* %6
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds i8*, i8** %274, i64 %276
%278 = load i8*, i8** %277
%279 = call i32 @strlen(i8* %278)
%280 = icmp sgt i32 %279, 1
br i1 %280, label %291, label %281
281: ; preds = %273
%282 = load i8**, i8*** %5
%283 = load i32, i32* %6
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds i8*, i8** %282, i64 %284
%286 = load i8*, i8** %285
%287 = getelementptr inbounds i8, i8* %286, i64 0
%288 = load i8, i8* %287
%289 = call i32 @strchr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i8 signext %288)
%290 = icmp ne i32 %289, 0
br i1 %290, label %293, label %291
291: ; preds = %281, %273, %269
%292 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.23, i64 0, i64 0))
store i32 0, i32* %3
br label %486
293: ; preds = %281
%294 = load i8**, i8*** %5
%295 = load i32, i32* %6
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds i8*, i8** %294, i64 %296
%298 = load i8*, i8** %297
%299 = getelementptr inbounds i8, i8* %298, i64 0
%300 = load i8, i8* %299
store i8 %300, i8* %19
%301 = load i32, i32* %6
%302 = add nsw i32 %301, 1
store i32 %302, i32* %6
br label %386
303: ; preds = %184
store i32 1, i32* %12
br label %386
304: ; preds = %184
%305 = load i32, i32* %6
%306 = load i32, i32* %4
%307 = icmp eq i32 %305, %306
br i1 %307, label %308, label %310
308: ; preds = %304
%309 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.24, i64 0, i64 0))
store i32 0, i32* %3
br label %486
310: ; preds = %304
%311 = load i8**, i8*** %5
%312 = load i32, i32* %6
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds i8*, i8** %311, i64 %313
%315 = load i8*, i8** %314
%316 = call i32 @readnumber(i8* %315)
store i32 %316, i32* %13
%317 = load i32, i32* %13
%318 = icmp slt i32 %317, 1
br i1 %318, label %319, label %321
319: ; preds = %310
%320 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.25, i64 0, i64 0))
store i32 0, i32* %3
br label %486
321: ; preds = %310
%322 = load i32, i32* %6
%323 = add nsw i32 %322, 1
store i32 %323, i32* %6
br label %386
324: ; preds = %184
%325 = load i32, i32* %6
%326 = load i32, i32* %4
%327 = icmp eq i32 %325, %326
br i1 %327, label %328, label %330
328: ; preds = %324
%329 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.26, i64 0, i64 0))
store i32 0, i32* %3
br label %486
330: ; preds = %324
%331 = load i8**, i8*** %5
%332 = load i32, i32* %6
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds i8*, i8** %331, i64 %333
%335 = load i8*, i8** %334
%336 = call i32 @readnumber(i8* %335)
store i32 %336, i32* %14
%337 = load i32, i32* %14
%338 = icmp slt i32 %337, 1
br i1 %338, label %339, label %341
339: ; preds = %330
%340 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.27, i64 0, i64 0))
store i32 0, i32* %3
br label %486
341: ; preds = %330
%342 = load i32, i32* %6
%343 = add nsw i32 %342, 1
store i32 %343, i32* %6
br label %386
344: ; preds = %184
%345 = load i32, i32* %6
%346 = load i32, i32* %4
%347 = icmp eq i32 %345, %346
br i1 %347, label %348, label %350
348: ; preds = %344
%349 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.28, i64 0, i64 0))
store i32 0, i32* %3
br label %486
350: ; preds = %344
%351 = load i8**, i8*** %5
%352 = load i32, i32* %6
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds i8*, i8** %351, i64 %353
%355 = load i8*, i8** %354
%356 = call i32 @readnumber(i8* %355)
store i32 %356, i32* %10
%357 = load i32, i32* %10
%358 = icmp slt i32 %357, 1
br i1 %358, label %359, label %361
359: ; preds = %350
%360 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.29, i64 0, i64 0))
store i32 0, i32* %3
br label %486
361: ; preds = %350
%362 = load i32, i32* %6
%363 = add nsw i32 %362, 1
store i32 %363, i32* %6
br label %386
364: ; preds = %184
%365 = load i32, i32* %6
%366 = load i32, i32* %4
%367 = icmp eq i32 %365, %366
br i1 %367, label %368, label %370
368: ; preds = %364
%369 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0))
store i32 0, i32* %3
br label %486
370: ; preds = %364
%371 = load i8**, i8*** %5
%372 = load i32, i32* %6
%373 = sext i32 %372 to i64
%374 = getelementptr inbounds i8*, i8** %371, i64 %373
%375 = load i8*, i8** %374
%376 = call i32 @readnumber(i8* %375)
store i32 %376, i32* %11
%377 = load i32, i32* %11
%378 = icmp slt i32 %377, 1
br i1 %378, label %379, label %381
379: ; preds = %370
%380 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.31, i64 0, i64 0))
store i32 0, i32* %3
br label %486
381: ; preds = %370
%382 = load i32, i32* %6
%383 = add nsw i32 %382, 1
store i32 %383, i32* %6
br label %386
384: ; preds = %184
%385 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.32, i64 0, i64 0))
br label %386
386: ; preds = %384, %381, %361, %341, %321, %303, %293, %264, %239, %211, %196, %189
br label %29
387: ; preds = %29
%388 = load i8, i8* %17
%389 = sext i8 %388 to i32
%390 = icmp eq i32 %389, 0
br i1 %390, label %391, label %396
391: ; preds = %387
%392 = load i8, i8* %18
%393 = sext i8 %392 to i32
%394 = icmp eq i32 %393, 0
br i1 %394, label %395, label %396
395: ; preds = %391
store i32 0, i32* %3
br label %486
396: ; preds = %391, %387
%397 = load i8*, i8** %7
%398 = icmp ne i8* %397, null
br i1 %398, label %399, label %402
399: ; preds = %396
%400 = load i8*, i8** %7
%401 = call i32 @load(i8* %400)
br label %404
402: ; preds = %396
%403 = call i32 (...) @display_help()
store i32 0, i32* %3
br label %486
404: ; preds = %399
%405 = call i32 (...) @GetRows()
store i32 %405, i32* %15
%406 = call i32 (...) @GetColumns()
store i32 %406, i32* %16
%407 = load i32, i32* %15
%408 = icmp eq i32 %407, 0
br i1 %408, label %412, label %409
409: ; preds = %404
%410 = load i32, i32* %16
%411 = icmp eq i32 %410, 0
br i1 %411, label %412, label %414
412: ; preds = %409, %404
%413 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.33, i64 0, i64 0))
br label %484
414: ; preds = %409
%415 = load i32, i32* %9
%416 = icmp ne i32 %415, 0
br i1 %416, label %417, label %419
417: ; preds = %414
%418 = call i32 (...) @LogTransform()
br label %419
419: ; preds = %417, %414
%420 = load i8, i8* %20
%421 = sext i8 %420 to i32
switch i32 %421, label %428 [
i32 97, label %422
i32 109, label %425
]
422: ; preds = %419
%423 = load i32, i32* %22
%424 = call i32 @AdjustGenes(i32 1, i32 0, i32 %423)
br label %425
425: ; preds = %419, %422
%426 = load i32, i32* %22
%427 = call i32 @AdjustGenes(i32 0, i32 1, i32 %426)
br label %428
428: ; preds = %419, %425
%429 = load i32, i32* %22
%430 = call i32 @AdjustGenes(i32 0, i32 0, i32 %429)
br label %431
431: ; preds = %428
%432 = load i8, i8* %21
%433 = sext i8 %432 to i32
switch i32 %433, label %440 [
i32 97, label %434
i32 109, label %437
]
434: ; preds = %431
%435 = load i32, i32* %23
%436 = call i32 @AdjustArrays(i32 1, i32 0, i32 %435)
br label %437
437: ; preds = %431, %434
%438 = load i32, i32* %23
%439 = call i32 @AdjustArrays(i32 0, i32 1, i32 %438)
br label %440
440: ; preds = %431, %437
%441 = load i32, i32* %23
%442 = call i32 @AdjustArrays(i32 0, i32 0, i32 %441)
br label %443
443: ; preds = %440
%444 = load i8*, i8** %8
%445 = icmp eq i8* %444, null
br i1 %445, label %446, label %449
446: ; preds = %443
%447 = load i8*, i8** %7
%448 = call i8* @setjobname(i8* %447, i32 1)
store i8* %448, i8** %8
br label %449
449: ; preds = %446, %443
%450 = load i32, i32* %10
%451 = icmp sgt i32 %450, 0
br i1 %451, label %452, label %461
452: ; preds = %449
%453 = load i8, i8* %17
%454 = load i8, i8* %18
%455 = load i32, i32* %10
%456 = load i32, i32* %11
%457 = load i32, i32* %15
%458 = load i32, i32* %16
%459 = load i8*, i8** %8
%460 = call i32 @KMeans(i8 signext %453, i8 signext %454, i32 %455, i32 %456, i32 %457, i32 %458, i8* %459)
br label %481
461: ; preds = %449
%462 = load i32, i32* %12
%463 = icmp ne i32 %462, 0
br i1 %463, label %464, label %473
464: ; preds = %461
%465 = load i8, i8* %17
%466 = load i8, i8* %18
%467 = load i32, i32* %13
%468 = load i32, i32* %14
%469 = load i32, i32* %15
%470 = load i32, i32* %16
%471 = load i8*, i8** %8
%472 = call i32 @SOM(i8 signext %465, i8 signext %466, i32 %467, i32 %468, i32 %469, i32 %470, i8* %471)
br label %480
473: ; preds = %461
%474 = load i8, i8* %17
%475 = load i8, i8* %18
%476 = load i8, i8* %19
%477 = load i8*, i8** %8
%478 = load i32, i32* %24
%479 = call i32 @HierarchicalPartition(i8 signext %474, i8 signext %475, i8 signext %476, i8* %477, i32 %478)
br label %480
480: ; preds = %473, %464
br label %481
481: ; preds = %480, %452
%482 = load i8*, i8** %8
%483 = call i32 @free(i8* %482)
br label %484
484: ; preds = %481, %412
%485 = call i32 (...) @Free()
store i32 0, i32* %3
br label %486
486: ; preds = %484, %402, %395, %379, %368, %359, %348, %339, %328, %319, %308, %291, %262, %248, %237, %223, %209, %194, %179, %168, %138, %100, %72, %62, %52, %44
%487 = load i32, i32* %3
ret i32 %487
}

LLVM IR (-O2):
@.str.2 = [10 x i8] c"--version\00"
@.str.3 = [3 x i8] c"-v\00"
@.str.4 = [7 x i8] c"--help\00"
@.str.5 = [3 x i8] c"-h\00"
@.str.6 = [4 x i8] c"-cg\00"
@.str.7 = [3 x i8] c"am\00"
@.str.9 = [4 x i8] c"-ca\00"
@.str.11 = [4 x i8] c"-ng\00"
@.str.12 = [4 x i8] c"-na\00"
@.str.13 = [5 x i8] c"-cut\00"
@.str.22 = [5 x i8] c"msca\00"
@str = [18 x i8] c"No data available\00"
@str.34 = [39 x i8] c"Error reading command line argument cg\00"
@str.35 = [39 x i8] c"Error reading command line argument ca\00"
@str.36 = [73 x i8] c"Error reading command line argument mink: a positive integer is required\00"
@str.37 = [60 x i8] c"Error reading command line argument minK: parameter missing\00"
@str.38 = [70 x i8] c"Error reading command line argument r: a positive integer is required\00"
@str.39 = [57 x i8] c"Error reading command line argument r: parameter missing\00"
@str.40 = [70 x i8] c"Error reading command line argument k: a positive integer is required\00"
@str.41 = [57 x i8] c"Error reading command line argument k: parameter missing\00"
@str.42 = [70 x i8] c"Error reading command line argument y: a positive integer is required\00"
@str.43 = [57 x i8] c"Error reading command line argument y: parameter missing\00"
@str.44 = [70 x i8] c"Error reading command line argument x: a positive integer is required\00"
@str.45 = [57 x i8] c"Error reading command line argument x: parameter missing\00"
@str.46 = [71 x i8] c"Error reading command line argument m: should be 'm', 's', 'c', or 'a'\00"
@str.47 = [75 x i8] c"Error reading command line argument e: should be between 0 and 9 inclusive\00"
@str.48 = [57 x i8] c"Error reading command line argument e: parameter missing\00"
@str.49 = [75 x i8] c"Error reading command line argument g: should be between 0 and 9 inclusive\00"
@str.50 = [57 x i8] c"Error reading command line argument g: parameter missing\00"
@str.51 = [62 x i8] c"Error reading command line argument f: no file name specified\00"
@str.52 = [61 x i8] c"Error reading command line argument u: no job name specified\00"
@str.53 = [15 x i8] c"Unknown option\00"
@str.54 = [24 x i8] c"ERROR: unknown argument\00"
@str.55 = [24 x i8] c"ERROR: missing argument\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp sgt i32 %0, 1
br i1 %3, label %4, label %281
4: ; preds = %2, %249
%5 = phi i32 [ %266, %249 ], [ 1, %2 ]
%6 = phi i8* [ %265, %249 ], [ null, %2 ]
%7 = phi i8* [ %264, %249 ], [ null, %2 ]
%8 = phi i32 [ %263, %249 ], [ 2, %2 ]
%9 = phi i32 [ %262, %249 ], [ 0, %2 ]
%10 = phi i32 [ %261, %249 ], [ 0, %2 ]
%11 = phi i8 [ %260, %249 ], [ 0, %2 ]
%12 = phi i8 [ %259, %249 ], [ 0, %2 ]
%13 = phi i8 [ %258, %249 ], [ 109, %2 ]
%14 = phi i8 [ %257, %249 ], [ 0, %2 ]
%15 = phi i8 [ %256, %249 ], [ 117, %2 ]
%16 = phi i32 [ %255, %249 ], [ 0, %2 ]
%17 = phi i32 [ %254, %249 ], [ 0, %2 ]
%18 = phi i32 [ %253, %249 ], [ 1, %2 ]
%19 = phi i32 [ %252, %249 ], [ 2, %2 ]
%20 = phi i32 [ %251, %249 ], [ 0, %2 ]
%21 = phi i32 [ %250, %249 ], [ 1, %2 ]
%22 = sext i32 %5 to i64
%23 = getelementptr inbounds i8*, i8** %1, i64 %22
%24 = load i8*, i8** %23
%25 = add nsw i32 %5, 1
%26 = tail call i32 @strlen(i8* %24)
%27 = icmp slt i32 %26, 2
br i1 %27, label %28, label %30
28: ; preds = %4
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.55, i64 0, i64 0))
br label %322
30: ; preds = %4
%31 = load i8, i8* %24
%32 = icmp eq i8 %31, 45
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.54, i64 0, i64 0))
br label %322
35: ; preds = %30
%36 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%37 = icmp eq i32 %36, 0
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38, %35
%42 = tail call i32 (...) @display_version()
br label %322
43: ; preds = %38
%44 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%45 = icmp eq i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %43
%47 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46, %43
%50 = tail call i32 (...) @display_help()
br label %322
51: ; preds = %46
%52 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %73
54: ; preds = %51
%55 = icmp eq i32 %25, %0
br i1 %55, label %67, label %56
56: ; preds = %54
%57 = sext i32 %25 to i64
%58 = getelementptr inbounds i8*, i8** %1, i64 %57
%59 = load i8*, i8** %58
%60 = tail call i32 @strlen(i8* %59)
%61 = icmp sgt i32 %60, 1
br i1 %61, label %67, label %62
62: ; preds = %56
%63 = load i8*, i8** %58
%64 = load i8, i8* %63
%65 = tail call i32 @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8 signext %64)
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %62, %56, %54
%68 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.34, i64 0, i64 0))
br label %322
69: ; preds = %62
%70 = load i8*, i8** %58
%71 = load i8, i8* %70
%72 = add nsw i32 %5, 2
br label %249
73: ; preds = %51
%74 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %95
76: ; preds = %73
%77 = icmp eq i32 %25, %0
br i1 %77, label %89, label %78
78: ; preds = %76
%79 = sext i32 %25 to i64
%80 = getelementptr inbounds i8*, i8** %1, i64 %79
%81 = load i8*, i8** %80
%82 = tail call i32 @strlen(i8* %81)
%83 = icmp sgt i32 %82, 1
br i1 %83, label %89, label %84
84: ; preds = %78
%85 = load i8*, i8** %80
%86 = load i8, i8* %85
%87 = tail call i32 @strchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8 signext %86)
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %84, %78, %76
%90 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.35, i64 0, i64 0))
br label %322
91: ; preds = %84
%92 = load i8*, i8** %80
%93 = load i8, i8* %92
%94 = add nsw i32 %5, 2
br label %249
95: ; preds = %73
%96 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%97 = icmp eq i32 %96, 0
br i1 %97, label %249, label %98
98: ; preds = %95
%99 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%100 = icmp eq i32 %99, 0
br i1 %100, label %249, label %101
101: ; preds = %98
%102 = tail call i32 @strcmp(i8* %24, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %118
104: ; preds = %101
%105 = icmp eq i32 %25, %0
br i1 %105, label %106, label %108
106: ; preds = %104
%107 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.37, i64 0, i64 0))
br label %322
108: ; preds = %104
%109 = sext i32 %25 to i64
%110 = getelementptr inbounds i8*, i8** %1, i64 %109
%111 = load i8*, i8** %110
%112 = tail call i32 @readnumber(i8* %111)
%113 = icmp slt i32 %112, 1
br i1 %113, label %114, label %116
114: ; preds = %108
%115 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.36, i64 0, i64 0))
br label %322
116: ; preds = %108
%117 = add nsw i32 %5, 2
br label %249
118: ; preds = %101
%119 = getelementptr inbounds i8, i8* %24, i64 1
%120 = load i8, i8* %119
%121 = sext i8 %120 to i32
switch i32 %121, label %247 [
i32 108, label %249
i32 117, label %122
i32 102, label %132
i32 103, label %141
i32 101, label %156
i32 109, label %171
i32 115, label %190
i32 120, label %191
i32 121, label %205
i32 107, label %219
i32 114, label %233
]
122: ; preds = %118
%123 = icmp eq i32 %25, %0
br i1 %123, label %124, label %126
124: ; preds = %122
%125 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.52, i64 0, i64 0))
br label %322
126: ; preds = %122
%127 = sext i32 %25 to i64
%128 = getelementptr inbounds i8*, i8** %1, i64 %127
%129 = load i8*, i8** %128
%130 = tail call i8* @setjobname(i8* %129, i32 0)
%131 = add nsw i32 %5, 2
br label %249
132: ; preds = %118
%133 = icmp eq i32 %25, %0
br i1 %133, label %134, label %136
134: ; preds = %132
%135 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.51, i64 0, i64 0))
br label %322
136: ; preds = %132
%137 = sext i32 %25 to i64
%138 = getelementptr inbounds i8*, i8** %1, i64 %137
%139 = load i8*, i8** %138
%140 = add nsw i32 %5, 2
br label %249
141: ; preds = %118
%142 = icmp eq i32 %25, %0
br i1 %142, label %143, label %145
143: ; preds = %141
%144 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.50, i64 0, i64 0))
br label %322
145: ; preds = %141
%146 = sext i32 %25 to i64
%147 = getelementptr inbounds i8*, i8** %1, i64 %146
%148 = load i8*, i8** %147
%149 = tail call i32 @readnumber(i8* %148)
%150 = icmp ugt i32 %149, 9
br i1 %150, label %151, label %153
151: ; preds = %145
%152 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.49, i64 0, i64 0))
br label %322
153: ; preds = %145
%154 = add nsw i32 %5, 2
%155 = tail call signext i8 @getmetric(i32 %149)
br label %249
156: ; preds = %118
%157 = icmp eq i32 %25, %0
br i1 %157, label %158, label %160
158: ; preds = %156
%159 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.48, i64 0, i64 0))
br label %322
160: ; preds = %156
%161 = sext i32 %25 to i64
%162 = getelementptr inbounds i8*, i8** %1, i64 %161
%163 = load i8*, i8** %162
%164 = tail call i32 @readnumber(i8* %163)
%165 = icmp ugt i32 %164, 9
br i1 %165, label %166, label %168
166: ; preds = %160
%167 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.47, i64 0, i64 0))
br label %322
168: ; preds = %160
%169 = add nsw i32 %5, 2
%170 = tail call signext i8 @getmetric(i32 %164)
br label %249
171: ; preds = %118
%172 = icmp eq i32 %25, %0
br i1 %172, label %184, label %173
173: ; preds = %171
%174 = sext i32 %25 to i64
%175 = getelementptr inbounds i8*, i8** %1, i64 %174
%176 = load i8*, i8** %175
%177 = tail call i32 @strlen(i8* %176)
%178 = icmp sgt i32 %177, 1
br i1 %178, label %184, label %179
179: ; preds = %173
%180 = load i8*, i8** %175
%181 = load i8, i8* %180
%182 = tail call i32 @strchr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i8 signext %181)
%183 = icmp eq i32 %182, 0
br i1 %183, label %184, label %186
184: ; preds = %179, %173, %171
%185 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.46, i64 0, i64 0))
br label %322
186: ; preds = %179
%187 = load i8*, i8** %175
%188 = load i8, i8* %187
%189 = add nsw i32 %5, 2
br label %249
190: ; preds = %118
br label %249
191: ; preds = %118
%192 = icmp eq i32 %25, %0
br i1 %192, label %193, label %195
193: ; preds = %191
%194 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.45, i64 0, i64 0))
br label %322
195: ; preds = %191
%196 = sext i32 %25 to i64
%197 = getelementptr inbounds i8*, i8** %1, i64 %196
%198 = load i8*, i8** %197
%199 = tail call i32 @readnumber(i8* %198)
%200 = icmp slt i32 %199, 1
br i1 %200, label %201, label %203
201: ; preds = %195
%202 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.44, i64 0, i64 0))
br label %322
203: ; preds = %195
%204 = add nsw i32 %5, 2
br label %249
205: ; preds = %118
%206 = icmp eq i32 %25, %0
br i1 %206, label %207, label %209
207: ; preds = %205
%208 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.43, i64 0, i64 0))
br label %322
209: ; preds = %205
%210 = sext i32 %25 to i64
%211 = getelementptr inbounds i8*, i8** %1, i64 %210
%212 = load i8*, i8** %211
%213 = tail call i32 @readnumber(i8* %212)
%214 = icmp slt i32 %213, 1
br i1 %214, label %215, label %217
215: ; preds = %209
%216 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.42, i64 0, i64 0))
br label %322
217: ; preds = %209
%218 = add nsw i32 %5, 2
br label %249
219: ; preds = %118
%220 = icmp eq i32 %25, %0
br i1 %220, label %221, label %223
221: ; preds = %219
%222 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.41, i64 0, i64 0))
br label %322
223: ; preds = %219
%224 = sext i32 %25 to i64
%225 = getelementptr inbounds i8*, i8** %1, i64 %224
%226 = load i8*, i8** %225
%227 = tail call i32 @readnumber(i8* %226)
%228 = icmp slt i32 %227, 1
br i1 %228, label %229, label %231
229: ; preds = %223
%230 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.40, i64 0, i64 0))
br label %322
231: ; preds = %223
%232 = add nsw i32 %5, 2
br label %249
233: ; preds = %118
%234 = icmp eq i32 %25, %0
br i1 %234, label %235, label %237
235: ; preds = %233
%236 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.39, i64 0, i64 0))
br label %322
237: ; preds = %233
%238 = sext i32 %25 to i64
%239 = getelementptr inbounds i8*, i8** %1, i64 %238
%240 = load i8*, i8** %239
%241 = tail call i32 @readnumber(i8* %240)
%242 = icmp slt i32 %241, 1
br i1 %242, label %243, label %245
243: ; preds = %237
%244 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.38, i64 0, i64 0))
br label %322
245: ; preds = %237
%246 = add nsw i32 %5, 2
br label %249
247: ; preds = %118
%248 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.53, i64 0, i64 0))
br label %249
249: ; preds = %126, %136, %186, %190, %203, %217, %231, %245, %247, %118, %153, %168, %98, %95, %116, %91, %69
%250 = phi i32 [ %21, %116 ], [ %21, %91 ], [ %21, %69 ], [ %21, %95 ], [ %21, %98 ], [ %21, %247 ], [ %241, %245 ], [ %21, %231 ], [ %21, %217 ], [ %21, %203 ], [ %21, %190 ], [ %21, %186 ], [ %21, %168 ], [ %21, %153 ], [ %21, %136 ], [ %21, %126 ], [ %21, %118 ]
%251 = phi i32 [ %20, %116 ], [ %20, %91 ], [ %20, %69 ], [ %20, %95 ], [ %20, %98 ], [ %20, %247 ], [ %20, %245 ], [ %20, %231 ], [ %20, %217 ], [ %20, %203 ], [ 1, %190 ], [ %20, %186 ], [ %20, %168 ], [ %20, %153 ], [ %20, %136 ], [ %20, %126 ], [ %20, %118 ]
%252 = phi i32 [ %19, %116 ], [ %19, %91 ], [ %19, %69 ], [ %19, %95 ], [ %19, %98 ], [ %19, %247 ], [ %19, %245 ], [ %19, %231 ], [ %19, %217 ], [ %199, %203 ], [ %19, %190 ], [ %19, %186 ], [ %19, %168 ], [ %19, %153 ], [ %19, %136 ], [ %19, %126 ], [ %19, %118 ]
%253 = phi i32 [ %18, %116 ], [ %18, %91 ], [ %18, %69 ], [ %18, %95 ], [ %18, %98 ], [ %18, %247 ], [ %18, %245 ], [ %18, %231 ], [ %213, %217 ], [ %18, %203 ], [ %18, %190 ], [ %18, %186 ], [ %18, %168 ], [ %18, %153 ], [ %18, %136 ], [ %18, %126 ], [ %18, %118 ]
%254 = phi i32 [ %17, %116 ], [ %17, %91 ], [ %17, %69 ], [ %17, %95 ], [ %17, %98 ], [ %17, %247 ], [ %17, %245 ], [ %227, %231 ], [ %17, %217 ], [ %17, %203 ], [ %17, %190 ], [ %17, %186 ], [ %17, %168 ], [ %17, %153 ], [ %17, %136 ], [ %17, %126 ], [ %17, %118 ]
%255 = phi i32 [ %16, %116 ], [ %16, %91 ], [ %16, %69 ], [ %16, %95 ], [ %16, %98 ], [ %16, %247 ], [ %16, %245 ], [ %16, %231 ], [ %16, %217 ], [ %16, %203 ], [ %16, %190 ], [ %16, %186 ], [ %16, %168 ], [ %16, %153 ], [ %16, %136 ], [ %16, %126 ], [ 1, %118 ]
%256 = phi i8 [ %15, %116 ], [ %15, %91 ], [ %15, %69 ], [ %15, %95 ], [ %15, %98 ], [ %15, %247 ], [ %15, %245 ], [ %15, %231 ], [ %15, %217 ], [ %15, %203 ], [ %15, %190 ], [ %15, %186 ], [ %15, %168 ], [ %155, %153 ], [ %15, %136 ], [ %15, %126 ], [ %15, %118 ]
%257 = phi i8 [ %14, %116 ], [ %14, %91 ], [ %14, %69 ], [ %14, %95 ], [ %14, %98 ], [ %14, %247 ], [ %14, %245 ], [ %14, %231 ], [ %14, %217 ], [ %14, %203 ], [ %14, %190 ], [ %14, %186 ], [ %170, %168 ], [ %14, %153 ], [ %14, %136 ], [ %14, %126 ], [ %14, %118 ]
%258 = phi i8 [ %13, %116 ], [ %13, %91 ], [ %13, %69 ], [ %13, %95 ], [ %13, %98 ], [ %13, %247 ], [ %13, %245 ], [ %13, %231 ], [ %13, %217 ], [ %13, %203 ], [ %13, %190 ], [ %188, %186 ], [ %13, %168 ], [ %13, %153 ], [ %13, %136 ], [ %13, %126 ], [ %13, %118 ]
%259 = phi i8 [ %12, %116 ], [ %12, %91 ], [ %71, %69 ], [ %12, %95 ], [ %12, %98 ], [ %12, %247 ], [ %12, %245 ], [ %12, %231 ], [ %12, %217 ], [ %12, %203 ], [ %12, %190 ], [ %12, %186 ], [ %12, %168 ], [ %12, %153 ], [ %12, %136 ], [ %12, %126 ], [ %12, %118 ]
%260 = phi i8 [ %11, %116 ], [ %93, %91 ], [ %11, %69 ], [ %11, %95 ], [ %11, %98 ], [ %11, %247 ], [ %11, %245 ], [ %11, %231 ], [ %11, %217 ], [ %11, %203 ], [ %11, %190 ], [ %11, %186 ], [ %11, %168 ], [ %11, %153 ], [ %11, %136 ], [ %11, %126 ], [ %11, %118 ]
%261 = phi i32 [ %10, %116 ], [ %10, %91 ], [ %10, %69 ], [ 1, %95 ], [ %10, %98 ], [ %10, %247 ], [ %10, %245 ], [ %10, %231 ], [ %10, %217 ], [ %10, %203 ], [ %10, %190 ], [ %10, %186 ], [ %10, %168 ], [ %10, %153 ], [ %10, %136 ], [ %10, %126 ], [ %10, %118 ]
%262 = phi i32 [ %9, %116 ], [ %9, %91 ], [ %9, %69 ], [ %9, %95 ], [ 1, %98 ], [ %9, %247 ], [ %9, %245 ], [ %9, %231 ], [ %9, %217 ], [ %9, %203 ], [ %9, %190 ], [ %9, %186 ], [ %9, %168 ], [ %9, %153 ], [ %9, %136 ], [ %9, %126 ], [ %9, %118 ]
%263 = phi i32 [ %112, %116 ], [ %8, %91 ], [ %8, %69 ], [ %8, %95 ], [ %8, %98 ], [ %8, %247 ], [ %8, %245 ], [ %8, %231 ], [ %8, %217 ], [ %8, %203 ], [ %8, %190 ], [ %8, %186 ], [ %8, %168 ], [ %8, %153 ], [ %8, %136 ], [ %8, %126 ], [ %8, %118 ]
%264 = phi i8* [ %7, %116 ], [ %7, %91 ], [ %7, %69 ], [ %7, %95 ], [ %7, %98 ], [ %7, %247 ], [ %7, %245 ], [ %7, %231 ], [ %7, %217 ], [ %7, %203 ], [ %7, %190 ], [ %7, %186 ], [ %7, %168 ], [ %7, %153 ], [ %7, %136 ], [ %130, %126 ], [ %7, %118 ]
%265 = phi i8* [ %6, %116 ], [ %6, %91 ], [ %6, %69 ], [ %6, %95 ], [ %6, %98 ], [ %6, %247 ], [ %6, %245 ], [ %6, %231 ], [ %6, %217 ], [ %6, %203 ], [ %6, %190 ], [ %6, %186 ], [ %6, %168 ], [ %6, %153 ], [ %139, %136 ], [ %6, %126 ], [ %6, %118 ]
%266 = phi i32 [ %117, %116 ], [ %94, %91 ], [ %72, %69 ], [ %25, %95 ], [ %25, %98 ], [ %25, %247 ], [ %246, %245 ], [ %232, %231 ], [ %218, %217 ], [ %204, %203 ], [ %25, %190 ], [ %189, %186 ], [ %169, %168 ], [ %154, %153 ], [ %140, %136 ], [ %131, %126 ], [ %25, %118 ]
%267 = icmp slt i32 %266, %0
br i1 %267, label %4, label %268
268: ; preds = %249
%269 = icmp eq i8 %256, 0
%270 = icmp eq i8 %257, 0
%271 = select i1 %269, i1 %270, i1 false
br i1 %271, label %322, label %272
272: ; preds = %268
%273 = icmp eq i8* %265, null
br i1 %273, label %281, label %274
274: ; preds = %272
%275 = tail call i32 @load(i8* %265)
%276 = tail call i32 (...) @GetRows()
%277 = tail call i32 (...) @GetColumns()
%278 = icmp eq i32 %276, 0
%279 = icmp eq i32 %277, 0
%280 = select i1 %278, i1 true, i1 %279
br i1 %280, label %283, label %285
281: ; preds = %2, %272
%282 = tail call i32 (...) @display_help()
br label %322
283: ; preds = %274
%284 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
br label %320
285: ; preds = %274
%286 = icmp eq i32 %255, 0
br i1 %286, label %289, label %287
287: ; preds = %285
%288 = tail call i32 (...) @LogTransform()
br label %289
289: ; preds = %287, %285
%290 = sext i8 %259 to i32
switch i32 %290, label %295 [
i32 97, label %291
i32 109, label %293
]
291: ; preds = %289
%292 = tail call i32 @AdjustGenes(i32 1, i32 0, i32 %261)
br label %293
293: ; preds = %289, %291
%294 = tail call i32 @AdjustGenes(i32 0, i32 1, i32 %261)
br label %295
295: ; preds = %289, %293
%296 = tail call i32 @AdjustGenes(i32 0, i32 0, i32 %261)
%297 = sext i8 %260 to i32
switch i32 %297, label %302 [
i32 97, label %298
i32 109, label %300
]
298: ; preds = %295
%299 = tail call i32 @AdjustArrays(i32 1, i32 0, i32 %262)
br label %300
300: ; preds = %295, %298
%301 = tail call i32 @AdjustArrays(i32 0, i32 1, i32 %262)
br label %302
302: ; preds = %295, %300
%303 = tail call i32 @AdjustArrays(i32 0, i32 0, i32 %262)
%304 = icmp eq i8* %264, null
br i1 %304, label %305, label %307
305: ; preds = %302
%306 = tail call i8* @setjobname(i8* %265, i32 1)
br label %307
307: ; preds = %305, %302
%308 = phi i8* [ %306, %305 ], [ %264, %302 ]
%309 = icmp sgt i32 %254, 0
br i1 %309, label %310, label %312
310: ; preds = %307
%311 = tail call i32 @KMeans(i8 signext %256, i8 signext %257, i32 %254, i32 %250, i32 %276, i32 %277, i8* %308)
br label %318
312: ; preds = %307
%313 = icmp eq i32 %251, 0
br i1 %313, label %316, label %314
314: ; preds = %312
%315 = tail call i32 @SOM(i8 signext %256, i8 signext %257, i32 %252, i32 %253, i32 %276, i32 %277, i8* %308)
br label %318
316: ; preds = %312
%317 = tail call i32 @HierarchicalPartition(i8 signext %256, i8 signext %257, i8 signext %258, i8* %308, i32 %263)
br label %318
318: ; preds = %314, %316, %310
%319 = tail call i32 @free(i8* %308)
br label %320
320: ; preds = %318, %283
%321 = tail call i32 (...) @Free()
br label %322
322: ; preds = %166, %158, %151, %143, %41, %49, %67, %89, %114, %106, %124, %134, %184, %201, %193, %215, %207, %229, %221, %243, %235, %33, %28, %268, %320, %281
ret i32 0
}