#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*/ putcn(char, int);
int /*<<< orphan*/ putnl();
int /*<<< orphan*/ puts(char *);
void printHeader() {
  putnl();
  putcn('=', 64);
  putnl();
  puts("Ambiente di esecuzione per BeagleBone Black (Rev. C)\r\n");
  puts("Autore: Giovanni Rossi\r\n");
  puts("Progetto Studio A.A. 2015/2016\r\n");
  putcn('-', 64);
  putnl();
  puts("Task interrompibili --> Priorità ");
  puts("FISSA\r\n");
  putcn('=', 64);
  putnl();
}


x86 assembly (clang, -O0):
<printHeader>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <putnl@plt>
mov    $0x3d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
mov    $0x0,%al
call   1030 <putnl@plt>
lea    0xea8(%rip),%rdi
call   1040 <puts@plt>
lea    0xed3(%rip),%rdi
call   1040 <puts@plt>
lea    0xee0(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
mov    $0x0,%al
call   1030 <putnl@plt>
lea    0xedf(%rip),%rdi
call   1040 <puts@plt>
lea    0xef6(%rip),%rdi
call   1040 <puts@plt>
mov    $0x3d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
mov    $0x0,%al
call   1030 <putnl@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHeader>:
push   %rax
xor    %eax,%eax
call   1030 <putnl@plt>
mov    $0x3d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
xor    %eax,%eax
call   1030 <putnl@plt>
lea    0xeab(%rip),%rdi
call   1040 <puts@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
lea    0xee3(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
xor    %eax,%eax
call   1030 <putnl@plt>
lea    0xee2(%rip),%rdi
call   1040 <puts@plt>
lea    0xef9(%rip),%rdi
call   1040 <puts@plt>
mov    $0x3d,%edi
mov    $0x40,%esi
call   1050 <putcn@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <putnl@plt>

LLVM IR (-O0):
@.str = [55 x i8] c"Ambiente di esecuzione per BeagleBone Black (Rev. C)\0D\0A\00"
@.str.1 = [25 x i8] c"Autore: Giovanni Rossi\0D\0A\00"
@.str.2 = [33 x i8] c"Progetto Studio A.A. 2015/2016\0D\0A\00"
@.str.3 = [35 x i8] c"Task interrompibili --> Priorit\C3\A0 \00"
@.str.4 = [8 x i8] c"FISSA\0D\0A\00"
define void @printHeader() {
%1 = call i32 (...) @putnl()
%2 = call i32 @putcn(i8 signext 61, i32 64)
%3 = call i32 (...) @putnl()
%4 = call i32 @puts(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @putcn(i8 signext 45, i32 64)
%8 = call i32 (...) @putnl()
%9 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%11 = call i32 @putcn(i8 signext 61, i32 64)
%12 = call i32 (...) @putnl()
ret void
}

LLVM IR (-O2):
@.str = [55 x i8] c"Ambiente di esecuzione per BeagleBone Black (Rev. C)\0D\0A\00"
@.str.1 = [25 x i8] c"Autore: Giovanni Rossi\0D\0A\00"
@.str.2 = [33 x i8] c"Progetto Studio A.A. 2015/2016\0D\0A\00"
@.str.3 = [35 x i8] c"Task interrompibili --> Priorit\C3\A0 \00"
@.str.4 = [8 x i8] c"FISSA\0D\0A\00"
define void @printHeader() {
%1 = tail call i32 (...) @putnl()
%2 = tail call i32 @putcn(i8 signext 61, i32 64)
%3 = tail call i32 (...) @putnl()
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @putcn(i8 signext 45, i32 64)
%8 = tail call i32 (...) @putnl()
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @putcn(i8 signext 61, i32 64)
%12 = tail call i32 (...) @putnl()
ret void
}