#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*/ COLOR_PAIR(int);
int /*<<< orphan*/ assume_default_colors(int, int);
int /*<<< orphan*/ attroff(int /*<<< orphan*/);
int /*<<< orphan*/ attron(int /*<<< orphan*/);
int /*<<< orphan*/ init_color(int, int, int, int);
int /*<<< orphan*/ init_pair(int, int, int);
int /*<<< orphan*/ mvprintw(int, int, char *, ...);
int /*<<< orphan*/ refresh();
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ use_default_colors();
void print_tile(int num, int tile_num) {
  char before[8];
  char after[8];
  int row, col;
  int p_y, p_x;
  init_color(1, 523, 867, 515);
  init_color(2, 402, 796, 984);
  init_color(3, 597, 199, 996);
  init_color(4, 996, 601, 601);
  init_color(5, 996, 886, 597);
  init_color(6, 636, 800, 285);
  init_color(7, 50, 660, 683);
  init_color(8, 421, 218, 597);
  init_color(9, 929, 769, 863);
  init_color(10, 578, 93, 93);
  init_color(11, 0, 0, 0);
  init_color(12, 781, 781, 781);
  switch (num) {
  case 2:
    strcpy(before, "    ");
    strcpy(after, "     ");
    break;
  case 4:
    strcpy(before, "    ");
    strcpy(after, "     ");
    break;
  case 8:
    strcpy(before, "    ");
    strcpy(after, "     ");
    break;
  case 16:
    strcpy(before, "    ");
    strcpy(after, "    ");
    break;
  case 32:
    strcpy(before, "    ");
    strcpy(after, "    ");
    break;
  case 64:
    strcpy(before, "    ");
    strcpy(after, "    ");
    break;
  case 128:
    strcpy(before, "   ");
    strcpy(after, "    ");
    break;
  case 256:
    strcpy(before, "   ");
    strcpy(after, "    ");
    break;
  case 512:
    strcpy(before, "   ");
    strcpy(after, "    ");
    break;
  case 1024:
    strcpy(before, "   ");
    strcpy(after, "   ");
    break;
  case 2048:
    strcpy(before, "   ");
    strcpy(after, "   ");
    break;
  case 4096:
    strcpy(before, "   ");
    strcpy(after, "   ");
    break;
  default:
    break;
  }
  int count = 0;
  if (num != 0) {
    int _num = num;
    while (_num != 2) {
      _num = _num >> 1;
      count += 1;
    }
  }
  row = (int)(tile_num / 4);
  col = tile_num % 4;
  p_y = row * 6;
  p_x = col * 11;
  use_default_colors();
  assume_default_colors(-1, -1);
  init_pair(1, -1, -1);
  init_pair(2, -1, 1);
  init_pair(3, -1, 2);
  init_pair(4, -1, 3);
  init_pair(5, -1, 4);
  init_pair(6, -1, 5);
  init_pair(7, -1, 6);
  init_pair(8, -1, 7);
  init_pair(9, -1, 8);
  init_pair(10, -1, 9);
  init_pair(11, -1, 10);
  init_pair(12, -1, 11);
  init_pair(13, -1, 12);
  if (num == 0) {
    attron(COLOR_PAIR(1));
    mvprintw(p_y, p_x, "          ");
    mvprintw(p_y + 1, p_x, "          ");
    mvprintw(p_y + 2, p_x, "          ");
    mvprintw(p_y + 3, p_x, "          ");
    mvprintw(p_y + 4, p_x, "          ");
    attroff(COLOR_PAIR(1));
  } else {
    attron(COLOR_PAIR(count + 2));
    mvprintw(p_y, p_x, "          ");
    mvprintw(p_y + 1, p_x, "          ");
    mvprintw(p_y + 2, p_x, "%s%d%s", before, num, after);
    mvprintw(p_y + 3, p_x, "          ");
    mvprintw(p_y + 4, p_x, "          ");
    attroff(COLOR_PAIR(count + 2));
  }
  refresh();
}


