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

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
char EOF;
scalar_t__ containsLetter(char *const, char, unsigned short);
unsigned int countWords(char *);
char fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ free(char *const);
char getc(int /*<<< orphan*/);
int /*<<< orphan*/ goUpLine();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ ranInt(unsigned int);
char *searchWord(char *, int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ stdin;
unsigned short strlen(char *const);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
scalar_t__ validLetter(char);
int main() {
  srand(time(NULL));
  unsigned char win = 0;
  unsigned char lose = 0;
  unsigned short int remainingTries = 10;
  unsigned int wordsInFile = countWords("dict.txt");
  char *const gameWord = searchWord("dict.txt", ranInt(wordsInFile));
  unsigned short int wordLength = strlen(gameWord);
  char hiddenWord[wordLength + 1];
  for (unsigned short int i = 0; i < wordLength; ++i)
    hiddenWord[i] = '_';
  hiddenWord[wordLength] = '\0';
  char triedLetters[26] = "                          ";
  triedLetters[25] = ' ';
  unsigned int position = 0;
  unsigned char alreadyTried = 0;
  unsigned char invalidCharacter = 0;
  char filename[12] = "pics/nn.txt";
  char ch;
  while (!(win || lose)) {
    sprintf(filename, "pics/%d.txt", 11 - remainingTries);
    FILE *f = fopen(filename, "r");
    while ((ch = fgetc(f)) != EOF) {
      putchar(ch);
    }
    if (alreadyTried)
      printf("You already tried it!\n");
    else if (invalidCharacter)
      printf("Invalid character\n");
    else
      printf("\n");
    printf("%s\n", hiddenWord);
    printf("Tried letters: %s\n", triedLetters);
    printf("Your try: ");
    char c = getc(stdin);
    getc(stdin);
    printf("\n");
    if (containsLetter(triedLetters, c, 26)) {
      alreadyTried = 1;
      invalidCharacter = 0;
    } else if (validLetter(c)) {
      if (containsLetter(gameWord, c, wordLength)) {
        for (unsigned short int i = 0; i < wordLength; ++i) {
          if (gameWord[i] == c)
            hiddenWord[i] = c;
        }
      } else {
        --remainingTries;
      }
      triedLetters[position] = c;
      ++position;
      invalidCharacter = 0;
      alreadyTried = 0;
    } else {
      invalidCharacter = 1;
      alreadyTried = 0;
    }
    if (!containsLetter(hiddenWord, '_', wordLength))
      win = 1;
    else if (remainingTries == 0)
      lose = 1;
    else {
      for (unsigned int i = 0; i <= 4 + 31; ++i) {
        goUpLine();
      }
      if (c == '\n')
        goUpLine();
    }
  }
  printf("You %s!\n", (win) ? "win" : "lose");
  printf("The word was: %s\n", gameWord);
  free(gameWord);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   10b0 <time@plt>
mov    %eax,%edi
call   10a0 <srand@plt>
movb   $0x0,-0x5(%rbp)
movb   $0x0,-0x6(%rbp)
movw   $0xa,-0x8(%rbp)
lea    0xdc9(%rip),%rdi
mov    %rdi,-0x88(%rbp)
call   1080 <countWords@plt>
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%edi
call   10d0 <ranInt@plt>
mov    -0x88(%rbp),%rdi
mov    %eax,%esi
call   10c0 <searchWord@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %ax,-0x1a(%rbp)
movzwl -0x1a(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %rsp,%rcx
mov    %rcx,-0x28(%rbp)
add    $0x10,%edx
mov    %edx,%ecx
and    $0xfffffff0,%ecx
mov    %ecx,%edx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x80(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
movw   $0x0,-0x32(%rbp)
movzwl -0x32(%rbp),%eax
movzwl -0x1a(%rbp),%ecx
cmp    %ecx,%eax
jge    12cb <main+0xcb>
mov    -0x80(%rbp),%rax
movzwl -0x32(%rbp),%ecx
movb   $0x5f,(%rax,%rcx,1)
mov    -0x32(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x32(%rbp)
jmp    129e <main+0x9e>
mov    -0x80(%rbp),%rax
movzwl -0x1a(%rbp),%ecx
movb   $0x0,(%rax,%rcx,1)
mov    0xdb2(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xdaf(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xdac(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xda9(%rip),%ax
mov    %ax,-0x38(%rbp)
movb   $0x20,-0x37(%rbp)
movl   $0x0,-0x54(%rbp)
movb   $0x0,-0x55(%rbp)
movb   $0x0,-0x56(%rbp)
mov    0xcec(%rip),%rax
mov    %rax,-0x62(%rbp)
mov    0xcea(%rip),%eax
mov    %eax,-0x5a(%rbp)
movzbl -0x5(%rbp),%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0x89(%rbp)
jne    134f <main+0x14f>
movzbl -0x6(%rbp),%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x89(%rbp)
mov    -0x89(%rbp),%al
xor    $0xff,%al
test   $0x1,%al
jne    1364 <main+0x164>
jmp    15db <main+0x3db>
lea    -0x62(%rbp),%rdi
movzwl -0x8(%rbp),%eax
mov    $0xb,%edx
sub    %eax,%edx
lea    0xc9b(%rip),%rsi
call   10f0 <sprintf@plt>
lea    -0x62(%rbp),%rdi
lea    0xc97(%rip),%rsi
call   10e0 <fopen@plt>
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rdi
call   1090 <fgetc@plt>
mov    %al,-0x63(%rbp)
movsbl %al,%eax
mov    0x2c37(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
je     13c2 <main+0x1c2>
movsbl -0x63(%rbp),%edi
call   1040 <putchar@plt>
jmp    1393 <main+0x193>
cmpb   $0x0,-0x55(%rbp)
je     13df <main+0x1df>
lea    0xc50(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    140f <main+0x20f>
cmpb   $0x0,-0x56(%rbp)
je     13fc <main+0x1fc>
lea    0xc4a(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    140a <main+0x20a>
lea    0xc6f(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
jmp    140f <main+0x20f>
mov    -0x80(%rbp),%rsi
lea    0xc71(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x50(%rbp),%rsi
lea    0xc21(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xc26(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    0x2ba0(%rip),%rax
mov    (%rax),%edi
call   1110 <getc@plt>
mov    %al,-0x71(%rbp)
mov    0x2b8f(%rip),%rax
mov    (%rax),%edi
call   1110 <getc@plt>
lea    0xc0b(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0x1a,%edx
movsbl -0x71(%rbp),%esi
call   1100 <containsLetter@plt>
cmp    $0x0,%rax
je     1497 <main+0x297>
movb   $0x1,-0x55(%rbp)
movb   $0x0,-0x56(%rbp)
jmp    1557 <main+0x357>
movsbl -0x71(%rbp),%edi
call   1050 <validLetter@plt>
cmp    $0x0,%rax
je     154a <main+0x34a>
mov    -0x18(%rbp),%rdi
mov    -0x71(%rbp),%al
movsbl %al,%esi
movzwl -0x1a(%rbp),%edx
call   1100 <containsLetter@plt>
cmp    $0x0,%rax
je     151e <main+0x31e>
movw   $0x0,-0x74(%rbp)
movzwl -0x74(%rbp),%eax
movzwl -0x1a(%rbp),%ecx
cmp    %ecx,%eax
jge    1519 <main+0x319>
mov    -0x18(%rbp),%rax
movzwl -0x74(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
movsbl -0x71(%rbp),%ecx
cmp    %ecx,%eax
jne    1503 <main+0x303>
mov    -0x80(%rbp),%rax
mov    -0x71(%rbp),%dl
movzwl -0x74(%rbp),%ecx
mov    %dl,(%rax,%rcx,1)
jmp    1508 <main+0x308>
mov    -0x74(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x74(%rbp)
jmp    14cd <main+0x2cd>
jmp    152a <main+0x32a>
mov    -0x8(%rbp),%ax
add    $0xffff,%ax
mov    %ax,-0x8(%rbp)
mov    -0x71(%rbp),%cl
mov    -0x54(%rbp),%eax
mov    %cl,-0x50(%rbp,%rax,1)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
movb   $0x0,-0x56(%rbp)
movb   $0x0,-0x55(%rbp)
jmp    1552 <main+0x352>
movb   $0x1,-0x56(%rbp)
movb   $0x0,-0x55(%rbp)
jmp    1557 <main+0x357>
mov    -0x80(%rbp),%rdi
mov    $0x5f,%esi
movzwl -0x1a(%rbp),%edx
call   1100 <containsLetter@plt>
cmp    $0x0,%rax
jne    157c <main+0x37c>
movb   $0x1,-0x5(%rbp)
jmp    15d6 <main+0x3d6>
movzwl -0x8(%rbp),%eax
cmp    $0x0,%eax
jne    1592 <main+0x392>
movb   $0x1,-0x6(%rbp)
jmp    15d1 <main+0x3d1>
movl   $0x0,-0x78(%rbp)
cmpl   $0x23,-0x78(%rbp)
ja     15b8 <main+0x3b8>
mov    $0x0,%al
call   1120 <goUpLine@plt>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    1599 <main+0x399>
movsbl -0x71(%rbp),%eax
cmp    $0xa,%eax
jne    15cc <main+0x3cc>
mov    $0x0,%al
call   1120 <goUpLine@plt>
jmp    15d1 <main+0x3d1>
jmp    15d6 <main+0x3d6>
jmp    132a <main+0x12a>
movzbl -0x5(%rbp),%ecx
lea    0xa92(%rip),%rsi
lea    0xa87(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
lea    0xa70(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xa70(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
xor    %edi,%edi
call   10d0 <time@plt>
mov    %eax,%edi
call   10c0 <srand@plt>
lea    0xdca(%rip),%rbx
mov    %rbx,%rdi
call   1090 <countWords@plt>
mov    %eax,%edi
call   10f0 <ranInt@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   10e0 <searchWord@plt>
mov    %rax,-0x40(%rbp)
mov    %rax,%rdi
call   1070 <strlen@plt>
movzwl %ax,%ebx
lea    0x10(%rbx),%eax
and    $0xfffffff0,%eax
mov    %rsp,%r14
sub    %rax,%r14
mov    %r14,%rsp
test   %bx,%bx
je     1292 <main+0x72>
mov    %r14,%rdi
mov    $0x5f,%esi
mov    %rbx,%rdx
call   10a0 <memset@plt>
lea    (%r14,%rbx,1),%rax
movb   $0x0,(%r14,%rbx,1)
movdqa 0xd5d(%rip),%xmm0
movdqu %xmm0,-0x86(%rbp)
ff
movdqa %xmm0,-0x90(%rbp)
ff
movabs $0x2e6e6e2f73636970,%rcx
6e 6e 2e
mov    %rcx,-0x70(%rbp)
movl   $0x747874,-0x68(%rbp)
mov    -0x40(%rbp),%rdx
lea    (%rdx,%rbx,1),%rcx
cmp    %rcx,%r14
setb   %cl
cmp    %rax,%rdx
setb   %al
and    %cl,%al
mov    %al,-0x29(%rbp)
mov    %ebx,%eax
and    $0xfffffff0,%eax
mov    %rax,-0x58(%rbp)
mov    %rbx,-0x50(%rbp)
neg    %rbx
mov    %rbx,-0x60(%rbp)
mov    $0xa,%r12w
mov    0x2cdf(%rip),%r15
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x44(%rbp)
movl   $0x0,-0x30(%rbp)
cs nopw 0x0(%rax,%rax,1)
mov    %r12d,-0x48(%rbp)
movzwl %r12w,%eax
mov    $0xb,%edx
sub    %eax,%edx
lea    -0x70(%rbp),%rbx
mov    %rbx,%rdi
lea    0xce8(%rip),%rsi
call   1110 <sprintf@plt>
mov    %rbx,%rdi
lea    0xd37(%rip),%rsi
call   1100 <fopen@plt>
mov    %rax,%rbx
mov    %rax,%rdi
nopw   0x0(%rax,%rax,1)
call   10b0 <fgetc@plt>
cmp    (%r15),%al
je     1380 <main+0x160>
movsbl %al,%edi
call   1040 <putchar@plt>
mov    %rbx,%rdi
jmp    1360 <main+0x140>
nopw   0x0(%rax,%rax,1)
cmpb   $0x0,-0x44(%rbp)
je     13a0 <main+0x180>
lea    0xcf8(%rip),%rdi
call   1050 <puts@plt>
jmp    13c0 <main+0x1a0>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmpb   $0x0,-0x34(%rbp)
je     13b4 <main+0x194>
lea    0xcc6(%rip),%rdi
call   1050 <puts@plt>
jmp    13c0 <main+0x1a0>
mov    $0xa,%edi
call   1040 <putchar@plt>
xchg   %ax,%ax
mov    %r14,%rdi
call   1050 <puts@plt>
lea    0xc62(%rip),%rdi
lea    -0x90(%rbp),%r15
mov    %r15,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xc5d(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
mov    0x2bf3(%rip),%r12
mov    (%r12),%edi
call   1130 <getc@plt>
mov    %eax,%ebx
mov    (%r12),%edi
call   1130 <getc@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    %ebx,%r13d
movsbl %bl,%r12d
mov    %r15,%rdi
mov    %r12d,%esi
mov    $0x1a,%edx
call   1120 <containsLetter@plt>
mov    $0x1,%bl
test   %rax,%rax
je     1440 <main+0x220>
mov    -0x50(%rbp),%r15
jmp    1665 <main+0x445>
nopw   0x0(%rax,%rax,1)
mov    %r12d,%edi
call   1060 <validLetter@plt>
test   %rax,%rax
je     1486 <main+0x266>
mov    -0x40(%rbp),%rdi
mov    %r12d,%esi
mov    -0x50(%rbp),%r15
mov    %r15d,%edx
call   1120 <containsLetter@plt>
test   %rax,%rax
je     1496 <main+0x276>
test   %r15,%r15
je     1650 <main+0x430>
cmp    $0x10,%r15w
setb   %al
or     -0x29(%rbp),%al
je     149f <main+0x27f>
xor    %ecx,%ecx
mov    -0x40(%rbp),%rdx
jmp    1622 <main+0x402>
mov    $0x1,%al
mov    %eax,-0x34(%rbp)
xor    %ebx,%ebx
mov    -0x50(%rbp),%r15
jmp    166c <main+0x44c>
addl   $0xffffffff,-0x48(%rbp)
jmp    1650 <main+0x430>
movzbl %r13b,%eax
movd   %eax,%xmm0
punpcklbw %xmm0,%xmm0
pshuflw $0x0,%xmm0,%xmm0
xor    %eax,%eax
mov    -0x40(%rbp),%rdx
mov    -0x58(%rbp),%rsi
jmp    14cd <main+0x2ad>
nopl   0x0(%rax)
add    $0x10,%rax
cmp    %rax,%rsi
je     161a <main+0x3fa>
movq   (%rdx,%rax,1),%xmm2
movq   0x8(%rdx,%rax,1),%xmm1
pcmpeqb %xmm0,%xmm2
movd   %xmm2,%ecx
test   $0x1,%cl
je     14e9 <main+0x2c9>
mov    %r12b,(%r14,%rax,1)
movdqa %xmm2,%xmm3
pslld  $0x8,%xmm3
movd   %xmm3,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     1503 <main+0x2e3>
mov    %r12b,0x1(%r14,%rax,1)
pextrw $0x1,%xmm2,%ecx
test   $0x1,%cl
je     1512 <main+0x2f2>
mov    %r12b,0x2(%r14,%rax,1)
movdqa %xmm2,%xmm3
psllq  $0x18,%xmm3
pextrw $0x3,%xmm3,%ecx
test   $0x1,%cl
je     152a <main+0x30a>
mov    %r12b,0x3(%r14,%rax,1)
pextrw $0x2,%xmm2,%ecx
test   $0x1,%cl
je     1539 <main+0x319>
mov    %r12b,0x4(%r14,%rax,1)
movdqa %xmm2,%xmm3
pslldq $0x5,%xmm3
pextrw $0x5,%xmm3,%ecx
test   $0x1,%cl
je     1551 <main+0x331>
mov    %r12b,0x5(%r14,%rax,1)
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     1560 <main+0x340>
mov    %r12b,0x6(%r14,%rax,1)
pslldq $0x7,%xmm2
pextrw $0x7,%xmm2,%ecx
test   $0x1,%cl
je     1574 <main+0x354>
mov    %r12b,0x7(%r14,%rax,1)
pcmpeqb %xmm0,%xmm1
movd   %xmm1,%ecx
test   $0x1,%cl
je     1586 <main+0x366>
mov    %r12b,0x8(%r14,%rax,1)
movdqa %xmm1,%xmm2
pslld  $0x8,%xmm2
movd   %xmm2,%ecx
shr    $0x10,%ecx
test   $0x1,%cl
je     15a0 <main+0x380>
mov    %r12b,0x9(%r14,%rax,1)
pextrw $0x1,%xmm1,%ecx
test   $0x1,%cl
je     15af <main+0x38f>
mov    %r12b,0xa(%r14,%rax,1)
movdqa %xmm1,%xmm2
psllq  $0x18,%xmm2
pextrw $0x3,%xmm2,%ecx
test   $0x1,%cl
je     15c7 <main+0x3a7>
mov    %r12b,0xb(%r14,%rax,1)
pextrw $0x2,%xmm1,%ecx
test   $0x1,%cl
je     15d6 <main+0x3b6>
mov    %r12b,0xc(%r14,%rax,1)
movdqa %xmm1,%xmm2
pslldq $0x5,%xmm2
pextrw $0x5,%xmm2,%ecx
test   $0x1,%cl
je     15ee <main+0x3ce>
mov    %r12b,0xd(%r14,%rax,1)
pextrw $0x3,%xmm1,%ecx
test   $0x1,%cl
je     15fd <main+0x3dd>
mov    %r12b,0xe(%r14,%rax,1)
pslldq $0x7,%xmm1
pextrw $0x7,%xmm1,%ecx
test   $0x1,%cl
je     14c0 <main+0x2a0>
mov    %r12b,0xf(%r14,%rax,1)
jmp    14c0 <main+0x2a0>
mov    %rsi,%rcx
cmp    %r15,%rsi
je     1650 <main+0x430>
mov    %rcx,%rax
test   $0x1,%r15b
je     163c <main+0x41c>
cmp    %r13b,(%rdx,%rcx,1)
jne    1635 <main+0x415>
mov    %r12b,(%r14,%rcx,1)
mov    %rcx,%rax
or     $0x1,%rax
not    %rcx
cmp    -0x60(%rbp),%rcx
jne    17af <main+0x58f>
nopl   0x0(%rax)
mov    -0x30(%rbp),%ecx
mov    %ecx,%eax
mov    %r12b,-0x90(%rbp,%rax,1)
ff
add    $0x1,%ecx
mov    %ecx,-0x30(%rbp)
xor    %ebx,%ebx
movl   $0x0,-0x34(%rbp)
mov    %r14,%rdi
mov    $0x5f,%esi
mov    %r15d,%edx
call   1120 <containsLetter@plt>
test   %rax,%rax
je     17e5 <main+0x5c5>
mov    -0x48(%rbp),%r12d
test   %r12w,%r12w
je     17ee <main+0x5ce>
mov    %ebx,-0x44(%rbp)
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
xor    %eax,%eax
call   1140 <goUpLine@plt>
cmp    $0xa,%r13b
mov    0x2843(%rip),%r15
jne    1320 <main+0x100>
xor    %eax,%eax
call   1140 <goUpLine@plt>
jmp    1320 <main+0x100>
mov    -0x30(%rbp),%ecx
jmp    17cd <main+0x5ad>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x2,%rax
cmp    %rax,%r15
je     1653 <main+0x433>
cmp    %r13b,(%rdx,%rax,1)
jne    17d7 <main+0x5b7>
mov    %r12b,(%r14,%rax,1)
cmp    %r13b,0x1(%rdx,%rax,1)
jne    17c0 <main+0x5a0>
mov    %r12b,0x1(%r14,%rax,1)
jmp    17c0 <main+0x5a0>
lea    0x86c(%rip),%rsi
jmp    17f5 <main+0x5d5>
lea    0x867(%rip),%rsi
lea    0x853(%rip),%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0x857(%rip),%rdi
mov    -0x40(%rbp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"dict.txt\00"
@__const.main.triedLetters = [26 x i8] c" "
@__const.main.filename = [12 x i8] c"pics/nn.txt\00"
@.str.1 = [12 x i8] c"pics/%d.txt\00"
@.str.2 = [2 x i8] c"r\00"
@EOF = global i8 0
@.str.3 = [23 x i8] c"You already tried it!\0A\00"
@.str.4 = [19 x i8] c"Invalid character\0A\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [4 x i8] c"%s\0A\00"
@.str.7 = [19 x i8] c"Tried letters: %s\0A\00"
@.str.8 = [11 x i8] c"Your try: \00"
@stdin = global i32 0
@.str.9 = [9 x i8] c"You %s!\0A\00"
@.str.10 = [4 x i8] c"win\00"
@.str.11 = [5 x i8] c"lose\00"
@.str.12 = [18 x i8] c"The word was: %s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i8
%4 = alloca i16
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i16
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i16
%11 = alloca [26 x i8]
%12 = alloca i32
%13 = alloca i8
%14 = alloca i8
%15 = alloca [12 x i8]
%16 = alloca i8
%17 = alloca i32*
%18 = alloca i8
%19 = alloca i16
%20 = alloca i32
store i32 0, i32* %1
%21 = call i32 @time(i32* null)
%22 = call i32 @srand(i32 %21)
store i8 0, i8* %2
store i8 0, i8* %3
store i16 10, i16* %4
%23 = call i32 @countWords(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 %23, i32* %5
%24 = load i32, i32* %5
%25 = call i32 @ranInt(i32 %24)
%26 = call i8* @searchWord(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %25)
store i8* %26, i8** %6
%27 = load i8*, i8** %6
%28 = call zeroext i16 @strlen(i8* %27)
store i16 %28, i16* %7
%29 = load i16, i16* %7
%30 = zext i16 %29 to i32
%31 = add nsw i32 %30, 1
%32 = zext i32 %31 to i64
%33 = call i8* @llvm.stacksave()
store i8* %33, i8** %8
%34 = alloca i8, i64 %32
store i64 %32, i64* %9
store i16 0, i16* %10
br label %35
35: ; preds = %45, %0
%36 = load i16, i16* %10
%37 = zext i16 %36 to i32
%38 = load i16, i16* %7
%39 = zext i16 %38 to i32
%40 = icmp slt i32 %37, %39
br i1 %40, label %41, label %48
41: ; preds = %35
%42 = load i16, i16* %10
%43 = zext i16 %42 to i64
%44 = getelementptr inbounds i8, i8* %34, i64 %43
store i8 95, i8* %44
br label %45
45: ; preds = %41
%46 = load i16, i16* %10
%47 = add i16 %46, 1
store i16 %47, i16* %10
br label %35
48: ; preds = %35
%49 = load i16, i16* %7
%50 = zext i16 %49 to i64
%51 = getelementptr inbounds i8, i8* %34, i64 %50
store i8 0, i8* %51
%52 = bitcast [26 x i8]* %11 to i8*
%53 = getelementptr inbounds [26 x i8], [26 x i8]* %11, i64 0, i64 25
store i8 32, i8* %53
store i32 0, i32* %12
store i8 0, i8* %13
store i8 0, i8* %14
%54 = bitcast [12 x i8]* %15 to i8*
br label %55
55: ; preds = %188, %48
%56 = load i8, i8* %2
%57 = zext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %63, label %59
59: ; preds = %55
%60 = load i8, i8* %3
%61 = zext i8 %60 to i32
%62 = icmp ne i32 %61, 0
br label %63
63: ; preds = %59, %55
%64 = phi i1 [ true, %55 ], [ %62, %59 ]
%65 = xor i1 %64, true
br i1 %65, label %66, label %189
66: ; preds = %63
%67 = getelementptr inbounds [12 x i8], [12 x i8]* %15, i64 0, i64 0
%68 = load i16, i16* %4
%69 = zext i16 %68 to i32
%70 = sub nsw i32 11, %69
%71 = call i32 @sprintf(i8* %67, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds [12 x i8], [12 x i8]* %15, i64 0, i64 0
%73 = call i32* @fopen(i8* %72, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32* %73, i32** %17
br label %74
74: ; preds = %81, %66
%75 = load i32*, i32** %17
%76 = call signext i8 @fgetc(i32* %75)
store i8 %76, i8* %16
%77 = sext i8 %76 to i32
%78 = load i8, i8* @EOF
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %77, %79
br i1 %80, label %81, label %84
81: ; preds = %74
%82 = load i8, i8* %16
%83 = call i32 @putchar(i8 signext %82)
br label %74
84: ; preds = %74
%85 = load i8, i8* %13
%86 = icmp ne i8 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
br label %97
89: ; preds = %84
%90 = load i8, i8* %14
%91 = icmp ne i8 %90, 0
br i1 %91, label %92, label %94
92: ; preds = %89
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
br label %96
94: ; preds = %89
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %96
96: ; preds = %94, %92
br label %97
97: ; preds = %96, %87
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* %34)
%99 = getelementptr inbounds [26 x i8], [26 x i8]* %11, i64 0, i64 0
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i8* %99)
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%102 = load i32, i32* @stdin
%103 = call signext i8 @getc(i32 %102)
store i8 %103, i8* %18
%104 = load i32, i32* @stdin
%105 = call signext i8 @getc(i32 %104)
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%107 = getelementptr inbounds [26 x i8], [26 x i8]* %11, i64 0, i64 0
%108 = load i8, i8* %18
%109 = call i64 @containsLetter(i8* %107, i8 signext %108, i16 zeroext 26)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %112
111: ; preds = %97
store i8 1, i8* %13
store i8 0, i8* %14
br label %161
112: ; preds = %97
%113 = load i8, i8* %18
%114 = call i64 @validLetter(i8 signext %113)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %159
116: ; preds = %112
%117 = load i8*, i8** %6
%118 = load i8, i8* %18
%119 = load i16, i16* %7
%120 = call i64 @containsLetter(i8* %117, i8 signext %118, i16 zeroext %119)
%121 = icmp ne i64 %120, 0
br i1 %121, label %122, label %149
122: ; preds = %116
store i16 0, i16* %19
br label %123
123: ; preds = %145, %122
%124 = load i16, i16* %19
%125 = zext i16 %124 to i32
%126 = load i16, i16* %7
%127 = zext i16 %126 to i32
%128 = icmp slt i32 %125, %127
br i1 %128, label %129, label %148
129: ; preds = %123
%130 = load i8*, i8** %6
%131 = load i16, i16* %19
%132 = zext i16 %131 to i64
%133 = getelementptr inbounds i8, i8* %130, i64 %132
%134 = load i8, i8* %133
%135 = sext i8 %134 to i32
%136 = load i8, i8* %18
%137 = sext i8 %136 to i32
%138 = icmp eq i32 %135, %137
br i1 %138, label %139, label %144
139: ; preds = %129
%140 = load i8, i8* %18
%141 = load i16, i16* %19
%142 = zext i16 %141 to i64
%143 = getelementptr inbounds i8, i8* %34, i64 %142
store i8 %140, i8* %143
br label %144
144: ; preds = %139, %129
br label %145
145: ; preds = %144
%146 = load i16, i16* %19
%147 = add i16 %146, 1
store i16 %147, i16* %19
br label %123
148: ; preds = %123
br label %152
149: ; preds = %116
%150 = load i16, i16* %4
%151 = add i16 %150, -1
store i16 %151, i16* %4
br label %152
152: ; preds = %149, %148
%153 = load i8, i8* %18
%154 = load i32, i32* %12
%155 = zext i32 %154 to i64
%156 = getelementptr inbounds [26 x i8], [26 x i8]* %11, i64 0, i64 %155
store i8 %153, i8* %156
%157 = load i32, i32* %12
%158 = add i32 %157, 1
store i32 %158, i32* %12
store i8 0, i8* %14
store i8 0, i8* %13
br label %160
159: ; preds = %112
store i8 1, i8* %14
store i8 0, i8* %13
br label %160
160: ; preds = %159, %152
br label %161
161: ; preds = %160, %111
%162 = load i16, i16* %7
%163 = call i64 @containsLetter(i8* %34, i8 signext 95, i16 zeroext %162)
%164 = icmp ne i64 %163, 0
br i1 %164, label %166, label %165
165: ; preds = %161
store i8 1, i8* %2
br label %188
166: ; preds = %161
%167 = load i16, i16* %4
%168 = zext i16 %167 to i32
%169 = icmp eq i32 %168, 0
br i1 %169, label %170, label %171
170: ; preds = %166
store i8 1, i8* %3
br label %187
171: ; preds = %166
store i32 0, i32* %20
br label %172
172: ; preds = %177, %171
%173 = load i32, i32* %20
%174 = icmp ule i32 %173, 35
br i1 %174, label %175, label %180
175: ; preds = %172
%176 = call i32 (...) @goUpLine()
br label %177
177: ; preds = %175
%178 = load i32, i32* %20
%179 = add i32 %178, 1
store i32 %179, i32* %20
br label %172
180: ; preds = %172
%181 = load i8, i8* %18
%182 = sext i8 %181 to i32
%183 = icmp eq i32 %182, 10
br i1 %183, label %184, label %186
184: ; preds = %180
%185 = call i32 (...) @goUpLine()
br label %186
186: ; preds = %184, %180
br label %187
187: ; preds = %186, %170
br label %188
188: ; preds = %187, %165
br label %55
189: ; preds = %63
%190 = load i8, i8* %2
%191 = zext i8 %190 to i32
%192 = icmp ne i32 %191, 0
%193 = zext i1 %192 to i64
%194 = select i1 %192, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0)
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* %194)
%196 = load i8*, i8** %6
%197 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i8* %196)
%198 = load i8*, i8** %6
%199 = call i32 @free(i8* %198)
store i32 0, i32* %1
%200 = load i8*, i8** %8
%201 = load i32, i32* %1
ret i32 %201
}

LLVM IR (-O2):
@.str = [9 x i8] c"dict.txt\00"
@__const.main.filename = [12 x i8] c"pics/nn.txt\00"
@.str.1 = [12 x i8] c"pics/%d.txt\00"
@.str.2 = [2 x i8] c"r\00"
@EOF = global i8 0
@.str.7 = [19 x i8] c"Tried letters: %s\0A\00"
@.str.8 = [11 x i8] c"Your try: \00"
@stdin = global i32 0
@.str.9 = [9 x i8] c"You %s!\0A\00"
@.str.10 = [4 x i8] c"win\00"
@.str.11 = [5 x i8] c"lose\00"
@.str.12 = [18 x i8] c"The word was: %s\0A\00"
@str = [18 x i8] c"Invalid character\00"
@str.13 = [22 x i8] c"You already tried it!\00"
define i32 @main() {
%1 = alloca [26 x i8]
%2 = alloca [12 x i8]
%3 = tail call i32 @time(i32* null)
%4 = tail call i32 @srand(i32 %3)
%5 = tail call i32 @countWords(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 @ranInt(i32 %5)
%7 = tail call i8* @searchWord(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %6)
%8 = tail call zeroext i16 @strlen(i8* %7)
%9 = zext i16 %8 to i64
%10 = add nuw nsw i64 %9, 1
%11 = alloca i8, i64 %10
%12 = icmp eq i16 %8, 0
br i1 %12, label %14, label %13
13: ; preds = %0
br label %14
14: ; preds = %13, %0
%15 = getelementptr inbounds i8, i8* %11, i64 %9
store i8 0, i8* %15
%16 = getelementptr inbounds [26 x i8], [26 x i8]* %1, i64 0, i64 0
%17 = getelementptr inbounds [12 x i8], [12 x i8]* %2, i64 0, i64 0
%18 = getelementptr inbounds [26 x i8], [26 x i8]* %1, i64 0, i64 0
%19 = getelementptr i8, i8* %11, i64 %9
%20 = getelementptr i8, i8* %7, i64 %9
%21 = icmp ult i16 %8, 16
%22 = icmp ult i8* %11, %20
%23 = icmp ult i8* %7, %19
%24 = and i1 %22, %23
%25 = and i64 %9, 65520
%26 = icmp eq i64 %25, %9
%27 = and i64 %9, 1
%28 = icmp eq i64 %27, 0
%29 = sub nsw i64 0, %9
br label %30
30: ; preds = %262, %14
%31 = phi i8 [ 0, %14 ], [ %217, %262 ]
%32 = phi i8 [ 0, %14 ], [ %216, %262 ]
%33 = phi i32 [ 0, %14 ], [ %215, %262 ]
%34 = phi i16 [ 10, %14 ], [ %214, %262 ]
%35 = zext i16 %34 to i32
%36 = sub nsw i32 11, %35
%37 = call i32 @sprintf(i8* %17, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%38 = call i32* @fopen(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%39 = call signext i8 @fgetc(i32* %38)
%40 = load i8, i8* @EOF
%41 = icmp eq i8 %39, %40
br i1 %41, label %48, label %42
42: ; preds = %30, %42
%43 = phi i8 [ %45, %42 ], [ %39, %30 ]
%44 = call i32 @putchar(i8 signext %43)
%45 = call signext i8 @fgetc(i32* %38)
%46 = load i8, i8* @EOF
%47 = icmp eq i8 %45, %46
br i1 %47, label %48, label %42
48: ; preds = %42, %30
%49 = icmp eq i8 %32, 0
br i1 %49, label %52, label %50
50: ; preds = %48
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.13, i64 0, i64 0))
br label %58
52: ; preds = %48
%53 = icmp eq i8 %31, 0
br i1 %53, label %56, label %54
54: ; preds = %52
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
br label %58
56: ; preds = %52
%57 = call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 10)
br label %58
58: ; preds = %54, %56, %50
%59 = call i32 @puts(i8* %11)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i8* %16)
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%62 = load i32, i32* @stdin
%63 = call signext i8 @getc(i32 %62)
%64 = load i32, i32* @stdin
%65 = call signext i8 @getc(i32 %64)
%66 = call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 10)
%67 = call i64 @containsLetter(i8* %16, i8 signext %63, i16 zeroext 26)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %213
69: ; preds = %58
%70 = call i64 @validLetter(i8 signext %63)
%71 = icmp eq i64 %70, 0
br i1 %71, label %213, label %72
72: ; preds = %69
%73 = call i64 @containsLetter(i8* %7, i8 signext %63, i16 zeroext %8)
%74 = icmp eq i64 %73, 0
br i1 %74, label %206, label %75
75: ; preds = %72
br i1 %12, label %208, label %76
76: ; preds = %75
%77 = select i1 %21, i1 true, i1 %24
br i1 %77, label %175, label %78
78: ; preds = %76
%79 = insertelement <8 x i8> poison, i8 %63, i64 0
%80 = shufflevector <8 x i8> %79, <8 x i8> poison, <8 x i32> zeroinitializer
%81 = insertelement <8 x i8> poison, i8 %63, i64 0
%82 = shufflevector <8 x i8> %81, <8 x i8> poison, <8 x i32> zeroinitializer
br label %83
83: ; preds = %171, %78
%84 = phi i64 [ 0, %78 ], [ %172, %171 ]
%85 = or i64 %84, 8
%86 = getelementptr inbounds i8, i8* %7, i64 %84
%87 = bitcast i8* %86 to <8 x i8>*
%88 = load <8 x i8>, <8 x i8>* %87
%89 = getelementptr inbounds i8, i8* %86, i64 8
%90 = bitcast i8* %89 to <8 x i8>*
%91 = load <8 x i8>, <8 x i8>* %90
%92 = icmp eq <8 x i8> %88, %80
%93 = icmp eq <8 x i8> %91, %82
%94 = extractelement <8 x i1> %92, i64 0
br i1 %94, label %95, label %97
95: ; preds = %83
%96 = getelementptr inbounds i8, i8* %11, i64 %84
store i8 %63, i8* %96
br label %97
97: ; preds = %95, %83
%98 = extractelement <8 x i1> %92, i64 1
br i1 %98, label %99, label %102
99: ; preds = %97
%100 = or i64 %84, 1
%101 = getelementptr inbounds i8, i8* %11, i64 %100
store i8 %63, i8* %101
br label %102
102: ; preds = %99, %97
%103 = extractelement <8 x i1> %92, i64 2
br i1 %103, label %104, label %107
104: ; preds = %102
%105 = or i64 %84, 2
%106 = getelementptr inbounds i8, i8* %11, i64 %105
store i8 %63, i8* %106
br label %107
107: ; preds = %104, %102
%108 = extractelement <8 x i1> %92, i64 3
br i1 %108, label %109, label %112
109: ; preds = %107
%110 = or i64 %84, 3
%111 = getelementptr inbounds i8, i8* %11, i64 %110
store i8 %63, i8* %111
br label %112
112: ; preds = %109, %107
%113 = extractelement <8 x i1> %92, i64 4
br i1 %113, label %114, label %117
114: ; preds = %112
%115 = or i64 %84, 4
%116 = getelementptr inbounds i8, i8* %11, i64 %115
store i8 %63, i8* %116
br label %117
117: ; preds = %114, %112
%118 = extractelement <8 x i1> %92, i64 5
br i1 %118, label %119, label %122
119: ; preds = %117
%120 = or i64 %84, 5
%121 = getelementptr inbounds i8, i8* %11, i64 %120
store i8 %63, i8* %121
br label %122
122: ; preds = %119, %117
%123 = extractelement <8 x i1> %92, i64 6
br i1 %123, label %124, label %127
124: ; preds = %122
%125 = or i64 %84, 6
%126 = getelementptr inbounds i8, i8* %11, i64 %125
store i8 %63, i8* %126
br label %127
127: ; preds = %124, %122
%128 = extractelement <8 x i1> %92, i64 7
br i1 %128, label %129, label %132
129: ; preds = %127
%130 = or i64 %84, 7
%131 = getelementptr inbounds i8, i8* %11, i64 %130
store i8 %63, i8* %131
br label %132
132: ; preds = %129, %127
%133 = extractelement <8 x i1> %93, i64 0
br i1 %133, label %134, label %136
134: ; preds = %132
%135 = getelementptr inbounds i8, i8* %11, i64 %85
store i8 %63, i8* %135
br label %136
136: ; preds = %134, %132
%137 = extractelement <8 x i1> %93, i64 1
br i1 %137, label %138, label %141
138: ; preds = %136
%139 = or i64 %84, 9
%140 = getelementptr inbounds i8, i8* %11, i64 %139
store i8 %63, i8* %140
br label %141
141: ; preds = %138, %136
%142 = extractelement <8 x i1> %93, i64 2
br i1 %142, label %143, label %146
143: ; preds = %141
%144 = or i64 %84, 10
%145 = getelementptr inbounds i8, i8* %11, i64 %144
store i8 %63, i8* %145
br label %146
146: ; preds = %143, %141
%147 = extractelement <8 x i1> %93, i64 3
br i1 %147, label %148, label %151
148: ; preds = %146
%149 = or i64 %84, 11
%150 = getelementptr inbounds i8, i8* %11, i64 %149
store i8 %63, i8* %150
br label %151
151: ; preds = %148, %146
%152 = extractelement <8 x i1> %93, i64 4
br i1 %152, label %153, label %156
153: ; preds = %151
%154 = or i64 %84, 12
%155 = getelementptr inbounds i8, i8* %11, i64 %154
store i8 %63, i8* %155
br label %156
156: ; preds = %153, %151
%157 = extractelement <8 x i1> %93, i64 5
br i1 %157, label %158, label %161
158: ; preds = %156
%159 = or i64 %84, 13
%160 = getelementptr inbounds i8, i8* %11, i64 %159
store i8 %63, i8* %160
br label %161
161: ; preds = %158, %156
%162 = extractelement <8 x i1> %93, i64 6
br i1 %162, label %163, label %166
163: ; preds = %161
%164 = or i64 %84, 14
%165 = getelementptr inbounds i8, i8* %11, i64 %164
store i8 %63, i8* %165
br label %166
166: ; preds = %163, %161
%167 = extractelement <8 x i1> %93, i64 7
br i1 %167, label %168, label %171
168: ; preds = %166
%169 = or i64 %84, 15
%170 = getelementptr inbounds i8, i8* %11, i64 %169
store i8 %63, i8* %170
br label %171
171: ; preds = %168, %166
%172 = add nuw i64 %84, 16
%173 = icmp eq i64 %172, %25
br i1 %173, label %174, label %83
174: ; preds = %171
br i1 %26, label %208, label %175
175: ; preds = %76, %174
%176 = phi i64 [ 0, %76 ], [ %25, %174 ]
%177 = xor i64 %176, -1
br i1 %28, label %186, label %178
178: ; preds = %175
%179 = getelementptr inbounds i8, i8* %7, i64 %176
%180 = load i8, i8* %179
%181 = icmp eq i8 %180, %63
br i1 %181, label %182, label %184
182: ; preds = %178
%183 = getelementptr inbounds i8, i8* %11, i64 %176
store i8 %63, i8* %183
br label %184
184: ; preds = %182, %178
%185 = or i64 %176, 1
br label %186
186: ; preds = %184, %175
%187 = phi i64 [ %176, %175 ], [ %185, %184 ]
%188 = icmp eq i64 %177, %29
br i1 %188, label %208, label %189
189: ; preds = %186, %203
%190 = phi i64 [ %204, %203 ], [ %187, %186 ]
%191 = getelementptr inbounds i8, i8* %7, i64 %190
%192 = load i8, i8* %191
%193 = icmp eq i8 %192, %63
br i1 %193, label %194, label %196
194: ; preds = %189
%195 = getelementptr inbounds i8, i8* %11, i64 %190
store i8 %63, i8* %195
br label %196
196: ; preds = %189, %194
%197 = add nuw nsw i64 %190, 1
%198 = getelementptr inbounds i8, i8* %7, i64 %197
%199 = load i8, i8* %198
%200 = icmp eq i8 %199, %63
br i1 %200, label %201, label %203
201: ; preds = %196
%202 = getelementptr inbounds i8, i8* %11, i64 %197
store i8 %63, i8* %202
br label %203
203: ; preds = %201, %196
%204 = add nuw nsw i64 %190, 2
%205 = icmp eq i64 %204, %9
br i1 %205, label %208, label %189
206: ; preds = %72
%207 = add i16 %34, -1
br label %208
208: ; preds = %186, %203, %174, %75, %206
%209 = phi i16 [ %207, %206 ], [ %34, %75 ], [ %34, %174 ], [ %34, %203 ], [ %34, %186 ]
%210 = zext i32 %33 to i64
%211 = getelementptr inbounds [26 x i8], [26 x i8]* %1, i64 0, i64 %210
store i8 %63, i8* %211
%212 = add i32 %33, 1
br label %213
213: ; preds = %69, %58, %208
%214 = phi i16 [ %209, %208 ], [ %34, %58 ], [ %34, %69 ]
%215 = phi i32 [ %212, %208 ], [ %33, %58 ], [ %33, %69 ]
%216 = phi i8 [ 0, %208 ], [ 1, %58 ], [ 0, %69 ]
%217 = phi i8 [ 0, %208 ], [ 0, %58 ], [ 1, %69 ]
%218 = call i64 @containsLetter(i8* %11, i8 signext 95, i16 zeroext %8)
%219 = icmp eq i64 %218, 0
br i1 %219, label %263, label %220
220: ; preds = %213
%221 = icmp eq i16 %214, 0
br i1 %221, label %263, label %222
222: ; preds = %220
%223 = call i32 (...) @goUpLine()
%224 = call i32 (...) @goUpLine()
%225 = call i32 (...) @goUpLine()
%226 = call i32 (...) @goUpLine()
%227 = call i32 (...) @goUpLine()
%228 = call i32 (...) @goUpLine()
%229 = call i32 (...) @goUpLine()
%230 = call i32 (...) @goUpLine()
%231 = call i32 (...) @goUpLine()
%232 = call i32 (...) @goUpLine()
%233 = call i32 (...) @goUpLine()
%234 = call i32 (...) @goUpLine()
%235 = call i32 (...) @goUpLine()
%236 = call i32 (...) @goUpLine()
%237 = call i32 (...) @goUpLine()
%238 = call i32 (...) @goUpLine()
%239 = call i32 (...) @goUpLine()
%240 = call i32 (...) @goUpLine()
%241 = call i32 (...) @goUpLine()
%242 = call i32 (...) @goUpLine()
%243 = call i32 (...) @goUpLine()
%244 = call i32 (...) @goUpLine()
%245 = call i32 (...) @goUpLine()
%246 = call i32 (...) @goUpLine()
%247 = call i32 (...) @goUpLine()
%248 = call i32 (...) @goUpLine()
%249 = call i32 (...) @goUpLine()
%250 = call i32 (...) @goUpLine()
%251 = call i32 (...) @goUpLine()
%252 = call i32 (...) @goUpLine()
%253 = call i32 (...) @goUpLine()
%254 = call i32 (...) @goUpLine()
%255 = call i32 (...) @goUpLine()
%256 = call i32 (...) @goUpLine()
%257 = call i32 (...) @goUpLine()
%258 = call i32 (...) @goUpLine()
%259 = icmp eq i8 %63, 10
br i1 %259, label %260, label %262
260: ; preds = %222
%261 = call i32 (...) @goUpLine()
br label %262
262: ; preds = %260, %222
br label %30
263: ; preds = %220, %213
%264 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), %213 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), %220 ]
%265 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* %264)
%266 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i8* %7)
%267 = call i32 @free(i8* %7)
ret i32 0
}