#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*/ actions();
int /*<<< orphan*/ copyright();
int /*<<< orphan*/ memory();
int /*<<< orphan*/ primary();
int /*<<< orphan*/ processor();
int /*<<< orphan*/ secondary();
int /*<<< orphan*/ sleep(int);
int /*<<< orphan*/ system(char *);
int main() {
  (void)system("clear");
  copyright();
  sleep(1);
  processor();
  sleep(1);
  memory();
  sleep(1);
  primary();
  sleep(1);
  secondary();
  sleep(1);
  actions();
  sleep(2);
  (void)system("clear");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe6a(%rip),%rdi
call   1040 <system@plt>
mov    $0x0,%al
call   1050 <copyright@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
mov    $0x0,%al
call   1090 <processor@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
mov    $0x0,%al
call   1070 <memory@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
mov    $0x0,%al
call   1080 <primary@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
mov    $0x0,%al
call   1030 <secondary@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
mov    $0x0,%al
call   1060 <actions@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
lea    0xdf8(%rip),%rdi
call   1040 <system@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xe78(%rip),%rbx
mov    %rbx,%rdi
call   1040 <system@plt>
xor    %eax,%eax
call   1050 <copyright@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
xor    %eax,%eax
call   1090 <processor@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
xor    %eax,%eax
call   1070 <memory@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
xor    %eax,%eax
call   1080 <primary@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
xor    %eax,%eax
call   1030 <secondary@plt>
mov    $0x1,%edi
call   10a0 <sleep@plt>
xor    %eax,%eax
call   1060 <actions@plt>
mov    $0x2,%edi
call   10a0 <sleep@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [6 x i8] c"clear\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @copyright()
%4 = call i32 @sleep(i32 1)
%5 = call i32 (...) @processor()
%6 = call i32 @sleep(i32 1)
%7 = call i32 (...) @memory()
%8 = call i32 @sleep(i32 1)
%9 = call i32 (...) @primary()
%10 = call i32 @sleep(i32 1)
%11 = call i32 (...) @secondary()
%12 = call i32 @sleep(i32 1)
%13 = call i32 (...) @actions()
%14 = call i32 @sleep(i32 2)
%15 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"clear\00"
define i32 @main() {
%1 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @copyright()
%3 = tail call i32 @sleep(i32 1)
%4 = tail call i32 (...) @processor()
%5 = tail call i32 @sleep(i32 1)
%6 = tail call i32 (...) @memory()
%7 = tail call i32 @sleep(i32 1)
%8 = tail call i32 (...) @primary()
%9 = tail call i32 @sleep(i32 1)
%10 = tail call i32 (...) @secondary()
%11 = tail call i32 @sleep(i32 1)
%12 = tail call i32 (...) @actions()
%13 = tail call i32 @sleep(i32 2)
%14 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
ret i32 0
}