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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
char *code_4_10_name(int);
int /*<<< orphan*/ fatal_error(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int, ...);
int int4(unsigned char *);
int /*<<< orphan*/ normalize_time_range(int *, int *);
int /*<<< orphan*/ print_ftime2(int, int, int, int, int, char *);
int /*<<< orphan*/ simple_time_range(int *, int *);
int /*<<< orphan*/ sprintf(char *, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ strlen(char *);
char *time_range2a(int);
int uint4(unsigned char *);
int ftime2_tr(unsigned char **sec, char *inv_out, unsigned char *verf_time,
              int fcst_time, int fcst_unit, int n, int mode, int *prt_missing) {
  int n_max, i, code_4_10, code_4_11, code_4_4a, code_4_4b, timea, timeb;
  int tmp_value, tmp_unit;
  const char *left, *right;
  n_max = verf_time[7];
  if (mode == 99)
    fprintf(stderr, " n=%d nmax=%d ", n, n_max);
  if (n_max <= 0) {
    fprintf(stderr,
            "** WARNING bad grib message: Statistical Processing bad n=%d **\n",
            n_max);
    return 0;
  }
  if (n == 0 && ((sec[4] ? uint4(sec[4] + 0) : 0) <
                 verf_time - sec[4] + 7 + 5 + n_max * 12)) {
    fprintf(stderr,
            "** WARNING bad grib message: sec4 len (Statistical Processing): "
            "found %u .. needs at least %ld **\n",
            (sec[4] ? uint4(sec[4] + 0) : 0),
            verf_time - sec[4] + 7 + 5 + n_max * 12);
    return 0;
  }
  code_4_10 = verf_time[12 + n * 12];
  code_4_11 = verf_time[13 + n * 12];
  code_4_4a = verf_time[14 + n * 12];
  timea = int4(verf_time + 15 + n * 12);
  code_4_4b = verf_time[19 + n * 12];
  timeb = int4(verf_time + 20 + n * 12);
  if (mode == 99)
    fprintf(stderr, ">> 4.10=%d 4.11=%d 4.4a=%d timea=%d 4.4b=%d timeb=%d\n",
            code_4_10, code_4_11, code_4_4a, timea, code_4_4b, timeb);
  if (n == n_max - 1) {
    if (mode == 99)
      fprintf(stderr, "code 4.11 %d timea %d timeb %d fcst_time %d\n",
              code_4_11, timea, timeb, fcst_time);
    if (code_4_11 == 0) {
      sprintf(inv_out, "Code Table 4.11=reserved");
      return 0;
    }
    if (code_4_11 == 1 && timeb == 0) {
      inv_out += strlen(inv_out);
      print_ftime2(code_4_4a, 0, code_4_4a, timea, 2, inv_out);
      inv_out += strlen(inv_out);
      if (fcst_time == 0) {
        sprintf(inv_out, " %s anl", code_4_10_name(code_4_10));
      } else {
        sprintf(inv_out, " %s(%d %s fcst)", code_4_10_name(code_4_10),
                fcst_time, time_range2a(fcst_unit));
      }
      inv_out += strlen(inv_out);
      return 0;
    }
    if (code_4_11 == 1) {
      inv_out += strlen(inv_out);
      if (code_4_4a == code_4_4b) {
        sprintf(inv_out, "%d@%d %s %s", timea / timeb + 1, timeb,
                time_range2a(code_4_4b), code_4_10_name(code_4_10));
      } else {
        sprintf(inv_out, "%d %ss@%d %s %s", timea, time_range2a(code_4_4a),
                timeb, time_range2a(code_4_4b), code_4_10_name(code_4_10));
      }
      inv_out += strlen(inv_out);
      if (fcst_time == 0) {
        sprintf(inv_out, "(anl)");
      } else {
        sprintf(inv_out, "(");
        inv_out += strlen(inv_out);
        print_ftime2(fcst_unit, fcst_time, code_4_4a, timea, 1, inv_out);
        inv_out += strlen(inv_out);
        sprintf(inv_out, " fcst)");
      }
      *prt_missing = 1;
      return 0;
    }
    if (code_4_11 == 2 && timeb == 0) {
      print_ftime2(fcst_unit, fcst_time, code_4_4a, timea, 2, inv_out);
      inv_out += strlen(inv_out);
      if (((int)(sec[0][6])) == 0 &&
          ((int)((sec[1][5] << 8) + (sec[1][6]))) == 7 && (sec[4][9]) == 0 &&
          (((int)(sec[1][9])) <= 5) &&
          ((sec[4][10]) == 4 || (sec[4][10]) == 5) && code_4_10 == 255) {
        sprintf(inv_out, " fcst");
      } else {
        sprintf(inv_out, " %s fcst", code_4_10_name(code_4_10));
      }
      return 0;
    }
    if (code_4_11 == 2) {
      *prt_missing = 1;
      print_ftime2(fcst_unit, fcst_time, code_4_4a, timea, 2, inv_out);
      inv_out += strlen(inv_out);
      tmp_unit = code_4_4b;
      tmp_value = timeb;
      normalize_time_range(&tmp_unit, &tmp_value);
      sprintf(inv_out, " %s@(fcst,dt=%d %s)", code_4_10_name(code_4_10),
              tmp_value, time_range2a(tmp_unit));
      return 0;
    }
    if (code_4_11 == 3 && timeb == 0) {
      inv_out += strlen(inv_out);
      sprintf(inv_out, "0-%d %s %s(", timea, time_range2a(code_4_4a),
              code_4_10_name(code_4_10));
      inv_out += strlen(inv_out);
      print_ftime2(fcst_unit, fcst_time, code_4_4a, -timea, 3, inv_out);
      inv_out += strlen(inv_out);
      sprintf(inv_out, " fcst)");
      inv_out += strlen(inv_out);
      return 0;
    }
    if (code_4_11 == 3) {
      sprintf(inv_out, "ensemble %s-3 valid %d %s", code_4_10_name(code_4_10),
              fcst_time, time_range2a(fcst_unit));
      return 0;
    }
    if (code_4_11 == 4) {
      sprintf(inv_out, "ensemble %s-4 valid %d %s", code_4_10_name(code_4_10),
              fcst_time, time_range2a(fcst_unit));
      return 0;
    }
    if (code_4_11 == 5) {
      print_ftime2(fcst_unit, fcst_time, code_4_4a, timea, 2, inv_out);
      inv_out += strlen(inv_out);
      sprintf(inv_out, " (subinterval) %s", code_4_10_name(code_4_10));
    }
    if (code_4_11 > 5) {
      sprintf(inv_out, "Code Table 4.11=%d", code_4_11);
    }
    return 0;
  }
  if (timeb == 0)
    fatal_error("ftime2: time increment is zero", "");
  if (code_4_4a == 255 || code_4_4b == 255)
    fatal_error("ftime2: code table 4.4 is undefined", "");
  if (code_4_11 >= 1 && code_4_11 <= 5) {
    if (code_4_11 == 1) {
      left = "(";
      right = ")";
    } else if (code_4_11 == 2) {
      left = "(";
      right = ")++";
    } else if (code_4_11 == 3) {
      left = " (";
      right = ")--";
    } else if (code_4_11 == 4) {
      left = "(";
      right = ")++";
    } else if (code_4_11 == 5) {
      left = " ?[";
      right = "]";
    } else {
      left = "{?";
      right = "}?";
    }
    if (code_4_4a == code_4_4b) {
      i = timea / timeb + 1;
      simple_time_range(&code_4_4b, &timeb);
      if (code_4_11 == 4)
        sprintf(inv_out, "%d@-%d %s %s%s", i, timeb, time_range2a(code_4_4b),
                code_4_10_name(code_4_10), left);
      else
        sprintf(inv_out, "%d@%d %s %s%s", i, timeb, time_range2a(code_4_4b),
                code_4_10_name(code_4_10), left);
    } else {
      sprintf(inv_out, "%d %ss@%d %s %s%s", timea, time_range2a(code_4_4a),
              timeb, time_range2a(code_4_4b), code_4_10_name(code_4_10), left);
    }
    inv_out += strlen(inv_out);
    ftime2_tr(sec, inv_out, verf_time, fcst_time, fcst_unit, n + 1, mode,
              prt_missing);
    inv_out += strlen(inv_out);
    sprintf(inv_out, "%s", right);
    *prt_missing = 1;
    return 0;
  }
  if (code_4_11 == 0) {
    sprintf(inv_out, "Code Table 4.11=reserved ?[");
    inv_out += strlen(inv_out);
    ftime2_tr(sec, inv_out, verf_time, fcst_time, fcst_unit, n + 1, mode,
              prt_missing);
    inv_out += strlen(inv_out);
    sprintf(inv_out, "]");
    *prt_missing = 1;
  } else {
    sprintf(inv_out, "CodeTable 4.11=%d ?[", code_4_11);
    inv_out += strlen(inv_out);
    ftime2_tr(sec, inv_out, verf_time, fcst_time, fcst_unit, n + 1, mode,
              prt_missing);
    inv_out += strlen(inv_out);
    sprintf(inv_out, "]");
    *prt_missing = 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<ftime2_tr>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1b0,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    %r8d,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
movzbl 0x7(%rax),%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x63,0x10(%rbp)
jne    121b <ftime2_tr+0x5b>
mov    0x3ddb(%rip),%rax
mov    (%rax),%edi
mov    -0x2c(%rbp),%edx
mov    -0x30(%rbp),%ecx
lea    0x1dec(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
cmpl   $0x0,-0x30(%rbp)
jg     124b <ftime2_tr+0x8b>
mov    0x3db4(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%edx
lea    0x1dd7(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x0,-0x2c(%rbp)
jne    132c <ftime2_tr+0x16c>
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x20(%rax)
je     1279 <ftime2_tr+0xb9>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1050 <uint4@plt>
mov    %eax,-0x6c(%rbp)
jmp    1283 <ftime2_tr+0xc3>
xor    %eax,%eax
mov    %eax,-0x6c(%rbp)
jmp    1283 <ftime2_tr+0xc3>
mov    -0x6c(%rbp),%eax
cltq
mov    -0x20(%rbp),%rcx
mov    -0x10(%rbp),%rdx
mov    0x20(%rdx),%rdx
sub    %rdx,%rcx
add    $0x7,%rcx
add    $0x5,%rcx
imul   $0xc,-0x30(%rbp),%edx
movslq %edx,%rdx
add    %rdx,%rcx
cmp    %rcx,%rax
jge    132c <ftime2_tr+0x16c>
mov    0x3d27(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x70(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x20(%rax)
je     12e2 <ftime2_tr+0x122>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1050 <uint4@plt>
mov    %eax,-0x74(%rbp)
jmp    12ec <ftime2_tr+0x12c>
xor    %eax,%eax
mov    %eax,-0x74(%rbp)
jmp    12ec <ftime2_tr+0x12c>
mov    -0x70(%rbp),%edi
mov    -0x74(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rax
sub    %rax,%rcx
add    $0x7,%rcx
add    $0x5,%rcx
imul   $0xc,-0x30(%rbp),%eax
cltq
add    %rax,%rcx
lea    0x1d37(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
mov    -0x20(%rbp),%rax
imul   $0xc,-0x2c(%rbp),%ecx
add    $0xc,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
imul   $0xc,-0x2c(%rbp),%ecx
add    $0xd,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
imul   $0xc,-0x2c(%rbp),%ecx
add    $0xe,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rdi
add    $0xf,%rdi
imul   $0xc,-0x2c(%rbp),%eax
cltq
add    %rax,%rdi
call   1030 <int4@plt>
mov    %eax,-0x48(%rbp)
mov    -0x20(%rbp),%rax
imul   $0xc,-0x2c(%rbp),%ecx
add    $0x13,%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x14,%rdi
imul   $0xc,-0x2c(%rbp),%eax
cltq
add    %rax,%rdi
call   1030 <int4@plt>
mov    %eax,-0x4c(%rbp)
cmpl   $0x63,0x10(%rbp)
jne    13f0 <ftime2_tr+0x230>
mov    0x3c1d(%rip),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%edx
mov    -0x3c(%rbp),%ecx
mov    -0x40(%rbp),%r8d
mov    -0x48(%rbp),%r9d
mov    -0x44(%rbp),%r10d
mov    -0x4c(%rbp),%eax
lea    0x1cd2(%rip),%rsi
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    -0x2c(%rbp),%eax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jne    1b84 <ftime2_tr+0x9c4>
cmpl   $0x63,0x10(%rbp)
jne    1430 <ftime2_tr+0x270>
mov    0x3bce(%rip),%rax
mov    (%rax),%edi
mov    -0x3c(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x4c(%rbp),%r8d
mov    -0x24(%rbp),%r9d
lea    0x1cc0(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
cmpl   $0x0,-0x3c(%rbp)
jne    1458 <ftime2_tr+0x298>
mov    -0x18(%rbp),%rdi
lea    0x1cd1(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x1,-0x3c(%rbp)
jne    1561 <ftime2_tr+0x3a1>
cmpl   $0x0,-0x4c(%rbp)
jne    1561 <ftime2_tr+0x3a1>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
xor    %esi,%esi
mov    $0x2,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
cmpl   $0x0,-0x24(%rbp)
jne    14ec <ftime2_tr+0x32c>
mov    -0x18(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x80(%rbp),%rdi
mov    %rax,%rdx
lea    0x1c4f(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    153c <ftime2_tr+0x37c>
mov    -0x18(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,-0x90(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x28(%rbp),%edi
call   1070 <time_range2a@plt>
mov    -0x98(%rbp),%rdi
mov    -0x90(%rbp),%rdx
mov    -0x84(%rbp),%ecx
mov    %rax,%r8
lea    0x1c02(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x1,-0x3c(%rbp)
jne    1733 <ftime2_tr+0x573>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x44(%rbp),%eax
jne    15fb <ftime2_tr+0x43b>
mov    -0x18(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    -0x48(%rbp),%eax
cltd
idivl  -0x4c(%rbp)
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    -0x44(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0xa0(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0xb0(%rbp),%rdi
mov    -0xa8(%rbp),%edx
mov    -0xa4(%rbp),%ecx
mov    -0xa0(%rbp),%r8
mov    %rax,%r9
lea    0x1b58(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    1672 <ftime2_tr+0x4b2>
mov    -0x18(%rbp),%rax
mov    %rax,-0xd8(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0xcc(%rbp)
mov    -0x40(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0xc8(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0xbc(%rbp)
mov    -0x44(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0xb8(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0xd8(%rbp),%rdi
mov    -0xcc(%rbp),%edx
mov    -0xc8(%rbp),%rcx
mov    -0xbc(%rbp),%r8d
mov    -0xb8(%rbp),%r9
lea    0x1aec(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
cmpl   $0x0,-0x24(%rbp)
jne    16ac <ftime2_tr+0x4ec>
mov    -0x18(%rbp),%rdi
lea    0x1ac3(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    171d <ftime2_tr+0x55d>
mov    -0x18(%rbp),%rdi
lea    0x1b7c(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
mov    $0x1,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0x1a2a(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    0x18(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x2,-0x3c(%rbp)
jne    1864 <ftime2_tr+0x6a4>
cmpl   $0x0,-0x4c(%rbp)
jne    1864 <ftime2_tr+0x6a4>
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
mov    $0x2,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movzbl 0x6(%rax),%eax
cmp    $0x0,%eax
jne    182d <ftime2_tr+0x66d>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movzbl 0x5(%rax),%eax
shl    $0x8,%eax
mov    -0x10(%rbp),%rcx
mov    0x8(%rcx),%rcx
movzbl 0x6(%rcx),%ecx
add    %ecx,%eax
cmp    $0x7,%eax
jne    182d <ftime2_tr+0x66d>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rax
movzbl 0x9(%rax),%eax
cmp    $0x0,%eax
jne    182d <ftime2_tr+0x66d>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movzbl 0x9(%rax),%eax
cmp    $0x5,%eax
jg     182d <ftime2_tr+0x66d>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rax
movzbl 0xa(%rax),%eax
cmp    $0x4,%eax
je     1809 <ftime2_tr+0x649>
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rax
movzbl 0xa(%rax),%eax
cmp    $0x5,%eax
jne    182d <ftime2_tr+0x66d>
cmpl   $0xff,-0x38(%rbp)
jne    182d <ftime2_tr+0x66d>
mov    -0x18(%rbp),%rdi
lea    0x194b(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    1858 <ftime2_tr+0x698>
mov    -0x18(%rbp),%rax
mov    %rax,-0xe0(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0xe0(%rbp),%rdi
mov    %rax,%rdx
lea    0x1918(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x2,-0x3c(%rbp)
jne    1921 <ftime2_tr+0x761>
mov    0x18(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
mov    $0x2,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x50(%rbp)
lea    -0x54(%rbp),%rdi
lea    -0x50(%rbp),%rsi
call   1080 <normalize_time_range@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0xf8(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,-0xf0(%rbp)
mov    -0x50(%rbp),%eax
mov    %eax,-0xe4(%rbp)
mov    -0x54(%rbp),%edi
call   1070 <time_range2a@plt>
mov    -0xf8(%rbp),%rdi
mov    -0xf0(%rbp),%rdx
mov    -0xe4(%rbp),%ecx
mov    %rax,%r8
lea    0x1864(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x3,-0x3c(%rbp)
jne    1a24 <ftime2_tr+0x864>
cmpl   $0x0,-0x4c(%rbp)
jne    1a24 <ftime2_tr+0x864>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x110(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x104(%rbp)
mov    -0x40(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0x100(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x110(%rbp),%rdi
mov    -0x104(%rbp),%edx
mov    -0x100(%rbp),%rcx
mov    %rax,%r8
lea    0x17ef(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x40(%rbp),%edx
xor    %ecx,%ecx
sub    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
mov    $0x3,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0x1748(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x3,-0x3c(%rbp)
jne    1a8a <ftime2_tr+0x8ca>
mov    -0x18(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,-0x120(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x114(%rbp)
mov    -0x28(%rbp),%edi
call   1070 <time_range2a@plt>
mov    -0x128(%rbp),%rdi
mov    -0x120(%rbp),%rdx
mov    -0x114(%rbp),%ecx
mov    %rax,%r8
lea    0x171b(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x4,-0x3c(%rbp)
jne    1af0 <ftime2_tr+0x930>
mov    -0x18(%rbp),%rax
mov    %rax,-0x140(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,-0x138(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x12c(%rbp)
mov    -0x28(%rbp),%edi
call   1070 <time_range2a@plt>
mov    -0x140(%rbp),%rdi
mov    -0x138(%rbp),%rdx
mov    -0x12c(%rbp),%ecx
mov    %rax,%r8
lea    0x16cf(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x5,-0x3c(%rbp)
jne    1b59 <ftime2_tr+0x999>
mov    -0x28(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x40(%rbp),%edx
mov    -0x48(%rbp),%ecx
mov    -0x18(%rbp),%r9
mov    $0x2,%r8d
call   10e0 <print_ftime2@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x148(%rbp),%rdi
mov    %rax,%rdx
lea    0x1674(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
cmpl   $0x5,-0x3c(%rbp)
jle    1b78 <ftime2_tr+0x9b8>
mov    -0x18(%rbp),%rdi
mov    -0x3c(%rbp),%edx
lea    0x1667(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x0,-0x4c(%rbp)
jne    1ba1 <ftime2_tr+0x9e1>
lea    0x1656(%rip),%rdi
lea    0x14b3(%rip),%rsi
call   10b0 <fatal_error@plt>
cmpl   $0xff,-0x40(%rbp)
je     1bbb <ftime2_tr+0x9fb>
cmpl   $0xff,-0x44(%rbp)
jne    1bce <ftime2_tr+0xa0e>
lea    0x1648(%rip),%rdi
lea    0x1486(%rip),%rsi
call   10b0 <fatal_error@plt>
cmpl   $0x1,-0x3c(%rbp)
jl     1edf <ftime2_tr+0xd1f>
cmpl   $0x5,-0x3c(%rbp)
jg     1edf <ftime2_tr+0xd1f>
cmpl   $0x1,-0x3c(%rbp)
jne    1c07 <ftime2_tr+0xa47>
lea    0x1640(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x1569(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cc5 <ftime2_tr+0xb05>
cmpl   $0x2,-0x3c(%rbp)
jne    1c2c <ftime2_tr+0xa6c>
lea    0x161b(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x160b(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cc0 <ftime2_tr+0xb00>
cmpl   $0x3,-0x3c(%rbp)
jne    1c51 <ftime2_tr+0xa91>
lea    0x15f5(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x15ed(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cbb <ftime2_tr+0xafb>
cmpl   $0x4,-0x3c(%rbp)
jne    1c76 <ftime2_tr+0xab6>
lea    0x15d1(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x15c1(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cb6 <ftime2_tr+0xaf6>
cmpl   $0x5,-0x3c(%rbp)
jne    1c9b <ftime2_tr+0xadb>
lea    0x1616(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x15a7(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cb1 <ftime2_tr+0xaf1>
lea    0x1599(%rip),%rax
mov    %rax,-0x60(%rbp)
lea    0x1591(%rip),%rax
mov    %rax,-0x68(%rbp)
jmp    1cb6 <ftime2_tr+0xaf6>
jmp    1cbb <ftime2_tr+0xafb>
jmp    1cc0 <ftime2_tr+0xb00>
jmp    1cc5 <ftime2_tr+0xb05>
mov    -0x40(%rbp),%eax
cmp    -0x44(%rbp),%eax
jne    1dcd <ftime2_tr+0xc0d>
mov    -0x48(%rbp),%eax
cltd
idivl  -0x4c(%rbp)
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
lea    -0x44(%rbp),%rdi
lea    -0x4c(%rbp),%rsi
call   10c0 <simple_time_range@plt>
cmpl   $0x4,-0x3c(%rbp)
jne    1d61 <ftime2_tr+0xba1>
mov    -0x18(%rbp),%rax
mov    %rax,-0x160(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x158(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x154(%rbp)
mov    -0x44(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0x150(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x160(%rbp),%rdi
mov    -0x158(%rbp),%edx
mov    -0x154(%rbp),%ecx
mov    -0x150(%rbp),%r8
mov    %rax,%r9
mov    -0x60(%rbp),%rax
lea    0x14f0(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    1dc8 <ftime2_tr+0xc08>
mov    -0x18(%rbp),%rax
mov    %rax,-0x178(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x170(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x16c(%rbp)
mov    -0x44(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0x168(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x178(%rbp),%rdi
mov    -0x170(%rbp),%edx
mov    -0x16c(%rbp),%ecx
mov    -0x168(%rbp),%r8
mov    %rax,%r9
mov    -0x60(%rbp),%rax
lea    0x1493(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   10d0 <sprintf@plt>
jmp    1e50 <ftime2_tr+0xc90>
mov    -0x18(%rbp),%rax
mov    %rax,-0x1a0(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x194(%rbp)
mov    -0x40(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0x190(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x184(%rbp)
mov    -0x44(%rbp),%edi
call   1070 <time_range2a@plt>
mov    %rax,-0x180(%rbp)
mov    -0x38(%rbp),%edi
call   1040 <code_4_10_name@plt>
mov    -0x1a0(%rbp),%rdi
mov    -0x194(%rbp),%edx
mov    -0x190(%rbp),%rcx
mov    -0x184(%rbp),%r8d
mov    -0x180(%rbp),%r9
mov    %rax,%r10
mov    -0x60(%rbp),%rax
lea    0x141e(%rip),%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    -0x2c(%rbp),%r9d
add    $0x1,%r9d
mov    0x10(%rbp),%r10d
mov    0x18(%rbp),%rax
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   10a0 <ftime2_tr@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x68(%rbp),%rdx
lea    0x1313(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    0x18(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x0,-0x4(%rbp)
jmp    201a <ftime2_tr+0xe5a>
cmpl   $0x0,-0x3c(%rbp)
jne    1f7f <ftime2_tr+0xdbf>
mov    -0x18(%rbp),%rdi
lea    0x137c(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    -0x2c(%rbp),%r9d
add    $0x1,%r9d
mov    0x10(%rbp),%r10d
mov    0x18(%rbp),%rax
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   10a0 <ftime2_tr@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0x12d0(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    0x18(%rbp),%rax
movl   $0x1,(%rax)
jmp    2013 <ftime2_tr+0xe53>
mov    -0x18(%rbp),%rdi
mov    -0x3c(%rbp),%edx
lea    0x12ff(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    -0x2c(%rbp),%r9d
add    $0x1,%r9d
mov    0x10(%rbp),%r10d
mov    0x18(%rbp),%rax
mov    %r10d,(%rsp)
mov    %rax,0x8(%rsp)
call   10a0 <ftime2_tr@plt>
mov    -0x18(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0x1237(%rip),%rsi
mov    $0x0,%al
call   10d0 <sprintf@plt>
mov    0x18(%rbp),%rax
movl   $0x1,(%rax)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ftime2_tr>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9d,%r12d
mov    %r8d,%r15d
mov    %ecx,%r14d
mov    %rsi,%rbx
mov    %rdi,%rbp
mov    0x90(%rsp),%eax
mov    %rdx,0x48(%rsp)
movzbl 0x7(%rdx),%r13d
cmp    $0x63,%eax
jne    1220 <ftime2_tr+0x50>
mov    0x2dd6(%rip),%rax
mov    (%rax),%edi
lea    0xded(%rip),%rsi
mov    %r12d,%edx
mov    %r13d,%ecx
xor    %eax,%eax
call   10a0 <fprintf@plt>
test   %r13d,%r13d
je     1251 <ftime2_tr+0x81>
mov    %rbp,0x28(%rsp)
mov    %rbx,0x10(%rsp)
test   %r12d,%r12d
jne    12bf <ftime2_tr+0xef>
mov    0x28(%rsp),%rbx
mov    0x20(%rbx),%rdi
test   %rdi,%rdi
je     126f <ftime2_tr+0x9f>
call   1060 <uint4@plt>
mov    0x20(%rbx),%rdi
jmp    1273 <ftime2_tr+0xa3>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0xdae(%rip),%rsi
xor    %edx,%edx
xor    %eax,%eax
call   10a0 <fprintf@plt>
jmp    1adb <ftime2_tr+0x90b>
xor    %edi,%edi
xor    %eax,%eax
cltq
lea    0x0(,%r13,2),%rcx
add    %r13,%rcx
mov    0x48(%rsp),%rdx
lea    (%rdx,%rcx,4),%rbx
add    $0xc,%rbx
mov    %rbx,%rcx
sub    %rdi,%rcx
cmp    %rax,%rcx
jle    12bf <ftime2_tr+0xef>
mov    0x2d41(%rip),%rax
mov    (%rax),%ebp
test   %rdi,%rdi
je     16cf <ftime2_tr+0x4ff>
call   1060 <uint4@plt>
mov    %eax,%edx
mov    0x28(%rsp),%rax
mov    0x20(%rax),%rax
jmp    16d3 <ftime2_tr+0x503>
mov    %r15d,0x8(%rsp)
mov    %r14d,0x4(%rsp)
movslq %r12d,%rax
shl    $0x2,%rax
lea    (%rax,%rax,2),%rbx
mov    0x48(%rsp),%r14
movzbl 0xc(%r14,%rbx,1),%r15d
movzbl 0xd(%r14,%rbx,1),%eax
mov    %rax,0x20(%rsp)
mov    %r12d,0x40(%rsp)
movzbl 0xe(%r14,%rbx,1),%r12d
movslq %ebx,%rbp
lea    (%r14,%rbp,1),%rdi
add    $0xf,%rdi
call   1030 <int4@plt>
mov    %eax,0x18(%rsp)
movzbl 0x13(%r14,%rbx,1),%ebx
mov    %ebx,0x3c(%rsp)
lea    (%r14,%rbp,1),%rdi
add    $0x14,%rdi
call   1030 <int4@plt>
mov    %eax,%ebp
mov    %eax,0x38(%rsp)
mov    0x90(%rsp),%eax
cmp    $0x63,%eax
mov    %r15d,0xc(%rsp)
mov    %rbx,0x50(%rsp)
mov    %r12d,0x1c(%rsp)
jne    13ad <ftime2_tr+0x1dd>
mov    0x2c98(%rip),%rax
mov    (%rax),%edi
lea    0xd62(%rip),%rsi
mov    %r15d,%edx
mov    0x20(%rsp),%r15
mov    %r15d,%ecx
mov    %r12d,%r8d
mov    0x18(%rsp),%r14d
mov    %r14d,%r9d
xor    %eax,%eax
push   %rbp
push   %rbx
call   10a0 <fprintf@plt>
add    $0x10,%rsp
add    $0xffffffff,%r13d
mov    0x40(%rsp),%r12d
cmp    %r12d,%r13d
jne    145d <ftime2_tr+0x28d>
mov    0x2c53(%rip),%rax
mov    (%rax),%edi
lea    0xd53(%rip),%rsi
mov    %r15d,%edx
mov    %r14d,%ecx
mov    %ebp,%r8d
mov    0x4(%rsp),%r9d
xor    %eax,%eax
call   10a0 <fprintf@plt>
jmp    13c9 <ftime2_tr+0x1f9>
add    $0xffffffff,%r13d
mov    0x40(%rsp),%r12d
cmp    %r12d,%r13d
mov    0x18(%rsp),%r14d
mov    0x20(%rsp),%r15
jne    145d <ftime2_tr+0x28d>
test   %r15d,%r15d
je     155b <ftime2_tr+0x38b>
cmp    $0x1,%r15b
jne    157a <ftime2_tr+0x3aa>
test   %ebp,%ebp
jne    157a <ftime2_tr+0x3aa>
mov    0x10(%rsp),%rbx
mov    %rbx,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbp
add    %rbx,%rbp
mov    0x1c(%rsp),%edi
xor    %esi,%esi
mov    %edi,%edx
mov    %r14d,%ecx
mov    $0x2,%r8d
mov    %rbp,%r9
call   10f0 <print_ftime2@plt>
mov    %rbp,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %rbp,%rbx
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%r14
mov    0x4(%rsp),%ebp
test   %ebp,%ebp
je     1833 <ftime2_tr+0x663>
mov    0x8(%rsp),%edi
call   1080 <time_range2a@plt>
lea    0xcf1(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
mov    %ebp,%ecx
mov    %rax,%r8
xor    %eax,%eax
call   10e0 <sprintf@plt>
jmp    1847 <ftime2_tr+0x677>
test   %ebp,%ebp
jne    1474 <ftime2_tr+0x2a4>
lea    0xd83(%rip),%rdi
lea    0xbe0(%rip),%rsi
call   10c0 <fatal_error@plt>
mov    0x1c(%rsp),%ebx
cmp    $0xff,%bl
mov    0x50(%rsp),%r13
je     1488 <ftime2_tr+0x2b8>
cmp    $0xff,%r13b
jne    149b <ftime2_tr+0x2cb>
lea    0xd7b(%rip),%rdi
lea    0xbb9(%rip),%rsi
call   10c0 <fatal_error@plt>
lea    -0x1(%r15),%eax
cmp    $0x4,%al
ja     1534 <ftime2_tr+0x364>
lea    -0x1(%r15),%eax
cmp    $0x3,%al
ja     15ec <ftime2_tr+0x41c>
movsbq %al,%rax
lea    0xdde(%rip),%rcx
movslq (%rcx,%rax,4),%r14
add    %rcx,%r14
lea    0xde0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
mov    %rax,0x20(%rsp)
cmp    %bl,%r13b
je     1608 <ftime2_tr+0x438>
mov    %ebx,%edi
call   1080 <time_range2a@plt>
mov    %rax,0x40(%rsp)
mov    %r13d,%edi
call   1080 <time_range2a@plt>
mov    %r14,%r15
mov    %rax,%r14
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%rbx
lea    0xd4a(%rip),%rsi
mov    0x10(%rsp),%r13
mov    %r13,%rdi
mov    0x18(%rsp),%edx
mov    0x40(%rsp),%rcx
mov    %ebp,%r8d
mov    %r14,%r9
xor    %eax,%eax
push   %r15
push   %rbx
call   10e0 <sprintf@plt>
jmp    17be <ftime2_tr+0x5ee>
test   %r15d,%r15d
je     165a <ftime2_tr+0x48a>
lea    0xd42(%rip),%rsi
mov    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   10e0 <sprintf@plt>
jmp    1675 <ftime2_tr+0x4a5>
movups 0xbbd(%rip),%xmm0
mov    0x10(%rsp),%rax
movups %xmm0,0x9(%rax)
movups 0xba4(%rip),%xmm0
movups %xmm0,(%rax)
jmp    1adb <ftime2_tr+0x90b>
mov    %r14d,%r13d
cmp    $0x1,%r15b
mov    0x1c(%rsp),%edx
jne    16ee <ftime2_tr+0x51e>
mov    0x10(%rsp),%r14
mov    %r14,%rdi
call   1070 <strlen@plt>
mov    0x1c(%rsp),%edi
movslq %eax,%r12
add    %r14,%r12
mov    0x50(%rsp),%rbx
cmp    %dil,%bl
jne    1854 <ftime2_tr+0x684>
mov    %r13d,%eax
cltd
idiv   %ebp
lea    0x1(%rax),%r14d
call   1080 <time_range2a@plt>
mov    %rax,%rbx
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
lea    0xb75(%rip),%rsi
mov    %r12,%rdi
mov    %r14d,%edx
mov    %ebp,%ecx
mov    %rbx,%r8
mov    %rax,%r9
xor    %eax,%eax
call   10e0 <sprintf@plt>
jmp    1899 <ftime2_tr+0x6c9>
lea    0xc46(%rip),%rax
mov    %rax,0x20(%rsp)
lea    0xc98(%rip),%r14
cmp    %bl,%r13b
jne    14e1 <ftime2_tr+0x311>
mov    0x18(%rsp),%eax
cltd
idiv   %ebp
mov    %eax,%ebx
add    $0x1,%ebx
lea    0x3c(%rsp),%rdi
lea    0x38(%rsp),%rsi
call   10d0 <simple_time_range@plt>
mov    0x38(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x3c(%rsp),%edi
call   1080 <time_range2a@plt>
mov    %rax,%rbp
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
sub    $0x8,%rsp
cmp    $0x4,%r15b
jne    179a <ftime2_tr+0x5ca>
lea    0xbe6(%rip),%rsi
jmp    17a1 <ftime2_tr+0x5d1>
movups 0xc15(%rip),%xmm0
mov    0x10(%rsp),%rbp
movups %xmm0,0xc(%rbp)
movups 0xbf9(%rip),%xmm0
movups %xmm0,0x0(%rbp)
mov    %rbp,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %rbp,%rbx
add    $0x1,%r12d
mov    0x28(%rsp),%rdi
mov    %rbx,%rsi
mov    0x48(%rsp),%rdx
mov    0x4(%rsp),%ecx
mov    0x8(%rsp),%r8d
mov    %r12d,%r9d
mov    0x98(%rsp),%rbp
push   %rbp
mov    0x98(%rsp),%eax
push   %rax
call   10b0 <ftime2_tr@plt>
add    $0x10,%rsp
mov    %rbx,%rdi
call   1070 <strlen@plt>
cltq
movw   $0x5d,(%rax,%rbx,1)
jmp    1827 <ftime2_tr+0x657>
xor    %eax,%eax
xor    %edx,%edx
sub    %rax,%rbx
lea    0x973(%rip),%rsi
mov    %ebp,%edi
mov    %rbx,%rcx
xor    %eax,%eax
call   10a0 <fprintf@plt>
jmp    1adb <ftime2_tr+0x90b>
cmp    $0x2,%r15b
jne    1902 <ftime2_tr+0x732>
test   %ebp,%ebp
jne    1902 <ftime2_tr+0x732>
mov    0x8(%rsp),%edi
mov    0x4(%rsp),%esi
mov    %r13d,%ecx
mov    $0x2,%r8d
mov    0x10(%rsp),%rbp
mov    %rbp,%r9
call   10f0 <print_ftime2@plt>
mov    %rbp,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %rbp,%rbx
mov    0x28(%rsp),%rdx
mov    (%rdx),%rax
cmpb   $0x0,0x6(%rax)
mov    0xc(%rsp),%edi
jne    1991 <ftime2_tr+0x7c1>
mov    0x8(%rdx),%rax
movzwl 0x5(%rax),%ecx
shl    $0x10,%ecx
bswap  %ecx
cmp    $0x7,%ecx
jne    1991 <ftime2_tr+0x7c1>
mov    0x20(%rdx),%rcx
cmpb   $0x0,0x9(%rcx)
jne    1991 <ftime2_tr+0x7c1>
cmpb   $0x5,0x9(%rax)
ja     1991 <ftime2_tr+0x7c1>
mov    0xa(%rcx),%al
cmp    $0x4,%al
je     177f <ftime2_tr+0x5af>
cmp    $0x5,%al
jne    1991 <ftime2_tr+0x7c1>
cmp    $0xff,%dil
jne    1991 <ftime2_tr+0x7c1>
movw   $0x74,0x4(%rbx)
movl   $0x73636620,(%rbx)
jmp    1adb <ftime2_tr+0x90b>
lea    0xaa9(%rip),%rsi
mov    0x18(%rsp),%r13
mov    %r13,%rdi
mov    %ebx,%edx
mov    0x20(%rsp),%ecx
mov    %rbp,%r8
mov    %rax,%r9
xor    %eax,%eax
push   %r14
call   10e0 <sprintf@plt>
add    $0x10,%rsp
mov    0x4(%rsp),%ebp
mov    0x8(%rsp),%r14d
mov    0x20(%rsp),%r15
mov    %r13,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %r13,%rbx
add    $0x1,%r12d
mov    0x28(%rsp),%rdi
mov    %rbx,%rsi
mov    0x48(%rsp),%rdx
mov    %ebp,%ecx
mov    %r14d,%r8d
mov    %r12d,%r9d
mov    0x98(%rsp),%rbp
push   %rbp
mov    0x98(%rsp),%eax
push   %rax
call   10b0 <ftime2_tr@plt>
add    $0x10,%rsp
mov    %rbx,%rdi
call   1070 <strlen@plt>
movslq %eax,%rdi
add    %rbx,%rdi
mov    %r15,%rsi
call   1050 <strcpy@plt>
movl   $0x1,0x0(%rbp)
jmp    1adb <ftime2_tr+0x90b>
lea    0x8f5(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   10e0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
jmp    1adb <ftime2_tr+0x90b>
call   1080 <time_range2a@plt>
mov    %rax,%r14
mov    %ebx,%edi
call   1080 <time_range2a@plt>
mov    %rax,%r15
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%r10
sub    $0x8,%rsp
lea    0x8d6(%rip),%rsi
mov    %r12,%rdi
mov    %r13d,%edx
mov    %r14,%rcx
mov    %ebp,%r8d
mov    %r15,%r9
xor    %eax,%eax
push   %r10
call   10e0 <sprintf@plt>
add    $0x10,%rsp
mov    %r12,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %r12,%rbx
mov    0x4(%rsp),%r14d
test   %r14d,%r14d
je     19af <ftime2_tr+0x7df>
movw   $0x28,(%rbx)
mov    %rbx,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbp
add    %rbx,%rbp
mov    0x8(%rsp),%edi
mov    %r14d,%esi
mov    0x1c(%rsp),%edx
mov    %r13d,%ecx
mov    $0x1,%r8d
mov    %rbp,%r9
call   10f0 <print_ftime2@plt>
mov    %rbp,%rdi
call   1070 <strlen@plt>
cltq
movl   $0x73636620,(%rax,%rbp,1)
movl   $0x297473,0x3(%rax,%rbp,1)
jmp    19bb <ftime2_tr+0x7eb>
cmp    $0x2,%r15b
jne    19ce <ftime2_tr+0x7fe>
mov    0x98(%rsp),%rax
movl   $0x1,(%rax)
mov    0x8(%rsp),%edi
mov    0x4(%rsp),%esi
mov    %r13d,%ecx
mov    $0x2,%r8d
mov    0x10(%rsp),%r14
mov    %r14,%r9
call   10f0 <print_ftime2@plt>
mov    %r14,%rdi
call   1070 <strlen@plt>
movslq %eax,%r15
add    %r14,%r15
mov    0x50(%rsp),%rax
mov    %eax,0x30(%rsp)
mov    %ebp,0x34(%rsp)
lea    0x30(%rsp),%rdi
lea    0x34(%rsp),%rsi
call   1090 <normalize_time_range@plt>
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%rbx
mov    0x34(%rsp),%r14d
mov    0x30(%rsp),%edi
call   1080 <time_range2a@plt>
lea    0x7ef(%rip),%rsi
mov    %r15,%rdi
mov    %rbx,%rdx
mov    %r14d,%ecx
jmp    1ad1 <ftime2_tr+0x901>
call   1040 <code_4_10_name@plt>
lea    0x7cc(%rip),%rsi
mov    %rbx,%rdi
mov    %rax,%rdx
xor    %eax,%eax
call   10e0 <sprintf@plt>
jmp    1adb <ftime2_tr+0x90b>
movw   $0x29,0x4(%rbx)
movl   $0x6c6e6128,(%rbx)
mov    0x98(%rsp),%rax
movl   $0x1,(%rax)
jmp    1adb <ftime2_tr+0x90b>
cmp    $0x3,%r15b
jne    1a75 <ftime2_tr+0x8a5>
test   %ebp,%ebp
jne    1a75 <ftime2_tr+0x8a5>
mov    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %edx,%r14d
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %rbp,%rbx
mov    %r14d,%edi
call   1080 <time_range2a@plt>
mov    %rax,%rbp
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
lea    0x775(%rip),%rsi
mov    %rbx,%rdi
mov    %r13d,%edx
mov    %rbp,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   10e0 <sprintf@plt>
mov    %rbx,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbp
add    %rbx,%rbp
neg    %r13d
mov    0x8(%rsp),%edi
mov    0x4(%rsp),%esi
mov    %r14d,%edx
mov    %r13d,%ecx
mov    $0x3,%r8d
mov    %rbp,%r9
call   10f0 <print_ftime2@plt>
mov    %rbp,%rdi
call   1070 <strlen@plt>
cltq
lea    (%rax,%rbp,1),%rdi
movl   $0x73636620,(%rax,%rbp,1)
movl   $0x297473,0x3(%rax,%rbp,1)
call   1070 <strlen@plt>
jmp    1adb <ftime2_tr+0x90b>
cmp    $0x3,%r15b
jne    1a99 <ftime2_tr+0x8c9>
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%rbx
mov    0x8(%rsp),%edi
call   1080 <time_range2a@plt>
lea    0x6fb(%rip),%rsi
jmp    1ac5 <ftime2_tr+0x8f5>
cmp    $0x5,%r15b
je     1aec <ftime2_tr+0x91c>
cmp    $0x4,%r15b
jne    1b2d <ftime2_tr+0x95d>
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
mov    %rax,%rbx
mov    0x8(%rsp),%edi
call   1080 <time_range2a@plt>
lea    0x6e7(%rip),%rsi
mov    0x10(%rsp),%rdi
mov    %rbx,%rdx
mov    0x4(%rsp),%ecx
mov    %rax,%r8
xor    %eax,%eax
call   10e0 <sprintf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x8(%rsp),%edi
mov    0x4(%rsp),%esi
mov    %r13d,%ecx
mov    $0x2,%r8d
mov    0x10(%rsp),%rbp
mov    %rbp,%r9
call   10f0 <print_ftime2@plt>
mov    %rbp,%rdi
call   1070 <strlen@plt>
movslq %eax,%rbx
add    %rbp,%rbx
mov    0xc(%rsp),%edi
call   1040 <code_4_10_name@plt>
lea    0x69e(%rip),%rsi
jmp    199d <ftime2_tr+0x7cd>
lea    0x6a4(%rip),%rsi
mov    0x10(%rsp),%rdi
mov    %r15d,%edx
xor    %eax,%eax
call   10e0 <sprintf@plt>
jmp    1adb <ftime2_tr+0x90b>

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [15 x i8] c" n=%d nmax=%d \00"
@.str.1 = [65 x i8] c"** WARNING bad grib message: Statistical Processing bad n=%d **\0A\00"
@.str.2 = [99 x i8] c"** WARNING bad grib message: sec4 len (Statistical Processing): found %u .. needs at least %ld **\0A\00"
@.str.3 = [54 x i8] c">> 4.10=%d 4.11=%d 4.4a=%d timea=%d 4.4b=%d timeb=%d\0A\00"
@.str.4 = [45 x i8] c"code 4.11 %d timea %d timeb %d fcst_time %d\0A\00"
@.str.5 = [25 x i8] c"Code Table 4.11=reserved\00"
@.str.6 = [8 x i8] c" %s anl\00"
@.str.7 = [16 x i8] c" %s(%d %s fcst)\00"
@.str.8 = [12 x i8] c"%d@%d %s %s\00"
@.str.9 = [16 x i8] c"%d %ss@%d %s %s\00"
@.str.10 = [6 x i8] c"(anl)\00"
@.str.11 = [2 x i8] c"(\00"
@.str.12 = [7 x i8] c" fcst)\00"
@.str.13 = [6 x i8] c" fcst\00"
@.str.14 = [9 x i8] c" %s fcst\00"
@.str.15 = [20 x i8] c" %s@(fcst,dt=%d %s)\00"
@.str.16 = [12 x i8] c"0-%d %s %s(\00"
@.str.17 = [26 x i8] c"ensemble %s-3 valid %d %s\00"
@.str.18 = [26 x i8] c"ensemble %s-4 valid %d %s\00"
@.str.19 = [18 x i8] c" (subinterval) %s\00"
@.str.20 = [19 x i8] c"Code Table 4.11=%d\00"
@.str.21 = [31 x i8] c"ftime2: time increment is zero\00"
@.str.22 = [1 x i8] zeroinitializer
@.str.23 = [36 x i8] c"ftime2: code table 4.4 is undefined\00"
@.str.24 = [2 x i8] c")\00"
@.str.25 = [4 x i8] c")++\00"
@.str.26 = [3 x i8] c" (\00"
@.str.27 = [4 x i8] c")--\00"
@.str.28 = [4 x i8] c" ?[\00"
@.str.29 = [2 x i8] c"]\00"
@.str.32 = [15 x i8] c"%d@-%d %s %s%s\00"
@.str.33 = [14 x i8] c"%d@%d %s %s%s\00"
@.str.34 = [18 x i8] c"%d %ss@%d %s %s%s\00"
@.str.36 = [28 x i8] c"Code Table 4.11=reserved ?[\00"
@.str.37 = [21 x i8] c"CodeTable 4.11=%d ?[\00"
@reltable.ftime2_tr = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.11 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.11 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.26 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.11 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr to i64)) to i32)]
@reltable.ftime2_tr.39 = [4 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.24 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr.39 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.25 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr.39 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.27 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr.39 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.25 to i64), i64 ptrtoint ([4 x i32]* @reltable.ftime2_tr.39 to i64)) to i32)]
define i32 @ftime2_tr(i8** %0, i8* %1, i8* %2, i32 %3, i32 %4, i32 %5, i32 %6, i32* %7) {
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = bitcast i32* %9 to i8*
%14 = bitcast i32* %10 to i8*
%15 = bitcast i32* %11 to i8*
%16 = bitcast i32* %12 to i8*
%17 = getelementptr inbounds i8, i8* %2, i64 7
%18 = load i8, i8* %17
%19 = zext i8 %18 to i32
%20 = icmp eq i32 %6, 99
br i1 %20, label %21, label %24
21: ; preds = %8
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %5, i32 %19)
br label %24
24: ; preds = %21, %8
%25 = icmp eq i8 %18, 0
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = load i32, i32* @stderr
%28 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0), i32 0)
br label %327
29: ; preds = %24
%30 = icmp eq i32 %5, 0
br i1 %30, label %31, label %62
31: ; preds = %29
%32 = getelementptr inbounds i8*, i8** %0, i64 4
%33 = load i8*, i8** %32
%34 = icmp eq i8* %33, null
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = tail call i32 @uint4(i8* %33)
%37 = load i8*, i8** %32
br label %38
38: ; preds = %31, %35
%39 = phi i8* [ null, %31 ], [ %37, %35 ]
%40 = phi i32 [ 0, %31 ], [ %36, %35 ]
%41 = sext i32 %40 to i64
%42 = ptrtoint i8* %2 to i64
%43 = ptrtoint i8* %39 to i64
%44 = mul nuw nsw i32 %19, 12
%45 = add nuw nsw i32 %44, 12
%46 = zext i32 %45 to i64
%47 = add i64 %46, %42
%48 = sub i64 %47, %43
%49 = icmp sgt i64 %48, %41
br i1 %49, label %50, label %62
50: ; preds = %38
%51 = load i32, i32* @stderr
%52 = icmp eq i8* %39, null
br i1 %52, label %57, label %53
53: ; preds = %50
%54 = tail call i32 @uint4(i8* %39)
%55 = load i8*, i8** %32
%56 = ptrtoint i8* %55 to i64
br label %57
57: ; preds = %50, %53
%58 = phi i64 [ %56, %53 ], [ 0, %50 ]
%59 = phi i32 [ %54, %53 ], [ 0, %50 ]
%60 = sub i64 %47, %58
%61 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %51, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.2, i64 0, i64 0), i32 %59, i64 %60)
br label %327
62: ; preds = %38, %29
%63 = mul nsw i32 %5, 12
%64 = add nsw i32 %63, 12
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, i8* %2, i64 %65
%67 = load i8, i8* %66
%68 = zext i8 %67 to i32
%69 = add nsw i32 %63, 13
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, i8* %2, i64 %70
%72 = load i8, i8* %71
%73 = zext i8 %72 to i32
%74 = add nsw i32 %63, 14
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, i8* %2, i64 %75
%77 = load i8, i8* %76
%78 = zext i8 %77 to i32
%79 = getelementptr inbounds i8, i8* %2, i64 15
%80 = sext i32 %63 to i64
%81 = getelementptr inbounds i8, i8* %79, i64 %80
%82 = tail call i32 @int4(i8* %81)
%83 = add nsw i32 %63, 19
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, i8* %2, i64 %84
%86 = load i8, i8* %85
%87 = zext i8 %86 to i32
store i32 %87, i32* %9
%88 = getelementptr inbounds i8, i8* %2, i64 20
%89 = getelementptr inbounds i8, i8* %88, i64 %80
%90 = tail call i32 @int4(i8* %89)
store i32 %90, i32* %10
br i1 %20, label %91, label %96
91: ; preds = %62
%92 = load i32, i32* @stderr
%93 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %92, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0), i32 %68, i32 %73, i32 %78, i32 %82, i32 %87, i32 %90)
%94 = add nsw i32 %19, -1
%95 = icmp eq i32 %94, %5
br i1 %95, label %99, label %257
96: ; preds = %62
%97 = add nsw i32 %19, -1
%98 = icmp eq i32 %97, %5
br i1 %98, label %102, label %257
99: ; preds = %91
%100 = load i32, i32* @stderr
%101 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %100, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i32 %73, i32 %82, i32 %90, i32 %3)
br label %102
102: ; preds = %96, %99
%103 = icmp eq i8 %72, 0
br i1 %103, label %104, label %105
104: ; preds = %102
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(25) %1, i8* align 1 dereferenceable(25) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i64 25, i1 false)
br label %327
105: ; preds = %102
%106 = icmp eq i8 %72, 1
%107 = icmp eq i32 %90, 0
%108 = select i1 %106, i1 %107, i1 false
br i1 %108, label %109, label %126
109: ; preds = %105
%110 = tail call i32 @strlen(i8* %1)
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, i8* %1, i64 %111
%113 = tail call i32 @print_ftime2(i32 %78, i32 0, i32 %78, i32 %82, i32 2, i8* %112)
%114 = tail call i32 @strlen(i8* %112)
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, i8* %112, i64 %115
%117 = icmp eq i32 %3, 0
%118 = tail call i8* @code_4_10_name(i32 %68)
br i1 %117, label %119, label %121
119: ; preds = %109
%120 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %116, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %118)
br label %124
121: ; preds = %109
%122 = tail call i8* @time_range2a(i32 %4)
%123 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %116, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i8* %118, i32 %3, i8* %122)
br label %124
124: ; preds = %121, %119
%125 = tail call i32 @strlen(i8* %116)
br label %327
126: ; preds = %105
br i1 %106, label %127, label %159
127: ; preds = %126
%128 = tail call i32 @strlen(i8* %1)
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8, i8* %1, i64 %129
%131 = icmp eq i8 %86, %77
br i1 %131, label %132, label %138
132: ; preds = %127
%133 = sdiv i32 %82, %90
%134 = add nsw i32 %133, 1
%135 = tail call i8* @time_range2a(i32 %78)
%136 = tail call i8* @code_4_10_name(i32 %68)
%137 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %130, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 %134, i32 %90, i8* %135, i8* %136)
br label %143
138: ; preds = %127
%139 = tail call i8* @time_range2a(i32 %78)
%140 = tail call i8* @time_range2a(i32 %87)
%141 = tail call i8* @code_4_10_name(i32 %68)
%142 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %130, i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 %82, i8* %139, i32 %90, i8* %140, i8* %141)
br label %143
143: ; preds = %138, %132
%144 = tail call i32 @strlen(i8* %130)
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, i8* %130, i64 %145
%147 = icmp eq i32 %3, 0
br i1 %147, label %148, label %149
148: ; preds = %143
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(6) %146, i8* align 1 dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i64 6, i1 false)
br label %158
149: ; preds = %143
%150 = bitcast i8* %146 to i16*
store i16 40, i16* %150
%151 = tail call i32 @strlen(i8* %146)
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i8, i8* %146, i64 %152
%154 = tail call i32 @print_ftime2(i32 %4, i32 %3, i32 %78, i32 %82, i32 1, i8* %153)
%155 = tail call i32 @strlen(i8* %153)
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i8, i8* %153, i64 %156
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(7) %157, i8* align 1 dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i64 7, i1 false)
br label %158
158: ; preds = %149, %148
store i32 1, i32* %7
br label %327
159: ; preds = %126
%160 = icmp eq i8 %72, 2
%161 = select i1 %160, i1 %107, i1 false
br i1 %161, label %162, label %207
162: ; preds = %159
%163 = tail call i32 @print_ftime2(i32 %4, i32 %3, i32 %78, i32 %82, i32 2, i8* %1)
%164 = tail call i32 @strlen(i8* %1)
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i8, i8* %1, i64 %165
%167 = load i8*, i8** %0
%168 = getelementptr inbounds i8, i8* %167, i64 6
%169 = load i8, i8* %168
%170 = icmp eq i8 %169, 0
br i1 %170, label %171, label %204
171: ; preds = %162
%172 = getelementptr inbounds i8*, i8** %0, i64 1
%173 = load i8*, i8** %172
%174 = getelementptr inbounds i8, i8* %173, i64 5
%175 = load i8, i8* %174
%176 = zext i8 %175 to i32
%177 = shl nuw nsw i32 %176, 8
%178 = getelementptr inbounds i8, i8* %173, i64 6
%179 = load i8, i8* %178
%180 = zext i8 %179 to i32
%181 = or i32 %177, %180
%182 = icmp eq i32 %181, 7
br i1 %182, label %183, label %204
183: ; preds = %171
%184 = getelementptr inbounds i8*, i8** %0, i64 4
%185 = load i8*, i8** %184
%186 = getelementptr inbounds i8, i8* %185, i64 9
%187 = load i8, i8* %186
%188 = icmp eq i8 %187, 0
br i1 %188, label %189, label %204
189: ; preds = %183
%190 = getelementptr inbounds i8, i8* %173, i64 9
%191 = load i8, i8* %190
%192 = icmp ult i8 %191, 6
br i1 %192, label %193, label %204
193: ; preds = %189
%194 = getelementptr inbounds i8, i8* %185, i64 10
%195 = load i8, i8* %194
%196 = icmp eq i8 %195, 4
br i1 %196, label %201, label %197
197: ; preds = %193
%198 = icmp eq i8 %195, 5
%199 = icmp eq i8 %67, -1
%200 = select i1 %198, i1 %199, i1 false
br i1 %200, label %203, label %204
201: ; preds = %193
%202 = icmp eq i8 %67, -1
br i1 %202, label %203, label %204
203: ; preds = %197, %201
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(6) %166, i8* align 1 dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i64 6, i1 false)
br label %327
204: ; preds = %201, %197, %189, %183, %171, %162
%205 = tail call i8* @code_4_10_name(i32 %68)
%206 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %166, i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), i8* %205)
br label %327
207: ; preds = %159
br i1 %160, label %208, label %219
208: ; preds = %207
store i32 1, i32* %7
%209 = tail call i32 @print_ftime2(i32 %4, i32 %3, i32 %78, i32 %82, i32 2, i8* %1)
%210 = tail call i32 @strlen(i8* %1)
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i8, i8* %1, i64 %211
store i32 %87, i32* %12
store i32 %90, i32* %11
%213 = call i32 @normalize_time_range(i32* %12, i32* %11)
%214 = call i8* @code_4_10_name(i32 %68)
%215 = load i32, i32* %11
%216 = load i32, i32* %12
%217 = call i8* @time_range2a(i32 %216)
%218 = call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %212, i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i8* %214, i32 %215, i8* %217)
br label %327
219: ; preds = %207
%220 = icmp eq i8 %72, 3
%221 = select i1 %220, i1 %107, i1 false
br i1 %221, label %222, label %238
222: ; preds = %219
%223 = tail call i32 @strlen(i8* %1)
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, i8* %1, i64 %224
%226 = tail call i8* @time_range2a(i32 %78)
%227 = tail call i8* @code_4_10_name(i32 %68)
%228 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %225, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 %82, i8* %226, i8* %227)
%229 = tail call i32 @strlen(i8* %225)
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, i8* %225, i64 %230
%232 = sub nsw i32 0, %82
%233 = tail call i32 @print_ftime2(i32 %4, i32 %3, i32 %78, i32 %232, i32 3, i8* %231)
%234 = tail call i32 @strlen(i8* %231)
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds i8, i8* %231, i64 %235
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(7) %236, i8* align 1 dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i64 7, i1 false)
%237 = tail call i32 @strlen(i8* %236)
br label %327
238: ; preds = %219
br i1 %220, label %239, label %243
239: ; preds = %238
%240 = tail call i8* @code_4_10_name(i32 %68)
%241 = tail call i8* @time_range2a(i32 %4)
%242 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.17, i64 0, i64 0), i8* %240, i32 %3, i8* %241)
br label %327
243: ; preds = %238
switch i8 %72, label %255 [
i8 4, label %244
i8 5, label %248
]
244: ; preds = %243
%245 = tail call i8* @code_4_10_name(i32 %68)
%246 = tail call i8* @time_range2a(i32 %4)
%247 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.18, i64 0, i64 0), i8* %245, i32 %3, i8* %246)
br label %327
248: ; preds = %243
%249 = tail call i32 @print_ftime2(i32 %4, i32 %3, i32 %78, i32 %82, i32 2, i8* %1)
%250 = tail call i32 @strlen(i8* %1)
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i8, i8* %1, i64 %251
%253 = tail call i8* @code_4_10_name(i32 %68)
%254 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %252, i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %253)
br label %327
255: ; preds = %243
%256 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.20, i64 0, i64 0), i32 %73)
br label %327
257: ; preds = %91, %96
%258 = icmp eq i32 %90, 0
br i1 %258, label %259, label %261
259: ; preds = %257
%260 = tail call i32 @fatal_error(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.22, i64 0, i64 0))
br label %261
261: ; preds = %259, %257
%262 = icmp eq i8 %77, -1
%263 = icmp eq i8 %86, -1
%264 = select i1 %262, i1 true, i1 %263
br i1 %264, label %265, label %267
265: ; preds = %261
%266 = tail call i32 @fatal_error(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.22, i64 0, i64 0))
br label %267
267: ; preds = %261, %265
%268 = add i8 %72, -1
%269 = icmp ult i8 %268, 5
br i1 %269, label %270, label %312
270: ; preds = %267
%271 = add i8 %72, -1
%272 = icmp ult i8 %271, 4
br i1 %272, label %273, label %280
273: ; preds = %270
%274 = sext i8 %271 to i64
%275 = shl i64 %274, 2
%276 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.ftime2_tr to i8*), i64 %275)
%277 = sext i8 %271 to i64
%278 = shl i64 %277, 2
%279 = call i8* @llvm.load.relative.i64(i8* bitcast ([4 x i32]* @reltable.ftime2_tr.39 to i8*), i64 %278)
br label %280
280: ; preds = %270, %273
%281 = phi i8* [ %276, %273 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0), %270 ]
%282 = phi i8* [ %279, %273 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.29, i64 0, i64 0), %270 ]
%283 = icmp eq i8 %86, %77
br i1 %283, label %284, label %297
284: ; preds = %280
%285 = sdiv i32 %82, %90
%286 = add nsw i32 %285, 1
%287 = call i32 @simple_time_range(i32* %9, i32* %10)
%288 = icmp eq i8 %72, 4
%289 = load i32, i32* %10
%290 = load i32, i32* %9
%291 = call i8* @time_range2a(i32 %290)
%292 = call i8* @code_4_10_name(i32 %68)
br i1 %288, label %293, label %295
293: ; preds = %284
%294 = call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.32, i64 0, i64 0), i32 %286, i32 %289, i8* %291, i8* %292, i8* %281)
br label %302
295: ; preds = %284
%296 = call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.33, i64 0, i64 0), i32 %286, i32 %289, i8* %291, i8* %292, i8* %281)
br label %302
297: ; preds = %280
%298 = tail call i8* @time_range2a(i32 %78)
%299 = tail call i8* @time_range2a(i32 %87)
%300 = tail call i8* @code_4_10_name(i32 %68)
%301 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.34, i64 0, i64 0), i32 %82, i8* %298, i32 %90, i8* %299, i8* %300, i8* %281)
br label %302
302: ; preds = %293, %295, %297
%303 = call i32 @strlen(i8* %1)
%304 = sext i32 %303 to i64
%305 = getelementptr inbounds i8, i8* %1, i64 %304
%306 = add nsw i32 %5, 1
%307 = call i32 @ftime2_tr(i8** %0, i8* %305, i8* %2, i32 %3, i32 %4, i32 %306, i32 %6, i32* %7)
%308 = call i32 @strlen(i8* %305)
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds i8, i8* %305, i64 %309
%311 = call i8* @strcpy(i8* dereferenceable(1) %310, i8* dereferenceable(1) %282)
store i32 1, i32* %7
br label %327
312: ; preds = %267
%313 = icmp eq i8 %72, 0
br i1 %313, label %314, label %315
314: ; preds = %312
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(28) %1, i8* align 1 dereferenceable(28) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.36, i64 0, i64 0), i64 28, i1 false)
br label %317
315: ; preds = %312
%316 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %1, i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.37, i64 0, i64 0), i32 %73)
br label %317
317: ; preds = %315, %314
%318 = tail call i32 @strlen(i8* %1)
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds i8, i8* %1, i64 %319
%321 = add nsw i32 %5, 1
%322 = tail call i32 @ftime2_tr(i8** %0, i8* %320, i8* %2, i32 %3, i32 %4, i32 %321, i32 %6, i32* %7)
%323 = tail call i32 @strlen(i8* %320)
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds i8, i8* %320, i64 %324
%326 = bitcast i8* %325 to i16*
store i16 93, i16* %326
store i32 1, i32* %7
br label %327
327: ; preds = %248, %255, %203, %204, %317, %302, %244, %239, %222, %208, %158, %124, %104, %57, %26
ret i32 0
}