#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*/ O_RDONLY;
int STDIN_FILENO;
int /*<<< orphan*/ close(int);
scalar_t__ decode_LSUB_P(unsigned char *);
scalar_t__ decode_LSUB_Q(unsigned char *);
int /*<<< orphan*/ do_encode_sub(unsigned char *, unsigned char *,
                                 int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ memcmp(unsigned char *, unsigned char *, int);
int /*<<< orphan*/ memcpy(unsigned char *, unsigned char *, int);
int /*<<< orphan*/ memmove(unsigned char *, unsigned char *, int);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ perror(char *);
int read(int, unsigned char *, int);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  int fin;
  unsigned int sector = 0;
  unsigned int verified = 0;
  if (argc < 2) {
    fprintf(stderr, "Usage: %s 2448-byte-sector-file\n", argv[0]);
    return 0;
  }
  if (argv[1][0] == '-') {
    fin = STDIN_FILENO;
  } else {
    fin = open(argv[1], O_RDONLY);
  }
  if (fin == -1) {
    perror("");
    fprintf(stderr, "could not open file %s for reading.\n", argv[1]);
    exit(1);
  }
  for (; 1; sector++) {
    unsigned char inbuf[2448];
    unsigned char outbuf[96];
    unsigned char inbuf_copy[2448];
    int have_read;
    have_read = 0;
    while (2448 != have_read) {
      int retval;
      retval = read(fin, inbuf + have_read, 2448 - have_read);
      if (retval < 0)
        break;
      if (retval == 0)
        break;
      have_read += retval;
    }
    memcpy(inbuf_copy, inbuf, 2448);
    {
      int j;
      int checked_ok = 0;
      for (j = 0; j < 4; j++) {
        if (decode_LSUB_P(inbuf_copy + 2352 + j * 24) != 0) {
          break;
        }
        if (decode_LSUB_Q(inbuf_copy + 2352 + j * 24) != 0) {
          break;
        }
      }
      if (j != 4)
        continue;
    }
    memmove(inbuf_copy + 2352 + 72 + 2, inbuf_copy + 2352 + 72 + 4, 16);
    memmove(inbuf_copy + 2352 + 68, inbuf_copy + 2352 + 72, 18);
    memmove(inbuf_copy + 2352 + 48 + 2, inbuf_copy + 2352 + 48 + 4, 16 + 18);
    memmove(inbuf_copy + 2352 + 44, inbuf_copy + 2352 + 48, 18 + 18);
    memmove(inbuf_copy + 2352 + 24 + 2, inbuf_copy + 2352 + 24 + 4,
            16 + 18 + 18);
    memmove(inbuf_copy + 2352 + 20, inbuf_copy + 2352 + 24, 18 + 18 + 18);
    memmove(inbuf_copy + 2352 + 2, inbuf_copy + 2352 + 4, 16 + 18 + 18 + 18);
    do_encode_sub(inbuf_copy + 2352, outbuf, 0, 0);
    {
      int i;
      for (i = 0; i < 96; i++) {
        outbuf[i] |= inbuf[i + 2352] & 0xc0;
      }
    }
    if (memcmp(outbuf, inbuf + 2352, 96) != 0) {
      fprintf(stderr, "difference at sector %u\n", sector);
      {
        int i;
        for (i = 0; i < 96; i++) {
          fprintf(stderr, "%2d: Soll : 0x%02x,   0x%02x  : Ist,  %s\n", i,
                  inbuf[2352 + i], outbuf[i],
                  inbuf[2352 + i] == outbuf[i] ? "true" : "false");
        }
      }
    } else
      verified++;
  }
  fprintf(stderr, "%u sectors, %u verified ok\n", sector, verified);
  close(fin);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x13c0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    121b <main+0x5b>
mov    0x2de0(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdf8(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    16f9 <main+0x539>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    1240 <main+0x80>
mov    0x2d9a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
jmp    1259 <main+0x99>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    0x2d99(%rip),%rax
mov    (%rax),%esi
call   10b0 <open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    1298 <main+0xd8>
lea    0xddb(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2d62(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
lea    0xd9a(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    $0x1,%edi
call   10d0 <exit@plt>
jmp    129d <main+0xdd>
mov    $0x1,%al
test   $0x1,%al
jne    12ac <main+0xec>
jmp    16cd <main+0x50d>
movl   $0x0,-0x13a4(%rbp)
mov    $0x990,%eax
cmp    -0x13a4(%rbp),%eax
je     132c <main+0x16c>
mov    -0x14(%rbp),%edi
lea    -0x9b0(%rbp),%rsi
movslq -0x13a4(%rbp),%rax
add    %rax,%rsi
mov    $0x990,%edx
sub    -0x13a4(%rbp),%edx
call   1050 <read@plt>
mov    %eax,-0x13a8(%rbp)
cmpl   $0x0,-0x13a8(%rbp)
jge    1303 <main+0x143>
jmp    132c <main+0x16c>
cmpl   $0x0,-0x13a8(%rbp)
jne    1315 <main+0x155>
jmp    132c <main+0x16c>
mov    -0x13a8(%rbp),%eax
add    -0x13a4(%rbp),%eax
mov    %eax,-0x13a4(%rbp)
jmp    12b6 <main+0xf6>
lea    -0x13a0(%rbp),%rdi
lea    -0x9b0(%rbp),%rsi
mov    $0x990,%edx
call   1080 <memcpy@plt>
movl   $0x0,-0x13b0(%rbp)
movl   $0x0,-0x13ac(%rbp)
cmpl   $0x4,-0x13ac(%rbp)
jge    13da <main+0x21a>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
imul   $0x18,-0x13ac(%rbp),%eax
cltq
add    %rax,%rdi
call   1030 <decode_LSUB_P@plt>
cmp    $0x0,%rax
je     1393 <main+0x1d3>
jmp    13da <main+0x21a>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
imul   $0x18,-0x13ac(%rbp),%eax
cltq
add    %rax,%rdi
call   1090 <decode_LSUB_Q@plt>
cmp    $0x0,%rax
je     13c1 <main+0x201>
jmp    13da <main+0x21a>
jmp    13c6 <main+0x206>
mov    -0x13ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x13ac(%rbp)
jmp    1358 <main+0x198>
cmpl   $0x4,-0x13ac(%rbp)
je     13ec <main+0x22c>
jmp    16bf <main+0x4ff>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x48,%rdi
add    $0x2,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x48,%rsi
add    $0x4,%rsi
mov    $0x10,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x44,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x48,%rsi
mov    $0x12,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x30,%rdi
add    $0x2,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x30,%rsi
add    $0x4,%rsi
mov    $0x22,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x2c,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x30,%rsi
mov    $0x24,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x18,%rdi
add    $0x2,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x18,%rsi
add    $0x4,%rsi
mov    $0x34,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x14,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x18,%rsi
mov    $0x36,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
add    $0x2,%rdi
lea    -0x13a0(%rbp),%rsi
add    $0x930,%rsi
add    $0x4,%rsi
mov    $0x46,%edx
call   10a0 <memmove@plt>
lea    -0x13a0(%rbp),%rdi
add    $0x930,%rdi
lea    -0xa10(%rbp),%rsi
xor    %ecx,%ecx
mov    %ecx,%edx
call   10e0 <do_encode_sub@plt>
movl   $0x0,-0x13b4(%rbp)
cmpl   $0x60,-0x13b4(%rbp)
jge    15c2 <main+0x402>
mov    -0x13b4(%rbp),%eax
add    $0x930,%eax
cltq
movzbl -0x9b0(%rbp,%rax,1),%edx
ff
and    $0xc0,%edx
movslq -0x13b4(%rbp),%rax
movzbl -0xa10(%rbp,%rax,1),%ecx
ff
or     %edx,%ecx
mov    %cl,-0xa10(%rbp,%rax,1)
mov    -0x13b4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x13b4(%rbp)
jmp    156e <main+0x3ae>
lea    -0xa10(%rbp),%rdi
lea    -0x9b0(%rbp),%rsi
add    $0x930,%rsi
mov    $0x60,%edx
call   1060 <memcmp@plt>
cmp    $0x0,%rax
je     16b1 <main+0x4f1>
mov    0x29e6(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%edx
lea    0xa48(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
movl   $0x0,-0x13b8(%rbp)
cmpl   $0x60,-0x13b8(%rbp)
jge    16ac <main+0x4ec>
mov    0x29b5(%rip),%rax
mov    (%rax),%edi
mov    -0x13b8(%rbp),%edx
mov    -0x13b8(%rbp),%eax
add    $0x930,%eax
cltq
movzbl -0x9b0(%rbp,%rax,1),%ecx
ff
movslq -0x13b8(%rbp),%rax
movzbl -0xa10(%rbp,%rax,1),%r8d
ff ff
mov    -0x13b8(%rbp),%eax
add    $0x930,%eax
cltq
movzbl -0x9b0(%rbp,%rax,1),%esi
ff
movslq -0x13b8(%rbp),%rax
movzbl -0xa10(%rbp,%rax,1),%r10d
ff ff
lea    0xa12(%rip),%r9
lea    0xa06(%rip),%rax
cmp    %r10d,%esi
cmove  %rax,%r9
lea    0x9ce(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x13b8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x13b8(%rbp)
jmp    160f <main+0x44f>
jmp    16ba <main+0x4fa>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    16bf <main+0x4ff>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    129d <main+0xdd>
mov    0x2904(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
lea    0x9b1(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x14(%rbp),%edi
call   1040 <close@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x13c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1388,%rsp
mov    %rsi,%rbp
cmp    $0x1,%edi
jg     11f8 <main+0x48>
mov    0x2e08(%rip),%rax
mov    (%rax),%edi
mov    0x0(%rbp),%rdx
lea    0xe33(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
xor    %eax,%eax
add    $0x1388,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x8(%rbp),%rdi
cmpb   $0x2d,(%rdi)
jne    120c <main+0x5c>
mov    0x2dc8(%rip),%rax
mov    (%rax),%ebx
jmp    121c <main+0x6c>
mov    0x2dd5(%rip),%rax
mov    (%rax),%esi
call   10a0 <open@plt>
mov    %eax,%ebx
cmp    $0xffffffff,%ebx
je     150c <main+0x35c>
lea    0x990(%rsp),%r14
xor    %ebp,%ebp
lea    0x9f0(%rsp),%r15
xor    %r12d,%r12d
jmp    1244 <main+0x94>
nopl   0x0(%rax)
add    $0x1,%r12d
xor    %r13d,%r13d
nopw   0x0(%rax,%rax,1)
cmp    $0x990,%r13d
je     1284 <main+0xd4>
movslq %r13d,%rax
lea    (%rsp,%rax,1),%rsi
add    $0x9f0,%rsi
mov    $0x990,%edx
sub    %r13d,%edx
mov    %ebx,%edi
call   1040 <read@plt>
test   %eax,%eax
mov    %eax,%ecx
cmovle %ebp,%ecx
add    %ecx,%r13d
test   %eax,%eax
jg     1250 <main+0xa0>
lea    0x60(%rsp),%rdi
mov    %r15,%rsi
mov    $0x990,%edx
call   1070 <memcpy@plt>
mov    %r14,%rdi
call   1030 <decode_LSUB_P@plt>
test   %rax,%rax
jne    1240 <main+0x90>
mov    %r14,%rdi
call   1080 <decode_LSUB_Q@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9a8(%rsp),%rdi
call   1030 <decode_LSUB_P@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9a8(%rsp),%rdi
call   1080 <decode_LSUB_Q@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9c0(%rsp),%rdi
call   1030 <decode_LSUB_P@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9c0(%rsp),%rdi
call   1080 <decode_LSUB_Q@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9d8(%rsp),%rdi
call   1030 <decode_LSUB_P@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9d8(%rsp),%rdi
call   1080 <decode_LSUB_Q@plt>
test   %rax,%rax
jne    1240 <main+0x90>
lea    0x9da(%rsp),%rdi
lea    0x9dc(%rsp),%rsi
mov    $0x10,%edx
call   1090 <memmove@plt>
lea    0x9d4(%rsp),%rdi
lea    0x9d8(%rsp),%rsi
mov    $0x12,%edx
call   1090 <memmove@plt>
lea    0x9c2(%rsp),%rdi
lea    0x9c4(%rsp),%rsi
mov    $0x22,%edx
call   1090 <memmove@plt>
lea    0x9bc(%rsp),%rdi
lea    0x9c0(%rsp),%rsi
mov    $0x24,%edx
call   1090 <memmove@plt>
lea    0x9aa(%rsp),%rdi
lea    0x9ac(%rsp),%rsi
mov    $0x34,%edx
call   1090 <memmove@plt>
lea    0x9a4(%rsp),%rdi
lea    0x9a8(%rsp),%rsi
mov    $0x36,%edx
call   1090 <memmove@plt>
lea    0x992(%rsp),%rdi
lea    0x994(%rsp),%rsi
mov    $0x46,%edx
call   1090 <memmove@plt>
mov    %r14,%rdi
mov    %rsp,%r13
mov    %r13,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
call   10d0 <do_encode_sub@plt>
movaps 0x1320(%rsp),%xmm0
movaps 0xbf5(%rip),%xmm1
andps  %xmm1,%xmm0
orps   (%rsp),%xmm0
movaps %xmm0,(%rsp)
movaps 0x1330(%rsp),%xmm0
andps  %xmm1,%xmm0
orps   0x10(%rsp),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0x1340(%rsp),%xmm0
andps  %xmm1,%xmm0
orps   0x20(%rsp),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0x1350(%rsp),%xmm0
andps  %xmm1,%xmm0
orps   0x30(%rsp),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0x1360(%rsp),%xmm0
andps  %xmm1,%xmm0
orps   0x40(%rsp),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0x1370(%rsp),%xmm0
andps  %xmm1,%xmm0
orps   0x50(%rsp),%xmm0
movaps %xmm0,0x50(%rsp)
mov    %r13,%rdi
lea    0x1320(%rsp),%rsi
mov    $0x60,%edx
call   1050 <memcmp@plt>
test   %rax,%rax
je     1240 <main+0x90>
mov    0x2b34(%rip),%rax
mov    (%rax),%edi
lea    0xba9(%rip),%rsi
mov    %r12d,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
xor    %r13d,%r13d
nopw   0x0(%rax,%rax,1)
mov    0x2b11(%rip),%rax
mov    (%rax),%edi
movzbl 0x1320(%rsp,%r13,1),%ecx
movzbl (%rsp,%r13,1),%r8d
cmp    %r8b,%cl
lea    0xbbd(%rip),%r9
lea    0xbb1(%rip),%rax
cmove  %rax,%r9
lea    0xb7c(%rip),%rsi
mov    %r13d,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
add    $0x1,%r13
cmp    $0x60,%r13
jne    14c0 <main+0x310>
jmp    1240 <main+0x90>
lea    0xb42(%rip),%rdi
call   10b0 <perror@plt>
mov    0x2ab9(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rbp),%rdx
lea    0xb05(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [33 x i8] c"Usage: %s 2448-byte-sector-file\0A\00"
@STDIN_FILENO = global i32 0
@O_RDONLY = global i32 0
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [37 x i8] c"could not open file %s for reading.\0A\00"
@.str.3 = [25 x i8] c"difference at sector %u\0A\00"
@.str.4 = [42 x i8] c"%2d: Soll : 0x%02x, 0x%02x : Ist, %s\0A\00"
@.str.5 = [5 x i8] c"true\00"
@.str.6 = [6 x i8] c"false\00"
@.str.7 = [28 x i8] c"%u sectors, %u verified ok\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 [2448 x i8]
%10 = alloca [96 x i8]
%11 = alloca [2448 x i8]
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
store i32 0, i32* %8
%18 = load i32, i32* %4
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %26
20: ; preds = %2
%21 = load i32, i32* @stderr
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 0
%24 = load i8*, i8** %23
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* %24)
store i32 0, i32* %3
br label %255
26: ; preds = %2
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 1
%29 = load i8*, i8** %28
%30 = getelementptr inbounds i8, i8* %29, i64 0
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 45
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = load i32, i32* @STDIN_FILENO
store i32 %35, i32* %6
br label %42
36: ; preds = %26
%37 = load i8**, i8*** %5
%38 = getelementptr inbounds i8*, i8** %37, i64 1
%39 = load i8*, i8** %38
%40 = load i32, i32* @O_RDONLY
%41 = call i32 @open(i8* %39, i32 %40)
store i32 %41, i32* %6
br label %42
42: ; preds = %36, %34
%43 = load i32, i32* %6
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %53
45: ; preds = %42
%46 = call i32 @perror(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%47 = load i32, i32* @stderr
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 1
%50 = load i8*, i8** %49
%51 = call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i8* %50)
%52 = call i32 @exit(i32 1)
unreachable
53: ; preds = %42
br label %54
54: ; preds = %245, %53
br i1 true, label %55, label %248
55: ; preds = %54
store i32 0, i32* %12
br label %56
56: ; preds = %75, %55
%57 = load i32, i32* %12
%58 = icmp ne i32 2448, %57
br i1 %58, label %59, label %79
59: ; preds = %56
%60 = load i32, i32* %6
%61 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 0
%62 = load i32, i32* %12
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, i8* %61, i64 %63
%65 = load i32, i32* %12
%66 = sub nsw i32 2448, %65
%67 = call i32 @read(i32 %60, i8* %64, i32 %66)
store i32 %67, i32* %13
%68 = load i32, i32* %13
%69 = icmp slt i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %59
br label %79
71: ; preds = %59
%72 = load i32, i32* %13
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
br label %79
75: ; preds = %71
%76 = load i32, i32* %13
%77 = load i32, i32* %12
%78 = add nsw i32 %77, %76
store i32 %78, i32* %12
br label %56
79: ; preds = %74, %70, %56
%80 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%81 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 0
%82 = call i32 @memcpy(i8* %80, i8* %81, i32 2448)
store i32 0, i32* %15
store i32 0, i32* %14
br label %83
83: ; preds = %107, %79
%84 = load i32, i32* %14
%85 = icmp slt i32 %84, 4
br i1 %85, label %86, label %110
86: ; preds = %83
%87 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%88 = getelementptr inbounds i8, i8* %87, i64 2352
%89 = load i32, i32* %14
%90 = mul nsw i32 %89, 24
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, i8* %88, i64 %91
%93 = call i64 @decode_LSUB_P(i8* %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %86
br label %110
96: ; preds = %86
%97 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%98 = getelementptr inbounds i8, i8* %97, i64 2352
%99 = load i32, i32* %14
%100 = mul nsw i32 %99, 24
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, i8* %98, i64 %101
%103 = call i64 @decode_LSUB_Q(i8* %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %96
br label %110
106: ; preds = %96
br label %107
107: ; preds = %106
%108 = load i32, i32* %14
%109 = add nsw i32 %108, 1
store i32 %109, i32* %14
br label %83
110: ; preds = %105, %95, %83
%111 = load i32, i32* %14
%112 = icmp ne i32 %111, 4
br i1 %112, label %113, label %114
113: ; preds = %110
br label %245
114: ; preds = %110
%115 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%116 = getelementptr inbounds i8, i8* %115, i64 2352
%117 = getelementptr inbounds i8, i8* %116, i64 72
%118 = getelementptr inbounds i8, i8* %117, i64 2
%119 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%120 = getelementptr inbounds i8, i8* %119, i64 2352
%121 = getelementptr inbounds i8, i8* %120, i64 72
%122 = getelementptr inbounds i8, i8* %121, i64 4
%123 = call i32 @memmove(i8* %118, i8* %122, i32 16)
%124 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%125 = getelementptr inbounds i8, i8* %124, i64 2352
%126 = getelementptr inbounds i8, i8* %125, i64 68
%127 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%128 = getelementptr inbounds i8, i8* %127, i64 2352
%129 = getelementptr inbounds i8, i8* %128, i64 72
%130 = call i32 @memmove(i8* %126, i8* %129, i32 18)
%131 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%132 = getelementptr inbounds i8, i8* %131, i64 2352
%133 = getelementptr inbounds i8, i8* %132, i64 48
%134 = getelementptr inbounds i8, i8* %133, i64 2
%135 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%136 = getelementptr inbounds i8, i8* %135, i64 2352
%137 = getelementptr inbounds i8, i8* %136, i64 48
%138 = getelementptr inbounds i8, i8* %137, i64 4
%139 = call i32 @memmove(i8* %134, i8* %138, i32 34)
%140 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%141 = getelementptr inbounds i8, i8* %140, i64 2352
%142 = getelementptr inbounds i8, i8* %141, i64 44
%143 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%144 = getelementptr inbounds i8, i8* %143, i64 2352
%145 = getelementptr inbounds i8, i8* %144, i64 48
%146 = call i32 @memmove(i8* %142, i8* %145, i32 36)
%147 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%148 = getelementptr inbounds i8, i8* %147, i64 2352
%149 = getelementptr inbounds i8, i8* %148, i64 24
%150 = getelementptr inbounds i8, i8* %149, i64 2
%151 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%152 = getelementptr inbounds i8, i8* %151, i64 2352
%153 = getelementptr inbounds i8, i8* %152, i64 24
%154 = getelementptr inbounds i8, i8* %153, i64 4
%155 = call i32 @memmove(i8* %150, i8* %154, i32 52)
%156 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%157 = getelementptr inbounds i8, i8* %156, i64 2352
%158 = getelementptr inbounds i8, i8* %157, i64 20
%159 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%160 = getelementptr inbounds i8, i8* %159, i64 2352
%161 = getelementptr inbounds i8, i8* %160, i64 24
%162 = call i32 @memmove(i8* %158, i8* %161, i32 54)
%163 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%164 = getelementptr inbounds i8, i8* %163, i64 2352
%165 = getelementptr inbounds i8, i8* %164, i64 2
%166 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%167 = getelementptr inbounds i8, i8* %166, i64 2352
%168 = getelementptr inbounds i8, i8* %167, i64 4
%169 = call i32 @memmove(i8* %165, i8* %168, i32 70)
%170 = getelementptr inbounds [2448 x i8], [2448 x i8]* %11, i64 0, i64 0
%171 = getelementptr inbounds i8, i8* %170, i64 2352
%172 = getelementptr inbounds [96 x i8], [96 x i8]* %10, i64 0, i64 0
%173 = call i32 @do_encode_sub(i8* %171, i8* %172, i32 0, i32 0)
store i32 0, i32* %16
br label %174
174: ; preds = %192, %114
%175 = load i32, i32* %16
%176 = icmp slt i32 %175, 96
br i1 %176, label %177, label %195
177: ; preds = %174
%178 = load i32, i32* %16
%179 = add nsw i32 %178, 2352
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 %180
%182 = load i8, i8* %181
%183 = zext i8 %182 to i32
%184 = and i32 %183, 192
%185 = load i32, i32* %16
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [96 x i8], [96 x i8]* %10, i64 0, i64 %186
%188 = load i8, i8* %187
%189 = zext i8 %188 to i32
%190 = or i32 %189, %184
%191 = trunc i32 %190 to i8
store i8 %191, i8* %187
br label %192
192: ; preds = %177
%193 = load i32, i32* %16
%194 = add nsw i32 %193, 1
store i32 %194, i32* %16
br label %174
195: ; preds = %174
%196 = getelementptr inbounds [96 x i8], [96 x i8]* %10, i64 0, i64 0
%197 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 0
%198 = getelementptr inbounds i8, i8* %197, i64 2352
%199 = call i64 @memcmp(i8* %196, i8* %198, i32 96)
%200 = icmp ne i64 %199, 0
br i1 %200, label %201, label %241
201: ; preds = %195
%202 = load i32, i32* @stderr
%203 = load i32, i32* %7
%204 = call i32 (i32, i8*, ...) @fprintf(i32 %202, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 %203)
store i32 0, i32* %17
br label %205
205: ; preds = %237, %201
%206 = load i32, i32* %17
%207 = icmp slt i32 %206, 96
br i1 %207, label %208, label %240
208: ; preds = %205
%209 = load i32, i32* @stderr
%210 = load i32, i32* %17
%211 = load i32, i32* %17
%212 = add nsw i32 2352, %211
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 %213
%215 = load i8, i8* %214
%216 = zext i8 %215 to i32
%217 = load i32, i32* %17
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds [96 x i8], [96 x i8]* %10, i64 0, i64 %218
%220 = load i8, i8* %219
%221 = zext i8 %220 to i32
%222 = load i32, i32* %17
%223 = add nsw i32 2352, %222
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [2448 x i8], [2448 x i8]* %9, i64 0, i64 %224
%226 = load i8, i8* %225
%227 = zext i8 %226 to i32
%228 = load i32, i32* %17
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [96 x i8], [96 x i8]* %10, i64 0, i64 %229
%231 = load i8, i8* %230
%232 = zext i8 %231 to i32
%233 = icmp eq i32 %227, %232
%234 = zext i1 %233 to i64
%235 = select i1 %233, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0)
%236 = call i32 (i32, i8*, ...) @fprintf(i32 %209, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0), i32 %210, i32 %216, i32 %221, i8* %235)
br label %237
237: ; preds = %208
%238 = load i32, i32* %17
%239 = add nsw i32 %238, 1
store i32 %239, i32* %17
br label %205
240: ; preds = %205
br label %244
241: ; preds = %195
%242 = load i32, i32* %8
%243 = add i32 %242, 1
store i32 %243, i32* %8
br label %244
244: ; preds = %241, %240
br label %245
245: ; preds = %244, %113
%246 = load i32, i32* %7
%247 = add i32 %246, 1
store i32 %247, i32* %7
br label %54
248: ; preds = %54
%249 = load i32, i32* @stderr
%250 = load i32, i32* %7
%251 = load i32, i32* %8
%252 = call i32 (i32, i8*, ...) @fprintf(i32 %249, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i32 %250, i32 %251)
%253 = load i32, i32* %6
%254 = call i32 @close(i32 %253)
store i32 0, i32* %3
br label %255
255: ; preds = %248, %20
%256 = load i32, i32* %3
ret i32 %256
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [33 x i8] c"Usage: %s 2448-byte-sector-file\0A\00"
@STDIN_FILENO = global i32 0
@O_RDONLY = global i32 0
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [37 x i8] c"could not open file %s for reading.\0A\00"
@.str.3 = [25 x i8] c"difference at sector %u\0A\00"
@.str.4 = [42 x i8] c"%2d: Soll : 0x%02x, 0x%02x : Ist, %s\0A\00"
@.str.5 = [5 x i8] c"true\00"
@.str.6 = [6 x i8] c"false\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [2448 x i8]
%4 = alloca [96 x i8]
%5 = alloca [2448 x i8]
%6 = icmp slt i32 %0, 2
br i1 %6, label %7, label %11
7: ; preds = %2
%8 = load i32, i32* @stderr
%9 = load i8*, i8** %1
%10 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* %9)
ret i32 0
11: ; preds = %2
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = load i8, i8* %13
%15 = icmp eq i8 %14, 45
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = load i32, i32* @STDIN_FILENO
br label %21
18: ; preds = %11
%19 = load i32, i32* @O_RDONLY
%20 = tail call i32 @open(i8* %13, i32 %19)
br label %21
21: ; preds = %18, %16
%22 = phi i32 [ %17, %16 ], [ %20, %18 ]
%23 = icmp eq i32 %22, -1
br i1 %23, label %76, label %24
24: ; preds = %21
%25 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 0
%26 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 0
%27 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 0
%28 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2352
%29 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2424
%30 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2426
%31 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2428
%32 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2420
%33 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2400
%34 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2402
%35 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2404
%36 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2396
%37 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2376
%38 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2378
%39 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2380
%40 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2372
%41 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2354
%42 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2356
%43 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2352
%44 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2376
%45 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2400
%46 = getelementptr inbounds [2448 x i8], [2448 x i8]* %5, i64 0, i64 2424
%47 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2352
%48 = bitcast i8* %47 to <16 x i8>*
%49 = bitcast [96 x i8]* %4 to <16 x i8>*
%50 = bitcast [96 x i8]* %4 to <16 x i8>*
%51 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2368
%52 = bitcast i8* %51 to <16 x i8>*
%53 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 16
%54 = bitcast i8* %53 to <16 x i8>*
%55 = bitcast i8* %53 to <16 x i8>*
%56 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2384
%57 = bitcast i8* %56 to <16 x i8>*
%58 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 32
%59 = bitcast i8* %58 to <16 x i8>*
%60 = bitcast i8* %58 to <16 x i8>*
%61 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2400
%62 = bitcast i8* %61 to <16 x i8>*
%63 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 48
%64 = bitcast i8* %63 to <16 x i8>*
%65 = bitcast i8* %63 to <16 x i8>*
%66 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2416
%67 = bitcast i8* %66 to <16 x i8>*
%68 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 64
%69 = bitcast i8* %68 to <16 x i8>*
%70 = bitcast i8* %68 to <16 x i8>*
%71 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 2432
%72 = bitcast i8* %71 to <16 x i8>*
%73 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 80
%74 = bitcast i8* %73 to <16 x i8>*
%75 = bitcast i8* %73 to <16 x i8>*
br label %82
76: ; preds = %21
%77 = tail call i32 @perror(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%78 = load i32, i32* @stderr
%79 = load i8*, i8** %12
%80 = tail call i32 (i32, i8*, ...) @fprintf(i32 %78, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i8* %79)
%81 = tail call i32 @exit(i32 1)
unreachable
82: ; preds = %24, %174
%83 = phi i32 [ %175, %174 ], [ 0, %24 ]
br label %84
84: ; preds = %87, %82
%85 = phi i32 [ 0, %82 ], [ %94, %87 ]
%86 = icmp eq i32 %85, 2448
br i1 %86, label %95, label %87
87: ; preds = %84
%88 = sext i32 %85 to i64
%89 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 %88
%90 = sub nsw i32 2448, %85
%91 = call i32 @read(i32 %22, i8* %89, i32 %90)
%92 = icmp slt i32 %91, 1
%93 = select i1 %92, i32 0, i32 %91
%94 = add nsw i32 %93, %85
br i1 %92, label %95, label %84
95: ; preds = %87, %84
%96 = call i32 @memcpy(i8* %27, i8* %25, i32 2448)
%97 = call i64 @decode_LSUB_P(i8* %28)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %174
99: ; preds = %95
%100 = call i64 @decode_LSUB_Q(i8* %28)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %174
102: ; preds = %99
%103 = call i64 @decode_LSUB_P(i8* %44)
%104 = icmp eq i64 %103, 0
br i1 %104, label %105, label %174
105: ; preds = %102
%106 = call i64 @decode_LSUB_Q(i8* %44)
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %174
108: ; preds = %105
%109 = call i64 @decode_LSUB_P(i8* %45)
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %174
111: ; preds = %108
%112 = call i64 @decode_LSUB_Q(i8* %45)
%113 = icmp eq i64 %112, 0
br i1 %113, label %114, label %174
114: ; preds = %111
%115 = call i64 @decode_LSUB_P(i8* %46)
%116 = icmp eq i64 %115, 0
br i1 %116, label %117, label %174
117: ; preds = %114
%118 = call i64 @decode_LSUB_Q(i8* %46)
%119 = icmp eq i64 %118, 0
br i1 %119, label %120, label %174
120: ; preds = %117
%121 = call i32 @memmove(i8* %30, i8* %31, i32 16)
%122 = call i32 @memmove(i8* %32, i8* %29, i32 18)
%123 = call i32 @memmove(i8* %34, i8* %35, i32 34)
%124 = call i32 @memmove(i8* %36, i8* %33, i32 36)
%125 = call i32 @memmove(i8* %38, i8* %39, i32 52)
%126 = call i32 @memmove(i8* %40, i8* %37, i32 54)
%127 = call i32 @memmove(i8* %41, i8* %42, i32 70)
%128 = call i32 @do_encode_sub(i8* %28, i8* %26, i32 0, i32 0)
%129 = load <16 x i8>, <16 x i8>* %48
%130 = and <16 x i8> %129, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%131 = load <16 x i8>, <16 x i8>* %49
%132 = or <16 x i8> %131, %130
store <16 x i8> %132, <16 x i8>* %50
%133 = load <16 x i8>, <16 x i8>* %52
%134 = and <16 x i8> %133, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%135 = load <16 x i8>, <16 x i8>* %54
%136 = or <16 x i8> %135, %134
store <16 x i8> %136, <16 x i8>* %55
%137 = load <16 x i8>, <16 x i8>* %57
%138 = and <16 x i8> %137, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%139 = load <16 x i8>, <16 x i8>* %59
%140 = or <16 x i8> %139, %138
store <16 x i8> %140, <16 x i8>* %60
%141 = load <16 x i8>, <16 x i8>* %62
%142 = and <16 x i8> %141, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%143 = load <16 x i8>, <16 x i8>* %64
%144 = or <16 x i8> %143, %142
store <16 x i8> %144, <16 x i8>* %65
%145 = load <16 x i8>, <16 x i8>* %67
%146 = and <16 x i8> %145, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%147 = load <16 x i8>, <16 x i8>* %69
%148 = or <16 x i8> %147, %146
store <16 x i8> %148, <16 x i8>* %70
%149 = load <16 x i8>, <16 x i8>* %72
%150 = and <16 x i8> %149, <i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64, i8 -64>
%151 = load <16 x i8>, <16 x i8>* %74
%152 = or <16 x i8> %151, %150
store <16 x i8> %152, <16 x i8>* %75
%153 = call i64 @memcmp(i8* %26, i8* %43, i32 96)
%154 = icmp eq i64 %153, 0
br i1 %154, label %174, label %155
155: ; preds = %120
%156 = load i32, i32* @stderr
%157 = call i32 (i32, i8*, ...) @fprintf(i32 %156, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 %83)
br label %158
158: ; preds = %155, %158
%159 = phi i64 [ 0, %155 ], [ %172, %158 ]
%160 = load i32, i32* @stderr
%161 = add nuw nsw i64 %159, 2352
%162 = getelementptr inbounds [2448 x i8], [2448 x i8]* %3, i64 0, i64 %161
%163 = load i8, i8* %162
%164 = zext i8 %163 to i32
%165 = getelementptr inbounds [96 x i8], [96 x i8]* %4, i64 0, i64 %159
%166 = load i8, i8* %165
%167 = zext i8 %166 to i32
%168 = icmp eq i8 %163, %166
%169 = select i1 %168, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0)
%170 = trunc i64 %159 to i32
%171 = call i32 (i32, i8*, ...) @fprintf(i32 %160, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0), i32 %170, i32 %164, i32 %167, i8* %169)
%172 = add nuw nsw i64 %159, 1
%173 = icmp eq i64 %172, 96
br i1 %173, label %174, label %158
174: ; preds = %158, %95, %99, %102, %105, %108, %111, %114, %117, %120
%175 = add i32 %83, 1
br label %82
}