#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 *, unsigned long long, ...);
int main() {
  long long unsigned int sub, strt1, strt2, dolo2, dolo1, i;
  strt1 = 1;
  strt2 = 2;
  i = 0;
  if (i = 0)
    ;
  {
    do {
      sub = strt1 + strt2;
      dolo2 = strt1;
      i++;
      printf("%llu ,%llu ,", strt1, strt2);
      printf("%llu", sub);
    } while (i != 1);
  }
  if (i >= 1)
    ;
  {
    do {
      dolo1 = sub + dolo2;
      dolo2 = sub;
      sub = dolo1;
      i++;
      printf(", %llu", dolo1);
    } while (i != 100);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x1,-0x18(%rbp)
movq   $0x2,-0x20(%rbp)
movq   $0x0,-0x38(%rbp)
movq   $0x0,-0x38(%rbp)
xor    %eax,%eax
test   $0x1,%al
jne    114e <main+0x3e>
jmp    1153 <main+0x43>
jmp    1153 <main+0x43>
jmp    1158 <main+0x48>
mov    -0x18(%rbp),%rax
add    -0x20(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
lea    0xe79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x1,-0x38(%rbp)
jne    1158 <main+0x48>
cmpq   $0x1,-0x38(%rbp)
jb     11bb <main+0xab>
jmp    11bb <main+0xab>
jmp    11c0 <main+0xb0>
mov    -0x10(%rbp),%rax
add    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
mov    -0x30(%rbp),%rsi
lea    0xe1a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpq   $0x64,-0x38(%rbp)
jne    11c0 <main+0xb0>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    0xee0(%rip),%rdi
mov    $0x1,%r12d
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed1(%rip),%rdi
mov    $0x3,%r15d
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x63,%r13d
lea    0xeb0(%rip),%r14
nopl   (%rax)
mov    %r12,%rbx
add    %r15,%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r15,%r12
mov    %rbx,%r15
add    $0xffffffffffffffff,%r13
jne    1160 <main+0x50>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [13 x i8] c"%llu ,%llu ,\00"
@.str.1 = [5 x i8] c"%llu\00"
@.str.2 = [7 x i8] c", %llu\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
store i32 0, i32* %1
store i64 1, i64* %3
store i64 2, i64* %4
store i64 0, i64* %7
store i64 0, i64* %7
br i1 false, label %8, label %9
8: ; preds = %0
br label %9
9: ; preds = %8, %0
br label %10
10: ; preds = %22, %9
%11 = load i64, i64* %3
%12 = load i64, i64* %4
%13 = add i64 %11, %12
store i64 %13, i64* %2
%14 = load i64, i64* %3
store i64 %14, i64* %5
%15 = load i64, i64* %7
%16 = add i64 %15, 1
store i64 %16, i64* %7
%17 = load i64, i64* %3
%18 = load i64, i64* %4
%19 = call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64 %17, i64 %18)
%20 = load i64, i64* %2
%21 = call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 %20)
br label %22
22: ; preds = %10
%23 = load i64, i64* %7
%24 = icmp ne i64 %23, 1
br i1 %24, label %10, label %25
25: ; preds = %22
%26 = load i64, i64* %7
%27 = icmp uge i64 %26, 1
br i1 %27, label %28, label %29
28: ; preds = %25
br label %29
29: ; preds = %28, %25
br label %30
30: ; preds = %40, %29
%31 = load i64, i64* %2
%32 = load i64, i64* %5
%33 = add i64 %31, %32
store i64 %33, i64* %6
%34 = load i64, i64* %2
store i64 %34, i64* %5
%35 = load i64, i64* %6
store i64 %35, i64* %2
%36 = load i64, i64* %7
%37 = add i64 %36, 1
store i64 %37, i64* %7
%38 = load i64, i64* %6
%39 = call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i64 %38)
br label %40
40: ; preds = %30
%41 = load i64, i64* %7
%42 = icmp ne i64 %41, 100
br i1 %42, label %30, label %43
43: ; preds = %40
ret i32 0
}

LLVM IR (-O2):
@.str = [13 x i8] c"%llu ,%llu ,\00"
@.str.1 = [5 x i8] c"%llu\00"
@.str.2 = [7 x i8] c", %llu\00"
define i32 @main() {
%1 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64 1, i64 2)
%2 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 3)
br label %3
3: ; preds = %3, %0
%4 = phi i64 [ 1, %0 ], [ %5, %3 ]
%5 = phi i64 [ 3, %0 ], [ %7, %3 ]
%6 = phi i64 [ 1, %0 ], [ %8, %3 ]
%7 = add i64 %5, %4
%8 = add nuw nsw i64 %6, 1
%9 = tail call i32 (i8*, i64, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i64 %7)
%10 = icmp eq i64 %8, 100
br i1 %10, label %11, label %3
11: ; preds = %3
ret i32 0
}