#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 */
typedef struct TYPE_3__ TYPE_1__;

/* Type definitions */
struct TYPE_3__ {
  int quot;
};
typedef TYPE_1__ div_t;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ bubble_sort(int *, int);
TYPE_1__ div(int, int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, int, int,
                           char *);
int /*<<< orphan*/ free(char *);
scalar_t__ malloc(int);
float sqrt(float);
int /*<<< orphan*/ sscanf(char *, char *, char *, ...);
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ strncmp(char *, char *, int);
main() {
  int i = 0, j = 0, k = 0, l = 0, m = 0, a = 0, b = 0, s = 0, n = 0, q = 0,
      p = 0, flag = 0, end_atom = 0, line_length = 1000, res_atom_number = 0,
      lig_atom_number = 0, all_active[160000], active[160000],
      inact_backbone[160000], backbone[160000], inactive[160000],
      res_atoms[160000], res_pointers[160000], pointers[160000],
      all_sphere[160000];
  float radius = 0, dist = 0, res_coordx, res_coordy, res_coordz, lig_coordx,
        lig_coordy, lig_coordz, res_numb1, res_numb2, res_numb3, res_numb4,
        lig_numb1, lig_numb2, lig_numb3, lig_numb4;
  char res_buf[line_length], lig_buf[line_length], param_buf[line_length],
      res_word[15], lig_word[15], param_word[15], *res_name[160000],
      *lig_name[160000];
  for (j = 0; j < 160000; j++) {
    res_name[j] = (char *)malloc(15);
    lig_name[j] = (char *)malloc(15);
  }
  FILE *protein, *ligand, *numb_act, *param, *fopen();
  ligand = fopen("input_ligand.ammp", "r");
  numb_act = fopen("active.ammp", "w");
  param = fopen("param.temp", "r");
  for (i = 0; i < 5; i++)
    fgets(param_buf, line_length, param);
  sscanf(param_buf, "%s %f", param_word, &radius);
  for (i = 0; i < 200; i++) {
    flag++;
    protein = fopen("protein.ammp", "r");
    fgets(lig_buf, line_length, ligand);
    sscanf(lig_buf, "%s", lig_word);
    if (!strncmp(lig_word, "bond", 4))
      break;
    if (!strncmp(lig_word, "mompar", 6)) {
      fgets(lig_buf, line_length, ligand);
      sscanf(lig_buf, "%s", lig_word);
    }
    if (!strncmp(lig_word, "atom", 4)) {
      sscanf(lig_buf, "%s %f %f %f %i %s %f %f %f %f", lig_word, &lig_coordx,
             &lig_coordy, &lig_coordz, &lig_atom_number, lig_name[k],
             &lig_numb1, &lig_numb2, &lig_numb3, &lig_numb4);
      q++;
    }
    for (j = 0; j < 160000; j++) {
      fgets(res_buf, line_length, protein);
      sscanf(res_buf, "%s", res_word);
      if (!strncmp(res_word, "bond", 4)) {
        if (flag == 1) {
          end_atom = p;
          break;
        } else
          break;
      }
      if (!strncmp(res_word, "mompar", 6)) {
        fgets(res_buf, line_length, protein);
        sscanf(res_buf, "%s", res_word);
      }
      if (!strncmp(res_word, "atom", 4)) {
        sscanf(res_buf, "%s %f %f %f %i %s %f %f %f %f", res_word, &res_coordx,
               &res_coordy, &res_coordz, &res_atom_number, res_name[i],
               &res_numb1, &res_numb2, &res_numb3, &res_numb4);
        res_atoms[p] = res_atom_number;
        p++;
        if (!strcmp(&res_name[i][4], "n") && !strcmp(&res_name[i][5], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "ca") && !strcmp(&res_name[i][6], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "c") && !strcmp(&res_name[i][5], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "o") && !strcmp(&res_name[i][5], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "h") && !strcmp(&res_name[i][5], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "ha") && !strcmp(&res_name[i][6], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "1ha") && !strcmp(&res_name[i][7], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        if (!strcmp(&res_name[i][4], "2ha") && !strcmp(&res_name[i][7], "")) {
          inact_backbone[b] = res_atom_number;
          b++;
        }
        dist = sqrt((res_coordx - lig_coordx) * (res_coordx - lig_coordx) +
                    (res_coordy - lig_coordy) * (res_coordy - lig_coordy) +
                    (res_coordz - lig_coordz) * (res_coordz - lig_coordz));
        if (dist < radius) {
          all_active[n] = res_atom_number;
          n++;
        } else
          continue;
      }
      continue;
    }
  }
  k = 0;
  for (i = 0; i < n;) {
    j = 0;
    while (all_active[i] != active[j] && j <= k)
      j++;
    if (j < k) {
      i++;
      continue;
    }
    active[k] = all_active[i];
    k++;
  }
  for (i = 0; i < k; i++) {
    div_t point;
    point = div(active[i], 100);
    res_pointers[i] = point.quot;
  }
  k = 0;
  for (i = 0; i < n;) {
    j = 0;
    while (res_pointers[i] != pointers[j] && j <= k)
      j++;
    if (j < k) {
      i++;
      continue;
    }
    pointers[k] = res_pointers[i];
    k++;
  }
  l = k - 1;
  bubble_sort(pointers, l);
  k = 0;
  for (i = 0; i < n;) {
    j = 0;
    while (inact_backbone[i] != backbone[j] && j <= k)
      j++;
    if (j < k) {
      i++;
      continue;
    }
    backbone[k] = inact_backbone[i];
    k++;
  }
  p = k - 1;
  bubble_sort(backbone, p);
  s = 0;
  for (i = 0; i < l; i++) {
    for (j = 0; j < p; j++) {
      div_t inact;
      inact = div(backbone[j], 100);
      if (pointers[i] == inact.quot) {
        inactive[s] = backbone[j];
        s++;
      } else
        continue;
    }
  }
  m = 0;
  b = 0;
  for (i = 0; i < l; i++) {
    for (j = 0; j < end_atom; j++) {
      div_t numb;
      numb = div(res_atoms[j], 100);
      if (pointers[i] == numb.quot) {
        if (inactive[b] == res_atoms[j]) {
          b++;
          continue;
        }
        all_sphere[m] = res_atoms[j];
        m++;
      } else
        continue;
    }
  }
  for (j = 0; j < q; j++)
    fprintf(numb_act, "%s %i %i%s\n", "active", 1000000 + j, 1000000 + j, ";");
  for (i = 0; i < m; i++)
    fprintf(numb_act, "%s %i %i%s\n", "active", all_sphere[i], all_sphere[i],
            ";");
  for (i = 0; i < 160000; ++i) {
    free(res_name[i]);
    free(lig_name[i]);
  }
  fclose(protein);
  fclose(ligand);
  fclose(numb_act);
  fclose(param);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x7ef548,%rsp
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
movl   $0x0,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
movl   $0x0,-0x50(%rbp)
movl   $0x3e8,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
movl   $0x0,-0x5c(%rbp)
movl   $0x0,-0x57e464(%rbp)
movl   $0x0,-0x57e468(%rbp)
mov    -0x54(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x57e4a8(%rbp)
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x7ef558(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x57e4b0(%rbp)
mov    -0x54(%rbp),%eax
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x7ef550(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x57e4b8(%rbp)
mov    -0x54(%rbp),%eax
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x7ef548(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x57e4c0(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x27100,-0x24(%rbp)
jge    1328 <main+0x168>
mov    $0xf,%edi
call   10a0 <malloc@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
mov    %rcx,-0x6b6cf0(%rbp,%rax,8)
mov    $0xf,%edi
call   10a0 <malloc@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
mov    %rcx,-0x7ef4f0(%rbp,%rax,8)
ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12db <main+0x11b>
lea    0x1cd1(%rip),%rdi
lea    0x1d15(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x7ef500(%rbp)
lea    0x1cc9(%rip),%rdi
lea    0x1cce(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x7ef508(%rbp)
lea    0x1cbd(%rip),%rdi
lea    0x1ce1(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x7ef510(%rbp)
movl   $0x0,-0x20(%rbp)
cmpl   $0x5,-0x20(%rbp)
jge    13ab <main+0x1eb>
mov    -0x7ef548(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x7ef510(%rbp),%rdx
call   1060 <fgets@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    137d <main+0x1bd>
mov    -0x7ef548(%rbp),%rdi
lea    -0x57e4ed(%rbp),%rdx
lea    0x1c6b(%rip),%rsi
lea    -0x57e464(%rbp),%rcx
mov    $0x0,%al
call   10b0 <sscanf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0xc8,-0x20(%rbp)
jge    1ad8 <main+0x918>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
lea    0x1c3f(%rip),%rdi
lea    0x1c52(%rip),%rsi
call   10c0 <fopen@plt>
mov    -0x7ef550(%rbp),%rdi
mov    %rax,-0x7ef4f8(%rbp)
mov    -0x54(%rbp),%esi
mov    -0x7ef500(%rbp),%rdx
call   1060 <fgets@plt>
mov    -0x7ef550(%rbp),%rdi
lea    -0x57e4de(%rbp),%rdx
lea    0x1c0e(%rip),%rsi
mov    $0x0,%al
call   10b0 <sscanf@plt>
lea    -0x57e4de(%rbp),%rdi
lea    0x1bfc(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    145d <main+0x29d>
jmp    1ad8 <main+0x918>
lea    -0x57e4de(%rbp),%rdi
lea    0x1bdb(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    14b0 <main+0x2f0>
mov    -0x7ef550(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x7ef500(%rbp),%rdx
call   1060 <fgets@plt>
mov    -0x7ef550(%rbp),%rdi
lea    -0x57e4de(%rbp),%rdx
lea    0x1b95(%rip),%rsi
mov    $0x0,%al
call   10b0 <sscanf@plt>
lea    -0x57e4de(%rbp),%rdi
lea    0x1b8f(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    155c <main+0x39c>
mov    -0x7ef550(%rbp),%rdi
lea    -0x57e4de(%rbp),%rdx
movslq -0x28(%rbp),%rax
mov    -0x7ef4f0(%rbp,%rax,8),%r14
ff
lea    0x1b60(%rip),%rsi
lea    -0x57e478(%rbp),%rcx
lea    -0x57e47c(%rbp),%r8
lea    -0x57e480(%rbp),%r9
lea    -0x5c(%rbp),%r15
lea    -0x57e494(%rbp),%rbx
lea    -0x57e498(%rbp),%r11
lea    -0x57e49c(%rbp),%r10
lea    -0x57e4a0(%rbp),%rax
sub    $0x30,%rsp
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
mov    $0x0,%al
call   10b0 <sscanf@plt>
add    $0x30,%rsp
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x27100,-0x24(%rbp)
jge    1ac5 <main+0x905>
mov    -0x7ef558(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x7ef4f8(%rbp),%rdx
call   1060 <fgets@plt>
mov    -0x7ef558(%rbp),%rdi
lea    -0x57e4cf(%rbp),%rdx
lea    0x1aa3(%rip),%rsi
mov    $0x0,%al
call   10b0 <sscanf@plt>
lea    -0x57e4cf(%rbp),%rdi
lea    0x1a91(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    15dd <main+0x41d>
cmpl   $0x1,-0x4c(%rbp)
jne    15d8 <main+0x418>
mov    -0x48(%rbp),%eax
mov    %eax,-0x50(%rbp)
jmp    1ac5 <main+0x905>
jmp    1ac5 <main+0x905>
lea    -0x57e4cf(%rbp),%rdi
lea    0x1a5b(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1630 <main+0x470>
mov    -0x7ef558(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    -0x7ef4f8(%rbp),%rdx
call   1060 <fgets@plt>
mov    -0x7ef558(%rbp),%rdi
lea    -0x57e4cf(%rbp),%rdx
lea    0x1a15(%rip),%rsi
mov    $0x0,%al
call   10b0 <sscanf@plt>
lea    -0x57e4cf(%rbp),%rdi
lea    0x1a0f(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    1ab2 <main+0x8f2>
mov    -0x7ef558(%rbp),%rdi
lea    -0x57e4cf(%rbp),%rdx
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%r14
ff
lea    0x19e0(%rip),%rsi
lea    -0x57e46c(%rbp),%rcx
lea    -0x57e470(%rbp),%r8
lea    -0x57e474(%rbp),%r9
lea    -0x58(%rbp),%r15
lea    -0x57e484(%rbp),%rbx
lea    -0x57e488(%rbp),%r11
lea    -0x57e48c(%rbp),%r10
lea    -0x57e490(%rbp),%rax
sub    $0x30,%rsp
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
mov    $0x0,%al
call   10b0 <sscanf@plt>
add    $0x30,%rsp
mov    -0x58(%rbp),%ecx
movslq -0x48(%rbp),%rax
mov    %ecx,-0x3a9860(%rbp,%rax,4)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x196f(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    174b <main+0x58b>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x5,%rdi
lea    0x1968(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    174b <main+0x58b>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x1910(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    17ac <main+0x5ec>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x6,%rdi
lea    0x1907(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    17ac <main+0x5ec>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x18b2(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    180d <main+0x64d>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x5,%rdi
lea    0x18a6(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    180d <main+0x64d>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x1853(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    186e <main+0x6ae>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x5,%rdi
lea    0x1845(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    186e <main+0x6ae>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x17f4(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    18cf <main+0x70f>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x5,%rdi
lea    0x17e4(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    18cf <main+0x70f>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x1796(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1930 <main+0x770>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x6,%rdi
lea    0x1783(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1930 <main+0x770>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x1734(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1991 <main+0x7d1>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x7,%rdi
lea    0x1722(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1991 <main+0x7d1>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x4,%rdi
lea    0x16d7(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    19f2 <main+0x832>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
add    $0x7,%rdi
lea    0x16c1(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    19f2 <main+0x832>
mov    -0x58(%rbp),%ecx
movslq -0x38(%rbp),%rax
mov    %ecx,-0x1d4c60(%rbp,%rax,4)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
movss  -0x57e46c(%rbp),%xmm1
ff
subss  -0x57e478(%rbp),%xmm1
ff
movss  -0x57e46c(%rbp),%xmm2
ff
subss  -0x57e478(%rbp),%xmm2
ff
movss  -0x57e470(%rbp),%xmm0
ff
subss  -0x57e47c(%rbp),%xmm0
ff
movss  -0x57e470(%rbp),%xmm3
ff
subss  -0x57e47c(%rbp),%xmm3
ff
mulss  %xmm3,%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x57e474(%rbp),%xmm0
ff
subss  -0x57e480(%rbp),%xmm0
ff
movss  -0x57e474(%rbp),%xmm2
ff
subss  -0x57e480(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   10d0 <sqrt@plt>
movss  %xmm0,-0x57e468(%rbp)
ff
movss  -0x57e468(%rbp),%xmm1
ff
movss  -0x57e464(%rbp),%xmm0
ff
ucomiss %xmm1,%xmm0
jbe    1aa8 <main+0x8e8>
mov    -0x58(%rbp),%ecx
movslq -0x40(%rbp),%rax
mov    %ecx,-0x9c460(%rbp,%rax,4)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1aad <main+0x8ed>
jmp    1ab7 <main+0x8f7>
jmp    1ab2 <main+0x8f2>
jmp    1ab7 <main+0x8f7>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1563 <main+0x3a3>
jmp    1aca <main+0x90a>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    13d5 <main+0x215>
movl   $0x0,-0x28(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1b8b <main+0x9cb>
movl   $0x0,-0x24(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x9c460(%rbp,%rax,4),%ecx
movslq -0x24(%rbp),%rdx
xor    %eax,%eax
cmp    -0x138860(%rbp,%rdx,4),%ecx
mov    %al,-0x7ef559(%rbp)
je     1b2c <main+0x96c>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
setle  %al
mov    %al,-0x7ef559(%rbp)
mov    -0x7ef559(%rbp),%al
test   $0x1,%al
jne    1b3f <main+0x97f>
jmp    1b4d <main+0x98d>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1af9 <main+0x939>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1b67 <main+0x9a7>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1ae6 <main+0x926>
movslq -0x20(%rbp),%rax
mov    -0x9c460(%rbp,%rax,4),%ecx
movslq -0x28(%rbp),%rax
mov    %ecx,-0x138860(%rbp,%rax,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1ae6 <main+0x926>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1be4 <main+0xa24>
movslq -0x20(%rbp),%rax
mov    -0x138860(%rbp,%rax,4),%edi
mov    $0x64,%esi
call   1090 <div@plt>
mov    %eax,-0x7ef520(%rbp)
mov    -0x7ef520(%rbp),%eax
mov    %eax,-0x7ef518(%rbp)
mov    -0x7ef518(%rbp),%ecx
movslq -0x20(%rbp),%rax
mov    %ecx,-0x445c60(%rbp,%rax,4)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1b92 <main+0x9d2>
movl   $0x0,-0x28(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1c97 <main+0xad7>
movl   $0x0,-0x24(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x445c60(%rbp,%rax,4),%ecx
movslq -0x24(%rbp),%rdx
xor    %eax,%eax
cmp    -0x4e2060(%rbp,%rdx,4),%ecx
mov    %al,-0x7ef55a(%rbp)
je     1c38 <main+0xa78>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
setle  %al
mov    %al,-0x7ef55a(%rbp)
mov    -0x7ef55a(%rbp),%al
test   $0x1,%al
jne    1c4b <main+0xa8b>
jmp    1c59 <main+0xa99>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1c05 <main+0xa45>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1c73 <main+0xab3>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1bf2 <main+0xa32>
movslq -0x20(%rbp),%rax
mov    -0x445c60(%rbp,%rax,4),%ecx
movslq -0x28(%rbp),%rax
mov    %ecx,-0x4e2060(%rbp,%rax,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1bf2 <main+0xa32>
mov    -0x28(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x2c(%rbp)
lea    -0x4e2060(%rbp),%rdi
mov    -0x2c(%rbp),%esi
call   10e0 <bubble_sort@plt>
movl   $0x0,-0x28(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x40(%rbp),%eax
jge    1d62 <main+0xba2>
movl   $0x0,-0x24(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x1d4c60(%rbp,%rax,4),%ecx
movslq -0x24(%rbp),%rdx
xor    %eax,%eax
cmp    -0x271060(%rbp,%rdx,4),%ecx
mov    %al,-0x7ef55b(%rbp)
je     1d03 <main+0xb43>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
setle  %al
mov    %al,-0x7ef55b(%rbp)
mov    -0x7ef55b(%rbp),%al
test   $0x1,%al
jne    1d16 <main+0xb56>
jmp    1d24 <main+0xb64>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1cd0 <main+0xb10>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1d3e <main+0xb7e>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1cbd <main+0xafd>
movslq -0x20(%rbp),%rax
mov    -0x1d4c60(%rbp,%rax,4),%ecx
movslq -0x28(%rbp),%rax
mov    %ecx,-0x271060(%rbp,%rax,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1cbd <main+0xafd>
mov    -0x28(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x48(%rbp)
lea    -0x271060(%rbp),%rdi
mov    -0x48(%rbp),%esi
call   10e0 <bubble_sort@plt>
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1e34 <main+0xc74>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x48(%rbp),%eax
jge    1e21 <main+0xc61>
movslq -0x24(%rbp),%rax
mov    -0x271060(%rbp,%rax,4),%edi
mov    $0x64,%esi
call   1090 <div@plt>
mov    %eax,-0x7ef530(%rbp)
mov    -0x7ef530(%rbp),%eax
mov    %eax,-0x7ef528(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x4e2060(%rbp,%rax,4),%eax
cmp    -0x7ef528(%rbp),%eax
jne    1e09 <main+0xc49>
movslq -0x24(%rbp),%rax
mov    -0x271060(%rbp,%rax,4),%ecx
movslq -0x3c(%rbp),%rax
mov    %ecx,-0x30d460(%rbp,%rax,4)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1e0e <main+0xc4e>
jmp    1e13 <main+0xc53>
jmp    1e13 <main+0xc53>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1d9b <main+0xbdb>
jmp    1e26 <main+0xc66>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1d88 <main+0xbc8>
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1f1f <main+0xd5f>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x50(%rbp),%eax
jge    1f0c <main+0xd4c>
movslq -0x24(%rbp),%rax
mov    -0x3a9860(%rbp,%rax,4),%edi
mov    $0x64,%esi
call   1090 <div@plt>
mov    %eax,-0x7ef540(%rbp)
mov    -0x7ef540(%rbp),%eax
mov    %eax,-0x7ef538(%rbp)
movslq -0x20(%rbp),%rax
mov    -0x4e2060(%rbp,%rax,4),%eax
cmp    -0x7ef538(%rbp),%eax
jne    1ef4 <main+0xd34>
movslq -0x38(%rbp),%rax
mov    -0x30d460(%rbp,%rax,4),%eax
movslq -0x24(%rbp),%rcx
cmp    -0x3a9860(%rbp,%rcx,4),%eax
jne    1ed0 <main+0xd10>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1efe <main+0xd3e>
movslq -0x24(%rbp),%rax
mov    -0x3a9860(%rbp,%rax,4),%ecx
movslq -0x30(%rbp),%rax
mov    %ecx,-0x57e460(%rbp,%rax,4)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1ef9 <main+0xd39>
jmp    1efe <main+0xd3e>
jmp    1efe <main+0xd3e>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1e5c <main+0xc9c>
jmp    1f11 <main+0xd51>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1e49 <main+0xc89>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    1f75 <main+0xdb5>
mov    -0x7ef508(%rbp),%rdi
mov    -0x24(%rbp),%ecx
add    $0xf4240,%ecx
mov    -0x24(%rbp),%r8d
add    $0xf4240,%r8d
lea    0x112f(%rip),%rsi
lea    0x1134(%rip),%rdx
lea    0x1134(%rip),%r9
call   1080 <fprintf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1f26 <main+0xd66>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x30(%rbp),%eax
jge    1fce <main+0xe0e>
mov    -0x7ef508(%rbp),%rdi
movslq -0x20(%rbp),%rax
mov    -0x57e460(%rbp,%rax,4),%ecx
movslq -0x20(%rbp),%rax
mov    -0x57e460(%rbp,%rax,4),%r8d
ff
lea    0x10d6(%rip),%rsi
lea    0x10db(%rip),%rdx
lea    0x10db(%rip),%r9
call   1080 <fprintf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1f7c <main+0xdbc>
movl   $0x0,-0x20(%rbp)
cmpl   $0x27100,-0x20(%rbp)
jge    2012 <main+0xe52>
movslq -0x20(%rbp),%rax
mov    -0x6b6cf0(%rbp,%rax,8),%rdi
ff
call   1030 <free@plt>
movslq -0x20(%rbp),%rax
mov    -0x7ef4f0(%rbp,%rax,8),%rdi
ff
call   1030 <free@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1fd5 <main+0xe15>
mov    -0x7ef4f8(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x7ef500(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x7ef508(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x7ef510(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x57e4a8(%rbp),%rax
mov    %rax,%rsp
mov    -0x1c(%rbp),%eax
lea    -0x18(%rbp),%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x7f00b8,%rsp
mov    %rsp,0x80(%rsp)
movl   $0x0,0x4(%rsp)
movl   $0x0,0x64(%rsp)
movl   $0x0,0x1c(%rsp)
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    $0xf,%edi
call   10a0 <malloc@plt>
mov    %rax,0x271cb0(%rsp,%rbx,8)
mov    $0xf,%edi
call   10a0 <malloc@plt>
mov    %rax,0x6b78b0(%rsp,%rbx,8)
add    $0x1,%rbx
cmp    $0x27100,%rbx
jne    1200 <main+0x40>
lea    0xdcc(%rip),%rdi
lea    0xe10(%rip),%rbx
mov    %rbx,%rsi
call   10c0 <fopen@plt>
mov    %rax,0x38(%rsp)
lea    0xdc3(%rip),%rdi
lea    0xdc8(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,0x68(%rsp)
lea    0xdb9(%rip),%rdi
mov    %rbx,%rsi
call   10c0 <fopen@plt>
mov    %rax,%rbp
lea    0x8c0(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x3e8,%esi
mov    %rax,%rdx
call   1060 <fgets@plt>
mov    %rbx,%rdi
mov    $0x3e8,%esi
mov    %rbp,%rdx
call   1060 <fgets@plt>
mov    %rbx,%rdi
mov    $0x3e8,%esi
mov    %rbp,%rdx
call   1060 <fgets@plt>
mov    %rbx,%rdi
mov    $0x3e8,%esi
mov    %rbp,%rdx
call   1060 <fgets@plt>
mov    %rbx,%rdi
mov    $0x3e8,%esi
mov    %rbp,0x78(%rsp)
mov    %rbp,%rdx
call   1060 <fgets@plt>
lea    0xd55(%rip),%rsi
lea    0xc2(%rsp),%rdx
lea    0x1c(%rsp),%rcx
mov    %rbx,%rdi
xor    %eax,%eax
call   10b0 <sscanf@plt>
mov    0x6b78b0(%rsp),%rax
mov    %rax,0x70(%rsp)
lea    0xd3d(%rip),%r12
lea    0xd39(%rip),%r13
xor    %eax,%eax
mov    %rax,0x30(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,0x28(%rsp)
xor    %r14d,%r14d
movl   $0x0,0x8(%rsp)
movl   $0x0,(%rsp)
jmp    1372 <main+0x1b2>
cs nopw 0x0(%rax,%rax,1)
nop
cmpl   $0x0,0x30(%rsp)
mov    (%rsp),%eax
cmove  0x8(%rsp),%eax
mov    %eax,(%rsp)
mov    0x88(%rsp),%rcx
mov    %rcx,%rax
mov    %rcx,0x30(%rsp)
cmp    $0xc8,%rcx
mov    0x20(%rsp),%r14
je     1808 <main+0x648>
lea    0xcbc(%rip),%rdi
lea    0xccf(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,0x40(%rsp)
lea    0xe0(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x3e8,%esi
mov    0x38(%rsp),%rdx
call   1060 <fgets@plt>
mov    %rbp,%rdi
lea    0xb3(%rsp),%rbp
mov    %r12,%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
mov    %rbp,%rdi
mov    %r13,%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     1808 <main+0x648>
mov    %rbp,%rdi
lea    0xc6c(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
jne    141e <main+0x25e>
lea    0xe0(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x3e8,%esi
mov    0x38(%rsp),%rdx
call   1060 <fgets@plt>
mov    %rbp,%rdi
lea    0xb3(%rsp),%rbp
mov    %r12,%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
mov    %rbp,%rdi
lea    0xc29(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
jne    149a <main+0x2da>
lea    0xe0(%rsp),%rdi
lea    0xc11(%rip),%rsi
mov    %rbp,%rdx
lea    0x54(%rsp),%rcx
lea    0x50(%rsp),%r8
lea    0x4c(%rsp),%r9
xor    %eax,%eax
lea    0x90(%rsp),%rbp
push   %rbp
lea    0x9c(%rsp),%rbp
push   %rbp
lea    0xa8(%rsp),%rbp
push   %rbp
lea    0xb4(%rsp),%rbp
push   %rbp
push   0x90(%rsp)
lea    0x8c(%rsp),%rbp
push   %rbp
call   10b0 <sscanf@plt>
add    $0x30,%rsp
add    $0x1,%r14d
mov    %r14,0x20(%rsp)
lea    0xb9f(%rip),%r13
mov    0x30(%rsp),%rax
add    $0x1,%rax
mov    %rax,0x88(%rsp)
mov    $0x27100,%r15d
jmp    14ca <main+0x30a>
nop
add    $0xffffffff,%r15d
je     1350 <main+0x190>
lea    0x4d0(%rsp),%r14
mov    %r14,%rdi
mov    $0x3e8,%esi
mov    0x40(%rsp),%rdx
call   1060 <fgets@plt>
mov    %r14,%rdi
mov    %r12,%rsi
lea    0xd1(%rsp),%rbx
mov    %rbx,%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     1340 <main+0x180>
mov    %rbx,%rdi
lea    0xb2c(%rip),%rsi
mov    $0x6,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
jne    1556 <main+0x396>
lea    0x4d0(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x3e8,%esi
mov    0x40(%rsp),%rdx
call   1060 <fgets@plt>
mov    %rbp,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   10b0 <sscanf@plt>
mov    %rbx,%rdi
lea    0xaf1(%rip),%rsi
mov    $0x4,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
jne    14c0 <main+0x300>
mov    0x30(%rsp),%rax
mov    0x271cb0(%rsp,%rax,8),%rbp
lea    0x4d0(%rsp),%rdi
lea    0xac8(%rip),%rsi
mov    %rbx,%rdx
lea    0x60(%rsp),%rcx
lea    0x5c(%rsp),%r8
lea    0x58(%rsp),%r9
xor    %eax,%eax
lea    0xa0(%rsp),%rbx
push   %rbx
lea    0xac(%rsp),%rbx
push   %rbx
lea    0xb8(%rsp),%rbx
push   %rbx
lea    0xc4(%rsp),%rbx
push   %rbx
push   %rbp
lea    0x2c(%rsp),%rbx
push   %rbx
call   10b0 <sscanf@plt>
add    $0x30,%rsp
mov    0x4(%rsp),%r14d
movslq 0x8(%rsp),%rax
mov    %r14d,0x4e2cb0(%rsp,%rax,4)
lea    0x4(%rbp),%r12
mov    %r12,%rdi
lea    0xa7e(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1606 <main+0x446>
mov    0x10(%rsp),%rbx
jmp    1620 <main+0x460>
cmpb   $0x0,0x5(%rbp)
mov    0x10(%rsp),%rbx
jne    1620 <main+0x460>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nop
mov    %r12,%rdi
lea    0xa4c(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    1650 <main+0x490>
cmpb   $0x0,0x6(%rbp)
jne    1650 <main+0x490>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0xa1f(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    1680 <main+0x4c0>
cmpb   $0x0,0x5(%rbp)
jne    1680 <main+0x4c0>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x9f1(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    16b0 <main+0x4f0>
cmpb   $0x0,0x5(%rbp)
jne    16b0 <main+0x4f0>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x9c3(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    16e0 <main+0x520>
cmpb   $0x0,0x5(%rbp)
jne    16e0 <main+0x520>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x996(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    1710 <main+0x550>
cmpb   $0x0,0x6(%rbp)
jne    1710 <main+0x550>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x965(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    1740 <main+0x580>
cmpb   $0x0,0x7(%rbp)
jne    1740 <main+0x580>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
nopw   0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x939(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1761 <main+0x5a1>
mov    %rbx,0x10(%rsp)
lea    0x8e3(%rip),%r12
jmp    1781 <main+0x5c1>
cmpb   $0x0,0x7(%rbp)
lea    0x8d6(%rip),%r12
jne    177c <main+0x5bc>
movslq %ebx,%rbx
mov    %r14d,0xcb0(%rsp,%rbx,4)
add    $0x1,%ebx
mov    %rbx,0x10(%rsp)
lea    0x8bd(%rip),%r13
movss  0x60(%rsp),%xmm1
subss  0x54(%rsp),%xmm1
movss  0x5c(%rsp),%xmm0
subss  0x50(%rsp),%xmm0
mulss  %xmm0,%xmm0
mulss  %xmm1,%xmm1
addss  %xmm0,%xmm1
movss  0x58(%rsp),%xmm0
subss  0x4c(%rsp),%xmm0
mulss  %xmm0,%xmm0
addss  %xmm1,%xmm0
ucomiss 0x839(%rip),%xmm0
jb     17cf <main+0x60f>
sqrtss %xmm0,%xmm0
jmp    17d4 <main+0x614>
call   10d0 <sqrt@plt>
addl   $0x1,0x8(%rsp)
movss  0x1c(%rsp),%xmm1
ucomiss %xmm0,%xmm1
jbe    14c0 <main+0x300>
mov    0x4(%rsp),%eax
mov    0x28(%rsp),%rcx
movslq %ecx,%rcx
mov    %eax,0x61b4b0(%rsp,%rcx,4)
add    $0x1,%ecx
mov    %rcx,0x28(%rsp)
jmp    14c0 <main+0x300>
mov    %r14,0x20(%rsp)
mov    0x28(%rsp),%r12
test   %r12d,%r12d
jle    190d <main+0x74d>
mov    %r12d,%r14d
xor    %eax,%eax
xor    %ecx,%ecx
movslq %ecx,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x61b4b0(%rsp,%rcx,4),%edx
xor    %edi,%edi
nopl   0x0(%rax)
lea    0x1(%rdi),%rsi
cmp    0x1d58b0(%rsp,%rdi,4),%edx
je     1855 <main+0x695>
cmp    %rax,%rdi
mov    %rsi,%rdi
jbe    1840 <main+0x680>
add    $0xffffffff,%esi
cmp    %rax,%rsi
jae    1870 <main+0x6b0>
add    $0x1,%rcx
cmp    %r14,%rcx
jl     1830 <main+0x670>
jmp    1880 <main+0x6c0>
nopl   0x0(%rax,%rax,1)
mov    %edx,0x1d58b0(%rsp,%rax,4)
add    $0x1,%rax
cmp    %ecx,%r12d
jg     1822 <main+0x662>
test   %eax,%eax
jle    18b1 <main+0x6f1>
mov    %eax,%ebx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    0x1d58b0(%rsp,%rbp,4),%edi
mov    $0x64,%esi
call   1090 <div@plt>
mov    %eax,0x4468b0(%rsp,%rbp,4)
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1890 <main+0x6d0>
test   %r12d,%r12d
jle    190d <main+0x74d>
xor    %r15d,%r15d
xor    %eax,%eax
cltq
nopl   (%rax)
mov    0x4468b0(%rsp,%rax,4),%ecx
xor    %esi,%esi
nopl   0x0(%rax)
lea    0x1(%rsi),%rdx
cmp    0x9d0b0(%rsp,%rsi,4),%ecx
je     18e5 <main+0x725>
cmp    %r15,%rsi
mov    %rdx,%rsi
jbe    18d0 <main+0x710>
add    $0xffffffff,%edx
cmp    %r15,%rdx
jae    18f8 <main+0x738>
add    $0x1,%rax
cmp    %r14,%rax
jl     18c0 <main+0x700>
jmp    1939 <main+0x779>
mov    %ecx,0x9d0b0(%rsp,%r15,4)
add    $0x1,%r15
cmp    %eax,%r12d
jle    1939 <main+0x779>
cltq
jmp    18c0 <main+0x700>
lea    0x9d0b0(%rsp),%rdi
mov    $0xffffffff,%esi
call   10e0 <bubble_sort@plt>
lea    0x1394b0(%rsp),%rdi
mov    $0xffffffff,%esi
call   10e0 <bubble_sort@plt>
xor    %r13d,%r13d
jmp    1ae7 <main+0x927>
lea    -0x1(%r15),%ebx
lea    0x9d0b0(%rsp),%rdi
mov    %ebx,%esi
call   10e0 <bubble_sort@plt>
mov    %r12,%rax
xor    %r13d,%r13d
mov    $0x0,%r12d
test   %eax,%eax
jle    19c2 <main+0x802>
xor    %r12d,%r12d
xor    %eax,%eax
cltq
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0xcb0(%rsp,%rax,4),%ecx
xor    %esi,%esi
nopl   0x0(%rax)
lea    0x1(%rsi),%rdx
cmp    0x1394b0(%rsp,%rsi,4),%ecx
je     1995 <main+0x7d5>
cmp    %r12,%rsi
mov    %rdx,%rsi
jbe    1980 <main+0x7c0>
add    $0xffffffff,%edx
cmp    %r12,%rdx
jae    19b0 <main+0x7f0>
add    $0x1,%rax
cmp    %r14,%rax
jl     1970 <main+0x7b0>
jmp    19c2 <main+0x802>
nopl   0x0(%rax,%rax,1)
mov    %ecx,0x1394b0(%rsp,%r12,4)
add    $0x1,%r12
cmp    %eax,0x28(%rsp)
jg     1961 <main+0x7a1>
lea    -0x1(%r12),%r14d
lea    0x1394b0(%rsp),%rdi
mov    %r14d,%esi
call   10e0 <bubble_sort@plt>
cmp    $0x2,%r15d
jl     1ae7 <main+0x927>
mov    %ebx,%eax
mov    %rax,0x8(%rsp)
mov    %r14d,%r14d
xor    %r13d,%r13d
xor    %ebx,%ebx
jmp    1a0b <main+0x84b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%r13
cmp    0x8(%rsp),%r13
je     1a5a <main+0x89a>
cmp    $0x2,%r12d
jl     1a00 <main+0x840>
xor    %ebp,%ebp
jmp    1a29 <main+0x869>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rbp
cmp    %rbp,%r14
je     1a00 <main+0x840>
mov    0x1394b0(%rsp,%rbp,4),%edi
mov    $0x64,%esi
call   1090 <div@plt>
cmp    %eax,0x9d0b0(%rsp,%r13,4)
jne    1a20 <main+0x860>
mov    0x1394b0(%rsp,%rbp,4),%eax
movslq %ebx,%rbx
mov    %eax,0x57f0b0(%rsp,%rbx,4)
add    $0x1,%ebx
jmp    1a20 <main+0x860>
xor    %r13d,%r13d
cmp    $0x2,%r15d
jl     1ae7 <main+0x927>
mov    (%rsp),%r14d
xor    %ebx,%ebx
xor    %r13d,%r13d
xor    %r12d,%r12d
jmp    1a8b <main+0x8cb>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rbx
cmp    0x8(%rsp),%rbx
je     1ae7 <main+0x927>
cmpl   $0x0,(%rsp)
jle    1a80 <main+0x8c0>
xor    %r15d,%r15d
jmp    1ab8 <main+0x8f8>
cs nopw 0x0(%rax,%rax,1)
movslq %r13d,%r13
mov    %ebp,0x3aa4b0(%rsp,%r13,4)
add    $0x1,%r13d
add    $0x1,%r15
cmp    %r15,%r14
je     1a80 <main+0x8c0>
mov    0x4e2cb0(%rsp,%r15,4),%ebp
mov    %ebp,%edi
mov    $0x64,%esi
call   1090 <div@plt>
cmp    %eax,0x9d0b0(%rsp,%rbx,4)
jne    1aaf <main+0x8ef>
movslq %r12d,%rax
cmp    %ebp,0x57f0b0(%rsp,%rax,4)
jne    1aa0 <main+0x8e0>
add    $0x1,%r12d
jmp    1aaf <main+0x8ef>
mov    0x20(%rsp),%r14
test   %r14d,%r14d
mov    0x68(%rsp),%rbx
jle    1b3f <main+0x97f>
neg    %r14d
mov    $0xf4240,%ebp
lea    0x58e(%rip),%r15
lea    0x58e(%rip),%r12
nopl   0x0(%rax)
mov    %rbx,%rdi
lea    0x56d(%rip),%rsi
mov    %r15,%rdx
mov    %ebp,%ecx
mov    %ebp,%r8d
mov    %r12,%r9
call   1080 <fprintf@plt>
lea    (%r14,%rbp,1),%eax
add    $0x1,%eax
mov    %ebp,%ecx
add    $0x1,%ecx
mov    %ecx,%ebp
cmp    $0xf4240,%eax
jne    1b10 <main+0x950>
test   %r13d,%r13d
jle    1b94 <main+0x9d4>
mov    %rbx,%r14
mov    %r13d,%ebx
xor    %ebp,%ebp
lea    0x534(%rip),%r13
lea    0x539(%rip),%r15
lea    0x539(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x3aa4b0(%rsp,%rbp,4),%ecx
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r15,%rdx
mov    %ecx,%r8d
mov    %r12,%r9
call   1080 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1b70 <main+0x9b0>
mov    0x271cb0(%rsp),%rdi
call   1030 <free@plt>
mov    0x70(%rsp),%rdi
call   1030 <free@plt>
mov    $0x1,%ebx
mov    0x6b78b0(%rsp,%rbx,8),%rbp
mov    0x271cb0(%rsp,%rbx,8),%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
add    $0x1,%rbx
cmp    $0x27100,%rbx
jne    1bb0 <main+0x9f0>
mov    0x40(%rsp),%rdi
call   1050 <fclose@plt>
mov    0x38(%rsp),%rdi
call   1050 <fclose@plt>
mov    0x68(%rsp),%rdi
call   1050 <fclose@plt>
mov    0x78(%rsp),%rdi
call   1050 <fclose@plt>
mov    0x80(%rsp),%rsp
xor    %eax,%eax
add    $0x7f00b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.TYPE_3__ = type { i32 }
@.str = [18 x i8] c"input_ligand.ammp\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [12 x i8] c"active.ammp\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [11 x i8] c"param.temp\00"
@.str.5 = [6 x i8] c"%s %f\00"
@.str.6 = [13 x i8] c"protein.ammp\00"
@.str.7 = [3 x i8] c"%s\00"
@.str.8 = [5 x i8] c"bond\00"
@.str.9 = [7 x i8] c"mompar\00"
@.str.10 = [5 x i8] c"atom\00"
@.str.11 = [30 x i8] c"%s %f %f %f %i %s %f %f %f %f\00"
@.str.12 = [2 x i8] c"n\00"
@.str.13 = [1 x i8] zeroinitializer
@.str.14 = [3 x i8] c"ca\00"
@.str.15 = [2 x i8] c"c\00"
@.str.16 = [2 x i8] c"o\00"
@.str.17 = [2 x i8] c"h\00"
@.str.18 = [3 x i8] c"ha\00"
@.str.19 = [4 x i8] c"1ha\00"
@.str.20 = [4 x i8] c"2ha\00"
@.str.21 = [12 x i8] c"%s %i %i%s\0A\00"
@.str.22 = [7 x i8] c"active\00"
@.str.23 = [2 x i8] c";\00"
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
%16 = alloca i32
%17 = alloca i32
%18 = alloca [160000 x i32]
%19 = alloca [160000 x i32]
%20 = alloca [160000 x i32]
%21 = alloca [160000 x i32]
%22 = alloca [160000 x i32]
%23 = alloca [160000 x i32]
%24 = alloca [160000 x i32]
%25 = alloca [160000 x i32]
%26 = alloca [160000 x i32]
%27 = alloca float
%28 = alloca float
%29 = alloca float
%30 = alloca float
%31 = alloca float
%32 = alloca float
%33 = alloca float
%34 = alloca float
%35 = alloca float
%36 = alloca float
%37 = alloca float
%38 = alloca float
%39 = alloca float
%40 = alloca float
%41 = alloca float
%42 = alloca float
%43 = alloca i8*
%44 = alloca i64
%45 = alloca i64
%46 = alloca i64
%47 = alloca [15 x i8]
%48 = alloca [15 x i8]
%49 = alloca [15 x i8]
%50 = alloca [160000 x i8*]
%51 = alloca [160000 x i8*]
%52 = alloca i32*
%53 = alloca i32*
%54 = alloca i32*
%55 = alloca i32*
%56 = alloca %struct.TYPE_3__
%57 = alloca %struct.TYPE_3__
%58 = alloca %struct.TYPE_3__
%59 = alloca %struct.TYPE_3__
%60 = alloca %struct.TYPE_3__
%61 = alloca %struct.TYPE_3__
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
store i32 0, i32* %11
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
store i32 1000, i32* %15
store i32 0, i32* %16
store i32 0, i32* %17
store float 0.000000e+00, float* %27
store float 0.000000e+00, float* %28
%62 = load i32, i32* %15
%63 = zext i32 %62 to i64
%64 = call i8* @llvm.stacksave()
store i8* %64, i8** %43
%65 = alloca i8, i64 %63
store i64 %63, i64* %44
%66 = load i32, i32* %15
%67 = zext i32 %66 to i64
%68 = alloca i8, i64 %67
store i64 %67, i64* %45
%69 = load i32, i32* %15
%70 = zext i32 %69 to i64
%71 = alloca i8, i64 %70
store i64 %70, i64* %46
store i32 0, i32* %3
br label %72
72: ; preds = %86, %0
%73 = load i32, i32* %3
%74 = icmp slt i32 %73, 160000
br i1 %74, label %75, label %89
75: ; preds = %72
%76 = call i64 @malloc(i32 15)
%77 = inttoptr i64 %76 to i8*
%78 = load i32, i32* %3
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %79
store i8* %77, i8** %80
%81 = call i64 @malloc(i32 15)
%82 = inttoptr i64 %81 to i8*
%83 = load i32, i32* %3
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %51, i64 0, i64 %84
store i8* %82, i8** %85
br label %86
86: ; preds = %75
%87 = load i32, i32* %3
%88 = add nsw i32 %87, 1
store i32 %88, i32* %3
br label %72
89: ; preds = %72
%90 = call i32* @fopen(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %90, i32** %53
%91 = call i32* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %91, i32** %54
%92 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %92, i32** %55
store i32 0, i32* %2
br label %93
93: ; preds = %100, %89
%94 = load i32, i32* %2
%95 = icmp slt i32 %94, 5
br i1 %95, label %96, label %103
96: ; preds = %93
%97 = load i32, i32* %15
%98 = load i32*, i32** %55
%99 = call i32 @fgets(i8* %71, i32 %97, i32* %98)
br label %100
100: ; preds = %96
%101 = load i32, i32* %2
%102 = add nsw i32 %101, 1
store i32 %102, i32* %2
br label %93
103: ; preds = %93
%104 = getelementptr inbounds [15 x i8], [15 x i8]* %49, i64 0, i64 0
%105 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %71, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %104, float* %27)
store i32 0, i32* %2
br label %106
106: ; preds = %414, %103
%107 = load i32, i32* %2
%108 = icmp slt i32 %107, 200
br i1 %108, label %109, label %417
109: ; preds = %106
%110 = load i32, i32* %13
%111 = add nsw i32 %110, 1
store i32 %111, i32* %13
%112 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %112, i32** %52
%113 = load i32, i32* %15
%114 = load i32*, i32** %53
%115 = call i32 @fgets(i8* %68, i32 %113, i32* %114)
%116 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%117 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %116)
%118 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%119 = call i32 @strncmp(i8* %118, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%120 = icmp ne i32 %119, 0
br i1 %120, label %122, label %121
121: ; preds = %109
br label %417
122: ; preds = %109
%123 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%124 = call i32 @strncmp(i8* %123, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 6)
%125 = icmp ne i32 %124, 0
br i1 %125, label %132, label %126
126: ; preds = %122
%127 = load i32, i32* %15
%128 = load i32*, i32** %53
%129 = call i32 @fgets(i8* %68, i32 %127, i32* %128)
%130 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%131 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %130)
br label %132
132: ; preds = %126, %122
%133 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%134 = call i32 @strncmp(i8* %133, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
%135 = icmp ne i32 %134, 0
br i1 %135, label %145, label %136
136: ; preds = %132
%137 = getelementptr inbounds [15 x i8], [15 x i8]* %48, i64 0, i64 0
%138 = load i32, i32* %4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %51, i64 0, i64 %139
%141 = load i8*, i8** %140
%142 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %68, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), i8* %137, float* %32, float* %33, float* %34, i32* %17, i8* %141, float* %39, float* %40, float* %41, float* %42)
%143 = load i32, i32* %11
%144 = add nsw i32 %143, 1
store i32 %144, i32* %11
br label %145
145: ; preds = %136, %132
store i32 0, i32* %3
br label %146
146: ; preds = %410, %145
%147 = load i32, i32* %3
%148 = icmp slt i32 %147, 160000
br i1 %148, label %149, label %413
149: ; preds = %146
%150 = load i32, i32* %15
%151 = load i32*, i32** %52
%152 = call i32 @fgets(i8* %65, i32 %150, i32* %151)
%153 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%154 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %153)
%155 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%156 = call i32 @strncmp(i8* %155, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%157 = icmp ne i32 %156, 0
br i1 %157, label %164, label %158
158: ; preds = %149
%159 = load i32, i32* %13
%160 = icmp eq i32 %159, 1
br i1 %160, label %161, label %163
161: ; preds = %158
%162 = load i32, i32* %12
store i32 %162, i32* %14
br label %413
163: ; preds = %158
br label %413
164: ; preds = %149
%165 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%166 = call i32 @strncmp(i8* %165, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 6)
%167 = icmp ne i32 %166, 0
br i1 %167, label %174, label %168
168: ; preds = %164
%169 = load i32, i32* %15
%170 = load i32*, i32** %52
%171 = call i32 @fgets(i8* %65, i32 %169, i32* %170)
%172 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%173 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %172)
br label %174
174: ; preds = %168, %164
%175 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%176 = call i32 @strncmp(i8* %175, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
%177 = icmp ne i32 %176, 0
br i1 %177, label %409, label %178
178: ; preds = %174
%179 = getelementptr inbounds [15 x i8], [15 x i8]* %47, i64 0, i64 0
%180 = load i32, i32* %2
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %181
%183 = load i8*, i8** %182
%184 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %65, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), i8* %179, float* %29, float* %30, float* %31, i32* %16, i8* %183, float* %35, float* %36, float* %37, float* %38)
%185 = load i32, i32* %16
%186 = load i32, i32* %12
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [160000 x i32], [160000 x i32]* %23, i64 0, i64 %187
store i32 %185, i32* %188
%189 = load i32, i32* %12
%190 = add nsw i32 %189, 1
store i32 %190, i32* %12
%191 = load i32, i32* %2
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %192
%194 = load i8*, i8** %193
%195 = getelementptr inbounds i8, i8* %194, i64 4
%196 = call i32 @strcmp(i8* %195, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%197 = icmp ne i32 %196, 0
br i1 %197, label %213, label %198
198: ; preds = %178
%199 = load i32, i32* %2
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %200
%202 = load i8*, i8** %201
%203 = getelementptr inbounds i8, i8* %202, i64 5
%204 = call i32 @strcmp(i8* %203, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%205 = icmp ne i32 %204, 0
br i1 %205, label %213, label %206
206: ; preds = %198
%207 = load i32, i32* %16
%208 = load i32, i32* %8
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %209
store i32 %207, i32* %210
%211 = load i32, i32* %8
%212 = add nsw i32 %211, 1
store i32 %212, i32* %8
br label %213
213: ; preds = %206, %198, %178
%214 = load i32, i32* %2
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %215
%217 = load i8*, i8** %216
%218 = getelementptr inbounds i8, i8* %217, i64 4
%219 = call i32 @strcmp(i8* %218, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%220 = icmp ne i32 %219, 0
br i1 %220, label %236, label %221
221: ; preds = %213
%222 = load i32, i32* %2
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %223
%225 = load i8*, i8** %224
%226 = getelementptr inbounds i8, i8* %225, i64 6
%227 = call i32 @strcmp(i8* %226, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%228 = icmp ne i32 %227, 0
br i1 %228, label %236, label %229
229: ; preds = %221
%230 = load i32, i32* %16
%231 = load i32, i32* %8
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %232
store i32 %230, i32* %233
%234 = load i32, i32* %8
%235 = add nsw i32 %234, 1
store i32 %235, i32* %8
br label %236
236: ; preds = %229, %221, %213
%237 = load i32, i32* %2
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %238
%240 = load i8*, i8** %239
%241 = getelementptr inbounds i8, i8* %240, i64 4
%242 = call i32 @strcmp(i8* %241, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%243 = icmp ne i32 %242, 0
br i1 %243, label %259, label %244
244: ; preds = %236
%245 = load i32, i32* %2
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %246
%248 = load i8*, i8** %247
%249 = getelementptr inbounds i8, i8* %248, i64 5
%250 = call i32 @strcmp(i8* %249, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%251 = icmp ne i32 %250, 0
br i1 %251, label %259, label %252
252: ; preds = %244
%253 = load i32, i32* %16
%254 = load i32, i32* %8
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %255
store i32 %253, i32* %256
%257 = load i32, i32* %8
%258 = add nsw i32 %257, 1
store i32 %258, i32* %8
br label %259
259: ; preds = %252, %244, %236
%260 = load i32, i32* %2
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %261
%263 = load i8*, i8** %262
%264 = getelementptr inbounds i8, i8* %263, i64 4
%265 = call i32 @strcmp(i8* %264, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%266 = icmp ne i32 %265, 0
br i1 %266, label %282, label %267
267: ; preds = %259
%268 = load i32, i32* %2
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %269
%271 = load i8*, i8** %270
%272 = getelementptr inbounds i8, i8* %271, i64 5
%273 = call i32 @strcmp(i8* %272, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%274 = icmp ne i32 %273, 0
br i1 %274, label %282, label %275
275: ; preds = %267
%276 = load i32, i32* %16
%277 = load i32, i32* %8
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %278
store i32 %276, i32* %279
%280 = load i32, i32* %8
%281 = add nsw i32 %280, 1
store i32 %281, i32* %8
br label %282
282: ; preds = %275, %267, %259
%283 = load i32, i32* %2
%284 = sext i32 %283 to i64
%285 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %284
%286 = load i8*, i8** %285
%287 = getelementptr inbounds i8, i8* %286, i64 4
%288 = call i32 @strcmp(i8* %287, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%289 = icmp ne i32 %288, 0
br i1 %289, label %305, label %290
290: ; preds = %282
%291 = load i32, i32* %2
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %292
%294 = load i8*, i8** %293
%295 = getelementptr inbounds i8, i8* %294, i64 5
%296 = call i32 @strcmp(i8* %295, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%297 = icmp ne i32 %296, 0
br i1 %297, label %305, label %298
298: ; preds = %290
%299 = load i32, i32* %16
%300 = load i32, i32* %8
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %301
store i32 %299, i32* %302
%303 = load i32, i32* %8
%304 = add nsw i32 %303, 1
store i32 %304, i32* %8
br label %305
305: ; preds = %298, %290, %282
%306 = load i32, i32* %2
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %307
%309 = load i8*, i8** %308
%310 = getelementptr inbounds i8, i8* %309, i64 4
%311 = call i32 @strcmp(i8* %310, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%312 = icmp ne i32 %311, 0
br i1 %312, label %328, label %313
313: ; preds = %305
%314 = load i32, i32* %2
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %315
%317 = load i8*, i8** %316
%318 = getelementptr inbounds i8, i8* %317, i64 6
%319 = call i32 @strcmp(i8* %318, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%320 = icmp ne i32 %319, 0
br i1 %320, label %328, label %321
321: ; preds = %313
%322 = load i32, i32* %16
%323 = load i32, i32* %8
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %324
store i32 %322, i32* %325
%326 = load i32, i32* %8
%327 = add nsw i32 %326, 1
store i32 %327, i32* %8
br label %328
328: ; preds = %321, %313, %305
%329 = load i32, i32* %2
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %330
%332 = load i8*, i8** %331
%333 = getelementptr inbounds i8, i8* %332, i64 4
%334 = call i32 @strcmp(i8* %333, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0))
%335 = icmp ne i32 %334, 0
br i1 %335, label %351, label %336
336: ; preds = %328
%337 = load i32, i32* %2
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %338
%340 = load i8*, i8** %339
%341 = getelementptr inbounds i8, i8* %340, i64 7
%342 = call i32 @strcmp(i8* %341, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%343 = icmp ne i32 %342, 0
br i1 %343, label %351, label %344
344: ; preds = %336
%345 = load i32, i32* %16
%346 = load i32, i32* %8
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %347
store i32 %345, i32* %348
%349 = load i32, i32* %8
%350 = add nsw i32 %349, 1
store i32 %350, i32* %8
br label %351
351: ; preds = %344, %336, %328
%352 = load i32, i32* %2
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %353
%355 = load i8*, i8** %354
%356 = getelementptr inbounds i8, i8* %355, i64 4
%357 = call i32 @strcmp(i8* %356, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%358 = icmp ne i32 %357, 0
br i1 %358, label %374, label %359
359: ; preds = %351
%360 = load i32, i32* %2
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %361
%363 = load i8*, i8** %362
%364 = getelementptr inbounds i8, i8* %363, i64 7
%365 = call i32 @strcmp(i8* %364, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.13, i64 0, i64 0))
%366 = icmp ne i32 %365, 0
br i1 %366, label %374, label %367
367: ; preds = %359
%368 = load i32, i32* %16
%369 = load i32, i32* %8
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %370
store i32 %368, i32* %371
%372 = load i32, i32* %8
%373 = add nsw i32 %372, 1
store i32 %373, i32* %8
br label %374
374: ; preds = %367, %359, %351
%375 = load float, float* %29
%376 = load float, float* %32
%377 = fsub float %375, %376
%378 = load float, float* %29
%379 = load float, float* %32
%380 = fsub float %378, %379
%381 = load float, float* %30
%382 = load float, float* %33
%383 = fsub float %381, %382
%384 = load float, float* %30
%385 = load float, float* %33
%386 = fsub float %384, %385
%387 = fmul float %383, %386
%388 = call float @llvm.fmuladd.f32(float %377, float %380, float %387)
%389 = load float, float* %31
%390 = load float, float* %34
%391 = fsub float %389, %390
%392 = load float, float* %31
%393 = load float, float* %34
%394 = fsub float %392, %393
%395 = call float @llvm.fmuladd.f32(float %391, float %394, float %388)
%396 = call float @sqrt(float %395)
store float %396, float* %28
%397 = load float, float* %28
%398 = load float, float* %27
%399 = fcmp olt float %397, %398
br i1 %399, label %400, label %407
400: ; preds = %374
%401 = load i32, i32* %16
%402 = load i32, i32* %10
%403 = sext i32 %402 to i64
%404 = getelementptr inbounds [160000 x i32], [160000 x i32]* %18, i64 0, i64 %403
store i32 %401, i32* %404
%405 = load i32, i32* %10
%406 = add nsw i32 %405, 1
store i32 %406, i32* %10
br label %408
407: ; preds = %374
br label %410
408: ; preds = %400
br label %409
409: ; preds = %408, %174
br label %410
410: ; preds = %409, %407
%411 = load i32, i32* %3
%412 = add nsw i32 %411, 1
store i32 %412, i32* %3
br label %146
413: ; preds = %163, %161, %146
br label %414
414: ; preds = %413
%415 = load i32, i32* %2
%416 = add nsw i32 %415, 1
store i32 %416, i32* %2
br label %106
417: ; preds = %121, %106
store i32 0, i32* %4
store i32 0, i32* %2
br label %418
418: ; preds = %449, %446, %417
%419 = load i32, i32* %2
%420 = load i32, i32* %10
%421 = icmp slt i32 %419, %420
br i1 %421, label %422, label %459
422: ; preds = %418
store i32 0, i32* %3
br label %423
423: ; preds = %439, %422
%424 = load i32, i32* %2
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds [160000 x i32], [160000 x i32]* %18, i64 0, i64 %425
%427 = load i32, i32* %426
%428 = load i32, i32* %3
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds [160000 x i32], [160000 x i32]* %19, i64 0, i64 %429
%431 = load i32, i32* %430
%432 = icmp ne i32 %427, %431
br i1 %432, label %433, label %437
433: ; preds = %423
%434 = load i32, i32* %3
%435 = load i32, i32* %4
%436 = icmp sle i32 %434, %435
br label %437
437: ; preds = %433, %423
%438 = phi i1 [ false, %423 ], [ %436, %433 ]
br i1 %438, label %439, label %442
439: ; preds = %437
%440 = load i32, i32* %3
%441 = add nsw i32 %440, 1
store i32 %441, i32* %3
br label %423
442: ; preds = %437
%443 = load i32, i32* %3
%444 = load i32, i32* %4
%445 = icmp slt i32 %443, %444
br i1 %445, label %446, label %449
446: ; preds = %442
%447 = load i32, i32* %2
%448 = add nsw i32 %447, 1
store i32 %448, i32* %2
br label %418
449: ; preds = %442
%450 = load i32, i32* %2
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds [160000 x i32], [160000 x i32]* %18, i64 0, i64 %451
%453 = load i32, i32* %452
%454 = load i32, i32* %4
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds [160000 x i32], [160000 x i32]* %19, i64 0, i64 %455
store i32 %453, i32* %456
%457 = load i32, i32* %4
%458 = add nsw i32 %457, 1
store i32 %458, i32* %4
br label %418
459: ; preds = %418
store i32 0, i32* %2
br label %460
460: ; preds = %478, %459
%461 = load i32, i32* %2
%462 = load i32, i32* %4
%463 = icmp slt i32 %461, %462
br i1 %463, label %464, label %481
464: ; preds = %460
%465 = load i32, i32* %2
%466 = sext i32 %465 to i64
%467 = getelementptr inbounds [160000 x i32], [160000 x i32]* %19, i64 0, i64 %466
%468 = load i32, i32* %467
%469 = call i32 @div(i32 %468, i32 100)
%470 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %57, i32 0, i32 0
store i32 %469, i32* %470
%471 = bitcast %struct.TYPE_3__* %56 to i8*
%472 = bitcast %struct.TYPE_3__* %57 to i8*
%473 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %56, i32 0, i32 0
%474 = load i32, i32* %473
%475 = load i32, i32* %2
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds [160000 x i32], [160000 x i32]* %24, i64 0, i64 %476
store i32 %474, i32* %477
br label %478
478: ; preds = %464
%479 = load i32, i32* %2
%480 = add nsw i32 %479, 1
store i32 %480, i32* %2
br label %460
481: ; preds = %460
store i32 0, i32* %4
store i32 0, i32* %2
br label %482
482: ; preds = %513, %510, %481
%483 = load i32, i32* %2
%484 = load i32, i32* %10
%485 = icmp slt i32 %483, %484
br i1 %485, label %486, label %523
486: ; preds = %482
store i32 0, i32* %3
br label %487
487: ; preds = %503, %486
%488 = load i32, i32* %2
%489 = sext i32 %488 to i64
%490 = getelementptr inbounds [160000 x i32], [160000 x i32]* %24, i64 0, i64 %489
%491 = load i32, i32* %490
%492 = load i32, i32* %3
%493 = sext i32 %492 to i64
%494 = getelementptr inbounds [160000 x i32], [160000 x i32]* %25, i64 0, i64 %493
%495 = load i32, i32* %494
%496 = icmp ne i32 %491, %495
br i1 %496, label %497, label %501
497: ; preds = %487
%498 = load i32, i32* %3
%499 = load i32, i32* %4
%500 = icmp sle i32 %498, %499
br label %501
501: ; preds = %497, %487
%502 = phi i1 [ false, %487 ], [ %500, %497 ]
br i1 %502, label %503, label %506
503: ; preds = %501
%504 = load i32, i32* %3
%505 = add nsw i32 %504, 1
store i32 %505, i32* %3
br label %487
506: ; preds = %501
%507 = load i32, i32* %3
%508 = load i32, i32* %4
%509 = icmp slt i32 %507, %508
br i1 %509, label %510, label %513
510: ; preds = %506
%511 = load i32, i32* %2
%512 = add nsw i32 %511, 1
store i32 %512, i32* %2
br label %482
513: ; preds = %506
%514 = load i32, i32* %2
%515 = sext i32 %514 to i64
%516 = getelementptr inbounds [160000 x i32], [160000 x i32]* %24, i64 0, i64 %515
%517 = load i32, i32* %516
%518 = load i32, i32* %4
%519 = sext i32 %518 to i64
%520 = getelementptr inbounds [160000 x i32], [160000 x i32]* %25, i64 0, i64 %519
store i32 %517, i32* %520
%521 = load i32, i32* %4
%522 = add nsw i32 %521, 1
store i32 %522, i32* %4
br label %482
523: ; preds = %482
%524 = load i32, i32* %4
%525 = sub nsw i32 %524, 1
store i32 %525, i32* %5
%526 = getelementptr inbounds [160000 x i32], [160000 x i32]* %25, i64 0, i64 0
%527 = load i32, i32* %5
%528 = call i32 @bubble_sort(i32* %526, i32 %527)
store i32 0, i32* %4
store i32 0, i32* %2
br label %529
529: ; preds = %560, %557, %523
%530 = load i32, i32* %2
%531 = load i32, i32* %10
%532 = icmp slt i32 %530, %531
br i1 %532, label %533, label %570
533: ; preds = %529
store i32 0, i32* %3
br label %534
534: ; preds = %550, %533
%535 = load i32, i32* %2
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %536
%538 = load i32, i32* %537
%539 = load i32, i32* %3
%540 = sext i32 %539 to i64
%541 = getelementptr inbounds [160000 x i32], [160000 x i32]* %21, i64 0, i64 %540
%542 = load i32, i32* %541
%543 = icmp ne i32 %538, %542
br i1 %543, label %544, label %548
544: ; preds = %534
%545 = load i32, i32* %3
%546 = load i32, i32* %4
%547 = icmp sle i32 %545, %546
br label %548
548: ; preds = %544, %534
%549 = phi i1 [ false, %534 ], [ %547, %544 ]
br i1 %549, label %550, label %553
550: ; preds = %548
%551 = load i32, i32* %3
%552 = add nsw i32 %551, 1
store i32 %552, i32* %3
br label %534
553: ; preds = %548
%554 = load i32, i32* %3
%555 = load i32, i32* %4
%556 = icmp slt i32 %554, %555
br i1 %556, label %557, label %560
557: ; preds = %553
%558 = load i32, i32* %2
%559 = add nsw i32 %558, 1
store i32 %559, i32* %2
br label %529
560: ; preds = %553
%561 = load i32, i32* %2
%562 = sext i32 %561 to i64
%563 = getelementptr inbounds [160000 x i32], [160000 x i32]* %20, i64 0, i64 %562
%564 = load i32, i32* %563
%565 = load i32, i32* %4
%566 = sext i32 %565 to i64
%567 = getelementptr inbounds [160000 x i32], [160000 x i32]* %21, i64 0, i64 %566
store i32 %564, i32* %567
%568 = load i32, i32* %4
%569 = add nsw i32 %568, 1
store i32 %569, i32* %4
br label %529
570: ; preds = %529
%571 = load i32, i32* %4
%572 = sub nsw i32 %571, 1
store i32 %572, i32* %12
%573 = getelementptr inbounds [160000 x i32], [160000 x i32]* %21, i64 0, i64 0
%574 = load i32, i32* %12
%575 = call i32 @bubble_sort(i32* %573, i32 %574)
store i32 0, i32* %9
store i32 0, i32* %2
br label %576
576: ; preds = %617, %570
%577 = load i32, i32* %2
%578 = load i32, i32* %5
%579 = icmp slt i32 %577, %578
br i1 %579, label %580, label %620
580: ; preds = %576
store i32 0, i32* %3
br label %581
581: ; preds = %613, %580
%582 = load i32, i32* %3
%583 = load i32, i32* %12
%584 = icmp slt i32 %582, %583
br i1 %584, label %585, label %616
585: ; preds = %581
%586 = load i32, i32* %3
%587 = sext i32 %586 to i64
%588 = getelementptr inbounds [160000 x i32], [160000 x i32]* %21, i64 0, i64 %587
%589 = load i32, i32* %588
%590 = call i32 @div(i32 %589, i32 100)
%591 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %59, i32 0, i32 0
store i32 %590, i32* %591
%592 = bitcast %struct.TYPE_3__* %58 to i8*
%593 = bitcast %struct.TYPE_3__* %59 to i8*
%594 = load i32, i32* %2
%595 = sext i32 %594 to i64
%596 = getelementptr inbounds [160000 x i32], [160000 x i32]* %25, i64 0, i64 %595
%597 = load i32, i32* %596
%598 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %58, i32 0, i32 0
%599 = load i32, i32* %598
%600 = icmp eq i32 %597, %599
br i1 %600, label %601, label %611
601: ; preds = %585
%602 = load i32, i32* %3
%603 = sext i32 %602 to i64
%604 = getelementptr inbounds [160000 x i32], [160000 x i32]* %21, i64 0, i64 %603
%605 = load i32, i32* %604
%606 = load i32, i32* %9
%607 = sext i32 %606 to i64
%608 = getelementptr inbounds [160000 x i32], [160000 x i32]* %22, i64 0, i64 %607
store i32 %605, i32* %608
%609 = load i32, i32* %9
%610 = add nsw i32 %609, 1
store i32 %610, i32* %9
br label %612
611: ; preds = %585
br label %613
612: ; preds = %601
br label %613
613: ; preds = %612, %611
%614 = load i32, i32* %3
%615 = add nsw i32 %614, 1
store i32 %615, i32* %3
br label %581
616: ; preds = %581
br label %617
617: ; preds = %616
%618 = load i32, i32* %2
%619 = add nsw i32 %618, 1
store i32 %619, i32* %2
br label %576
620: ; preds = %576
store i32 0, i32* %6
store i32 0, i32* %8
store i32 0, i32* %2
br label %621
621: ; preds = %675, %620
%622 = load i32, i32* %2
%623 = load i32, i32* %5
%624 = icmp slt i32 %622, %623
br i1 %624, label %625, label %678
625: ; preds = %621
store i32 0, i32* %3
br label %626
626: ; preds = %671, %625
%627 = load i32, i32* %3
%628 = load i32, i32* %14
%629 = icmp slt i32 %627, %628
br i1 %629, label %630, label %674
630: ; preds = %626
%631 = load i32, i32* %3
%632 = sext i32 %631 to i64
%633 = getelementptr inbounds [160000 x i32], [160000 x i32]* %23, i64 0, i64 %632
%634 = load i32, i32* %633
%635 = call i32 @div(i32 %634, i32 100)
%636 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %61, i32 0, i32 0
store i32 %635, i32* %636
%637 = bitcast %struct.TYPE_3__* %60 to i8*
%638 = bitcast %struct.TYPE_3__* %61 to i8*
%639 = load i32, i32* %2
%640 = sext i32 %639 to i64
%641 = getelementptr inbounds [160000 x i32], [160000 x i32]* %25, i64 0, i64 %640
%642 = load i32, i32* %641
%643 = getelementptr inbounds %struct.TYPE_3__, %struct.TYPE_3__* %60, i32 0, i32 0
%644 = load i32, i32* %643
%645 = icmp eq i32 %642, %644
br i1 %645, label %646, label %669
646: ; preds = %630
%647 = load i32, i32* %8
%648 = sext i32 %647 to i64
%649 = getelementptr inbounds [160000 x i32], [160000 x i32]* %22, i64 0, i64 %648
%650 = load i32, i32* %649
%651 = load i32, i32* %3
%652 = sext i32 %651 to i64
%653 = getelementptr inbounds [160000 x i32], [160000 x i32]* %23, i64 0, i64 %652
%654 = load i32, i32* %653
%655 = icmp eq i32 %650, %654
br i1 %655, label %656, label %659
656: ; preds = %646
%657 = load i32, i32* %8
%658 = add nsw i32 %657, 1
store i32 %658, i32* %8
br label %671
659: ; preds = %646
%660 = load i32, i32* %3
%661 = sext i32 %660 to i64
%662 = getelementptr inbounds [160000 x i32], [160000 x i32]* %23, i64 0, i64 %661
%663 = load i32, i32* %662
%664 = load i32, i32* %6
%665 = sext i32 %664 to i64
%666 = getelementptr inbounds [160000 x i32], [160000 x i32]* %26, i64 0, i64 %665
store i32 %663, i32* %666
%667 = load i32, i32* %6
%668 = add nsw i32 %667, 1
store i32 %668, i32* %6
br label %670
669: ; preds = %630
br label %671
670: ; preds = %659
br label %671
671: ; preds = %670, %669, %656
%672 = load i32, i32* %3
%673 = add nsw i32 %672, 1
store i32 %673, i32* %3
br label %626
674: ; preds = %626
br label %675
675: ; preds = %674
%676 = load i32, i32* %2
%677 = add nsw i32 %676, 1
store i32 %677, i32* %2
br label %621
678: ; preds = %621
store i32 0, i32* %3
br label %679
679: ; preds = %690, %678
%680 = load i32, i32* %3
%681 = load i32, i32* %11
%682 = icmp slt i32 %680, %681
br i1 %682, label %683, label %693
683: ; preds = %679
%684 = load i32*, i32** %54
%685 = load i32, i32* %3
%686 = add nsw i32 1000000, %685
%687 = load i32, i32* %3
%688 = add nsw i32 1000000, %687
%689 = call i32 @fprintf(i32* %684, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32 %686, i32 %688, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
br label %690
690: ; preds = %683
%691 = load i32, i32* %3
%692 = add nsw i32 %691, 1
store i32 %692, i32* %3
br label %679
693: ; preds = %679
store i32 0, i32* %2
br label %694
694: ; preds = %709, %693
%695 = load i32, i32* %2
%696 = load i32, i32* %6
%697 = icmp slt i32 %695, %696
br i1 %697, label %698, label %712
698: ; preds = %694
%699 = load i32*, i32** %54
%700 = load i32, i32* %2
%701 = sext i32 %700 to i64
%702 = getelementptr inbounds [160000 x i32], [160000 x i32]* %26, i64 0, i64 %701
%703 = load i32, i32* %702
%704 = load i32, i32* %2
%705 = sext i32 %704 to i64
%706 = getelementptr inbounds [160000 x i32], [160000 x i32]* %26, i64 0, i64 %705
%707 = load i32, i32* %706
%708 = call i32 @fprintf(i32* %699, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32 %703, i32 %707, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
br label %709
709: ; preds = %698
%710 = load i32, i32* %2
%711 = add nsw i32 %710, 1
store i32 %711, i32* %2
br label %694
712: ; preds = %694
store i32 0, i32* %2
br label %713
713: ; preds = %727, %712
%714 = load i32, i32* %2
%715 = icmp slt i32 %714, 160000
br i1 %715, label %716, label %730
716: ; preds = %713
%717 = load i32, i32* %2
%718 = sext i32 %717 to i64
%719 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %50, i64 0, i64 %718
%720 = load i8*, i8** %719
%721 = call i32 @free(i8* %720)
%722 = load i32, i32* %2
%723 = sext i32 %722 to i64
%724 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %51, i64 0, i64 %723
%725 = load i8*, i8** %724
%726 = call i32 @free(i8* %725)
br label %727
727: ; preds = %716
%728 = load i32, i32* %2
%729 = add nsw i32 %728, 1
store i32 %729, i32* %2
br label %713
730: ; preds = %713
%731 = load i32*, i32** %52
%732 = call i32 @fclose(i32* %731)
%733 = load i32*, i32** %53
%734 = call i32 @fclose(i32* %733)
%735 = load i32*, i32** %54
%736 = call i32 @fclose(i32* %735)
%737 = load i32*, i32** %55
%738 = call i32 @fclose(i32* %737)
%739 = load i8*, i8** %43
%740 = load i32, i32* %1
ret i32 %740
}

LLVM IR (-O2):
@.str = [18 x i8] c"input_ligand.ammp\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [12 x i8] c"active.ammp\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [11 x i8] c"param.temp\00"
@.str.5 = [6 x i8] c"%s %f\00"
@.str.6 = [13 x i8] c"protein.ammp\00"
@.str.7 = [3 x i8] c"%s\00"
@.str.8 = [5 x i8] c"bond\00"
@.str.9 = [7 x i8] c"mompar\00"
@.str.10 = [5 x i8] c"atom\00"
@.str.11 = [30 x i8] c"%s %f %f %f %i %s %f %f %f %f\00"
@.str.12 = [2 x i8] c"n\00"
@.str.14 = [3 x i8] c"ca\00"
@.str.15 = [2 x i8] c"c\00"
@.str.16 = [2 x i8] c"o\00"
@.str.17 = [2 x i8] c"h\00"
@.str.18 = [3 x i8] c"ha\00"
@.str.19 = [4 x i8] c"1ha\00"
@.str.20 = [4 x i8] c"2ha\00"
@.str.21 = [12 x i8] c"%s %i %i%s\0A\00"
@.str.22 = [7 x i8] c"active\00"
@.str.23 = [2 x i8] c";\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [160000 x i32]
%4 = alloca [160000 x i32]
%5 = alloca [160000 x i32]
%6 = alloca [160000 x i32]
%7 = alloca [160000 x i32]
%8 = alloca [160000 x i32]
%9 = alloca [160000 x i32]
%10 = alloca [160000 x i32]
%11 = alloca [160000 x i32]
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
%27 = alloca [15 x i8]
%28 = alloca [15 x i8]
%29 = alloca [15 x i8]
%30 = alloca [160000 x i8*]
%31 = alloca [160000 x i8*]
%32 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%33 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%34 = bitcast [160000 x i32]* %3 to i8*
%35 = bitcast [160000 x i32]* %4 to i8*
%36 = bitcast [160000 x i32]* %5 to i8*
%37 = bitcast [160000 x i32]* %6 to i8*
%38 = bitcast [160000 x i32]* %7 to i8*
%39 = bitcast [160000 x i32]* %8 to i8*
%40 = bitcast [160000 x i32]* %9 to i8*
%41 = bitcast [160000 x i32]* %10 to i8*
%42 = bitcast [160000 x i32]* %11 to i8*
%43 = bitcast float* %12 to i8*
store float 0.000000e+00, float* %12
%44 = bitcast float* %13 to i8*
%45 = bitcast float* %14 to i8*
%46 = bitcast float* %15 to i8*
%47 = bitcast float* %16 to i8*
%48 = bitcast float* %17 to i8*
%49 = bitcast float* %18 to i8*
%50 = bitcast float* %19 to i8*
%51 = bitcast float* %20 to i8*
%52 = bitcast float* %21 to i8*
%53 = bitcast float* %22 to i8*
%54 = bitcast float* %23 to i8*
%55 = bitcast float* %24 to i8*
%56 = bitcast float* %25 to i8*
%57 = bitcast float* %26 to i8*
%58 = tail call i8* @llvm.stacksave()
%59 = alloca [1000 x i8]
%60 = alloca [1000 x i8]
%61 = alloca [1000 x i8]
%62 = getelementptr inbounds [1000 x i8], [1000 x i8]* %60, i64 0, i64 0
%63 = getelementptr inbounds [15 x i8], [15 x i8]* %27, i64 0, i64 0
%64 = getelementptr inbounds [15 x i8], [15 x i8]* %28, i64 0, i64 0
%65 = getelementptr inbounds [15 x i8], [15 x i8]* %29, i64 0, i64 0
%66 = bitcast [160000 x i8*]* %30 to i8*
%67 = bitcast [160000 x i8*]* %31 to i8*
br label %68
68: ; preds = %0, %68
%69 = phi i64 [ 0, %0 ], [ %76, %68 ]
%70 = tail call i64 @malloc(i32 15)
%71 = inttoptr i64 %70 to i8*
%72 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %30, i64 0, i64 %69
store i8* %71, i8** %72
%73 = tail call i64 @malloc(i32 15)
%74 = inttoptr i64 %73 to i8*
%75 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %31, i64 0, i64 %69
store i8* %74, i8** %75
%76 = add nuw nsw i64 %69, 1
%77 = icmp eq i64 %76, 160000
br i1 %77, label %78, label %68
78: ; preds = %68
%79 = getelementptr inbounds [1000 x i8], [1000 x i8]* %61, i64 0, i64 0
%80 = tail call i32* @fopen(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%81 = tail call i32* @fopen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%82 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%83 = call i32 @fgets(i8* %79, i32 1000, i32* %82)
%84 = call i32 @fgets(i8* %79, i32 1000, i32* %82)
%85 = call i32 @fgets(i8* %79, i32 1000, i32* %82)
%86 = call i32 @fgets(i8* %79, i32 1000, i32* %82)
%87 = call i32 @fgets(i8* %79, i32 1000, i32* %82)
%88 = getelementptr inbounds [1000 x i8], [1000 x i8]* %59, i64 0, i64 0
%89 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %79, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %65, float* %12)
%90 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %31, i64 0, i64 0
%91 = load i8*, i8** %90
br label %92
92: ; preds = %78, %272
%93 = phi i64 [ 0, %78 ], [ %100, %272 ]
%94 = phi i32 [ 0, %78 ], [ %275, %272 ]
%95 = phi i32 [ 0, %78 ], [ %274, %272 ]
%96 = phi i32 [ 0, %78 ], [ %119, %272 ]
%97 = phi i32 [ 0, %78 ], [ %273, %272 ]
%98 = phi i32 [ 0, %78 ], [ %276, %272 ]
%99 = trunc i64 %93 to i32
%100 = add nuw nsw i64 %93, 1
%101 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%102 = call i32 @fgets(i8* %62, i32 1000, i32* %80)
%103 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %64)
%104 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%105 = icmp eq i32 %104, 0
br i1 %105, label %278, label %106
106: ; preds = %92
%107 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 6)
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %112
109: ; preds = %106
%110 = call i32 @fgets(i8* %62, i32 1000, i32* %80)
%111 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %64)
br label %112
112: ; preds = %109, %106
%113 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
%114 = icmp eq i32 %113, 0
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %62, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), i8* %64, float* %16, float* %17, float* %18, i32* %2, i8* %91, float* %23, float* %24, float* %25, float* %26)
%117 = add nsw i32 %96, 1
br label %118
118: ; preds = %115, %112
%119 = phi i32 [ %96, %112 ], [ %117, %115 ]
%120 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %30, i64 0, i64 %93
br label %121
121: ; preds = %118, %266
%122 = phi i32 [ 0, %118 ], [ %270, %266 ]
%123 = phi i32 [ %94, %118 ], [ %269, %266 ]
%124 = phi i32 [ %95, %118 ], [ %268, %266 ]
%125 = phi i32 [ %97, %118 ], [ %267, %266 ]
%126 = call i32 @fgets(i8* %88, i32 1000, i32* %101)
%127 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %88, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %63)
%128 = call i32 @strncmp(i8* %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%129 = icmp eq i32 %128, 0
br i1 %129, label %130, label %133
130: ; preds = %121
%131 = icmp eq i32 %99, 0
%132 = select i1 %131, i32 %125, i32 %98
br label %272
133: ; preds = %121
%134 = call i32 @strncmp(i8* %63, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 6)
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = call i32 @fgets(i8* %88, i32 1000, i32* %101)
%138 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %88, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %63)
br label %139
139: ; preds = %136, %133
%140 = call i32 @strncmp(i8* %63, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
%141 = icmp eq i32 %140, 0
br i1 %141, label %142, label %266
142: ; preds = %139
%143 = load i8*, i8** %120
%144 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %88, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), i8* %63, float* %13, float* %14, float* %15, i32* %1, i8* %143, float* %19, float* %20, float* %21, float* %22)
%145 = load i32, i32* %1
%146 = sext i32 %125 to i64
%147 = getelementptr inbounds [160000 x i32], [160000 x i32]* %8, i64 0, i64 %146
store i32 %145, i32* %147
%148 = add nsw i32 %125, 1
%149 = getelementptr inbounds i8, i8* %143, i64 4
%150 = call i32 @strcmp(i8* %149, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%151 = icmp eq i32 %150, 0
br i1 %151, label %152, label %160
152: ; preds = %142
%153 = getelementptr inbounds i8, i8* %143, i64 5
%154 = load i8, i8* %153
%155 = icmp eq i8 %154, 0
br i1 %155, label %156, label %160
156: ; preds = %152
%157 = sext i32 %123 to i64
%158 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %157
store i32 %145, i32* %158
%159 = add nsw i32 %123, 1
br label %160
160: ; preds = %156, %152, %142
%161 = phi i32 [ %123, %142 ], [ %123, %152 ], [ %159, %156 ]
%162 = call i32 @strcmp(i8* %149, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%163 = icmp eq i32 %162, 0
br i1 %163, label %164, label %172
164: ; preds = %160
%165 = getelementptr inbounds i8, i8* %143, i64 6
%166 = load i8, i8* %165
%167 = icmp eq i8 %166, 0
br i1 %167, label %168, label %172
168: ; preds = %164
%169 = sext i32 %161 to i64
%170 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %169
store i32 %145, i32* %170
%171 = add nsw i32 %161, 1
br label %172
172: ; preds = %168, %164, %160
%173 = phi i32 [ %161, %160 ], [ %161, %164 ], [ %171, %168 ]
%174 = call i32 @strcmp(i8* %149, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%175 = icmp eq i32 %174, 0
br i1 %175, label %176, label %184
176: ; preds = %172
%177 = getelementptr inbounds i8, i8* %143, i64 5
%178 = load i8, i8* %177
%179 = icmp eq i8 %178, 0
br i1 %179, label %180, label %184
180: ; preds = %176
%181 = sext i32 %173 to i64
%182 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %181
store i32 %145, i32* %182
%183 = add nsw i32 %173, 1
br label %184
184: ; preds = %180, %176, %172
%185 = phi i32 [ %173, %172 ], [ %173, %176 ], [ %183, %180 ]
%186 = call i32 @strcmp(i8* %149, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%187 = icmp eq i32 %186, 0
br i1 %187, label %188, label %196
188: ; preds = %184
%189 = getelementptr inbounds i8, i8* %143, i64 5
%190 = load i8, i8* %189
%191 = icmp eq i8 %190, 0
br i1 %191, label %192, label %196
192: ; preds = %188
%193 = sext i32 %185 to i64
%194 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %193
store i32 %145, i32* %194
%195 = add nsw i32 %185, 1
br label %196
196: ; preds = %192, %188, %184
%197 = phi i32 [ %185, %184 ], [ %185, %188 ], [ %195, %192 ]
%198 = call i32 @strcmp(i8* %149, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%199 = icmp eq i32 %198, 0
br i1 %199, label %200, label %208
200: ; preds = %196
%201 = getelementptr inbounds i8, i8* %143, i64 5
%202 = load i8, i8* %201
%203 = icmp eq i8 %202, 0
br i1 %203, label %204, label %208
204: ; preds = %200
%205 = sext i32 %197 to i64
%206 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %205
store i32 %145, i32* %206
%207 = add nsw i32 %197, 1
br label %208
208: ; preds = %204, %200, %196
%209 = phi i32 [ %197, %196 ], [ %197, %200 ], [ %207, %204 ]
%210 = call i32 @strcmp(i8* %149, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0))
%211 = icmp eq i32 %210, 0
br i1 %211, label %212, label %220
212: ; preds = %208
%213 = getelementptr inbounds i8, i8* %143, i64 6
%214 = load i8, i8* %213
%215 = icmp eq i8 %214, 0
br i1 %215, label %216, label %220
216: ; preds = %212
%217 = sext i32 %209 to i64
%218 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %217
store i32 %145, i32* %218
%219 = add nsw i32 %209, 1
br label %220
220: ; preds = %216, %212, %208
%221 = phi i32 [ %209, %208 ], [ %209, %212 ], [ %219, %216 ]
%222 = call i32 @strcmp(i8* %149, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0))
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %232
224: ; preds = %220
%225 = getelementptr inbounds i8, i8* %143, i64 7
%226 = load i8, i8* %225
%227 = icmp eq i8 %226, 0
br i1 %227, label %228, label %232
228: ; preds = %224
%229 = sext i32 %221 to i64
%230 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %229
store i32 %145, i32* %230
%231 = add nsw i32 %221, 1
br label %232
232: ; preds = %228, %224, %220
%233 = phi i32 [ %221, %220 ], [ %221, %224 ], [ %231, %228 ]
%234 = call i32 @strcmp(i8* %149, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%235 = icmp eq i32 %234, 0
br i1 %235, label %236, label %244
236: ; preds = %232
%237 = getelementptr inbounds i8, i8* %143, i64 7
%238 = load i8, i8* %237
%239 = icmp eq i8 %238, 0
br i1 %239, label %240, label %244
240: ; preds = %236
%241 = sext i32 %233 to i64
%242 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %241
store i32 %145, i32* %242
%243 = add nsw i32 %233, 1
br label %244
244: ; preds = %240, %236, %232
%245 = phi i32 [ %233, %232 ], [ %233, %236 ], [ %243, %240 ]
%246 = load float, float* %13
%247 = load float, float* %16
%248 = fsub float %246, %247
%249 = load float, float* %14
%250 = load float, float* %17
%251 = fsub float %249, %250
%252 = fmul float %251, %251
%253 = call float @llvm.fmuladd.f32(float %248, float %248, float %252)
%254 = load float, float* %15
%255 = load float, float* %18
%256 = fsub float %254, %255
%257 = call float @llvm.fmuladd.f32(float %256, float %256, float %253)
%258 = call float @sqrt(float %257)
%259 = load float, float* %12
%260 = fcmp olt float %258, %259
br i1 %260, label %261, label %266
261: ; preds = %244
%262 = load i32, i32* %1
%263 = sext i32 %124 to i64
%264 = getelementptr inbounds [160000 x i32], [160000 x i32]* %3, i64 0, i64 %263
store i32 %262, i32* %264
%265 = add nsw i32 %124, 1
br label %266
266: ; preds = %139, %261, %244
%267 = phi i32 [ %125, %139 ], [ %148, %261 ], [ %148, %244 ]
%268 = phi i32 [ %124, %139 ], [ %265, %261 ], [ %124, %244 ]
%269 = phi i32 [ %123, %139 ], [ %245, %261 ], [ %245, %244 ]
%270 = add nuw nsw i32 %122, 1
%271 = icmp eq i32 %270, 160000
br i1 %271, label %272, label %121
272: ; preds = %266, %130
%273 = phi i32 [ %125, %130 ], [ %267, %266 ]
%274 = phi i32 [ %124, %130 ], [ %268, %266 ]
%275 = phi i32 [ %123, %130 ], [ %269, %266 ]
%276 = phi i32 [ %132, %130 ], [ %98, %266 ]
%277 = icmp eq i64 %100, 200
br i1 %277, label %278, label %92
278: ; preds = %92, %272
%279 = phi i32 [ %98, %92 ], [ %276, %272 ]
%280 = phi i32 [ %96, %92 ], [ %119, %272 ]
%281 = phi i32 [ %95, %92 ], [ %274, %272 ]
%282 = icmp sgt i32 %281, 0
br i1 %282, label %283, label %358
283: ; preds = %278
%284 = zext i32 %281 to i64
br label %285
285: ; preds = %283, %314
%286 = phi i64 [ 0, %283 ], [ %317, %314 ]
%287 = phi i64 [ 0, %283 ], [ %291, %314 ]
%288 = shl i64 %287, 32
%289 = ashr exact i64 %288, 32
br label %290
290: ; preds = %285, %311
%291 = phi i64 [ %289, %285 ], [ %312, %311 ]
%292 = getelementptr inbounds [160000 x i32], [160000 x i32]* %3, i64 0, i64 %291
%293 = load i32, i32* %292
br label %300
294: ; preds = %314, %311
%295 = phi i64 [ %286, %311 ], [ %317, %314 ]
%296 = trunc i64 %295 to i32
%297 = icmp sgt i32 %296, 0
br i1 %297, label %298, label %319
298: ; preds = %294
%299 = and i64 %295, 4294967295
br label %322
300: ; preds = %300, %290
%301 = phi i64 [ %307, %300 ], [ 0, %290 ]
%302 = getelementptr inbounds [160000 x i32], [160000 x i32]* %4, i64 0, i64 %301
%303 = load i32, i32* %302
%304 = icmp ne i32 %293, %303
%305 = icmp ule i64 %301, %286
%306 = select i1 %304, i1 %305, i1 false
%307 = add nuw nsw i64 %301, 1
br i1 %306, label %300, label %308
308: ; preds = %300
%309 = and i64 %301, 4294967295
%310 = icmp ult i64 %309, %286
br i1 %310, label %311, label %314
311: ; preds = %308
%312 = add nsw i64 %291, 1
%313 = icmp slt i64 %312, %284
br i1 %313, label %290, label %294
314: ; preds = %308
%315 = trunc i64 %291 to i32
%316 = getelementptr inbounds [160000 x i32], [160000 x i32]* %4, i64 0, i64 %286
store i32 %293, i32* %316
%317 = add nuw i64 %286, 1
%318 = icmp sgt i32 %281, %315
br i1 %318, label %285, label %294
319: ; preds = %322, %294
br i1 %282, label %320, label %358
320: ; preds = %319
%321 = zext i32 %281 to i64
br label %353
322: ; preds = %298, %322
%323 = phi i64 [ 0, %298 ], [ %328, %322 ]
%324 = getelementptr inbounds [160000 x i32], [160000 x i32]* %4, i64 0, i64 %323
%325 = load i32, i32* %324
%326 = call i32 @div(i32 %325, i32 100)
%327 = getelementptr inbounds [160000 x i32], [160000 x i32]* %9, i64 0, i64 %323
store i32 %326, i32* %327
%328 = add nuw nsw i64 %323, 1
%329 = icmp eq i64 %328, %299
br i1 %329, label %319, label %322
330: ; preds = %353, %345
%331 = phi i64 [ %357, %353 ], [ %346, %345 ]
%332 = getelementptr inbounds [160000 x i32], [160000 x i32]* %9, i64 0, i64 %331
%333 = load i32, i32* %332
br label %334
334: ; preds = %334, %330
%335 = phi i64 [ %341, %334 ], [ 0, %330 ]
%336 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 %335
%337 = load i32, i32* %336
%338 = icmp ne i32 %333, %337
%339 = icmp ule i64 %335, %354
%340 = select i1 %338, i1 %339, i1 false
%341 = add nuw nsw i64 %335, 1
br i1 %340, label %334, label %342
342: ; preds = %334
%343 = and i64 %335, 4294967295
%344 = icmp ult i64 %343, %354
br i1 %344, label %345, label %348
345: ; preds = %342
%346 = add nsw i64 %331, 1
%347 = icmp slt i64 %346, %321
br i1 %347, label %330, label %363
348: ; preds = %342
%349 = trunc i64 %331 to i32
%350 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 %354
store i32 %333, i32* %350
%351 = add nuw i64 %354, 1
%352 = icmp sgt i32 %281, %349
br i1 %352, label %353, label %363
353: ; preds = %320, %348
%354 = phi i64 [ 0, %320 ], [ %351, %348 ]
%355 = phi i64 [ 0, %320 ], [ %331, %348 ]
%356 = shl i64 %355, 32
%357 = ashr exact i64 %356, 32
br label %330
358: ; preds = %278, %319
%359 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 0
%360 = call i32 @bubble_sort(i32* %359, i32 -1)
%361 = getelementptr inbounds [160000 x i32], [160000 x i32]* %6, i64 0, i64 0
%362 = call i32 @bubble_sort(i32* %361, i32 -1)
br label %450
363: ; preds = %348, %345
%364 = phi i64 [ %354, %345 ], [ %351, %348 ]
%365 = trunc i64 %364 to i32
%366 = add nsw i32 %365, -1
%367 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 0
%368 = call i32 @bubble_sort(i32* %367, i32 %366)
br i1 %282, label %369, label %403
369: ; preds = %363
%370 = zext i32 %281 to i64
br label %371
371: ; preds = %369, %394
%372 = phi i64 [ 0, %369 ], [ %397, %394 ]
%373 = phi i64 [ 0, %369 ], [ %377, %394 ]
%374 = shl i64 %373, 32
%375 = ashr exact i64 %374, 32
br label %376
376: ; preds = %371, %391
%377 = phi i64 [ %375, %371 ], [ %392, %391 ]
%378 = getelementptr inbounds [160000 x i32], [160000 x i32]* %5, i64 0, i64 %377
%379 = load i32, i32* %378
br label %380
380: ; preds = %380, %376
%381 = phi i64 [ %387, %380 ], [ 0, %376 ]
%382 = getelementptr inbounds [160000 x i32], [160000 x i32]* %6, i64 0, i64 %381
%383 = load i32, i32* %382
%384 = icmp ne i32 %379, %383
%385 = icmp ule i64 %381, %372
%386 = select i1 %384, i1 %385, i1 false
%387 = add nuw nsw i64 %381, 1
br i1 %386, label %380, label %388
388: ; preds = %380
%389 = and i64 %381, 4294967295
%390 = icmp ult i64 %389, %372
br i1 %390, label %391, label %394
391: ; preds = %388
%392 = add nsw i64 %377, 1
%393 = icmp slt i64 %392, %370
br i1 %393, label %376, label %399
394: ; preds = %388
%395 = trunc i64 %377 to i32
%396 = getelementptr inbounds [160000 x i32], [160000 x i32]* %6, i64 0, i64 %372
store i32 %379, i32* %396
%397 = add nuw i64 %372, 1
%398 = icmp sgt i32 %281, %395
br i1 %398, label %371, label %401
399: ; preds = %391
%400 = trunc i64 %372 to i32
br label %403
401: ; preds = %394
%402 = trunc i64 %397 to i32
br label %403
403: ; preds = %401, %399, %363
%404 = phi i32 [ 0, %363 ], [ %400, %399 ], [ %402, %401 ]
%405 = add nsw i32 %404, -1
%406 = getelementptr inbounds [160000 x i32], [160000 x i32]* %6, i64 0, i64 0
%407 = call i32 @bubble_sort(i32* %406, i32 %405)
%408 = icmp sgt i32 %365, 1
br i1 %408, label %409, label %450
409: ; preds = %403
%410 = icmp sgt i32 %404, 1
%411 = zext i32 %366 to i64
%412 = zext i32 %405 to i64
br label %413
413: ; preds = %409, %440
%414 = phi i64 [ 0, %409 ], [ %442, %440 ]
%415 = phi i32 [ 0, %409 ], [ %441, %440 ]
br i1 %410, label %416, label %440
416: ; preds = %413
%417 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 %414
br label %423
418: ; preds = %440
br i1 %408, label %419, label %450
419: ; preds = %418
%420 = icmp sgt i32 %279, 0
%421 = zext i32 %366 to i64
%422 = zext i32 %279 to i64
br label %444
423: ; preds = %416, %436
%424 = phi i64 [ 0, %416 ], [ %438, %436 ]
%425 = phi i32 [ %415, %416 ], [ %437, %436 ]
%426 = getelementptr inbounds [160000 x i32], [160000 x i32]* %6, i64 0, i64 %424
%427 = load i32, i32* %426
%428 = call i32 @div(i32 %427, i32 100)
%429 = load i32, i32* %417
%430 = icmp eq i32 %429, %428
br i1 %430, label %431, label %436
431: ; preds = %423
%432 = load i32, i32* %426
%433 = sext i32 %425 to i64
%434 = getelementptr inbounds [160000 x i32], [160000 x i32]* %7, i64 0, i64 %433
store i32 %432, i32* %434
%435 = add nsw i32 %425, 1
br label %436
436: ; preds = %423, %431
%437 = phi i32 [ %435, %431 ], [ %425, %423 ]
%438 = add nuw nsw i64 %424, 1
%439 = icmp eq i64 %438, %412
br i1 %439, label %440, label %423
440: ; preds = %436, %413
%441 = phi i32 [ %415, %413 ], [ %437, %436 ]
%442 = add nuw nsw i64 %414, 1
%443 = icmp eq i64 %442, %411
br i1 %443, label %418, label %413
444: ; preds = %419, %478
%445 = phi i64 [ 0, %419 ], [ %481, %478 ]
%446 = phi i32 [ 0, %419 ], [ %480, %478 ]
%447 = phi i32 [ 0, %419 ], [ %479, %478 ]
br i1 %420, label %448, label %478
448: ; preds = %444
%449 = getelementptr inbounds [160000 x i32], [160000 x i32]* %10, i64 0, i64 %445
br label %453
450: ; preds = %478, %358, %403, %418
%451 = phi i32 [ 0, %418 ], [ 0, %403 ], [ 0, %358 ], [ %480, %478 ]
%452 = icmp sgt i32 %280, 0
br i1 %452, label %487, label %483
453: ; preds = %448, %473
%454 = phi i64 [ 0, %448 ], [ %476, %473 ]
%455 = phi i32 [ %446, %448 ], [ %475, %473 ]
%456 = phi i32 [ %447, %448 ], [ %474, %473 ]
%457 = getelementptr inbounds [160000 x i32], [160000 x i32]* %8, i64 0, i64 %454
%458 = load i32, i32* %457
%459 = call i32 @div(i32 %458, i32 100)
%460 = load i32, i32* %449
%461 = icmp eq i32 %460, %459
br i1 %461, label %462, label %473
462: ; preds = %453
%463 = sext i32 %456 to i64
%464 = getelementptr inbounds [160000 x i32], [160000 x i32]* %7, i64 0, i64 %463
%465 = load i32, i32* %464
%466 = icmp eq i32 %465, %458
br i1 %466, label %467, label %469
467: ; preds = %462
%468 = add nsw i32 %456, 1
br label %473
469: ; preds = %462
%470 = sext i32 %455 to i64
%471 = getelementptr inbounds [160000 x i32], [160000 x i32]* %11, i64 0, i64 %470
store i32 %458, i32* %471
%472 = add nsw i32 %455, 1
br label %473
473: ; preds = %453, %469, %467
%474 = phi i32 [ %468, %467 ], [ %456, %469 ], [ %456, %453 ]
%475 = phi i32 [ %455, %467 ], [ %472, %469 ], [ %455, %453 ]
%476 = add nuw nsw i64 %454, 1
%477 = icmp eq i64 %476, %422
br i1 %477, label %478, label %453
478: ; preds = %473, %444
%479 = phi i32 [ %447, %444 ], [ %474, %473 ]
%480 = phi i32 [ %446, %444 ], [ %475, %473 ]
%481 = add nuw nsw i64 %445, 1
%482 = icmp eq i64 %481, %421
br i1 %482, label %450, label %444
483: ; preds = %487, %450
%484 = icmp sgt i32 %451, 0
br i1 %484, label %485, label %493
485: ; preds = %483
%486 = zext i32 %451 to i64
br label %498
487: ; preds = %450, %487
%488 = phi i32 [ %491, %487 ], [ 0, %450 ]
%489 = add nuw nsw i32 %488, 1000000
%490 = call i32 @fprintf(i32* %81, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32 %489, i32 %489, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%491 = add nuw nsw i32 %488, 1
%492 = icmp eq i32 %491, %280
br i1 %492, label %483, label %487
493: ; preds = %498, %483
%494 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %30, i64 0, i64 0
%495 = load i8*, i8** %494
%496 = call i32 @free(i8* %495)
%497 = call i32 @free(i8* %91)
br label %505
498: ; preds = %485, %498
%499 = phi i64 [ 0, %485 ], [ %503, %498 ]
%500 = getelementptr inbounds [160000 x i32], [160000 x i32]* %11, i64 0, i64 %499
%501 = load i32, i32* %500
%502 = call i32 @fprintf(i32* %81, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32 %501, i32 %501, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.23, i64 0, i64 0))
%503 = add nuw nsw i64 %499, 1
%504 = icmp eq i64 %503, %486
br i1 %504, label %493, label %498
505: ; preds = %493, %505
%506 = phi i64 [ 1, %493 ], [ %513, %505 ]
%507 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %31, i64 0, i64 %506
%508 = load i8*, i8** %507
%509 = getelementptr inbounds [160000 x i8*], [160000 x i8*]* %30, i64 0, i64 %506
%510 = load i8*, i8** %509
%511 = call i32 @free(i8* %510)
%512 = call i32 @free(i8* %508)
%513 = add nuw nsw i64 %506, 1
%514 = icmp eq i64 %513, 160000
br i1 %514, label %515, label %505
515: ; preds = %505
%516 = call i32 @fclose(i32* %101)
%517 = call i32 @fclose(i32* %80)
%518 = call i32 @fclose(i32* %81)
%519 = call i32 @fclose(i32* %82)
ret i32 0
}