#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*/ mvprintw(int, int, char *);
int mvprintnum3x3(int y, int x, int number) {
  int iret = 0;
  switch (number) {
  case 0:
    mvprintw(y, x, "\xdb\xdf\xdb");
    mvprintw(y + 1, x, "\xdb\x20\xdb");
    mvprintw(y + 2, x, "\xdb\xdc\xdb");
    break;
  case 1:
    mvprintw(y, x, "\xdc\xdb\x20");
    mvprintw(y + 1, x, "\x20\xdb\x20");
    mvprintw(y + 2, x, "\xdc\xdb\xdc");
    break;
  case 2:
    mvprintw(y, x, "\xdf\xdf\xdb");
    mvprintw(y + 1, x, "\xdb\xdf\xdf");
    mvprintw(y + 2, x, "\xdb\xdc\xdc");
    break;
  case 3:
    mvprintw(y, x, "\xdf\xdf\xdb");
    mvprintw(y + 1, x, "\x20\xdf\xdb");
    mvprintw(y + 2, x, "\xdc\xdc\xdb");
    break;
  case 4:
    mvprintw(y, x, "\xdc\x20\xdb");
    mvprintw(y + 1, x, "\xdb\xdc\xdb");
    mvprintw(y + 2, x, "\x20\x20\xdb");
    break;
  case 5:
    mvprintw(y, x, "\xdb\xdf\xdf");
    mvprintw(y + 1, x, "\xdf\xdf\xdb");
    mvprintw(y + 2, x, "\xdc\xdc\xdb");
    break;
  case 6:
    mvprintw(y, x, "\xdb\xdf\xdf");
    mvprintw(y + 1, x, "\xdb\xdf\xdb");
    mvprintw(y + 2, x, "\xdb\xdc\xdb");
    break;
  case 7:
    mvprintw(y, x, "\xdf\xdf\xdb");
    mvprintw(y + 1, x, "\x20\x20\xdb");
    mvprintw(y + 2, x, "\x20\x20\xdb");
    break;
  case 8:
    mvprintw(y, x, "\xdb\xdf\xdb");
    mvprintw(y + 1, x, "\xdb\xdf\xdb");
    mvprintw(y + 2, x, "\xdb\xdc\xdb");
    break;
  case 9:
    mvprintw(y, x, "\xdb\xdf\xdb");
    mvprintw(y + 1, x, "\xdf\xdf\xdb");
    mvprintw(y + 2, x, "\xdc\xdc\xdb");
    break;
  default:
    iret = -1;
    break;
  }
  return iret;
}


