#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 COLOR_BLACK;
int COLOR_WHITE;
int /*<<< orphan*/ init_pair(int, int, int);
void initialize_colors() {
  init_pair(8, 39, 233);
  init_pair(9, 11, 233);
  init_pair(10, 83, 233);
  init_pair(11, 22, 233);
  init_pair(12, 94, 233);
  init_pair(13, 244, 233);
  init_pair(14, COLOR_WHITE, 233);
  init_pair(68, 94, 238);
  init_pair(69, 3, 238);
  init_pair(70, 3, 238);
  init_pair(71, 3, 238);
  init_pair(1, COLOR_WHITE, 39);
  init_pair(2, COLOR_BLACK, 11);
  init_pair(3, COLOR_BLACK, 83);
  init_pair(4, COLOR_BLACK, 22);
  init_pair(5, COLOR_BLACK, 94);
  init_pair(6, COLOR_BLACK, 244);
  init_pair(7, COLOR_BLACK, COLOR_WHITE);
  init_pair(64, 233, 94);
  init_pair(65, 233, 3);
  init_pair(66, 233, 3);
  init_pair(67, 233, 3);
}


x86 assembly (clang, -O0):
<initialize_colors>:
push   %rbp
mov    %rsp,%rbp
mov    $0x8,%edi
mov    $0x27,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0x9,%edi
mov    $0xb,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xa,%edi
mov    $0x53,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xb,%edi
mov    $0x16,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xc,%edi
mov    $0x5e,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xd,%edi
mov    $0xf4,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%esi
mov    $0xe,%edi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0x44,%edi
mov    $0x5e,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x45,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x46,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x47,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    0x2ddd(%rip),%rax
mov    (%rax),%esi
mov    $0x1,%edi
mov    $0x27,%edx
call   1030 <init_pair@plt>
mov    0x2dd5(%rip),%rax
mov    (%rax),%esi
mov    $0x2,%edi
mov    $0xb,%edx
call   1030 <init_pair@plt>
mov    0x2dbd(%rip),%rax
mov    (%rax),%esi
mov    $0x3,%edi
mov    $0x53,%edx
call   1030 <init_pair@plt>
mov    0x2da5(%rip),%rax
mov    (%rax),%esi
mov    $0x4,%edi
mov    $0x16,%edx
call   1030 <init_pair@plt>
mov    0x2d8d(%rip),%rax
mov    (%rax),%esi
mov    $0x5,%edi
mov    $0x5e,%edx
call   1030 <init_pair@plt>
mov    0x2d75(%rip),%rax
mov    (%rax),%esi
mov    $0x6,%edi
mov    $0xf4,%edx
call   1030 <init_pair@plt>
mov    0x2d5d(%rip),%rax
mov    (%rax),%esi
mov    0x2d44(%rip),%rax
mov    (%rax),%edx
mov    $0x7,%edi
call   1030 <init_pair@plt>
mov    $0x40,%edi
mov    $0xe9,%esi
mov    $0x5e,%edx
call   1030 <init_pair@plt>
mov    $0x41,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
call   1030 <init_pair@plt>
mov    $0x42,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
call   1030 <init_pair@plt>
mov    $0x43,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
call   1030 <init_pair@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<initialize_colors>:
push   %r14
push   %rbx
push   %rax
mov    $0x8,%edi
mov    $0x27,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0x9,%edi
mov    $0xb,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xa,%edi
mov    $0x53,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xb,%edi
mov    $0x16,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xc,%edi
mov    $0x5e,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0xd,%edi
mov    $0xf4,%esi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    0x2e45(%rip),%r14
mov    (%r14),%esi
mov    $0xe,%edi
mov    $0xe9,%edx
call   1030 <init_pair@plt>
mov    $0x44,%edi
mov    $0x5e,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x45,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x46,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    $0x47,%edi
mov    $0x3,%esi
mov    $0xee,%edx
call   1030 <init_pair@plt>
mov    (%r14),%esi
mov    $0x1,%edi
mov    $0x27,%edx
call   1030 <init_pair@plt>
mov    0x2dda(%rip),%rbx
mov    (%rbx),%esi
mov    $0x2,%edi
mov    $0xb,%edx
call   1030 <init_pair@plt>
mov    (%rbx),%esi
mov    $0x3,%edi
mov    $0x53,%edx
call   1030 <init_pair@plt>
mov    (%rbx),%esi
mov    $0x4,%edi
mov    $0x16,%edx
call   1030 <init_pair@plt>
mov    (%rbx),%esi
mov    $0x5,%edi
mov    $0x5e,%edx
call   1030 <init_pair@plt>
mov    (%rbx),%esi
mov    $0x6,%edi
mov    $0xf4,%edx
call   1030 <init_pair@plt>
mov    (%rbx),%esi
mov    (%r14),%edx
mov    $0x7,%edi
call   1030 <init_pair@plt>
mov    $0x40,%edi
mov    $0xe9,%esi
mov    $0x5e,%edx
call   1030 <init_pair@plt>
mov    $0x41,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
call   1030 <init_pair@plt>
mov    $0x42,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
call   1030 <init_pair@plt>
mov    $0x43,%edi
mov    $0xe9,%esi
mov    $0x3,%edx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <init_pair@plt>

