#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 *);
void nunchuk_show_ext_x(double val) {
  if (val < -10)
    mvprintw(30, 2, "<=========##          ");
  else if (val < -9)
    mvprintw(30, 2, " <========##          ");
  else if (val < -8)
    mvprintw(30, 2, "  <=======##          ");
  else if (val < -7)
    mvprintw(30, 2, "   <======##          ");
  else if (val < -6)
    mvprintw(30, 2, "    <=====##          ");
  else if (val < -5)
    mvprintw(30, 2, "     <====##          ");
  else if (val < -4)
    mvprintw(30, 2, "      <===##          ");
  else if (val < -3)
    mvprintw(30, 2, "       <==##          ");
  else if (val < -2)
    mvprintw(30, 2, "        <=##          ");
  else if (val < -0.3)
    mvprintw(30, 2, "         <##          ");
  else if (val < 0.3)
    mvprintw(30, 2, "          ##          ");
  else if (val < 2)
    mvprintw(30, 2, "          ##>         ");
  else if (val < 3)
    mvprintw(30, 2, "          ##=>        ");
  else if (val < 4)
    mvprintw(30, 2, "          ##==>       ");
  else if (val < 5)
    mvprintw(30, 2, "          ##===>      ");
  else if (val < 6)
    mvprintw(30, 2, "          ##====>     ");
  else if (val < 7)
    mvprintw(30, 2, "          ##=====>    ");
  else if (val < 8)
    mvprintw(30, 2, "          ##======>   ");
  else if (val < 9)
    mvprintw(30, 2, "          ##=======>  ");
  else if (val < 10)
    mvprintw(30, 2, "          ##========> ");
  else
    mvprintw(30, 2, "          ##=========>");
}


