#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 */
int Checkday(int, int, int);
int Checkleapyear(int);
int Checkmonth(int);
int Checkyear(int);
int Dayinmonth(int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ usleep(int);
int main(void) {
  int i;
  printf("This Program may test checkdate.c whether is worked.\n");
  sleep(2);
  printf("\tNow Test 'Checkleapyear()'\n"
         "\tyou can see 2012 is 1, 2011 is 0\n"
         "\tTest 2012: ");
  printf("%d", Checkleapyear(2012));
  printf("\n\tTest 2011: ");
  printf("%d", Checkleapyear(2011));
  printf("\nTest Complete!\n");
  sleep(2);
  printf(
      "\tNow Test 'Checkyear()'\n"
      "\tyou can see -112 is -1, 89 is 191, 13 is 201, 2113 is 0, 2012 is 1\n"
      "\tTest -112: %d\n\tTest 89: %d\n\tTest 13: %d\n\tTest 2113: %d\n\tTest "
      "2012: %d\n",
      Checkyear(-112), Checkyear(89), Checkyear(13), Checkyear(2113),
      Checkyear(2012));
  printf("Test Complete!\n");
  sleep(2);
  printf("\tNow Test 'Checkmonth()'\n"
         "\tyou can see 0 is 0, 1 is 1, 12 is 1, 13 is 0\n"
         "\tTest 0: %d\n\tTest 1: %d\n\tTest 12: %d\n\tTest 13: %d\n",
         Checkmonth(0), Checkmonth(1), Checkmonth(12), Checkmonth(13));
  printf("Test Complete!\n");
  sleep(2);
  printf("\tNow Test 'Dayinmonth()'\n"
         "\tyou can see year of 2013, each month has the days and 2012 leap "
         "year has 29 in Feb\n");
  for (i = 0; i < 14; i++) {
    printf("This is %d month you can see %d\n", i, Dayinmonth(i, 2013));
    usleep(500000);
  }
  printf("This is 2 month in 2012 you can see %d\n\tTest Complete!\n",
         Dayinmonth(2, 2012));
  sleep(2);
  printf("\tNow Test 'Checkday()'\n"
         "\tyou can see 2012-02-29 is legeled(1), 2013-02-29 is illegeled(0)\n"
         "\tTest 2012-02-29: %d\n\tTest 2013-02-29: %d\nTest "
         "Complete!\nExitting...\n",
         Checkday(29, 2, 2012), Checkday(29, 2, 2013));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x2,%edi
call   1090 <sleep@plt>
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x7dc,%edi
call   1070 <Checkleapyear@plt>
mov    %eax,%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x7db,%edi
call   1070 <Checkleapyear@plt>
mov    %eax,%esi
lea    0xe91(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x2,%edi
call   1090 <sleep@plt>
mov    $0xffffff90,%edi
call   1080 <Checkyear@plt>
mov    %eax,-0x24(%rbp)
mov    $0x59,%edi
call   1080 <Checkyear@plt>
mov    %eax,-0x20(%rbp)
mov    $0xd,%edi
call   1080 <Checkyear@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x841,%edi
call   1080 <Checkyear@plt>
mov    %eax,-0x18(%rbp)
mov    $0x7dc,%edi
call   1080 <Checkyear@plt>
mov    -0x24(%rbp),%esi
mov    -0x20(%rbp),%edx
mov    -0x1c(%rbp),%ecx
mov    -0x18(%rbp),%r8d
mov    %eax,%r9d
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0x1006(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x2,%edi
call   1090 <sleep@plt>
xor    %edi,%edi
call   1030 <Checkmonth@plt>
mov    %eax,-0x14(%rbp)
mov    $0x1,%edi
call   1030 <Checkmonth@plt>
mov    %eax,-0x10(%rbp)
mov    $0xc,%edi
call   1030 <Checkmonth@plt>
mov    %eax,-0xc(%rbp)
mov    $0xd,%edi
call   1030 <Checkmonth@plt>
mov    -0x14(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0xc(%rbp),%ecx
mov    %eax,%r8d
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xfa6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x2,%edi
call   1090 <sleep@plt>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xe,-0x8(%rbp)
jge    1340 <main+0x1c0>
mov    -0x8(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%edi
mov    $0x7dd,%esi
call   1060 <Dayinmonth@plt>
mov    -0x28(%rbp),%esi
mov    %eax,%edx
lea    0xf0e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x7a120,%edi
call   10a0 <usleep@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12f8 <main+0x178>
mov    $0x2,%edi
mov    $0x7dc,%esi
call   1060 <Dayinmonth@plt>
mov    %eax,%esi
lea    0xef8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x2,%edi
call   1090 <sleep@plt>
mov    $0x1d,%edi
mov    $0x2,%esi
mov    $0x7dc,%edx
call   1040 <Checkday@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x1d,%edi
mov    $0x2,%esi
mov    $0x7dd,%edx
call   1040 <Checkday@plt>
mov    -0x2c(%rbp),%esi
mov    %eax,%edx
lea    0xee8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
lea    0x10d4(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
lea    0xe4c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7dc,%edi
call   1080 <Checkleapyear@plt>
lea    0xe7f(%rip),%rbx
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe6f(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7db,%edi
call   1080 <Checkleapyear@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x10a4(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
mov    $0xffffff90,%edi
call   1090 <Checkyear@plt>
mov    %eax,%r14d
mov    $0x59,%edi
call   1090 <Checkyear@plt>
mov    %eax,%r15d
mov    $0xd,%edi
call   1090 <Checkyear@plt>
mov    %eax,%ebx
mov    $0x841,%edi
call   1090 <Checkyear@plt>
mov    %eax,%ebp
mov    $0x7dc,%edi
call   1090 <Checkyear@plt>
lea    0xe07(%rip),%rdi
mov    %r14d,%esi
mov    %r15d,%edx
mov    %ebx,%ecx
mov    %ebp,%r8d
mov    %eax,%r9d
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x1037(%rip),%r14
mov    %r14,%rdi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
xor    %edi,%edi
call   1030 <Checkmonth@plt>
mov    %eax,%r15d
mov    $0x1,%edi
call   1030 <Checkmonth@plt>
mov    %eax,%ebx
mov    $0xc,%edi
call   1030 <Checkmonth@plt>
mov    %eax,%ebp
mov    $0xd,%edi
call   1030 <Checkmonth@plt>
lea    0xe4a(%rip),%rdi
mov    %r15d,%esi
mov    %ebx,%edx
mov    %ebp,%ecx
mov    %eax,%r8d
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
lea    0xfd7(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
lea    0xe82(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x1,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x2,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x3,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x4,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x5,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x6,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x7,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x8,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x9,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0xa,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0xb,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0xc,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0xd,%edi
mov    $0x7dd,%esi
call   1070 <Dayinmonth@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x7a120,%edi
call   10b0 <usleep@plt>
mov    $0x2,%edi
mov    $0x7dc,%esi
call   1070 <Dayinmonth@plt>
lea    0xc53(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
mov    $0x1d,%edi
mov    $0x2,%esi
mov    $0x7dc,%edx
call   1050 <Checkday@plt>
mov    %eax,%ebx
mov    $0x1d,%edi
mov    $0x2,%esi
mov    $0x7dd,%edx
call   1050 <Checkday@plt>
lea    0xc47(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [54 x i8] c"This Program may test checkdate.c whether is worked.\0A\00"
@.str.1 = [75 x i8] c"\09Now Test 'Checkleapyear()'\0A\09you can see 2012 is 1, 2011 is 0\0A\09Test 2012: \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [14 x i8] c"\0A\09Test 2011: \00"
@.str.4 = [17 x i8] c"\0ATest Complete!\0A\00"
@.str.5 = [164 x i8] c"\09Now Test 'Checkyear()'\0A\09you can see -112 is -1, 89 is 191, 13 is 201, 2113 is 0, 2012 is 1\0A\09Test -112: %d\0A\09Test 89: %d\0A\09Test 13: %d\0A\09Test 2113: %d\0A\09Test 2012: %d\0A\00"
@.str.6 = [16 x i8] c"Test Complete!\0A\00"
@.str.7 = [122 x i8] c"\09Now Test 'Checkmonth()'\0A\09you can see 0 is 0, 1 is 1, 12 is 1, 13 is 0\0A\09Test 0: %d\0A\09Test 1: %d\0A\09Test 12: %d\0A\09Test 13: %d\0A\00"
@.str.8 = [110 x i8] c"\09Now Test 'Dayinmonth()'\0A\09you can see year of 2013, each month has the days and 2012 leap year has 29 in Feb\0A\00"
@.str.9 = [33 x i8] c"This is %d month you can see %d\0A\00"
@.str.10 = [56 x i8] c"This is 2 month in 2012 you can see %d\0A\09Test Complete!\0A\00"
@.str.11 = [159 x i8] c"\09Now Test 'Checkday()'\0A\09you can see 2012-02-29 is legeled(1), 2013-02-29 is illegeled(0)\0A\09Test 2012-02-29: %d\0A\09Test 2013-02-29: %d\0ATest Complete!\0AExitting...\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @sleep(i32 2)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 @Checkleapyear(i32 2012)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @Checkleapyear(i32 2011)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %9)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%12 = call i32 @sleep(i32 2)
%13 = call i32 @Checkyear(i32 -112)
%14 = call i32 @Checkyear(i32 89)
%15 = call i32 @Checkyear(i32 13)
%16 = call i32 @Checkyear(i32 2113)
%17 = call i32 @Checkyear(i32 2012)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([164 x i8], [164 x i8]* @.str.5, i64 0, i64 0), i32 %13, i32 %14, i32 %15, i32 %16, i32 %17)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 @sleep(i32 2)
%21 = call i32 @Checkmonth(i32 0)
%22 = call i32 @Checkmonth(i32 1)
%23 = call i32 @Checkmonth(i32 12)
%24 = call i32 @Checkmonth(i32 13)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str.7, i64 0, i64 0), i32 %21, i32 %22, i32 %23, i32 %24)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%27 = call i32 @sleep(i32 2)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([110 x i8], [110 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %2
br label %29
29: ; preds = %38, %0
%30 = load i32, i32* %2
%31 = icmp slt i32 %30, 14
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = load i32, i32* %2
%34 = load i32, i32* %2
%35 = call i32 @Dayinmonth(i32 %34, i32 2013)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 %33, i32 %35)
%37 = call i32 @usleep(i32 500000)
br label %38
38: ; preds = %32
%39 = load i32, i32* %2
%40 = add nsw i32 %39, 1
store i32 %40, i32* %2
br label %29
41: ; preds = %29
%42 = call i32 @Dayinmonth(i32 2, i32 2012)
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i32 %42)
%44 = call i32 @sleep(i32 2)
%45 = call i32 @Checkday(i32 29, i32 2, i32 2012)
%46 = call i32 @Checkday(i32 29, i32 2, i32 2013)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.11, i64 0, i64 0), i32 %45, i32 %46)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [75 x i8] c"\09Now Test 'Checkleapyear()'\0A\09you can see 2012 is 1, 2011 is 0\0A\09Test 2012: \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [14 x i8] c"\0A\09Test 2011: \00"
@.str.5 = [164 x i8] c"\09Now Test 'Checkyear()'\0A\09you can see -112 is -1, 89 is 191, 13 is 201, 2113 is 0, 2012 is 1\0A\09Test -112: %d\0A\09Test 89: %d\0A\09Test 13: %d\0A\09Test 2113: %d\0A\09Test 2012: %d\0A\00"
@.str.7 = [122 x i8] c"\09Now Test 'Checkmonth()'\0A\09you can see 0 is 0, 1 is 1, 12 is 1, 13 is 0\0A\09Test 0: %d\0A\09Test 1: %d\0A\09Test 12: %d\0A\09Test 13: %d\0A\00"
@.str.9 = [33 x i8] c"This is %d month you can see %d\0A\00"
@.str.10 = [56 x i8] c"This is 2 month in 2012 you can see %d\0A\09Test Complete!\0A\00"
@.str.11 = [159 x i8] c"\09Now Test 'Checkday()'\0A\09you can see 2012-02-29 is legeled(1), 2013-02-29 is illegeled(0)\0A\09Test 2012-02-29: %d\0A\09Test 2013-02-29: %d\0ATest Complete!\0AExitting...\0A\00"
@str = [53 x i8] c"This Program may test checkdate.c whether is worked.\00"
@str.12 = [16 x i8] c"\0ATest Complete!\00"
@str.14 = [15 x i8] c"Test Complete!\00"
@str.15 = [109 x i8] c"\09Now Test 'Dayinmonth()'\0A\09you can see year of 2013, each month has the days and 2012 leap year has 29 in Feb\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @sleep(i32 2)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @Checkleapyear(i32 2012)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %4)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 @Checkleapyear(i32 2011)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.12, i64 0, i64 0))
%10 = tail call i32 @sleep(i32 2)
%11 = tail call i32 @Checkyear(i32 -112)
%12 = tail call i32 @Checkyear(i32 89)
%13 = tail call i32 @Checkyear(i32 13)
%14 = tail call i32 @Checkyear(i32 2113)
%15 = tail call i32 @Checkyear(i32 2012)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([164 x i8], [164 x i8]* @.str.5, i64 0, i64 0), i32 %11, i32 %12, i32 %13, i32 %14, i32 %15)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.14, i64 0, i64 0))
%18 = tail call i32 @sleep(i32 2)
%19 = tail call i32 @Checkmonth(i32 0)
%20 = tail call i32 @Checkmonth(i32 1)
%21 = tail call i32 @Checkmonth(i32 12)
%22 = tail call i32 @Checkmonth(i32 13)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([122 x i8], [122 x i8]* @.str.7, i64 0, i64 0), i32 %19, i32 %20, i32 %21, i32 %22)
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.14, i64 0, i64 0))
%25 = tail call i32 @sleep(i32 2)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([109 x i8], [109 x i8]* @str.15, i64 0, i64 0))
%27 = tail call i32 @Dayinmonth(i32 0, i32 2013)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 0, i32 %27)
%29 = tail call i32 @usleep(i32 500000)
%30 = tail call i32 @Dayinmonth(i32 1, i32 2013)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 1, i32 %30)
%32 = tail call i32 @usleep(i32 500000)
%33 = tail call i32 @Dayinmonth(i32 2, i32 2013)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 2, i32 %33)
%35 = tail call i32 @usleep(i32 500000)
%36 = tail call i32 @Dayinmonth(i32 3, i32 2013)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 3, i32 %36)
%38 = tail call i32 @usleep(i32 500000)
%39 = tail call i32 @Dayinmonth(i32 4, i32 2013)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 4, i32 %39)
%41 = tail call i32 @usleep(i32 500000)
%42 = tail call i32 @Dayinmonth(i32 5, i32 2013)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 5, i32 %42)
%44 = tail call i32 @usleep(i32 500000)
%45 = tail call i32 @Dayinmonth(i32 6, i32 2013)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 6, i32 %45)
%47 = tail call i32 @usleep(i32 500000)
%48 = tail call i32 @Dayinmonth(i32 7, i32 2013)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 7, i32 %48)
%50 = tail call i32 @usleep(i32 500000)
%51 = tail call i32 @Dayinmonth(i32 8, i32 2013)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 8, i32 %51)
%53 = tail call i32 @usleep(i32 500000)
%54 = tail call i32 @Dayinmonth(i32 9, i32 2013)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 9, i32 %54)
%56 = tail call i32 @usleep(i32 500000)
%57 = tail call i32 @Dayinmonth(i32 10, i32 2013)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 10, i32 %57)
%59 = tail call i32 @usleep(i32 500000)
%60 = tail call i32 @Dayinmonth(i32 11, i32 2013)
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 11, i32 %60)
%62 = tail call i32 @usleep(i32 500000)
%63 = tail call i32 @Dayinmonth(i32 12, i32 2013)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 12, i32 %63)
%65 = tail call i32 @usleep(i32 500000)
%66 = tail call i32 @Dayinmonth(i32 13, i32 2013)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 13, i32 %66)
%68 = tail call i32 @usleep(i32 500000)
%69 = tail call i32 @Dayinmonth(i32 2, i32 2012)
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0), i32 %69)
%71 = tail call i32 @sleep(i32 2)
%72 = tail call i32 @Checkday(i32 29, i32 2, i32 2012)
%73 = tail call i32 @Checkday(i32 29, i32 2, i32 2013)
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([159 x i8], [159 x i8]* @.str.11, i64 0, i64 0), i32 %72, i32 %73)
ret i32 0
}