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

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ words;
typedef int time_t;
struct tm {
  int tm_isdst;
};

/* Variables and functions */
int chopString(char *, char *, char **, int);
int /*<<< orphan*/ errAbort(char *, ...);
int mktime(struct tm *);
scalar_t__ strlen(char *);
int /*<<< orphan*/ *strptime(char *, char *, struct tm *);
time_t parseFtpMDTM(char *rs) {
  char *words[3];
  int wordCount =
      chopString(rs, " ", words, (sizeof(words) / sizeof((words)[0])));
  if (wordCount != 2)
    errAbort("MDTM reply should have 2 words but has %d", wordCount);
  if (strlen(words[1]) < strlen("YYYYmmddHHMMSS"))
    errAbort("MDTM reply word [%s] shorter than "
             "YYYYmmddHHMMSS",
             words[1]);
  char spread[] = "YYYY mm dd HH MM SS";
  char *from = words[1];
  char *to = spread;
  *to++ = *from++;
  *to++ = *from++;
  *to++ = *from++;
  *to++ = *from++;
  *to++ = '-';
  *to++ = *from++;
  *to++ = *from++;
  *to++ = '-';
  *to++ = *from++;
  *to++ = *from++;
  *to++ = ' ';
  *to++ = *from++;
  *to++ = *from++;
  *to++ = ':';
  *to++ = *from++;
  *to++ = *from++;
  *to++ = ':';
  *to++ = *from++;
  *to++ = *from++;
  *to++ = 0;
  struct tm tm;
  if (strptime(spread, "%Y-%m-%d %H:%M:%S", &tm) == NULL)
    errAbort("unable to parse MDTM string [%s]", spread);
  tm.tm_isdst = -1;
  time_t t = mktime(&tm);
  if (t == -1)
    errAbort("mktime failed while parsing strptime'd MDTM string [%s]",
             words[1]);
  return t;
}


