#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 */
struct js_event {
  int type;
  int number;
  int value;
};

/* Variables and functions */
#define JS_EVENT_AXIS 129
#define JS_EVENT_BUTTON 128
int JS_EVENT_INIT;
int /*<<< orphan*/ O_RDONLY;
int /*<<< orphan*/ close(int);
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int read(int, struct js_event *, int);
int main() {
  int fd = open("/dev/input/js0", O_RDONLY);
  while (1) {
    struct js_event event;
    if (read(fd, &event, sizeof(struct js_event)) >= sizeof(struct js_event)) {
      switch (event.type & (~JS_EVENT_INIT)) {
      case JS_EVENT_BUTTON:
        if (event.number < 8) {
          printf("BUTTON[%d]=%d\n", event.number, event.value);
        }
        break;
      case JS_EVENT_AXIS:
        if (event.number < 6) {
          switch (event.number) {
          case 0:
            if (event.value >= (15000)) {
              printf("Pan LEFT\n");
            } else if (event.value <= (-15000)) {
              printf("Pan RIGHT\n");
            }
            break;
          case 1:
            if (event.value >= (15000)) {
              printf("Zoom LEFT\n");
            } else if (event.value <= (-15000)) {
              printf("Zoom RIGHT\n");
            }
            break;
          case 2:
            if (event.value >= (15000)) {
              printf("Pan DOWN\n");
            } else if (event.value <= (-15000)) {
              printf("Pan UP\n");
            }
            break;
          case 3:
            if (event.value >= (15000)) {
              printf("Tilt DOWN\n");
            } else if (event.value <= (-15000)) {
              printf("Tilt UP\n");
            }
            break;
          case 4:
            if (event.value >= (15000)) {
              printf("Roll LEFT\n");
            } else if (event.value <= (-15000)) {
              printf("Roll RIGHT\n");
            }
            break;
          case 5:
            if (event.value >= (15000)) {
              printf("Spin LEFT\n");
            } else if (event.value <= (-15000)) {
              printf("Spin RIGHT\n");
            }
            break;
          default:
            break;
          }
        }
        break;
      }
    }
  }
  close(fd);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2ea2(%rip),%rax
mov    (%rax),%esi
lea    0xec9(%rip),%rdi
call   1050 <open@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x18(%rbp),%rsi
mov    $0xc,%edx
call   1040 <read@plt>
cltq
cmp    $0xc,%rax
jb     13ae <main+0x27e>
mov    -0x18(%rbp),%eax
mov    0x2e5a(%rip),%rcx
mov    (%rcx),%ecx
not    %ecx
and    %ecx,%eax
mov    %eax,-0x1c(%rbp)
sub    $0x80,%eax
je     11aa <main+0x7a>
jmp    1197 <main+0x67>
mov    -0x1c(%rbp),%eax
sub    $0x81,%eax
je     11cd <main+0x9d>
jmp    13a9 <main+0x279>
cmpl   $0x8,-0x14(%rbp)
jge    11c8 <main+0x98>
mov    -0x14(%rbp),%esi
mov    -0x10(%rbp),%edx
lea    0xe66(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13a9 <main+0x279>
cmpl   $0x6,-0x14(%rbp)
jge    13a4 <main+0x274>
mov    -0x14(%rbp),%eax
mov    %rax,-0x28(%rbp)
sub    $0x5,%rax
ja     139a <main+0x26a>
mov    -0x28(%rbp),%rax
lea    0xe0d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
cmpl   $0x3a98,-0x10(%rbp)
jl     121c <main+0xec>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    123c <main+0x10c>
cmpl   $0xffffc568,-0x10(%rbp)
jg     1237 <main+0x107>
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    123c <main+0x10c>
jmp    139f <main+0x26f>
cmpl   $0x3a98,-0x10(%rbp)
jl     1261 <main+0x131>
lea    0xdf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1281 <main+0x151>
cmpl   $0xffffc568,-0x10(%rbp)
jg     127c <main+0x14c>
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1281 <main+0x151>
jmp    139f <main+0x26f>
cmpl   $0x3a98,-0x10(%rbp)
jl     12a6 <main+0x176>
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12c6 <main+0x196>
cmpl   $0xffffc568,-0x10(%rbp)
jg     12c1 <main+0x191>
lea    0xdb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12c6 <main+0x196>
jmp    139f <main+0x26f>
cmpl   $0x3a98,-0x10(%rbp)
jl     12eb <main+0x1bb>
lea    0xd95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    130b <main+0x1db>
cmpl   $0xffffc568,-0x10(%rbp)
jg     1306 <main+0x1d6>
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    130b <main+0x1db>
jmp    139f <main+0x26f>
cmpl   $0x3a98,-0x10(%rbp)
jl     1330 <main+0x200>
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1350 <main+0x220>
cmpl   $0xffffc568,-0x10(%rbp)
jg     134b <main+0x21b>
lea    0xd4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1350 <main+0x220>
jmp    139f <main+0x26f>
cmpl   $0x3a98,-0x10(%rbp)
jl     1375 <main+0x245>
lea    0xd36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1395 <main+0x265>
cmpl   $0xffffc568,-0x10(%rbp)
jg     1390 <main+0x260>
lea    0xd21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1395 <main+0x265>
jmp    139f <main+0x26f>
jmp    139f <main+0x26f>
jmp    13a4 <main+0x274>
jmp    13a9 <main+0x279>
jmp    13ae <main+0x27e>
jmp    1157 <main+0x27>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    0x2e93(%rip),%rax
mov    (%rax),%esi
lea    0xeba(%rip),%rdi
call   1060 <open@plt>
mov    %eax,%ebx
lea    0x8(%rsp),%r14
mov    0x2e67(%rip),%rbp
lea    0xe88(%rip),%r15
lea    0xec2(%rip),%r13
lea    0xea1(%rip),%r12
jmp    1190 <main+0x50>
mov    %r13,%rdi
call   1030 <puts@plt>
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0xc,%edx
call   1050 <read@plt>
cmp    $0xc,%eax
jb     1190 <main+0x50>
mov    0x0(%rbp),%eax
not    %eax
and    0x8(%rsp),%eax
cmp    $0x81,%eax
je     11d4 <main+0x94>
cmp    $0x80,%eax
jne    1190 <main+0x50>
mov    0xc(%rsp),%esi
cmp    $0x7,%esi
jg     1190 <main+0x50>
mov    0x10(%rsp),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1190 <main+0x50>
mov    0xc(%rsp),%eax
cmp    $0x5,%eax
jg     1190 <main+0x50>
ja     1190 <main+0x50>
mov    %eax,%eax
movslq (%r15,%rax,4),%rax
add    %r15,%rax
jmp    *%rax
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jl     12b2 <main+0x172>
lea    0xea1(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jl     12ce <main+0x18e>
lea    0xe70(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jl     12ea <main+0x1aa>
lea    0xe3c(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jl     1306 <main+0x1c6>
lea    0xe0b(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jl     1322 <main+0x1e2>
lea    0xdd9(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
mov    0x10(%rsp),%eax
cmp    $0x3a98,%eax
jge    1188 <main+0x48>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xd8e(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xdd3(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xda2(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xd76(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xd48(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>
cmp    $0xffffc568,%eax
jg     1190 <main+0x50>
lea    0xd17(%rip),%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x50>

LLVM IR (-O0):
%struct.js_event = type { i32, i32, i32 }
@.str = [15 x i8] c"/dev/input/js0\00"
@O_RDONLY = global i32 0
@JS_EVENT_INIT = global i32 0
@.str.1 = [15 x i8] c"BUTTON[%d]=%d\0A\00"
@.str.2 = [10 x i8] c"Pan LEFT\0A\00"
@.str.3 = [11 x i8] c"Pan RIGHT\0A\00"
@.str.4 = [11 x i8] c"Zoom LEFT\0A\00"
@.str.5 = [12 x i8] c"Zoom RIGHT\0A\00"
@.str.6 = [10 x i8] c"Pan DOWN\0A\00"
@.str.7 = [8 x i8] c"Pan UP\0A\00"
@.str.8 = [11 x i8] c"Tilt DOWN\0A\00"
@.str.9 = [9 x i8] c"Tilt UP\0A\00"
@.str.10 = [11 x i8] c"Roll LEFT\0A\00"
@.str.11 = [12 x i8] c"Roll RIGHT\0A\00"
@.str.12 = [11 x i8] c"Spin LEFT\0A\00"
@.str.13 = [12 x i8] c"Spin RIGHT\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca %struct.js_event
store i32 0, i32* %1
%4 = load i32, i32* @O_RDONLY
%5 = call i32 @open(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %4)
store i32 %5, i32* %2
br label %6
6: ; preds = %0, %123
%7 = load i32, i32* %2
%8 = call i32 @read(i32 %7, %struct.js_event* %3, i32 12)
%9 = sext i32 %8 to i64
%10 = icmp uge i64 %9, 12
br i1 %10, label %11, label %123
11: ; preds = %6
%12 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 0
%13 = load i32, i32* %12
%14 = load i32, i32* @JS_EVENT_INIT
%15 = xor i32 %14, -1
%16 = and i32 %13, %15
switch i32 %16, label %122 [
i32 128, label %17
i32 129, label %28
]
17: ; preds = %11
%18 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 1
%19 = load i32, i32* %18
%20 = icmp slt i32 %19, 8
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 1
%23 = load i32, i32* %22
%24 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%25 = load i32, i32* %24
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %23, i32 %25)
br label %27
27: ; preds = %21, %17
br label %122
28: ; preds = %11
%29 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 1
%30 = load i32, i32* %29
%31 = icmp slt i32 %30, 6
br i1 %31, label %32, label %121
32: ; preds = %28
%33 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 1
%34 = load i32, i32* %33
switch i32 %34, label %119 [
i32 0, label %35
i32 1, label %49
i32 2, label %63
i32 3, label %77
i32 4, label %91
i32 5, label %105
]
35: ; preds = %32
%36 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%37 = load i32, i32* %36
%38 = icmp sge i32 %37, 15000
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %48
41: ; preds = %35
%42 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%43 = load i32, i32* %42
%44 = icmp sle i32 %43, -15000
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %47
47: ; preds = %45, %41
br label %48
48: ; preds = %47, %39
br label %120
49: ; preds = %32
%50 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%51 = load i32, i32* %50
%52 = icmp sge i32 %51, 15000
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
br label %62
55: ; preds = %49
%56 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%57 = load i32, i32* %56
%58 = icmp sle i32 %57, -15000
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
br label %61
61: ; preds = %59, %55
br label %62
62: ; preds = %61, %53
br label %120
63: ; preds = %32
%64 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%65 = load i32, i32* %64
%66 = icmp sge i32 %65, 15000
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %76
69: ; preds = %63
%70 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%71 = load i32, i32* %70
%72 = icmp sle i32 %71, -15000
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
br label %75
75: ; preds = %73, %69
br label %76
76: ; preds = %75, %67
br label %120
77: ; preds = %32
%78 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%79 = load i32, i32* %78
%80 = icmp sge i32 %79, 15000
br i1 %80, label %81, label %83
81: ; preds = %77
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
br label %90
83: ; preds = %77
%84 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%85 = load i32, i32* %84
%86 = icmp sle i32 %85, -15000
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
br label %89
89: ; preds = %87, %83
br label %90
90: ; preds = %89, %81
br label %120
91: ; preds = %32
%92 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%93 = load i32, i32* %92
%94 = icmp sge i32 %93, 15000
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
br label %104
97: ; preds = %91
%98 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%99 = load i32, i32* %98
%100 = icmp sle i32 %99, -15000
br i1 %100, label %101, label %103
101: ; preds = %97
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %103
103: ; preds = %101, %97
br label %104
104: ; preds = %103, %95
br label %120
105: ; preds = %32
%106 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%107 = load i32, i32* %106
%108 = icmp sge i32 %107, 15000
br i1 %108, label %109, label %111
109: ; preds = %105
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
br label %118
111: ; preds = %105
%112 = getelementptr inbounds %struct.js_event, %struct.js_event* %3, i32 0, i32 2
%113 = load i32, i32* %112
%114 = icmp sle i32 %113, -15000
br i1 %114, label %115, label %117
115: ; preds = %111
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0))
br label %117
117: ; preds = %115, %111
br label %118
118: ; preds = %117, %109
br label %120
119: ; preds = %32
br label %120
120: ; preds = %119, %118, %104, %90, %76, %62, %48
br label %121
121: ; preds = %120, %28
br label %122
122: ; preds = %11, %121, %27
br label %123
123: ; preds = %122, %6
br label %6
}

LLVM IR (-O2):
%struct.js_event = type { i32, i32, i32 }
@.str = [15 x i8] c"/dev/input/js0\00"
@O_RDONLY = global i32 0
@JS_EVENT_INIT = global i32 0
@.str.1 = [15 x i8] c"BUTTON[%d]=%d\0A\00"
@str = [11 x i8] c"Spin RIGHT\00"
@str.14 = [10 x i8] c"Spin LEFT\00"
@str.15 = [11 x i8] c"Roll RIGHT\00"
@str.16 = [10 x i8] c"Roll LEFT\00"
@str.17 = [8 x i8] c"Tilt UP\00"
@str.18 = [10 x i8] c"Tilt DOWN\00"
@str.19 = [7 x i8] c"Pan UP\00"
@str.20 = [9 x i8] c"Pan DOWN\00"
@str.21 = [11 x i8] c"Zoom RIGHT\00"
@str.22 = [10 x i8] c"Zoom LEFT\00"
@str.23 = [10 x i8] c"Pan RIGHT\00"
@str.24 = [9 x i8] c"Pan LEFT\00"
define i32 @main() {
%1 = alloca %struct.js_event
%2 = load i32, i32* @O_RDONLY
%3 = tail call i32 @open(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = bitcast %struct.js_event* %1 to i8*
%5 = getelementptr inbounds %struct.js_event, %struct.js_event* %1, i64 0, i32 0
%6 = getelementptr inbounds %struct.js_event, %struct.js_event* %1, i64 0, i32 1
%7 = getelementptr inbounds %struct.js_event, %struct.js_event* %1, i64 0, i32 2
br label %8
8: ; preds = %80, %0
%9 = call i32 @read(i32 %3, %struct.js_event* %1, i32 12)
%10 = icmp ugt i32 %9, 11
br i1 %10, label %11, label %80
11: ; preds = %8
%12 = load i32, i32* %5
%13 = load i32, i32* @JS_EVENT_INIT
%14 = xor i32 %13, -1
%15 = and i32 %12, %14
switch i32 %15, label %80 [
i32 128, label %16
i32 129, label %22
]
16: ; preds = %11
%17 = load i32, i32* %6
%18 = icmp slt i32 %17, 8
br i1 %18, label %19, label %80
19: ; preds = %16
%20 = load i32, i32* %7
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %17, i32 %20)
br label %80
22: ; preds = %11
%23 = load i32, i32* %6
%24 = icmp slt i32 %23, 6
br i1 %24, label %25, label %80
25: ; preds = %22
switch i32 %23, label %80 [
i32 0, label %26
i32 1, label %35
i32 2, label %44
i32 3, label %53
i32 4, label %62
i32 5, label %71
]
26: ; preds = %25
%27 = load i32, i32* %7
%28 = icmp sgt i32 %27, 14999
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.24, i64 0, i64 0))
br label %80
31: ; preds = %26
%32 = icmp slt i32 %27, -14999
br i1 %32, label %33, label %80
33: ; preds = %31
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.23, i64 0, i64 0))
br label %80
35: ; preds = %25
%36 = load i32, i32* %7
%37 = icmp sgt i32 %36, 14999
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.22, i64 0, i64 0))
br label %80
40: ; preds = %35
%41 = icmp slt i32 %36, -14999
br i1 %41, label %42, label %80
42: ; preds = %40
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.21, i64 0, i64 0))
br label %80
44: ; preds = %25
%45 = load i32, i32* %7
%46 = icmp sgt i32 %45, 14999
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.20, i64 0, i64 0))
br label %80
49: ; preds = %44
%50 = icmp slt i32 %45, -14999
br i1 %50, label %51, label %80
51: ; preds = %49
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.19, i64 0, i64 0))
br label %80
53: ; preds = %25
%54 = load i32, i32* %7
%55 = icmp sgt i32 %54, 14999
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.18, i64 0, i64 0))
br label %80
58: ; preds = %53
%59 = icmp slt i32 %54, -14999
br i1 %59, label %60, label %80
60: ; preds = %58
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.17, i64 0, i64 0))
br label %80
62: ; preds = %25
%63 = load i32, i32* %7
%64 = icmp sgt i32 %63, 14999
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.16, i64 0, i64 0))
br label %80
67: ; preds = %62
%68 = icmp slt i32 %63, -14999
br i1 %68, label %69, label %80
69: ; preds = %67
%70 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.15, i64 0, i64 0))
br label %80
71: ; preds = %25
%72 = load i32, i32* %7
%73 = icmp sgt i32 %72, 14999
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.14, i64 0, i64 0))
br label %80
76: ; preds = %71
%77 = icmp slt i32 %72, -14999
br i1 %77, label %78, label %80
78: ; preds = %76
%79 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
br label %80
80: ; preds = %11, %19, %16, %31, %33, %29, %40, %42, %38, %49, %51, %47, %58, %60, %56, %67, %69, %65, %76, %78, %74, %25, %22, %8
br label %8
}