x86 assembly (clang, -O0):
<mvprintnum3x3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x9,%rax
ja     13d7 <mvprintnum3x3+0x2c7>
mov    -0x18(%rbp),%rax
lea    0xebc(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xece(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xebd(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xeac(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xe99(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xe88(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xe77(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xe64(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xe53(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xe42(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xe23(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xe1a(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xe09(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xdf6(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xdbd(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xdd0(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xda5(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xd8c(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xd87(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xd64(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xd33(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xd26(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xd1f(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xd22(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xd0d(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xcc6(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xcb1(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xca4(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
lea    0xc85(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x1,%edi
mov    -0x8(%rbp),%esi
lea    0xc88(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x4(%rbp),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%esi
lea    0xc83(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    13de <mvprintnum3x3+0x2ce>
movl   $0xffffffff,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mvprintnum3x3>:
mov    $0xffffffff,%eax
cmp    $0x9,%edx
ja     1182 <mvprintnum3x3+0x72>
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%r14d
mov    %edi,%ebx
movslq %edx,%rax
lea    0xf04(%rip),%rcx
movslq (%rcx,%rax,4),%rdx
add    %rcx,%rdx
lea    0xf1e(%rip),%rcx
movslq (%rcx,%rax,4),%rbp
add    %rcx,%rbp
lea    0xf38(%rip),%rcx
movslq (%rcx,%rax,4),%r15
add    %rcx,%r15
call   1030 <mvprintw@plt>
lea    0x1(%rbx),%edi
mov    %r14d,%esi
mov    %rbp,%rdx
call   1030 <mvprintw@plt>
add    $0x2,%ebx
mov    %ebx,%edi
mov    %r14d,%esi
mov    %r15,%rdx
call   1030 <mvprintw@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"\DB\DF\DB\00"
@.str.1 = [4 x i8] c"\DB \DB\00"
@.str.2 = [4 x i8] c"\DB\DC\DB\00"
@.str.3 = [4 x i8] c"\DC\DB \00"
@.str.4 = [4 x i8] c" \DB \00"
@.str.5 = [4 x i8] c"\DC\DB\DC\00"
@.str.6 = [4 x i8] c"\DF\DF\DB\00"
@.str.7 = [4 x i8] c"\DB\DF\DF\00"
@.str.8 = [4 x i8] c"\DB\DC\DC\00"
@.str.9 = [4 x i8] c" \DF\DB\00"
@.str.10 = [4 x i8] c"\DC\DC\DB\00"
@.str.11 = [4 x i8] c"\DC \DB\00"
@.str.12 = [4 x i8] c" \DB\00"
define i32 @mvprintnum3x3(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
store i32 0, i32* %7
%8 = load i32, i32* %6
switch i32 %8, label %129 [
i32 0, label %9
i32 1, label %21
i32 2, label %33
i32 3, label %45
i32 4, label %57
i32 5, label %69
i32 6, label %81
i32 7, label %93
i32 8, label %105
i32 9, label %117
]
9: ; preds = %3
%10 = load i32, i32* %4
%11 = load i32, i32* %5
%12 = call i32 @mvprintw(i32 %10, i32 %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* %4
%14 = add nsw i32 %13, 1
%15 = load i32, i32* %5
%16 = call i32 @mvprintw(i32 %14, i32 %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%17 = load i32, i32* %4
%18 = add nsw i32 %17, 2
%19 = load i32, i32* %5
%20 = call i32 @mvprintw(i32 %18, i32 %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %130
21: ; preds = %3
%22 = load i32, i32* %4
%23 = load i32, i32* %5
%24 = call i32 @mvprintw(i32 %22, i32 %23, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
%25 = load i32, i32* %4
%26 = add nsw i32 %25, 1
%27 = load i32, i32* %5
%28 = call i32 @mvprintw(i32 %26, i32 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%29 = load i32, i32* %4
%30 = add nsw i32 %29, 2
%31 = load i32, i32* %5
%32 = call i32 @mvprintw(i32 %30, i32 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %130
33: ; preds = %3
%34 = load i32, i32* %4
%35 = load i32, i32* %5
%36 = call i32 @mvprintw(i32 %34, i32 %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%37 = load i32, i32* %4
%38 = add nsw i32 %37, 1
%39 = load i32, i32* %5
%40 = call i32 @mvprintw(i32 %38, i32 %39, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 2
%43 = load i32, i32* %5
%44 = call i32 @mvprintw(i32 %42, i32 %43, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
br label %130
45: ; preds = %3
%46 = load i32, i32* %4
%47 = load i32, i32* %5
%48 = call i32 @mvprintw(i32 %46, i32 %47, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%49 = load i32, i32* %4
%50 = add nsw i32 %49, 1
%51 = load i32, i32* %5
%52 = call i32 @mvprintw(i32 %50, i32 %51, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%53 = load i32, i32* %4
%54 = add nsw i32 %53, 2
%55 = load i32, i32* %5
%56 = call i32 @mvprintw(i32 %54, i32 %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %130
57: ; preds = %3
%58 = load i32, i32* %4
%59 = load i32, i32* %5
%60 = call i32 @mvprintw(i32 %58, i32 %59, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
%61 = load i32, i32* %4
%62 = add nsw i32 %61, 1
%63 = load i32, i32* %5
%64 = call i32 @mvprintw(i32 %62, i32 %63, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%65 = load i32, i32* %4
%66 = add nsw i32 %65, 2
%67 = load i32, i32* %5
%68 = call i32 @mvprintw(i32 %66, i32 %67, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
br label %130
69: ; preds = %3
%70 = load i32, i32* %4
%71 = load i32, i32* %5
%72 = call i32 @mvprintw(i32 %70, i32 %71, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%73 = load i32, i32* %4
%74 = add nsw i32 %73, 1
%75 = load i32, i32* %5
%76 = call i32 @mvprintw(i32 %74, i32 %75, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%77 = load i32, i32* %4
%78 = add nsw i32 %77, 2
%79 = load i32, i32* %5
%80 = call i32 @mvprintw(i32 %78, i32 %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %130
81: ; preds = %3
%82 = load i32, i32* %4
%83 = load i32, i32* %5
%84 = call i32 @mvprintw(i32 %82, i32 %83, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%85 = load i32, i32* %4
%86 = add nsw i32 %85, 1
%87 = load i32, i32* %5
%88 = call i32 @mvprintw(i32 %86, i32 %87, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%89 = load i32, i32* %4
%90 = add nsw i32 %89, 2
%91 = load i32, i32* %5
%92 = call i32 @mvprintw(i32 %90, i32 %91, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %130
93: ; preds = %3
%94 = load i32, i32* %4
%95 = load i32, i32* %5
%96 = call i32 @mvprintw(i32 %94, i32 %95, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%97 = load i32, i32* %4
%98 = add nsw i32 %97, 1
%99 = load i32, i32* %5
%100 = call i32 @mvprintw(i32 %98, i32 %99, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
%101 = load i32, i32* %4
%102 = add nsw i32 %101, 2
%103 = load i32, i32* %5
%104 = call i32 @mvprintw(i32 %102, i32 %103, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
br label %130
105: ; preds = %3
%106 = load i32, i32* %4
%107 = load i32, i32* %5
%108 = call i32 @mvprintw(i32 %106, i32 %107, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%109 = load i32, i32* %4
%110 = add nsw i32 %109, 1
%111 = load i32, i32* %5
%112 = call i32 @mvprintw(i32 %110, i32 %111, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%113 = load i32, i32* %4
%114 = add nsw i32 %113, 2
%115 = load i32, i32* %5
%116 = call i32 @mvprintw(i32 %114, i32 %115, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %130
117: ; preds = %3
%118 = load i32, i32* %4
%119 = load i32, i32* %5
%120 = call i32 @mvprintw(i32 %118, i32 %119, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%121 = load i32, i32* %4
%122 = add nsw i32 %121, 1
%123 = load i32, i32* %5
%124 = call i32 @mvprintw(i32 %122, i32 %123, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%125 = load i32, i32* %4
%126 = add nsw i32 %125, 2
%127 = load i32, i32* %5
%128 = call i32 @mvprintw(i32 %126, i32 %127, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %130
129: ; preds = %3
store i32 -1, i32* %7
br label %130
130: ; preds = %129, %117, %105, %93, %81, %69, %57, %45, %33, %21, %9
%131 = load i32, i32* %7
ret i32 %131
}

LLVM IR (-O2):
@.str = [4 x i8] c"\DB\DF\DB\00"
@.str.1 = [4 x i8] c"\DB \DB\00"
@.str.2 = [4 x i8] c"\DB\DC\DB\00"
@.str.3 = [4 x i8] c"\DC\DB \00"
@.str.4 = [4 x i8] c" \DB \00"
@.str.5 = [4 x i8] c"\DC\DB\DC\00"
@.str.6 = [4 x i8] c"\DF\DF\DB\00"
@.str.7 = [4 x i8] c"\DB\DF\DF\00"
@.str.8 = [4 x i8] c"\DB\DC\DC\00"
@.str.9 = [4 x i8] c" \DF\DB\00"
@.str.10 = [4 x i8] c"\DC\DC\DB\00"
@.str.11 = [4 x i8] c"\DC \DB\00"
@.str.12 = [4 x i8] c" \DB\00"
@reltable.mvprintnum3x3 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.3 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.11 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.7 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.7 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3 to i64)) to i32)]
@reltable.mvprintnum3x3.15 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.1 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.4 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.7 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.9 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.2 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.12 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.15 to i64)) to i32)]
@reltable.mvprintnum3x3.16 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.2 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.5 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.8 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.12 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.2 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.12 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.2 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.mvprintnum3x3.16 to i64)) to i32)]
define i32 @mvprintnum3x3(i32 %0, i32 %1, i32 %2) {
%4 = icmp ult i32 %2, 10
br i1 %4, label %5, label %20
5: ; preds = %3
%6 = sext i32 %2 to i64
%7 = shl i64 %6, 2
%8 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.mvprintnum3x3 to i8*), i64 %7)
%9 = sext i32 %2 to i64
%10 = shl i64 %9, 2
%11 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.mvprintnum3x3.15 to i8*), i64 %10)
%12 = sext i32 %2 to i64
%13 = shl i64 %12, 2
%14 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.mvprintnum3x3.16 to i8*), i64 %13)
%15 = tail call i32 @mvprintw(i32 %0, i32 %1, i8* %8)
%16 = add nsw i32 %0, 1
%17 = tail call i32 @mvprintw(i32 %16, i32 %1, i8* %11)
%18 = add nsw i32 %0, 2
%19 = tail call i32 @mvprintw(i32 %18, i32 %1, i8* %14)
br label %20
20: ; preds = %3, %5
%21 = phi i32 [ -1, %3 ], [ 0, %5 ]
ret i32 %21
}