#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*/ print_int64(int);
int /*<<< orphan*/ putchar(int /*<<< orphan*/);
int main() {
  print_int64(0);
  print_int64(0);
  print_int64(0);
  print_int64(1);
  print_int64(1);
  print_int64(0);
  print_int64(0);
  while (1) {
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
    putchar(0);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
mov    $0x1,%edi
call   1040 <print_int64@plt>
mov    $0x1,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
jmp    1166 <main+0x46>

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
mov    $0x1,%edi
call   1040 <print_int64@plt>
mov    $0x1,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
xor    %edi,%edi
call   1040 <print_int64@plt>
nopl   0x0(%rax,%rax,1)
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1030 <putchar@plt>
jmp    1160 <main+0x40>

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @print_int64(i32 0)
%3 = call i32 @print_int64(i32 0)
%4 = call i32 @print_int64(i32 0)
%5 = call i32 @print_int64(i32 1)
%6 = call i32 @print_int64(i32 1)
%7 = call i32 @print_int64(i32 0)
%8 = call i32 @print_int64(i32 0)
br label %9
9: ; preds = %0, %9
%10 = call i32 @putchar(i32 0)
%11 = call i32 @putchar(i32 0)
%12 = call i32 @putchar(i32 0)
%13 = call i32 @putchar(i32 0)
%14 = call i32 @putchar(i32 0)
%15 = call i32 @putchar(i32 0)
%16 = call i32 @putchar(i32 0)
%17 = call i32 @putchar(i32 0)
%18 = call i32 @putchar(i32 0)
%19 = call i32 @putchar(i32 0)
%20 = call i32 @putchar(i32 0)
%21 = call i32 @putchar(i32 0)
%22 = call i32 @putchar(i32 0)
%23 = call i32 @putchar(i32 0)
%24 = call i32 @putchar(i32 0)
%25 = call i32 @putchar(i32 0)
br label %9
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @print_int64(i32 0)
%2 = tail call i32 @print_int64(i32 0)
%3 = tail call i32 @print_int64(i32 0)
%4 = tail call i32 @print_int64(i32 1)
%5 = tail call i32 @print_int64(i32 1)
%6 = tail call i32 @print_int64(i32 0)
%7 = tail call i32 @print_int64(i32 0)
br label %8
8: ; preds = %0, %8
%9 = tail call i32 @putchar(i32 0)
%10 = tail call i32 @putchar(i32 0)
%11 = tail call i32 @putchar(i32 0)
%12 = tail call i32 @putchar(i32 0)
%13 = tail call i32 @putchar(i32 0)
%14 = tail call i32 @putchar(i32 0)
%15 = tail call i32 @putchar(i32 0)
%16 = tail call i32 @putchar(i32 0)
%17 = tail call i32 @putchar(i32 0)
%18 = tail call i32 @putchar(i32 0)
%19 = tail call i32 @putchar(i32 0)
%20 = tail call i32 @putchar(i32 0)
%21 = tail call i32 @putchar(i32 0)
%22 = tail call i32 @putchar(i32 0)
%23 = tail call i32 @putchar(i32 0)
%24 = tail call i32 @putchar(i32 0)
br label %8
}