#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);
int main() {
  int age;
  age = 26;
  printf("Today you are %d years old. \n", age);
  printf("Five years by now you will be %d years. \n", age + 5);
  printf("But for this year entirely you'll still be %d... \n\n\n\n\n", age);
  age -= 8;
  printf(".......\nIn Ro. majoratul e la %d ani. \n", age);
  printf("\n\n\n..... FUCK, au trecut %d ani de cand am facut eu majoratul... "
         ":-( \n",
         age - 10);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1a,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    0xed0(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
add    $0x5,%esi
lea    0xedc(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
sub    $0x8,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%esi
lea    0xf16(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
sub    $0xa,%esi
lea    0xf2c(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x1a,%esi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
mov    $0x1f,%esi
call   1030 <printf@plt>
lea    0xf0e(%rip),%rdi
mov    $0x1a,%esi
call   1030 <printf@plt>
lea    0xf34(%rip),%rdi
mov    $0x12,%esi
call   1030 <printf@plt>
lea    0xf4b(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [30 x i8] c"Today you are %d years old. \0A\00"
@.str.1 = [42 x i8] c"Five years by now you will be %d years. \0A\00"
@.str.2 = [55 x i8] c"But for this year entirely you'll still be %d... \0A\0A\0A\0A\0A\00"
@.str.3 = [40 x i8] c".......\0AIn Ro. majoratul e la %d ani. \0A\00"
@.str.4 = [71 x i8] c"\0A\0A\0A..... FUCK, au trecut %d ani de cand am facut eu majoratul... :-( \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 26, i32* %2
%3 = load i32, i32* %2
%4 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = load i32, i32* %2
%6 = add nsw i32 %5, 5
%7 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0), i32 %6)
%8 = load i32, i32* %2
%9 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = load i32, i32* %2
%11 = sub nsw i32 %10, 8
store i32 %11, i32* %2
%12 = load i32, i32* %2
%13 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 %12)
%14 = load i32, i32* %2
%15 = sub nsw i32 %14, 10
%16 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.4, i64 0, i64 0), i32 %15)
ret i32 0
}

LLVM IR (-O2):
@.str = [30 x i8] c"Today you are %d years old. \0A\00"
@.str.1 = [42 x i8] c"Five years by now you will be %d years. \0A\00"
@.str.2 = [55 x i8] c"But for this year entirely you'll still be %d... \0A\0A\0A\0A\0A\00"
@.str.3 = [40 x i8] c".......\0AIn Ro. majoratul e la %d ani. \0A\00"
@.str.4 = [71 x i8] c"\0A\0A\0A..... FUCK, au trecut %d ani de cand am facut eu majoratul... :-( \0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i32 26)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.1, i64 0, i64 0), i32 31)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i32 26)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 18)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.4, i64 0, i64 0), i32 8)
ret i32 0
}