#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 */
double atof(char *);
int atoi(char *);
int /*<<< orphan*/ ffpmsg(char *);
scalar_t__ ffs2dt(char *, int *, int *, int *, int *);
scalar_t__ isdigit(int);
int /*<<< orphan*/ sprintf(char *, char *, double);
int strlen(char *);
int ffs2tm(char *datestr, int *year, int *month, int *day, int *hour,
           int *minute, double *second, int *status) {
  int slen;
  char errmsg[81];
  if (*status > 0)
    return (*status);
  if (year)
    *year = 0;
  if (month)
    *month = 0;
  if (day)
    *day = 0;
  if (hour)
    *hour = 0;
  if (minute)
    *minute = 0;
  if (second)
    *second = 0.;
  if (!datestr) {
    ffpmsg("error: null input date string (ffs2tm)");
    return (*status = 420);
  }
  if (datestr[2] == '/' || datestr[4] == '-') {
    if (ffs2dt(datestr, year, month, day, status) > 0)
      return (*status);
    slen = strlen(datestr);
    if (slen == 8 || slen == 10)
      return (*status);
    else if (slen < 19) {
      ffpmsg("input date string has illegal format:");
      ffpmsg(datestr);
      return (*status = 420);
    } else if (datestr[10] == 'T' && datestr[13] == ':' && datestr[16] == ':') {
      if (isdigit((int)datestr[11]) && isdigit((int)datestr[12]) &&
          isdigit((int)datestr[14]) && isdigit((int)datestr[15]) &&
          isdigit((int)datestr[17]) && isdigit((int)datestr[18])) {
        if (slen > 19 && datestr[19] != '.') {
          ffpmsg("input date string has illegal format:");
          ffpmsg(datestr);
          return (*status = 420);
        }
        if (hour)
          *hour = atoi(&datestr[11]);
        if (minute)
          *minute = atoi(&datestr[14]);
        if (second)
          *second = atof(&datestr[17]);
      } else {
        ffpmsg("input date string has illegal format:");
        ffpmsg(datestr);
        return (*status = 420);
      }
    }
  } else {
    if (datestr[2] == ':' && datestr[5] == ':') {
      if (isdigit((int)datestr[0]) && isdigit((int)datestr[1]) &&
          isdigit((int)datestr[3]) && isdigit((int)datestr[4]) &&
          isdigit((int)datestr[6]) && isdigit((int)datestr[7])) {
        if (hour)
          *hour = atoi(&datestr[0]);
        if (minute)
          *minute = atoi(&datestr[3]);
        if (second)
          *second = atof(&datestr[6]);
      } else {
        ffpmsg("input date string has illegal format:");
        ffpmsg(datestr);
        return (*status = 420);
      }
    } else {
      ffpmsg("input date string has illegal format:");
      ffpmsg(datestr);
      return (*status = 420);
    }
  }
  if (hour)
    if (*hour < 0 || *hour > 23) {
      sprintf(errmsg, "hour value is out of range 0 - 23: %d (ffs2tm)", *hour);
      ffpmsg(errmsg);
      return (*status = 420);
    }
  if (minute)
    if (*minute < 0 || *minute > 59) {
      sprintf(errmsg, "minute value is out of range 0 - 59: %d (ffs2tm)",
              *minute);
      ffpmsg(errmsg);
      return (*status = 420);
    }
  if (second)
    if (*second < 0 || *second >= 61.) {
      sprintf(errmsg, "second value is out of range 0 - 60.9999: %f (ffs2tm)",
              *second);
      ffpmsg(errmsg);
      return (*status = 420);
    }
  return (*status);
}


