#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*/ time_t;
struct tm {
  int tm_mon;
  int tm_mday;
  int tm_year;
  int tm_hour;
  int tm_min;
  int tm_sec;
  int /*<<< orphan*/ tm_isdst;
};
typedef int /*<<< orphan*/ compile_tm;

/* Variables and functions */
int /*<<< orphan*/ _strnicmp(char *, char *, int);
char *asctime(struct tm *);
struct tm *localtime(int /*<<< orphan*/ *);
int /*<<< orphan*/ memset(struct tm *, int /*<<< orphan*/, int);
int /*<<< orphan*/ mktime(struct tm *);
int sscanf(char *, char *, int *, int *, ...);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
time_t compile_time(void) {
  time_t t;
  char *compile_date = "Mar 16 2022";
  char *compile_time = "12:13:35";
  char *test_date;
  struct tm *test, compile_tm;
  int day, month, year, hour, minute, second;
  memset(&compile_tm, 0, sizeof(compile_tm));
  time(&t);
  test = localtime(&t);
  if (!test)
    return 0;
  compile_tm.tm_isdst = test->tm_isdst;
  for (month = 0; month < 12; month++) {
    test->tm_mon = month;
    test_date = asctime(test);
    if (!_strnicmp(test_date + 4, compile_date, 3))
      break;
  }
  if (month < 12)
    compile_tm.tm_mon = month;
  if (sscanf(compile_date + 4, "%d %d", &day, &year) == 2) {
    compile_tm.tm_mday = day;
    compile_tm.tm_year = year - 1900;
  }
  if (sscanf(compile_time, "%d:%d:%d", &hour, &minute, &second) == 3) {
    compile_tm.tm_hour = hour;
    compile_tm.tm_min = minute;
    compile_tm.tm_sec = second;
  }
  t = mktime(&compile_tm);
  return t;
}


