#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ usleep(int);
int /*<<< orphan*/ write_ch_to_opt(char *, char *, char *);
int /*<<< orphan*/ writechars(char **, int);
int runintro(void) {
  char *prnt[23], *prntgpl[23], optanswer[80];
  int i;
  for (i = 0; i < 80; i++)
    printf("\n");
  prnt[0] = "               "
            "==================================================";
  prnt[1] = "               "
            " _____        ___        ___     _______";
  prnt[2] = "               "
            "|     \\      /   \\      /   \\   |         |\\     |";
  prnt[3] = "               "
            "|      \\    /     \\    /     \\  |         | \\    |";
  prnt[4] = "               "
            "|       |  |_______|  |         |____     |  \\   |";
  prnt[5] = "               "
            "|       |  |       |  |    ___  |         |   \\  |";
  prnt[6] = "               "
            "|      /   |       |   \\     /  |         |    \\ |";
  prnt[7] = "               "
            "|_____/    |       |    \\___/   |_______  |     \\|";
  prnt[8] = " ";
  prnt[9] = "               "
            "==================================================";
  writechars(prnt, 10);
  for (i = 0; i < 7; i++)
    printf("\n");
  for (i = 0; i < 3; i++) {
    printf("\a");
    fflush(stdout);
    usleep(500000);
  }
  usleep(3000000);
  prntgpl[0] =
      "     "
      "**********************************************************************";
  prntgpl[1] =
      "     "
      "*Copyright (C) 2015 Marcus Pedersén                                  *";
  prntgpl[2] =
      "     "
      "*                                                                    *";
  prntgpl[3] =
      "     "
      "*This program is free software: you can redistribute it and/or modify*";
  prntgpl[4] =
      "     "
      "*it under the terms of the GNU General Public License as published by*";
  prntgpl[5] =
      "     "
      "*the Free Software Foundation, either version 3 of the License, or   *";
  prntgpl[6] =
      "     "
      "*(at your option) any later version.                                 *";
  prntgpl[7] =
      "     "
      "*                                                                    *";
  prntgpl[8] =
      "     "
      "*This program is distributed in the hope that it will be useful,     *";
  prntgpl[9] =
      "     "
      "*but WITHOUT ANY WARRANTY; without even the implied warranty of      *";
  prntgpl[10] =
      "     "
      "*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the        *";
  prntgpl[11] =
      "     "
      "*GNU General Public License for more details.                        *";
  prntgpl[12] =
      "     "
      "*                                                                    *";
  prntgpl[13] =
      "     "
      "*You should have received a copy of the GNU General Public License   *";
  prntgpl[14] =
      "     "
      "*along with this program. If not, see <http://www.gnu.org/licenses/>.*";
  prntgpl[15] =
      "     "
      "**********************************************************************";
  writechars(prntgpl, 16);
  for (i = 0; i < 4; i++)
    printf("\n");
  usleep(3000000);
  for (i = 0; i < 23; i++)
    printf("\n");
  prnt[10] = "               "
             "=           Vad var det som gick fel?            =";
  prnt[11] = "               "
             "==================================================";
  for (i = 0; i < 10 + 2; i++) {
    printf(prnt[i]);
    printf("\n");
  }
  for (i = 0; i < 7 - 2; i++)
    printf("\n");
  usleep(3000000);
  write_ch_to_opt("intro", NULL, optanswer);
  if (!strcmp("öl", optanswer)) {
    write_ch_to_opt("intro", "öl", optanswer);
    return -1;
  } else if (!strcmp("värktablett", optanswer)) {
    write_ch_to_opt("intro", "värktablett", optanswer);
    return 1;
  } else
    return -1;
}