x86 assembly (clang, -O0):
<ffs2tm>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    0x18(%rbp),%rax
cmpl   $0x0,(%rax)
jle    11b6 <ffs2tm+0x46>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
cmpq   $0x0,-0x18(%rbp)
je     11cb <ffs2tm+0x5b>
mov    -0x18(%rbp),%rax
movl   $0x0,(%rax)
cmpq   $0x0,-0x20(%rbp)
je     11e0 <ffs2tm+0x70>
mov    -0x20(%rbp),%rax
movl   $0x0,(%rax)
cmpq   $0x0,-0x28(%rbp)
je     11f5 <ffs2tm+0x85>
mov    -0x28(%rbp),%rax
movl   $0x0,(%rax)
cmpq   $0x0,-0x30(%rbp)
je     120a <ffs2tm+0x9a>
mov    -0x30(%rbp),%rax
movl   $0x0,(%rax)
cmpq   $0x0,-0x38(%rbp)
je     121f <ffs2tm+0xaf>
mov    -0x38(%rbp),%rax
movl   $0x0,(%rax)
cmpq   $0x0,0x10(%rbp)
je     1235 <ffs2tm+0xc5>
mov    0x10(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
cmpq   $0x0,-0x10(%rbp)
jne    1262 <ffs2tm+0xf2>
lea    0xdc1(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
mov    -0x10(%rbp),%rax
movsbl 0x2(%rax),%eax
cmp    $0x2f,%eax
je     1284 <ffs2tm+0x114>
mov    -0x10(%rbp),%rax
movsbl 0x4(%rax),%eax
cmp    $0x2d,%eax
jne    14bf <ffs2tm+0x34f>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    0x18(%rbp),%r8
call   1040 <ffs2dt@plt>
cmp    $0x0,%rax
jle    12b5 <ffs2tm+0x145>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
mov    -0x10(%rbp),%rdi
call   1060 <strlen@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x8,-0x3c(%rbp)
je     12d5 <ffs2tm+0x165>
cmpl   $0xa,-0x3c(%rbp)
jne    12e3 <ffs2tm+0x173>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
cmpl   $0x13,-0x3c(%rbp)
jge    1318 <ffs2tm+0x1a8>
lea    0xd3b(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    -0x10(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
mov    -0x10(%rbp),%rax
movsbl 0xa(%rax),%eax
cmp    $0x54,%eax
jne    14b0 <ffs2tm+0x340>
mov    -0x10(%rbp),%rax
movsbl 0xd(%rax),%eax
cmp    $0x3a,%eax
jne    14b0 <ffs2tm+0x340>
mov    -0x10(%rbp),%rax
movsbl 0x10(%rax),%eax
cmp    $0x3a,%eax
jne    14b0 <ffs2tm+0x340>
mov    -0x10(%rbp),%rax
movsbl 0xb(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
mov    -0x10(%rbp),%rax
movsbl 0xc(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
mov    -0x10(%rbp),%rax
movsbl 0xe(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
mov    -0x10(%rbp),%rax
movsbl 0xf(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
mov    -0x10(%rbp),%rax
movsbl 0x11(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
mov    -0x10(%rbp),%rax
movsbl 0x12(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     1480 <ffs2tm+0x310>
cmpl   $0x13,-0x3c(%rbp)
jle    141b <ffs2tm+0x2ab>
mov    -0x10(%rbp),%rax
movsbl 0x13(%rax),%eax
cmp    $0x2e,%eax
je     141b <ffs2tm+0x2ab>
lea    0xc38(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    -0x10(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
cmpq   $0x0,-0x30(%rbp)
je     143b <ffs2tm+0x2cb>
mov    -0x10(%rbp),%rdi
add    $0xb,%rdi
call   1080 <atoi@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
cmpq   $0x0,-0x38(%rbp)
je     145b <ffs2tm+0x2eb>
mov    -0x10(%rbp),%rdi
add    $0xe,%rdi
call   1080 <atoi@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
mov    %ecx,(%rax)
cmpq   $0x0,0x10(%rbp)
je     147b <ffs2tm+0x30b>
mov    -0x10(%rbp),%rdi
add    $0x11,%rdi
call   1050 <atof@plt>
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    14ab <ffs2tm+0x33b>
lea    0xba8(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    -0x10(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    14b0 <ffs2tm+0x340>
jmp    14b5 <ffs2tm+0x345>
jmp    14ba <ffs2tm+0x34a>
jmp    162b <ffs2tm+0x4bb>
mov    -0x10(%rbp),%rax
movsbl 0x2(%rax),%eax
cmp    $0x3a,%eax
jne    15fb <ffs2tm+0x48b>
mov    -0x10(%rbp),%rax
movsbl 0x5(%rax),%eax
cmp    $0x3a,%eax
jne    15fb <ffs2tm+0x48b>
mov    -0x10(%rbp),%rax
movsbl (%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
mov    -0x10(%rbp),%rax
movsbl 0x3(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
mov    -0x10(%rbp),%rax
movsbl 0x4(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
mov    -0x10(%rbp),%rax
movsbl 0x6(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
mov    -0x10(%rbp),%rax
movsbl 0x7(%rax),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     15cb <ffs2tm+0x45b>
cmpq   $0x0,-0x30(%rbp)
je     1586 <ffs2tm+0x416>
mov    -0x10(%rbp),%rdi
call   1080 <atoi@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
cmpq   $0x0,-0x38(%rbp)
je     15a6 <ffs2tm+0x436>
mov    -0x10(%rbp),%rdi
add    $0x3,%rdi
call   1080 <atoi@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
mov    %ecx,(%rax)
cmpq   $0x0,0x10(%rbp)
je     15c6 <ffs2tm+0x456>
mov    -0x10(%rbp),%rdi
add    $0x6,%rdi
call   1050 <atof@plt>
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    15f6 <ffs2tm+0x486>
lea    0xa5d(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    -0x10(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    1626 <ffs2tm+0x4b6>
lea    0xa2d(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    -0x10(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    162b <ffs2tm+0x4bb>
cmpq   $0x0,-0x30(%rbp)
je     1692 <ffs2tm+0x522>
mov    -0x30(%rbp),%rax
cmpl   $0x0,(%rax)
jl     1650 <ffs2tm+0x4e0>
mov    -0x30(%rbp),%rax
cmpl   $0x17,(%rax)
jle    168d <ffs2tm+0x51d>
lea    -0x90(%rbp),%rdi
mov    -0x30(%rbp),%rax
cvtsi2sdl (%rax),%xmm0
lea    0x9ef(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x90(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    1692 <ffs2tm+0x522>
cmpq   $0x0,-0x38(%rbp)
je     16f9 <ffs2tm+0x589>
mov    -0x38(%rbp),%rax
cmpl   $0x0,(%rax)
jl     16b7 <ffs2tm+0x547>
mov    -0x38(%rbp),%rax
cmpl   $0x3b,(%rax)
jle    16f4 <ffs2tm+0x584>
lea    -0x90(%rbp),%rdi
mov    -0x38(%rbp),%rax
cvtsi2sdl (%rax),%xmm0
lea    0x9b7(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x90(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    16f9 <ffs2tm+0x589>
cmpq   $0x0,0x10(%rbp)
je     1771 <ffs2tm+0x601>
mov    0x10(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd (%rax),%xmm0
ja     172f <ffs2tm+0x5bf>
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  0x8db(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     176c <ffs2tm+0x5fc>
lea    -0x90(%rbp),%rdi
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
lea    0x970(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x90(%rbp),%rdi
call   1070 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    177a <ffs2tm+0x60a>
jmp    1771 <ffs2tm+0x601>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ffs2tm>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    0x98(%rsp),%r14
mov    (%r14),%eax
test   %eax,%eax
jg     1306 <ffs2tm+0x196>
mov    %r9,%r15
mov    %r8,%r12
mov    %rdi,%rbx
test   %rsi,%rsi
je     11a5 <ffs2tm+0x35>
movl   $0x0,(%rsi)
test   %rdx,%rdx
je     11b0 <ffs2tm+0x40>
movl   $0x0,(%rdx)
test   %rcx,%rcx
je     11bb <ffs2tm+0x4b>
movl   $0x0,(%rcx)
test   %r12,%r12
je     11c8 <ffs2tm+0x58>
movl   $0x0,(%r12)
mov    0x90(%rsp),%rbp
test   %r15,%r15
je     11dc <ffs2tm+0x6c>
movl   $0x0,(%r15)
test   %rbp,%rbp
je     11e9 <ffs2tm+0x79>
movq   $0x0,0x0(%rbp)
test   %rbx,%rbx
je     122a <ffs2tm+0xba>
mov    0x2(%rbx),%al
cmp    $0x2f,%al
je     11fb <ffs2tm+0x8b>
cmpb   $0x2d,0x4(%rbx)
jne    1236 <ffs2tm+0xc6>
mov    %rbx,%rdi
mov    %r14,%r8
call   1040 <ffs2dt@plt>
test   %rax,%rax
jg     1222 <ffs2tm+0xb2>
mov    %rbx,%rdi
call   1060 <strlen@plt>
mov    %eax,%r13d
and    $0xfffffffd,%eax
cmp    $0x8,%eax
jne    12e0 <ffs2tm+0x170>
mov    (%r14),%eax
jmp    1306 <ffs2tm+0x196>
lea    0xdd7(%rip),%rdi
jmp    12f5 <ffs2tm+0x185>
cmp    $0x3a,%al
jne    12e6 <ffs2tm+0x176>
cmpb   $0x3a,0x5(%rbx)
jne    12e6 <ffs2tm+0x176>
movsbl (%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x1(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x3(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x4(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x6(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x7(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
test   %r12,%r12
je     12b0 <ffs2tm+0x140>
mov    %rbx,%rdi
call   1080 <atoi@plt>
mov    %eax,(%r12)
test   %r15,%r15
je     12c1 <ffs2tm+0x151>
lea    0x3(%rbx),%rdi
call   1080 <atoi@plt>
mov    %eax,(%r15)
test   %rbp,%rbp
je     13d4 <ffs2tm+0x264>
add    $0x6,%rbx
mov    %rbx,%rdi
call   1050 <atof@plt>
movsd  %xmm0,0x0(%rbp)
jmp    13d4 <ffs2tm+0x264>
cmp    $0x12,%r13d
jg     1315 <ffs2tm+0x1a5>
lea    0xd42(%rip),%rdi
call   1070 <ffpmsg@plt>
mov    %rbx,%rdi
call   1070 <ffpmsg@plt>
movl   $0x1a4,(%r14)
mov    $0x1a4,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
cmpb   $0x54,0xa(%rbx)
jne    13d4 <ffs2tm+0x264>
cmpb   $0x3a,0xd(%rbx)
jne    13d4 <ffs2tm+0x264>
cmpb   $0x3a,0x10(%rbx)
jne    13d4 <ffs2tm+0x264>
movsbl 0xb(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0xc(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0xe(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0xf(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x11(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
movsbl 0x12(%rbx),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     12e6 <ffs2tm+0x176>
cmp    $0x14,%r13d
jb     13a3 <ffs2tm+0x233>
cmpb   $0x2e,0x13(%rbx)
jne    12e6 <ffs2tm+0x176>
test   %r12,%r12
je     13b5 <ffs2tm+0x245>
lea    0xb(%rbx),%rdi
call   1080 <atoi@plt>
mov    %eax,(%r12)
test   %r15,%r15
je     13c6 <ffs2tm+0x256>
lea    0xe(%rbx),%rdi
call   1080 <atoi@plt>
mov    %eax,(%r15)
test   %rbp,%rbp
je     13d4 <ffs2tm+0x264>
add    $0x11,%rbx
jmp    12ce <ffs2tm+0x15e>
test   %r12,%r12
je     13f2 <ffs2tm+0x282>
mov    (%r12),%eax
cmp    $0x18,%eax
jb     13f2 <ffs2tm+0x282>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xc65(%rip),%rsi
jmp    143c <ffs2tm+0x2cc>
test   %r15,%r15
je     140f <ffs2tm+0x29f>
mov    (%r15),%eax
cmp    $0x3c,%eax
jb     140f <ffs2tm+0x29f>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xc77(%rip),%rsi
jmp    143c <ffs2tm+0x2cc>
test   %rbp,%rbp
je     1222 <ffs2tm+0xb2>
movsd  0x0(%rbp),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
ja     1435 <ffs2tm+0x2c5>
ucomisd 0xbd1(%rip),%xmm0
jb     1222 <ffs2tm+0xb2>
lea    0xc79(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1090 <sprintf@plt>
jmp    12f2 <ffs2tm+0x182>

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

LLVM IR (-O2):
@.str = [39 x i8] c"error: null input date string (ffs2tm)\00"
@.str.1 = [38 x i8] c"input date string has illegal format:\00"
@.str.2 = [47 x i8] c"hour value is out of range 0 - 23: %d (ffs2tm)\00"
@.str.3 = [49 x i8] c"minute value is out of range 0 - 59: %d (ffs2tm)\00"
@.str.4 = [54 x i8] c"second value is out of range 0 - 60.9999: %f (ffs2tm)\00"
define i32 @ffs2tm(i8* %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, double* %6, i32* %7) {
%9 = alloca [81 x i8]
%10 = getelementptr inbounds [81 x i8], [81 x i8]* %9, i64 0, i64 0
%11 = load i32, i32* %7
%12 = icmp sgt i32 %11, 0
br i1 %12, label %209, label %13
13: ; preds = %8
%14 = icmp eq i32* %1, null
br i1 %14, label %16, label %15
15: ; preds = %13
store i32 0, i32* %1
br label %16
16: ; preds = %15, %13
%17 = icmp eq i32* %2, null
br i1 %17, label %19, label %18
18: ; preds = %16
store i32 0, i32* %2
br label %19
19: ; preds = %18, %16
%20 = icmp eq i32* %3, null
br i1 %20, label %22, label %21
21: ; preds = %19
store i32 0, i32* %3
br label %22
22: ; preds = %21, %19
%23 = icmp eq i32* %4, null
br i1 %23, label %25, label %24
24: ; preds = %22
store i32 0, i32* %4
br label %25
25: ; preds = %24, %22
%26 = icmp eq i32* %5, null
br i1 %26, label %28, label %27
27: ; preds = %25
store i32 0, i32* %5
br label %28
28: ; preds = %27, %25
%29 = icmp eq double* %6, null
br i1 %29, label %31, label %30
30: ; preds = %28
store double 0.000000e+00, double* %6
br label %31
31: ; preds = %30, %28
%32 = icmp eq i8* %0, null
br i1 %32, label %33, label %35
33: ; preds = %31
%34 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
store i32 420, i32* %7
br label %209
35: ; preds = %31
%36 = getelementptr inbounds i8, i8* %0, i64 2
%37 = load i8, i8* %36
%38 = icmp eq i8 %37, 47
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = getelementptr inbounds i8, i8* %0, i64 4
%41 = load i8, i8* %40
%42 = icmp eq i8 %41, 45
br i1 %42, label %43, label %126
43: ; preds = %39, %35
%44 = tail call i64 @ffs2dt(i8* %0, i32* %1, i32* %2, i32* %3, i32* %7)
%45 = icmp sgt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = load i32, i32* %7
br label %209
48: ; preds = %43
%49 = tail call i32 @strlen(i8* %0)
%50 = and i32 %49, -3
%51 = icmp eq i32 %50, 8
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = load i32, i32* %7
br label %209
54: ; preds = %48
%55 = icmp slt i32 %49, 19
br i1 %55, label %56, label %59
56: ; preds = %54
%57 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%58 = tail call i32 @ffpmsg(i8* %0)
store i32 420, i32* %7
br label %209
59: ; preds = %54
%60 = getelementptr inbounds i8, i8* %0, i64 10
%61 = load i8, i8* %60
%62 = icmp eq i8 %61, 84
br i1 %62, label %63, label %182
63: ; preds = %59
%64 = getelementptr inbounds i8, i8* %0, i64 13
%65 = load i8, i8* %64
%66 = icmp eq i8 %65, 58
br i1 %66, label %67, label %182
67: ; preds = %63
%68 = getelementptr inbounds i8, i8* %0, i64 16
%69 = load i8, i8* %68
%70 = icmp eq i8 %69, 58
br i1 %70, label %71, label %182
71: ; preds = %67
%72 = getelementptr inbounds i8, i8* %0, i64 11
%73 = load i8, i8* %72
%74 = sext i8 %73 to i32
%75 = tail call i64 @isdigit(i32 %74)
%76 = icmp eq i64 %75, 0
br i1 %76, label %123, label %77
77: ; preds = %71
%78 = getelementptr inbounds i8, i8* %0, i64 12
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = tail call i64 @isdigit(i32 %80)
%82 = icmp eq i64 %81, 0
br i1 %82, label %123, label %83
83: ; preds = %77
%84 = getelementptr inbounds i8, i8* %0, i64 14
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
%87 = tail call i64 @isdigit(i32 %86)
%88 = icmp eq i64 %87, 0
br i1 %88, label %123, label %89
89: ; preds = %83
%90 = getelementptr inbounds i8, i8* %0, i64 15
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = tail call i64 @isdigit(i32 %92)
%94 = icmp eq i64 %93, 0
br i1 %94, label %123, label %95
95: ; preds = %89
%96 = getelementptr inbounds i8, i8* %0, i64 17
%97 = load i8, i8* %96
%98 = sext i8 %97 to i32
%99 = tail call i64 @isdigit(i32 %98)
%100 = icmp eq i64 %99, 0
br i1 %100, label %123, label %101
101: ; preds = %95
%102 = getelementptr inbounds i8, i8* %0, i64 18
%103 = load i8, i8* %102
%104 = sext i8 %103 to i32
%105 = tail call i64 @isdigit(i32 %104)
%106 = icmp eq i64 %105, 0
br i1 %106, label %123, label %107
107: ; preds = %101
%108 = icmp ugt i32 %49, 19
br i1 %108, label %109, label %116
109: ; preds = %107
%110 = getelementptr inbounds i8, i8* %0, i64 19
%111 = load i8, i8* %110
%112 = icmp eq i8 %111, 46
br i1 %112, label %116, label %113
113: ; preds = %109
%114 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%115 = tail call i32 @ffpmsg(i8* %0)
store i32 420, i32* %7
br label %209
116: ; preds = %109, %107
br i1 %23, label %119, label %117
117: ; preds = %116
%118 = tail call i32 @atoi(i8* %72)
store i32 %118, i32* %4
br label %119
119: ; preds = %117, %116
br i1 %26, label %122, label %120
120: ; preds = %119
%121 = tail call i32 @atoi(i8* %84)
store i32 %121, i32* %5
br label %122
122: ; preds = %120, %119
br i1 %29, label %182, label %179
123: ; preds = %101, %95, %89, %83, %77, %71
%124 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%125 = tail call i32 @ffpmsg(i8* %0)
store i32 420, i32* %7
br label %209
126: ; preds = %39
%127 = icmp eq i8 %37, 58
br i1 %127, label %128, label %176
128: ; preds = %126
%129 = getelementptr inbounds i8, i8* %0, i64 5
%130 = load i8, i8* %129
%131 = icmp eq i8 %130, 58
br i1 %131, label %132, label %176
132: ; preds = %128
%133 = load i8, i8* %0
%134 = sext i8 %133 to i32
%135 = tail call i64 @isdigit(i32 %134)
%136 = icmp eq i64 %135, 0
br i1 %136, label %173, label %137
137: ; preds = %132
%138 = getelementptr inbounds i8, i8* %0, i64 1
%139 = load i8, i8* %138
%140 = sext i8 %139 to i32
%141 = tail call i64 @isdigit(i32 %140)
%142 = icmp eq i64 %141, 0
br i1 %142, label %173, label %143
143: ; preds = %137
%144 = getelementptr inbounds i8, i8* %0, i64 3
%145 = load i8, i8* %144
%146 = sext i8 %145 to i32
%147 = tail call i64 @isdigit(i32 %146)
%148 = icmp eq i64 %147, 0
br i1 %148, label %173, label %149
149: ; preds = %143
%150 = load i8, i8* %40
%151 = sext i8 %150 to i32
%152 = tail call i64 @isdigit(i32 %151)
%153 = icmp eq i64 %152, 0
br i1 %153, label %173, label %154
154: ; preds = %149
%155 = getelementptr inbounds i8, i8* %0, i64 6
%156 = load i8, i8* %155
%157 = sext i8 %156 to i32
%158 = tail call i64 @isdigit(i32 %157)
%159 = icmp eq i64 %158, 0
br i1 %159, label %173, label %160
160: ; preds = %154
%161 = getelementptr inbounds i8, i8* %0, i64 7
%162 = load i8, i8* %161
%163 = sext i8 %162 to i32
%164 = tail call i64 @isdigit(i32 %163)
%165 = icmp eq i64 %164, 0
br i1 %165, label %173, label %166
166: ; preds = %160
br i1 %23, label %169, label %167
167: ; preds = %166
%168 = tail call i32 @atoi(i8* %0)
store i32 %168, i32* %4
br label %169
169: ; preds = %167, %166
br i1 %26, label %172, label %170
170: ; preds = %169
%171 = tail call i32 @atoi(i8* %144)
store i32 %171, i32* %5
br label %172
172: ; preds = %170, %169
br i1 %29, label %182, label %179
173: ; preds = %160, %154, %149, %143, %137, %132
%174 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%175 = tail call i32 @ffpmsg(i8* %0)
store i32 420, i32* %7
br label %209
176: ; preds = %128, %126
%177 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%178 = tail call i32 @ffpmsg(i8* %0)
store i32 420, i32* %7
br label %209
179: ; preds = %172, %122
%180 = phi i8* [ %96, %122 ], [ %155, %172 ]
%181 = tail call double @atof(i8* %180)
store double %181, double* %6
br label %182
182: ; preds = %179, %172, %59, %63, %67, %122
br i1 %23, label %190, label %183
183: ; preds = %182
%184 = load i32, i32* %4
%185 = icmp ugt i32 %184, 23
br i1 %185, label %186, label %190
186: ; preds = %183
%187 = sitofp i32 %184 to double
%188 = call i32 @sprintf(i8* %10, i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.2, i64 0, i64 0), double %187)
%189 = call i32 @ffpmsg(i8* %10)
store i32 420, i32* %7
br label %209
190: ; preds = %183, %182
br i1 %26, label %198, label %191
191: ; preds = %190
%192 = load i32, i32* %5
%193 = icmp ugt i32 %192, 59
br i1 %193, label %194, label %198
194: ; preds = %191
%195 = sitofp i32 %192 to double
%196 = call i32 @sprintf(i8* %10, i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), double %195)
%197 = call i32 @ffpmsg(i8* %10)
store i32 420, i32* %7
br label %209
198: ; preds = %191, %190
br i1 %29, label %207, label %199
199: ; preds = %198
%200 = load double, double* %6
%201 = fcmp uge double %200, 0.000000e+00
%202 = fcmp ult double %200, 6.100000e+01
%203 = and i1 %201, %202
br i1 %203, label %207, label %204
204: ; preds = %199
%205 = call i32 @sprintf(i8* %10, i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), double %200)
%206 = call i32 @ffpmsg(i8* %10)
store i32 420, i32* %7
br label %209
207: ; preds = %199, %198
%208 = load i32, i32* %7
br label %209
209: ; preds = %8, %207, %204, %194, %186, %176, %173, %123, %113, %56, %52, %46, %33
%210 = phi i32 [ %47, %46 ], [ %53, %52 ], [ 420, %56 ], [ 420, %113 ], [ 420, %186 ], [ 420, %194 ], [ 420, %204 ], [ %208, %207 ], [ 420, %123 ], [ 420, %173 ], [ 420, %176 ], [ 420, %33 ], [ %11, %8 ]
ret i32 %210
}