#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*/ Sleep(int);
int /*<<< orphan*/ gotoxy(int, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ textbackground(int);
int /*<<< orphan*/ textcolor(int);
void ipn(void) {
  gotoxy(25, 3);
  textbackground(4);
  textcolor(15);
  printf("I");
  gotoxy(35, 3);
  textbackground(4);
  textcolor(15);
  printf("P");
  gotoxy(47, 3);
  textbackground(4);
  textcolor(15);
  printf("N");
  Sleep(1000);
  gotoxy(26, 3);
  textbackground(15);
  textcolor(4);
  printf("nstituto");
  textbackground(0);
  gotoxy(36, 3);
  textbackground(15);
  textcolor(4);
  printf("olitecnico");
  textbackground(0);
  gotoxy(48, 3);
  textbackground(15);
  textcolor(4);
  printf("acional");
}


x86 assembly (clang, -O0):
<ipn>:
push   %rbp
mov    %rsp,%rbp
mov    $0x19,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0x4,%edi
call   1060 <textbackground@plt>
mov    $0xf,%edi
call   1040 <textcolor@plt>
lea    0xe82(%rip),%rdi
call   1030 <printf@plt>
mov    $0x23,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0x4,%edi
call   1060 <textbackground@plt>
mov    $0xf,%edi
call   1040 <textcolor@plt>
lea    0xe55(%rip),%rdi
call   1030 <printf@plt>
mov    $0x2f,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0x4,%edi
call   1060 <textbackground@plt>
mov    $0xf,%edi
call   1040 <textcolor@plt>
lea    0xe28(%rip),%rdi
call   1030 <printf@plt>
mov    $0x3e8,%edi
call   1070 <Sleep@plt>
mov    $0x1a,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0xf,%edi
call   1060 <textbackground@plt>
mov    $0x4,%edi
call   1040 <textcolor@plt>
lea    0xdf1(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1060 <textbackground@plt>
mov    $0x24,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0xf,%edi
call   1060 <textbackground@plt>
mov    $0x4,%edi
call   1040 <textcolor@plt>
lea    0xdc4(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1060 <textbackground@plt>
mov    $0x30,%edi
mov    $0x3,%esi
call   1050 <gotoxy@plt>
mov    $0xf,%edi
call   1060 <textbackground@plt>
mov    $0x4,%edi
call   1040 <textcolor@plt>
lea    0xd99(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipn>:
push   %rax
mov    $0x19,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0x4,%edi
call   1070 <textbackground@plt>
mov    $0xf,%edi
call   1050 <textcolor@plt>
mov    $0x49,%edi
call   1030 <putchar@plt>
mov    $0x23,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0x4,%edi
call   1070 <textbackground@plt>
mov    $0xf,%edi
call   1050 <textcolor@plt>
mov    $0x50,%edi
call   1030 <putchar@plt>
mov    $0x2f,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0x4,%edi
call   1070 <textbackground@plt>
mov    $0xf,%edi
call   1050 <textcolor@plt>
mov    $0x4e,%edi
call   1030 <putchar@plt>
mov    $0x3e8,%edi
call   1080 <Sleep@plt>
mov    $0x1a,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0xf,%edi
call   1070 <textbackground@plt>
mov    $0x4,%edi
call   1050 <textcolor@plt>
lea    0xde4(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   1070 <textbackground@plt>
mov    $0x24,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0xf,%edi
call   1070 <textbackground@plt>
mov    $0x4,%edi
call   1050 <textcolor@plt>
lea    0xdb7(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   1070 <textbackground@plt>
mov    $0x30,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
mov    $0xf,%edi
call   1070 <textbackground@plt>
mov    $0x4,%edi
call   1050 <textcolor@plt>
lea    0xd8c(%rip),%rdi
pop    %rax
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"I\00"
@.str.1 = [2 x i8] c"P\00"
@.str.2 = [2 x i8] c"N\00"
@.str.3 = [9 x i8] c"nstituto\00"
@.str.4 = [11 x i8] c"olitecnico\00"
@.str.5 = [8 x i8] c"acional\00"
define void @ipn() {
%1 = call i32 @gotoxy(i32 25, i32 3)
%2 = call i32 @textbackground(i32 4)
%3 = call i32 @textcolor(i32 15)
%4 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @gotoxy(i32 35, i32 3)
%6 = call i32 @textbackground(i32 4)
%7 = call i32 @textcolor(i32 15)
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 @gotoxy(i32 47, i32 3)
%10 = call i32 @textbackground(i32 4)
%11 = call i32 @textcolor(i32 15)
%12 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @Sleep(i32 1000)
%14 = call i32 @gotoxy(i32 26, i32 3)
%15 = call i32 @textbackground(i32 15)
%16 = call i32 @textcolor(i32 4)
%17 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%18 = call i32 @textbackground(i32 0)
%19 = call i32 @gotoxy(i32 36, i32 3)
%20 = call i32 @textbackground(i32 15)
%21 = call i32 @textcolor(i32 4)
%22 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 @textbackground(i32 0)
%24 = call i32 @gotoxy(i32 48, i32 3)
%25 = call i32 @textbackground(i32 15)
%26 = call i32 @textcolor(i32 4)
%27 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.3 = [9 x i8] c"nstituto\00"
@.str.4 = [11 x i8] c"olitecnico\00"
@.str.5 = [8 x i8] c"acional\00"
define void @ipn() {
%1 = tail call i32 @gotoxy(i32 25, i32 3)
%2 = tail call i32 @textbackground(i32 4)
%3 = tail call i32 @textcolor(i32 15)
%4 = tail call i32 @putchar(i32 73)
%5 = tail call i32 @gotoxy(i32 35, i32 3)
%6 = tail call i32 @textbackground(i32 4)
%7 = tail call i32 @textcolor(i32 15)
%8 = tail call i32 @putchar(i32 80)
%9 = tail call i32 @gotoxy(i32 47, i32 3)
%10 = tail call i32 @textbackground(i32 4)
%11 = tail call i32 @textcolor(i32 15)
%12 = tail call i32 @putchar(i32 78)
%13 = tail call i32 @Sleep(i32 1000)
%14 = tail call i32 @gotoxy(i32 26, i32 3)
%15 = tail call i32 @textbackground(i32 15)
%16 = tail call i32 @textcolor(i32 4)
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%18 = tail call i32 @textbackground(i32 0)
%19 = tail call i32 @gotoxy(i32 36, i32 3)
%20 = tail call i32 @textbackground(i32 15)
%21 = tail call i32 @textcolor(i32 4)
%22 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%23 = tail call i32 @textbackground(i32 0)
%24 = tail call i32 @gotoxy(i32 48, i32 3)
%25 = tail call i32 @textbackground(i32 15)
%26 = tail call i32 @textcolor(i32 4)
%27 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
ret void
}