LLVM IR (-O0):
@COLOR_WHITE = global i32 0
@COLOR_BLACK = global i32 0
define void @initialize_colors() {
%1 = call i32 @init_pair(i32 8, i32 39, i32 233)
%2 = call i32 @init_pair(i32 9, i32 11, i32 233)
%3 = call i32 @init_pair(i32 10, i32 83, i32 233)
%4 = call i32 @init_pair(i32 11, i32 22, i32 233)
%5 = call i32 @init_pair(i32 12, i32 94, i32 233)
%6 = call i32 @init_pair(i32 13, i32 244, i32 233)
%7 = load i32, i32* @COLOR_WHITE
%8 = call i32 @init_pair(i32 14, i32 %7, i32 233)
%9 = call i32 @init_pair(i32 68, i32 94, i32 238)
%10 = call i32 @init_pair(i32 69, i32 3, i32 238)
%11 = call i32 @init_pair(i32 70, i32 3, i32 238)
%12 = call i32 @init_pair(i32 71, i32 3, i32 238)
%13 = load i32, i32* @COLOR_WHITE
%14 = call i32 @init_pair(i32 1, i32 %13, i32 39)
%15 = load i32, i32* @COLOR_BLACK
%16 = call i32 @init_pair(i32 2, i32 %15, i32 11)
%17 = load i32, i32* @COLOR_BLACK
%18 = call i32 @init_pair(i32 3, i32 %17, i32 83)
%19 = load i32, i32* @COLOR_BLACK
%20 = call i32 @init_pair(i32 4, i32 %19, i32 22)
%21 = load i32, i32* @COLOR_BLACK
%22 = call i32 @init_pair(i32 5, i32 %21, i32 94)
%23 = load i32, i32* @COLOR_BLACK
%24 = call i32 @init_pair(i32 6, i32 %23, i32 244)
%25 = load i32, i32* @COLOR_BLACK
%26 = load i32, i32* @COLOR_WHITE
%27 = call i32 @init_pair(i32 7, i32 %25, i32 %26)
%28 = call i32 @init_pair(i32 64, i32 233, i32 94)
%29 = call i32 @init_pair(i32 65, i32 233, i32 3)
%30 = call i32 @init_pair(i32 66, i32 233, i32 3)
%31 = call i32 @init_pair(i32 67, i32 233, i32 3)
ret void
}

LLVM IR (-O2):
@COLOR_WHITE = global i32 0
@COLOR_BLACK = global i32 0
define void @initialize_colors() {
%1 = tail call i32 @init_pair(i32 8, i32 39, i32 233)
%2 = tail call i32 @init_pair(i32 9, i32 11, i32 233)
%3 = tail call i32 @init_pair(i32 10, i32 83, i32 233)
%4 = tail call i32 @init_pair(i32 11, i32 22, i32 233)
%5 = tail call i32 @init_pair(i32 12, i32 94, i32 233)
%6 = tail call i32 @init_pair(i32 13, i32 244, i32 233)
%7 = load i32, i32* @COLOR_WHITE
%8 = tail call i32 @init_pair(i32 14, i32 %7, i32 233)
%9 = tail call i32 @init_pair(i32 68, i32 94, i32 238)
%10 = tail call i32 @init_pair(i32 69, i32 3, i32 238)
%11 = tail call i32 @init_pair(i32 70, i32 3, i32 238)
%12 = tail call i32 @init_pair(i32 71, i32 3, i32 238)
%13 = load i32, i32* @COLOR_WHITE
%14 = tail call i32 @init_pair(i32 1, i32 %13, i32 39)
%15 = load i32, i32* @COLOR_BLACK
%16 = tail call i32 @init_pair(i32 2, i32 %15, i32 11)
%17 = load i32, i32* @COLOR_BLACK
%18 = tail call i32 @init_pair(i32 3, i32 %17, i32 83)
%19 = load i32, i32* @COLOR_BLACK
%20 = tail call i32 @init_pair(i32 4, i32 %19, i32 22)
%21 = load i32, i32* @COLOR_BLACK
%22 = tail call i32 @init_pair(i32 5, i32 %21, i32 94)
%23 = load i32, i32* @COLOR_BLACK
%24 = tail call i32 @init_pair(i32 6, i32 %23, i32 244)
%25 = load i32, i32* @COLOR_BLACK
%26 = load i32, i32* @COLOR_WHITE
%27 = tail call i32 @init_pair(i32 7, i32 %25, i32 %26)
%28 = tail call i32 @init_pair(i32 64, i32 233, i32 94)
%29 = tail call i32 @init_pair(i32 65, i32 233, i32 3)
%30 = tail call i32 @init_pair(i32 66, i32 233, i32 3)
%31 = tail call i32 @init_pair(i32 67, i32 233, i32 3)
ret void
}