x86 assembly (clang, -O0):
<nunchuk_show_ext_x>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  0xedb(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    114b <nunchuk_show_ext_x+0x3b>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xf5f(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    152a <nunchuk_show_ext_x+0x41a>
movsd  0xeb5(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1179 <nunchuk_show_ext_x+0x69>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xf48(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1525 <nunchuk_show_ext_x+0x415>
movsd  0xe8f(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    11a7 <nunchuk_show_ext_x+0x97>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xf31(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1520 <nunchuk_show_ext_x+0x410>
movsd  0xe69(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    11d5 <nunchuk_show_ext_x+0xc5>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xf1a(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    151b <nunchuk_show_ext_x+0x40b>
movsd  0xe43(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1203 <nunchuk_show_ext_x+0xf3>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xf03(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1516 <nunchuk_show_ext_x+0x406>
movsd  0xe1d(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1231 <nunchuk_show_ext_x+0x121>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xeec(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1511 <nunchuk_show_ext_x+0x401>
movsd  0xdf7(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    125f <nunchuk_show_ext_x+0x14f>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xed5(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    150c <nunchuk_show_ext_x+0x3fc>
movsd  0xdd1(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    128d <nunchuk_show_ext_x+0x17d>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xebe(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1507 <nunchuk_show_ext_x+0x3f7>
movsd  0xdab(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    12bb <nunchuk_show_ext_x+0x1ab>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xea7(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    1502 <nunchuk_show_ext_x+0x3f2>
movsd  0xd85(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    12e9 <nunchuk_show_ext_x+0x1d9>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe90(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14fd <nunchuk_show_ext_x+0x3ed>
movsd  0xd5f(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1317 <nunchuk_show_ext_x+0x207>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe79(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14f8 <nunchuk_show_ext_x+0x3e8>
movsd  0xd39(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1345 <nunchuk_show_ext_x+0x235>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe62(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14f3 <nunchuk_show_ext_x+0x3e3>
movsd  0xd13(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1373 <nunchuk_show_ext_x+0x263>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe4b(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14ee <nunchuk_show_ext_x+0x3de>
movsd  0xced(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    13a1 <nunchuk_show_ext_x+0x291>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe34(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14e9 <nunchuk_show_ext_x+0x3d9>
movsd  0xcc7(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    13cf <nunchuk_show_ext_x+0x2bf>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe1d(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14e4 <nunchuk_show_ext_x+0x3d4>
movsd  0xca1(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    13fd <nunchuk_show_ext_x+0x2ed>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xe06(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14df <nunchuk_show_ext_x+0x3cf>
movsd  0xc7b(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    142b <nunchuk_show_ext_x+0x31b>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xdef(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14da <nunchuk_show_ext_x+0x3ca>
movsd  0xc55(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1459 <nunchuk_show_ext_x+0x349>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xdd8(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14d5 <nunchuk_show_ext_x+0x3c5>
movsd  0xc2f(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1487 <nunchuk_show_ext_x+0x377>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xdc1(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14d0 <nunchuk_show_ext_x+0x3c0>
movsd  0xc09(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    14b5 <nunchuk_show_ext_x+0x3a5>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xdaa(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14cb <nunchuk_show_ext_x+0x3bb>
mov    $0x1e,%edi
mov    $0x2,%esi
lea    0xda6(%rip),%rdx
call   1030 <mvprintw@plt>
jmp    14d0 <nunchuk_show_ext_x+0x3c0>
jmp    14d5 <nunchuk_show_ext_x+0x3c5>
jmp    14da <nunchuk_show_ext_x+0x3ca>
jmp    14df <nunchuk_show_ext_x+0x3cf>
jmp    14e4 <nunchuk_show_ext_x+0x3d4>
jmp    14e9 <nunchuk_show_ext_x+0x3d9>
jmp    14ee <nunchuk_show_ext_x+0x3de>
jmp    14f3 <nunchuk_show_ext_x+0x3e3>
jmp    14f8 <nunchuk_show_ext_x+0x3e8>
jmp    14fd <nunchuk_show_ext_x+0x3ed>
jmp    1502 <nunchuk_show_ext_x+0x3f2>
jmp    1507 <nunchuk_show_ext_x+0x3f7>
jmp    150c <nunchuk_show_ext_x+0x3fc>
jmp    1511 <nunchuk_show_ext_x+0x401>
jmp    1516 <nunchuk_show_ext_x+0x406>
jmp    151b <nunchuk_show_ext_x+0x40b>
jmp    1520 <nunchuk_show_ext_x+0x410>
jmp    1525 <nunchuk_show_ext_x+0x415>
jmp    152a <nunchuk_show_ext_x+0x41a>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<nunchuk_show_ext_x>:
movsd  0xee8(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    112a <nunchuk_show_ext_x+0x1a>
lea    0xf7b(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xed6(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1144 <nunchuk_show_ext_x+0x34>
lea    0xf78(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xec4(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    115e <nunchuk_show_ext_x+0x4e>
lea    0xf75(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xeb2(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1178 <nunchuk_show_ext_x+0x68>
lea    0xf72(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xea0(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1192 <nunchuk_show_ext_x+0x82>
lea    0xf6f(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe8e(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    11ac <nunchuk_show_ext_x+0x9c>
lea    0xf6c(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe7c(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    11c6 <nunchuk_show_ext_x+0xb6>
lea    0xf69(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe6a(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    11e0 <nunchuk_show_ext_x+0xd0>
lea    0xf66(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe58(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    11fa <nunchuk_show_ext_x+0xea>
lea    0xf63(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe46(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1214 <nunchuk_show_ext_x+0x104>
lea    0xf60(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe34(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    122e <nunchuk_show_ext_x+0x11e>
lea    0xf5d(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe22(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1248 <nunchuk_show_ext_x+0x138>
lea    0xf5a(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xe10(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1262 <nunchuk_show_ext_x+0x152>
lea    0xf57(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xdfe(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    127c <nunchuk_show_ext_x+0x16c>
lea    0xf54(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xdec(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    1293 <nunchuk_show_ext_x+0x183>
lea    0xf51(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xddd(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    12aa <nunchuk_show_ext_x+0x19a>
lea    0xf51(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xdce(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    12c1 <nunchuk_show_ext_x+0x1b1>
lea    0xf51(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xdbf(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    12d8 <nunchuk_show_ext_x+0x1c8>
lea    0xf51(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xdb0(%rip),%xmm1
ucomisd %xmm0,%xmm1
jbe    12ef <nunchuk_show_ext_x+0x1df>
lea    0xf51(%rip),%rdx
jmp    130d <nunchuk_show_ext_x+0x1fd>
movsd  0xda1(%rip),%xmm1
ucomisd %xmm0,%xmm1
lea    0xf53(%rip),%rax
lea    0xf63(%rip),%rdx
cmova  %rax,%rdx
mov    $0x1e,%edi
mov    $0x2,%esi
jmp    1030 <mvprintw@plt>

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

LLVM IR (-O2):
@.str = [23 x i8] c"<=========## \00"
@.str.1 = [23 x i8] c" <========## \00"
@.str.2 = [23 x i8] c" <=======## \00"
@.str.3 = [23 x i8] c" <======## \00"
@.str.4 = [23 x i8] c" <=====## \00"
@.str.5 = [23 x i8] c" <====## \00"
@.str.6 = [23 x i8] c" <===## \00"
@.str.7 = [23 x i8] c" <==## \00"
@.str.8 = [23 x i8] c" <=## \00"
@.str.9 = [23 x i8] c" <## \00"
@.str.10 = [23 x i8] c" ## \00"
@.str.11 = [23 x i8] c" ##> \00"
@.str.12 = [23 x i8] c" ##=> \00"
@.str.13 = [23 x i8] c" ##==> \00"
@.str.14 = [23 x i8] c" ##===> \00"
@.str.15 = [23 x i8] c" ##====> \00"
@.str.16 = [23 x i8] c" ##=====> \00"
@.str.17 = [23 x i8] c" ##======> \00"
@.str.18 = [23 x i8] c" ##=======> \00"
@.str.19 = [23 x i8] c" ##========> \00"
@.str.20 = [23 x i8] c" ##=========>\00"
define void @nunchuk_show_ext_x(double %0) {
%2 = fcmp olt double %0, -1.000000e+01
br i1 %2, label %42, label %3
3: ; preds = %1
%4 = fcmp olt double %0, -9.000000e+00
br i1 %4, label %42, label %5
5: ; preds = %3
%6 = fcmp olt double %0, -8.000000e+00
br i1 %6, label %42, label %7
7: ; preds = %5
%8 = fcmp olt double %0, -7.000000e+00
br i1 %8, label %42, label %9
9: ; preds = %7
%10 = fcmp olt double %0, -6.000000e+00
br i1 %10, label %42, label %11
11: ; preds = %9
%12 = fcmp olt double %0, -5.000000e+00
br i1 %12, label %42, label %13
13: ; preds = %11
%14 = fcmp olt double %0, -4.000000e+00
br i1 %14, label %42, label %15
15: ; preds = %13
%16 = fcmp olt double %0, -3.000000e+00
br i1 %16, label %42, label %17
17: ; preds = %15
%18 = fcmp olt double %0, -2.000000e+00
br i1 %18, label %42, label %19
19: ; preds = %17
%20 = fcmp olt double %0, -3.000000e-01
br i1 %20, label %42, label %21
21: ; preds = %19
%22 = fcmp olt double %0, 3.000000e-01
br i1 %22, label %42, label %23
23: ; preds = %21
%24 = fcmp olt double %0, 2.000000e+00
br i1 %24, label %42, label %25
25: ; preds = %23
%26 = fcmp olt double %0, 3.000000e+00
br i1 %26, label %42, label %27
27: ; preds = %25
%28 = fcmp olt double %0, 4.000000e+00
br i1 %28, label %42, label %29
29: ; preds = %27
%30 = fcmp olt double %0, 5.000000e+00
br i1 %30, label %42, label %31
31: ; preds = %29
%32 = fcmp olt double %0, 6.000000e+00
br i1 %32, label %42, label %33
33: ; preds = %31
%34 = fcmp olt double %0, 7.000000e+00
br i1 %34, label %42, label %35
35: ; preds = %33
%36 = fcmp olt double %0, 8.000000e+00
br i1 %36, label %42, label %37
37: ; preds = %35
%38 = fcmp olt double %0, 9.000000e+00
br i1 %38, label %42, label %39
39: ; preds = %37
%40 = fcmp olt double %0, 1.000000e+01
%41 = select i1 %40, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0)
br label %42
42: ; preds = %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5, %3, %1
%43 = phi i8* [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), %1 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), %3 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), %5 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), %7 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), %9 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), %11 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), %13 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0), %15 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), %17 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.9, i64 0, i64 0), %19 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0), %21 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0), %23 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), %25 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0), %27 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0), %29 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.15, i64 0, i64 0), %31 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0), %33 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), %35 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), %37 ], [ %41, %39 ]
%44 = tail call i32 @mvprintw(i32 30, i32 2, i8* %43)
ret void
}