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

/* Forward declarations */

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

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ feof(int /*<<< orphan*/ *);
scalar_t__ ferror(int /*<<< orphan*/ *);
int /*<<< orphan*/ fflush(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
size_t fread(unsigned char *, int, size_t, int /*<<< orphan*/ *);
size_t fsize(int /*<<< orphan*/ *);
scalar_t__ isprint(unsigned char);
int /*<<< orphan*/ remove(char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strcmp(char *, char *);
long strtol(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
int strtoul(char *, int /*<<< orphan*/ *, int /*<<< orphan*/);
int usage(char *);
int main(int argc, char *argv[]) {
  FILE *pFileIn;
  FILE *pFileOut;
  int iArg;
  size_t cbMin = 0;
  size_t cbMax = ~0U;
  size_t uMask = 0;
  int fAscii = 0;
  int fAppend = 0;
  int fExport = 0;
  long iBreakEvery = -1;
  unsigned char abLine[32];
  size_t cbLine = 16;
  size_t off;
  size_t cbRead;
  size_t cbBin;
  int rc = 1;
  if (argc < 2)
    return usage(argv[0]);
  for (iArg = 1; iArg < argc; iArg++) {
    if (!strcmp(argv[iArg], "-min")) {
      if (++iArg >= argc)
        return usage(argv[0]);
      cbMin = 1024 * strtoul(argv[iArg], NULL, 0);
    } else if (!strcmp(argv[iArg], "-max")) {
      if (++iArg >= argc)
        return usage(argv[0]);
      cbMax = 1024 * strtoul(argv[iArg], NULL, 0);
    } else if (!strcmp(argv[iArg], "-mask")) {
      if (++iArg >= argc)
        return usage(argv[0]);
      uMask = strtoul(argv[iArg], NULL, 0);
    } else if (!strcmp(argv[iArg], "-ascii"))
      fAscii = 1;
    else if (!strcmp(argv[iArg], "--append"))
      fAppend = 1;
    else if (!strcmp(argv[iArg], "-export"))
      fExport = 1;
    else if (!strcmp(argv[iArg], "-width")) {
      if (++iArg >= argc)
        return usage(argv[0]);
      cbLine = strtoul(argv[iArg], NULL, 0);
      if (cbLine == 0 || cbLine > sizeof(abLine)) {
        fprintf(stderr, "%s: '%s' is too wide, max %u\n", argv[0], argv[iArg],
                (unsigned)sizeof(abLine));
        return 1;
      }
    } else if (!strcmp(argv[iArg], "-break")) {
      if (++iArg >= argc)
        return usage(argv[0]);
      iBreakEvery = strtol(argv[iArg], NULL, 0);
      if (iBreakEvery <= 0 && iBreakEvery != -1) {
        fprintf(stderr, "%s: -break value '%s' is not >= 1 or -1.\n", argv[0],
                argv[iArg]);
        return 1;
      }
    } else if (iArg == argc - 3)
      break;
    else {
      fprintf(stderr, "%s: syntax error: Unknown argument '%s'\n", argv[0],
              argv[iArg]);
      return usage(argv[0]);
    }
  }
  pFileIn = fopen(argv[iArg + 1], "rb");
  if (!pFileIn) {
    fprintf(stderr, "Error: failed to open input file '%s'!\n", argv[iArg + 1]);
    return 1;
  }
  pFileOut = fopen(argv[iArg + 2], fAppend ? "a" : "w");
  if (!pFileOut) {
    fprintf(stderr, "Error: failed to open output file '%s'!\n",
            argv[iArg + 2]);
    fclose(pFileIn);
    return 1;
  }
  cbBin = fsize(pFileIn);
  fprintf(pFileOut,
          "/*\n"
          " * This file was automatically generated\n"
          " * from %s\n"
          " * by %s.\n"
          " */\n"
          "\n"
          "#include <iprt/cdefs.h>\n"
          "\n"
          "%sconst unsigned char%s g_ab%s[] =\n"
          "{\n",
          argv[iArg + 1], argv[0], fExport ? "DECLEXPORT(" : "",
          fExport ? ")" : "", argv[iArg]);
  if (uMask && (cbBin & uMask))
    fprintf(stderr, "%s: size=%ld - Not aligned!\n", argv[0], (long)cbBin);
  else if (cbBin < cbMin || cbBin > cbMax)
    fprintf(stderr, "%s: size=%ld - Not %ld-%ldb in size!\n", argv[0],
            (long)cbBin, (long)cbMin, (long)cbMax);
  else {
    off = 0;
    while ((cbRead = fread(&abLine[0], 1, cbLine, pFileIn)) > 0) {
      size_t j;
      if (iBreakEvery > 0 && off && (off / cbLine) % iBreakEvery == 0)
        fprintf(pFileOut, "\n");
      fprintf(pFileOut, "   ");
      for (j = 0; j < cbRead; j++)
        fprintf(pFileOut, " 0x%02x,", abLine[j]);
      for (; j < cbLine; j++)
        fprintf(pFileOut, "      ");
      if (fAscii) {
        fprintf(pFileOut, " /* 0x%08lx: ", (long)off);
        for (j = 0; j < cbRead; j++)
          fprintf(pFileOut, "%c",
                  isprint(abLine[j]) && abLine[j] != '/' ? abLine[j] : '.');
        for (; j < cbLine; j++)
          fprintf(pFileOut, " ");
        fprintf(pFileOut, " */");
      }
      fprintf(pFileOut, "\n");
      off += cbRead;
    }
    if (ferror(pFileIn) && !feof(pFileIn))
      fprintf(stderr, "%s: read error\n", argv[0]);
    else if (off != cbBin)
      fprintf(stderr, "%s: read error off=%ld cbBin=%ld\n", argv[0], (long)off,
              (long)cbBin);
    else {
      fprintf(pFileOut,
              "};\n"
              "\n"
              "%sconst unsigned%s g_cb%s = sizeof(g_ab%s);\n"
              "/* end of file */\n",
              fExport ? "DECLEXPORT(" : "", fExport ? ")" : "", argv[iArg],
              argv[iArg]);
      fflush(pFileOut);
      if (ferror(pFileOut))
        fprintf(stderr, "%s: write error\n", argv[0]);
      else
        rc = 0;
    }
  }
  fclose(pFileOut);
  fclose(pFileIn);
  if (rc)
    remove(argv[iArg + 2]);
  return rc;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x30(%rbp)
mov    $0xffffffff,%eax
mov    %rax,-0x38(%rbp)
movq   $0x0,-0x40(%rbp)
movl   $0x0,-0x44(%rbp)
movl   $0x0,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
movq   $0xffffffffffffffff,-0x58(%rbp)
ff
movq   $0x10,-0x88(%rbp)
movl   $0x1,-0xa4(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1262 <main+0x82>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    163e <main+0x45e>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd78(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    12e1 <main+0x101>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmp    -0x8(%rbp),%eax
jl     12bc <main+0xdc>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
shl    $0xa,%eax
cltq
mov    %rax,-0x30(%rbp)
jmp    162b <main+0x44b>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd11(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    134d <main+0x16d>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmp    -0x8(%rbp),%eax
jl     1328 <main+0x148>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
shl    $0xa,%eax
cltq
mov    %rax,-0x38(%rbp)
jmp    1626 <main+0x446>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xcaa(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    13b6 <main+0x1d6>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmp    -0x8(%rbp),%eax
jl     1394 <main+0x1b4>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
cltq
mov    %rax,-0x40(%rbp)
jmp    1621 <main+0x441>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xc47(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    13e3 <main+0x203>
movl   $0x1,-0x44(%rbp)
jmp    161c <main+0x43c>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xc21(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1410 <main+0x230>
movl   $0x1,-0x48(%rbp)
jmp    1617 <main+0x437>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xbfd(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    143d <main+0x25d>
movl   $0x1,-0x4c(%rbp)
jmp    1612 <main+0x432>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xbd8(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1501 <main+0x321>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmp    -0x8(%rbp),%eax
jl     1484 <main+0x2a4>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
cltq
mov    %rax,-0x88(%rbp)
cmpq   $0x0,-0x88(%rbp)
je     14c0 <main+0x2e0>
cmpq   $0x20,-0x88(%rbp)
20
jbe    14fc <main+0x31c>
mov    0x2b19(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xb4c(%rip),%rsi
mov    $0x20,%r8d
mov    $0x0,%al
call   1080 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1c46 <main+0xa66>
jmp    160d <main+0x42d>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xb39(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    15b4 <main+0x3d4>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmp    -0x8(%rbp),%eax
jl     1548 <main+0x368>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %edx,%edx
call   10a0 <strtol@plt>
mov    %rax,-0x58(%rbp)
cmpq   $0x0,-0x58(%rbp)
jg     15af <main+0x3cf>
cmpq   $0xffffffffffffffff,-0x58(%rbp)
je     15af <main+0x3cf>
mov    0x2a60(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xab8(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1c46 <main+0xa66>
jmp    1608 <main+0x428>
mov    -0x24(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jne    15ca <main+0x3ea>
jmp    163e <main+0x45e>
mov    0x2a0f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rcx
lea    0xa91(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10c0 <usage@plt>
mov    %eax,-0x4(%rbp)
jmp    1c46 <main+0xa66>
jmp    160d <main+0x42d>
jmp    1612 <main+0x432>
jmp    1617 <main+0x437>
jmp    161c <main+0x43c>
jmp    1621 <main+0x441>
jmp    1626 <main+0x446>
jmp    162b <main+0x44b>
jmp    1630 <main+0x450>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1269 <main+0x89>
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xa51(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    169e <main+0x4be>
mov    0x296f(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdx
lea    0xa1f(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x48(%rbp),%ecx
lea    0xa1b(%rip),%rsi
lea    0xa12(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1718 <main+0x538>
mov    0x28fe(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdx
lea    0x9da(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
movl   $0x1,-0x4(%rbp)
jmp    1c46 <main+0xa66>
mov    -0x18(%rbp),%rdi
call   10e0 <fsize@plt>
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rax
mov    %eax,%edi
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdx
mov    -0x10(%rbp),%rax
mov    (%rax),%rcx
mov    -0x4c(%rbp),%esi
lea    0x981(%rip),%r8
lea    0xa2d(%rip),%rax
cmp    $0x0,%esi
cmovne %rax,%r8
mov    -0x4c(%rbp),%esi
lea    0x969(%rip),%r9
lea    0xa21(%rip),%rax
cmp    $0x0,%esi
cmovne %rax,%r9
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rsi
mov    (%rax,%rsi,8),%rax
lea    0x976(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1080 <fprintf@plt>
cmpq   $0x0,-0x40(%rbp)
je     17de <main+0x5fe>
mov    -0xa0(%rbp),%rax
and    -0x40(%rbp),%rax
cmp    $0x0,%rax
je     17de <main+0x5fe>
mov    0x2825(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0xa0(%rbp),%rcx
lea    0x9c0(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1c08 <main+0xa28>
mov    -0xa0(%rbp),%rax
cmp    -0x30(%rbp),%rax
jb     1800 <main+0x620>
mov    -0xa0(%rbp),%rax
cmp    -0x38(%rbp),%rax
jbe    1832 <main+0x652>
mov    0x27d9(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0xa0(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    -0x38(%rbp),%r9
lea    0x989(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1c03 <main+0xa23>
movq   $0x0,-0x90(%rbp)
lea    -0x80(%rbp),%rdi
mov    -0x88(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    $0x1,%esi
call   1050 <fread@plt>
mov    %rax,-0x98(%rbp)
cmp    $0x0,%rax
jbe    1ac2 <main+0x8e2>
cmpq   $0x0,-0x58(%rbp)
jle    18b8 <main+0x6d8>
cmpq   $0x0,-0x90(%rbp)
je     18b8 <main+0x6d8>
mov    -0x90(%rbp),%rax
xor    %ecx,%ecx
mov    %ecx,%edx
divq   -0x88(%rbp)
xor    %ecx,%ecx
mov    %ecx,%edx
divq   -0x58(%rbp)
cmp    $0x0,%rdx
jne    18b8 <main+0x6d8>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x81f(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x91c(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0xb0(%rbp)
mov    -0xb0(%rbp),%rax
cmp    -0x98(%rbp),%rax
jae    1922 <main+0x742>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
mov    -0xb0(%rbp),%rax
movzbl -0x80(%rbp,%rax,1),%edx
lea    0x8d1(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0xb0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb0(%rbp)
jmp    18d7 <main+0x6f7>
jmp    1927 <main+0x747>
mov    -0xb0(%rbp),%rax
cmp    -0x88(%rbp),%rax
jae    1966 <main+0x786>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x896(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0xb0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb0(%rbp)
jmp    1927 <main+0x747>
cmpl   $0x0,-0x44(%rbp)
je     1a94 <main+0x8b4>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
mov    -0x90(%rbp),%rdx
lea    0x861(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0xb0(%rbp)
mov    -0xb0(%rbp),%rax
cmp    -0x98(%rbp),%rax
jae    1a3c <main+0x85c>
mov    -0x20(%rbp),%rax
mov    %eax,-0xb4(%rbp)
mov    -0xb0(%rbp),%rax
movzbl -0x80(%rbp,%rax,1),%edi
call   10d0 <isprint@plt>
cmp    $0x0,%rax
je     19fb <main+0x81b>
mov    -0xb0(%rbp),%rax
movzbl -0x80(%rbp,%rax,1),%eax
cmp    $0x2f,%eax
je     19fb <main+0x81b>
mov    -0xb0(%rbp),%rax
movzbl -0x80(%rbp,%rax,1),%eax
mov    %eax,-0xb8(%rbp)
jmp    1a0b <main+0x82b>
mov    $0x2e,%eax
mov    %eax,-0xb8(%rbp)
jmp    1a0b <main+0x82b>
mov    -0xb4(%rbp),%edi
mov    -0xb8(%rbp),%edx
lea    0x7d5(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0xb0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb0(%rbp)
jmp    1996 <main+0x7b6>
jmp    1a41 <main+0x861>
mov    -0xb0(%rbp),%rax
cmp    -0x88(%rbp),%rax
jae    1a80 <main+0x8a0>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x781(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0xb0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb0(%rbp)
jmp    1a41 <main+0x861>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x769(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
lea    0x62f(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x98(%rbp),%rax
add    -0x90(%rbp),%rax
mov    %rax,-0x90(%rbp)
jmp    183d <main+0x65d>
mov    -0x18(%rbp),%rdi
call   1040 <ferror@plt>
cmp    $0x0,%rax
je     1b0a <main+0x92a>
mov    -0x18(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%eax
jne    1b0a <main+0x92a>
mov    0x24f2(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0x6fc(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1bfe <main+0xa1e>
mov    -0x90(%rbp),%rax
cmp    -0xa0(%rbp),%rax
je     1b4f <main+0x96f>
mov    0x24bb(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x90(%rbp),%rcx
mov    -0xa0(%rbp),%r8
lea    0x6c7(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1bf9 <main+0xa19>
mov    -0x20(%rbp),%rax
mov    %eax,%edi
mov    -0x4c(%rbp),%ecx
lea    0x572(%rip),%rdx
lea    0x61e(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdx
mov    -0x4c(%rbp),%esi
lea    0x55a(%rip),%rcx
lea    0x612(%rip),%rax
cmp    $0x0,%esi
cmovne %rax,%rcx
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rsi
mov    (%rax,%rsi,8),%r8
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rsi
mov    (%rax,%rsi,8),%r9
lea    0x688(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x20(%rbp),%rdi
call   10b0 <fflush@plt>
mov    -0x20(%rbp),%rdi
call   1040 <ferror@plt>
cmp    $0x0,%rax
je     1bea <main+0xa0a>
mov    0x2412(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0x691(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1bf4 <main+0xa14>
movl   $0x0,-0xa4(%rbp)
jmp    1bf9 <main+0xa19>
jmp    1bfe <main+0xa1e>
jmp    1c03 <main+0xa23>
jmp    1c08 <main+0xa28>
mov    -0x20(%rbp),%rdi
call   1060 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
cmpl   $0x0,-0xa4(%rbp)
je     1c3d <main+0xa5d>
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   1030 <remove@plt>
mov    -0xa4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rsi,%r12
cmp    $0x2,%edi
jge    1213 <main+0x33>
mov    (%r12),%rdi
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    10c0 <usage@plt>
mov    %edi,%ebx
mov    $0xffffffff,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,0x30(%rsp)
movq   $0xffffffffffffffff,0x48(%rsp)
ff ff
mov    $0x10,%eax
mov    %rax,0x20(%rsp)
mov    $0x1,%r15d
lea    0xdba(%rip),%r14
movl   $0x0,0x38(%rsp)
movl   $0x0,0x2c(%rsp)
xor    %eax,%eax
mov    %rax,0x40(%rsp)
xor    %r13d,%r13d
jmp    127d <main+0x9d>
movl   $0x1,0x2c(%rsp)
nopw   0x0(%rax,%rax,1)
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    1452 <main+0x272>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rbp
mov    %rbp,%rdi
mov    %r14,%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1370 <main+0x190>
mov    %rbp,%rdi
lea    0xd64(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     13a0 <main+0x1c0>
mov    %rbp,%rdi
lea    0xd52(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     13cc <main+0x1ec>
mov    %rbp,%rdi
lea    0xd41(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1262 <main+0x82>
mov    %rbp,%rdi
lea    0xd35(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     13f5 <main+0x215>
mov    %rbp,%rdi
lea    0xd27(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1402 <main+0x222>
mov    %rbp,%rdi
lea    0xd18(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1411 <main+0x231>
mov    %rbp,%rdi
lea    0xd26(%rip),%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
jne    1446 <main+0x266>
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    11f9 <main+0x19>
movslq %r15d,%rbp
mov    (%r12,%rbp,8),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   10a0 <strtol@plt>
test   %rax,%rax
mov    %rax,0x48(%rsp)
jg     1270 <main+0x90>
cmp    $0xffffffffffffffff,%rax
je     1270 <main+0x90>
jmp    1810 <main+0x630>
xchg   %ax,%ax
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    11f9 <main+0x19>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
shl    $0xa,%eax
movslq %eax,%r13
jmp    1270 <main+0x90>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    11f9 <main+0x19>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
shl    $0xa,%eax
cltq
mov    %rax,0x10(%rsp)
jmp    1270 <main+0x90>
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    11f9 <main+0x19>
movslq %r15d,%rax
mov    (%r12,%rax,8),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
cltq
mov    %rax,0x40(%rsp)
jmp    1270 <main+0x90>
movl   $0x1,0x38(%rsp)
jmp    1270 <main+0x90>
mov    $0x1,%eax
mov    %rax,0x30(%rsp)
jmp    1270 <main+0x90>
add    $0x1,%r15d
cmp    %ebx,%r15d
jge    11f9 <main+0x19>
movslq %r15d,%rbp
mov    (%r12,%rbp,8),%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1100 <strtoul@plt>
lea    -0x21(%rax),%ecx
cmp    $0xffffffdf,%ecx
jbe    194d <main+0x76d>
cltq
mov    %rax,0x20(%rsp)
jmp    1270 <main+0x90>
add    $0xfffffffd,%ebx
cmp    %ebx,%r15d
jne    1979 <main+0x799>
movslq %r15d,%r15
lea    0x1(%r15),%rbp
mov    0x8(%r12,%r15,8),%rdi
lea    0xc42(%rip),%rsi
call   10f0 <fopen@plt>
test   %rax,%rax
je     1545 <main+0x365>
mov    %r13,0x58(%rsp)
mov    %rax,0x18(%rsp)
lea    0x2(%r15),%r14
mov    0x10(%r12,%r15,8),%rdi
cmpl   $0x0,0x38(%rsp)
lea    0xc42(%rip),%rax
lea    0xc39(%rip),%rsi
cmove  %rax,%rsi
call   10f0 <fopen@plt>
test   %rax,%rax
je     156a <main+0x38a>
mov    %rax,%r13
mov    0x18(%rsp),%rdi
call   10e0 <fsize@plt>
mov    (%r12,%rbp,8),%rdx
mov    (%r12),%rcx
cmpl   $0x0,0x30(%rsp)
lea    0xc05(%rip),%rsi
lea    0xcb1(%rip),%rbp
cmove  %rsi,%rbp
lea    0xcb2(%rip),%r9
cmove  %rsi,%r9
mov    %r15,0x38(%rsp)
mov    (%r12,%r15,8),%rsi
mov    %rax,%r15
mov    %rsi,(%rsp)
lea    0xc06(%rip),%rsi
mov    %r13d,%edi
mov    %rbp,%r8
mov    %r9,0x30(%rsp)
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    0x40(%rsp),%rax
test   %rax,%rax
mov    %r14,0x68(%rsp)
je     1599 <main+0x3b9>
and    %r15,%rax
je     1599 <main+0x3b9>
mov    0x2aba(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0xc5f(%rip),%rsi
xor    %r14d,%r14d
mov    %r15,%rcx
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    1801 <main+0x621>
mov    0x2a94(%rip),%rax
mov    (%rax),%edi
mov    (%r12,%rbp,8),%rdx
lea    0xb51(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%ebp
jmp    1939 <main+0x759>
mov    0x2a6f(%rip),%rax
mov    (%rax),%edi
mov    (%r12,%r14,8),%rdx
lea    0xb58(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    0x18(%rsp),%rdi
call   1060 <fclose@plt>
mov    $0x1,%ebp
jmp    1939 <main+0x759>
cmp    0x58(%rsp),%r15
mov    0x10(%rsp),%r9
jb     17db <main+0x5fb>
cmp    %r9,%r15
ja     17db <main+0x5fb>
mov    %rbp,0x40(%rsp)
lea    0x70(%rsp),%rdi
mov    $0x1,%esi
mov    0x20(%rsp),%rbp
mov    %rbp,%rdx
mov    0x18(%rsp),%rcx
call   1050 <fread@plt>
test   %rax,%rax
mov    %r12,0x50(%rsp)
mov    %r15,0x60(%rsp)
je     1839 <main+0x659>
mov    %rax,%rbx
lea    0xbe5(%rip),%r14
xor    %eax,%eax
mov    %rax,0x10(%rsp)
mov    0x48(%rsp),%r12
jmp    165b <main+0x47b>
xchg   %ax,%ax
mov    %r13d,%edi
lea    0xbec(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    0x48(%rsp),%r12
lea    0xbb8(%rip),%r14
mov    %r13d,%edi
lea    0xaa9(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
add    %rbx,0x10(%rsp)
lea    0x70(%rsp),%rdi
mov    $0x1,%esi
mov    0x20(%rsp),%rbp
mov    %rbp,%rdx
mov    0x18(%rsp),%rcx
call   1050 <fread@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1840 <main+0x660>
test   %r12,%r12
mov    0x10(%rsp),%rax
jle    16b0 <main+0x4d0>
test   %rax,%rax
je     16b0 <main+0x4d0>
mov    %rax,%rcx
or     %rbp,%rcx
shr    $0x20,%rcx
je     167d <main+0x49d>
xor    %edx,%edx
div    %rbp
jmp    1681 <main+0x4a1>
xor    %edx,%edx
div    %ebp
mov    %rax,%rcx
or     %r12,%rcx
shr    $0x20,%rcx
je     17c8 <main+0x5e8>
xor    %edx,%edx
div    %r12
test   %rdx,%rdx
jne    16b0 <main+0x4d0>
mov    %r13d,%edi
lea    0xa2b(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
nopl   0x0(%rax)
mov    %r13d,%edi
lea    0xb27(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl 0x70(%rsp,%rbp,1),%edx
mov    %r13d,%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    16d0 <main+0x4f0>
cmp    0x20(%rsp),%rbx
lea    0xae7(%rip),%r15
jae    1723 <main+0x543>
mov    0x20(%rsp),%rbp
sub    %rbx,%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r13d,%edi
mov    %r15,%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
add    $0xffffffffffffffff,%rbp
jne    1710 <main+0x530>
cmpl   $0x0,0x2c(%rsp)
je     161d <main+0x43d>
mov    %r13d,%edi
lea    0xaad(%rip),%rsi
mov    0x10(%rsp),%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
xor    %ebp,%ebp
mov    $0x2e,%r14d
lea    0xaa0(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl 0x70(%rsp,%rbp,1),%r15d
mov    %r15d,%edi
call   10d0 <isprint@plt>
cmp    $0x2f,%r15d
cmove  %r14d,%r15d
test   %rax,%rax
cmove  %r14d,%r15d
mov    %r13d,%edi
mov    %r12,%rsi
mov    %r15d,%edx
xor    %eax,%eax
call   1080 <fprintf@plt>
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    1760 <main+0x580>
cmp    0x20(%rsp),%rbx
lea    0xa41(%rip),%r14
jae    1600 <main+0x420>
mov    0x20(%rsp),%rbp
sub    %rbx,%rbp
mov    %r13d,%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
add    $0xffffffffffffffff,%rbp
jne    17b0 <main+0x5d0>
jmp    1600 <main+0x420>
xor    %edx,%edx
div    %r12d
test   %rdx,%rdx
jne    16b0 <main+0x4d0>
jmp    169b <main+0x4bb>
mov    0x27fe(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0x9c0(%rip),%rsi
xor    %r14d,%r14d
mov    %r15,%rcx
mov    0x58(%rsp),%r8
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%ebp
mov    0x18(%rsp),%r15
jmp    1916 <main+0x736>
mov    0x27c9(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
mov    (%r12,%rbp,8),%rcx
lea    0x82c(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%ebp
jmp    1939 <main+0x759>
xor    %eax,%eax
mov    %rax,0x10(%rsp)
mov    0x18(%rsp),%r15
mov    %r15,%rdi
call   1040 <ferror@plt>
test   %rax,%rax
je     1862 <main+0x682>
mov    %r15,%rdi
call   1090 <feof@plt>
test   %eax,%eax
je     18ee <main+0x70e>
mov    0x60(%rsp),%r8
mov    0x10(%rsp),%rcx
cmp    %r8,%rcx
mov    0x50(%rsp),%r12
jne    18ce <main+0x6ee>
mov    0x38(%rsp),%rax
mov    (%r12,%rax,8),%r8
lea    0x9a6(%rip),%rsi
xor    %ebp,%ebp
mov    %r13d,%edi
mov    0x40(%rsp),%rdx
mov    0x30(%rsp),%rcx
mov    %r8,%r9
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    %r13,%rdi
call   10b0 <fflush@plt>
mov    %r13,%rdi
call   1040 <ferror@plt>
test   %rax,%rax
je     199c <main+0x7bc>
mov    0x2721(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0x9a3(%rip),%rsi
jmp    1907 <main+0x727>
mov    0x270b(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0x928(%rip),%rsi
xor    %r14d,%r14d
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    1911 <main+0x731>
mov    0x26eb(%rip),%rax
mov    (%rax),%edi
mov    0x50(%rsp),%r12
mov    (%r12),%rdx
lea    0x8f3(%rip),%rsi
xor    %r14d,%r14d
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%ebp
mov    %r13,%rdi
call   1060 <fclose@plt>
mov    %r15,%rdi
call   1060 <fclose@plt>
test   %r14b,%r14b
jne    1939 <main+0x759>
mov    0x68(%rsp),%rax
mov    (%r12,%rax,8),%rdi
call   1030 <remove@plt>
mov    %ebp,%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x268c(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
mov    (%r12,%rbp,8),%rcx
lea    0x6ca(%rip),%rsi
mov    $0x20,%r8d
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%ebp
jmp    1939 <main+0x759>
mov    0x2660(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0x6f1(%rip),%rsi
mov    %rbp,%rcx
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    11f9 <main+0x19>
mov    $0x1,%r14b
jmp    1916 <main+0x736>

LLVM IR (-O0):
@.str = [5 x i8] c"-min\00"
@.str.1 = [5 x i8] c"-max\00"
@.str.2 = [6 x i8] c"-mask\00"
@.str.3 = [7 x i8] c"-ascii\00"
@.str.4 = [9 x i8] c"--append\00"
@.str.5 = [8 x i8] c"-export\00"
@.str.6 = [7 x i8] c"-width\00"
@stderr = global i32 0
@.str.7 = [30 x i8] c"%s: '%s' is too wide, max %u\0A\00"
@.str.8 = [7 x i8] c"-break\00"
@.str.9 = [42 x i8] c"%s: -break value '%s' is not >= 1 or -1.\0A\00"
@.str.10 = [41 x i8] c"%s: syntax error: Unknown argument '%s'\0A\00"
@.str.11 = [3 x i8] c"rb\00"
@.str.12 = [40 x i8] c"Error: failed to open input file '%s'!\0A\00"
@.str.13 = [2 x i8] c"a\00"
@.str.14 = [2 x i8] c"w\00"
@.str.15 = [41 x i8] c"Error: failed to open output file '%s'!\0A\00"
@.str.16 = [133 x i8] c"/*\0A * This file was automatically generated\0A * from %s\0A * by %s.\0A */\0A\0A#include <iprt/cdefs.h>\0A\0A%sconst unsigned char%s g_ab%s[] =\0A{\0A\00"
@.str.17 = [12 x i8] c"DECLEXPORT(\00"
@.str.18 = [1 x i8] zeroinitializer
@.str.19 = [2 x i8] c")\00"
@.str.20 = [29 x i8] c"%s: size=%ld - Not aligned!\0A\00"
@.str.21 = [38 x i8] c"%s: size=%ld - Not %ld-%ldb in size!\0A\00"
@.str.22 = [2 x i8] c"\0A\00"
@.str.23 = [4 x i8] c" \00"
@.str.24 = [9 x i8] c" 0x%02x,\00"
@.str.25 = [7 x i8] c" \00"
@.str.26 = [14 x i8] c" /* 0x%08lx: \00"
@.str.27 = [3 x i8] c"%c\00"
@.str.28 = [2 x i8] c" \00"
@.str.29 = [4 x i8] c" */\00"
@.str.30 = [16 x i8] c"%s: read error\0A\00"
@.str.31 = [34 x i8] c"%s: read error off=%ld cbBin=%ld\0A\00"
@.str.32 = [67 x i8] c"};\0A\0A%sconst unsigned%s g_cb%s = sizeof(g_ab%s);\0A/* end of file */\0A\00"
@.str.33 = [17 x i8] c"%s: write error\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 i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i64
%16 = alloca [32 x i8]
%17 = alloca i64
%18 = alloca i64
%19 = alloca i64
%20 = alloca i64
%21 = alloca i32
%22 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i64 0, i64* %9
store i64 4294967295, i64* %10
store i64 0, i64* %11
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
store i64 -1, i64* %15
store i64 16, i64* %17
store i32 1, i32* %21
%23 = load i32, i32* %4
%24 = icmp slt i32 %23, 2
br i1 %24, label %25, label %30
25: ; preds = %2
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 0
%28 = load i8*, i8** %27
%29 = call i32 @usage(i8* %28)
store i32 %29, i32* %3
br label %559
30: ; preds = %2
store i32 1, i32* %8
br label %31
31: ; preds = %256, %30
%32 = load i32, i32* %8
%33 = load i32, i32* %4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %259
35: ; preds = %31
%36 = load i8**, i8*** %5
%37 = load i32, i32* %8
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8*, i8** %36, i64 %38
%40 = load i8*, i8** %39
%41 = call i32 @strcmp(i8* %40, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%42 = icmp ne i32 %41, 0
br i1 %42, label %62, label %43
43: ; preds = %35
%44 = load i32, i32* %8
%45 = add nsw i32 %44, 1
store i32 %45, i32* %8
%46 = load i32, i32* %4
%47 = icmp sge i32 %45, %46
br i1 %47, label %48, label %53
48: ; preds = %43
%49 = load i8**, i8*** %5
%50 = getelementptr inbounds i8*, i8** %49, i64 0
%51 = load i8*, i8** %50
%52 = call i32 @usage(i8* %51)
store i32 %52, i32* %3
br label %559
53: ; preds = %43
%54 = load i8**, i8*** %5
%55 = load i32, i32* %8
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8*, i8** %54, i64 %56
%58 = load i8*, i8** %57
%59 = call i32 @strtoul(i8* %58, i32* null, i32 0)
%60 = mul nsw i32 1024, %59
%61 = sext i32 %60 to i64
store i64 %61, i64* %9
br label %255
62: ; preds = %35
%63 = load i8**, i8*** %5
%64 = load i32, i32* %8
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8*, i8** %63, i64 %65
%67 = load i8*, i8** %66
%68 = call i32 @strcmp(i8* %67, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%69 = icmp ne i32 %68, 0
br i1 %69, label %89, label %70
70: ; preds = %62
%71 = load i32, i32* %8
%72 = add nsw i32 %71, 1
store i32 %72, i32* %8
%73 = load i32, i32* %4
%74 = icmp sge i32 %72, %73
br i1 %74, label %75, label %80
75: ; preds = %70
%76 = load i8**, i8*** %5
%77 = getelementptr inbounds i8*, i8** %76, i64 0
%78 = load i8*, i8** %77
%79 = call i32 @usage(i8* %78)
store i32 %79, i32* %3
br label %559
80: ; preds = %70
%81 = load i8**, i8*** %5
%82 = load i32, i32* %8
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8*, i8** %81, i64 %83
%85 = load i8*, i8** %84
%86 = call i32 @strtoul(i8* %85, i32* null, i32 0)
%87 = mul nsw i32 1024, %86
%88 = sext i32 %87 to i64
store i64 %88, i64* %10
br label %254
89: ; preds = %62
%90 = load i8**, i8*** %5
%91 = load i32, i32* %8
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8*, i8** %90, i64 %92
%94 = load i8*, i8** %93
%95 = call i32 @strcmp(i8* %94, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%96 = icmp ne i32 %95, 0
br i1 %96, label %115, label %97
97: ; preds = %89
%98 = load i32, i32* %8
%99 = add nsw i32 %98, 1
store i32 %99, i32* %8
%100 = load i32, i32* %4
%101 = icmp sge i32 %99, %100
br i1 %101, label %102, label %107
102: ; preds = %97
%103 = load i8**, i8*** %5
%104 = getelementptr inbounds i8*, i8** %103, i64 0
%105 = load i8*, i8** %104
%106 = call i32 @usage(i8* %105)
store i32 %106, i32* %3
br label %559
107: ; preds = %97
%108 = load i8**, i8*** %5
%109 = load i32, i32* %8
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8*, i8** %108, i64 %110
%112 = load i8*, i8** %111
%113 = call i32 @strtoul(i8* %112, i32* null, i32 0)
%114 = sext i32 %113 to i64
store i64 %114, i64* %11
br label %253
115: ; preds = %89
%116 = load i8**, i8*** %5
%117 = load i32, i32* %8
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8*, i8** %116, i64 %118
%120 = load i8*, i8** %119
%121 = call i32 @strcmp(i8* %120, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%122 = icmp ne i32 %121, 0
br i1 %122, label %124, label %123
123: ; preds = %115
store i32 1, i32* %12
br label %252
124: ; preds = %115
%125 = load i8**, i8*** %5
%126 = load i32, i32* %8
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8*, i8** %125, i64 %127
%129 = load i8*, i8** %128
%130 = call i32 @strcmp(i8* %129, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%131 = icmp ne i32 %130, 0
br i1 %131, label %133, label %132
132: ; preds = %124
store i32 1, i32* %13
br label %251
133: ; preds = %124
%134 = load i8**, i8*** %5
%135 = load i32, i32* %8
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8*, i8** %134, i64 %136
%138 = load i8*, i8** %137
%139 = call i32 @strcmp(i8* %138, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%140 = icmp ne i32 %139, 0
br i1 %140, label %142, label %141
141: ; preds = %133
store i32 1, i32* %14
br label %250
142: ; preds = %133
%143 = load i8**, i8*** %5
%144 = load i32, i32* %8
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8*, i8** %143, i64 %145
%147 = load i8*, i8** %146
%148 = call i32 @strcmp(i8* %147, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%149 = icmp ne i32 %148, 0
br i1 %149, label %185, label %150
150: ; preds = %142
%151 = load i32, i32* %8
%152 = add nsw i32 %151, 1
store i32 %152, i32* %8
%153 = load i32, i32* %4
%154 = icmp sge i32 %152, %153
br i1 %154, label %155, label %160
155: ; preds = %150
%156 = load i8**, i8*** %5
%157 = getelementptr inbounds i8*, i8** %156, i64 0
%158 = load i8*, i8** %157
%159 = call i32 @usage(i8* %158)
store i32 %159, i32* %3
br label %559
160: ; preds = %150
%161 = load i8**, i8*** %5
%162 = load i32, i32* %8
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i8*, i8** %161, i64 %163
%165 = load i8*, i8** %164
%166 = call i32 @strtoul(i8* %165, i32* null, i32 0)
%167 = sext i32 %166 to i64
store i64 %167, i64* %17
%168 = load i64, i64* %17
%169 = icmp eq i64 %168, 0
br i1 %169, label %173, label %170
170: ; preds = %160
%171 = load i64, i64* %17
%172 = icmp ugt i64 %171, 32
br i1 %172, label %173, label %184
173: ; preds = %170, %160
%174 = load i32, i32* @stderr
%175 = load i8**, i8*** %5
%176 = getelementptr inbounds i8*, i8** %175, i64 0
%177 = load i8*, i8** %176
%178 = load i8**, i8*** %5
%179 = load i32, i32* %8
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8*, i8** %178, i64 %180
%182 = load i8*, i8** %181
%183 = call i32 (i32, i8*, ...) @fprintf(i32 %174, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i8* %177, i8* %182, i32 32)
store i32 1, i32* %3
br label %559
184: ; preds = %170
br label %249
185: ; preds = %142
%186 = load i8**, i8*** %5
%187 = load i32, i32* %8
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i8*, i8** %186, i64 %188
%190 = load i8*, i8** %189
%191 = call i32 @strcmp(i8* %190, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%192 = icmp ne i32 %191, 0
br i1 %192, label %227, label %193
193: ; preds = %185
%194 = load i32, i32* %8
%195 = add nsw i32 %194, 1
store i32 %195, i32* %8
%196 = load i32, i32* %4
%197 = icmp sge i32 %195, %196
br i1 %197, label %198, label %203
198: ; preds = %193
%199 = load i8**, i8*** %5
%200 = getelementptr inbounds i8*, i8** %199, i64 0
%201 = load i8*, i8** %200
%202 = call i32 @usage(i8* %201)
store i32 %202, i32* %3
br label %559
203: ; preds = %193
%204 = load i8**, i8*** %5
%205 = load i32, i32* %8
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i8*, i8** %204, i64 %206
%208 = load i8*, i8** %207
%209 = call i64 @strtol(i8* %208, i32* null, i32 0)
store i64 %209, i64* %15
%210 = load i64, i64* %15
%211 = icmp sle i64 %210, 0
br i1 %211, label %212, label %226
212: ; preds = %203
%213 = load i64, i64* %15
%214 = icmp ne i64 %213, -1
br i1 %214, label %215, label %226
215: ; preds = %212
%216 = load i32, i32* @stderr
%217 = load i8**, i8*** %5
%218 = getelementptr inbounds i8*, i8** %217, i64 0
%219 = load i8*, i8** %218
%220 = load i8**, i8*** %5
%221 = load i32, i32* %8
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds i8*, i8** %220, i64 %222
%224 = load i8*, i8** %223
%225 = call i32 (i32, i8*, ...) @fprintf(i32 %216, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), i8* %219, i8* %224)
store i32 1, i32* %3
br label %559
226: ; preds = %212, %203
br label %248
227: ; preds = %185
%228 = load i32, i32* %8
%229 = load i32, i32* %4
%230 = sub nsw i32 %229, 3
%231 = icmp eq i32 %228, %230
br i1 %231, label %232, label %233
232: ; preds = %227
br label %259
233: ; preds = %227
%234 = load i32, i32* @stderr
%235 = load i8**, i8*** %5
%236 = getelementptr inbounds i8*, i8** %235, i64 0
%237 = load i8*, i8** %236
%238 = load i8**, i8*** %5
%239 = load i32, i32* %8
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds i8*, i8** %238, i64 %240
%242 = load i8*, i8** %241
%243 = call i32 (i32, i8*, ...) @fprintf(i32 %234, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i8* %237, i8* %242)
%244 = load i8**, i8*** %5
%245 = getelementptr inbounds i8*, i8** %244, i64 0
%246 = load i8*, i8** %245
%247 = call i32 @usage(i8* %246)
store i32 %247, i32* %3
br label %559
248: ; preds = %226
br label %249
249: ; preds = %248, %184
br label %250
250: ; preds = %249, %141
br label %251
251: ; preds = %250, %132
br label %252
252: ; preds = %251, %123
br label %253
253: ; preds = %252, %107
br label %254
254: ; preds = %253, %80
br label %255
255: ; preds = %254, %53
br label %256
256: ; preds = %255
%257 = load i32, i32* %8
%258 = add nsw i32 %257, 1
store i32 %258, i32* %8
br label %31
259: ; preds = %232, %31
%260 = load i8**, i8*** %5
%261 = load i32, i32* %8
%262 = add nsw i32 %261, 1
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds i8*, i8** %260, i64 %263
%265 = load i8*, i8** %264
%266 = call i32* @fopen(i8* %265, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
store i32* %266, i32** %6
%267 = load i32*, i32** %6
%268 = icmp ne i32* %267, null
br i1 %268, label %278, label %269
269: ; preds = %259
%270 = load i32, i32* @stderr
%271 = load i8**, i8*** %5
%272 = load i32, i32* %8
%273 = add nsw i32 %272, 1
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds i8*, i8** %271, i64 %274
%276 = load i8*, i8** %275
%277 = call i32 (i32, i8*, ...) @fprintf(i32 %270, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0), i8* %276)
store i32 1, i32* %3
br label %559
278: ; preds = %259
%279 = load i8**, i8*** %5
%280 = load i32, i32* %8
%281 = add nsw i32 %280, 2
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds i8*, i8** %279, i64 %282
%284 = load i8*, i8** %283
%285 = load i32, i32* %13
%286 = icmp ne i32 %285, 0
%287 = zext i1 %286 to i64
%288 = select i1 %286, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0)
%289 = call i32* @fopen(i8* %284, i8* %288)
store i32* %289, i32** %7
%290 = load i32*, i32** %7
%291 = icmp ne i32* %290, null
br i1 %291, label %303, label %292
292: ; preds = %278
%293 = load i32, i32* @stderr
%294 = load i8**, i8*** %5
%295 = load i32, i32* %8
%296 = add nsw i32 %295, 2
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds i8*, i8** %294, i64 %297
%299 = load i8*, i8** %298
%300 = call i32 (i32, i8*, ...) @fprintf(i32 %293, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0), i8* %299)
%301 = load i32*, i32** %6
%302 = call i32 @fclose(i32* %301)
store i32 1, i32* %3
br label %559
303: ; preds = %278
%304 = load i32*, i32** %6
%305 = call i64 @fsize(i32* %304)
store i64 %305, i64* %20
%306 = load i32*, i32** %7
%307 = ptrtoint i32* %306 to i32
%308 = load i8**, i8*** %5
%309 = load i32, i32* %8
%310 = add nsw i32 %309, 1
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds i8*, i8** %308, i64 %311
%313 = load i8*, i8** %312
%314 = load i8**, i8*** %5
%315 = getelementptr inbounds i8*, i8** %314, i64 0
%316 = load i8*, i8** %315
%317 = load i32, i32* %14
%318 = icmp ne i32 %317, 0
%319 = zext i1 %318 to i64
%320 = select i1 %318, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0)
%321 = load i32, i32* %14
%322 = icmp ne i32 %321, 0
%323 = zext i1 %322 to i64
%324 = select i1 %322, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0)
%325 = load i8**, i8*** %5
%326 = load i32, i32* %8
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds i8*, i8** %325, i64 %327
%329 = load i8*, i8** %328
%330 = call i32 (i32, i8*, ...) @fprintf(i32 %307, i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.16, i64 0, i64 0), i8* %313, i8* %316, i8* %320, i8* %324, i8* %329)
%331 = load i64, i64* %11
%332 = icmp ne i64 %331, 0
br i1 %332, label %333, label %345
333: ; preds = %303
%334 = load i64, i64* %20
%335 = load i64, i64* %11
%336 = and i64 %334, %335
%337 = icmp ne i64 %336, 0
br i1 %337, label %338, label %345
338: ; preds = %333
%339 = load i32, i32* @stderr
%340 = load i8**, i8*** %5
%341 = getelementptr inbounds i8*, i8** %340, i64 0
%342 = load i8*, i8** %341
%343 = load i64, i64* %20
%344 = call i32 (i32, i8*, ...) @fprintf(i32 %339, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %342, i64 %343)
br label %542
345: ; preds = %333, %303
%346 = load i64, i64* %20
%347 = load i64, i64* %9
%348 = icmp ult i64 %346, %347
br i1 %348, label %353, label %349
349: ; preds = %345
%350 = load i64, i64* %20
%351 = load i64, i64* %10
%352 = icmp ugt i64 %350, %351
br i1 %352, label %353, label %362
353: ; preds = %349, %345
%354 = load i32, i32* @stderr
%355 = load i8**, i8*** %5
%356 = getelementptr inbounds i8*, i8** %355, i64 0
%357 = load i8*, i8** %356
%358 = load i64, i64* %20
%359 = load i64, i64* %9
%360 = load i64, i64* %10
%361 = call i32 (i32, i8*, ...) @fprintf(i32 %354, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.21, i64 0, i64 0), i8* %357, i64 %358, i64 %359, i64 %360)
br label %541
362: ; preds = %349
store i64 0, i64* %18
br label %363
363: ; preds = %471, %362
%364 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 0
%365 = load i64, i64* %17
%366 = load i32*, i32** %6
%367 = call i64 @fread(i8* %364, i32 1, i64 %365, i32* %366)
store i64 %367, i64* %19
%368 = icmp ugt i64 %367, 0
br i1 %368, label %369, label %478
369: ; preds = %363
%370 = load i64, i64* %15
%371 = icmp sgt i64 %370, 0
br i1 %371, label %372, label %386
372: ; preds = %369
%373 = load i64, i64* %18
%374 = icmp ne i64 %373, 0
br i1 %374, label %375, label %386
375: ; preds = %372
%376 = load i64, i64* %18
%377 = load i64, i64* %17
%378 = udiv i64 %376, %377
%379 = load i64, i64* %15
%380 = urem i64 %378, %379
%381 = icmp eq i64 %380, 0
br i1 %381, label %382, label %386
382: ; preds = %375
%383 = load i32*, i32** %7
%384 = ptrtoint i32* %383 to i32
%385 = call i32 (i32, i8*, ...) @fprintf(i32 %384, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
br label %386
386: ; preds = %382, %375, %372, %369
%387 = load i32*, i32** %7
%388 = ptrtoint i32* %387 to i32
%389 = call i32 (i32, i8*, ...) @fprintf(i32 %388, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
store i64 0, i64* %22
br label %390
390: ; preds = %402, %386
%391 = load i64, i64* %22
%392 = load i64, i64* %19
%393 = icmp ult i64 %391, %392
br i1 %393, label %394, label %405
394: ; preds = %390
%395 = load i32*, i32** %7
%396 = ptrtoint i32* %395 to i32
%397 = load i64, i64* %22
%398 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 %397
%399 = load i8, i8* %398
%400 = zext i8 %399 to i32
%401 = call i32 (i32, i8*, ...) @fprintf(i32 %396, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 %400)
br label %402
402: ; preds = %394
%403 = load i64, i64* %22
%404 = add i64 %403, 1
store i64 %404, i64* %22
br label %390
405: ; preds = %390
br label %406
406: ; preds = %414, %405
%407 = load i64, i64* %22
%408 = load i64, i64* %17
%409 = icmp ult i64 %407, %408
br i1 %409, label %410, label %417
410: ; preds = %406
%411 = load i32*, i32** %7
%412 = ptrtoint i32* %411 to i32
%413 = call i32 (i32, i8*, ...) @fprintf(i32 %412, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i64 0, i64 0))
br label %414
414: ; preds = %410
%415 = load i64, i64* %22
%416 = add i64 %415, 1
store i64 %416, i64* %22
br label %406
417: ; preds = %406
%418 = load i32, i32* %12
%419 = icmp ne i32 %418, 0
br i1 %419, label %420, label %471
420: ; preds = %417
%421 = load i32*, i32** %7
%422 = ptrtoint i32* %421 to i32
%423 = load i64, i64* %18
%424 = call i32 (i32, i8*, ...) @fprintf(i32 %422, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i64 %423)
store i64 0, i64* %22
br label %425
425: ; preds = %452, %420
%426 = load i64, i64* %22
%427 = load i64, i64* %19
%428 = icmp ult i64 %426, %427
br i1 %428, label %429, label %455
429: ; preds = %425
%430 = load i32*, i32** %7
%431 = ptrtoint i32* %430 to i32
%432 = load i64, i64* %22
%433 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 %432
%434 = load i8, i8* %433
%435 = call i64 @isprint(i8 zeroext %434)
%436 = icmp ne i64 %435, 0
br i1 %436, label %437, label %448
437: ; preds = %429
%438 = load i64, i64* %22
%439 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 %438
%440 = load i8, i8* %439
%441 = zext i8 %440 to i32
%442 = icmp ne i32 %441, 47
br i1 %442, label %443, label %448
443: ; preds = %437
%444 = load i64, i64* %22
%445 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 %444
%446 = load i8, i8* %445
%447 = zext i8 %446 to i32
br label %449
448: ; preds = %437, %429
br label %449
449: ; preds = %448, %443
%450 = phi i32 [ %447, %443 ], [ 46, %448 ]
%451 = call i32 (i32, i8*, ...) @fprintf(i32 %431, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0), i32 %450)
br label %452
452: ; preds = %449
%453 = load i64, i64* %22
%454 = add i64 %453, 1
store i64 %454, i64* %22
br label %425
455: ; preds = %425
br label %456
456: ; preds = %464, %455
%457 = load i64, i64* %22
%458 = load i64, i64* %17
%459 = icmp ult i64 %457, %458
br i1 %459, label %460, label %467
460: ; preds = %456
%461 = load i32*, i32** %7
%462 = ptrtoint i32* %461 to i32
%463 = call i32 (i32, i8*, ...) @fprintf(i32 %462, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.28, i64 0, i64 0))
br label %464
464: ; preds = %460
%465 = load i64, i64* %22
%466 = add i64 %465, 1
store i64 %466, i64* %22
br label %456
467: ; preds = %456
%468 = load i32*, i32** %7
%469 = ptrtoint i32* %468 to i32
%470 = call i32 (i32, i8*, ...) @fprintf(i32 %469, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %471
471: ; preds = %467, %417
%472 = load i32*, i32** %7
%473 = ptrtoint i32* %472 to i32
%474 = call i32 (i32, i8*, ...) @fprintf(i32 %473, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%475 = load i64, i64* %19
%476 = load i64, i64* %18
%477 = add i64 %476, %475
store i64 %477, i64* %18
br label %363
478: ; preds = %363
%479 = load i32*, i32** %6
%480 = call i64 @ferror(i32* %479)
%481 = icmp ne i64 %480, 0
br i1 %481, label %482, label %492
482: ; preds = %478
%483 = load i32*, i32** %6
%484 = call i32 @feof(i32* %483)
%485 = icmp ne i32 %484, 0
br i1 %485, label %492, label %486
486: ; preds = %482
%487 = load i32, i32* @stderr
%488 = load i8**, i8*** %5
%489 = getelementptr inbounds i8*, i8** %488, i64 0
%490 = load i8*, i8** %489
%491 = call i32 (i32, i8*, ...) @fprintf(i32 %487, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), i8* %490)
br label %540
492: ; preds = %482, %478
%493 = load i64, i64* %18
%494 = load i64, i64* %20
%495 = icmp ne i64 %493, %494
br i1 %495, label %496, label %504
496: ; preds = %492
%497 = load i32, i32* @stderr
%498 = load i8**, i8*** %5
%499 = getelementptr inbounds i8*, i8** %498, i64 0
%500 = load i8*, i8** %499
%501 = load i64, i64* %18
%502 = load i64, i64* %20
%503 = call i32 (i32, i8*, ...) @fprintf(i32 %497, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.31, i64 0, i64 0), i8* %500, i64 %501, i64 %502)
br label %539
504: ; preds = %492
%505 = load i32*, i32** %7
%506 = ptrtoint i32* %505 to i32
%507 = load i32, i32* %14
%508 = icmp ne i32 %507, 0
%509 = zext i1 %508 to i64
%510 = select i1 %508, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0)
%511 = load i32, i32* %14
%512 = icmp ne i32 %511, 0
%513 = zext i1 %512 to i64
%514 = select i1 %512, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0)
%515 = load i8**, i8*** %5
%516 = load i32, i32* %8
%517 = sext i32 %516 to i64
%518 = getelementptr inbounds i8*, i8** %515, i64 %517
%519 = load i8*, i8** %518
%520 = load i8**, i8*** %5
%521 = load i32, i32* %8
%522 = sext i32 %521 to i64
%523 = getelementptr inbounds i8*, i8** %520, i64 %522
%524 = load i8*, i8** %523
%525 = call i32 (i32, i8*, ...) @fprintf(i32 %506, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.32, i64 0, i64 0), i8* %510, i8* %514, i8* %519, i8* %524)
%526 = load i32*, i32** %7
%527 = call i32 @fflush(i32* %526)
%528 = load i32*, i32** %7
%529 = call i64 @ferror(i32* %528)
%530 = icmp ne i64 %529, 0
br i1 %530, label %531, label %537
531: ; preds = %504
%532 = load i32, i32* @stderr
%533 = load i8**, i8*** %5
%534 = getelementptr inbounds i8*, i8** %533, i64 0
%535 = load i8*, i8** %534
%536 = call i32 (i32, i8*, ...) @fprintf(i32 %532, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.33, i64 0, i64 0), i8* %535)
br label %538
537: ; preds = %504
store i32 0, i32* %21
br label %538
538: ; preds = %537, %531
br label %539
539: ; preds = %538, %496
br label %540
540: ; preds = %539, %486
br label %541
541: ; preds = %540, %353
br label %542
542: ; preds = %541, %338
%543 = load i32*, i32** %7
%544 = call i32 @fclose(i32* %543)
%545 = load i32*, i32** %6
%546 = call i32 @fclose(i32* %545)
%547 = load i32, i32* %21
%548 = icmp ne i32 %547, 0
br i1 %548, label %549, label %557
549: ; preds = %542
%550 = load i8**, i8*** %5
%551 = load i32, i32* %8
%552 = add nsw i32 %551, 2
%553 = sext i32 %552 to i64
%554 = getelementptr inbounds i8*, i8** %550, i64 %553
%555 = load i8*, i8** %554
%556 = call i32 @remove(i8* %555)
br label %557
557: ; preds = %549, %542
%558 = load i32, i32* %21
store i32 %558, i32* %3
br label %559
559: ; preds = %557, %292, %269, %233, %215, %198, %173, %155, %102, %75, %48, %25
%560 = load i32, i32* %3
ret i32 %560
}

LLVM IR (-O2):
@.str = [5 x i8] c"-min\00"
@.str.1 = [5 x i8] c"-max\00"
@.str.2 = [6 x i8] c"-mask\00"
@.str.3 = [7 x i8] c"-ascii\00"
@.str.4 = [9 x i8] c"--append\00"
@.str.5 = [8 x i8] c"-export\00"
@.str.6 = [7 x i8] c"-width\00"
@stderr = global i32 0
@.str.7 = [30 x i8] c"%s: '%s' is too wide, max %u\0A\00"
@.str.8 = [7 x i8] c"-break\00"
@.str.9 = [42 x i8] c"%s: -break value '%s' is not >= 1 or -1.\0A\00"
@.str.10 = [41 x i8] c"%s: syntax error: Unknown argument '%s'\0A\00"
@.str.11 = [3 x i8] c"rb\00"
@.str.12 = [40 x i8] c"Error: failed to open input file '%s'!\0A\00"
@.str.13 = [2 x i8] c"a\00"
@.str.14 = [2 x i8] c"w\00"
@.str.15 = [41 x i8] c"Error: failed to open output file '%s'!\0A\00"
@.str.16 = [133 x i8] c"/*\0A * This file was automatically generated\0A * from %s\0A * by %s.\0A */\0A\0A#include <iprt/cdefs.h>\0A\0A%sconst unsigned char%s g_ab%s[] =\0A{\0A\00"
@.str.17 = [12 x i8] c"DECLEXPORT(\00"
@.str.18 = [1 x i8] zeroinitializer
@.str.19 = [2 x i8] c")\00"
@.str.20 = [29 x i8] c"%s: size=%ld - Not aligned!\0A\00"
@.str.21 = [38 x i8] c"%s: size=%ld - Not %ld-%ldb in size!\0A\00"
@.str.22 = [2 x i8] c"\0A\00"
@.str.23 = [4 x i8] c" \00"
@.str.24 = [9 x i8] c" 0x%02x,\00"
@.str.25 = [7 x i8] c" \00"
@.str.26 = [14 x i8] c" /* 0x%08lx: \00"
@.str.27 = [3 x i8] c"%c\00"
@.str.28 = [2 x i8] c" \00"
@.str.29 = [4 x i8] c" */\00"
@.str.30 = [16 x i8] c"%s: read error\0A\00"
@.str.31 = [34 x i8] c"%s: read error off=%ld cbBin=%ld\0A\00"
@.str.32 = [67 x i8] c"};\0A\0A%sconst unsigned%s g_cb%s = sizeof(g_ab%s);\0A/* end of file */\0A\00"
@.str.33 = [17 x i8] c"%s: write error\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [32 x i8]
%4 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%5 = icmp slt i32 %0, 2
br i1 %5, label %6, label %9
6: ; preds = %2
%7 = load i8*, i8** %1
%8 = tail call i32 @usage(i8* %7)
br label %305
9: ; preds = %2, %132
%10 = phi i32 [ %142, %132 ], [ 1, %2 ]
%11 = phi i64 [ %140, %132 ], [ 16, %2 ]
%12 = phi i64 [ %139, %132 ], [ -1, %2 ]
%13 = phi i32 [ %138, %132 ], [ 0, %2 ]
%14 = phi i32 [ %137, %132 ], [ 0, %2 ]
%15 = phi i32 [ %136, %132 ], [ 0, %2 ]
%16 = phi i64 [ %135, %132 ], [ 0, %2 ]
%17 = phi i64 [ %134, %132 ], [ 4294967295, %2 ]
%18 = phi i64 [ %133, %132 ], [ 0, %2 ]
%19 = sext i32 %10 to i64
%20 = getelementptr inbounds i8*, i8** %1, i64 %19
%21 = load i8*, i8** %20
%22 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %37
24: ; preds = %9
%25 = add nsw i32 %10, 1
%26 = icmp slt i32 %25, %0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = load i8*, i8** %1
%29 = tail call i32 @usage(i8* %28)
br label %305
30: ; preds = %24
%31 = sext i32 %25 to i64
%32 = getelementptr inbounds i8*, i8** %1, i64 %31
%33 = load i8*, i8** %32
%34 = tail call i32 @strtoul(i8* nocapture %33, i32* null, i32 0)
%35 = shl nsw i32 %34, 10
%36 = sext i32 %35 to i64
br label %132
37: ; preds = %9
%38 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = add nsw i32 %10, 1
%42 = icmp slt i32 %41, %0
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i8*, i8** %1
%45 = tail call i32 @usage(i8* %44)
br label %305
46: ; preds = %40
%47 = sext i32 %41 to i64
%48 = getelementptr inbounds i8*, i8** %1, i64 %47
%49 = load i8*, i8** %48
%50 = tail call i32 @strtoul(i8* nocapture %49, i32* null, i32 0)
%51 = shl nsw i32 %50, 10
%52 = sext i32 %51 to i64
br label %132
53: ; preds = %37
%54 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %68
56: ; preds = %53
%57 = add nsw i32 %10, 1
%58 = icmp slt i32 %57, %0
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = load i8*, i8** %1
%61 = tail call i32 @usage(i8* %60)
br label %305
62: ; preds = %56
%63 = sext i32 %57 to i64
%64 = getelementptr inbounds i8*, i8** %1, i64 %63
%65 = load i8*, i8** %64
%66 = tail call i32 @strtoul(i8* nocapture %65, i32* null, i32 0)
%67 = sext i32 %66 to i64
br label %132
68: ; preds = %53
%69 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%70 = icmp eq i32 %69, 0
br i1 %70, label %132, label %71
71: ; preds = %68
%72 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(9) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%73 = icmp eq i32 %72, 0
br i1 %73, label %132, label %74
74: ; preds = %71
%75 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(8) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%76 = icmp eq i32 %75, 0
br i1 %76, label %132, label %77
77: ; preds = %74
%78 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %100
80: ; preds = %77
%81 = add nsw i32 %10, 1
%82 = icmp slt i32 %81, %0
br i1 %82, label %86, label %83
83: ; preds = %80
%84 = load i8*, i8** %1
%85 = tail call i32 @usage(i8* %84)
br label %305
86: ; preds = %80
%87 = sext i32 %81 to i64
%88 = getelementptr inbounds i8*, i8** %1, i64 %87
%89 = load i8*, i8** %88
%90 = tail call i32 @strtoul(i8* nocapture %89, i32* null, i32 0)
%91 = sext i32 %90 to i64
%92 = add i32 %90, -33
%93 = icmp ult i32 %92, -32
br i1 %93, label %94, label %132
94: ; preds = %86
%95 = getelementptr inbounds i8*, i8** %1, i64 %87
%96 = load i32, i32* @stderr
%97 = load i8*, i8** %1
%98 = load i8*, i8** %95
%99 = tail call i32 (i32, i8*, ...) @fprintf(i32 %96, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), i8* %97, i8* %98, i32 32)
br label %305
100: ; preds = %77
%101 = tail call i32 @strcmp(i8* dereferenceable(1) %21, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%102 = icmp eq i32 %101, 0
br i1 %102, label %103, label %123
103: ; preds = %100
%104 = add nsw i32 %10, 1
%105 = icmp slt i32 %104, %0
br i1 %105, label %109, label %106
106: ; preds = %103
%107 = load i8*, i8** %1
%108 = tail call i32 @usage(i8* %107)
br label %305
109: ; preds = %103
%110 = sext i32 %104 to i64
%111 = getelementptr inbounds i8*, i8** %1, i64 %110
%112 = load i8*, i8** %111
%113 = tail call i64 @strtol(i8* nocapture %112, i32* null, i32 0)
%114 = icmp slt i64 %113, 1
%115 = icmp ne i64 %113, -1
%116 = and i1 %114, %115
br i1 %116, label %117, label %132
117: ; preds = %109
%118 = getelementptr inbounds i8*, i8** %1, i64 %110
%119 = load i32, i32* @stderr
%120 = load i8*, i8** %1
%121 = load i8*, i8** %118
%122 = tail call i32 (i32, i8*, ...) @fprintf(i32 %119, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), i8* %120, i8* %121)
br label %305
123: ; preds = %100
%124 = add nsw i32 %0, -3
%125 = icmp eq i32 %10, %124
br i1 %125, label %144, label %126
126: ; preds = %123
%127 = load i32, i32* @stderr
%128 = load i8*, i8** %1
%129 = tail call i32 (i32, i8*, ...) @fprintf(i32 %127, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0), i8* %128, i8* %21)
%130 = load i8*, i8** %1
%131 = tail call i32 @usage(i8* %130)
br label %305
132: ; preds = %74, %71, %68, %30, %62, %86, %109, %46
%133 = phi i64 [ %18, %109 ], [ %18, %86 ], [ %18, %62 ], [ %18, %46 ], [ %36, %30 ], [ %18, %68 ], [ %18, %71 ], [ %18, %74 ]
%134 = phi i64 [ %17, %109 ], [ %17, %86 ], [ %17, %62 ], [ %52, %46 ], [ %17, %30 ], [ %17, %68 ], [ %17, %71 ], [ %17, %74 ]
%135 = phi i64 [ %16, %109 ], [ %16, %86 ], [ %67, %62 ], [ %16, %46 ], [ %16, %30 ], [ %16, %68 ], [ %16, %71 ], [ %16, %74 ]
%136 = phi i32 [ %15, %109 ], [ %15, %86 ], [ %15, %62 ], [ %15, %46 ], [ %15, %30 ], [ 1, %68 ], [ %15, %71 ], [ %15, %74 ]
%137 = phi i32 [ %14, %109 ], [ %14, %86 ], [ %14, %62 ], [ %14, %46 ], [ %14, %30 ], [ %14, %68 ], [ 1, %71 ], [ %14, %74 ]
%138 = phi i32 [ %13, %109 ], [ %13, %86 ], [ %13, %62 ], [ %13, %46 ], [ %13, %30 ], [ %13, %68 ], [ %13, %71 ], [ 1, %74 ]
%139 = phi i64 [ %113, %109 ], [ %12, %86 ], [ %12, %62 ], [ %12, %46 ], [ %12, %30 ], [ %12, %68 ], [ %12, %71 ], [ %12, %74 ]
%140 = phi i64 [ %11, %109 ], [ %91, %86 ], [ %11, %62 ], [ %11, %46 ], [ %11, %30 ], [ %11, %68 ], [ %11, %71 ], [ %11, %74 ]
%141 = phi i32 [ %104, %109 ], [ %81, %86 ], [ %57, %62 ], [ %41, %46 ], [ %25, %30 ], [ %10, %68 ], [ %10, %71 ], [ %10, %74 ]
%142 = add nsw i32 %141, 1
%143 = icmp slt i32 %142, %0
br i1 %143, label %9, label %144
144: ; preds = %132, %123
%145 = phi i64 [ %18, %123 ], [ %133, %132 ]
%146 = phi i64 [ %17, %123 ], [ %134, %132 ]
%147 = phi i64 [ %16, %123 ], [ %135, %132 ]
%148 = phi i32 [ %15, %123 ], [ %136, %132 ]
%149 = phi i32 [ %14, %123 ], [ %137, %132 ]
%150 = phi i32 [ %13, %123 ], [ %138, %132 ]
%151 = phi i64 [ %12, %123 ], [ %139, %132 ]
%152 = phi i64 [ %11, %123 ], [ %140, %132 ]
%153 = phi i32 [ %10, %123 ], [ %142, %132 ]
%154 = add nsw i32 %153, 1
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i8*, i8** %1, i64 %155
%157 = load i8*, i8** %156
%158 = tail call i32* @fopen(i8* %157, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%159 = icmp eq i32* %158, null
br i1 %159, label %160, label %164
160: ; preds = %144
%161 = load i32, i32* @stderr
%162 = load i8*, i8** %156
%163 = tail call i32 (i32, i8*, ...) @fprintf(i32 %161, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0), i8* %162)
br label %305
164: ; preds = %144
%165 = add nsw i32 %153, 2
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i8*, i8** %1, i64 %166
%168 = load i8*, i8** %167
%169 = icmp eq i32 %149, 0
%170 = select i1 %169, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0)
%171 = tail call i32* @fopen(i8* %168, i8* %170)
%172 = icmp eq i32* %171, null
br i1 %172, label %173, label %178
173: ; preds = %164
%174 = load i32, i32* @stderr
%175 = load i8*, i8** %167
%176 = tail call i32 (i32, i8*, ...) @fprintf(i32 %174, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0), i8* %175)
%177 = tail call i32 @fclose(i32* %158)
br label %305
178: ; preds = %164
%179 = tail call i64 @fsize(i32* %158)
%180 = ptrtoint i32* %171 to i64
%181 = trunc i64 %180 to i32
%182 = load i8*, i8** %156
%183 = load i8*, i8** %1
%184 = icmp eq i32 %150, 0
%185 = select i1 %184, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0)
%186 = select i1 %184, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0)
%187 = sext i32 %153 to i64
%188 = getelementptr inbounds i8*, i8** %1, i64 %187
%189 = load i8*, i8** %188
%190 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.16, i64 0, i64 0), i8* %182, i8* %183, i8* %185, i8* %186, i8* %189)
%191 = icmp eq i64 %147, 0
%192 = and i64 %179, %147
%193 = icmp eq i64 %192, 0
%194 = select i1 %191, i1 true, i1 %193
br i1 %194, label %199, label %195
195: ; preds = %178
%196 = load i32, i32* @stderr
%197 = load i8*, i8** %1
%198 = tail call i32 (i32, i8*, ...) @fprintf(i32 %196, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0), i8* %197, i64 %179)
br label %297
199: ; preds = %178
%200 = icmp ult i64 %179, %145
%201 = icmp ugt i64 %179, %146
%202 = select i1 %200, i1 true, i1 %201
br i1 %202, label %209, label %203
203: ; preds = %199
%204 = call i64 @fread(i8* %4, i32 1, i64 %152, i32* %158)
%205 = icmp eq i64 %204, 0
br i1 %205, label %270, label %206
206: ; preds = %203
%207 = icmp sgt i64 %151, 0
%208 = icmp eq i32 %148, 0
br label %213
209: ; preds = %199
%210 = load i32, i32* @stderr
%211 = load i8*, i8** %1
%212 = tail call i32 (i32, i8*, ...) @fprintf(i32 %210, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.21, i64 0, i64 0), i8* %211, i64 %179, i64 %145, i64 %146)
br label %297
213: ; preds = %206, %265
%214 = phi i64 [ %204, %206 ], [ %268, %265 ]
%215 = phi i64 [ 0, %206 ], [ %267, %265 ]
%216 = icmp ne i64 %215, 0
%217 = select i1 %207, i1 %216, i1 false
br i1 %217, label %218, label %224
218: ; preds = %213
%219 = udiv i64 %215, %152
%220 = urem i64 %219, %151
%221 = icmp eq i64 %220, 0
br i1 %221, label %222, label %224
222: ; preds = %218
%223 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
br label %224
224: ; preds = %222, %218, %213
%225 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i64 0, i64 0))
br label %228
226: ; preds = %228
%227 = icmp ult i64 %214, %152
br i1 %227, label %236, label %241
228: ; preds = %224, %228
%229 = phi i64 [ 0, %224 ], [ %234, %228 ]
%230 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 %229
%231 = load i8, i8* %230
%232 = zext i8 %231 to i32
%233 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 %232)
%234 = add nuw i64 %229, 1
%235 = icmp eq i64 %234, %214
br i1 %235, label %226, label %228
236: ; preds = %226, %236
%237 = phi i64 [ %239, %236 ], [ %214, %226 ]
%238 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i64 0, i64 0))
%239 = add i64 %237, 1
%240 = icmp eq i64 %239, %152
br i1 %240, label %241, label %236
241: ; preds = %236, %226
br i1 %208, label %265, label %242
242: ; preds = %241
%243 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i64 %215)
br label %245
244: ; preds = %245
br i1 %227, label %258, label %263
245: ; preds = %242, %245
%246 = phi i64 [ 0, %242 ], [ %256, %245 ]
%247 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 %246
%248 = load i8, i8* %247
%249 = tail call i64 @isprint(i8 zeroext %248)
%250 = icmp eq i64 %249, 0
%251 = icmp eq i8 %248, 47
%252 = select i1 %251, i8 46, i8 %248
%253 = zext i8 %252 to i32
%254 = select i1 %250, i32 46, i32 %253
%255 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.27, i64 0, i64 0), i32 %254)
%256 = add nuw i64 %246, 1
%257 = icmp eq i64 %256, %214
br i1 %257, label %244, label %245
258: ; preds = %244, %258
%259 = phi i64 [ %261, %258 ], [ %214, %244 ]
%260 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.28, i64 0, i64 0))
%261 = add i64 %259, 1
%262 = icmp eq i64 %261, %152
br i1 %262, label %263, label %258
263: ; preds = %258, %244
%264 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i64 0, i64 0))
br label %265
265: ; preds = %263, %241
%266 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.22, i64 0, i64 0))
%267 = add i64 %214, %215
%268 = call i64 @fread(i8* %4, i32 1, i64 %152, i32* %158)
%269 = icmp eq i64 %268, 0
br i1 %269, label %270, label %213
270: ; preds = %265, %203
%271 = phi i64 [ 0, %203 ], [ %267, %265 ]
%272 = tail call i64 @ferror(i32* %158)
%273 = icmp eq i64 %272, 0
br i1 %273, label %281, label %274
274: ; preds = %270
%275 = tail call i32 @feof(i32* %158)
%276 = icmp eq i32 %275, 0
br i1 %276, label %277, label %281
277: ; preds = %274
%278 = load i32, i32* @stderr
%279 = load i8*, i8** %1
%280 = tail call i32 (i32, i8*, ...) @fprintf(i32 %278, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0), i8* %279)
br label %297
281: ; preds = %274, %270
%282 = icmp eq i64 %271, %179
br i1 %282, label %287, label %283
283: ; preds = %281
%284 = load i32, i32* @stderr
%285 = load i8*, i8** %1
%286 = tail call i32 (i32, i8*, ...) @fprintf(i32 %284, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.31, i64 0, i64 0), i8* %285, i64 %271, i64 %179)
br label %297
287: ; preds = %281
%288 = load i8*, i8** %188
%289 = tail call i32 (i32, i8*, ...) @fprintf(i32 %181, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.32, i64 0, i64 0), i8* %185, i8* %186, i8* %288, i8* %288)
%290 = tail call i32 @fflush(i32* %171)
%291 = tail call i64 @ferror(i32* %171)
%292 = icmp eq i64 %291, 0
br i1 %292, label %297, label %293
293: ; preds = %287
%294 = load i32, i32* @stderr
%295 = load i8*, i8** %1
%296 = tail call i32 (i32, i8*, ...) @fprintf(i32 %294, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.33, i64 0, i64 0), i8* %295)
br label %297
297: ; preds = %287, %209, %283, %293, %277, %195
%298 = phi i1 [ false, %209 ], [ false, %283 ], [ false, %293 ], [ false, %277 ], [ false, %195 ], [ true, %287 ]
%299 = phi i32 [ 1, %209 ], [ 1, %283 ], [ 1, %293 ], [ 1, %277 ], [ 1, %195 ], [ 0, %287 ]
%300 = tail call i32 @fclose(i32* %171)
%301 = tail call i32 @fclose(i32* %158)
br i1 %298, label %305, label %302
302: ; preds = %297
%303 = load i8*, i8** %167
%304 = tail call i32 @remove(i8* %303)
br label %305
305: ; preds = %297, %302, %173, %160, %126, %117, %106, %94, %83, %59, %43, %27, %6
%306 = phi i32 [ %8, %6 ], [ 1, %173 ], [ 1, %160 ], [ %131, %126 ], [ %108, %106 ], [ 1, %117 ], [ %85, %83 ], [ 1, %94 ], [ %61, %59 ], [ %45, %43 ], [ %29, %27 ], [ %299, %302 ], [ %299, %297 ]
ret i32 %306
}