x86 assembly (clang, -O0):
<runintro>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x50,-0x1d4(%rbp)
jge    11a2 <runintro+0x42>
lea    0xe77(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1175 <runintro+0x15>
lea    0xe59(%rip),%rax
mov    %rax,-0xc0(%rbp)
lea    0xe8d(%rip),%rax
mov    %rax,-0xb8(%rbp)
lea    0xeb7(%rip),%rax
mov    %rax,-0xb0(%rbp)
lea    0xeeb(%rip),%rax
mov    %rax,-0xa8(%rbp)
lea    0xf1f(%rip),%rax
mov    %rax,-0xa0(%rbp)
lea    0xf53(%rip),%rax
mov    %rax,-0x98(%rbp)
lea    0xf87(%rip),%rax
mov    %rax,-0x90(%rbp)
lea    0xfbb(%rip),%rax
mov    %rax,-0x88(%rbp)
lea    0xfef(%rip),%rax
mov    %rax,-0x80(%rbp)
lea    0xdde(%rip),%rax
mov    %rax,-0x78(%rbp)
lea    -0xc0(%rbp),%rdi
mov    $0xa,%esi
call   1030 <writechars@plt>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x7,-0x1d4(%rbp)
jge    1270 <runintro+0x110>
lea    0xda9(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1243 <runintro+0xe3>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x3,-0x1d4(%rbp)
jge    12bf <runintro+0x15f>
lea    0xf7c(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d46(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    $0x7a120,%edi
call   1080 <usleep@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    127a <runintro+0x11a>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
lea    0xf3c(%rip),%rax
mov    %rax,-0x180(%rbp)
lea    0xf7a(%rip),%rax
mov    %rax,-0x178(%rbp)
lea    0xfb9(%rip),%rax
mov    %rax,-0x170(%rbp)
lea    0xff7(%rip),%rax
mov    %rax,-0x168(%rbp)
lea    0x1035(%rip),%rax
mov    %rax,-0x160(%rbp)
lea    0x1073(%rip),%rax
mov    %rax,-0x158(%rbp)
lea    0x10b1(%rip),%rax
mov    %rax,-0x150(%rbp)
lea    0xf73(%rip),%rax
mov    %rax,-0x148(%rbp)
lea    0x10e1(%rip),%rax
mov    %rax,-0x140(%rbp)
lea    0x111f(%rip),%rax
mov    %rax,-0x138(%rbp)
lea    0x115d(%rip),%rax
mov    %rax,-0x130(%rbp)
lea    0x119b(%rip),%rax
mov    %rax,-0x128(%rbp)
lea    0xf2d(%rip),%rax
mov    %rax,-0x120(%rbp)
lea    0x11cb(%rip),%rax
mov    %rax,-0x118(%rbp)
lea    0x1209(%rip),%rax
mov    %rax,-0x110(%rbp)
lea    0xe6a(%rip),%rax
mov    %rax,-0x108(%rbp)
lea    -0x180(%rbp),%rdi
mov    $0x10,%esi
call   1030 <writechars@plt>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x4,-0x1d4(%rbp)
jge    13f1 <runintro+0x291>
lea    0xc28(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    13c4 <runintro+0x264>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x17,-0x1d4(%rbp)
jge    1432 <runintro+0x2d2>
lea    0xbe7(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1405 <runintro+0x2a5>
lea    0x11b0(%rip),%rax
mov    %rax,-0x70(%rbp)
lea    0xbbe(%rip),%rax
mov    %rax,-0x68(%rbp)
movl   $0x0,-0x1d4(%rbp)
cmpl   $0xc,-0x1d4(%rbp)
jge    1493 <runintro+0x333>
movslq -0x1d4(%rbp),%rax
mov    -0xc0(%rbp,%rax,8),%rdi
ff
call   1040 <printf@plt>
lea    0xb86(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1452 <runintro+0x2f2>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0x5,-0x1d4(%rbp)
jge    14ca <runintro+0x36a>
lea    0xb4f(%rip),%rdi
call   1040 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    149d <runintro+0x33d>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
lea    -0x1d0(%rbp),%rdx
lea    0x1149(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <write_ch_to_opt@plt>
lea    -0x1d0(%rbp),%rsi
lea    0x1138(%rip),%rdi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    152d <runintro+0x3cd>
lea    -0x1d0(%rbp),%rdx
lea    0x1116(%rip),%rdi
lea    0x1115(%rip),%rsi
call   1070 <write_ch_to_opt@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1576 <runintro+0x416>
lea    -0x1d0(%rbp),%rsi
lea    0x10fa(%rip),%rdi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    156f <runintro+0x40f>
lea    -0x1d0(%rbp),%rdx
lea    0x10d4(%rip),%rdi
lea    0x10d7(%rip),%rsi
call   1070 <write_ch_to_opt@plt>
movl   $0x1,-0x4(%rbp)
jmp    1576 <runintro+0x416>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<runintro>:
push   %r14
push   %rbx
sub    $0x1d8,%rsp
mov    $0x50,%ebx
nop
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
jne    1170 <runintro+0x10>
lea    0xe7a(%rip),%r14
mov    %r14,(%rsp)
lea    0xeb1(%rip),%rax
mov    %rax,0x8(%rsp)
lea    0xedd(%rip),%rax
mov    %rax,0x10(%rsp)
lea    0xf13(%rip),%rax
mov    %rax,0x18(%rsp)
lea    0xf49(%rip),%rax
mov    %rax,0x20(%rsp)
lea    0xf7f(%rip),%rax
mov    %rax,0x28(%rsp)
lea    0xfb5(%rip),%rax
mov    %rax,0x30(%rsp)
lea    0xfeb(%rip),%rax
mov    %rax,0x38(%rsp)
lea    0x1021(%rip),%rax
mov    %rax,0x40(%rsp)
mov    %r14,0x48(%rsp)
mov    %rsp,%rdi
mov    $0xa,%esi
call   1040 <writechars@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x7,%edi
call   1030 <putchar@plt>
mov    0x2d8d(%rip),%rbx
mov    (%rbx),%edi
call   1060 <fflush@plt>
mov    $0x7a120,%edi
call   1080 <usleep@plt>
mov    $0x7,%edi
call   1030 <putchar@plt>
mov    (%rbx),%edi
call   1060 <fflush@plt>
mov    $0x7a120,%edi
call   1080 <usleep@plt>
mov    $0x7,%edi
call   1030 <putchar@plt>
mov    (%rbx),%edi
call   1060 <fflush@plt>
mov    $0x7a120,%edi
call   1080 <usleep@plt>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
lea    0xf5d(%rip),%rax
mov    %rax,0xc0(%rsp)
lea    0xf9a(%rip),%rcx
mov    %rcx,0xc8(%rsp)
lea    0xfd8(%rip),%rcx
mov    %rcx,0xd0(%rsp)
lea    0x1015(%rip),%rdx
mov    %rdx,0xd8(%rsp)
lea    0x1052(%rip),%rdx
mov    %rdx,0xe0(%rsp)
lea    0x108f(%rip),%rdx
mov    %rdx,0xe8(%rsp)
lea    0x10cc(%rip),%rdx
mov    %rdx,0xf0(%rsp)
mov    %rcx,0xf8(%rsp)
lea    0x1101(%rip),%rdx
mov    %rdx,0x100(%rsp)
lea    0x113e(%rip),%rdx
mov    %rdx,0x108(%rsp)
lea    0x117b(%rip),%rdx
mov    %rdx,0x110(%rsp)
lea    0x11b8(%rip),%rdx
mov    %rdx,0x118(%rsp)
mov    %rcx,0x120(%rsp)
lea    0x11ed(%rip),%rcx
mov    %rcx,0x128(%rsp)
lea    0x122a(%rip),%rcx
mov    %rcx,0x130(%rsp)
mov    %rax,0x138(%rsp)
lea    0xc0(%rsp),%rdi
mov    $0x10,%esi
call   1040 <writechars@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1135(%rip),%rax
mov    %rax,0x50(%rsp)
mov    %r14,0x58(%rsp)
mov    (%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x10(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x18(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x20(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x28(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x30(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x38(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x40(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x48(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x50(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x58(%rsp),%rdi
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x2dc6c0,%edi
call   1080 <usleep@plt>
lea    0x103b(%rip),%rdi
lea    0x180(%rsp),%rdx
xor    %esi,%esi
call   1070 <write_ch_to_opt@plt>
cmpl   $0x6cb6c3,0x180(%rsp)
jne    1616 <runintro+0x4b6>
mov    $0xffffffff,%ebx
lea    0x1019(%rip),%rsi
jmp    1650 <runintro+0x4f0>
movabs $0x6261746b72a4c376,%rax
74 61 62
xor    0x180(%rsp),%rax
movabs $0x7474656c626174,%rcx
xor    0x185(%rsp),%rcx
or     %rax,%rcx
mov    $0xffffffff,%ebx
jne    1664 <runintro+0x504>
mov    $0x1,%ebx
lea    0xfe1(%rip),%rsi
lea    0xfd0(%rip),%rdi
lea    0x180(%rsp),%rdx
call   1070 <write_ch_to_opt@plt>
mov    %ebx,%eax
add    $0x1d8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [66 x i8] c" ==================================================\00"
@.str.2 = [56 x i8] c" _____ ___ ___ _______\00"
@.str.3 = [66 x i8] c" | \\ / \\ / \\ | |\\ |\00"
@.str.4 = [66 x i8] c" | \\ / \\ / \\ | | \\ |\00"
@.str.5 = [66 x i8] c" | | |_______| | |____ | \\ |\00"
@.str.6 = [66 x i8] c" | | | | | ___ | | \\ |\00"
@.str.7 = [66 x i8] c" | / | | \\ / | | \\ |\00"
@.str.8 = [66 x i8] c" |_____/ | | \\___/ |_______ | \\|\00"
@.str.9 = [2 x i8] c" \00"
@.str.10 = [2 x i8] c"\07\00"
@stdout = global i32 0
@.str.11 = [76 x i8] c" **********************************************************************\00"
@.str.12 = [77 x i8] c" *Copyright (C) 2015 Marcus Peders\C3\A9n *\00"
@.str.13 = [76 x i8] c" * *\00"
@.str.14 = [76 x i8] c" *This program is free software: you can redistribute it and/or modify*\00"
@.str.15 = [76 x i8] c" *it under the terms of the GNU General Public License as published by*\00"
@.str.16 = [76 x i8] c" *the Free Software Foundation, either version 3 of the License, or *\00"
@.str.17 = [76 x i8] c" *(at your option) any later version. *\00"
@.str.18 = [76 x i8] c" *This program is distributed in the hope that it will be useful, *\00"
@.str.19 = [76 x i8] c" *but WITHOUT ANY WARRANTY; without even the implied warranty of *\00"
@.str.20 = [76 x i8] c" *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *\00"
@.str.21 = [76 x i8] c" *GNU General Public License for more details. *\00"
@.str.22 = [76 x i8] c" *You should have received a copy of the GNU General Public License *\00"
@.str.23 = [76 x i8] c" *along with this program. If not, see <http://www.gnu.org/licenses/>.*\00"
@.str.24 = [66 x i8] c" = Vad var det som gick fel? =\00"
@.str.25 = [6 x i8] c"intro\00"
@.str.26 = [4 x i8] c"\C3\B6l\00"
@.str.27 = [13 x i8] c"v\C3\A4rktablett\00"
define i32 @runintro() {
%1 = alloca i32
%2 = alloca [23 x i8*]
%3 = alloca [23 x i8*]
%4 = alloca [80 x i8]
%5 = alloca i32
store i32 0, i32* %5
br label %6
6: ; preds = %11, %0
%7 = load i32, i32* %5
%8 = icmp slt i32 %7, 80
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %11
11: ; preds = %9
%12 = load i32, i32* %5
%13 = add nsw i32 %12, 1
store i32 %13, i32* %5
br label %6
14: ; preds = %6
%15 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 0
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 1
store i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 2
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 3
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 4
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.5, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 5
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 6
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0), i8** %21
%22 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 7
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 8
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8** %23
%24 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 9
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 0
%26 = call i32 @writechars(i8** %25, i32 10)
store i32 0, i32* %5
br label %27
27: ; preds = %32, %14
%28 = load i32, i32* %5
%29 = icmp slt i32 %28, 7
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %32
32: ; preds = %30
%33 = load i32, i32* %5
%34 = add nsw i32 %33, 1
store i32 %34, i32* %5
br label %27
35: ; preds = %27
store i32 0, i32* %5
br label %36
36: ; preds = %44, %35
%37 = load i32, i32* %5
%38 = icmp slt i32 %37, 3
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = call i32 @fflush(i32 %41)
%43 = call i32 @usleep(i32 500000)
br label %44
44: ; preds = %39
%45 = load i32, i32* %5
%46 = add nsw i32 %45, 1
store i32 %46, i32* %5
br label %36
47: ; preds = %36
%48 = call i32 @usleep(i32 3000000)
%49 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 0
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8** %49
%50 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 1
store i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0), i8** %50
%51 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 2
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %51
%52 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 3
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.14, i64 0, i64 0), i8** %52
%53 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 4
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.15, i64 0, i64 0), i8** %53
%54 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 5
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i8** %54
%55 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 6
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.17, i64 0, i64 0), i8** %55
%56 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 7
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %56
%57 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 8
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0), i8** %57
%58 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 9
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.19, i64 0, i64 0), i8** %58
%59 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 10
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.20, i64 0, i64 0), i8** %59
%60 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 11
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.21, i64 0, i64 0), i8** %60
%61 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 12
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %61
%62 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 13
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.22, i64 0, i64 0), i8** %62
%63 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 14
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.23, i64 0, i64 0), i8** %63
%64 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 15
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8** %64
%65 = getelementptr inbounds [23 x i8*], [23 x i8*]* %3, i64 0, i64 0
%66 = call i32 @writechars(i8** %65, i32 16)
store i32 0, i32* %5
br label %67
67: ; preds = %72, %47
%68 = load i32, i32* %5
%69 = icmp slt i32 %68, 4
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %72
72: ; preds = %70
%73 = load i32, i32* %5
%74 = add nsw i32 %73, 1
store i32 %74, i32* %5
br label %67
75: ; preds = %67
%76 = call i32 @usleep(i32 3000000)
store i32 0, i32* %5
br label %77
77: ; preds = %82, %75
%78 = load i32, i32* %5
%79 = icmp slt i32 %78, 23
br i1 %79, label %80, label %85
80: ; preds = %77
%81 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %82
82: ; preds = %80
%83 = load i32, i32* %5
%84 = add nsw i32 %83, 1
store i32 %84, i32* %5
br label %77
85: ; preds = %77
%86 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 10
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.24, i64 0, i64 0), i8** %86
%87 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 11
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %87
store i32 0, i32* %5
br label %88
88: ; preds = %98, %85
%89 = load i32, i32* %5
%90 = icmp slt i32 %89, 12
br i1 %90, label %91, label %101
91: ; preds = %88
%92 = load i32, i32* %5
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 %93
%95 = load i8*, i8** %94
%96 = call i32 @printf(i8* %95)
%97 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %98
98: ; preds = %91
%99 = load i32, i32* %5
%100 = add nsw i32 %99, 1
store i32 %100, i32* %5
br label %88
101: ; preds = %88
store i32 0, i32* %5
br label %102
102: ; preds = %107, %101
%103 = load i32, i32* %5
%104 = icmp slt i32 %103, 5
br i1 %104, label %105, label %110
105: ; preds = %102
%106 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %107
107: ; preds = %105
%108 = load i32, i32* %5
%109 = add nsw i32 %108, 1
store i32 %109, i32* %5
br label %102
110: ; preds = %102
%111 = call i32 @usleep(i32 3000000)
%112 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%113 = call i32 @write_ch_to_opt(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* null, i8* %112)
%114 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%115 = call i32 @strcmp(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0), i8* %114)
%116 = icmp ne i32 %115, 0
br i1 %116, label %120, label %117
117: ; preds = %110
%118 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%119 = call i32 @write_ch_to_opt(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0), i8* %118)
store i32 -1, i32* %1
br label %128
120: ; preds = %110
%121 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%122 = call i32 @strcmp(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), i8* %121)
%123 = icmp ne i32 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %120
%125 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%126 = call i32 @write_ch_to_opt(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), i8* %125)
store i32 1, i32* %1
br label %128
127: ; preds = %120
store i32 -1, i32* %1
br label %128
128: ; preds = %127, %124, %117
%129 = load i32, i32* %1
ret i32 %129
}

LLVM IR (-O2):
@.str.1 = [66 x i8] c" ==================================================\00"
@.str.2 = [56 x i8] c" _____ ___ ___ _______\00"
@.str.3 = [66 x i8] c" | \\ / \\ / \\ | |\\ |\00"
@.str.4 = [66 x i8] c" | \\ / \\ / \\ | | \\ |\00"
@.str.5 = [66 x i8] c" | | |_______| | |____ | \\ |\00"
@.str.6 = [66 x i8] c" | | | | | ___ | | \\ |\00"
@.str.7 = [66 x i8] c" | / | | \\ / | | \\ |\00"
@.str.8 = [66 x i8] c" |_____/ | | \\___/ |_______ | \\|\00"
@.str.9 = [2 x i8] c" \00"
@stdout = global i32 0
@.str.11 = [76 x i8] c" **********************************************************************\00"
@.str.12 = [77 x i8] c" *Copyright (C) 2015 Marcus Peders\C3\A9n *\00"
@.str.13 = [76 x i8] c" * *\00"
@.str.14 = [76 x i8] c" *This program is free software: you can redistribute it and/or modify*\00"
@.str.15 = [76 x i8] c" *it under the terms of the GNU General Public License as published by*\00"
@.str.16 = [76 x i8] c" *the Free Software Foundation, either version 3 of the License, or *\00"
@.str.17 = [76 x i8] c" *(at your option) any later version. *\00"
@.str.18 = [76 x i8] c" *This program is distributed in the hope that it will be useful, *\00"
@.str.19 = [76 x i8] c" *but WITHOUT ANY WARRANTY; without even the implied warranty of *\00"
@.str.20 = [76 x i8] c" *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *\00"
@.str.21 = [76 x i8] c" *GNU General Public License for more details. *\00"
@.str.22 = [76 x i8] c" *You should have received a copy of the GNU General Public License *\00"
@.str.23 = [76 x i8] c" *along with this program. If not, see <http://www.gnu.org/licenses/>.*\00"
@.str.24 = [66 x i8] c" = Vad var det som gick fel? =\00"
@.str.25 = [6 x i8] c"intro\00"
@.str.26 = [4 x i8] c"\C3\B6l\00"
@.str.27 = [13 x i8] c"v\C3\A4rktablett\00"
define i32 @runintro() {
%1 = alloca [23 x i8*]
%2 = alloca [23 x i8*]
%3 = alloca [80 x i8]
%4 = bitcast [23 x i8*]* %1 to i8*
%5 = bitcast [23 x i8*]* %2 to i8*
%6 = getelementptr inbounds [80 x i8], [80 x i8]* %3, i64 0, i64 0
br label %7
7: ; preds = %0, %7
%8 = phi i32 [ 0, %0 ], [ %10, %7 ]
%9 = tail call i32 @putchar(i32 10)
%10 = add nuw nsw i32 %8, 1
%11 = icmp eq i32 %10, 80
br i1 %11, label %12, label %7
12: ; preds = %7
%13 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 0
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %13
%14 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 1
store i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0), i8** %14
%15 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 2
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 3
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 4
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.5, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 5
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 6
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 7
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 8
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8** %21
%22 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 9
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %22
%23 = call i32 @writechars(i8** %13, i32 10)
%24 = call i32 @putchar(i32 10)
%25 = call i32 @putchar(i32 10)
%26 = call i32 @putchar(i32 10)
%27 = call i32 @putchar(i32 10)
%28 = call i32 @putchar(i32 10)
%29 = call i32 @putchar(i32 10)
%30 = call i32 @putchar(i32 10)
%31 = call i32 @putchar(i32 7)
%32 = load i32, i32* @stdout
%33 = call i32 @fflush(i32 %32)
%34 = call i32 @usleep(i32 500000)
%35 = call i32 @putchar(i32 7)
%36 = load i32, i32* @stdout
%37 = call i32 @fflush(i32 %36)
%38 = call i32 @usleep(i32 500000)
%39 = call i32 @putchar(i32 7)
%40 = load i32, i32* @stdout
%41 = call i32 @fflush(i32 %40)
%42 = call i32 @usleep(i32 500000)
%43 = call i32 @usleep(i32 3000000)
%44 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 0
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8** %44
%45 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 1
store i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0), i8** %45
%46 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 2
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %46
%47 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 3
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.14, i64 0, i64 0), i8** %47
%48 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 4
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.15, i64 0, i64 0), i8** %48
%49 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 5
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i8** %49
%50 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 6
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.17, i64 0, i64 0), i8** %50
%51 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 7
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %51
%52 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 8
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0), i8** %52
%53 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 9
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.19, i64 0, i64 0), i8** %53
%54 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 10
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.20, i64 0, i64 0), i8** %54
%55 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 11
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.21, i64 0, i64 0), i8** %55
%56 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 12
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i8** %56
%57 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 13
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.22, i64 0, i64 0), i8** %57
%58 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 14
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.23, i64 0, i64 0), i8** %58
%59 = getelementptr inbounds [23 x i8*], [23 x i8*]* %2, i64 0, i64 15
store i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i8** %59
%60 = call i32 @writechars(i8** %44, i32 16)
%61 = call i32 @putchar(i32 10)
%62 = call i32 @putchar(i32 10)
%63 = call i32 @putchar(i32 10)
%64 = call i32 @putchar(i32 10)
%65 = call i32 @usleep(i32 3000000)
%66 = call i32 @putchar(i32 10)
%67 = call i32 @putchar(i32 10)
%68 = call i32 @putchar(i32 10)
%69 = call i32 @putchar(i32 10)
%70 = call i32 @putchar(i32 10)
%71 = call i32 @putchar(i32 10)
%72 = call i32 @putchar(i32 10)
%73 = call i32 @putchar(i32 10)
%74 = call i32 @putchar(i32 10)
%75 = call i32 @putchar(i32 10)
%76 = call i32 @putchar(i32 10)
%77 = call i32 @putchar(i32 10)
%78 = call i32 @putchar(i32 10)
%79 = call i32 @putchar(i32 10)
%80 = call i32 @putchar(i32 10)
%81 = call i32 @putchar(i32 10)
%82 = call i32 @putchar(i32 10)
%83 = call i32 @putchar(i32 10)
%84 = call i32 @putchar(i32 10)
%85 = call i32 @putchar(i32 10)
%86 = call i32 @putchar(i32 10)
%87 = call i32 @putchar(i32 10)
%88 = call i32 @putchar(i32 10)
%89 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 10
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.24, i64 0, i64 0), i8** %89
%90 = getelementptr inbounds [23 x i8*], [23 x i8*]* %1, i64 0, i64 11
store i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i8** %90
%91 = load i8*, i8** %13
%92 = call i32 @printf(i8* dereferenceable(1) %91)
%93 = call i32 @putchar(i32 10)
%94 = load i8*, i8** %14
%95 = call i32 @printf(i8* dereferenceable(1) %94)
%96 = call i32 @putchar(i32 10)
%97 = load i8*, i8** %15
%98 = call i32 @printf(i8* dereferenceable(1) %97)
%99 = call i32 @putchar(i32 10)
%100 = load i8*, i8** %16
%101 = call i32 @printf(i8* dereferenceable(1) %100)
%102 = call i32 @putchar(i32 10)
%103 = load i8*, i8** %17
%104 = call i32 @printf(i8* dereferenceable(1) %103)
%105 = call i32 @putchar(i32 10)
%106 = load i8*, i8** %18
%107 = call i32 @printf(i8* dereferenceable(1) %106)
%108 = call i32 @putchar(i32 10)
%109 = load i8*, i8** %19
%110 = call i32 @printf(i8* dereferenceable(1) %109)
%111 = call i32 @putchar(i32 10)
%112 = load i8*, i8** %20
%113 = call i32 @printf(i8* dereferenceable(1) %112)
%114 = call i32 @putchar(i32 10)
%115 = load i8*, i8** %21
%116 = call i32 @printf(i8* dereferenceable(1) %115)
%117 = call i32 @putchar(i32 10)
%118 = load i8*, i8** %22
%119 = call i32 @printf(i8* dereferenceable(1) %118)
%120 = call i32 @putchar(i32 10)
%121 = load i8*, i8** %89
%122 = call i32 @printf(i8* dereferenceable(1) %121)
%123 = call i32 @putchar(i32 10)
%124 = load i8*, i8** %90
%125 = call i32 @printf(i8* dereferenceable(1) %124)
%126 = call i32 @putchar(i32 10)
%127 = call i32 @putchar(i32 10)
%128 = call i32 @putchar(i32 10)
%129 = call i32 @putchar(i32 10)
%130 = call i32 @putchar(i32 10)
%131 = call i32 @putchar(i32 10)
%132 = call i32 @usleep(i32 3000000)
%133 = call i32 @write_ch_to_opt(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* null, i8* %6)
%134 = bitcast [80 x i8]* %3 to i32*
%135 = load i32, i32* %134
%136 = icmp eq i32 %135, 7124675
br i1 %136, label %140, label %137
137: ; preds = %12
%138 = call i32 @bcmp(i8* dereferenceable(13) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), i8* dereferenceable(13) %6, i64 13)
%139 = icmp eq i32 %138, 0
br i1 %139, label %140, label %144
140: ; preds = %137, %12
%141 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0), %12 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), %137 ]
%142 = phi i32 [ -1, %12 ], [ 1, %137 ]
%143 = call i32 @write_ch_to_opt(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0), i8* %141, i8* %6)
br label %144
144: ; preds = %140, %137
%145 = phi i32 [ -1, %137 ], [ %142, %140 ]
ret i32 %145
}