#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*/ *fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strcpy(char *, char *);
scalar_t__ strncmp(char *, char *, int);
int main(int argc, char *argv[]) {
  int width;
  int kk;
  int line;
  int ll;
  int hh;
  int height;
  int beg_end;
  int comment_out;
  int kk_min, kk_max;
  int ll_min, ll_max;
  char comment[256];
  char linebuf[256];
  int bittab1[16][80];
  int bittab2[16][80];
  if (1 != 0) {
    fprintf(stderr, "Vertikaler Offset %d\r\n", 1);
  }
  line = 0;
  height = 0;
  while (fgets(linebuf, 256, stdin) != NULL) {
    for (ll = 0; ll < 256; ll++) {
      if (linebuf[ll] == '\r')
        linebuf[ll] = (char)0;
      if (linebuf[ll] == '\n')
        linebuf[ll] = (char)0;
    }
    beg_end = 0;
    if ((linebuf[0] == '|') || (linebuf[0] == '+')) {
      if (height == 0) {
        for (kk = 1; kk < 256; kk++) {
          if ((linebuf[kk] == '|') || (linebuf[kk] == '+'))
            break;
        }
        width = kk - 1;
      }
      for (kk = 1; kk <= width; kk++) {
        hh = height + 1;
        if ((height == 0) || ((hh % 8) == 0)) {
          bittab1[hh / 8][kk - 1] = 0;
          bittab2[hh / 8][kk - 1] = 0;
        }
        if ((linebuf[kk] == '*') || (linebuf[kk] == ':') ||
            (linebuf[kk] == 'O'))
          bittab1[hh / 8][kk - 1] |= (1 << (hh % 8));
        if ((linebuf[kk] == '*') || (linebuf[kk] == ' '))
          bittab2[hh / 8][kk - 1] |= (1 << (hh % 8));
      }
      height++;
    } else {
      if ((strncmp(linebuf, "/* ", 3)) == 0) {
        strcpy(comment, linebuf);
      } else {
        if ((linebuf[0] == ' ') && (linebuf[1] == '-')) {
          beg_end = 1;
        } else {
          if ((linebuf[0] != '}') ||
              ((linebuf[1] != ',') && (linebuf[1] != ';'))) {
            fprintf(stdout, "%s\r\n", linebuf);
          }
        }
      }
    }
    if ((height > 5) && (beg_end != 0)) {
      ll_min = height;
      ll_max = -1;
      kk_min = width;
      kk_max = -1;
      fprintf(stdout, "{ ");
      comment_out = 0;
      for (ll = 0; ll < height; ll += 8) {
        for (kk = 0; kk < width; kk++) {
          if (((kk % 8) == 0) && (kk != 0))
            fprintf(stdout, "\r\n  ");
          if ((bittab1[ll / 8][kk] != bittab2[ll / 8][kk]) &&
              (comment_out == 0)) {
            comment_out = 1;
            fprintf(stdout, "/* ");
          }
          if ((bittab1[ll / 8][kk] == bittab2[ll / 8][kk]) &&
              (comment_out != 0)) {
            comment_out = 0;
            fprintf(stdout, "*/ ");
          }
          if (comment_out == 0) {
            if (ll < ll_min)
              ll_min = ll;
            if (ll > ll_max)
              ll_max = ll;
            if (kk < kk_min)
              kk_min = kk;
            if (kk > kk_max)
              kk_max = kk;
          }
          fprintf(stdout, "0x%02X", bittab1[ll / 8][kk]);
          if (((ll + 8) < height) || (kk != (width - 1)))
            fprintf(stdout, ",");
        }
        fprintf(stdout, "\r\n  ");
      }
      if (comment_out != 0) {
        comment_out = 0;
        fprintf(stdout, "*/ ");
      }
      height = 0;
    }
  }
  fprintf(stdout, "};\r\n");
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2a50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e78(%rip),%rax
mov    (%rax),%edi
lea    0xe97(%rip),%rsi
mov    $0x1,%edx
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x28(%rbp)
lea    -0x240(%rbp),%rdi
mov    0x2e57(%rip),%rax
mov    (%rax),%edx
mov    $0x100,%esi
call   1050 <fgets@plt>
cmp    $0x0,%rax
je     180f <main+0x6cf>
movl   $0x0,-0x20(%rbp)
cmpl   $0x100,-0x20(%rbp)
jge    1210 <main+0xd0>
movslq -0x20(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0xd,%eax
jne    11dc <main+0x9c>
movslq -0x20(%rbp),%rax
movb   $0x0,-0x240(%rbp,%rax,1)
movslq -0x20(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0xa,%eax
jne    11fd <main+0xbd>
movslq -0x20(%rbp),%rax
movb   $0x0,-0x240(%rbp,%rax,1)
jmp    1202 <main+0xc2>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11ae <main+0x6e>
movl   $0x0,-0x2c(%rbp)
movsbl -0x240(%rbp),%eax
cmp    $0x7c,%eax
je     1237 <main+0xf7>
movsbl -0x240(%rbp),%eax
cmp    $0x2b,%eax
jne    145e <main+0x31e>
cmpl   $0x0,-0x28(%rbp)
jne    12a0 <main+0x160>
movl   $0x1,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    1297 <main+0x157>
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x7c,%eax
je     127f <main+0x13f>
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x2b,%eax
jne    1284 <main+0x144>
jmp    1297 <main+0x157>
jmp    1289 <main+0x149>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1248 <main+0x108>
mov    -0x18(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x14(%rbp)
movl   $0x1,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1450 <main+0x310>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     12da <main+0x19a>
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1338 <main+0x1f8>
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x1640(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x2a40(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movl   $0x0,(%rax,%rcx,4)
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x2a,%eax
je     1377 <main+0x237>
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x3a,%eax
je     1377 <main+0x237>
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x4f,%eax
jne    13c5 <main+0x285>
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %edx,%ecx
mov    $0x1,%eax
shl    %cl,%eax
mov    %eax,-0x2a44(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    -0x2a44(%rbp),%edx
movslq %eax,%rcx
lea    -0x1640(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
or     (%rax,%rcx,4),%edx
mov    %edx,(%rax,%rcx,4)
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x2a,%eax
je     13ef <main+0x2af>
movslq -0x18(%rbp),%rax
movsbl -0x240(%rbp,%rax,1),%eax
ff
cmp    $0x20,%eax
jne    143d <main+0x2fd>
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %edx,%ecx
mov    $0x1,%eax
shl    %cl,%eax
mov    %eax,-0x2a48(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    -0x2a48(%rbp),%edx
movslq %eax,%rcx
lea    -0x2a40(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
or     (%rax,%rcx,4),%edx
mov    %edx,(%rax,%rcx,4)
jmp    1442 <main+0x302>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12a7 <main+0x167>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1521 <main+0x3e1>
lea    -0x240(%rbp),%rdi
lea    0xbab(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
jne    1498 <main+0x358>
lea    -0x140(%rbp),%rdi
lea    -0x240(%rbp),%rsi
call   1040 <strcpy@plt>
jmp    151c <main+0x3dc>
movsbl -0x240(%rbp),%eax
cmp    $0x20,%eax
jne    14c4 <main+0x384>
movsbl -0x23f(%rbp),%eax
cmp    $0x2d,%eax
jne    14c4 <main+0x384>
movl   $0x1,-0x2c(%rbp)
jmp    1517 <main+0x3d7>
movsbl -0x240(%rbp),%eax
cmp    $0x7d,%eax
jne    14f4 <main+0x3b4>
movsbl -0x23f(%rbp),%eax
cmp    $0x2c,%eax
je     1512 <main+0x3d2>
movsbl -0x23f(%rbp),%eax
cmp    $0x3b,%eax
je     1512 <main+0x3d2>
mov    0x2ad5(%rip),%rax
mov    (%rax),%edi
lea    -0x240(%rbp),%rdx
lea    0xb10(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    1517 <main+0x3d7>
jmp    151c <main+0x3dc>
jmp    1521 <main+0x3e1>
cmpl   $0x5,-0x28(%rbp)
jle    180a <main+0x6ca>
cmpl   $0x0,-0x2c(%rbp)
je     180a <main+0x6ca>
mov    -0x28(%rbp),%eax
mov    %eax,-0x3c(%rbp)
movl   $0xffffffff,-0x40(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x34(%rbp)
movl   $0xffffffff,-0x38(%rbp)
mov    0x2a7a(%rip),%rax
mov    (%rax),%edi
lea    0xac1(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    17db <main+0x69b>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    17b6 <main+0x676>
mov    -0x18(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    15c8 <main+0x488>
cmpl   $0x0,-0x18(%rbp)
je     15c8 <main+0x488>
mov    0x2a18(%rip),%rax
mov    (%rax),%edi
lea    0xa62(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x20(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x1640(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x2a4c(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x2a4c(%rbp),%eax
movslq %ecx,%rdx
lea    -0x2a40(%rbp),%rcx
imul   $0x140,%rdx,%rdx
add    %rdx,%rcx
movslq -0x18(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
je     1650 <main+0x510>
cmpl   $0x0,-0x30(%rbp)
jne    1650 <main+0x510>
movl   $0x1,-0x30(%rbp)
mov    0x2990(%rip),%rax
mov    (%rax),%edi
lea    0x9ce(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x20(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x1640(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x2a50(%rbp)
mov    -0x20(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x2a50(%rbp),%eax
movslq %ecx,%rdx
lea    -0x2a40(%rbp),%rcx
imul   $0x140,%rdx,%rdx
add    %rdx,%rcx
movslq -0x18(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jne    16d8 <main+0x598>
cmpl   $0x0,-0x30(%rbp)
je     16d8 <main+0x598>
movl   $0x0,-0x30(%rbp)
mov    0x2908(%rip),%rax
mov    (%rax),%edi
lea    0x957(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
cmpl   $0x0,-0x30(%rbp)
jne    172f <main+0x5ef>
mov    -0x20(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    16f4 <main+0x5b4>
mov    -0x20(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x40(%rbp),%eax
jle    1706 <main+0x5c6>
mov    -0x20(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1718 <main+0x5d8>
mov    -0x18(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x38(%rbp),%eax
jle    172a <main+0x5ea>
mov    -0x18(%rbp),%eax
mov    %eax,-0x38(%rbp)
jmp    172f <main+0x5ef>
mov    0x289a(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
movslq %eax,%rcx
lea    -0x1640(%rbp),%rax
imul   $0x140,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0x8c7(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x20(%rbp),%eax
add    $0x8,%eax
cmp    -0x28(%rbp),%eax
jl     178c <main+0x64c>
mov    -0x18(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
je     17a3 <main+0x663>
mov    0x283d(%rip),%rax
mov    (%rax),%edi
lea    0x897(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
jmp    17a8 <main+0x668>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1587 <main+0x447>
mov    0x2813(%rip),%rax
mov    (%rax),%edi
lea    0x85d(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    -0x20(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x20(%rbp)
jmp    1574 <main+0x434>
cmpl   $0x0,-0x30(%rbp)
je     1803 <main+0x6c3>
movl   $0x0,-0x30(%rbp)
mov    0x27dd(%rip),%rax
mov    (%rax),%edi
lea    0x82c(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x28(%rbp)
jmp    1183 <main+0x43>
mov    0x27ba(%rip),%rax
mov    (%rax),%edi
lea    0x816(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
xor    %eax,%eax
add    $0x2a50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2a28,%rsp
mov    0x2e80(%rip),%rax
mov    (%rax),%edi
lea    0xe9f(%rip),%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    0x2e74(%rip),%r14
mov    (%r14),%edx
lea    0x20(%rsp),%rdi
mov    $0x100,%esi
call   1050 <fgets@plt>
test   %rax,%rax
je     1643 <main+0x503>
lea    0x20(%rsp),%r15
lea    0x120(%rsp),%r12
xor    %ebx,%ebx
jmp    11bf <main+0x7f>
mov    %r8d,%ebx
mov    %r13,%rbp
mov    (%r14),%edx
mov    %r15,%rdi
mov    $0x100,%esi
call   1050 <fgets@plt>
test   %rax,%rax
je     1643 <main+0x503>
xor    %eax,%eax
jmp    11e1 <main+0xa1>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movb   $0x0,0x23(%rsp,%rax,1)
add    $0x4,%rax
cmp    $0x100,%rax
je     1230 <main+0xf0>
movzbl 0x20(%rsp,%rax,1),%ecx
cmp    $0xd,%cl
je     11f0 <main+0xb0>
cmp    $0xa,%cl
jne    11f5 <main+0xb5>
movb   $0x0,0x20(%rsp,%rax,1)
movzbl 0x21(%rsp,%rax,1),%ecx
cmp    $0xd,%cl
je     1204 <main+0xc4>
cmp    $0xa,%cl
jne    1209 <main+0xc9>
movb   $0x0,0x21(%rsp,%rax,1)
movzbl 0x22(%rsp,%rax,1),%ecx
cmp    $0xd,%cl
je     1218 <main+0xd8>
cmp    $0xa,%cl
jne    121d <main+0xdd>
movb   $0x0,0x22(%rsp,%rax,1)
movzbl 0x23(%rsp,%rax,1),%ecx
cmp    $0xd,%cl
je     11d0 <main+0x90>
cmp    $0xa,%cl
je     11d0 <main+0x90>
jmp    11d5 <main+0x95>
xchg   %ax,%ax
mov    0x20(%rsp),%al
cmp    $0x7c,%al
je     1240 <main+0x100>
cmp    $0x2b,%al
jne    12d0 <main+0x190>
test   %ebx,%ebx
jne    1533 <main+0x3f3>
mov    $0x5,%ebp
movzbl 0x1c(%rsp,%rbp,1),%eax
cmp    $0x2b,%al
je     14ed <main+0x3ad>
cmp    $0x7c,%al
je     14ed <main+0x3ad>
movzbl 0x1d(%rsp,%rbp,1),%eax
cmp    $0x2b,%al
je     151a <main+0x3da>
cmp    $0x7c,%al
je     151a <main+0x3da>
movzbl 0x1e(%rsp,%rbp,1),%eax
cmp    $0x2b,%al
je     1520 <main+0x3e0>
cmp    $0x7c,%al
je     1520 <main+0x3e0>
movzbl 0x1f(%rsp,%rbp,1),%eax
cmp    $0x2b,%al
je     1526 <main+0x3e6>
cmp    $0x7c,%al
je     1526 <main+0x3e6>
movzbl 0x20(%rsp,%rbp,1),%eax
cmp    $0x2b,%al
je     1530 <main+0x3f0>
cmp    $0x7c,%al
je     1530 <main+0x3f0>
add    $0x5,%rbp
cmp    $0x104,%rbp
jne    124d <main+0x10d>
mov    $0x100,%ebp
jmp    1530 <main+0x3f0>
nopl   (%rax)
mov    %r15,%rdi
lea    0xd3d(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     14a9 <main+0x369>
mov    0x20(%rsp),%cl
mov    0x21(%rsp),%al
cmp    $0x20,%cl
jne    14b9 <main+0x379>
cmp    $0x2d,%al
jne    14b9 <main+0x379>
cmp    $0x6,%ebx
jl     11a6 <main+0x66>
mov    %rbx,(%rsp)
mov    0x2cb6(%rip),%rax
mov    (%rax),%edi
xor    %ebx,%ebx
lea    0xcfb(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    -0x1(%rbp),%eax
mov    %rax,0x10(%rsp)
mov    %ebp,%eax
mov    %rax,0x18(%rsp)
xor    %r13d,%r13d
mov    %rbp,0x8(%rsp)
jmp    1375 <main+0x235>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x8(%rsp),%rbp
mov    0x2c74(%rip),%rax
mov    (%rax),%edi
lea    0xcbe(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
cmp    (%rsp),%ebx
jge    14f3 <main+0x3b3>
test   %ebp,%ebp
jle    14a0 <main+0x360>
lea    0x0(,%rbx,8),%rax
and    $0xffffffffffffffc0,%rax
add    $0x8,%rbx
lea    (%rax,%rax,4),%rax
lea    (%rsp,%rax,1),%r15
add    $0x1620,%r15
lea    (%rsp,%rax,1),%r12
add    $0x220,%r12
xor    %ebp,%ebp
jmp    13d6 <main+0x296>
nopl   0x0(%rax,%rax,1)
mov    0x2c19(%rip),%rax
mov    (%rax),%edi
lea    0xc73(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,0x18(%rsp)
je     1350 <main+0x210>
test   %rbp,%rbp
je     13fc <main+0x2bc>
mov    %ebp,%eax
and    $0x7,%eax
test   %rax,%rax
jne    13fc <main+0x2bc>
mov    0x2be4(%rip),%rax
mov    (%rax),%edi
lea    0xc2e(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    (%r15,%rbp,4),%r14d
mov    (%r12,%rbp,4),%eax
cmp    %eax,%r14d
je     1430 <main+0x2f0>
test   %r13d,%r13d
jne    1430 <main+0x2f0>
mov    0x2bbb(%rip),%rax
mov    (%rax),%edi
lea    0xbf9(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x1,%r13d
jmp    1468 <main+0x328>
nopl   (%rax)
cmp    %eax,%r14d
jne    1460 <main+0x320>
test   %r13d,%r13d
je     1460 <main+0x320>
mov    0x2b8f(%rip),%rax
mov    (%rax),%edi
lea    0xbde(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    1465 <main+0x325>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
test   %r13d,%r13d
jne    1468 <main+0x328>
xor    %r13d,%r13d
mov    0x2b61(%rip),%rax
mov    (%rax),%edi
lea    0xbb4(%rip),%rsi
mov    %r14d,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
cmp    %ebx,(%rsp)
jg     13b0 <main+0x270>
cmp    %rbp,0x10(%rsp)
je     13c7 <main+0x287>
jmp    13b0 <main+0x270>
nopl   0x0(%rax,%rax,1)
add    $0x8,%rbx
jmp    1355 <main+0x215>
mov    %r12,%rdi
mov    %r15,%rsi
call   1040 <strcpy@plt>
jmp    11a6 <main+0x66>
cmp    $0x7d,%cl
jne    14ce <main+0x38e>
cmp    $0x2c,%al
je     11a6 <main+0x66>
cmp    $0x3b,%al
je     11a6 <main+0x66>
mov    0x2afb(%rip),%rax
mov    (%rax),%edi
lea    0xb3d(%rip),%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    11a6 <main+0x66>
add    $0xfffffffffffffffc,%rbp
jmp    1530 <main+0x3f0>
test   %r13d,%r13d
je     1628 <main+0x4e8>
mov    0x2acd(%rip),%rax
mov    (%rax),%edi
xor    %ebx,%ebx
lea    0xb1a(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    162a <main+0x4ea>
add    $0xfffffffffffffffd,%rbp
jmp    1530 <main+0x3f0>
add    $0xfffffffffffffffe,%rbp
jmp    1530 <main+0x3f0>
add    $0xffffffffffffffff,%rbp
nopw   0x0(%rax,%rax,1)
add    $0xffffffff,%ebp
lea    0x1(%rbx),%r8d
test   %ebp,%ebp
jle    1620 <main+0x4e0>
test   %ebx,%ebx
sete   %al
mov    %r8d,%ecx
and    $0x7,%ecx
sete   %r11b
or     %al,%r11b
lea    0x7(%r8),%eax
test   %r8d,%r8d
cmovns %r8d,%eax
sar    $0x3,%eax
mov    $0x1,%esi
shl    %cl,%esi
movslq %eax,%r9
mov    %rbp,%r13
mov    %ebp,%edi
mov    %r9,%rax
shl    $0x6,%rax
lea    (%rax,%rax,4),%rax
lea    (%rsp,%rax,1),%rbp
add    $0x1620,%rbp
lea    (%rsp,%rax,1),%r10
add    $0x220,%r10
mov    $0x1,%eax
xor    %ecx,%ecx
jmp    15c6 <main+0x486>
nopl   0x0(%rax,%rax,1)
lea    (%r9,%r9,4),%rbx
shl    $0x6,%rbx
add    %rsp,%rbx
add    $0x220,%rbx
or     %esi,(%rbx,%rdx,4)
add    $0x1,%rax
add    $0x1,%rcx
cmp    %rcx,%rdi
je     11a0 <main+0x60>
test   %r11b,%r11b
je     15db <main+0x49b>
movl   $0x0,0x0(%rbp,%rcx,4)
movl   $0x0,(%r10,%rcx,4)
movzbl 0x21(%rsp,%rcx,1),%ebx
cmp    $0x39,%bl
jg     1600 <main+0x4c0>
mov    %rcx,%rdx
cmp    $0x20,%bl
je     15a0 <main+0x460>
cmp    $0x2a,%bl
je     160a <main+0x4ca>
jmp    15b5 <main+0x475>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmp    $0x3a,%bl
je     160a <main+0x4ca>
cmp    $0x4f,%bl
jne    15b5 <main+0x475>
or     %esi,0x0(%rbp,%rcx,4)
cmp    $0x2a,%bl
jne    15b5 <main+0x475>
lea    -0x1(%rax),%rdx
jmp    15a0 <main+0x460>
nopl   0x0(%rax)
mov    %r8d,%ebx
jmp    11a6 <main+0x66>
xor    %ebx,%ebx
mov    0x29b7(%rip),%r14
lea    0x20(%rsp),%r15
lea    0x120(%rsp),%r12
jmp    11a6 <main+0x66>
mov    0x2986(%rip),%rax
mov    (%rax),%edi
lea    0x9e2(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
xor    %eax,%eax
add    $0x2a28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [23 x i8] c"Vertikaler Offset %d\0D\0A\00"
@stdin = global i32 0
@.str.1 = [4 x i8] c"/* \00"
@stdout = global i32 0
@.str.2 = [5 x i8] c"%s\0D\0A\00"
@.str.3 = [3 x i8] c"{ \00"
@.str.4 = [5 x i8] c"\0D\0A \00"
@.str.5 = [4 x i8] c"*/ \00"
@.str.6 = [7 x i8] c"0x%02X\00"
@.str.7 = [2 x i8] c",\00"
@.str.8 = [5 x i8] c"};\0D\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [256 x i8]
%4 = alloca [256 x i8]
%5 = alloca [16 x [80 x i32]]
%6 = alloca [16 x [80 x i32]]
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%9 = bitcast [16 x [80 x i32]]* %5 to i8*
%10 = bitcast [16 x [80 x i32]]* %6 to i8*
%11 = load i32, i32* @stderr
%12 = tail call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 1)
%13 = load i32, i32* @stdin
%14 = call i32* @fgets(i8* %8, i32 256, i32 %13)
%15 = icmp eq i32* %14, null
br i1 %15, label %213, label %16
16: ; preds = %2
%17 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 1
br label %18
18: ; preds = %16, %207
%19 = phi i32 [ 0, %16 ], [ %209, %207 ]
%20 = phi i32 [ undef, %16 ], [ %208, %207 ]
br label %21
21: ; preds = %41, %18
%22 = phi i64 [ 0, %18 ], [ %42, %41 ]
%23 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %22
%24 = load i8, i8* %23
switch i8 %24, label %26 [
i8 13, label %25
i8 10, label %25
]
25: ; preds = %21, %21
store i8 0, i8* %23
br label %26
26: ; preds = %25, %21
%27 = or i64 %22, 1
%28 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %27
%29 = load i8, i8* %28
switch i8 %29, label %31 [
i8 13, label %30
i8 10, label %30
]
30: ; preds = %26, %26
store i8 0, i8* %28
br label %31
31: ; preds = %30, %26
%32 = or i64 %22, 2
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %32
%34 = load i8, i8* %33
switch i8 %34, label %36 [
i8 13, label %35
i8 10, label %35
]
35: ; preds = %31, %31
store i8 0, i8* %33
br label %36
36: ; preds = %35, %31
%37 = or i64 %22, 3
%38 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %37
%39 = load i8, i8* %38
switch i8 %39, label %41 [
i8 13, label %40
i8 10, label %40
]
40: ; preds = %36, %36
store i8 0, i8* %38
br label %41
41: ; preds = %40, %36
%42 = add nuw nsw i64 %22, 4
%43 = icmp eq i64 %42, 256
br i1 %43, label %44, label %21
44: ; preds = %41
%45 = load i8, i8* %8
switch i8 %45, label %115 [
i8 124, label %46
i8 43, label %46
]
46: ; preds = %44, %44
%47 = icmp eq i32 %19, 0
br i1 %47, label %48, label %77
48: ; preds = %46, %68
%49 = phi i64 [ %69, %68 ], [ 1, %46 ]
%50 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %49
%51 = load i8, i8* %50
switch i8 %51, label %52 [
i8 124, label %71
i8 43, label %71
]
52: ; preds = %48
%53 = add nuw nsw i64 %49, 1
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %53
%55 = load i8, i8* %54
switch i8 %55, label %56 [
i8 124, label %71
i8 43, label %71
]
56: ; preds = %52
%57 = add nuw nsw i64 %49, 2
%58 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %57
%59 = load i8, i8* %58
switch i8 %59, label %60 [
i8 124, label %71
i8 43, label %71
]
60: ; preds = %56
%61 = add nuw nsw i64 %49, 3
%62 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %61
%63 = load i8, i8* %62
switch i8 %63, label %64 [
i8 124, label %71
i8 43, label %71
]
64: ; preds = %60
%65 = add nuw nsw i64 %49, 4
%66 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %65
%67 = load i8, i8* %66
switch i8 %67, label %68 [
i8 124, label %71
i8 43, label %71
]
68: ; preds = %64
%69 = add nuw nsw i64 %49, 5
%70 = icmp eq i64 %69, 256
br i1 %70, label %74, label %48
71: ; preds = %64, %64, %60, %60, %56, %56, %52, %52, %48, %48
%72 = phi i64 [ %49, %48 ], [ %49, %48 ], [ %53, %52 ], [ %53, %52 ], [ %57, %56 ], [ %57, %56 ], [ %61, %60 ], [ %61, %60 ], [ %65, %64 ], [ %65, %64 ]
%73 = trunc i64 %72 to i32
br label %74
74: ; preds = %68, %71
%75 = phi i32 [ %73, %71 ], [ 256, %68 ]
%76 = add nsw i32 %75, -1
br label %77
77: ; preds = %74, %46
%78 = phi i32 [ %76, %74 ], [ %20, %46 ]
%79 = icmp slt i32 %78, 1
%80 = add nsw i32 %19, 1
br i1 %79, label %207, label %81
81: ; preds = %77
%82 = and i32 %80, 7
%83 = icmp eq i32 %82, 0
%84 = select i1 %47, i1 true, i1 %83
%85 = sdiv i32 %80, 8
%86 = sext i32 %85 to i64
%87 = shl nuw nsw i32 1, %82
%88 = add nuw i32 %78, 1
%89 = zext i32 %88 to i64
br label %90
90: ; preds = %81, %112
%91 = phi i64 [ 1, %81 ], [ %113, %112 ]
br i1 %84, label %92, label %96
92: ; preds = %90
%93 = add nsw i64 %91, -1
%94 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %5, i64 0, i64 %86, i64 %93
store i32 0, i32* %94
%95 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %6, i64 0, i64 %86, i64 %93
store i32 0, i32* %95
br label %96
96: ; preds = %90, %92
%97 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 %91
%98 = load i8, i8* %97
switch i8 %98, label %112 [
i8 42, label %101
i8 58, label %101
i8 79, label %101
i8 32, label %99
]
99: ; preds = %96
%100 = add nsw i64 %91, -1
br label %107
101: ; preds = %96, %96, %96
%102 = add nsw i64 %91, -1
%103 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %5, i64 0, i64 %86, i64 %102
%104 = load i32, i32* %103
%105 = or i32 %104, %87
store i32 %105, i32* %103
%106 = icmp eq i8 %98, 42
br i1 %106, label %107, label %112
107: ; preds = %101, %99
%108 = phi i64 [ %100, %99 ], [ %102, %101 ]
%109 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %6, i64 0, i64 %86, i64 %108
%110 = load i32, i32* %109
%111 = or i32 %110, %87
store i32 %111, i32* %109
br label %112
112: ; preds = %101, %96, %107
%113 = add nuw nsw i64 %91, 1
%114 = icmp eq i64 %113, %89
br i1 %114, label %207, label %90
115: ; preds = %44
%116 = call i64 @strncmp(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 3)
%117 = icmp eq i64 %116, 0
br i1 %117, label %118, label %120
118: ; preds = %115
%119 = call i32 @strcpy(i8* %7, i8* %8)
br label %207
120: ; preds = %115
%121 = load i8, i8* %8
%122 = icmp eq i8 %121, 32
%123 = load i8, i8* %17
%124 = icmp eq i8 %123, 45
%125 = select i1 %122, i1 %124, i1 false
br i1 %125, label %132, label %126
126: ; preds = %120
%127 = icmp eq i8 %121, 125
br i1 %127, label %128, label %129
128: ; preds = %126
switch i8 %123, label %129 [
i8 59, label %207
i8 44, label %207
]
129: ; preds = %128, %126
%130 = load i32, i32* @stdout
%131 = call i32 (i32, i8*, ...) @fprintf(i32 %130, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* %8)
br label %207
132: ; preds = %120
%133 = icmp sgt i32 %19, 5
br i1 %133, label %134, label %207
134: ; preds = %132
%135 = load i32, i32* @stdout
%136 = call i32 (i32, i8*, ...) @fprintf(i32 %135, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%137 = icmp sgt i32 %20, 0
%138 = add nsw i32 %20, -1
%139 = zext i32 %138 to i64
%140 = zext i32 %20 to i64
br label %141
141: ; preds = %134, %195
%142 = phi i64 [ 0, %134 ], [ %197, %195 ]
%143 = phi i32 [ 0, %134 ], [ %198, %195 ]
br i1 %137, label %147, label %144
144: ; preds = %141
%145 = add nuw i64 %142, 8
%146 = trunc i64 %145 to i32
br label %195
147: ; preds = %141
%148 = lshr exact i64 %142, 3
%149 = add nuw i64 %142, 8
%150 = trunc i64 %149 to i32
%151 = icmp sle i32 %19, %150
br label %152
152: ; preds = %147, %192
%153 = phi i64 [ 0, %147 ], [ %193, %192 ]
%154 = phi i32 [ %143, %147 ], [ %184, %192 ]
%155 = and i64 %153, 7
%156 = icmp eq i64 %155, 0
%157 = icmp ne i64 %153, 0
%158 = and i1 %157, %156
br i1 %158, label %159, label %162
159: ; preds = %152
%160 = load i32, i32* @stdout
%161 = call i32 (i32, i8*, ...) @fprintf(i32 %160, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %162
162: ; preds = %159, %152
%163 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %5, i64 0, i64 %148, i64 %153
%164 = load i32, i32* %163
%165 = getelementptr inbounds [16 x [80 x i32]], [16 x [80 x i32]]* %6, i64 0, i64 %148, i64 %153
%166 = load i32, i32* %165
%167 = icmp ne i32 %164, %166
%168 = icmp eq i32 %154, 0
%169 = select i1 %167, i1 %168, i1 false
br i1 %169, label %174, label %170
170: ; preds = %162
%171 = icmp eq i32 %164, %166
%172 = icmp ne i32 %154, 0
%173 = select i1 %171, i1 %172, i1 false
br i1 %173, label %177, label %180
174: ; preds = %162
%175 = load i32, i32* @stdout
%176 = call i32 (i32, i8*, ...) @fprintf(i32 %175, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %183
177: ; preds = %170
%178 = load i32, i32* @stdout
%179 = call i32 (i32, i8*, ...) @fprintf(i32 %178, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %182
180: ; preds = %170
%181 = icmp eq i32 %154, 0
br i1 %181, label %182, label %183
182: ; preds = %177, %180
br label %183
183: ; preds = %174, %182, %180
%184 = phi i32 [ %154, %180 ], [ 0, %182 ], [ 1, %174 ]
%185 = load i32, i32* @stdout
%186 = call i32 (i32, i8*, ...) @fprintf(i32 %185, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %164)
%187 = icmp eq i64 %153, %139
%188 = select i1 %151, i1 %187, i1 false
br i1 %188, label %192, label %189
189: ; preds = %183
%190 = load i32, i32* @stdout
%191 = call i32 (i32, i8*, ...) @fprintf(i32 %190, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %192
192: ; preds = %183, %189
%193 = add nuw nsw i64 %153, 1
%194 = icmp eq i64 %193, %140
br i1 %194, label %195, label %152
195: ; preds = %192, %144
%196 = phi i32 [ %146, %144 ], [ %150, %192 ]
%197 = phi i64 [ %145, %144 ], [ %149, %192 ]
%198 = phi i32 [ %143, %144 ], [ %184, %192 ]
%199 = load i32, i32* @stdout
%200 = call i32 (i32, i8*, ...) @fprintf(i32 %199, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%201 = icmp slt i32 %196, %19
br i1 %201, label %141, label %202
202: ; preds = %195
%203 = icmp eq i32 %198, 0
br i1 %203, label %207, label %204
204: ; preds = %202
%205 = load i32, i32* @stdout
%206 = call i32 (i32, i8*, ...) @fprintf(i32 %205, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %207
207: ; preds = %112, %77, %128, %128, %129, %118, %202, %204, %132
%208 = phi i32 [ %20, %132 ], [ %20, %204 ], [ %20, %202 ], [ %20, %128 ], [ %20, %128 ], [ %20, %129 ], [ %20, %118 ], [ %78, %77 ], [ %78, %112 ]
%209 = phi i32 [ %19, %132 ], [ 0, %204 ], [ 0, %202 ], [ %19, %128 ], [ %19, %128 ], [ %19, %129 ], [ %19, %118 ], [ %80, %77 ], [ %80, %112 ]
%210 = load i32, i32* @stdin
%211 = call i32* @fgets(i8* %8, i32 256, i32 %210)
%212 = icmp eq i32* %211, null
br i1 %212, label %213, label %18
213: ; preds = %207, %2
%214 = load i32, i32* @stdout
%215 = call i32 (i32, i8*, ...) @fprintf(i32 %214, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}