x86 assembly (clang, -O0):
<parseFtpMDTM>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    -0x20(%rbp),%rdx
lea    0xe95(%rip),%rsi
mov    $0x3,%ecx
call   1030 <chopString@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x2,-0x24(%rbp)
je     1193 <parseFtpMDTM+0x43>
mov    -0x24(%rbp),%esi
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1050 <errAbort@plt>
mov    -0x18(%rbp),%rdi
call   1040 <strlen@plt>
mov    %rax,-0x68(%rbp)
lea    0xea7(%rip),%rdi
call   1040 <strlen@plt>
mov    %rax,%rcx
mov    -0x68(%rbp),%rax
cmp    %rcx,%rax
jge    11ce <parseFtpMDTM+0x7e>
mov    -0x18(%rbp),%rsi
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1050 <errAbort@plt>
mov    0xefb(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xef8(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    0xef6(%rip),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x48(%rbp)
lea    -0x40(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x2d,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x2d,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x20,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x3a,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x3a,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
mov    (%rax),%cl
mov    -0x50(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x50(%rbp)
mov    %cl,(%rax)
mov    -0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
movb   $0x0,(%rax)
lea    -0x40(%rbp),%rdi
lea    0xc0d(%rip),%rsi
lea    -0x58(%rbp),%rdx
call   1070 <strptime@plt>
cmp    $0x0,%rax
jne    1475 <parseFtpMDTM+0x325>
lea    -0x40(%rbp),%rsi
lea    0xc01(%rip),%rdi
mov    $0x0,%al
call   1050 <errAbort@plt>
movl   $0xffffffff,-0x58(%rbp)
lea    -0x58(%rbp),%rdi
call   1060 <mktime@plt>
mov    %eax,-0x5c(%rbp)
cmpl   $0xffffffff,-0x5c(%rbp)
jne    14a4 <parseFtpMDTM+0x354>
mov    -0x18(%rbp),%rsi
lea    0xbf3(%rip),%rdi
mov    $0x0,%al
call   1050 <errAbort@plt>
mov    -0x5c(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parseFtpMDTM>:
push   %rbx
sub    $0x40,%rsp
lea    0xea4(%rip),%rsi
lea    0x20(%rsp),%rdx
mov    $0x3,%ecx
call   1030 <chopString@plt>
cmp    $0x2,%eax
je     1180 <parseFtpMDTM+0x30>
lea    0xe8b(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <errAbort@plt>
mov    0x28(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    $0xd,%rax
jg     11a9 <parseFtpMDTM+0x59>
lea    0xe92(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <errAbort@plt>
mov    0x28(%rsp),%rbx
mov    (%rbx),%al
mov    %al,(%rsp)
mov    0x1(%rbx),%al
mov    %al,0x1(%rsp)
mov    0x2(%rbx),%al
mov    %al,0x2(%rsp)
mov    0x3(%rbx),%al
mov    %al,0x3(%rsp)
movb   $0x2d,0x4(%rsp)
mov    0x4(%rbx),%al
mov    %al,0x5(%rsp)
mov    0x5(%rbx),%al
mov    %al,0x6(%rsp)
movb   $0x2d,0x7(%rsp)
mov    0x6(%rbx),%al
mov    %al,0x8(%rsp)
mov    0x7(%rbx),%al
mov    %al,0x9(%rsp)
movb   $0x20,0xa(%rsp)
mov    0x8(%rbx),%al
mov    %al,0xb(%rsp)
mov    0x9(%rbx),%al
mov    %al,0xc(%rsp)
movb   $0x3a,0xd(%rsp)
mov    0xa(%rbx),%al
mov    %al,0xe(%rsp)
mov    0xb(%rbx),%al
mov    %al,0xf(%rsp)
movb   $0x3a,0x10(%rsp)
mov    0xc(%rbx),%al
mov    %al,0x11(%rsp)
mov    0xd(%rbx),%al
mov    %al,0x12(%rsp)
movb   $0x0,0x13(%rsp)
lea    0xe2f(%rip),%rsi
mov    %rsp,%rdi
lea    0x18(%rsp),%rdx
call   1070 <strptime@plt>
test   %rax,%rax
jne    1251 <parseFtpMDTM+0x101>
lea    0xe28(%rip),%rdi
mov    %rsp,%rsi
xor    %eax,%eax
call   1050 <errAbort@plt>
movl   $0xffffffff,0x18(%rsp)
ff
lea    0x18(%rsp),%rdi
call   1060 <mktime@plt>
mov    %eax,%ebx
cmp    $0xffffffff,%eax
jne    127d <parseFtpMDTM+0x12d>
mov    0x28(%rsp),%rsi
lea    0xe1a(%rip),%rdi
xor    %eax,%eax
call   1050 <errAbort@plt>
mov    %ebx,%eax
add    $0x40,%rsp
pop    %rbx
ret

LLVM IR (-O0):
%struct.tm = type { i32 }
@.str = [2 x i8] c" \00"
@.str.1 = [42 x i8] c"MDTM reply should have 2 words but has %d\00"
@.str.2 = [15 x i8] c"YYYYmmddHHMMSS\00"
@.str.3 = [49 x i8] c"MDTM reply word [%s] shorter than YYYYmmddHHMMSS\00"
@__const.parseFtpMDTM.spread = [20 x i8] c"YYYY mm dd HH MM SS\00"
@.str.4 = [18 x i8] c"%Y-%m-%d %H:%M:%S\00"
@.str.5 = [33 x i8] c"unable to parse MDTM string [%s]\00"
@.str.6 = [56 x i8] c"mktime failed while parsing strptime'd MDTM string [%s]\00"
define i32 @parseFtpMDTM(i8* %0) {
%2 = alloca i8*
%3 = alloca [3 x i8*]
%4 = alloca i32
%5 = alloca [20 x i8]
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca %struct.tm
%9 = alloca i32
store i8* %0, i8** %2
%10 = load i8*, i8** %2
%11 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 0
%12 = call i32 @chopString(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %11, i32 3)
store i32 %12, i32* %4
%13 = load i32, i32* %4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %1
%16 = load i32, i32* %4
%17 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0), i32 %16)
br label %18
18: ; preds = %15, %1
%19 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 1
%20 = load i8*, i8** %19
%21 = call i64 @strlen(i8* %20)
%22 = call i64 @strlen(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%23 = icmp slt i64 %21, %22
br i1 %23, label %24, label %28
24: ; preds = %18
%25 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 1
%26 = load i8*, i8** %25
%27 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %26)
br label %28
28: ; preds = %24, %18
%29 = bitcast [20 x i8]* %5 to i8*
%30 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 1
%31 = load i8*, i8** %30
store i8* %31, i8** %6
%32 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
store i8* %32, i8** %7
%33 = load i8*, i8** %6
%34 = getelementptr inbounds i8, i8* %33, i32 1
store i8* %34, i8** %6
%35 = load i8, i8* %33
%36 = load i8*, i8** %7
%37 = getelementptr inbounds i8, i8* %36, i32 1
store i8* %37, i8** %7
store i8 %35, i8* %36
%38 = load i8*, i8** %6
%39 = getelementptr inbounds i8, i8* %38, i32 1
store i8* %39, i8** %6
%40 = load i8, i8* %38
%41 = load i8*, i8** %7
%42 = getelementptr inbounds i8, i8* %41, i32 1
store i8* %42, i8** %7
store i8 %40, i8* %41
%43 = load i8*, i8** %6
%44 = getelementptr inbounds i8, i8* %43, i32 1
store i8* %44, i8** %6
%45 = load i8, i8* %43
%46 = load i8*, i8** %7
%47 = getelementptr inbounds i8, i8* %46, i32 1
store i8* %47, i8** %7
store i8 %45, i8* %46
%48 = load i8*, i8** %6
%49 = getelementptr inbounds i8, i8* %48, i32 1
store i8* %49, i8** %6
%50 = load i8, i8* %48
%51 = load i8*, i8** %7
%52 = getelementptr inbounds i8, i8* %51, i32 1
store i8* %52, i8** %7
store i8 %50, i8* %51
%53 = load i8*, i8** %7
%54 = getelementptr inbounds i8, i8* %53, i32 1
store i8* %54, i8** %7
store i8 45, i8* %53
%55 = load i8*, i8** %6
%56 = getelementptr inbounds i8, i8* %55, i32 1
store i8* %56, i8** %6
%57 = load i8, i8* %55
%58 = load i8*, i8** %7
%59 = getelementptr inbounds i8, i8* %58, i32 1
store i8* %59, i8** %7
store i8 %57, i8* %58
%60 = load i8*, i8** %6
%61 = getelementptr inbounds i8, i8* %60, i32 1
store i8* %61, i8** %6
%62 = load i8, i8* %60
%63 = load i8*, i8** %7
%64 = getelementptr inbounds i8, i8* %63, i32 1
store i8* %64, i8** %7
store i8 %62, i8* %63
%65 = load i8*, i8** %7
%66 = getelementptr inbounds i8, i8* %65, i32 1
store i8* %66, i8** %7
store i8 45, i8* %65
%67 = load i8*, i8** %6
%68 = getelementptr inbounds i8, i8* %67, i32 1
store i8* %68, i8** %6
%69 = load i8, i8* %67
%70 = load i8*, i8** %7
%71 = getelementptr inbounds i8, i8* %70, i32 1
store i8* %71, i8** %7
store i8 %69, i8* %70
%72 = load i8*, i8** %6
%73 = getelementptr inbounds i8, i8* %72, i32 1
store i8* %73, i8** %6
%74 = load i8, i8* %72
%75 = load i8*, i8** %7
%76 = getelementptr inbounds i8, i8* %75, i32 1
store i8* %76, i8** %7
store i8 %74, i8* %75
%77 = load i8*, i8** %7
%78 = getelementptr inbounds i8, i8* %77, i32 1
store i8* %78, i8** %7
store i8 32, i8* %77
%79 = load i8*, i8** %6
%80 = getelementptr inbounds i8, i8* %79, i32 1
store i8* %80, i8** %6
%81 = load i8, i8* %79
%82 = load i8*, i8** %7
%83 = getelementptr inbounds i8, i8* %82, i32 1
store i8* %83, i8** %7
store i8 %81, i8* %82
%84 = load i8*, i8** %6
%85 = getelementptr inbounds i8, i8* %84, i32 1
store i8* %85, i8** %6
%86 = load i8, i8* %84
%87 = load i8*, i8** %7
%88 = getelementptr inbounds i8, i8* %87, i32 1
store i8* %88, i8** %7
store i8 %86, i8* %87
%89 = load i8*, i8** %7
%90 = getelementptr inbounds i8, i8* %89, i32 1
store i8* %90, i8** %7
store i8 58, i8* %89
%91 = load i8*, i8** %6
%92 = getelementptr inbounds i8, i8* %91, i32 1
store i8* %92, i8** %6
%93 = load i8, i8* %91
%94 = load i8*, i8** %7
%95 = getelementptr inbounds i8, i8* %94, i32 1
store i8* %95, i8** %7
store i8 %93, i8* %94
%96 = load i8*, i8** %6
%97 = getelementptr inbounds i8, i8* %96, i32 1
store i8* %97, i8** %6
%98 = load i8, i8* %96
%99 = load i8*, i8** %7
%100 = getelementptr inbounds i8, i8* %99, i32 1
store i8* %100, i8** %7
store i8 %98, i8* %99
%101 = load i8*, i8** %7
%102 = getelementptr inbounds i8, i8* %101, i32 1
store i8* %102, i8** %7
store i8 58, i8* %101
%103 = load i8*, i8** %6
%104 = getelementptr inbounds i8, i8* %103, i32 1
store i8* %104, i8** %6
%105 = load i8, i8* %103
%106 = load i8*, i8** %7
%107 = getelementptr inbounds i8, i8* %106, i32 1
store i8* %107, i8** %7
store i8 %105, i8* %106
%108 = load i8*, i8** %6
%109 = getelementptr inbounds i8, i8* %108, i32 1
store i8* %109, i8** %6
%110 = load i8, i8* %108
%111 = load i8*, i8** %7
%112 = getelementptr inbounds i8, i8* %111, i32 1
store i8* %112, i8** %7
store i8 %110, i8* %111
%113 = load i8*, i8** %7
%114 = getelementptr inbounds i8, i8* %113, i32 1
store i8* %114, i8** %7
store i8 0, i8* %113
%115 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
%116 = call i32* @strptime(i8* %115, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), %struct.tm* %8)
%117 = icmp eq i32* %116, null
br i1 %117, label %118, label %121
118: ; preds = %28
%119 = getelementptr inbounds [20 x i8], [20 x i8]* %5, i64 0, i64 0
%120 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* %119)
br label %121
121: ; preds = %118, %28
%122 = getelementptr inbounds %struct.tm, %struct.tm* %8, i32 0, i32 0
store i32 -1, i32* %122
%123 = call i32 @mktime(%struct.tm* %8)
store i32 %123, i32* %9
%124 = load i32, i32* %9
%125 = icmp eq i32 %124, -1
br i1 %125, label %126, label %130
126: ; preds = %121
%127 = getelementptr inbounds [3 x i8*], [3 x i8*]* %3, i64 0, i64 1
%128 = load i8*, i8** %127
%129 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0), i8* %128)
br label %130
130: ; preds = %126, %121
%131 = load i32, i32* %9
ret i32 %131
}

LLVM IR (-O2):
%struct.tm = type { i32 }
@.str = [2 x i8] c" \00"
@.str.1 = [42 x i8] c"MDTM reply should have 2 words but has %d\00"
@.str.3 = [49 x i8] c"MDTM reply word [%s] shorter than YYYYmmddHHMMSS\00"
@.str.4 = [18 x i8] c"%Y-%m-%d %H:%M:%S\00"
@.str.5 = [33 x i8] c"unable to parse MDTM string [%s]\00"
@.str.6 = [56 x i8] c"mktime failed while parsing strptime'd MDTM string [%s]\00"
define i32 @parseFtpMDTM(i8* %0) {
%2 = alloca [3 x i8*]
%3 = alloca [20 x i8]
%4 = alloca %struct.tm
%5 = bitcast [3 x i8*]* %2 to i8*
%6 = getelementptr inbounds [3 x i8*], [3 x i8*]* %2, i64 0, i64 0
%7 = call i32 @chopString(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %6, i32 3)
%8 = icmp eq i32 %7, 2
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0), i32 %7)
br label %11
11: ; preds = %9, %1
%12 = getelementptr inbounds [3 x i8*], [3 x i8*]* %2, i64 0, i64 1
%13 = load i8*, i8** %12
%14 = call i64 @strlen(i8* dereferenceable(1) %13)
%15 = icmp slt i64 %14, 14
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %13)
%18 = load i8*, i8** %12
br label %19
19: ; preds = %16, %11
%20 = phi i8* [ %18, %16 ], [ %13, %11 ]
%21 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 0
%22 = getelementptr inbounds i8, i8* %20, i64 1
%23 = load i8, i8* %20
%24 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 1
store i8 %23, i8* %21
%25 = getelementptr inbounds i8, i8* %20, i64 2
%26 = load i8, i8* %22
%27 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 2
store i8 %26, i8* %24
%28 = getelementptr inbounds i8, i8* %20, i64 3
%29 = load i8, i8* %25
%30 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 3
store i8 %29, i8* %27
%31 = getelementptr inbounds i8, i8* %20, i64 4
%32 = load i8, i8* %28
%33 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 4
store i8 %32, i8* %30
%34 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 5
store i8 45, i8* %33
%35 = getelementptr inbounds i8, i8* %20, i64 5
%36 = load i8, i8* %31
%37 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 6
store i8 %36, i8* %34
%38 = getelementptr inbounds i8, i8* %20, i64 6
%39 = load i8, i8* %35
%40 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 7
store i8 %39, i8* %37
%41 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 8
store i8 45, i8* %40
%42 = getelementptr inbounds i8, i8* %20, i64 7
%43 = load i8, i8* %38
%44 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 9
store i8 %43, i8* %41
%45 = getelementptr inbounds i8, i8* %20, i64 8
%46 = load i8, i8* %42
%47 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 10
store i8 %46, i8* %44
%48 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 11
store i8 32, i8* %47
%49 = getelementptr inbounds i8, i8* %20, i64 9
%50 = load i8, i8* %45
%51 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 12
store i8 %50, i8* %48
%52 = getelementptr inbounds i8, i8* %20, i64 10
%53 = load i8, i8* %49
%54 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 13
store i8 %53, i8* %51
%55 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 14
store i8 58, i8* %54
%56 = getelementptr inbounds i8, i8* %20, i64 11
%57 = load i8, i8* %52
%58 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 15
store i8 %57, i8* %55
%59 = getelementptr inbounds i8, i8* %20, i64 12
%60 = load i8, i8* %56
%61 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 16
store i8 %60, i8* %58
%62 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 17
store i8 58, i8* %61
%63 = getelementptr inbounds i8, i8* %20, i64 13
%64 = load i8, i8* %59
%65 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 18
store i8 %64, i8* %62
%66 = load i8, i8* %63
%67 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 19
store i8 %66, i8* %65
store i8 0, i8* %67
%68 = bitcast %struct.tm* %4 to i8*
%69 = call i32* @strptime(i8* %21, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), %struct.tm* %4)
%70 = icmp eq i32* %69, null
br i1 %70, label %71, label %73
71: ; preds = %19
%72 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* %21)
br label %73
73: ; preds = %71, %19
%74 = getelementptr inbounds %struct.tm, %struct.tm* %4, i64 0, i32 0
store i32 -1, i32* %74
%75 = call i32 @mktime(%struct.tm* %4)
%76 = icmp eq i32 %75, -1
br i1 %76, label %77, label %80
77: ; preds = %73
%78 = load i8*, i8** %12
%79 = call i32 (i8*, ...) @errAbort(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i64 0, i64 0), i8* %78)
br label %80
80: ; preds = %77, %73
ret i32 %75
}