#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 /*<<< orphan*/ printf(char *);
int main(int argc, char *argv[]) {
  int nextMonth;
  struct date {
    int month;
    int day;
    int year;
  };
  struct time {
    int hour;
    int minutes;
    int seconds;
  };
  struct date today, tomorrow;
  today.day = 25;
  today.year = 2017;
  struct time this_time = {3, 30, 55};
  struct time that_time = {.hour = 4, .minutes = 15, .seconds = 33};
  if (today.month == 12) {
    nextMonth = 1;
  }
  if (today.month == 1 && today.day == 1) {
    printf("HAPPY NEW YEAR!!!\n");
  }
  int century = today.year / 100 + 1;
  tomorrow.month = today.month;
  tomorrow.day = today.day + 1;
  tomorrow.year = today.year;
  struct date birthdays[15];
  birthdays[1].month = 8;
  birthdays[1].day = 8;
  birthdays[1].year = 1979;
  struct time runtTime[5] = {{12, 0, 0}, {12, 10, 1}, {13, 15, 79}};
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x19,-0x1c(%rbp)
movl   $0x7e1,-0x18(%rbp)
mov    0xeb2(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xeb0(%rip),%eax
mov    %eax,-0x38(%rbp)
mov    0xeaa(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xea8(%rip),%eax
mov    %eax,-0x48(%rbp)
cmpl   $0xc,-0x20(%rbp)
jne    1180 <main+0x60>
movl   $0x1,-0x14(%rbp)
cmpl   $0x1,-0x20(%rbp)
jne    11a0 <main+0x80>
cmpl   $0x1,-0x1c(%rbp)
jne    11a0 <main+0x80>
lea    0xec1(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x28(%rbp)
movl   $0x8,-0x104(%rbp)
movl   $0x8,-0x100(%rbp)
movl   $0x7bb,-0xfc(%rbp)
lea    -0x150(%rbp),%rdi
lea    0xe2e(%rip),%rsi
mov    $0x3c,%edx
call   1040 <memcpy@plt>
xor    %eax,%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
%struct.time = type { i32, i32, i32 }
%struct.date = type { i32, i32, i32 }
@__const.main.this_time = %struct.time { i32 3, i32 30, i32 55 }
@__const.main.that_time = %struct.time { i32 4, i32 15, i32 33 }
@.str = [19 x i8] c"HAPPY NEW YEAR!!!\0A\00"
@__const.main.runtTime = [5 x %struct.time] [%struct.time { i32 12, i32 0, i32 0 }, %struct.time { i32 12, i32 10, i32 1 }, %struct.time { i32 13, i32 15, i32 79 }, %struct.time zeroinitializer, %struct.time zeroinitializer]
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca %struct.date
%8 = alloca %struct.date
%9 = alloca %struct.time
%10 = alloca %struct.time
%11 = alloca i32
%12 = alloca [15 x %struct.date]
%13 = alloca [5 x %struct.time]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 1
store i32 25, i32* %14
%15 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 2
store i32 2017, i32* %15
%16 = bitcast %struct.time* %9 to i8*
%17 = bitcast %struct.time* %10 to i8*
%18 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 0
%19 = load i32, i32* %18
%20 = icmp eq i32 %19, 12
br i1 %20, label %21, label %22
21: ; preds = %2
store i32 1, i32* %6
br label %22
22: ; preds = %21, %2
%23 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 0
%24 = load i32, i32* %23
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %32
26: ; preds = %22
%27 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 1
%28 = load i32, i32* %27
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %32
32: ; preds = %30, %26, %22
%33 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 2
%34 = load i32, i32* %33
%35 = sdiv i32 %34, 100
%36 = add nsw i32 %35, 1
store i32 %36, i32* %11
%37 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 0
%38 = load i32, i32* %37
%39 = getelementptr inbounds %struct.date, %struct.date* %8, i32 0, i32 0
store i32 %38, i32* %39
%40 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 1
%41 = load i32, i32* %40
%42 = add nsw i32 %41, 1
%43 = getelementptr inbounds %struct.date, %struct.date* %8, i32 0, i32 1
store i32 %42, i32* %43
%44 = getelementptr inbounds %struct.date, %struct.date* %7, i32 0, i32 2
%45 = load i32, i32* %44
%46 = getelementptr inbounds %struct.date, %struct.date* %8, i32 0, i32 2
store i32 %45, i32* %46
%47 = getelementptr inbounds [15 x %struct.date], [15 x %struct.date]* %12, i64 0, i64 1
%48 = getelementptr inbounds %struct.date, %struct.date* %47, i32 0, i32 0
store i32 8, i32* %48
%49 = getelementptr inbounds [15 x %struct.date], [15 x %struct.date]* %12, i64 0, i64 1
%50 = getelementptr inbounds %struct.date, %struct.date* %49, i32 0, i32 1
store i32 8, i32* %50
%51 = getelementptr inbounds [15 x %struct.date], [15 x %struct.date]* %12, i64 0, i64 1
%52 = getelementptr inbounds %struct.date, %struct.date* %51, i32 0, i32 2
store i32 1979, i32* %52
%53 = bitcast [5 x %struct.time]* %13 to i8*
ret i32 0
}

LLVM IR (-O2):
%struct.date = type { i32, i32, i32 }
define i32 @main(i32 %0, i8** nocapture readnone %1) {
ret i32 0
}