x86 assembly (clang, -O0):
<print_tile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    $0x1,%edi
mov    $0x20b,%esi
mov    $0x363,%edx
mov    $0x203,%ecx
call   1070 <init_color@plt>
mov    $0x2,%edi
mov    $0x192,%esi
mov    $0x31c,%edx
mov    $0x3d8,%ecx
call   1070 <init_color@plt>
mov    $0x3,%edi
mov    $0x255,%esi
mov    %esi,-0x38(%rbp)
mov    $0xc7,%edx
mov    $0x3e4,%ecx
mov    %ecx,-0x3c(%rbp)
call   1070 <init_color@plt>
mov    -0x3c(%rbp),%esi
mov    $0x4,%edi
mov    $0x259,%ecx
mov    %ecx,%edx
call   1070 <init_color@plt>
mov    -0x3c(%rbp),%esi
mov    -0x38(%rbp),%ecx
mov    $0x5,%edi
mov    $0x376,%edx
call   1070 <init_color@plt>
mov    $0x6,%edi
mov    $0x27c,%esi
mov    $0x320,%edx
mov    $0x11d,%ecx
call   1070 <init_color@plt>
mov    $0x7,%edi
mov    $0x32,%esi
mov    $0x294,%edx
mov    $0x2ab,%ecx
call   1070 <init_color@plt>
mov    -0x38(%rbp),%ecx
mov    $0x8,%edi
mov    $0x1a5,%esi
mov    $0xda,%edx
call   1070 <init_color@plt>
mov    $0x9,%edi
mov    $0x3a1,%esi
mov    $0x301,%edx
mov    $0x35f,%ecx
call   1070 <init_color@plt>
mov    $0xa,%edi
mov    $0x242,%esi
mov    $0x5d,%ecx
mov    %ecx,%edx
call   1070 <init_color@plt>
mov    $0xb,%edi
xor    %ecx,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   1070 <init_color@plt>
mov    $0xc,%edi
mov    $0x30d,%ecx
mov    %ecx,%esi
mov    %ecx,%edx
call   1070 <init_color@plt>
mov    -0x4(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0x2,%eax
je     139e <print_tile+0x1fe>
jmp    12d7 <print_tile+0x137>
mov    -0x34(%rbp),%eax
sub    $0x4,%eax
je     13c3 <print_tile+0x223>
jmp    12e8 <print_tile+0x148>
mov    -0x34(%rbp),%eax
sub    $0x8,%eax
je     13e8 <print_tile+0x248>
jmp    12f9 <print_tile+0x159>
mov    -0x34(%rbp),%eax
sub    $0x10,%eax
je     140d <print_tile+0x26d>
jmp    130a <print_tile+0x16a>
mov    -0x34(%rbp),%eax
sub    $0x20,%eax
je     1432 <print_tile+0x292>
jmp    131b <print_tile+0x17b>
mov    -0x34(%rbp),%eax
sub    $0x40,%eax
je     1457 <print_tile+0x2b7>
jmp    132c <print_tile+0x18c>
mov    -0x34(%rbp),%eax
sub    $0x80,%eax
je     147c <print_tile+0x2dc>
jmp    133f <print_tile+0x19f>
mov    -0x34(%rbp),%eax
sub    $0x100,%eax
je     14a1 <print_tile+0x301>
jmp    1352 <print_tile+0x1b2>
mov    -0x34(%rbp),%eax
sub    $0x200,%eax
je     14c6 <print_tile+0x326>
jmp    1365 <print_tile+0x1c5>
mov    -0x34(%rbp),%eax
sub    $0x400,%eax
je     14eb <print_tile+0x34b>
jmp    1378 <print_tile+0x1d8>
mov    -0x34(%rbp),%eax
sub    $0x800,%eax
je     1510 <print_tile+0x370>
jmp    138b <print_tile+0x1eb>
mov    -0x34(%rbp),%eax
sub    $0x1000,%eax
je     1535 <print_tile+0x395>
jmp    155a <print_tile+0x3ba>
lea    -0x10(%rbp),%rdi
lea    0xc5d(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xc4c(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xc38(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xc27(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xc13(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xc02(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xbee(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xbde(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xbc9(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xbb9(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xba4(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xb94(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xb80(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xb6f(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xb5b(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xb4a(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xb36(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xb25(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xb11(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xb01(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xaec(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xadc(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
lea    -0x10(%rbp),%rdi
lea    0xac7(%rip),%rsi
call   1060 <strcpy@plt>
lea    -0x18(%rbp),%rdi
lea    0xab7(%rip),%rsi
call   1060 <strcpy@plt>
jmp    155f <print_tile+0x3bf>
jmp    155f <print_tile+0x3bf>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x0,-0x4(%rbp)
je     159c <print_tile+0x3fc>
mov    -0x4(%rbp),%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x2,-0x30(%rbp)
je     1597 <print_tile+0x3f7>
mov    -0x30(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1576 <print_tile+0x3d6>
jmp    159c <print_tile+0x3fc>
mov    -0x8(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %edx,-0x20(%rbp)
imul   $0x6,-0x1c(%rbp),%eax
mov    %eax,-0x24(%rbp)
imul   $0xb,-0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1050 <use_default_colors@plt>
mov    $0xffffffff,%esi
mov    %esi,%edi
call   1030 <assume_default_colors@plt>
mov    $0x1,%edi
mov    $0xffffffff,%edx
mov    %edx,%esi
call   1080 <init_pair@plt>
mov    $0x2,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1080 <init_pair@plt>
mov    $0x3,%edi
mov    $0xffffffff,%esi
mov    $0x2,%edx
call   1080 <init_pair@plt>
mov    $0x4,%edi
mov    $0xffffffff,%esi
mov    $0x3,%edx
call   1080 <init_pair@plt>
mov    $0x5,%edi
mov    $0xffffffff,%esi
mov    $0x4,%edx
call   1080 <init_pair@plt>
mov    $0x6,%edi
mov    $0xffffffff,%esi
mov    $0x5,%edx
call   1080 <init_pair@plt>
mov    $0x7,%edi
mov    $0xffffffff,%esi
mov    $0x6,%edx
call   1080 <init_pair@plt>
mov    $0x8,%edi
mov    $0xffffffff,%esi
mov    $0x7,%edx
call   1080 <init_pair@plt>
mov    $0x9,%edi
mov    $0xffffffff,%esi
mov    $0x8,%edx
call   1080 <init_pair@plt>
mov    $0xa,%edi
mov    $0xffffffff,%esi
mov    $0x9,%edx
call   1080 <init_pair@plt>
mov    $0xb,%edi
mov    $0xffffffff,%esi
mov    $0xa,%edx
call   1080 <init_pair@plt>
mov    $0xc,%edi
mov    $0xffffffff,%esi
mov    $0xb,%edx
call   1080 <init_pair@plt>
mov    $0xd,%edi
mov    $0xffffffff,%esi
mov    $0xc,%edx
call   1080 <init_pair@plt>
cmpl   $0x0,-0x4(%rbp)
jne    177b <print_tile+0x5db>
mov    $0x1,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1090 <attron@plt>
mov    -0x24(%rbp),%edi
mov    -0x28(%rbp),%esi
lea    0x8fe(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x1,%edi
mov    -0x28(%rbp),%esi
lea    0x8e7(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x2,%edi
mov    -0x28(%rbp),%esi
lea    0x8d0(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x3,%edi
mov    -0x28(%rbp),%esi
lea    0x8b9(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x4,%edi
mov    -0x28(%rbp),%esi
lea    0x8a2(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    $0x1,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1040 <attroff@plt>
jmp    181b <print_tile+0x67b>
mov    -0x2c(%rbp),%edi
add    $0x2,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1090 <attron@plt>
mov    -0x24(%rbp),%edi
mov    -0x28(%rbp),%esi
lea    0x866(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x1,%edi
mov    -0x28(%rbp),%esi
lea    0x84f(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x2,%edi
mov    -0x28(%rbp),%esi
lea    -0x10(%rbp),%rcx
mov    -0x4(%rbp),%r8d
lea    -0x18(%rbp),%r9
lea    0x837(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x3,%edi
mov    -0x28(%rbp),%esi
lea    0x815(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x24(%rbp),%edi
add    $0x4,%edi
mov    -0x28(%rbp),%esi
lea    0x7fe(%rip),%rdx
mov    $0x0,%al
call   10c0 <mvprintw@plt>
mov    -0x2c(%rbp),%edi
add    $0x2,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1040 <attroff@plt>
mov    $0x0,%al
call   10b0 <refresh@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_tile>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %esi,%r15d
mov    %edi,%r14d
mov    $0x1,%edi
mov    $0x20b,%esi
mov    $0x363,%edx
mov    $0x203,%ecx
call   1070 <init_color@plt>
mov    $0x2,%ebp
mov    $0x2,%edi
mov    $0x192,%esi
mov    $0x31c,%edx
mov    $0x3d8,%ecx
call   1070 <init_color@plt>
mov    $0x3,%edi
mov    $0x255,%esi
mov    $0xc7,%edx
mov    $0x3e4,%ecx
call   1070 <init_color@plt>
mov    $0x4,%edi
mov    $0x3e4,%esi
mov    $0x259,%edx
mov    $0x259,%ecx
call   1070 <init_color@plt>
mov    $0x5,%edi
mov    $0x3e4,%esi
mov    $0x376,%edx
mov    $0x255,%ecx
call   1070 <init_color@plt>
mov    $0x6,%edi
mov    $0x27c,%esi
mov    $0x320,%edx
mov    $0x11d,%ecx
call   1070 <init_color@plt>
mov    $0x7,%edi
mov    $0x32,%esi
mov    $0x294,%edx
mov    $0x2ab,%ecx
call   1070 <init_color@plt>
mov    $0x8,%edi
mov    $0x1a5,%esi
mov    $0xda,%edx
mov    $0x255,%ecx
call   1070 <init_color@plt>
mov    $0x9,%edi
mov    $0x3a1,%esi
mov    $0x301,%edx
mov    $0x35f,%ecx
call   1070 <init_color@plt>
mov    $0xa,%edi
mov    $0x242,%esi
mov    $0x5d,%edx
mov    $0x5d,%ecx
call   1070 <init_color@plt>
mov    $0xb,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1070 <init_color@plt>
mov    $0xc,%edi
mov    $0x30d,%esi
mov    $0x30d,%edx
mov    $0x30d,%ecx
call   1070 <init_color@plt>
cmp    $0x7f,%r14d
jg     1314 <print_tile+0x174>
cmp    $0x40,%r14d
ja     1382 <print_tile+0x1e2>
lea    0xe18(%rip),%rbx
lea    0xe12(%rip),%rsi
mov    %r14d,%eax
lea    0xcfe(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xdf8(%rip),%rsi
jmp    136a <print_tile+0x1ca>
cmp    $0x3ff,%r14d
jg     1348 <print_tile+0x1a8>
cmp    $0x80,%r14d
je     1338 <print_tile+0x198>
cmp    $0x100,%r14d
je     1338 <print_tile+0x198>
cmp    $0x200,%r14d
jne    1382 <print_tile+0x1e2>
lea    0xdcb(%rip),%rbx
lea    0xdc5(%rip),%rsi
jmp    136d <print_tile+0x1cd>
cmp    $0x400,%r14d
je     1363 <print_tile+0x1c3>
cmp    $0x800,%r14d
je     1363 <print_tile+0x1c3>
cmp    $0x1000,%r14d
jne    1382 <print_tile+0x1e2>
lea    0xda1(%rip),%rsi
mov    %rsi,%rbx
lea    0x8(%rsp),%rdi
call   1060 <strcpy@plt>
mov    %rsp,%rdi
mov    %rbx,%rsi
call   1060 <strcpy@plt>
mov    $0x2,%ebp
mov    %r14d,%eax
nopw   0x0(%rax,%rax,1)
sar    %eax
add    $0x1,%ebp
cmp    $0x2,%eax
jne    1390 <print_tile+0x1f0>
lea    0x3(%r15),%eax
test   %r15d,%r15d
cmovns %r15d,%eax
mov    %eax,%ecx
and    $0xfffffffc,%ecx
sub    %ecx,%r15d
sar    $0x2,%eax
add    %eax,%eax
lea    (%rax,%rax,2),%ebx
lea    (%r15,%r15,4),%eax
lea    (%r15,%rax,2),%r15d
xor    %eax,%eax
call   1050 <use_default_colors@plt>
mov    $0xffffffff,%edi
mov    $0xffffffff,%esi
call   1030 <assume_default_colors@plt>
mov    $0x1,%r12d
mov    $0x1,%edi
mov    $0xffffffff,%esi
mov    $0xffffffff,%edx
call   1080 <init_pair@plt>
mov    $0x2,%edi
mov    $0xffffffff,%esi
mov    $0x1,%edx
call   1080 <init_pair@plt>
mov    $0x3,%edi
mov    $0xffffffff,%esi
mov    $0x2,%edx
call   1080 <init_pair@plt>
mov    $0x4,%edi
mov    $0xffffffff,%esi
mov    $0x3,%edx
call   1080 <init_pair@plt>
mov    $0x5,%edi
mov    $0xffffffff,%esi
mov    $0x4,%edx
call   1080 <init_pair@plt>
mov    $0x6,%edi
mov    $0xffffffff,%esi
mov    $0x5,%edx
call   1080 <init_pair@plt>
mov    $0x7,%edi
mov    $0xffffffff,%esi
mov    $0x6,%edx
call   1080 <init_pair@plt>
mov    $0x8,%edi
mov    $0xffffffff,%esi
mov    $0x7,%edx
call   1080 <init_pair@plt>
mov    $0x9,%edi
mov    $0xffffffff,%esi
mov    $0x8,%edx
call   1080 <init_pair@plt>
mov    $0xa,%edi
mov    $0xffffffff,%esi
mov    $0x9,%edx
call   1080 <init_pair@plt>
mov    $0xb,%edi
mov    $0xffffffff,%esi
mov    $0xa,%edx
call   1080 <init_pair@plt>
mov    $0xc,%edi
mov    $0xffffffff,%esi
mov    $0xb,%edx
call   1080 <init_pair@plt>
mov    $0xd,%edi
mov    $0xffffffff,%esi
mov    $0xc,%edx
call   1080 <init_pair@plt>
test   %r14d,%r14d
je     153c <print_tile+0x39c>
mov    %ebp,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1090 <attron@plt>
lea    0xc0d(%rip),%r12
mov    %ebx,%edi
mov    %r15d,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
mov    %ebx,%edi
or     $0x1,%edi
mov    %r15d,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
lea    0x2(%rbx),%edi
lea    0xbed(%rip),%rdx
lea    0x8(%rsp),%rcx
mov    %rsp,%r9
mov    %r15d,%esi
mov    %r14d,%r8d
xor    %eax,%eax
call   10c0 <mvprintw@plt>
mov    %ebp,%r12d
jmp    1585 <print_tile+0x3e5>
mov    $0x1,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1090 <attron@plt>
lea    0xbb0(%rip),%rbp
mov    %ebx,%edi
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
mov    %ebx,%edi
or     $0x1,%edi
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
lea    0x2(%rbx),%edi
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
lea    0x3(%rbx),%edi
lea    0xb75(%rip),%rbp
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
add    $0x4,%ebx
mov    %ebx,%edi
mov    %r15d,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   10c0 <mvprintw@plt>
mov    %r12d,%edi
call   10a0 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1040 <attroff@plt>
xor    %eax,%eax
call   10b0 <refresh@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xb32(%rip),%rsi
lea    0x8(%rsp),%rdi
call   1060 <strcpy@plt>
lea    0xb20(%rip),%rsi
mov    %rsp,%rdi
call   1060 <strcpy@plt>
jmp    139a <print_tile+0x1fa>

LLVM IR (-O0):
@.str = [5 x i8] c" \00"
@.str.1 = [6 x i8] c" \00"
@.str.2 = [4 x i8] c" \00"
@.str.3 = [11 x i8] c" \00"
@.str.4 = [7 x i8] c"%s%d%s\00"
define void @print_tile(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca [8 x i8]
%6 = alloca [8 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%13 = call i32 @init_color(i32 1, i32 523, i32 867, i32 515)
%14 = call i32 @init_color(i32 2, i32 402, i32 796, i32 984)
%15 = call i32 @init_color(i32 3, i32 597, i32 199, i32 996)
%16 = call i32 @init_color(i32 4, i32 996, i32 601, i32 601)
%17 = call i32 @init_color(i32 5, i32 996, i32 886, i32 597)
%18 = call i32 @init_color(i32 6, i32 636, i32 800, i32 285)
%19 = call i32 @init_color(i32 7, i32 50, i32 660, i32 683)
%20 = call i32 @init_color(i32 8, i32 421, i32 218, i32 597)
%21 = call i32 @init_color(i32 9, i32 929, i32 769, i32 863)
%22 = call i32 @init_color(i32 10, i32 578, i32 93, i32 93)
%23 = call i32 @init_color(i32 11, i32 0, i32 0, i32 0)
%24 = call i32 @init_color(i32 12, i32 781, i32 781, i32 781)
%25 = load i32, i32* %3
switch i32 %25, label %86 [
i32 2, label %26
i32 4, label %31
i32 8, label %36
i32 16, label %41
i32 32, label %46
i32 64, label %51
i32 128, label %56
i32 256, label %61
i32 512, label %66
i32 1024, label %71
i32 2048, label %76
i32 4096, label %81
]
26: ; preds = %2
%27 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%28 = call i32 @strcpy(i8* %27, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%29 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%30 = call i32 @strcpy(i8* %29, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %87
31: ; preds = %2
%32 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%33 = call i32 @strcpy(i8* %32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%34 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%35 = call i32 @strcpy(i8* %34, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %87
36: ; preds = %2
%37 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%38 = call i32 @strcpy(i8* %37, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%39 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%40 = call i32 @strcpy(i8* %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %87
41: ; preds = %2
%42 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%43 = call i32 @strcpy(i8* %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%44 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%45 = call i32 @strcpy(i8* %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
46: ; preds = %2
%47 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%48 = call i32 @strcpy(i8* %47, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%49 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%50 = call i32 @strcpy(i8* %49, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
51: ; preds = %2
%52 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%53 = call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%54 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%55 = call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
56: ; preds = %2
%57 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%58 = call i32 @strcpy(i8* %57, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%59 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%60 = call i32 @strcpy(i8* %59, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
61: ; preds = %2
%62 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%63 = call i32 @strcpy(i8* %62, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%64 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%65 = call i32 @strcpy(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
66: ; preds = %2
%67 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%68 = call i32 @strcpy(i8* %67, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%69 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%70 = call i32 @strcpy(i8* %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %87
71: ; preds = %2
%72 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%73 = call i32 @strcpy(i8* %72, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%74 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%75 = call i32 @strcpy(i8* %74, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %87
76: ; preds = %2
%77 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%78 = call i32 @strcpy(i8* %77, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%79 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%80 = call i32 @strcpy(i8* %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %87
81: ; preds = %2
%82 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%83 = call i32 @strcpy(i8* %82, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%84 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%85 = call i32 @strcpy(i8* %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %87
86: ; preds = %2
br label %87
87: ; preds = %86, %81, %76, %71, %66, %61, %56, %51, %46, %41, %36, %31, %26
store i32 0, i32* %11
%88 = load i32, i32* %3
%89 = icmp ne i32 %88, 0
br i1 %89, label %90, label %101
90: ; preds = %87
%91 = load i32, i32* %3
store i32 %91, i32* %12
br label %92
92: ; preds = %95, %90
%93 = load i32, i32* %12
%94 = icmp ne i32 %93, 2
br i1 %94, label %95, label %100
95: ; preds = %92
%96 = load i32, i32* %12
%97 = ashr i32 %96, 1
store i32 %97, i32* %12
%98 = load i32, i32* %11
%99 = add nsw i32 %98, 1
store i32 %99, i32* %11
br label %92
100: ; preds = %92
br label %101
101: ; preds = %100, %87
%102 = load i32, i32* %4
%103 = sdiv i32 %102, 4
store i32 %103, i32* %7
%104 = load i32, i32* %4
%105 = srem i32 %104, 4
store i32 %105, i32* %8
%106 = load i32, i32* %7
%107 = mul nsw i32 %106, 6
store i32 %107, i32* %9
%108 = load i32, i32* %8
%109 = mul nsw i32 %108, 11
store i32 %109, i32* %10
%110 = call i32 (...) @use_default_colors()
%111 = call i32 @assume_default_colors(i32 -1, i32 -1)
%112 = call i32 @init_pair(i32 1, i32 -1, i32 -1)
%113 = call i32 @init_pair(i32 2, i32 -1, i32 1)
%114 = call i32 @init_pair(i32 3, i32 -1, i32 2)
%115 = call i32 @init_pair(i32 4, i32 -1, i32 3)
%116 = call i32 @init_pair(i32 5, i32 -1, i32 4)
%117 = call i32 @init_pair(i32 6, i32 -1, i32 5)
%118 = call i32 @init_pair(i32 7, i32 -1, i32 6)
%119 = call i32 @init_pair(i32 8, i32 -1, i32 7)
%120 = call i32 @init_pair(i32 9, i32 -1, i32 8)
%121 = call i32 @init_pair(i32 10, i32 -1, i32 9)
%122 = call i32 @init_pair(i32 11, i32 -1, i32 10)
%123 = call i32 @init_pair(i32 12, i32 -1, i32 11)
%124 = call i32 @init_pair(i32 13, i32 -1, i32 12)
%125 = load i32, i32* %3
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %151
127: ; preds = %101
%128 = call i32 @COLOR_PAIR(i32 1)
%129 = call i32 @attron(i32 %128)
%130 = load i32, i32* %9
%131 = load i32, i32* %10
%132 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %130, i32 %131, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%133 = load i32, i32* %9
%134 = add nsw i32 %133, 1
%135 = load i32, i32* %10
%136 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %134, i32 %135, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%137 = load i32, i32* %9
%138 = add nsw i32 %137, 2
%139 = load i32, i32* %10
%140 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %138, i32 %139, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%141 = load i32, i32* %9
%142 = add nsw i32 %141, 3
%143 = load i32, i32* %10
%144 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %142, i32 %143, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%145 = load i32, i32* %9
%146 = add nsw i32 %145, 4
%147 = load i32, i32* %10
%148 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %146, i32 %147, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%149 = call i32 @COLOR_PAIR(i32 1)
%150 = call i32 @attroff(i32 %149)
br label %182
151: ; preds = %101
%152 = load i32, i32* %11
%153 = add nsw i32 %152, 2
%154 = call i32 @COLOR_PAIR(i32 %153)
%155 = call i32 @attron(i32 %154)
%156 = load i32, i32* %9
%157 = load i32, i32* %10
%158 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %156, i32 %157, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%159 = load i32, i32* %9
%160 = add nsw i32 %159, 1
%161 = load i32, i32* %10
%162 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %160, i32 %161, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%163 = load i32, i32* %9
%164 = add nsw i32 %163, 2
%165 = load i32, i32* %10
%166 = getelementptr inbounds [8 x i8], [8 x i8]* %5, i64 0, i64 0
%167 = load i32, i32* %3
%168 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 0
%169 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %164, i32 %165, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* %166, i32 %167, i8* %168)
%170 = load i32, i32* %9
%171 = add nsw i32 %170, 3
%172 = load i32, i32* %10
%173 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %171, i32 %172, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%174 = load i32, i32* %9
%175 = add nsw i32 %174, 4
%176 = load i32, i32* %10
%177 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %175, i32 %176, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%178 = load i32, i32* %11
%179 = add nsw i32 %178, 2
%180 = call i32 @COLOR_PAIR(i32 %179)
%181 = call i32 @attroff(i32 %180)
br label %182
182: ; preds = %151, %127
%183 = call i32 (...) @refresh()
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c" \00"
@.str.1 = [6 x i8] c" \00"
@.str.2 = [4 x i8] c" \00"
@.str.3 = [11 x i8] c" \00"
@.str.4 = [7 x i8] c"%s%d%s\00"
define void @print_tile(i32 %0, i32 %1) {
%3 = alloca [8 x i8]
%4 = alloca [8 x i8]
%5 = getelementptr inbounds [8 x i8], [8 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [8 x i8], [8 x i8]* %4, i64 0, i64 0
%7 = tail call i32 @init_color(i32 1, i32 523, i32 867, i32 515)
%8 = tail call i32 @init_color(i32 2, i32 402, i32 796, i32 984)
%9 = tail call i32 @init_color(i32 3, i32 597, i32 199, i32 996)
%10 = tail call i32 @init_color(i32 4, i32 996, i32 601, i32 601)
%11 = tail call i32 @init_color(i32 5, i32 996, i32 886, i32 597)
%12 = tail call i32 @init_color(i32 6, i32 636, i32 800, i32 285)
%13 = tail call i32 @init_color(i32 7, i32 50, i32 660, i32 683)
%14 = tail call i32 @init_color(i32 8, i32 421, i32 218, i32 597)
%15 = tail call i32 @init_color(i32 9, i32 929, i32 769, i32 863)
%16 = tail call i32 @init_color(i32 10, i32 578, i32 93, i32 93)
%17 = tail call i32 @init_color(i32 11, i32 0, i32 0, i32 0)
%18 = tail call i32 @init_color(i32 12, i32 781, i32 781, i32 781)
switch i32 %0, label %36 [
i32 2, label %28
i32 4, label %31
i32 8, label %31
i32 16, label %19
i32 32, label %20
i32 64, label %21
i32 128, label %22
i32 256, label %23
i32 512, label %24
i32 1024, label %25
i32 2048, label %26
i32 4096, label %27
i32 0, label %45
]
19: ; preds = %2
br label %31
20: ; preds = %2
br label %31
21: ; preds = %2
br label %31
22: ; preds = %2
br label %31
23: ; preds = %2
br label %31
24: ; preds = %2
br label %31
25: ; preds = %2
br label %31
26: ; preds = %2
br label %31
27: ; preds = %2
br label %31
28: ; preds = %2
%29 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%30 = call i32 @strcpy(i8* %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %45
31: ; preds = %2, %2, %19, %20, %21, %22, %23, %24, %25, %26, %27
%32 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %27 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %26 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %25 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %24 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %23 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %22 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %21 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %20 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %19 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %2 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %2 ]
%33 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %27 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %26 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %25 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %24 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %23 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %22 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %21 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %20 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %19 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %2 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %2 ]
%34 = call i32 @strcpy(i8* %5, i8* %32)
%35 = call i32 @strcpy(i8* %6, i8* %33)
br label %36
36: ; preds = %31, %2
br label %37
37: ; preds = %36, %37
%38 = phi i32 [ %40, %37 ], [ %0, %36 ]
%39 = phi i32 [ %41, %37 ], [ 0, %36 ]
%40 = ashr i32 %38, 1
%41 = add nuw nsw i32 %39, 1
%42 = icmp eq i32 %40, 2
br i1 %42, label %43, label %37
43: ; preds = %37
%44 = add nuw i32 %39, 3
br label %45
45: ; preds = %28, %43, %2
%46 = phi i32 [ 2, %2 ], [ 2, %28 ], [ %44, %43 ]
%47 = sdiv i32 %1, 4
%48 = srem i32 %1, 4
%49 = mul nsw i32 %47, 6
%50 = mul nsw i32 %48, 11
%51 = call i32 (...) @use_default_colors()
%52 = call i32 @assume_default_colors(i32 -1, i32 -1)
%53 = call i32 @init_pair(i32 1, i32 -1, i32 -1)
%54 = call i32 @init_pair(i32 2, i32 -1, i32 1)
%55 = call i32 @init_pair(i32 3, i32 -1, i32 2)
%56 = call i32 @init_pair(i32 4, i32 -1, i32 3)
%57 = call i32 @init_pair(i32 5, i32 -1, i32 4)
%58 = call i32 @init_pair(i32 6, i32 -1, i32 5)
%59 = call i32 @init_pair(i32 7, i32 -1, i32 6)
%60 = call i32 @init_pair(i32 8, i32 -1, i32 7)
%61 = call i32 @init_pair(i32 9, i32 -1, i32 8)
%62 = call i32 @init_pair(i32 10, i32 -1, i32 9)
%63 = call i32 @init_pair(i32 11, i32 -1, i32 10)
%64 = call i32 @init_pair(i32 12, i32 -1, i32 11)
%65 = call i32 @init_pair(i32 13, i32 -1, i32 12)
%66 = icmp eq i32 %0, 0
br i1 %66, label %67, label %75
67: ; preds = %45
%68 = call i32 @COLOR_PAIR(i32 1)
%69 = call i32 @attron(i32 %68)
%70 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %49, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%71 = or i32 %49, 1
%72 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %71, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%73 = add nsw i32 %49, 2
%74 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %73, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %83
75: ; preds = %45
%76 = call i32 @COLOR_PAIR(i32 %46)
%77 = call i32 @attron(i32 %76)
%78 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %49, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%79 = or i32 %49, 1
%80 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %79, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%81 = add nsw i32 %49, 2
%82 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %81, i32 %50, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* %5, i32 %0, i8* %6)
br label %83
83: ; preds = %75, %67
%84 = phi i32 [ %46, %75 ], [ 1, %67 ]
%85 = add nsw i32 %49, 3
%86 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %85, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%87 = add nsw i32 %49, 4
%88 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %87, i32 %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%89 = call i32 @COLOR_PAIR(i32 %84)
%90 = call i32 @attroff(i32 %89)
%91 = call i32 (...) @refresh()
ret void
}