#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() {
  long long unsigned int first = 2;
  long long unsigned int second = 1;
  int i;
  printf("%llu", first);
  printf(", %llu", second);
  for (i = 2; i < 93; i++) {
    long long int third = first + second;
    printf(", %llu", third);
    first = second;
    second = third;
  }
  printf("27280388024614569596, 44140595050111976643, 71420983074726546239, "
         "115561578124838522882, 186982561199565069121, 302544139324403592003, "
         "489526700523968661124,792070839848372253127\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x2,-0x10(%rbp)
movq   $0x1,-0x18(%rbp)
mov    -0x10(%rbp),%rsi
lea    0xec8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x2,-0x1c(%rbp)
cmpl   $0x5d,-0x1c(%rbp)
jge    11a0 <main+0x90>
mov    -0x10(%rbp),%rax
add    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rsi
lea    0xe85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    115a <main+0x4a>
lea    0xe60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
lea    0xed3(%rip),%rdi
mov    $0x2,%r12d
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb8(%rip),%r14
mov    $0x1,%r15d
mov    $0x1,%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x5b,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %r12,%rbx
add    %r15,%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%r12
mov    %rbx,%r15
add    $0xffffffff,%ebp
jne    1170 <main+0x50>
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%llu\00"
@.str.1 = [7 x i8] c", %llu\00"
@.str.2 = [180 x i8] c"27280388024614569596, 44140595050111976643, 71420983074726546239, 115561578124838522882, 186982561199565069121, 302544139324403592003, 489526700523968661124,792070839848372253127\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i32
%5 = alloca i64
store i32 0, i32* %1
store i64 2, i64* %2
store i64 1, i64* %3
%6 = load i64, i64* %2
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64 %6)
%8 = load i64, i64* %3
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %8)
store i32 2, i32* %4
br label %10
10: ; preds = %21, %0
%11 = load i32, i32* %4
%12 = icmp slt i32 %11, 93
br i1 %12, label %13, label %24
13: ; preds = %10
%14 = load i64, i64* %2
%15 = load i64, i64* %3
%16 = add i64 %14, %15
store i64 %16, i64* %5
%17 = load i64, i64* %5
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %17)
%19 = load i64, i64* %3
store i64 %19, i64* %2
%20 = load i64, i64* %5
store i64 %20, i64* %3
br label %21
21: ; preds = %13
%22 = load i32, i32* %4
%23 = add nsw i32 %22, 1
store i32 %23, i32* %4
br label %10
24: ; preds = %10
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([180 x i8], [180 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"%llu\00"
@.str.1 = [7 x i8] c", %llu\00"
@str = [179 x i8] c"27280388024614569596, 44140595050111976643, 71420983074726546239, 115561578124838522882, 186982561199565069121, 302544139324403592003, 489526700523968661124,792070839848372253127\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64 2)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 1)
br label %3
3: ; preds = %0, %3
%4 = phi i64 [ 2, %0 ], [ %6, %3 ]
%5 = phi i32 [ 2, %0 ], [ %9, %3 ]
%6 = phi i64 [ 1, %0 ], [ %7, %3 ]
%7 = add i64 %4, %6
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i64 %7)
%9 = add nuw nsw i32 %5, 1
%10 = icmp eq i32 %9, 93
br i1 %10, label %11, label %3
11: ; preds = %3
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([179 x i8], [179 x i8]* @str, i64 0, i64 0))
ret i32 0
}