x86 assembly (clang, -O0):
<compile_time>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
lea    0xe81(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xe82(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    -0x48(%rbp),%rdi
xor    %esi,%esi
mov    $0x1c,%edx
call   1050 <memset@plt>
lea    -0x8(%rbp),%rdi
call   1060 <time@plt>
lea    -0x8(%rbp),%rdi
call   1030 <localtime@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    11cb <compile_time+0x5b>
movl   $0x0,-0x4(%rbp)
jmp    12c6 <compile_time+0x156>
mov    -0x28(%rbp),%rax
mov    0x18(%rax),%eax
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x50(%rbp)
cmpl   $0xc,-0x50(%rbp)
jge    1233 <compile_time+0xc3>
mov    -0x50(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x28(%rbp),%rdi
call   1040 <asctime@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x4,%rdi
mov    -0x10(%rbp),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
cmp    $0x0,%eax
jne    1220 <compile_time+0xb0>
jmp    1233 <compile_time+0xc3>
jmp    1225 <compile_time+0xb5>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    11dc <compile_time+0x6c>
cmpl   $0xc,-0x50(%rbp)
jge    1243 <compile_time+0xd3>
mov    -0x50(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x4,%rdi
lea    0xdc3(%rip),%rsi
lea    -0x4c(%rbp),%rdx
lea    -0x54(%rbp),%rcx
mov    $0x0,%al
call   1070 <sscanf@plt>
cmp    $0x2,%eax
jne    127b <compile_time+0x10b>
mov    -0x4c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x54(%rbp),%eax
sub    $0x76c,%eax
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xd95(%rip),%rsi
lea    -0x58(%rbp),%rdx
lea    -0x5c(%rbp),%rcx
lea    -0x60(%rbp),%r8
mov    $0x0,%al
call   1070 <sscanf@plt>
cmp    $0x3,%eax
jne    12b4 <compile_time+0x144>
mov    -0x58(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x5c(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x60(%rbp),%eax
mov    %eax,-0x34(%rbp)
lea    -0x48(%rbp),%rdi
call   1080 <mktime@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<compile_time>:
push   %rbp
push   %rbx
sub    $0x38,%rsp
lea    0x18(%rsp),%rdi
xor    %ebp,%ebp
xor    %esi,%esi
mov    $0x1c,%edx
call   1050 <memset@plt>
lea    0x34(%rsp),%rbx
mov    %rbx,%rdi
call   1060 <time@plt>
mov    %rbx,%rdi
call   1030 <localtime@plt>
test   %rax,%rax
je     1484 <compile_time+0x314>
mov    %rax,%rbx
mov    0x18(%rax),%eax
mov    %eax,0x30(%rsp)
movl   $0x0,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xe36(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13b9 <compile_time+0x249>
movl   $0x1,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xe0b(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13bd <compile_time+0x24d>
movl   $0x2,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xde0(%rip),%rsi
mov    $0x3,%ebp
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13c4 <compile_time+0x254>
movl   $0x3,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xdb0(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13fa <compile_time+0x28a>
movl   $0x4,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xd85(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13cb <compile_time+0x25b>
movl   $0x5,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xd5a(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13d2 <compile_time+0x262>
movl   $0x6,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xd2f(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13d9 <compile_time+0x269>
movl   $0x7,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xd04(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13e0 <compile_time+0x270>
movl   $0x8,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xcd9(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13e7 <compile_time+0x277>
movl   $0x9,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xcae(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13ee <compile_time+0x27e>
movl   $0xa,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xc83(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
je     13f5 <compile_time+0x285>
movl   $0xb,(%rbx)
mov    %rbx,%rdi
call   1040 <asctime@plt>
lea    0x4(%rax),%rdi
lea    0xc5c(%rip),%rsi
mov    $0x3,%edx
call   1090 <_strnicmp@plt>
test   %eax,%eax
jne    13fe <compile_time+0x28e>
mov    $0xb,%ebp
jmp    13fa <compile_time+0x28a>
xor    %ebp,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x1,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x2,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x4,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x5,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x6,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x7,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x8,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0x9,%ebp
jmp    13fa <compile_time+0x28a>
mov    $0xa,%ebp
mov    %ebp,0x18(%rsp)
lea    0xbff(%rip),%rdi
lea    0xc09(%rip),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
xor    %eax,%eax
call   1070 <sscanf@plt>
cmp    $0x2,%eax
jne    1437 <compile_time+0x2c7>
mov    0x14(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    $0xfffff894,%eax
add    0x10(%rsp),%eax
mov    %eax,0x20(%rsp)
lea    0xbce(%rip),%rdi
lea    0xbd6(%rip),%rsi
lea    0xc(%rsp),%rdx
lea    0x8(%rsp),%rcx
lea    0x4(%rsp),%r8
xor    %eax,%eax
call   1070 <sscanf@plt>
cmp    $0x3,%eax
jne    1478 <compile_time+0x308>
mov    0xc(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0x8(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,0x2c(%rsp)
lea    0x18(%rsp),%rdi
call   1080 <mktime@plt>
mov    %eax,%ebp
mov    %ebp,%eax
add    $0x38,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32 }
@.str = [12 x i8] c"Mar 16 2022\00"
@.str.1 = [9 x i8] c"12:13:35\00"
@.str.2 = [6 x i8] c"%d %d\00"
@.str.3 = [9 x i8] c"%d:%d:%d\00"
define i32 @compile_time() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca %struct.tm*
%7 = alloca %struct.tm
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %4
%14 = call i32 @memset(%struct.tm* %7, i32 0, i32 28)
%15 = call i32 @time(i32* %2)
%16 = call %struct.tm* @localtime(i32* %2)
store %struct.tm* %16, %struct.tm** %6
%17 = load %struct.tm*, %struct.tm** %6
%18 = icmp ne %struct.tm* %17, null
br i1 %18, label %20, label %19
19: ; preds = %0
store i32 0, i32* %1
br label %75
20: ; preds = %0
%21 = load %struct.tm*, %struct.tm** %6
%22 = getelementptr inbounds %struct.tm, %struct.tm* %21, i32 0, i32 6
%23 = load i32, i32* %22
%24 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 6
store i32 %23, i32* %24
store i32 0, i32* %9
br label %25
25: ; preds = %41, %20
%26 = load i32, i32* %9
%27 = icmp slt i32 %26, 12
br i1 %27, label %28, label %44
28: ; preds = %25
%29 = load i32, i32* %9
%30 = load %struct.tm*, %struct.tm** %6
%31 = getelementptr inbounds %struct.tm, %struct.tm* %30, i32 0, i32 0
store i32 %29, i32* %31
%32 = load %struct.tm*, %struct.tm** %6
%33 = call i8* @asctime(%struct.tm* %32)
store i8* %33, i8** %5
%34 = load i8*, i8** %5
%35 = getelementptr inbounds i8, i8* %34, i64 4
%36 = load i8*, i8** %3
%37 = call i32 @_strnicmp(i8* %35, i8* %36, i32 3)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %28
br label %44
40: ; preds = %28
br label %41
41: ; preds = %40
%42 = load i32, i32* %9
%43 = add nsw i32 %42, 1
store i32 %43, i32* %9
br label %25
44: ; preds = %39, %25
%45 = load i32, i32* %9
%46 = icmp slt i32 %45, 12
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load i32, i32* %9
%49 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 0
store i32 %48, i32* %49
br label %50
50: ; preds = %47, %44
%51 = load i8*, i8** %3
%52 = getelementptr inbounds i8, i8* %51, i64 4
%53 = call i32 (i8*, i8*, i32*, i32*, ...) @sscanf(i8* %52, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32* %8, i32* %10)
%54 = icmp eq i32 %53, 2
br i1 %54, label %55, label %61
55: ; preds = %50
%56 = load i32, i32* %8
%57 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 1
store i32 %56, i32* %57
%58 = load i32, i32* %10
%59 = sub nsw i32 %58, 1900
%60 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 2
store i32 %59, i32* %60
br label %61
61: ; preds = %55, %50
%62 = load i8*, i8** %4
%63 = call i32 (i8*, i8*, i32*, i32*, ...) @sscanf(i8* %62, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32* %11, i32* %12, i32* %13)
%64 = icmp eq i32 %63, 3
br i1 %64, label %65, label %72
65: ; preds = %61
%66 = load i32, i32* %11
%67 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 3
store i32 %66, i32* %67
%68 = load i32, i32* %12
%69 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 4
store i32 %68, i32* %69
%70 = load i32, i32* %13
%71 = getelementptr inbounds %struct.tm, %struct.tm* %7, i32 0, i32 5
store i32 %70, i32* %71
br label %72
72: ; preds = %65, %61
%73 = call i32 @mktime(%struct.tm* %7)
store i32 %73, i32* %2
%74 = load i32, i32* %2
store i32 %74, i32* %1
br label %75
75: ; preds = %72, %19
%76 = load i32, i32* %1
ret i32 %76
}

LLVM IR (-O2):
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32 }
@.str = [12 x i8] c"Mar 16 2022\00"
@.str.1 = [9 x i8] c"12:13:35\00"
@.str.2 = [6 x i8] c"%d %d\00"
@.str.3 = [9 x i8] c"%d:%d:%d\00"
define i32 @compile_time() {
%1 = alloca i32
%2 = alloca %struct.tm
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = bitcast i32* %1 to i8*
%9 = bitcast %struct.tm* %2 to i8*
%10 = bitcast i32* %3 to i8*
%11 = bitcast i32* %4 to i8*
%12 = bitcast i32* %5 to i8*
%13 = bitcast i32* %6 to i8*
%14 = bitcast i32* %7 to i8*
%15 = call i32 @memset(%struct.tm* %2, i32 0, i32 28)
%16 = call i32 @time(i32* %1)
%17 = call %struct.tm* @localtime(i32* %1)
%18 = icmp eq %struct.tm* %17, null
br i1 %18, label %107, label %19
19: ; preds = %0
%20 = getelementptr inbounds %struct.tm, %struct.tm* %17, i64 0, i32 6
%21 = load i32, i32* %20
%22 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 6
store i32 %21, i32* %22
%23 = getelementptr inbounds %struct.tm, %struct.tm* %17, i64 0, i32 0
store i32 0, i32* %23
%24 = call i8* @asctime(%struct.tm* %17)
%25 = getelementptr inbounds i8, i8* %24, i64 4
%26 = call i32 @_strnicmp(i8* %25, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%27 = icmp eq i32 %26, 0
br i1 %27, label %83, label %28
28: ; preds = %19
store i32 1, i32* %23
%29 = call i8* @asctime(%struct.tm* %17)
%30 = getelementptr inbounds i8, i8* %29, i64 4
%31 = call i32 @_strnicmp(i8* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%32 = icmp eq i32 %31, 0
br i1 %32, label %83, label %33
33: ; preds = %28
store i32 2, i32* %23
%34 = call i8* @asctime(%struct.tm* %17)
%35 = getelementptr inbounds i8, i8* %34, i64 4
%36 = call i32 @_strnicmp(i8* %35, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%37 = icmp eq i32 %36, 0
br i1 %37, label %83, label %38
38: ; preds = %33
store i32 3, i32* %23
%39 = call i8* @asctime(%struct.tm* %17)
%40 = getelementptr inbounds i8, i8* %39, i64 4
%41 = call i32 @_strnicmp(i8* %40, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%42 = icmp eq i32 %41, 0
br i1 %42, label %83, label %43
43: ; preds = %38
store i32 4, i32* %23
%44 = call i8* @asctime(%struct.tm* %17)
%45 = getelementptr inbounds i8, i8* %44, i64 4
%46 = call i32 @_strnicmp(i8* %45, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%47 = icmp eq i32 %46, 0
br i1 %47, label %83, label %48
48: ; preds = %43
store i32 5, i32* %23
%49 = call i8* @asctime(%struct.tm* %17)
%50 = getelementptr inbounds i8, i8* %49, i64 4
%51 = call i32 @_strnicmp(i8* %50, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%52 = icmp eq i32 %51, 0
br i1 %52, label %83, label %53
53: ; preds = %48
store i32 6, i32* %23
%54 = call i8* @asctime(%struct.tm* %17)
%55 = getelementptr inbounds i8, i8* %54, i64 4
%56 = call i32 @_strnicmp(i8* %55, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%57 = icmp eq i32 %56, 0
br i1 %57, label %83, label %58
58: ; preds = %53
store i32 7, i32* %23
%59 = call i8* @asctime(%struct.tm* %17)
%60 = getelementptr inbounds i8, i8* %59, i64 4
%61 = call i32 @_strnicmp(i8* %60, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%62 = icmp eq i32 %61, 0
br i1 %62, label %83, label %63
63: ; preds = %58
store i32 8, i32* %23
%64 = call i8* @asctime(%struct.tm* %17)
%65 = getelementptr inbounds i8, i8* %64, i64 4
%66 = call i32 @_strnicmp(i8* %65, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%67 = icmp eq i32 %66, 0
br i1 %67, label %83, label %68
68: ; preds = %63
store i32 9, i32* %23
%69 = call i8* @asctime(%struct.tm* %17)
%70 = getelementptr inbounds i8, i8* %69, i64 4
%71 = call i32 @_strnicmp(i8* %70, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%72 = icmp eq i32 %71, 0
br i1 %72, label %83, label %73
73: ; preds = %68
store i32 10, i32* %23
%74 = call i8* @asctime(%struct.tm* %17)
%75 = getelementptr inbounds i8, i8* %74, i64 4
%76 = call i32 @_strnicmp(i8* %75, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%77 = icmp eq i32 %76, 0
br i1 %77, label %83, label %78
78: ; preds = %73
store i32 11, i32* %23
%79 = call i8* @asctime(%struct.tm* %17)
%80 = getelementptr inbounds i8, i8* %79, i64 4
%81 = call i32 @_strnicmp(i8* %80, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 3)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %78, %73, %68, %63, %58, %53, %48, %43, %38, %33, %28, %19
%84 = phi i32 [ 0, %19 ], [ 1, %28 ], [ 2, %33 ], [ 3, %38 ], [ 4, %43 ], [ 5, %48 ], [ 6, %53 ], [ 7, %58 ], [ 8, %63 ], [ 9, %68 ], [ 10, %73 ], [ 11, %78 ]
%85 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 0
store i32 %84, i32* %85
br label %86
86: ; preds = %78, %83
%87 = call i32 (i8*, i8*, i32*, i32*, ...) @sscanf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 4), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32* %3, i32* %4)
%88 = icmp eq i32 %87, 2
br i1 %88, label %89, label %95
89: ; preds = %86
%90 = load i32, i32* %3
%91 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 1
store i32 %90, i32* %91
%92 = load i32, i32* %4
%93 = add nsw i32 %92, -1900
%94 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 2
store i32 %93, i32* %94
br label %95
95: ; preds = %89, %86
%96 = call i32 (i8*, i8*, i32*, i32*, ...) @sscanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32* %5, i32* %6, i32* %7)
%97 = icmp eq i32 %96, 3
br i1 %97, label %98, label %105
98: ; preds = %95
%99 = load i32, i32* %5
%100 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 3
store i32 %99, i32* %100
%101 = load i32, i32* %6
%102 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 4
store i32 %101, i32* %102
%103 = load i32, i32* %7
%104 = getelementptr inbounds %struct.tm, %struct.tm* %2, i64 0, i32 5
store i32 %103, i32* %104
br label %105
105: ; preds = %98, %95
%106 = call i32 @mktime(%struct.tm* %2)
br label %107
107: ; preds = %0, %105
%108 = phi i32 [ %106, %105 ], [ 0, %0 ]
ret i32 %108
}