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

/* Forward declarations */

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

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
unsigned int lzo_adler32(unsigned int, char *, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ rename(char *, char *);
int /*<<< orphan*/ *stderr;
int /*<<< orphan*/ strcat(char *, char *);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int /*<<< orphan*/ strncat(char *, char *, int);
scalar_t__ strncmp(char *, char *, int);
int /*<<< orphan*/ strncpy(char *, char *, int);
char *strrchr(char *, char);
int main(int argc, char *argv[]) {
  FILE *fout = NULL;
  FILE *ftmp = NULL;
  FILE *fin = NULL;
  int filep = 1;
  char name[1024];
  char base[1024];
  char tmpname[1024];
  char line[1024];
  char buffer[2048];
  char incdir[1024];
  int inclen = 0;
  int count = 2047;
  int len = 0;
  unsigned int adler;
  char *p;
  char *q;
  incdir[0] = '\0';
  if (argc < 2) {
    fprintf(stderr, "depend-gen: Missing argument\n");
    return 1;
  }
  if (argv[1][0] == '-' && argv[1][1] == 'h') {
    printf("Usage: depend-gen [-i includedir] -(o|t) outfile infile\n");
    printf("        -o replaces, -t truncates\n");
    return 0;
  }
  if (argv[1][0] == '-' && argv[1][1] == 'i') {
    if (argc < 3) {
      fprintf(stderr, "depend-gen: -i: Missing argument (includedir)\n");
      return 1;
    }
    strncpy(incdir, argv[2], 1023);
    incdir[1023] = '\0';
    inclen = strlen(incdir);
    argc -= 2;
    ++argv;
    ++argv;
  }
  if (argv[1][0] == '-' &&
      (argv[1][1] == 'o' || argv[1][1] == 't' || argv[1][1] == 'c')) {
    if (argc < 3) {
      fprintf(stderr, "depend-gen: -%c: Missing argument\n", argv[1][1]);
      return 1;
    }
    if (argv[1][1] == 'o' || argv[1][1] == 'c')
      fout = fopen(argv[2], "r+");
    else
      fout = fopen(argv[2], "w+");
    if (!fout) {
      perror("depend-gen: fopen");
      fprintf(stderr, "depend-gen [%d]: -%c %s: Could not open file\n", 111,
              argv[1][1], argv[2]);
      return 1;
    }
    filep += 2;
    if (argv[1][1] == 'c') {
      adler = lzo_adler32(0, NULL, 0);
      while (NULL != fgets(line, 1023, fout)) {
        adler = lzo_adler32(adler, line, strlen(line));
      }
      printf("%u\n", adler);
      return 0;
    }
    if (argv[1][1] == 't')
      ftmp = fout;
    else {
      tmpname[0] = '\0';
      if (strlen(argv[filep]) > 1029) {
        fprintf(stderr, "depend-gen: -%c %s: filename too long\n", argv[1][1],
                argv[2]);
        return 1;
      }
      strncat(tmpname, argv[filep], 1029);
      strncat(tmpname, ".tmp", 1023);
      ftmp = fopen(tmpname, "w");
      if (!ftmp) {
        perror("depend-gen: fopen");
        fprintf(stderr, "depend-gen [%d]: -%c %s: Could not open file\n", 147,
                argv[1][1], tmpname);
        return 1;
      }
    }
  } else {
    fprintf(stderr, "depend-gen: no output file given (-(o|t) outfile)\n");
    return 1;
  }
  if (argc < (filep + 1)) {
    fprintf(stderr, "depend-gen: missing argument (infile)\n");
    return 1;
  }
  fin = fopen(argv[filep], "r");
  if (!fin) {
    perror("depend-gen: fopen");
    fprintf(stderr, "depend-gen [%d]: -%c %s: Could not open file\n", 170,
            argv[1][1], argv[filep]);
    return 1;
  }
  do {
    if (NULL == fgets(line, 1023, fout))
      break;
    if (0 == strncmp(line, "# DO NOT DELETE THIS LINE", 25))
      break;
    fprintf(ftmp, "%s", line);
  } while (1 == 1);
  if (argv[1][1] == 'o') {
    fprintf(ftmp, "# DO NOT DELETE THIS LINE\n");
  }
  strncpy(name, argv[filep], 1023);
  p = name;
  while (*p != '\0')
    ++p;
  if (name[0] != '\0')
    --p;
  if (*p == 'c')
    *p = 'o';
  p = strrchr(name, '/');
  if (p)
    ++p;
  len = strlen(p);
  do {
    if (NULL == fgets(line, 1023, fout))
      break;
    if (0 == strncmp(line, p, len))
      break;
    fprintf(ftmp, "%s", line);
  } while (1 == 1);
  buffer[0] = '\0';
  while (NULL != fgets(line, 1023, fin)) {
    p = line;
    while (*p != '\0' && (*p == ' ' || *p == '\t'))
      ++p;
    if (0 == strncmp(p, "#include", 8))
      p += 8;
    else
      continue;
    while (*p != '\0' && (*p == ' ' || *p == '\t'))
      ++p;
    if (*p != '"')
      continue;
    else {
      ++p;
      q = p;
      ++q;
      while (*q != '\0' && *q != '"')
        ++q;
      if (*q != '"')
        continue;
      *q = '\0';
      if (0 == strcmp(p, "sh_gpg_chksum.h") || 0 == strcmp(p, "sh_gpg_fp.h")) {
        continue;
      }
      len = strlen(p);
      if (len > count) {
        fprintf(fout, "# OVERFLOW: incomplete dependencies\n");
        break;
      }
      if (incdir[0] != '\0') {
        if (0 == strcmp(p, "config.h") || 0 == strcmp(p, "config_xor.h") ||
            0 == strcmp(p, "internal.h") || 0 == strcmp(p, "sh_ks.h") ||
            0 == strcmp(p, "sh_ks_xor.h") || 0 == strcmp(p, "sh_MK.h"))
          ;
        else {
          strncat(buffer, incdir, count);
          count -= inclen;
        }
      }
      strncat(buffer, p, count);
      count -= len;
      strncat(buffer, " ", count);
      --count;
    }
  }
  p = strrchr(argv[filep], '/');
  if (p) {
    ++p;
    strncpy(name, p, 1023);
  } else
    strncpy(name, argv[filep], 1023);
  name[1023] = '\0';
  strcpy(base, "$(srcsrc)/");
  strcat(base, name);
  p = name;
  while (*p != '\0')
    ++p;
  if (name[0] != '\0')
    --p;
  if (*p == 'c') {
    *p = 'o';
    fprintf(ftmp, "%s: %s Makefile %s\n", name, base, buffer);
  } else {
    fprintf(ftmp, "%s: Makefile %s\n", argv[filep], buffer);
  }
  do {
    if (NULL == fgets(line, 1023, fout))
      break;
    fprintf(ftmp, "%s", line);
  } while (1 == 1);
  if (ftmp != NULL) {
    fclose(ftmp);
  }
  if (fout != NULL) {
    fclose(fout);
  }
  if (fin != NULL) {
    fclose(fin);
  }
  if (argv[1][1] == 'o') {
    if (0 != rename(tmpname, argv[2])) {
      perror("depend-gen: rename");
      fprintf(stderr, "depend-gen: could not rename %s --> %s\n", tmpname,
              argv[2]);
      return 1;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movl   $0x1,-0x2c(%rbp)
movl   $0x0,-0x1c34(%rbp)
movl   $0x7ff,-0x1c38(%rbp)
movl   $0x0,-0x1c3c(%rbp)
movb   $0x0,-0x1c30(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    128b <main+0x8b>
mov    0x3d72(%rip),%rax
mov    (%rax),%rdi
lea    0x1d88(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    12dc <main+0xdc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x68,%eax
jne    12dc <main+0xdc>
lea    0x1d63(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0x1d8e(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    1386 <main+0x186>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x69,%eax
jne    1386 <main+0x186>
cmpl   $0x3,-0x8(%rbp)
jge    1333 <main+0x133>
mov    0x3cca(%rip),%rax
mov    (%rax),%rdi
lea    0x1d5a(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
lea    -0x1c30(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
movb   $0x0,-0x1831(%rbp)
lea    -0x1c30(%rbp),%rdi
call   1070 <strlen@plt>
mov    %eax,-0x1c34(%rbp)
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    16a5 <main+0x4a5>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x6f,%eax
je     13d9 <main+0x1d9>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x74,%eax
je     13d9 <main+0x1d9>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x63,%eax
jne    16a5 <main+0x4a5>
cmpl   $0x3,-0x8(%rbp)
jge    1413 <main+0x213>
mov    0x3bf6(%rip),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%edx
lea    0x1ca9(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x6f,%eax
je     143d <main+0x23d>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x63,%eax
jne    145a <main+0x25a>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0x1c80(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x18(%rbp)
jmp    1472 <main+0x272>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0x1c66(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    14c6 <main+0x2c6>
lea    0x1c4e(%rip),%rdi
call   1100 <perror@plt>
mov    0x3b50(%rip),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%ecx
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%r8
lea    0x1c36(%rip),%rsi
mov    $0x6f,%edx
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x63,%eax
jne    157f <main+0x37f>
xor    %edx,%edx
xor    %eax,%eax
mov    %eax,%esi
mov    %edx,%edi
call   10e0 <lzo_adler32@plt>
mov    %eax,-0x1c40(%rbp)
lea    -0x1030(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x3ff,%esi
call   10b0 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     155f <main+0x35f>
mov    -0x1c40(%rbp),%eax
mov    %eax,-0x1c5c(%rbp)
lea    -0x1030(%rbp),%rax
mov    %rax,-0x1c58(%rbp)
lea    -0x1030(%rbp),%rdi
call   1070 <strlen@plt>
mov    -0x1c5c(%rbp),%edi
mov    -0x1c58(%rbp),%rsi
mov    %eax,%edx
call   10e0 <lzo_adler32@plt>
mov    %eax,-0x1c40(%rbp)
jmp    14f7 <main+0x2f7>
mov    -0x1c40(%rbp),%esi
lea    0x1ba6(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x74,%eax
jne    15a1 <main+0x3a1>
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
jmp    16a0 <main+0x4a0>
movb   $0x0,-0xc30(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <strlen@plt>
cmp    $0x405,%eax
jle    15fc <main+0x3fc>
mov    0x3a15(%rip),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%edx
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rcx
lea    0x1b2d(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
lea    -0xc30(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x405,%edx
call   10a0 <strncat@plt>
lea    -0xc30(%rbp),%rdi
lea    0x1b16(%rip),%rsi
mov    $0x3ff,%edx
call   10a0 <strncat@plt>
lea    -0xc30(%rbp),%rdi
lea    0x1b03(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    169b <main+0x49b>
lea    0x1a78(%rip),%rdi
call   1100 <perror@plt>
mov    0x397a(%rip),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%ecx
lea    -0xc30(%rbp),%r8
lea    0x1a61(%rip),%rsi
mov    $0x93,%edx
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
jmp    16a0 <main+0x4a0>
jmp    16c9 <main+0x4c9>
mov    0x3934(%rip),%rax
mov    (%rax),%rdi
lea    0x1a8e(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x8(%rbp),%eax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    16fe <main+0x4fe>
mov    0x38ff(%rip),%rax
mov    (%rax),%rdi
lea    0x1a8c(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0x1a8d(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1772 <main+0x572>
lea    0x19a6(%rip),%rdi
call   1100 <perror@plt>
mov    0x38a8(%rip),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%ecx
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rdx
mov    (%rax,%rdx,8),%r8
lea    0x198a(%rip),%rsi
mov    $0xaa,%edx
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
jmp    1777 <main+0x577>
lea    -0x1030(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x3ff,%esi
call   10b0 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    179f <main+0x59f>
jmp    17f2 <main+0x5f2>
lea    -0x1030(%rbp),%rdi
lea    0x19f3(%rip),%rsi
mov    $0x19,%edx
call   1040 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    17ca <main+0x5ca>
jmp    17f2 <main+0x5f2>
mov    -0x20(%rbp),%rdi
lea    -0x1030(%rbp),%rdx
lea    0x19de(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
mov    $0x1,%al
test   $0x1,%al
jne    1777 <main+0x577>
jmp    17f2 <main+0x5f2>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x6f,%eax
jne    1819 <main+0x619>
mov    -0x20(%rbp),%rdi
lea    0x19ab(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
lea    -0x430(%rbp),%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     186e <main+0x66e>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
jmp    1844 <main+0x644>
movsbl -0x430(%rbp),%eax
cmp    $0x0,%eax
je     1890 <main+0x690>
mov    -0x1c48(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x63,%eax
jne    18ad <main+0x6ad>
mov    -0x1c48(%rbp),%rax
movb   $0x6f,(%rax)
lea    -0x430(%rbp),%rdi
mov    $0x2f,%esi
call   1090 <strrchr@plt>
mov    %rax,-0x1c48(%rbp)
cmpq   $0x0,-0x1c48(%rbp)
je     18e5 <main+0x6e5>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rdi
call   1070 <strlen@plt>
mov    %eax,-0x1c3c(%rbp)
lea    -0x1030(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x3ff,%esi
call   10b0 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    191f <main+0x71f>
jmp    1973 <main+0x773>
lea    -0x1030(%rbp),%rdi
mov    -0x1c48(%rbp),%rsi
mov    -0x1c3c(%rbp),%edx
call   1040 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    194b <main+0x74b>
jmp    1973 <main+0x773>
mov    -0x20(%rbp),%rdi
lea    -0x1030(%rbp),%rdx
lea    0x185d(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
mov    $0x1,%al
test   $0x1,%al
jne    18f7 <main+0x6f7>
jmp    1973 <main+0x773>
movb   $0x0,-0x1830(%rbp)
lea    -0x1030(%rbp),%rdi
mov    -0x28(%rbp),%rdx
mov    $0x3ff,%esi
call   10b0 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1da6 <main+0xba6>
lea    -0x1030(%rbp),%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1c5d(%rbp)
je     1a03 <main+0x803>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0x1c5e(%rbp)
je     19f7 <main+0x7f7>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
sete   %al
mov    %al,-0x1c5e(%rbp)
mov    -0x1c5e(%rbp),%al
mov    %al,-0x1c5d(%rbp)
mov    -0x1c5d(%rbp),%al
test   $0x1,%al
jne    1a16 <main+0x816>
jmp    1a2d <main+0x82d>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
jmp    19ab <main+0x7ab>
mov    -0x1c48(%rbp),%rdi
lea    0x179d(%rip),%rsi
mov    $0x8,%edx
call   1040 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1a6a <main+0x86a>
mov    -0x1c48(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x1c48(%rbp)
jmp    1a6f <main+0x86f>
jmp    197a <main+0x77a>
jmp    1a74 <main+0x874>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1c5f(%rbp)
je     1acc <main+0x8cc>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0x1c60(%rbp)
je     1ac0 <main+0x8c0>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x9,%eax
sete   %al
mov    %al,-0x1c60(%rbp)
mov    -0x1c60(%rbp),%al
mov    %al,-0x1c5f(%rbp)
mov    -0x1c5f(%rbp),%al
test   $0x1,%al
jne    1adf <main+0x8df>
jmp    1af6 <main+0x8f6>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
jmp    1a74 <main+0x874>
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x22,%eax
je     1b0e <main+0x90e>
jmp    197a <main+0x77a>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
mov    %rax,-0x1c50(%rbp)
mov    -0x1c50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c50(%rbp)
mov    -0x1c50(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1c61(%rbp)
je     1b71 <main+0x971>
mov    -0x1c50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x22,%eax
setne  %al
mov    %al,-0x1c61(%rbp)
mov    -0x1c61(%rbp),%al
test   $0x1,%al
jne    1b84 <main+0x984>
jmp    1b9b <main+0x99b>
mov    -0x1c50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c50(%rbp)
jmp    1b40 <main+0x940>
mov    -0x1c50(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x22,%eax
je     1bb3 <main+0x9b3>
jmp    197a <main+0x77a>
mov    -0x1c50(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x1c48(%rbp),%rdi
lea    0x1616(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1bff <main+0x9ff>
mov    -0x1c48(%rbp),%rdi
lea    0x1605(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1c04 <main+0xa04>
jmp    197a <main+0x77a>
mov    -0x1c48(%rbp),%rdi
call   1070 <strlen@plt>
mov    %eax,-0x1c3c(%rbp)
mov    -0x1c3c(%rbp),%eax
cmp    -0x1c38(%rbp),%eax
jle    1c3f <main+0xa3f>
mov    -0x18(%rbp),%rdi
lea    0x15ca(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
jmp    1da6 <main+0xba6>
movsbl -0x1c30(%rbp),%eax
cmp    $0x0,%eax
je     1d4c <main+0xb4c>
mov    -0x1c48(%rbp),%rdi
lea    0x15c5(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1d15 <main+0xb15>
mov    -0x1c48(%rbp),%rdi
lea    0x15ad(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1d15 <main+0xb15>
mov    -0x1c48(%rbp),%rdi
lea    0x1599(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1d15 <main+0xb15>
mov    -0x1c48(%rbp),%rdi
lea    0x1583(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1d15 <main+0xb15>
mov    -0x1c48(%rbp),%rdi
lea    0x156a(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1d15 <main+0xb15>
mov    -0x1c48(%rbp),%rdi
lea    0x1555(%rip),%rsi
call   10c0 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1d1a <main+0xb1a>
jmp    1d47 <main+0xb47>
lea    -0x1830(%rbp),%rdi
lea    -0x1c30(%rbp),%rsi
mov    -0x1c38(%rbp),%edx
call   10a0 <strncat@plt>
mov    -0x1c34(%rbp),%ecx
mov    -0x1c38(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x1c38(%rbp)
jmp    1d4c <main+0xb4c>
lea    -0x1830(%rbp),%rdi
mov    -0x1c48(%rbp),%rsi
mov    -0x1c38(%rbp),%edx
call   10a0 <strncat@plt>
mov    -0x1c3c(%rbp),%ecx
mov    -0x1c38(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x1c38(%rbp)
lea    -0x1830(%rbp),%rdi
mov    -0x1c38(%rbp),%edx
lea    0x14d2(%rip),%rsi
call   10a0 <strncat@plt>
mov    -0x1c38(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x1c38(%rbp)
jmp    197a <main+0x77a>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    $0x2f,%esi
call   1090 <strrchr@plt>
mov    %rax,-0x1c48(%rbp)
cmpq   $0x0,-0x1c48(%rbp)
je     1e00 <main+0xc00>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x1c48(%rbp),%rsi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
jmp    1e1d <main+0xc1d>
lea    -0x430(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
movb   $0x0,-0x31(%rbp)
lea    -0x830(%rbp),%rdi
lea    0x1432(%rip),%rsi
call   1050 <strcpy@plt>
lea    -0x830(%rbp),%rdi
lea    -0x430(%rbp),%rsi
call   1120 <strcat@plt>
lea    -0x430(%rbp),%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1e7f <main+0xc7f>
mov    -0x1c48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x1c48(%rbp)
jmp    1e55 <main+0xc55>
movsbl -0x430(%rbp),%eax
cmp    $0x0,%eax
je     1ea1 <main+0xca1>
mov    -0x1c48(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x1c48(%rbp)
mov    -0x1c48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x63,%eax
jne    1eea <main+0xcea>
mov    -0x1c48(%rbp),%rax
movb   $0x6f,(%rax)
mov    -0x20(%rbp),%rdi
lea    -0x430(%rbp),%rdx
lea    -0x830(%rbp),%rcx
lea    -0x1830(%rbp),%r8
lea    0x138e(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
jmp    1f0f <main+0xd0f>
mov    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdx
lea    -0x1830(%rbp),%rcx
lea    0x1378(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
jmp    1f14 <main+0xd14>
lea    -0x1030(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    $0x3ff,%esi
call   10b0 <fgets@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1f3c <main+0xd3c>
jmp    1f64 <main+0xd64>
mov    -0x20(%rbp),%rdi
lea    -0x1030(%rbp),%rdx
lea    0x126c(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
mov    $0x1,%al
test   $0x1,%al
jne    1f14 <main+0xd14>
jmp    1f64 <main+0xd64>
cmpq   $0x0,-0x20(%rbp)
je     1f78 <main+0xd78>
mov    -0x20(%rbp),%rdi
call   1060 <fclose@plt>
cmpq   $0x0,-0x18(%rbp)
je     1f8c <main+0xd8c>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
cmpq   $0x0,-0x28(%rbp)
je     1fa0 <main+0xda0>
mov    -0x28(%rbp),%rdi
call   1060 <fclose@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x6f,%eax
jne    201b <main+0xe1b>
lea    -0xc30(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
call   1110 <rename@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     2016 <main+0xe16>
lea    0x12b3(%rip),%rdi
call   1100 <perror@plt>
mov    0x2ff6(%rip),%rax
mov    (%rax),%rdi
lea    -0xc30(%rbp),%rdx
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rcx
lea    0x12a1(%rip),%rsi
mov    $0x0,%al
call   10d0 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    2022 <main+0xe22>
jmp    201b <main+0xe1b>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1c70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c38,%rsp
movb   $0x0,0x830(%rsp)
cmp    $0x1,%edi
jg     1269 <main+0x39>
mov    0x2d8b(%rip),%rax
mov    (%rax),%rcx
lea    0xda1(%rip),%rdi
mov    $0x1d,%esi
jmp    136b <main+0x13b>
mov    %rsi,%rbx
mov    0x8(%rsi),%rax
cmpb   $0x2d,(%rax)
jne    1355 <main+0x125>
mov    %edi,%ebp
mov    0x1(%rax),%cl
cmp    $0x69,%cl
je     12a7 <main+0x77>
cmp    $0x68,%cl
jne    12c7 <main+0x97>
lea    0xfde(%rip),%rdi
call   1060 <puts@plt>
lea    0x100a(%rip),%rdi
call   1060 <puts@plt>
xor    %ebp,%ebp
jmp    137a <main+0x14a>
cmp    $0x2,%ebp
ja     130a <main+0xda>
mov    0x2d2d(%rip),%rax
mov    (%rax),%rcx
lea    0xd61(%rip),%rdi
mov    $0x2e,%esi
jmp    136b <main+0x13b>
lea    0x8(%rbx),%r13
xor    %r12d,%r12d
movzbl 0x1(%rax),%edx
lea    -0x63(%rdx),%eax
cmp    $0x11,%al
ja     1355 <main+0x125>
movzbl %al,%eax
mov    $0x21001,%ecx
bt     %rax,%rcx
jae    1355 <main+0x125>
cmp    $0x2,%ebp
ja     138e <main+0x15e>
mov    0x2ce9(%rip),%rax
mov    (%rax),%rdi
lea    0xd4c(%rip),%rsi
xor    %eax,%eax
call   10f0 <fprintf@plt>
jmp    1375 <main+0x145>
mov    0x10(%rbx),%rsi
lea    0x830(%rsp),%r14
mov    %r14,%rdi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
movb   $0x0,0xc2f(%rsp)
mov    %r14,%rdi
call   1080 <strlen@plt>
mov    %eax,%r12d
mov    0x18(%rbx),%rax
cmpb   $0x2d,(%rax)
jne    1355 <main+0x125>
lea    0x10(%rbx),%rcx
add    $0xfffffffe,%ebp
add    $0x18,%rbx
mov    %rbx,%r13
mov    %rcx,%rbx
jmp    12ce <main+0x9e>
mov    0x2c84(%rip),%rax
mov    (%rax),%rcx
lea    0xd82(%rip),%rdi
mov    $0x32,%esi
mov    $0x1,%edx
call   1150 <fwrite@plt>
mov    $0x1,%ebp
mov    %ebp,%eax
add    $0x1c38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
cmp    $0x63,%dl
lea    0xcd8(%rip),%rax
lea    0xcd4(%rip),%rsi
cmove  %rax,%rsi
cmp    $0x6f,%dl
cmove  %rax,%rsi
mov    0x10(%rbx),%rdi
call   1110 <fopen@plt>
test   %rax,%rax
je     1892 <main+0x662>
mov    %rax,%r14
mov    0x0(%r13),%rax
mov    0x1(%rax),%al
mov    %r14,%r15
cmp    $0x74,%al
je     14c9 <main+0x299>
cmp    $0x63,%al
jne    1440 <main+0x210>
xor    %ebp,%ebp
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1100 <lzo_adler32@plt>
mov    %eax,%ebx
lea    0x30(%rsp),%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
je     142b <main+0x1fb>
lea    0x30(%rsp),%r15
mov    %r15,%rdi
call   1080 <strlen@plt>
mov    %ebx,%edi
mov    %r15,%rsi
mov    %eax,%edx
call   1100 <lzo_adler32@plt>
mov    %eax,%ebx
mov    %r15,%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
jne    1400 <main+0x1d0>
lea    0xc84(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1090 <printf@plt>
jmp    137a <main+0x14a>
movb   $0x0,0xc30(%rsp)
mov    0x18(%rbx),%rdi
call   1080 <strlen@plt>
cmp    $0x406,%eax
jl     1481 <main+0x251>
mov    0x2b81(%rip),%rax
mov    (%rax),%rdi
mov    0x0(%r13),%rax
movsbl 0x1(%rax),%edx
mov    0x10(%rbx),%rcx
lea    0xc45(%rip),%rsi
xor    %eax,%eax
call   10f0 <fprintf@plt>
jmp    1375 <main+0x145>
mov    0x18(%rbx),%rsi
lea    0xc30(%rsp),%r15
mov    %r15,%rdi
mov    $0x405,%edx
call   10c0 <strncat@plt>
lea    0xc40(%rip),%rsi
mov    %r15,%rdi
mov    $0x3ff,%edx
call   10c0 <strncat@plt>
lea    0xc31(%rip),%rsi
mov    %r15,%rdi
call   1110 <fopen@plt>
mov    %rax,%r15
test   %rax,%rax
je     18fc <main+0x6cc>
cmp    $0x3,%ebp
ja     14e9 <main+0x2b9>
mov    0x2b0b(%rip),%rax
mov    (%rax),%rcx
lea    0xc3c(%rip),%rdi
mov    $0x26,%esi
jmp    136b <main+0x13b>
mov    0x18(%rbx),%rdi
lea    0xc4e(%rip),%rsi
call   1110 <fopen@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
je     18cc <main+0x69c>
mov    %r12d,0x14(%rsp)
lea    0x30(%rsp),%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
je     1564 <main+0x334>
lea    0xc1a(%rip),%r12
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    %r12,%rsi
mov    $0x19,%edx
call   1040 <strncmp@plt>
test   %rax,%rax
je     1564 <main+0x334>
mov    %rbp,%rdi
mov    %r15,%rsi
call   10b0 <fputs@plt>
mov    %rbp,%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
jne    152f <main+0x2ff>
mov    0x0(%r13),%rax
cmpb   $0x6f,0x1(%rax)
jne    1587 <main+0x357>
lea    0xbe9(%rip),%rdi
mov    $0x1a,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1150 <fwrite@plt>
lea    0x430(%rsp),%rbp
mov    0x18(%rbx),%rsi
mov    %rbp,%rdi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
cmpb   $0x0,0x0(%rbp)
lea    0x1(%rbp),%rbp
jne    15a0 <main+0x370>
mov    %r15,0x28(%rsp)
mov    %r13,0x20(%rsp)
xor    %eax,%eax
cmpb   $0x0,0x430(%rsp)
setne  %al
mov    %rax,%rcx
not    %rcx
cmpb   $0x63,(%rcx,%rbp,1)
jne    15d5 <main+0x3a5>
neg    %rax
movb   $0x6f,-0x1(%rbp,%rax,1)
lea    0x430(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x2f,%esi
call   10a0 <strrchr@plt>
lea    0x1(%rax),%r12
test   %rax,%rax
cmove  %rax,%r12
mov    %r12,%rdi
call   1080 <strlen@plt>
mov    %eax,%r13d
lea    0x30(%rsp),%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
je     1651 <main+0x421>
lea    0x30(%rsp),%r15
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13d,%edx
call   1040 <strncmp@plt>
test   %rax,%rax
je     1651 <main+0x421>
mov    %r15,%rdi
mov    0x28(%rsp),%rsi
call   10b0 <fputs@plt>
mov    %r15,%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
jne    161c <main+0x3ec>
movb   $0x0,0x1030(%rsp)
lea    0x30(%rsp),%r12
mov    %r12,%rdi
mov    $0x3ff,%esi
mov    0x8(%rsp),%r15
mov    %r15,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
je     1949 <main+0x719>
movl   $0x7ff,0x4(%rsp)
mov    %r12,%r13
jmp    1694 <main+0x464>
nopl   0x0(%rax)
add    $0x1,%r13
mov    0x0(%r13),%al
cmp    $0x20,%al
je     1690 <main+0x460>
cmp    $0x9,%al
je     1690 <main+0x460>
mov    %r13,%rdi
lea    0xacf(%rip),%rsi
mov    $0x8,%edx
call   1040 <strncmp@plt>
test   %rax,%rax
jne    1720 <main+0x4f0>
add    $0xa,%r13
jmp    16c4 <main+0x494>
nop
add    $0x1,%r13
movzbl -0x2(%r13),%eax
cmp    $0x9,%al
je     16c0 <main+0x490>
cmp    $0x20,%al
je     16c0 <main+0x490>
cmp    $0x22,%al
jne    1720 <main+0x4f0>
lea    -0x1(%r13),%rdi
nopl   0x0(%rax)
movzbl 0x0(%r13),%eax
test   %al,%al
je     1720 <main+0x4f0>
cmp    $0x22,%al
je     16f3 <main+0x4c3>
add    $0x1,%r13
jmp    16e0 <main+0x4b0>
movb   $0x0,0x0(%r13)
mov    %rdi,%r13
lea    0xa80(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1720 <main+0x4f0>
mov    %r13,%rdi
lea    0xa7c(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
jne    1741 <main+0x511>
mov    %r12,%rdi
mov    $0x3ff,%esi
mov    %r15,%rdx
call   10d0 <fgets@plt>
mov    %r12,%r13
test   %rax,%rax
jne    1694 <main+0x464>
jmp    1949 <main+0x719>
mov    %r13,%rdi
call   1080 <strlen@plt>
mov    0x4(%rsp),%ecx
cmp    %ecx,%eax
jg     1930 <main+0x700>
mov    %eax,0x10(%rsp)
cmpb   $0x0,0x830(%rsp)
je     1831 <main+0x601>
mov    %ecx,0x4(%rsp)
mov    %r13,%rdi
mov    %r13,0x18(%rsp)
lea    0xa49(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     181d <main+0x5ed>
mov    0x18(%rsp),%rdi
lea    0xa38(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1889 <main+0x659>
mov    %r13,%rdi
lea    0xa2d(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1828 <main+0x5f8>
mov    %r13,%rdi
lea    0xa24(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1828 <main+0x5f8>
mov    %r13,%rdi
lea    0xa18(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1828 <main+0x5f8>
mov    %r13,%rdi
lea    0xa10(%rip),%rsi
call   10e0 <strcmp@plt>
test   %rax,%rax
je     1828 <main+0x5f8>
lea    0x1030(%rsp),%rdi
lea    0x830(%rsp),%rsi
mov    0x4(%rsp),%r15d
mov    %r15d,%edx
call   10c0 <strncat@plt>
mov    %r15d,%ecx
sub    0x14(%rsp),%ecx
mov    0x8(%rsp),%r15
jmp    1831 <main+0x601>
mov    0x18(%rsp),%rsi
mov    0x4(%rsp),%ecx
jmp    1834 <main+0x604>
mov    0x8(%rsp),%r15
mov    0x4(%rsp),%ecx
mov    %r13,%rsi
lea    0x1030(%rsp),%rdi
mov    %ecx,%r13d
mov    %ecx,%edx
call   10c0 <strncat@plt>
sub    0x10(%rsp),%r13d
lea    0x1030(%rsp),%rdi
lea    0x9a6(%rip),%rsi
mov    %r13d,%edx
call   10c0 <strncat@plt>
add    $0xffffffff,%r13d
mov    %r13d,0x4(%rsp)
mov    %r12,%rdi
mov    $0x3ff,%esi
mov    %r15,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
jne    1684 <main+0x454>
jmp    1949 <main+0x719>
mov    %r13,%rsi
mov    0x4(%rsp),%ecx
jmp    1834 <main+0x604>
lea    0x7dd(%rip),%rdi
call   1120 <perror@plt>
mov    0x273b(%rip),%rax
mov    (%rax),%rdi
mov    0x0(%r13),%rax
movsbl 0x1(%rax),%ecx
mov    0x10(%rbx),%r8
lea    0x7cd(%rip),%rsi
mov    $0x6f,%edx
xor    %eax,%eax
call   10f0 <fprintf@plt>
jmp    1375 <main+0x145>
lea    0x7a3(%rip),%rdi
call   1120 <perror@plt>
mov    0x2701(%rip),%rax
mov    (%rax),%rdi
mov    0x0(%r13),%rax
movsbl 0x1(%rax),%ecx
mov    0x18(%rbx),%r8
lea    0x793(%rip),%rsi
mov    $0xaa,%edx
jmp    18c0 <main+0x690>
lea    0x773(%rip),%rdi
call   1120 <perror@plt>
mov    0x26d1(%rip),%rax
mov    (%rax),%rdi
mov    0x0(%r13),%rax
movsbl 0x1(%rax),%ecx
lea    0x767(%rip),%rsi
lea    0xc30(%rsp),%r8
mov    $0x93,%edx
jmp    18c0 <main+0x690>
lea    0x867(%rip),%rdi
mov    $0x24,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   1150 <fwrite@plt>
mov    0x18(%rbx),%r15
mov    %r15,%rdi
mov    $0x2f,%esi
call   10a0 <strrchr@plt>
test   %rax,%rax
je     1970 <main+0x740>
add    $0x1,%rax
lea    0x430(%rsp),%rdi
mov    %rax,%rsi
jmp    197b <main+0x74b>
lea    0x430(%rsp),%rdi
mov    %r15,%rsi
mov    $0x3ff,%edx
call   1030 <strncpy@plt>
mov    0x20(%rsp),%r12
movb   $0x0,0x82f(%rsp)
lea    0x869(%rip),%rsi
lea    0x1830(%rsp),%r15
mov    %r15,%rdi
call   1050 <strcpy@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   1140 <strcat@plt>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmpb   $0x0,0x0(%rbp)
lea    0x1(%rbp),%rbp
jne    19c0 <main+0x790>
xor    %eax,%eax
cmpb   $0x0,0x430(%rsp)
setne  %al
mov    %rax,%rcx
not    %rcx
cmpb   $0x63,(%rcx,%rbp,1)
mov    0x28(%rsp),%r15
jne    1a1b <main+0x7eb>
neg    %rax
movb   $0x6f,-0x1(%rbp,%rax,1)
lea    0x816(%rip),%rsi
lea    0x430(%rsp),%rdx
lea    0x1830(%rsp),%rcx
lea    0x1030(%rsp),%r8
mov    %r15,%rdi
xor    %eax,%eax
call   10f0 <fprintf@plt>
jmp    1a38 <main+0x808>
mov    0x18(%rbx),%rdx
lea    0x7fb(%rip),%rsi
lea    0x1030(%rsp),%rcx
mov    %r15,%rdi
xor    %eax,%eax
call   10f0 <fprintf@plt>
lea    0x30(%rsp),%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
je     1a74 <main+0x844>
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15,%rsi
call   10b0 <fputs@plt>
mov    %rbp,%rdi
mov    $0x3ff,%esi
mov    %r14,%rdx
call   10d0 <fgets@plt>
test   %rax,%rax
jne    1a54 <main+0x824>
test   %r15,%r15
je     1a81 <main+0x851>
mov    %r15,%rdi
call   1070 <fclose@plt>
mov    %r14,%rdi
call   1070 <fclose@plt>
mov    0x8(%rsp),%rdi
call   1070 <fclose@plt>
mov    (%r12),%rax
xor    %ebp,%ebp
cmpb   $0x6f,0x1(%rax)
jne    137a <main+0x14a>
mov    0x10(%rbx),%rsi
lea    0xc30(%rsp),%rdi
call   1130 <rename@plt>
test   %rax,%rax
je     137a <main+0x14a>
lea    0x76e(%rip),%rdi
call   1120 <perror@plt>
mov    0x2510(%rip),%rax
mov    (%rax),%rdi
mov    0x10(%rbx),%rcx
lea    0x767(%rip),%rsi
lea    0xc30(%rsp),%rdx
xor    %eax,%eax
call   10f0 <fprintf@plt>
jmp    1375 <main+0x145>

LLVM IR (-O0):
@stderr = global i32* null
@.str = [30 x i8] c"depend-gen: Missing argument\0A\00"
@.str.1 = [57 x i8] c"Usage: depend-gen [-i includedir] -(o|t) outfile infile\0A\00"
@.str.2 = [35 x i8] c" -o replaces, -t truncates\0A\00"
@.str.3 = [47 x i8] c"depend-gen: -i: Missing argument (includedir)\0A\00"
@.str.4 = [35 x i8] c"depend-gen: -%c: Missing argument\0A\00"
@.str.5 = [3 x i8] c"r+\00"
@.str.6 = [3 x i8] c"w+\00"
@.str.7 = [18 x i8] c"depend-gen: fopen\00"
@.str.8 = [46 x i8] c"depend-gen [%d]: -%c %s: Could not open file\0A\00"
@.str.9 = [4 x i8] c"%u\0A\00"
@.str.10 = [39 x i8] c"depend-gen: -%c %s: filename too long\0A\00"
@.str.11 = [5 x i8] c".tmp\00"
@.str.12 = [2 x i8] c"w\00"
@.str.13 = [51 x i8] c"depend-gen: no output file given (-(o|t) outfile)\0A\00"
@.str.14 = [39 x i8] c"depend-gen: missing argument (infile)\0A\00"
@.str.15 = [2 x i8] c"r\00"
@.str.16 = [26 x i8] c"# DO NOT DELETE THIS LINE\00"
@.str.17 = [3 x i8] c"%s\00"
@.str.18 = [27 x i8] c"# DO NOT DELETE THIS LINE\0A\00"
@.str.19 = [9 x i8] c"#include\00"
@.str.20 = [16 x i8] c"sh_gpg_chksum.h\00"
@.str.21 = [12 x i8] c"sh_gpg_fp.h\00"
@.str.22 = [37 x i8] c"# OVERFLOW: incomplete dependencies\0A\00"
@.str.23 = [9 x i8] c"config.h\00"
@.str.24 = [13 x i8] c"config_xor.h\00"
@.str.25 = [11 x i8] c"internal.h\00"
@.str.26 = [8 x i8] c"sh_ks.h\00"
@.str.27 = [12 x i8] c"sh_ks_xor.h\00"
@.str.28 = [8 x i8] c"sh_MK.h\00"
@.str.29 = [2 x i8] c" \00"
@.str.30 = [11 x i8] c"$(srcsrc)/\00"
@.str.31 = [20 x i8] c"%s: %s Makefile %s\0A\00"
@.str.32 = [17 x i8] c"%s: Makefile %s\0A\00"
@.str.33 = [19 x i8] c"depend-gen: rename\00"
@.str.34 = [40 x i8] c"depend-gen: could not rename %s --> %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i32
%10 = alloca [1024 x i8]
%11 = alloca [1024 x i8]
%12 = alloca [1024 x i8]
%13 = alloca [1024 x i8]
%14 = alloca [2048 x i8]
%15 = alloca [1024 x i8]
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i8*
%21 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32* null, i32** %6
store i32* null, i32** %7
store i32* null, i32** %8
store i32 1, i32* %9
store i32 0, i32* %16
store i32 2047, i32* %17
store i32 0, i32* %18
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
store i8 0, i8* %22
%23 = load i32, i32* %4
%24 = icmp slt i32 %23, 2
br i1 %24, label %25, label %28
25: ; preds = %2
%26 = load i32*, i32** @stderr
%27 = call i32 (i32*, i8*, ...) @fprintf(i32* %26, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %3
br label %668
28: ; preds = %2
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = getelementptr inbounds i8, i8* %31, i64 0
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 45
br i1 %35, label %36, label %47
36: ; preds = %28
%37 = load i8**, i8*** %5
%38 = getelementptr inbounds i8*, i8** %37, i64 1
%39 = load i8*, i8** %38
%40 = getelementptr inbounds i8, i8* %39, i64 1
%41 = load i8, i8* %40
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 104
br i1 %43, label %44, label %47
44: ; preds = %36
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.1, i64 0, i64 0))
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %3
br label %668
47: ; preds = %36, %28
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 1
%50 = load i8*, i8** %49
%51 = getelementptr inbounds i8, i8* %50, i64 0
%52 = load i8, i8* %51
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 45
br i1 %54, label %55, label %84
55: ; preds = %47
%56 = load i8**, i8*** %5
%57 = getelementptr inbounds i8*, i8** %56, i64 1
%58 = load i8*, i8** %57
%59 = getelementptr inbounds i8, i8* %58, i64 1
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 105
br i1 %62, label %63, label %84
63: ; preds = %55
%64 = load i32, i32* %4
%65 = icmp slt i32 %64, 3
br i1 %65, label %66, label %69
66: ; preds = %63
%67 = load i32*, i32** @stderr
%68 = call i32 (i32*, i8*, ...) @fprintf(i32* %67, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %668
69: ; preds = %63
%70 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%71 = load i8**, i8*** %5
%72 = getelementptr inbounds i8*, i8** %71, i64 2
%73 = load i8*, i8** %72
%74 = call i32 @strncpy(i8* %70, i8* %73, i32 1023)
%75 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 1023
store i8 0, i8* %75
%76 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%77 = call i32 @strlen(i8* %76)
store i32 %77, i32* %16
%78 = load i32, i32* %4
%79 = sub nsw i32 %78, 2
store i32 %79, i32* %4
%80 = load i8**, i8*** %5
%81 = getelementptr inbounds i8*, i8** %80, i32 1
store i8** %81, i8*** %5
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i32 1
store i8** %83, i8*** %5
br label %84
84: ; preds = %69, %55, %47
%85 = load i8**, i8*** %5
%86 = getelementptr inbounds i8*, i8** %85, i64 1
%87 = load i8*, i8** %86
%88 = getelementptr inbounds i8, i8* %87, i64 0
%89 = load i8, i8* %88
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 45
br i1 %91, label %92, label %254
92: ; preds = %84
%93 = load i8**, i8*** %5
%94 = getelementptr inbounds i8*, i8** %93, i64 1
%95 = load i8*, i8** %94
%96 = getelementptr inbounds i8, i8* %95, i64 1
%97 = load i8, i8* %96
%98 = sext i8 %97 to i32
%99 = icmp eq i32 %98, 111
br i1 %99, label %116, label %100
100: ; preds = %92
%101 = load i8**, i8*** %5
%102 = getelementptr inbounds i8*, i8** %101, i64 1
%103 = load i8*, i8** %102
%104 = getelementptr inbounds i8, i8* %103, i64 1
%105 = load i8, i8* %104
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 116
br i1 %107, label %116, label %108
108: ; preds = %100
%109 = load i8**, i8*** %5
%110 = getelementptr inbounds i8*, i8** %109, i64 1
%111 = load i8*, i8** %110
%112 = getelementptr inbounds i8, i8* %111, i64 1
%113 = load i8, i8* %112
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 99
br i1 %115, label %116, label %254
116: ; preds = %108, %100, %92
%117 = load i32, i32* %4
%118 = icmp slt i32 %117, 3
br i1 %118, label %119, label %128
119: ; preds = %116
%120 = load i32*, i32** @stderr
%121 = load i8**, i8*** %5
%122 = getelementptr inbounds i8*, i8** %121, i64 1
%123 = load i8*, i8** %122
%124 = getelementptr inbounds i8, i8* %123, i64 1
%125 = load i8, i8* %124
%126 = sext i8 %125 to i32
%127 = call i32 (i32*, i8*, ...) @fprintf(i32* %120, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 %126)
store i32 1, i32* %3
br label %668
128: ; preds = %116
%129 = load i8**, i8*** %5
%130 = getelementptr inbounds i8*, i8** %129, i64 1
%131 = load i8*, i8** %130
%132 = getelementptr inbounds i8, i8* %131, i64 1
%133 = load i8, i8* %132
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 111
br i1 %135, label %144, label %136
136: ; preds = %128
%137 = load i8**, i8*** %5
%138 = getelementptr inbounds i8*, i8** %137, i64 1
%139 = load i8*, i8** %138
%140 = getelementptr inbounds i8, i8* %139, i64 1
%141 = load i8, i8* %140
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 99
br i1 %143, label %144, label %149
144: ; preds = %136, %128
%145 = load i8**, i8*** %5
%146 = getelementptr inbounds i8*, i8** %145, i64 2
%147 = load i8*, i8** %146
%148 = call i32* @fopen(i8* %147, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
store i32* %148, i32** %6
br label %154
149: ; preds = %136
%150 = load i8**, i8*** %5
%151 = getelementptr inbounds i8*, i8** %150, i64 2
%152 = load i8*, i8** %151
%153 = call i32* @fopen(i8* %152, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
store i32* %153, i32** %6
br label %154
154: ; preds = %149, %144
%155 = load i32*, i32** %6
%156 = icmp ne i32* %155, null
br i1 %156, label %170, label %157
157: ; preds = %154
%158 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%159 = load i32*, i32** @stderr
%160 = load i8**, i8*** %5
%161 = getelementptr inbounds i8*, i8** %160, i64 1
%162 = load i8*, i8** %161
%163 = getelementptr inbounds i8, i8* %162, i64 1
%164 = load i8, i8* %163
%165 = sext i8 %164 to i32
%166 = load i8**, i8*** %5
%167 = getelementptr inbounds i8*, i8** %166, i64 2
%168 = load i8*, i8** %167
%169 = call i32 (i32*, i8*, ...) @fprintf(i32* %159, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 111, i32 %165, i8* %168)
store i32 1, i32* %3
br label %668
170: ; preds = %154
%171 = load i32, i32* %9
%172 = add nsw i32 %171, 2
store i32 %172, i32* %9
%173 = load i8**, i8*** %5
%174 = getelementptr inbounds i8*, i8** %173, i64 1
%175 = load i8*, i8** %174
%176 = getelementptr inbounds i8, i8* %175, i64 1
%177 = load i8, i8* %176
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %178, 99
br i1 %179, label %180, label %196
180: ; preds = %170
%181 = call i32 @lzo_adler32(i32 0, i8* null, i32 0)
store i32 %181, i32* %19
br label %182
182: ; preds = %187, %180
%183 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%184 = load i32*, i32** %6
%185 = call i32* @fgets(i8* %183, i32 1023, i32* %184)
%186 = icmp ne i32* null, %185
br i1 %186, label %187, label %193
187: ; preds = %182
%188 = load i32, i32* %19
%189 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%190 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%191 = call i32 @strlen(i8* %190)
%192 = call i32 @lzo_adler32(i32 %188, i8* %189, i32 %191)
store i32 %192, i32* %19
br label %182
193: ; preds = %182
%194 = load i32, i32* %19
%195 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 %194)
store i32 0, i32* %3
br label %668
196: ; preds = %170
%197 = load i8**, i8*** %5
%198 = getelementptr inbounds i8*, i8** %197, i64 1
%199 = load i8*, i8** %198
%200 = getelementptr inbounds i8, i8* %199, i64 1
%201 = load i8, i8* %200
%202 = sext i8 %201 to i32
%203 = icmp eq i32 %202, 116
br i1 %203, label %204, label %206
204: ; preds = %196
%205 = load i32*, i32** %6
store i32* %205, i32** %7
br label %253
206: ; preds = %196
%207 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
store i8 0, i8* %207
%208 = load i8**, i8*** %5
%209 = load i32, i32* %9
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds i8*, i8** %208, i64 %210
%212 = load i8*, i8** %211
%213 = call i32 @strlen(i8* %212)
%214 = icmp sgt i32 %213, 1029
br i1 %214, label %215, label %227
215: ; preds = %206
%216 = load i32*, i32** @stderr
%217 = load i8**, i8*** %5
%218 = getelementptr inbounds i8*, i8** %217, i64 1
%219 = load i8*, i8** %218
%220 = getelementptr inbounds i8, i8* %219, i64 1
%221 = load i8, i8* %220
%222 = sext i8 %221 to i32
%223 = load i8**, i8*** %5
%224 = getelementptr inbounds i8*, i8** %223, i64 2
%225 = load i8*, i8** %224
%226 = call i32 (i32*, i8*, ...) @fprintf(i32* %216, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), i32 %222, i8* %225)
store i32 1, i32* %3
br label %668
227: ; preds = %206
%228 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%229 = load i8**, i8*** %5
%230 = load i32, i32* %9
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds i8*, i8** %229, i64 %231
%233 = load i8*, i8** %232
%234 = call i32 @strncat(i8* %228, i8* %233, i32 1029)
%235 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%236 = call i32 @strncat(i8* %235, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 1023)
%237 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%238 = call i32* @fopen(i8* %237, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
store i32* %238, i32** %7
%239 = load i32*, i32** %7
%240 = icmp ne i32* %239, null
br i1 %240, label %252, label %241
241: ; preds = %227
%242 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%243 = load i32*, i32** @stderr
%244 = load i8**, i8*** %5
%245 = getelementptr inbounds i8*, i8** %244, i64 1
%246 = load i8*, i8** %245
%247 = getelementptr inbounds i8, i8* %246, i64 1
%248 = load i8, i8* %247
%249 = sext i8 %248 to i32
%250 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%251 = call i32 (i32*, i8*, ...) @fprintf(i32* %243, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 147, i32 %249, i8* %250)
store i32 1, i32* %3
br label %668
252: ; preds = %227
br label %253
253: ; preds = %252, %204
br label %257
254: ; preds = %108, %84
%255 = load i32*, i32** @stderr
%256 = call i32 (i32*, i8*, ...) @fprintf(i32* %255, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0))
store i32 1, i32* %3
br label %668
257: ; preds = %253
%258 = load i32, i32* %4
%259 = load i32, i32* %9
%260 = add nsw i32 %259, 1
%261 = icmp slt i32 %258, %260
br i1 %261, label %262, label %265
262: ; preds = %257
%263 = load i32*, i32** @stderr
%264 = call i32 (i32*, i8*, ...) @fprintf(i32* %263, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0))
store i32 1, i32* %3
br label %668
265: ; preds = %257
%266 = load i8**, i8*** %5
%267 = load i32, i32* %9
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i8*, i8** %266, i64 %268
%270 = load i8*, i8** %269
%271 = call i32* @fopen(i8* %270, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
store i32* %271, i32** %8
%272 = load i32*, i32** %8
%273 = icmp ne i32* %272, null
br i1 %273, label %289, label %274
274: ; preds = %265
%275 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%276 = load i32*, i32** @stderr
%277 = load i8**, i8*** %5
%278 = getelementptr inbounds i8*, i8** %277, i64 1
%279 = load i8*, i8** %278
%280 = getelementptr inbounds i8, i8* %279, i64 1
%281 = load i8, i8* %280
%282 = sext i8 %281 to i32
%283 = load i8**, i8*** %5
%284 = load i32, i32* %9
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds i8*, i8** %283, i64 %285
%287 = load i8*, i8** %286
%288 = call i32 (i32*, i8*, ...) @fprintf(i32* %276, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 170, i32 %282, i8* %287)
store i32 1, i32* %3
br label %668
289: ; preds = %265
br label %290
290: ; preds = %305, %289
%291 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%292 = load i32*, i32** %6
%293 = call i32* @fgets(i8* %291, i32 1023, i32* %292)
%294 = icmp eq i32* null, %293
br i1 %294, label %295, label %296
295: ; preds = %290
br label %306
296: ; preds = %290
%297 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%298 = call i64 @strncmp(i8* %297, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 25)
%299 = icmp eq i64 0, %298
br i1 %299, label %300, label %301
300: ; preds = %296
br label %306
301: ; preds = %296
%302 = load i32*, i32** %7
%303 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%304 = call i32 (i32*, i8*, ...) @fprintf(i32* %302, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* %303)
br label %305
305: ; preds = %301
br i1 true, label %290, label %306
306: ; preds = %305, %300, %295
%307 = load i8**, i8*** %5
%308 = getelementptr inbounds i8*, i8** %307, i64 1
%309 = load i8*, i8** %308
%310 = getelementptr inbounds i8, i8* %309, i64 1
%311 = load i8, i8* %310
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 111
br i1 %313, label %314, label %317
314: ; preds = %306
%315 = load i32*, i32** %7
%316 = call i32 (i32*, i8*, ...) @fprintf(i32* %315, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0))
br label %317
317: ; preds = %314, %306
%318 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%319 = load i8**, i8*** %5
%320 = load i32, i32* %9
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds i8*, i8** %319, i64 %321
%323 = load i8*, i8** %322
%324 = call i32 @strncpy(i8* %318, i8* %323, i32 1023)
%325 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
store i8* %325, i8** %20
br label %326
326: ; preds = %331, %317
%327 = load i8*, i8** %20
%328 = load i8, i8* %327
%329 = sext i8 %328 to i32
%330 = icmp ne i32 %329, 0
br i1 %330, label %331, label %334
331: ; preds = %326
%332 = load i8*, i8** %20
%333 = getelementptr inbounds i8, i8* %332, i32 1
store i8* %333, i8** %20
br label %326
334: ; preds = %326
%335 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%336 = load i8, i8* %335
%337 = sext i8 %336 to i32
%338 = icmp ne i32 %337, 0
br i1 %338, label %339, label %342
339: ; preds = %334
%340 = load i8*, i8** %20
%341 = getelementptr inbounds i8, i8* %340, i32 -1
store i8* %341, i8** %20
br label %342
342: ; preds = %339, %334
%343 = load i8*, i8** %20
%344 = load i8, i8* %343
%345 = sext i8 %344 to i32
%346 = icmp eq i32 %345, 99
br i1 %346, label %347, label %349
347: ; preds = %342
%348 = load i8*, i8** %20
store i8 111, i8* %348
br label %349
349: ; preds = %347, %342
%350 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%351 = call i8* @strrchr(i8* %350, i8 signext 47)
store i8* %351, i8** %20
%352 = load i8*, i8** %20
%353 = icmp ne i8* %352, null
br i1 %353, label %354, label %357
354: ; preds = %349
%355 = load i8*, i8** %20
%356 = getelementptr inbounds i8, i8* %355, i32 1
store i8* %356, i8** %20
br label %357
357: ; preds = %354, %349
%358 = load i8*, i8** %20
%359 = call i32 @strlen(i8* %358)
store i32 %359, i32* %18
br label %360
360: ; preds = %377, %357
%361 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%362 = load i32*, i32** %6
%363 = call i32* @fgets(i8* %361, i32 1023, i32* %362)
%364 = icmp eq i32* null, %363
br i1 %364, label %365, label %366
365: ; preds = %360
br label %378
366: ; preds = %360
%367 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%368 = load i8*, i8** %20
%369 = load i32, i32* %18
%370 = call i64 @strncmp(i8* %367, i8* %368, i32 %369)
%371 = icmp eq i64 0, %370
br i1 %371, label %372, label %373
372: ; preds = %366
br label %378
373: ; preds = %366
%374 = load i32*, i32** %7
%375 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%376 = call i32 (i32*, i8*, ...) @fprintf(i32* %374, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* %375)
br label %377
377: ; preds = %373
br i1 true, label %360, label %378
378: ; preds = %377, %372, %365
%379 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
store i8 0, i8* %379
br label %380
380: ; preds = %544, %482, %472, %445, %416, %378
%381 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%382 = load i32*, i32** %8
%383 = call i32* @fgets(i8* %381, i32 1023, i32* %382)
%384 = icmp ne i32* null, %383
br i1 %384, label %385, label %545
385: ; preds = %380
%386 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
store i8* %386, i8** %20
br label %387
387: ; preds = %406, %385
%388 = load i8*, i8** %20
%389 = load i8, i8* %388
%390 = sext i8 %389 to i32
%391 = icmp ne i32 %390, 0
br i1 %391, label %392, label %404
392: ; preds = %387
%393 = load i8*, i8** %20
%394 = load i8, i8* %393
%395 = sext i8 %394 to i32
%396 = icmp eq i32 %395, 32
br i1 %396, label %402, label %397
397: ; preds = %392
%398 = load i8*, i8** %20
%399 = load i8, i8* %398
%400 = sext i8 %399 to i32
%401 = icmp eq i32 %400, 9
br label %402
402: ; preds = %397, %392
%403 = phi i1 [ true, %392 ], [ %401, %397 ]
br label %404
404: ; preds = %402, %387
%405 = phi i1 [ false, %387 ], [ %403, %402 ]
br i1 %405, label %406, label %409
406: ; preds = %404
%407 = load i8*, i8** %20
%408 = getelementptr inbounds i8, i8* %407, i32 1
store i8* %408, i8** %20
br label %387
409: ; preds = %404
%410 = load i8*, i8** %20
%411 = call i64 @strncmp(i8* %410, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 8)
%412 = icmp eq i64 0, %411
br i1 %412, label %413, label %416
413: ; preds = %409
%414 = load i8*, i8** %20
%415 = getelementptr inbounds i8, i8* %414, i64 8
store i8* %415, i8** %20
br label %417
416: ; preds = %409
br label %380
417: ; preds = %413
br label %418
418: ; preds = %437, %417
%419 = load i8*, i8** %20
%420 = load i8, i8* %419
%421 = sext i8 %420 to i32
%422 = icmp ne i32 %421, 0
br i1 %422, label %423, label %435
423: ; preds = %418
%424 = load i8*, i8** %20
%425 = load i8, i8* %424
%426 = sext i8 %425 to i32
%427 = icmp eq i32 %426, 32
br i1 %427, label %433, label %428
428: ; preds = %423
%429 = load i8*, i8** %20
%430 = load i8, i8* %429
%431 = sext i8 %430 to i32
%432 = icmp eq i32 %431, 9
br label %433
433: ; preds = %428, %423
%434 = phi i1 [ true, %423 ], [ %432, %428 ]
br label %435
435: ; preds = %433, %418
%436 = phi i1 [ false, %418 ], [ %434, %433 ]
br i1 %436, label %437, label %440
437: ; preds = %435
%438 = load i8*, i8** %20
%439 = getelementptr inbounds i8, i8* %438, i32 1
store i8* %439, i8** %20
br label %418
440: ; preds = %435
%441 = load i8*, i8** %20
%442 = load i8, i8* %441
%443 = sext i8 %442 to i32
%444 = icmp ne i32 %443, 34
br i1 %444, label %445, label %446
445: ; preds = %440
br label %380
446: ; preds = %440
%447 = load i8*, i8** %20
%448 = getelementptr inbounds i8, i8* %447, i32 1
store i8* %448, i8** %20
%449 = load i8*, i8** %20
store i8* %449, i8** %21
%450 = load i8*, i8** %21
%451 = getelementptr inbounds i8, i8* %450, i32 1
store i8* %451, i8** %21
br label %452
452: ; preds = %464, %446
%453 = load i8*, i8** %21
%454 = load i8, i8* %453
%455 = sext i8 %454 to i32
%456 = icmp ne i32 %455, 0
br i1 %456, label %457, label %462
457: ; preds = %452
%458 = load i8*, i8** %21
%459 = load i8, i8* %458
%460 = sext i8 %459 to i32
%461 = icmp ne i32 %460, 34
br label %462
462: ; preds = %457, %452
%463 = phi i1 [ false, %452 ], [ %461, %457 ]
br i1 %463, label %464, label %467
464: ; preds = %462
%465 = load i8*, i8** %21
%466 = getelementptr inbounds i8, i8* %465, i32 1
store i8* %466, i8** %21
br label %452
467: ; preds = %462
%468 = load i8*, i8** %21
%469 = load i8, i8* %468
%470 = sext i8 %469 to i32
%471 = icmp ne i32 %470, 34
br i1 %471, label %472, label %473
472: ; preds = %467
br label %380
473: ; preds = %467
%474 = load i8*, i8** %21
store i8 0, i8* %474
%475 = load i8*, i8** %20
%476 = call i64 @strcmp(i8* %475, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.20, i64 0, i64 0))
%477 = icmp eq i64 0, %476
br i1 %477, label %482, label %478
478: ; preds = %473
%479 = load i8*, i8** %20
%480 = call i64 @strcmp(i8* %479, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0))
%481 = icmp eq i64 0, %480
br i1 %481, label %482, label %483
482: ; preds = %478, %473
br label %380
483: ; preds = %478
%484 = load i8*, i8** %20
%485 = call i32 @strlen(i8* %484)
store i32 %485, i32* %18
%486 = load i32, i32* %18
%487 = load i32, i32* %17
%488 = icmp sgt i32 %486, %487
br i1 %488, label %489, label %492
489: ; preds = %483
%490 = load i32*, i32** %6
%491 = call i32 (i32*, i8*, ...) @fprintf(i32* %490, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.22, i64 0, i64 0))
br label %545
492: ; preds = %483
%493 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%494 = load i8, i8* %493
%495 = sext i8 %494 to i32
%496 = icmp ne i32 %495, 0
br i1 %496, label %497, label %531
497: ; preds = %492
%498 = load i8*, i8** %20
%499 = call i64 @strcmp(i8* %498, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%500 = icmp eq i64 0, %499
br i1 %500, label %521, label %501
501: ; preds = %497
%502 = load i8*, i8** %20
%503 = call i64 @strcmp(i8* %502, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.24, i64 0, i64 0))
%504 = icmp eq i64 0, %503
br i1 %504, label %521, label %505
505: ; preds = %501
%506 = load i8*, i8** %20
%507 = call i64 @strcmp(i8* %506, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0))
%508 = icmp eq i64 0, %507
br i1 %508, label %521, label %509
509: ; preds = %505
%510 = load i8*, i8** %20
%511 = call i64 @strcmp(i8* %510, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0))
%512 = icmp eq i64 0, %511
br i1 %512, label %521, label %513
513: ; preds = %509
%514 = load i8*, i8** %20
%515 = call i64 @strcmp(i8* %514, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0))
%516 = icmp eq i64 0, %515
br i1 %516, label %521, label %517
517: ; preds = %513
%518 = load i8*, i8** %20
%519 = call i64 @strcmp(i8* %518, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%520 = icmp eq i64 0, %519
br i1 %520, label %521, label %522
521: ; preds = %517, %513, %509, %505, %501, %497
br label %530
522: ; preds = %517
%523 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
%524 = getelementptr inbounds [1024 x i8], [1024 x i8]* %15, i64 0, i64 0
%525 = load i32, i32* %17
%526 = call i32 @strncat(i8* %523, i8* %524, i32 %525)
%527 = load i32, i32* %16
%528 = load i32, i32* %17
%529 = sub nsw i32 %528, %527
store i32 %529, i32* %17
br label %530
530: ; preds = %522, %521
br label %531
531: ; preds = %530, %492
%532 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
%533 = load i8*, i8** %20
%534 = load i32, i32* %17
%535 = call i32 @strncat(i8* %532, i8* %533, i32 %534)
%536 = load i32, i32* %18
%537 = load i32, i32* %17
%538 = sub nsw i32 %537, %536
store i32 %538, i32* %17
%539 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
%540 = load i32, i32* %17
%541 = call i32 @strncat(i8* %539, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.29, i64 0, i64 0), i32 %540)
%542 = load i32, i32* %17
%543 = add nsw i32 %542, -1
store i32 %543, i32* %17
br label %544
544: ; preds = %531
br label %380
545: ; preds = %489, %380
%546 = load i8**, i8*** %5
%547 = load i32, i32* %9
%548 = sext i32 %547 to i64
%549 = getelementptr inbounds i8*, i8** %546, i64 %548
%550 = load i8*, i8** %549
%551 = call i8* @strrchr(i8* %550, i8 signext 47)
store i8* %551, i8** %20
%552 = load i8*, i8** %20
%553 = icmp ne i8* %552, null
br i1 %553, label %554, label %560
554: ; preds = %545
%555 = load i8*, i8** %20
%556 = getelementptr inbounds i8, i8* %555, i32 1
store i8* %556, i8** %20
%557 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%558 = load i8*, i8** %20
%559 = call i32 @strncpy(i8* %557, i8* %558, i32 1023)
br label %568
560: ; preds = %545
%561 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%562 = load i8**, i8*** %5
%563 = load i32, i32* %9
%564 = sext i32 %563 to i64
%565 = getelementptr inbounds i8*, i8** %562, i64 %564
%566 = load i8*, i8** %565
%567 = call i32 @strncpy(i8* %561, i8* %566, i32 1023)
br label %568
568: ; preds = %560, %554
%569 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 1023
store i8 0, i8* %569
%570 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%571 = call i32 @strcpy(i8* %570, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.30, i64 0, i64 0))
%572 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%573 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%574 = call i32 @strcat(i8* %572, i8* %573)
%575 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
store i8* %575, i8** %20
br label %576
576: ; preds = %581, %568
%577 = load i8*, i8** %20
%578 = load i8, i8* %577
%579 = sext i8 %578 to i32
%580 = icmp ne i32 %579, 0
br i1 %580, label %581, label %584
581: ; preds = %576
%582 = load i8*, i8** %20
%583 = getelementptr inbounds i8, i8* %582, i32 1
store i8* %583, i8** %20
br label %576
584: ; preds = %576
%585 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%586 = load i8, i8* %585
%587 = sext i8 %586 to i32
%588 = icmp ne i32 %587, 0
br i1 %588, label %589, label %592
589: ; preds = %584
%590 = load i8*, i8** %20
%591 = getelementptr inbounds i8, i8* %590, i32 -1
store i8* %591, i8** %20
br label %592
592: ; preds = %589, %584
%593 = load i8*, i8** %20
%594 = load i8, i8* %593
%595 = sext i8 %594 to i32
%596 = icmp eq i32 %595, 99
br i1 %596, label %597, label %604
597: ; preds = %592
%598 = load i8*, i8** %20
store i8 111, i8* %598
%599 = load i32*, i32** %7
%600 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%601 = getelementptr inbounds [1024 x i8], [1024 x i8]* %11, i64 0, i64 0
%602 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
%603 = call i32 (i32*, i8*, ...) @fprintf(i32* %599, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.31, i64 0, i64 0), i8* %600, i8* %601, i8* %602)
br label %613
604: ; preds = %592
%605 = load i32*, i32** %7
%606 = load i8**, i8*** %5
%607 = load i32, i32* %9
%608 = sext i32 %607 to i64
%609 = getelementptr inbounds i8*, i8** %606, i64 %608
%610 = load i8*, i8** %609
%611 = getelementptr inbounds [2048 x i8], [2048 x i8]* %14, i64 0, i64 0
%612 = call i32 (i32*, i8*, ...) @fprintf(i32* %605, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.32, i64 0, i64 0), i8* %610, i8* %611)
br label %613
613: ; preds = %604, %597
br label %614
614: ; preds = %624, %613
%615 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%616 = load i32*, i32** %6
%617 = call i32* @fgets(i8* %615, i32 1023, i32* %616)
%618 = icmp eq i32* null, %617
br i1 %618, label %619, label %620
619: ; preds = %614
br label %625
620: ; preds = %614
%621 = load i32*, i32** %7
%622 = getelementptr inbounds [1024 x i8], [1024 x i8]* %13, i64 0, i64 0
%623 = call i32 (i32*, i8*, ...) @fprintf(i32* %621, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* %622)
br label %624
624: ; preds = %620
br i1 true, label %614, label %625
625: ; preds = %624, %619
%626 = load i32*, i32** %7
%627 = icmp ne i32* %626, null
br i1 %627, label %628, label %631
628: ; preds = %625
%629 = load i32*, i32** %7
%630 = call i32 @fclose(i32* %629)
br label %631
631: ; preds = %628, %625
%632 = load i32*, i32** %6
%633 = icmp ne i32* %632, null
br i1 %633, label %634, label %637
634: ; preds = %631
%635 = load i32*, i32** %6
%636 = call i32 @fclose(i32* %635)
br label %637
637: ; preds = %634, %631
%638 = load i32*, i32** %8
%639 = icmp ne i32* %638, null
br i1 %639, label %640, label %643
640: ; preds = %637
%641 = load i32*, i32** %8
%642 = call i32 @fclose(i32* %641)
br label %643
643: ; preds = %640, %637
%644 = load i8**, i8*** %5
%645 = getelementptr inbounds i8*, i8** %644, i64 1
%646 = load i8*, i8** %645
%647 = getelementptr inbounds i8, i8* %646, i64 1
%648 = load i8, i8* %647
%649 = sext i8 %648 to i32
%650 = icmp eq i32 %649, 111
br i1 %650, label %651, label %667
651: ; preds = %643
%652 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%653 = load i8**, i8*** %5
%654 = getelementptr inbounds i8*, i8** %653, i64 2
%655 = load i8*, i8** %654
%656 = call i64 @rename(i8* %652, i8* %655)
%657 = icmp ne i64 0, %656
br i1 %657, label %658, label %666
658: ; preds = %651
%659 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.33, i64 0, i64 0))
%660 = load i32*, i32** @stderr
%661 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%662 = load i8**, i8*** %5
%663 = getelementptr inbounds i8*, i8** %662, i64 2
%664 = load i8*, i8** %663
%665 = call i32 (i32*, i8*, ...) @fprintf(i32* %660, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.34, i64 0, i64 0), i8* %661, i8* %664)
store i32 1, i32* %3
br label %668
666: ; preds = %651
br label %667
667: ; preds = %666, %643
store i32 0, i32* %3
br label %668
668: ; preds = %667, %658, %274, %262, %254, %241, %215, %193, %157, %119, %66, %44, %25
%669 = load i32, i32* %3
ret i32 %669
}

LLVM IR (-O2):
@stderr = global i32* null
@.str = [30 x i8] c"depend-gen: Missing argument\0A\00"
@.str.3 = [47 x i8] c"depend-gen: -i: Missing argument (includedir)\0A\00"
@.str.4 = [35 x i8] c"depend-gen: -%c: Missing argument\0A\00"
@.str.5 = [3 x i8] c"r+\00"
@.str.6 = [3 x i8] c"w+\00"
@.str.7 = [18 x i8] c"depend-gen: fopen\00"
@.str.8 = [46 x i8] c"depend-gen [%d]: -%c %s: Could not open file\0A\00"
@.str.9 = [4 x i8] c"%u\0A\00"
@.str.10 = [39 x i8] c"depend-gen: -%c %s: filename too long\0A\00"
@.str.11 = [5 x i8] c".tmp\00"
@.str.12 = [2 x i8] c"w\00"
@.str.13 = [51 x i8] c"depend-gen: no output file given (-(o|t) outfile)\0A\00"
@.str.14 = [39 x i8] c"depend-gen: missing argument (infile)\0A\00"
@.str.15 = [2 x i8] c"r\00"
@.str.16 = [26 x i8] c"# DO NOT DELETE THIS LINE\00"
@.str.18 = [27 x i8] c"# DO NOT DELETE THIS LINE\0A\00"
@.str.19 = [9 x i8] c"#include\00"
@.str.20 = [16 x i8] c"sh_gpg_chksum.h\00"
@.str.21 = [12 x i8] c"sh_gpg_fp.h\00"
@.str.22 = [37 x i8] c"# OVERFLOW: incomplete dependencies\0A\00"
@.str.23 = [9 x i8] c"config.h\00"
@.str.24 = [13 x i8] c"config_xor.h\00"
@.str.25 = [11 x i8] c"internal.h\00"
@.str.26 = [8 x i8] c"sh_ks.h\00"
@.str.27 = [12 x i8] c"sh_ks_xor.h\00"
@.str.28 = [8 x i8] c"sh_MK.h\00"
@.str.29 = [2 x i8] c" \00"
@.str.30 = [11 x i8] c"$(srcsrc)/\00"
@.str.31 = [20 x i8] c"%s: %s Makefile %s\0A\00"
@.str.32 = [17 x i8] c"%s: Makefile %s\0A\00"
@.str.33 = [19 x i8] c"depend-gen: rename\00"
@.str.34 = [40 x i8] c"depend-gen: could not rename %s --> %s\0A\00"
@str = [56 x i8] c"Usage: depend-gen [-i includedir] -(o|t) outfile infile\00"
@str.35 = [34 x i8] c" -o replaces, -t truncates\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [1024 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = alloca [2048 x i8]
%8 = alloca [1024 x i8]
%9 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%11 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%13 = getelementptr inbounds [2048 x i8], [2048 x i8]* %7, i64 0, i64 0
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
store i8 0, i8* %14
%15 = icmp slt i32 %0, 2
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load i32*, i32** @stderr
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i64 29, i64 1, i32* %17)
br label %332
19: ; preds = %2
%20 = getelementptr inbounds i8*, i8** %1, i64 1
%21 = load i8*, i8** %20
%22 = load i8, i8* %21
%23 = icmp eq i8 %22, 45
br i1 %23, label %24, label %127
24: ; preds = %19
%25 = getelementptr inbounds i8, i8* %21, i64 1
%26 = load i8, i8* %25
switch i8 %26, label %30 [
i8 104, label %27
i8 105, label %32
]
27: ; preds = %24
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.35, i64 0, i64 0))
br label %332
30: ; preds = %24
%31 = getelementptr inbounds i8*, i8** %1, i64 1
br label %49
32: ; preds = %24
%33 = icmp ult i32 %0, 3
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load i32*, i32** @stderr
%36 = tail call i64 @fwrite(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0), i64 46, i64 1, i32* %35)
br label %332
37: ; preds = %32
%38 = getelementptr inbounds i8*, i8** %1, i64 2
%39 = load i8*, i8** %38
%40 = call i32 @strncpy(i8* %14, i8* %39, i32 1023)
%41 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 1023
store i8 0, i8* %41
%42 = call i32 @strlen(i8* %14)
%43 = add nsw i32 %0, -2
%44 = getelementptr inbounds i8*, i8** %1, i64 3
%45 = load i8*, i8** %44
%46 = load i8, i8* %45
%47 = getelementptr inbounds i8*, i8** %1, i64 3
%48 = icmp eq i8 %46, 45
br i1 %48, label %49, label %127
49: ; preds = %30, %37
%50 = phi i8** [ %31, %30 ], [ %47, %37 ]
%51 = phi i32 [ 0, %30 ], [ %42, %37 ]
%52 = phi i8** [ %1, %30 ], [ %38, %37 ]
%53 = phi i32 [ %0, %30 ], [ %43, %37 ]
%54 = phi i8* [ %21, %30 ], [ %45, %37 ]
%55 = getelementptr inbounds i8, i8* %54, i64 1
%56 = load i8, i8* %55
switch i8 %56, label %127 [
i8 111, label %57
i8 116, label %57
i8 99, label %57
]
57: ; preds = %49, %49, %49
%58 = icmp ult i32 %53, 3
br i1 %58, label %59, label %63
59: ; preds = %57
%60 = load i32*, i32** @stderr
%61 = zext i8 %56 to i32
%62 = call i32 (i32*, i8*, ...) @fprintf(i32* %60, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 %61)
br label %332
63: ; preds = %57
%64 = icmp eq i8 %56, 111
%65 = icmp eq i8 %56, 99
%66 = or i1 %64, %65
%67 = select i1 %66, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0)
%68 = getelementptr inbounds i8*, i8** %52, i64 2
%69 = load i8*, i8** %68
%70 = call i32* @fopen(i8* %69, i8* %67)
%71 = icmp eq i32* %70, null
br i1 %71, label %72, label %82
72: ; preds = %63
%73 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%74 = load i32*, i32** @stderr
%75 = load i8*, i8** %50
%76 = getelementptr inbounds i8, i8* %75, i64 1
%77 = load i8, i8* %76
%78 = sext i8 %77 to i32
%79 = getelementptr inbounds i8*, i8** %52, i64 2
%80 = load i8*, i8** %79
%81 = call i32 (i32*, i8*, ...) @fprintf(i32* %74, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 111, i32 %78, i8* %80)
br label %332
82: ; preds = %63
%83 = load i8*, i8** %50
%84 = getelementptr inbounds i8, i8* %83, i64 1
%85 = load i8, i8* %84
switch i8 %85, label %99 [
i8 99, label %86
i8 116, label %130
]
86: ; preds = %82
%87 = call i32 @lzo_adler32(i32 0, i8* null, i32 0)
%88 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%89 = icmp eq i32* %88, null
br i1 %89, label %96, label %90
90: ; preds = %86, %90
%91 = phi i32 [ %93, %90 ], [ %87, %86 ]
%92 = call i32 @strlen(i8* %12)
%93 = call i32 @lzo_adler32(i32 %91, i8* %12, i32 %92)
%94 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%95 = icmp eq i32* %94, null
br i1 %95, label %96, label %90
96: ; preds = %90, %86
%97 = phi i32 [ %87, %86 ], [ %93, %90 ]
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 %97)
br label %332
99: ; preds = %82
store i8 0, i8* %11
%100 = getelementptr inbounds i8*, i8** %52, i64 3
%101 = load i8*, i8** %100
%102 = call i32 @strlen(i8* %101)
%103 = icmp sgt i32 %102, 1029
br i1 %103, label %104, label %113
104: ; preds = %99
%105 = load i32*, i32** @stderr
%106 = load i8*, i8** %50
%107 = getelementptr inbounds i8, i8* %106, i64 1
%108 = load i8, i8* %107
%109 = sext i8 %108 to i32
%110 = getelementptr inbounds i8*, i8** %52, i64 2
%111 = load i8*, i8** %110
%112 = call i32 (i32*, i8*, ...) @fprintf(i32* %105, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), i32 %109, i8* %111)
br label %332
113: ; preds = %99
%114 = load i8*, i8** %100
%115 = call i32 @strncat(i8* %11, i8* %114, i32 1029)
%116 = call i32 @strncat(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i32 1023)
%117 = call i32* @fopen(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%118 = icmp eq i32* %117, null
br i1 %118, label %119, label %130
119: ; preds = %113
%120 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%121 = load i32*, i32** @stderr
%122 = load i8*, i8** %50
%123 = getelementptr inbounds i8, i8* %122, i64 1
%124 = load i8, i8* %123
%125 = sext i8 %124 to i32
%126 = call i32 (i32*, i8*, ...) @fprintf(i32* %121, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 147, i32 %125, i8* %11)
br label %332
127: ; preds = %19, %49, %37
%128 = load i32*, i32** @stderr
%129 = call i64 @fwrite(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0), i64 50, i64 1, i32* %128)
br label %332
130: ; preds = %82, %113
%131 = phi i32* [ %117, %113 ], [ %70, %82 ]
%132 = icmp ult i32 %53, 4
br i1 %132, label %133, label %136
133: ; preds = %130
%134 = load i32*, i32** @stderr
%135 = call i64 @fwrite(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i64 38, i64 1, i32* %134)
br label %332
136: ; preds = %130
%137 = getelementptr inbounds i8*, i8** %52, i64 3
%138 = load i8*, i8** %137
%139 = call i32* @fopen(i8* %138, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%140 = icmp eq i32* %139, null
br i1 %140, label %144, label %141
141: ; preds = %136
%142 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%143 = icmp eq i32* %142, null
br i1 %143, label %160, label %153
144: ; preds = %136
%145 = call i32 @perror(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
%146 = load i32*, i32** @stderr
%147 = load i8*, i8** %50
%148 = getelementptr inbounds i8, i8* %147, i64 1
%149 = load i8, i8* %148
%150 = sext i8 %149 to i32
%151 = load i8*, i8** %137
%152 = call i32 (i32*, i8*, ...) @fprintf(i32* %146, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.8, i64 0, i64 0), i32 170, i32 %150, i8* %151)
br label %332
153: ; preds = %141, %156
%154 = call i64 @strncmp(i8* %12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 25)
%155 = icmp eq i64 %154, 0
br i1 %155, label %160, label %156
156: ; preds = %153
%157 = call i32 @fputs(i8* %12, i32* %131)
%158 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%159 = icmp eq i32* %158, null
br i1 %159, label %160, label %153
160: ; preds = %156, %153, %141
%161 = load i8*, i8** %50
%162 = getelementptr inbounds i8, i8* %161, i64 1
%163 = load i8, i8* %162
%164 = icmp eq i8 %163, 111
br i1 %164, label %165, label %167
165: ; preds = %160
%166 = call i64 @fwrite(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i64 26, i64 1, i32* %131)
br label %167
167: ; preds = %165, %160
%168 = load i8*, i8** %137
%169 = call i32 @strncpy(i8* %9, i8* %168, i32 1023)
br label %170
170: ; preds = %170, %167
%171 = phi i8* [ %9, %167 ], [ %174, %170 ]
%172 = load i8, i8* %171
%173 = icmp eq i8 %172, 0
%174 = getelementptr inbounds i8, i8* %171, i64 1
br i1 %173, label %175, label %170
175: ; preds = %170
%176 = load i8, i8* %9
%177 = icmp ne i8 %176, 0
%178 = sext i1 %177 to i64
%179 = getelementptr i8, i8* %171, i64 %178
%180 = load i8, i8* %179
%181 = icmp eq i8 %180, 99
br i1 %181, label %182, label %183
182: ; preds = %175
store i8 111, i8* %179
br label %183
183: ; preds = %182, %175
%184 = call i8* @strrchr(i8* %9, i8 signext 47)
%185 = icmp eq i8* %184, null
%186 = getelementptr inbounds i8, i8* %184, i64 1
%187 = select i1 %185, i8* null, i8* %186
%188 = call i32 @strlen(i8* %187)
%189 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%190 = icmp eq i32* %189, null
br i1 %190, label %198, label %191
191: ; preds = %183, %194
%192 = call i64 @strncmp(i8* %12, i8* %187, i32 %188)
%193 = icmp eq i64 %192, 0
br i1 %193, label %198, label %194
194: ; preds = %191
%195 = call i32 @fputs(i8* %12, i32* %131)
%196 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%197 = icmp eq i32* %196, null
br i1 %197, label %198, label %191
198: ; preds = %194, %191, %183
store i8 0, i8* %13
%199 = call i32* @fgets(i8* %12, i32 1023, i32* %139)
%200 = icmp eq i32* %199, null
br i1 %200, label %274, label %201
201: ; preds = %198, %266
%202 = phi i32 [ %271, %266 ], [ 2047, %198 ]
br label %203
203: ; preds = %208, %201
%204 = phi i8* [ %12, %201 ], [ %209, %208 ]
%205 = load i8, i8* %204
switch i8 %205, label %210 [
i8 9, label %206
i8 32, label %206
]
206: ; preds = %203, %203
%207 = getelementptr inbounds i8, i8* %204, i64 1
br label %208
208: ; preds = %206, %234
%209 = phi i8* [ %207, %206 ], [ %12, %234 ]
br label %203
210: ; preds = %203
%211 = call i64 @strncmp(i8* %204, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 8)
%212 = icmp eq i64 %211, 0
br i1 %212, label %213, label %234
213: ; preds = %210
%214 = getelementptr inbounds i8, i8* %204, i64 8
br label %215
215: ; preds = %218, %213
%216 = phi i8* [ %214, %213 ], [ %219, %218 ]
%217 = load i8, i8* %216
switch i8 %217, label %234 [
i8 9, label %218
i8 32, label %218
i8 34, label %220
]
218: ; preds = %215, %215
%219 = getelementptr inbounds i8, i8* %216, i64 1
br label %215
220: ; preds = %215
%221 = getelementptr inbounds i8, i8* %216, i64 1
%222 = getelementptr inbounds i8, i8* %216, i64 2
br label %223
223: ; preds = %226, %220
%224 = phi i8* [ %222, %220 ], [ %227, %226 ]
%225 = load i8, i8* %224
switch i8 %225, label %226 [
i8 34, label %228
i8 0, label %234
]
226: ; preds = %223
%227 = getelementptr inbounds i8, i8* %224, i64 1
br label %223
228: ; preds = %223
store i8 0, i8* %224
%229 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.20, i64 0, i64 0))
%230 = icmp eq i64 %229, 0
br i1 %230, label %234, label %231
231: ; preds = %228
%232 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0))
%233 = icmp eq i64 %232, 0
br i1 %233, label %234, label %237
234: ; preds = %215, %223, %228, %231, %210
%235 = call i32* @fgets(i8* %12, i32 1023, i32* %139)
%236 = icmp eq i32* %235, null
br i1 %236, label %274, label %208
237: ; preds = %231
%238 = call i32 @strlen(i8* %221)
%239 = icmp sgt i32 %238, %202
br i1 %239, label %240, label %242
240: ; preds = %237
%241 = call i64 @fwrite(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.22, i64 0, i64 0), i64 36, i64 1, i32* %70)
br label %274
242: ; preds = %237
%243 = load i8, i8* %14
%244 = icmp eq i8 %243, 0
br i1 %244, label %266, label %245
245: ; preds = %242
%246 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%247 = icmp eq i64 %246, 0
br i1 %247, label %266, label %248
248: ; preds = %245
%249 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.24, i64 0, i64 0))
%250 = icmp eq i64 %249, 0
br i1 %250, label %266, label %251
251: ; preds = %248
%252 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0))
%253 = icmp eq i64 %252, 0
br i1 %253, label %266, label %254
254: ; preds = %251
%255 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0))
%256 = icmp eq i64 %255, 0
br i1 %256, label %266, label %257
257: ; preds = %254
%258 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.27, i64 0, i64 0))
%259 = icmp eq i64 %258, 0
br i1 %259, label %266, label %260
260: ; preds = %257
%261 = call i64 @strcmp(i8* %221, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%262 = icmp eq i64 %261, 0
br i1 %262, label %266, label %263
263: ; preds = %260
%264 = call i32 @strncat(i8* %13, i8* %14, i32 %202)
%265 = sub nsw i32 %202, %51
br label %266
266: ; preds = %263, %260, %257, %254, %251, %248, %245, %242
%267 = phi i32 [ %202, %245 ], [ %202, %248 ], [ %202, %251 ], [ %202, %254 ], [ %202, %257 ], [ %202, %260 ], [ %265, %263 ], [ %202, %242 ]
%268 = call i32 @strncat(i8* %13, i8* %221, i32 %267)
%269 = sub nsw i32 %267, %238
%270 = call i32 @strncat(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.29, i64 0, i64 0), i32 %269)
%271 = add nsw i32 %269, -1
%272 = call i32* @fgets(i8* %12, i32 1023, i32* %139)
%273 = icmp eq i32* %272, null
br i1 %273, label %274, label %201
274: ; preds = %266, %234, %198, %240
%275 = load i8*, i8** %137
%276 = call i8* @strrchr(i8* dereferenceable(1) %275, i8 signext 47)
%277 = icmp eq i8* %276, null
br i1 %277, label %281, label %278
278: ; preds = %274
%279 = getelementptr inbounds i8, i8* %276, i64 1
%280 = call i32 @strncpy(i8* %9, i8* %279, i32 1023)
br label %283
281: ; preds = %274
%282 = call i32 @strncpy(i8* %9, i8* %275, i32 1023)
br label %283
283: ; preds = %281, %278
%284 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 1023
store i8 0, i8* %284
%285 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.30, i64 0, i64 0))
%286 = call i32 @strcat(i8* %10, i8* %9)
br label %287
287: ; preds = %287, %283
%288 = phi i8* [ %9, %283 ], [ %291, %287 ]
%289 = load i8, i8* %288
%290 = icmp eq i8 %289, 0
%291 = getelementptr inbounds i8, i8* %288, i64 1
br i1 %290, label %292, label %287
292: ; preds = %287
%293 = load i8, i8* %9
%294 = icmp ne i8 %293, 0
%295 = sext i1 %294 to i64
%296 = getelementptr i8, i8* %288, i64 %295
%297 = load i8, i8* %296
%298 = icmp eq i8 %297, 99
br i1 %298, label %299, label %301
299: ; preds = %292
store i8 111, i8* %296
%300 = call i32 (i32*, i8*, ...) @fprintf(i32* %131, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.31, i64 0, i64 0), i8* %9, i8* %10, i8* %13)
br label %304
301: ; preds = %292
%302 = load i8*, i8** %137
%303 = call i32 (i32*, i8*, ...) @fprintf(i32* %131, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.32, i64 0, i64 0), i8* %302, i8* %13)
br label %304
304: ; preds = %301, %299
%305 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%306 = icmp eq i32* %305, null
br i1 %306, label %311, label %307
307: ; preds = %304, %307
%308 = call i32 @fputs(i8* %12, i32* %131)
%309 = call i32* @fgets(i8* %12, i32 1023, i32* %70)
%310 = icmp eq i32* %309, null
br i1 %310, label %311, label %307
311: ; preds = %307, %304
%312 = icmp eq i32* %131, null
br i1 %312, label %315, label %313
313: ; preds = %311
%314 = call i32 @fclose(i32* %131)
br label %315
315: ; preds = %311, %313
%316 = call i32 @fclose(i32* %70)
%317 = call i32 @fclose(i32* %139)
%318 = load i8*, i8** %50
%319 = getelementptr inbounds i8, i8* %318, i64 1
%320 = load i8, i8* %319
%321 = icmp eq i8 %320, 111
br i1 %321, label %322, label %332
322: ; preds = %315
%323 = getelementptr inbounds i8*, i8** %52, i64 2
%324 = load i8*, i8** %323
%325 = call i64 @rename(i8* %11, i8* %324)
%326 = icmp eq i64 %325, 0
br i1 %326, label %332, label %327
327: ; preds = %322
%328 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.33, i64 0, i64 0))
%329 = load i32*, i32** @stderr
%330 = load i8*, i8** %323
%331 = call i32 (i32*, i8*, ...) @fprintf(i32* %329, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.34, i64 0, i64 0), i8* %11, i8* %330)
br label %332
332: ; preds = %315, %322, %327, %144, %133, %127, %119, %104, %96, %72, %59, %34, %27, %16
%333 = phi i32 [ 1, %16 ], [ 0, %27 ], [ 1, %34 ], [ 1, %59 ], [ 0, %96 ], [ 1, %133 ], [ 1, %327 ], [ 1, %144 ], [ 1, %104 ], [ 1, %119 ], [ 1, %72 ], [ 1, %127 ], [ 0, %322 ], [ 0, %315 ]
ret i32 %333
}