#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ Under2Space(char *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ freopen(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *, char *);
int /*<<< orphan*/ sprintf(char *, char *, char *, ...);
int /*<<< orphan*/ stdin;
char *strchr(char *, char);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ strlen(char *);
char *strtok(char *, char *);
int main(int argc, char *argv[]) {
  int i;
  char *p;
  char word[200], word2[200];
  for (i = 0; i < 4; i++) {
    switch (i) {
    case 0:
      freopen("/usr/share/wordnet/noun.exc", "rt", stdin);
      break;
    case 1:
      freopen("/usr/share/wordnet/verb.exc", "rt", stdin);
      break;
    case 2:
      freopen("/usr/share/wordnet/adj.exc", "rt", stdin);
      break;
    case 3:
      freopen("/usr/share/wordnet/adv.exc", "rt", stdin);
      break;
    }
    while (fgets(word, 200, stdin)) {
      p = strchr(word, '\n');
      if (p)
        *p = 0;
      p = strchr(word, ' ');
      *(p++) = 0;
      Under2Space(word);
      for (p = strtok(p, " "); p; p = strtok(NULL, " ")) {
        switch (i) {
        case 0:
          sprintf(word2, "%ses", p);
          if (strcmp(word, word2) == 0)
            continue;
          break;
        case 1:
          if (p[strlen(p) - 1] == 'y') {
            strcpy(word2, p);
            strcpy(word2 + strlen(word2) - 1, "ied");
            if (strcmp(word, word2) == 0)
              continue;
          }
          if (strchr("bcdfghjklmnpqrstvz", p[strlen(p) - 1])) {
            sprintf(word2, "%s%ced", p, p[strlen(p) - 1]);
            if (strcmp(word, word2) == 0)
              continue;
            sprintf(word2, "%s%cing", p, p[strlen(p) - 1]);
            if (strcmp(word, word2) == 0)
              continue;
          }
          if (p[strlen(p) - 1] == 'e') {
            sprintf(word2, "%sd", p);
            if (strcmp(word, word2) == 0)
              continue;
          }
          sprintf(word2, "%sed", p);
          if (strcmp(word, word2) == 0)
            continue;
          sprintf(word2, "%sing", p);
          if (strcmp(word, word2) == 0)
            continue;
          break;
        case 2:
        case 3:
          if (p[strlen(p) - 1] == 'y') {
            strcpy(word2, p);
            strcpy(word2 + strlen(p) - 1, "ier");
            if (strcmp(word, word2) == 0)
              continue;
            strcpy(word2 + strlen(p) - 1, "iest");
            if (strcmp(word, word2) == 0)
              continue;
          }
          if (strchr("bcdfghjklmnpqrstvz", p[strlen(p) - 1])) {
            sprintf(word2, "%s%cer", p, p[strlen(p) - 1]);
            if (strcmp(word, word2) == 0)
              continue;
            sprintf(word2, "%s%cest", p, p[strlen(p) - 1]);
            if (strcmp(word, word2) == 0)
              continue;
          }
          if (p[strlen(p) - 1] == 'e') {
            sprintf(word2, "%sr", p);
            if (strcmp(word, word2) == 0)
              continue;
            sprintf(word2, "%sst", p);
            if (strcmp(word, word2) == 0)
              continue;
          }
          sprintf(word2, "%ser", p);
          if (strcmp(word, word2) == 0)
            continue;
          sprintf(word2, "%sest", p);
          if (strcmp(word, word2) == 0)
            continue;
          break;
        }
        Under2Space(p);
        if (strcmp(word, p) == 0)
          continue;
        printf((i) ? "%s : => {%s}\n" : "%s : pl. of {%s}\n", word, p);
        switch (i) {
        case 0:
          printf("%s : (pl) %s\n", p, word);
          break;
        case 1:
          printf("%s : (%s)\n", p, word);
          break;
        case 2:
          printf("%s : %s (>)\n", p, word);
          break;
        case 3:
          printf("%s : (adv.) %s (>)\n", p, word);
          break;
        }
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x280,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x4,-0x14(%rbp)
jge    1acb <main+0x92b>
mov    -0x14(%rbp),%eax
mov    %rax,-0x1c8(%rbp)
sub    $0x3,%rax
ja     1274 <main+0xd4>
mov    -0x1c8(%rbp),%rax
lea    0xe14(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2dec(%rip),%rax
mov    (%rax),%edx
lea    0xe1b(%rip),%rdi
lea    0xe30(%rip),%rsi
call   1070 <freopen@plt>
jmp    1274 <main+0xd4>
mov    0x2dcb(%rip),%rax
mov    (%rax),%edx
lea    0xe19(%rip),%rdi
lea    0xe0f(%rip),%rsi
call   1070 <freopen@plt>
jmp    1274 <main+0xd4>
mov    0x2daa(%rip),%rax
mov    (%rax),%edx
lea    0xe14(%rip),%rdi
lea    0xdee(%rip),%rsi
call   1070 <freopen@plt>
jmp    1274 <main+0xd4>
mov    0x2d89(%rip),%rax
mov    (%rax),%edx
lea    0xe0e(%rip),%rdi
lea    0xdcd(%rip),%rsi
call   1070 <freopen@plt>
jmp    1279 <main+0xd9>
lea    -0xf0(%rbp),%rdi
mov    0x2d61(%rip),%rax
mov    (%rax),%edx
mov    $0xc8,%esi
call   1080 <fgets@plt>
cmp    $0x0,%rax
je     1ab8 <main+0x918>
lea    -0xf0(%rbp),%rdi
mov    $0xa,%esi
call   1050 <strchr@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     12c4 <main+0x124>
mov    -0x20(%rbp),%rax
movb   $0x0,(%rax)
lea    -0xf0(%rbp),%rdi
mov    $0x20,%esi
call   1050 <strchr@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
movb   $0x0,(%rax)
lea    -0xf0(%rbp),%rdi
call   10a0 <Under2Space@plt>
mov    -0x20(%rbp),%rdi
lea    0xd8f(%rip),%rsi
call   10b0 <strtok@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     1ab3 <main+0x913>
mov    -0x14(%rbp),%eax
mov    %eax,-0x1cc(%rbp)
test   %eax,%eax
je     1357 <main+0x1b7>
jmp    132c <main+0x18c>
mov    -0x1cc(%rbp),%eax
sub    $0x1,%eax
je     1397 <main+0x1f7>
jmp    1340 <main+0x1a0>
mov    -0x1cc(%rbp),%eax
add    $0xfffffffe,%eax
sub    $0x2,%eax
jb     165d <main+0x4bd>
jmp    19b0 <main+0x810>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xd2a(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1392 <main+0x1f2>
jmp    1a9a <main+0x8fa>
jmp    19b0 <main+0x810>
mov    -0x20(%rbp),%rax
mov    %rax,-0x1d8(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x1d8(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x79,%eax
jne    1434 <main+0x294>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x1e0(%rbp)
lea    -0x1c0(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x1e0(%rbp),%rdi
cltq
add    %rax,%rdi
add    $0xffffffffffffffff,%rdi
lea    0xc90(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    142f <main+0x28f>
jmp    1a9a <main+0x8fa>
jmp    1434 <main+0x294>
mov    -0x20(%rbp),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x1e8(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
lea    0xc3e(%rip),%rdi
movsbl (%rax,%rcx,1),%esi
call   1050 <strchr@plt>
cmp    $0x0,%rax
je     1572 <main+0x3d2>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x200(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1f8(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x1f0(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x200(%rbp),%rdi
mov    -0x1f8(%rbp),%rdx
mov    %eax,%ecx
mov    -0x1f0(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%ecx
lea    0xbe9(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    14ef <main+0x34f>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x218(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x210(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x208(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x218(%rbp),%rdi
mov    -0x210(%rbp),%rdx
mov    %eax,%ecx
mov    -0x208(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%ecx
lea    0xb72(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    156d <main+0x3cd>
jmp    1a9a <main+0x8fa>
jmp    1572 <main+0x3d2>
mov    -0x20(%rbp),%rax
mov    %rax,-0x220(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x220(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x65,%eax
jne    15e2 <main+0x442>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xb0a(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    15dd <main+0x43d>
jmp    1a9a <main+0x8fa>
jmp    15e2 <main+0x442>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xace(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    161d <main+0x47d>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xa98(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1658 <main+0x4b8>
jmp    1a9a <main+0x8fa>
jmp    19b0 <main+0x810>
mov    -0x20(%rbp),%rax
mov    %rax,-0x228(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x228(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x79,%eax
jne    174c <main+0x5ac>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x230(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x230(%rbp),%rdi
cltq
add    %rax,%rdi
add    $0xffffffffffffffff,%rdi
lea    0xa02(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    16f2 <main+0x552>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x238(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x238(%rbp),%rdi
cltq
add    %rax,%rdi
add    $0xffffffffffffffff,%rdi
lea    0x9b1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1747 <main+0x5a7>
jmp    1a9a <main+0x8fa>
jmp    174c <main+0x5ac>
mov    -0x20(%rbp),%rax
mov    %rax,-0x240(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x240(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
lea    0x926(%rip),%rdi
movsbl (%rax,%rcx,1),%esi
call   1050 <strchr@plt>
cmp    $0x0,%rax
je     188a <main+0x6ea>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x258(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x250(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x248(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x258(%rbp),%rdi
mov    -0x250(%rbp),%rdx
mov    %eax,%ecx
mov    -0x248(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%ecx
lea    0x8f8(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1807 <main+0x667>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rax
mov    %rax,-0x270(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x268(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x260(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0x270(%rbp),%rdi
mov    -0x268(%rbp),%rdx
mov    %eax,%ecx
mov    -0x260(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%ecx
lea    0x881(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1885 <main+0x6e5>
jmp    1a9a <main+0x8fa>
jmp    188a <main+0x6ea>
mov    -0x20(%rbp),%rax
mov    %rax,-0x278(%rbp)
mov    -0x20(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x278(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x65,%eax
jne    1935 <main+0x795>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0x819(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    18f5 <main+0x755>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0x7e2(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1930 <main+0x790>
jmp    1a9a <main+0x8fa>
jmp    1935 <main+0x795>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0x7a7(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    1970 <main+0x7d0>
jmp    1a9a <main+0x8fa>
lea    -0x1c0(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0x771(%rip),%rsi
mov    $0x0,%al
call   10c0 <sprintf@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x1c0(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    19ab <main+0x80b>
jmp    1a9a <main+0x8fa>
jmp    19b0 <main+0x810>
mov    -0x20(%rbp),%rdi
call   10a0 <Under2Space@plt>
lea    -0xf0(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    19d8 <main+0x838>
jmp    1a9a <main+0x8fa>
mov    -0x14(%rbp),%eax
test   %eax,%eax
lea    0x715(%rip),%rax
lea    0x71c(%rip),%rdi
cmovne %rax,%rdi
mov    -0x20(%rbp),%rdx
lea    -0xf0(%rbp),%rsi
call   1060 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %rax,-0x280(%rbp)
sub    $0x3,%rax
ja     1a95 <main+0x8f5>
mov    -0x280(%rbp),%rax
lea    0x5ef(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x20(%rbp),%rsi
lea    -0xf0(%rbp),%rdx
lea    0x6dd(%rip),%rdi
call   1060 <printf@plt>
jmp    1a95 <main+0x8f5>
mov    -0x20(%rbp),%rsi
lea    -0xf0(%rbp),%rdx
lea    0x6cf(%rip),%rdi
call   1060 <printf@plt>
jmp    1a95 <main+0x8f5>
mov    -0x20(%rbp),%rsi
lea    -0xf0(%rbp),%rdx
lea    0x6be(%rip),%rdi
call   1060 <printf@plt>
jmp    1a95 <main+0x8f5>
mov    -0x20(%rbp),%rsi
lea    -0xf0(%rbp),%rdx
lea    0x6af(%rip),%rdi
call   1060 <printf@plt>
jmp    1a9a <main+0x8fa>
xor    %eax,%eax
mov    %eax,%edi
lea    0x5ec(%rip),%rsi
call   10b0 <strtok@plt>
mov    %rax,-0x20(%rbp)
jmp    130b <main+0x16b>
jmp    1279 <main+0xd9>
jmp    1abd <main+0x91d>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11c0 <main+0x20>
xor    %eax,%eax
add    $0x280,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1a8,%rsp
lea    0xe0(%rsp),%r12
lea    0xeb1(%rip),%r15
lea    0x10(%rsp),%rbx
xor    %r14d,%r14d
jmp    11de <main+0x3e>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r14d
cmp    $0x4,%r14d
je     1685 <main+0x4e5>
mov    %r14d,%eax
mov    %rax,0x8(%rsp)
cmp    $0x3,%r14d
ja     1214 <main+0x74>
lea    0xf41(%rip),%rax
mov    0x8(%rsp),%rcx
movslq (%rax,%rcx,4),%rdi
add    %rax,%rdi
mov    0x2de2(%rip),%rax
mov    (%rax),%edx
lea    0xe0d(%rip),%rsi
call   1070 <freopen@plt>
mov    0x2dcd(%rip),%rax
mov    (%rax),%edx
mov    %r12,%rdi
mov    $0xc8,%esi
call   1080 <fgets@plt>
test   %rax,%rax
je     11d0 <main+0x30>
test   %r14d,%r14d
lea    0xea0(%rip),%r13
lea    0xea7(%rip),%rax
cmove  %rax,%r13
shlq   $0x2,0x8(%rsp)
jmp    126f <main+0xcf>
nopl   0x0(%rax)
mov    0x2d91(%rip),%rax
mov    (%rax),%edx
mov    %r12,%rdi
mov    $0xc8,%esi
call   1080 <fgets@plt>
test   %rax,%rax
je     11d0 <main+0x30>
mov    %r12,%rdi
mov    $0xa,%esi
call   1050 <strchr@plt>
test   %rax,%rax
je     1284 <main+0xe4>
movb   $0x0,(%rax)
mov    %r12,%rdi
mov    $0x20,%esi
call   1050 <strchr@plt>
movb   $0x0,(%rax)
lea    0x1(%rax),%rbp
mov    %r12,%rdi
call   10a0 <Under2Space@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   10b0 <strtok@plt>
test   %rax,%rax
je     1250 <main+0xb0>
mov    %rax,%rbp
jmp    12d6 <main+0x136>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %edi,%edi
mov    %r15,%rsi
call   10b0 <strtok@plt>
mov    %rax,%rbp
test   %rax,%rax
je     1250 <main+0xb0>
lea    -0x2(%r14),%eax
cmp    $0x2,%eax
jb     1310 <main+0x170>
cmp    $0x1,%r14d
je     14c0 <main+0x320>
test   %r14d,%r14d
jne    162e <main+0x48e>
mov    %rbx,%rdi
lea    0xd77(%rip),%rsi
jmp    1610 <main+0x470>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
cmpb   $0x79,-0x1(%rax,%rbp,1)
jne    1390 <main+0x1f0>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1030 <strcpy@plt>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
lea    (%rsp,%rax,1),%rdi
add    $0xf,%rdi
lea    0xd68(%rip),%rsi
call   1030 <strcpy@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
lea    (%rsp,%rax,1),%rdi
add    $0xf,%rdi
lea    0xd3a(%rip),%rsi
call   1030 <strcpy@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%esi
lea    0xcd6(%rip),%rdi
call   1050 <strchr@plt>
test   %rax,%rax
je     141e <main+0x27e>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%ecx
mov    %rbx,%rdi
lea    0xced(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%ecx
mov    %rbx,%rdi
lea    0xcbd(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
cmpb   $0x65,-0x1(%rax,%rbp,1)
jne    147f <main+0x2df>
mov    %rbx,%rdi
lea    0xc8c(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbx,%rdi
lea    0xc68(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbx,%rdi
lea    0xc45(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbx,%rdi
lea    0xc22(%rip),%rsi
jmp    1610 <main+0x470>
cs nopw 0x0(%rax,%rax,1)
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
cmpb   $0x79,-0x1(%rax,%rbp,1)
jne    150e <main+0x36e>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
cltq
lea    (%rsp,%rax,1),%rdi
add    $0xf,%rdi
lea    0xb83(%rip),%rsi
call   1030 <strcpy@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%esi
lea    0xb58(%rip),%rdi
call   1050 <strchr@plt>
test   %rax,%rax
je     159c <main+0x3fc>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%ecx
mov    %rbx,%rdi
lea    0xb48(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
movsbl -0x1(%rax,%rbp,1),%ecx
mov    %rbx,%rdi
lea    0xb18(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cltq
cmpb   $0x65,-0x1(%rax,%rbp,1)
jne    15d5 <main+0x435>
mov    %rbx,%rdi
lea    0xae7(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbx,%rdi
lea    0xac3(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbx,%rdi
lea    0xaa0(%rip),%rsi
nopw   0x0(%rax,%rax,1)
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <sprintf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %rbp,%rdi
call   10a0 <Under2Space@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x120>
mov    %r13,%rdi
mov    %r12,%rsi
mov    %rbp,%rdx
call   1060 <printf@plt>
cmp    $0x3,%r14d
ja     12c0 <main+0x120>
lea    0xadb(%rip),%rax
mov    0x8(%rsp),%rcx
movslq (%rcx,%rax,1),%rdi
add    %rax,%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
call   1060 <printf@plt>
jmp    12c0 <main+0x120>
xor    %eax,%eax
add    $0x1a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [28 x i8] c"/usr/share/wordnet/noun.exc\00"
@.str.1 = [3 x i8] c"rt\00"
@stdin = global i32 0
@.str.2 = [28 x i8] c"/usr/share/wordnet/verb.exc\00"
@.str.3 = [27 x i8] c"/usr/share/wordnet/adj.exc\00"
@.str.4 = [27 x i8] c"/usr/share/wordnet/adv.exc\00"
@.str.5 = [2 x i8] c" \00"
@.str.6 = [5 x i8] c"%ses\00"
@.str.7 = [4 x i8] c"ied\00"
@.str.8 = [19 x i8] c"bcdfghjklmnpqrstvz\00"
@.str.9 = [7 x i8] c"%s%ced\00"
@.str.10 = [8 x i8] c"%s%cing\00"
@.str.11 = [4 x i8] c"%sd\00"
@.str.12 = [5 x i8] c"%sed\00"
@.str.13 = [6 x i8] c"%sing\00"
@.str.14 = [4 x i8] c"ier\00"
@.str.15 = [5 x i8] c"iest\00"
@.str.16 = [7 x i8] c"%s%cer\00"
@.str.17 = [8 x i8] c"%s%cest\00"
@.str.18 = [4 x i8] c"%sr\00"
@.str.19 = [5 x i8] c"%sst\00"
@.str.20 = [5 x i8] c"%ser\00"
@.str.21 = [6 x i8] c"%sest\00"
@.str.22 = [14 x i8] c"%s : => {%s}\0A\00"
@.str.23 = [18 x i8] c"%s : pl. of {%s}\0A\00"
@.str.24 = [14 x i8] c"%s : (pl) %s\0A\00"
@.str.25 = [11 x i8] c"%s : (%s)\0A\00"
@.str.26 = [13 x i8] c"%s : %s (>)\0A\00"
@.str.27 = [20 x i8] c"%s : (adv.) %s (>)\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca [200 x i8]
%9 = alloca [200 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
br label %10
10: ; preds = %346, %2
%11 = load i32, i32* %6
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %349
13: ; preds = %10
%14 = load i32, i32* %6
switch i32 %14, label %27 [
i32 0, label %15
i32 1, label %18
i32 2, label %21
i32 3, label %24
]
15: ; preds = %13
%16 = load i32, i32* @stdin
%17 = call i32 @freopen(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %16)
br label %27
18: ; preds = %13
%19 = load i32, i32* @stdin
%20 = call i32 @freopen(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %19)
br label %27
21: ; preds = %13
%22 = load i32, i32* @stdin
%23 = call i32 @freopen(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %22)
br label %27
24: ; preds = %13
%25 = load i32, i32* @stdin
%26 = call i32 @freopen(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %25)
br label %27
27: ; preds = %13, %24, %21, %18, %15
br label %28
28: ; preds = %344, %27
%29 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%30 = load i32, i32* @stdin
%31 = call i64 @fgets(i8* %29, i32 200, i32 %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %345
33: ; preds = %28
%34 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%35 = call i8* @strchr(i8* %34, i8 signext 10)
store i8* %35, i8** %7
%36 = load i8*, i8** %7
%37 = icmp ne i8* %36, null
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = load i8*, i8** %7
store i8 0, i8* %39
br label %40
40: ; preds = %38, %33
%41 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%42 = call i8* @strchr(i8* %41, i8 signext 32)
store i8* %42, i8** %7
%43 = load i8*, i8** %7
%44 = getelementptr inbounds i8, i8* %43, i32 1
store i8* %44, i8** %7
store i8 0, i8* %43
%45 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%46 = call i32 @Under2Space(i8* %45)
%47 = load i8*, i8** %7
%48 = call i8* @strtok(i8* %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i8* %48, i8** %7
br label %49
49: ; preds = %342, %40
%50 = load i8*, i8** %7
%51 = icmp ne i8* %50, null
br i1 %51, label %52, label %344
52: ; preds = %49
%53 = load i32, i32* %6
switch i32 %53, label %308 [
i32 0, label %54
i32 1, label %64
i32 2, label %175
i32 3, label %175
]
54: ; preds = %52
%55 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%56 = load i8*, i8** %7
%57 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %56)
%58 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%59 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%60 = call i64 @strcmp(i8* %58, i8* %59)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %54
br label %342
63: ; preds = %54
br label %308
64: ; preds = %52
%65 = load i8*, i8** %7
%66 = load i8*, i8** %7
%67 = call i32 @strlen(i8* %66)
%68 = sub nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, i8* %65, i64 %69
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 121
br i1 %73, label %74, label %91
74: ; preds = %64
%75 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%76 = load i8*, i8** %7
%77 = call i32 @strcpy(i8* %75, i8* %76)
%78 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%79 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%80 = call i32 @strlen(i8* %79)
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, i8* %78, i64 %81
%83 = getelementptr inbounds i8, i8* %82, i64 -1
%84 = call i32 @strcpy(i8* %83, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%85 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%86 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%87 = call i64 @strcmp(i8* %85, i8* %86)
%88 = icmp eq i64 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %74
br label %342
90: ; preds = %74
br label %91
91: ; preds = %90, %64
%92 = load i8*, i8** %7
%93 = load i8*, i8** %7
%94 = call i32 @strlen(i8* %93)
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, i8* %92, i64 %96
%98 = load i8, i8* %97
%99 = call i8* @strchr(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8 signext %98)
%100 = icmp ne i8* %99, null
br i1 %100, label %101, label %136
101: ; preds = %91
%102 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%103 = load i8*, i8** %7
%104 = load i8*, i8** %7
%105 = load i8*, i8** %7
%106 = call i32 @strlen(i8* %105)
%107 = sub nsw i32 %106, 1
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8, i8* %104, i64 %108
%110 = load i8, i8* %109
%111 = sext i8 %110 to i32
%112 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %102, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* %103, i32 %111)
%113 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%114 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%115 = call i64 @strcmp(i8* %113, i8* %114)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %101
br label %342
118: ; preds = %101
%119 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%120 = load i8*, i8** %7
%121 = load i8*, i8** %7
%122 = load i8*, i8** %7
%123 = call i32 @strlen(i8* %122)
%124 = sub nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, i8* %121, i64 %125
%127 = load i8, i8* %126
%128 = sext i8 %127 to i32
%129 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %119, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* %120, i32 %128)
%130 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%131 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%132 = call i64 @strcmp(i8* %130, i8* %131)
%133 = icmp eq i64 %132, 0
br i1 %133, label %134, label %135
134: ; preds = %118
br label %342
135: ; preds = %118
br label %136
136: ; preds = %135, %91
%137 = load i8*, i8** %7
%138 = load i8*, i8** %7
%139 = call i32 @strlen(i8* %138)
%140 = sub nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, i8* %137, i64 %141
%143 = load i8, i8* %142
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 101
br i1 %145, label %146, label %156
146: ; preds = %136
%147 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%148 = load i8*, i8** %7
%149 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %147, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* %148)
%150 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%151 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%152 = call i64 @strcmp(i8* %150, i8* %151)
%153 = icmp eq i64 %152, 0
br i1 %153, label %154, label %155
154: ; preds = %146
br label %342
155: ; preds = %146
br label %156
156: ; preds = %155, %136
%157 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%158 = load i8*, i8** %7
%159 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %157, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* %158)
%160 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%161 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%162 = call i64 @strcmp(i8* %160, i8* %161)
%163 = icmp eq i64 %162, 0
br i1 %163, label %164, label %165
164: ; preds = %156
br label %342
165: ; preds = %156
%166 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%167 = load i8*, i8** %7
%168 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %166, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i8* %167)
%169 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%170 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%171 = call i64 @strcmp(i8* %169, i8* %170)
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %174
173: ; preds = %165
br label %342
174: ; preds = %165
br label %308
175: ; preds = %52, %52
%176 = load i8*, i8** %7
%177 = load i8*, i8** %7
%178 = call i32 @strlen(i8* %177)
%179 = sub nsw i32 %178, 1
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8, i8* %176, i64 %180
%182 = load i8, i8* %181
%183 = sext i8 %182 to i32
%184 = icmp eq i32 %183, 121
br i1 %184, label %185, label %215
185: ; preds = %175
%186 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%187 = load i8*, i8** %7
%188 = call i32 @strcpy(i8* %186, i8* %187)
%189 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%190 = load i8*, i8** %7
%191 = call i32 @strlen(i8* %190)
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds i8, i8* %189, i64 %192
%194 = getelementptr inbounds i8, i8* %193, i64 -1
%195 = call i32 @strcpy(i8* %194, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%196 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%197 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%198 = call i64 @strcmp(i8* %196, i8* %197)
%199 = icmp eq i64 %198, 0
br i1 %199, label %200, label %201
200: ; preds = %185
br label %342
201: ; preds = %185
%202 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%203 = load i8*, i8** %7
%204 = call i32 @strlen(i8* %203)
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i8, i8* %202, i64 %205
%207 = getelementptr inbounds i8, i8* %206, i64 -1
%208 = call i32 @strcpy(i8* %207, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%209 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%210 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%211 = call i64 @strcmp(i8* %209, i8* %210)
%212 = icmp eq i64 %211, 0
br i1 %212, label %213, label %214
213: ; preds = %201
br label %342
214: ; preds = %201
br label %215
215: ; preds = %214, %175
%216 = load i8*, i8** %7
%217 = load i8*, i8** %7
%218 = call i32 @strlen(i8* %217)
%219 = sub nsw i32 %218, 1
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i8, i8* %216, i64 %220
%222 = load i8, i8* %221
%223 = call i8* @strchr(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8 signext %222)
%224 = icmp ne i8* %223, null
br i1 %224, label %225, label %260
225: ; preds = %215
%226 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%227 = load i8*, i8** %7
%228 = load i8*, i8** %7
%229 = load i8*, i8** %7
%230 = call i32 @strlen(i8* %229)
%231 = sub nsw i32 %230, 1
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds i8, i8* %228, i64 %232
%234 = load i8, i8* %233
%235 = sext i8 %234 to i32
%236 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %226, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8* %227, i32 %235)
%237 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%238 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%239 = call i64 @strcmp(i8* %237, i8* %238)
%240 = icmp eq i64 %239, 0
br i1 %240, label %241, label %242
241: ; preds = %225
br label %342
242: ; preds = %225
%243 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%244 = load i8*, i8** %7
%245 = load i8*, i8** %7
%246 = load i8*, i8** %7
%247 = call i32 @strlen(i8* %246)
%248 = sub nsw i32 %247, 1
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i8, i8* %245, i64 %249
%251 = load i8, i8* %250
%252 = sext i8 %251 to i32
%253 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %243, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0), i8* %244, i32 %252)
%254 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%255 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%256 = call i64 @strcmp(i8* %254, i8* %255)
%257 = icmp eq i64 %256, 0
br i1 %257, label %258, label %259
258: ; preds = %242
br label %342
259: ; preds = %242
br label %260
260: ; preds = %259, %215
%261 = load i8*, i8** %7
%262 = load i8*, i8** %7
%263 = call i32 @strlen(i8* %262)
%264 = sub nsw i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds i8, i8* %261, i64 %265
%267 = load i8, i8* %266
%268 = sext i8 %267 to i32
%269 = icmp eq i32 %268, 101
br i1 %269, label %270, label %289
270: ; preds = %260
%271 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%272 = load i8*, i8** %7
%273 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %271, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* %272)
%274 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%275 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%276 = call i64 @strcmp(i8* %274, i8* %275)
%277 = icmp eq i64 %276, 0
br i1 %277, label %278, label %279
278: ; preds = %270
br label %342
279: ; preds = %270
%280 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%281 = load i8*, i8** %7
%282 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %280, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* %281)
%283 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%284 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%285 = call i64 @strcmp(i8* %283, i8* %284)
%286 = icmp eq i64 %285, 0
br i1 %286, label %287, label %288
287: ; preds = %279
br label %342
288: ; preds = %279
br label %289
289: ; preds = %288, %260
%290 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%291 = load i8*, i8** %7
%292 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %290, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i8* %291)
%293 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%294 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%295 = call i64 @strcmp(i8* %293, i8* %294)
%296 = icmp eq i64 %295, 0
br i1 %296, label %297, label %298
297: ; preds = %289
br label %342
298: ; preds = %289
%299 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%300 = load i8*, i8** %7
%301 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %299, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0), i8* %300)
%302 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%303 = getelementptr inbounds [200 x i8], [200 x i8]* %9, i64 0, i64 0
%304 = call i64 @strcmp(i8* %302, i8* %303)
%305 = icmp eq i64 %304, 0
br i1 %305, label %306, label %307
306: ; preds = %298
br label %342
307: ; preds = %298
br label %308
308: ; preds = %52, %307, %174, %63
%309 = load i8*, i8** %7
%310 = call i32 @Under2Space(i8* %309)
%311 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%312 = load i8*, i8** %7
%313 = call i64 @strcmp(i8* %311, i8* %312)
%314 = icmp eq i64 %313, 0
br i1 %314, label %315, label %316
315: ; preds = %308
br label %342
316: ; preds = %308
%317 = load i32, i32* %6
%318 = icmp ne i32 %317, 0
%319 = zext i1 %318 to i64
%320 = select i1 %318, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0)
%321 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%322 = load i8*, i8** %7
%323 = call i32 @printf(i8* %320, i8* %321, i8* %322)
%324 = load i32, i32* %6
switch i32 %324, label %341 [
i32 0, label %325
i32 1, label %329
i32 2, label %333
i32 3, label %337
]
325: ; preds = %316
%326 = load i8*, i8** %7
%327 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%328 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.24, i64 0, i64 0), i8* %326, i8* %327)
br label %341
329: ; preds = %316
%330 = load i8*, i8** %7
%331 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%332 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0), i8* %330, i8* %331)
br label %341
333: ; preds = %316
%334 = load i8*, i8** %7
%335 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%336 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i64 0, i64 0), i8* %334, i8* %335)
br label %341
337: ; preds = %316
%338 = load i8*, i8** %7
%339 = getelementptr inbounds [200 x i8], [200 x i8]* %8, i64 0, i64 0
%340 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8* %338, i8* %339)
br label %341
341: ; preds = %316, %337, %333, %329, %325
br label %342
342: ; preds = %341, %315, %306, %297, %287, %278, %258, %241, %213, %200, %173, %164, %154, %134, %117, %89, %62
%343 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i8* %343, i8** %7
br label %49
344: ; preds = %49
br label %28
345: ; preds = %28
br label %346
346: ; preds = %345
%347 = load i32, i32* %6
%348 = add nsw i32 %347, 1
store i32 %348, i32* %6
br label %10
349: ; preds = %10
ret i32 0
}

LLVM IR (-O2):
@.str = [28 x i8] c"/usr/share/wordnet/noun.exc\00"
@.str.1 = [3 x i8] c"rt\00"
@stdin = global i32 0
@.str.2 = [28 x i8] c"/usr/share/wordnet/verb.exc\00"
@.str.3 = [27 x i8] c"/usr/share/wordnet/adj.exc\00"
@.str.4 = [27 x i8] c"/usr/share/wordnet/adv.exc\00"
@.str.5 = [2 x i8] c" \00"
@.str.6 = [5 x i8] c"%ses\00"
@.str.7 = [4 x i8] c"ied\00"
@.str.8 = [19 x i8] c"bcdfghjklmnpqrstvz\00"
@.str.9 = [7 x i8] c"%s%ced\00"
@.str.10 = [8 x i8] c"%s%cing\00"
@.str.11 = [4 x i8] c"%sd\00"
@.str.12 = [5 x i8] c"%sed\00"
@.str.13 = [6 x i8] c"%sing\00"
@.str.14 = [4 x i8] c"ier\00"
@.str.15 = [5 x i8] c"iest\00"
@.str.16 = [7 x i8] c"%s%cer\00"
@.str.17 = [8 x i8] c"%s%cest\00"
@.str.18 = [4 x i8] c"%sr\00"
@.str.19 = [5 x i8] c"%sst\00"
@.str.20 = [5 x i8] c"%ser\00"
@.str.21 = [6 x i8] c"%sest\00"
@.str.22 = [14 x i8] c"%s : => {%s}\0A\00"
@.str.23 = [18 x i8] c"%s : pl. of {%s}\0A\00"
@.str.24 = [14 x i8] c"%s : (pl) %s\0A\00"
@.str.25 = [11 x i8] c"%s : (%s)\0A\00"
@.str.26 = [13 x i8] c"%s : %s (>)\0A\00"
@.str.27 = [20 x i8] c"%s : (adv.) %s (>)\0A\00"
@reltable.main = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([28 x i8]* @.str to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([28 x i8]* @.str.2 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.3 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.4 to i64), i64 ptrtoint ([4 x i32]* @reltable.main to i64)) to i32)]
@reltable.main.29 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.24 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.29 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.25 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.29 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.26 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.29 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.27 to i64), i64 ptrtoint ([4 x i32]* @reltable.main.29 to i64)) to i32)]
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [200 x i8]
%4 = alloca [200 x i8]
%5 = getelementptr inbounds [200 x i8], [200 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [200 x i8], [200 x i8]* %4, i64 0, i64 0
br label %7
7: ; preds = %2, %196
%8 = phi i32 [ 0, %2 ], [ %197, %196 ]
%9 = icmp ult i32 %8, 4
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = zext i32 %8 to i64
%12 = shl i64 %11, 2
%13 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main to i8*), i64 %12)
%14 = load i32, i32* @stdin
%15 = call i32 @freopen(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %14)
br label %16
16: ; preds = %7, %10
%17 = load i32, i32* @stdin
%18 = call i64 @fgets(i8* %5, i32 200, i32 %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %196, label %20
20: ; preds = %16
%21 = icmp eq i32 %8, 0
%22 = select i1 %21, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0)
%23 = icmp ult i32 %8, 4
%24 = zext i32 %8 to i64
%25 = shl i64 %24, 2
br label %30
26: ; preds = %193, %34
%27 = load i32, i32* @stdin
%28 = call i64 @fgets(i8* %5, i32 200, i32 %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %196, label %30
30: ; preds = %20, %26
%31 = call i8* @strchr(i8* %5, i8 signext 10)
%32 = icmp eq i8* %31, null
br i1 %32, label %34, label %33
33: ; preds = %30
store i8 0, i8* %31
br label %34
34: ; preds = %33, %30
%35 = call i8* @strchr(i8* %5, i8 signext 32)
%36 = getelementptr inbounds i8, i8* %35, i64 1
store i8 0, i8* %35
%37 = call i32 @Under2Space(i8* %5)
%38 = call i8* @strtok(i8* %36, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%39 = icmp eq i8* %38, null
br i1 %39, label %26, label %40
40: ; preds = %34, %193
%41 = phi i8* [ %194, %193 ], [ %38, %34 ]
switch i32 %8, label %184 [
i32 0, label %42
i32 1, label %46
i32 2, label %109
i32 3, label %109
]
42: ; preds = %40
%43 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %41)
%44 = call i64 @strcmp(i8* %5, i8* %6)
%45 = icmp eq i64 %44, 0
br i1 %45, label %193, label %184
46: ; preds = %40
%47 = call i32 @strlen(i8* %41)
%48 = add nsw i32 %47, -1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, i8* %41, i64 %49
%51 = load i8, i8* %50
%52 = icmp eq i8 %51, 121
br i1 %52, label %53, label %62
53: ; preds = %46
%54 = call i32 @strcpy(i8* %6, i8* %41)
%55 = call i32 @strlen(i8* %6)
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [200 x i8], [200 x i8]* %4, i64 0, i64 %56
%58 = getelementptr inbounds i8, i8* %57, i64 -1
%59 = call i32 @strcpy(i8* %58, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%60 = call i64 @strcmp(i8* %5, i8* %6)
%61 = icmp eq i64 %60, 0
br i1 %61, label %193, label %62
62: ; preds = %53, %46
%63 = call i32 @strlen(i8* %41)
%64 = add nsw i32 %63, -1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, i8* %41, i64 %65
%67 = load i8, i8* %66
%68 = call i8* @strchr(i8* dereferenceable(19) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8 signext %67)
%69 = icmp eq i8* %68, null
br i1 %69, label %90, label %70
70: ; preds = %62
%71 = call i32 @strlen(i8* %41)
%72 = add nsw i32 %71, -1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, i8* %41, i64 %73
%75 = load i8, i8* %74
%76 = sext i8 %75 to i32
%77 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i8* %41, i32 %76)
%78 = call i64 @strcmp(i8* %5, i8* %6)
%79 = icmp eq i64 %78, 0
br i1 %79, label %193, label %80
80: ; preds = %70
%81 = call i32 @strlen(i8* %41)
%82 = add nsw i32 %81, -1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, i8* %41, i64 %83
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
%87 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* %41, i32 %86)
%88 = call i64 @strcmp(i8* %5, i8* %6)
%89 = icmp eq i64 %88, 0
br i1 %89, label %193, label %90
90: ; preds = %80, %62
%91 = call i32 @strlen(i8* %41)
%92 = add nsw i32 %91, -1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, i8* %41, i64 %93
%95 = load i8, i8* %94
%96 = icmp eq i8 %95, 101
br i1 %96, label %97, label %101
97: ; preds = %90
%98 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* %41)
%99 = call i64 @strcmp(i8* %5, i8* %6)
%100 = icmp eq i64 %99, 0
br i1 %100, label %193, label %101
101: ; preds = %97, %90
%102 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0), i8* %41)
%103 = call i64 @strcmp(i8* %5, i8* %6)
%104 = icmp eq i64 %103, 0
br i1 %104, label %193, label %105
105: ; preds = %101
%106 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i8* %41)
%107 = call i64 @strcmp(i8* %5, i8* %6)
%108 = icmp eq i64 %107, 0
br i1 %108, label %193, label %184
109: ; preds = %40, %40
%110 = call i32 @strlen(i8* %41)
%111 = add nsw i32 %110, -1
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, i8* %41, i64 %112
%114 = load i8, i8* %113
%115 = icmp eq i8 %114, 121
br i1 %115, label %116, label %133
116: ; preds = %109
%117 = call i32 @strcpy(i8* %6, i8* %41)
%118 = call i32 @strlen(i8* %41)
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [200 x i8], [200 x i8]* %4, i64 0, i64 %119
%121 = getelementptr inbounds i8, i8* %120, i64 -1
%122 = call i32 @strcpy(i8* %121, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%123 = call i64 @strcmp(i8* %5, i8* %6)
%124 = icmp eq i64 %123, 0
br i1 %124, label %193, label %125
125: ; preds = %116
%126 = call i32 @strlen(i8* %41)
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [200 x i8], [200 x i8]* %4, i64 0, i64 %127
%129 = getelementptr inbounds i8, i8* %128, i64 -1
%130 = call i32 @strcpy(i8* %129, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%131 = call i64 @strcmp(i8* %5, i8* %6)
%132 = icmp eq i64 %131, 0
br i1 %132, label %193, label %133
133: ; preds = %125, %109
%134 = call i32 @strlen(i8* %41)
%135 = add nsw i32 %134, -1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, i8* %41, i64 %136
%138 = load i8, i8* %137
%139 = call i8* @strchr(i8* dereferenceable(19) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8 signext %138)
%140 = icmp eq i8* %139, null
br i1 %140, label %161, label %141
141: ; preds = %133
%142 = call i32 @strlen(i8* %41)
%143 = add nsw i32 %142, -1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, i8* %41, i64 %144
%146 = load i8, i8* %145
%147 = sext i8 %146 to i32
%148 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8* %41, i32 %147)
%149 = call i64 @strcmp(i8* %5, i8* %6)
%150 = icmp eq i64 %149, 0
br i1 %150, label %193, label %151
151: ; preds = %141
%152 = call i32 @strlen(i8* %41)
%153 = add nsw i32 %152, -1
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i8, i8* %41, i64 %154
%156 = load i8, i8* %155
%157 = sext i8 %156 to i32
%158 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0), i8* %41, i32 %157)
%159 = call i64 @strcmp(i8* %5, i8* %6)
%160 = icmp eq i64 %159, 0
br i1 %160, label %193, label %161
161: ; preds = %151, %133
%162 = call i32 @strlen(i8* %41)
%163 = add nsw i32 %162, -1
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i8, i8* %41, i64 %164
%166 = load i8, i8* %165
%167 = icmp eq i8 %166, 101
br i1 %167, label %168, label %176
168: ; preds = %161
%169 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* %41)
%170 = call i64 @strcmp(i8* %5, i8* %6)
%171 = icmp eq i64 %170, 0
br i1 %171, label %193, label %172
172: ; preds = %168
%173 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* %41)
%174 = call i64 @strcmp(i8* %5, i8* %6)
%175 = icmp eq i64 %174, 0
br i1 %175, label %193, label %176
176: ; preds = %172, %161
%177 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i8* %41)
%178 = call i64 @strcmp(i8* %5, i8* %6)
%179 = icmp eq i64 %178, 0
br i1 %179, label %193, label %180
180: ; preds = %176
%181 = call i32 (i8*, i8*, i8*, ...) @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i64 0, i64 0), i8* %41)
%182 = call i64 @strcmp(i8* %5, i8* %6)
%183 = icmp eq i64 %182, 0
br i1 %183, label %193, label %184
184: ; preds = %180, %105, %42, %40
%185 = call i32 @Under2Space(i8* %41)
%186 = call i64 @strcmp(i8* %5, i8* %41)
%187 = icmp eq i64 %186, 0
br i1 %187, label %193, label %188
188: ; preds = %184
%189 = call i32 @printf(i8* %22, i8* %5, i8* %41)
br i1 %23, label %190, label %193
190: ; preds = %188
%191 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.main.29 to i8*), i64 %25)
%192 = call i32 @printf(i8* %191, i8* %41, i8* %5)
br label %193
193: ; preds = %188, %190, %184, %180, %176, %172, %168, %151, %141, %125, %116, %105, %101, %97, %80, %70, %53, %42
%194 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%195 = icmp eq i8* %194, null
br i1 %195, label %26, label %40
196: ; preds = %26, %16
%197 = add nuw nsw i32 %8, 1
%198 = icmp eq i32 %197, 4
br i1 %198, label %199, label %7
199: ; preds = %196
ret i32 0
}