#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*/ clrscr();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
void main() {
  int ranges[9] = {0};
  int curSale;
  int curTotal;
  int cont = 1;
  int numPref = 199;
  int i;
  clrscr();
  printf("----------\n");
  while (cont == 1) {
    curSale = -3;
    while (curSale < 0) {
      printf("Sales:\t");
      scanf("%d", &curSale);
    }
    curTotal = 200 + (0.09 * curSale);
    printf("Salary:\t%d\n", curTotal);
    if (curTotal <= 299) {
      ranges[0] += 1;
    } else if (curTotal <= 399) {
      ranges[1] += 1;
    } else if (curTotal <= 499) {
      ranges[2] += 1;
    } else if (curTotal <= 599) {
      ranges[3] += 1;
    } else if (curTotal <= 699) {
      ranges[4] += 1;
    } else if (curTotal <= 799) {
      ranges[5] += 1;
    } else if (curTotal <= 899) {
      ranges[6] += 1;
    } else if (curTotal <= 999) {
      ranges[7] += 1;
    } else {
      ranges[8] += 1;
    }
    printf("----------\n");
    printf("Continue? (1 = yes, 0 = no) ");
    scanf("%d", &cont);
    printf("----------\n");
    printf("----------\n");
  }
  for (i = 0; i <= 7; i += 1) {
    numPref += 1;
    printf("%d - ", numPref);
    numPref += 99;
    printf("%d:\t", numPref);
    printf("%d\n", ranges[i]);
  }
  printf("1000+    :\t%d\n", ranges[i]);
  printf("----------\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x24,%edx
call   1050 <memset@plt>
movl   $0x1,-0x3c(%rbp)
movl   $0xc7,-0x40(%rbp)
mov    $0x0,%al
call   1030 <clrscr@plt>
lea    0xe9c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x1,-0x3c(%rbp)
jne    133f <main+0x1ff>
movl   $0xfffffffd,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    11b9 <main+0x79>
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe79(%rip),%rdi
lea    -0x34(%rbp),%rsi
call   1060 <scanf@plt>
jmp    118c <main+0x4c>
cvtsi2sdl -0x34(%rbp),%xmm0
movsd  0xe3a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe36(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%esi
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x12b,-0x38(%rbp)
jg     1209 <main+0xc9>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12f2 <main+0x1b2>
cmpl   $0x18f,-0x38(%rbp)
jg     1224 <main+0xe4>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    12ed <main+0x1ad>
cmpl   $0x1f3,-0x38(%rbp)
jg     123f <main+0xff>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12e8 <main+0x1a8>
cmpl   $0x257,-0x38(%rbp)
jg     125a <main+0x11a>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12e3 <main+0x1a3>
cmpl   $0x2bb,-0x38(%rbp)
jg     1275 <main+0x135>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12de <main+0x19e>
cmpl   $0x31f,-0x38(%rbp)
jg     1290 <main+0x150>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12d9 <main+0x199>
cmpl   $0x383,-0x38(%rbp)
jg     12ab <main+0x16b>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12d4 <main+0x194>
cmpl   $0x3e7,-0x38(%rbp)
jg     12c6 <main+0x186>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12cf <main+0x18f>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12d4 <main+0x194>
jmp    12d9 <main+0x199>
jmp    12de <main+0x19e>
jmp    12e3 <main+0x1a3>
jmp    12e8 <main+0x1a8>
jmp    12ed <main+0x1ad>
jmp    12f2 <main+0x1b2>
lea    0xd17(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd0f(%rip),%rdi
lea    -0x3c(%rbp),%rsi
call   1060 <scanf@plt>
lea    0xceb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xcdd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    117b <main+0x3b>
movl   $0x0,-0x44(%rbp)
cmpl   $0x7,-0x44(%rbp)
jg     13a8 <main+0x268>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%esi
lea    0xced(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x63,%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%esi
lea    0xcd9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x44(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
lea    0xcd3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1346 <main+0x206>
movslq -0x44(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
lea    0xca4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xc4b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movl   $0x1,0x20(%rsp)
xor    %eax,%eax
call   1030 <clrscr@plt>
lea    0xefa(%rip),%r13
mov    %r13,%rdi
call   1040 <puts@plt>
lea    0xe9d(%rip),%rbx
lea    0xe9e(%rip),%rbp
lea    0x24(%rsp),%r14
xor    %r12d,%r12d
movl   $0x0,0x1c(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x0,0x14(%rsp)
movl   $0x0,0x10(%rsp)
movl   $0x0,0xc(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x0,(%rsp)
movl   $0x0,0x4(%rsp)
jmp    1212 <main+0xd2>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%r12d
mov    %r13,%rdi
call   1040 <puts@plt>
lea    0xe44(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
lea    0x20(%rsp),%rsi
call   1060 <scanf@plt>
mov    %r13,%rdi
call   1040 <puts@plt>
mov    %r13,%rdi
call   1040 <puts@plt>
cmpl   $0x1,0x20(%rsp)
jne    130b <main+0x1cb>
movl   $0xfffffffd,0x24(%rsp)
ff
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %r14,%rsi
call   1060 <scanf@plt>
mov    0x24(%rsp),%eax
test   %eax,%eax
js     1220 <main+0xe0>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xdb4(%rip),%xmm0
addsd  0xdb4(%rip),%xmm0
cvttsd2si %xmm0,%r15d
lea    0xdbb(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x12b,%r15d
jle    11d0 <main+0x90>
cmp    $0x18f,%r15d
ja     1290 <main+0x150>
addl   $0x1,0x1c(%rsp)
jmp    11d4 <main+0x94>
nopw   0x0(%rax,%rax,1)
cmp    $0x1f3,%r15d
ja     12a3 <main+0x163>
addl   $0x1,0x18(%rsp)
jmp    11d4 <main+0x94>
cmp    $0x257,%r15d
ja     12b6 <main+0x176>
addl   $0x1,0x14(%rsp)
jmp    11d4 <main+0x94>
cmp    $0x2bb,%r15d
ja     12c9 <main+0x189>
addl   $0x1,0x10(%rsp)
jmp    11d4 <main+0x94>
cmp    $0x31f,%r15d
ja     12dc <main+0x19c>
addl   $0x1,0xc(%rsp)
jmp    11d4 <main+0x94>
cmp    $0x383,%r15d
ja     12ef <main+0x1af>
addl   $0x1,0x8(%rsp)
jmp    11d4 <main+0x94>
cmp    $0x3e7,%r15d
ja     1301 <main+0x1c1>
addl   $0x1,(%rsp)
jmp    11d4 <main+0x94>
addl   $0x1,0x4(%rsp)
jmp    11d4 <main+0x94>
lea    0xd32(%rip),%r14
mov    %r14,%rdi
mov    $0xc8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd22(%rip),%rbp
mov    %rbp,%rdi
mov    $0x12b,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd1c(%rip),%rbx
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x12c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x18f,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0x1c(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x190,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x1f3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0x18(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x1f4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x257,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0x14(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x258,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x2bb,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x2bc,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x31f,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x320,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x383,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    $0x384,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x3e7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    (%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xbca(%rip),%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xbc7(%rip),%rdi
call   1040 <puts@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [12 x i8] c"----------\0A\00"
@.str.1 = [8 x i8] c"Sales:\09\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [12 x i8] c"Salary:\09%d\0A\00"
@.str.4 = [29 x i8] c"Continue? (1 = yes, 0 = no) \00"
@.str.5 = [6 x i8] c"%d - \00"
@.str.6 = [5 x i8] c"%d:\09\00"
@.str.7 = [4 x i8] c"%d\0A\00"
@.str.8 = [15 x i8] c"1000+ :\09%d\0A\00"
define void @main() {
%1 = alloca [9 x i32]
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = bitcast [9 x i32]* %1 to i8*
store i32 1, i32* %4
store i32 199, i32* %5
%8 = call i32 (...) @clrscr()
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %93, %0
%11 = load i32, i32* %4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %99
13: ; preds = %10
store i32 -3, i32* %2
br label %14
14: ; preds = %17, %13
%15 = load i32, i32* %2
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %2)
br label %14
20: ; preds = %14
%21 = load i32, i32* %2
%22 = sitofp i32 %21 to double
%23 = call double @llvm.fmuladd.f64(double 0x3FB70A3D70A3D70A, double %22, double 2.000000e+02)
%24 = fptosi double %23 to i32
store i32 %24, i32* %3
%25 = load i32, i32* %3
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 %25)
%27 = load i32, i32* %3
%28 = icmp sle i32 %27, 299
br i1 %28, label %29, label %33
29: ; preds = %20
%30 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 0
%31 = load i32, i32* %30
%32 = add nsw i32 %31, 1
store i32 %32, i32* %30
br label %93
33: ; preds = %20
%34 = load i32, i32* %3
%35 = icmp sle i32 %34, 399
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 1
%38 = load i32, i32* %37
%39 = add nsw i32 %38, 1
store i32 %39, i32* %37
br label %92
40: ; preds = %33
%41 = load i32, i32* %3
%42 = icmp sle i32 %41, 499
br i1 %42, label %43, label %47
43: ; preds = %40
%44 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 2
%45 = load i32, i32* %44
%46 = add nsw i32 %45, 1
store i32 %46, i32* %44
br label %91
47: ; preds = %40
%48 = load i32, i32* %3
%49 = icmp sle i32 %48, 599
br i1 %49, label %50, label %54
50: ; preds = %47
%51 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 3
%52 = load i32, i32* %51
%53 = add nsw i32 %52, 1
store i32 %53, i32* %51
br label %90
54: ; preds = %47
%55 = load i32, i32* %3
%56 = icmp sle i32 %55, 699
br i1 %56, label %57, label %61
57: ; preds = %54
%58 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 4
%59 = load i32, i32* %58
%60 = add nsw i32 %59, 1
store i32 %60, i32* %58
br label %89
61: ; preds = %54
%62 = load i32, i32* %3
%63 = icmp sle i32 %62, 799
br i1 %63, label %64, label %68
64: ; preds = %61
%65 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 5
%66 = load i32, i32* %65
%67 = add nsw i32 %66, 1
store i32 %67, i32* %65
br label %88
68: ; preds = %61
%69 = load i32, i32* %3
%70 = icmp sle i32 %69, 899
br i1 %70, label %71, label %75
71: ; preds = %68
%72 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 6
%73 = load i32, i32* %72
%74 = add nsw i32 %73, 1
store i32 %74, i32* %72
br label %87
75: ; preds = %68
%76 = load i32, i32* %3
%77 = icmp sle i32 %76, 999
br i1 %77, label %78, label %82
78: ; preds = %75
%79 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 7
%80 = load i32, i32* %79
%81 = add nsw i32 %80, 1
store i32 %81, i32* %79
br label %86
82: ; preds = %75
%83 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 8
%84 = load i32, i32* %83
%85 = add nsw i32 %84, 1
store i32 %85, i32* %83
br label %86
86: ; preds = %82, %78
br label %87
87: ; preds = %86, %71
br label %88
88: ; preds = %87, %64
br label %89
89: ; preds = %88, %57
br label %90
90: ; preds = %89, %50
br label %91
91: ; preds = %90, %43
br label %92
92: ; preds = %91, %36
br label %93
93: ; preds = %92, %29
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%96 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %10
99: ; preds = %10
store i32 0, i32* %6
br label %100
100: ; preds = %117, %99
%101 = load i32, i32* %6
%102 = icmp sle i32 %101, 7
br i1 %102, label %103, label %120
103: ; preds = %100
%104 = load i32, i32* %5
%105 = add nsw i32 %104, 1
store i32 %105, i32* %5
%106 = load i32, i32* %5
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %106)
%108 = load i32, i32* %5
%109 = add nsw i32 %108, 99
store i32 %109, i32* %5
%110 = load i32, i32* %5
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %110)
%112 = load i32, i32* %6
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 %113
%115 = load i32, i32* %114
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %115)
br label %117
117: ; preds = %103
%118 = load i32, i32* %6
%119 = add nsw i32 %118, 1
store i32 %119, i32* %6
br label %100
120: ; preds = %100
%121 = load i32, i32* %6
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [9 x i32], [9 x i32]* %1, i64 0, i64 %122
%124 = load i32, i32* %123
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i32 %124)
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [8 x i8] c"Sales:\09\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [12 x i8] c"Salary:\09%d\0A\00"
@.str.4 = [29 x i8] c"Continue? (1 = yes, 0 = no) \00"
@.str.5 = [6 x i8] c"%d - \00"
@.str.6 = [5 x i8] c"%d:\09\00"
@.str.7 = [4 x i8] c"%d\0A\00"
@.str.8 = [15 x i8] c"1000+ :\09%d\0A\00"
@str.12 = [11 x i8] c"----------\00"
define void @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
store i32 1, i32* %2
%5 = tail call i32 (...) @clrscr()
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
br label %34
7: ; preds = %87
%8 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 200)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 299)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %88)
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 300)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 399)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %89)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 400)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 499)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %90)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 500)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 599)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %91)
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 600)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 699)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %92)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 700)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 799)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %93)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 800)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 899)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %94)
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 900)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 999)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i32 %95)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i32 %96)
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
ret void
34: ; preds = %0, %87
%35 = phi i32 [ 0, %0 ], [ %88, %87 ]
%36 = phi i32 [ 0, %0 ], [ %89, %87 ]
%37 = phi i32 [ 0, %0 ], [ %90, %87 ]
%38 = phi i32 [ 0, %0 ], [ %91, %87 ]
%39 = phi i32 [ 0, %0 ], [ %92, %87 ]
%40 = phi i32 [ 0, %0 ], [ %93, %87 ]
%41 = phi i32 [ 0, %0 ], [ %94, %87 ]
%42 = phi i32 [ 0, %0 ], [ %95, %87 ]
%43 = phi i32 [ 0, %0 ], [ %96, %87 ]
store i32 -3, i32* %1
br label %44
44: ; preds = %34, %44
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %1)
%47 = load i32, i32* %1
%48 = icmp slt i32 %47, 0
br i1 %48, label %44, label %49
49: ; preds = %44
%50 = sitofp i32 %47 to double
%51 = call double @llvm.fmuladd.f64(double %50, double 0x3FB70A3D70A3D70A, double 2.000000e+02)
%52 = fptosi double %51 to i32
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 %52)
%54 = icmp slt i32 %52, 300
br i1 %54, label %55, label %57
55: ; preds = %49
%56 = add nsw i32 %35, 1
br label %87
57: ; preds = %49
%58 = icmp ult i32 %52, 400
br i1 %58, label %59, label %61
59: ; preds = %57
%60 = add nsw i32 %36, 1
br label %87
61: ; preds = %57
%62 = icmp ult i32 %52, 500
br i1 %62, label %63, label %65
63: ; preds = %61
%64 = add nsw i32 %37, 1
br label %87
65: ; preds = %61
%66 = icmp ult i32 %52, 600
br i1 %66, label %67, label %69
67: ; preds = %65
%68 = add nsw i32 %38, 1
br label %87
69: ; preds = %65
%70 = icmp ult i32 %52, 700
br i1 %70, label %71, label %73
71: ; preds = %69
%72 = add nsw i32 %39, 1
br label %87
73: ; preds = %69
%74 = icmp ult i32 %52, 800
br i1 %74, label %75, label %77
75: ; preds = %73
%76 = add nsw i32 %40, 1
br label %87
77: ; preds = %73
%78 = icmp ult i32 %52, 900
br i1 %78, label %79, label %81
79: ; preds = %77
%80 = add nsw i32 %41, 1
br label %87
81: ; preds = %77
%82 = icmp ult i32 %52, 1000
br i1 %82, label %83, label %85
83: ; preds = %81
%84 = add nsw i32 %42, 1
br label %87
85: ; preds = %81
%86 = add nsw i32 %43, 1
br label %87
87: ; preds = %59, %67, %75, %83, %85, %79, %71, %63, %55
%88 = phi i32 [ %35, %59 ], [ %35, %67 ], [ %35, %75 ], [ %35, %83 ], [ %35, %85 ], [ %35, %79 ], [ %35, %71 ], [ %35, %63 ], [ %56, %55 ]
%89 = phi i32 [ %60, %59 ], [ %36, %67 ], [ %36, %75 ], [ %36, %83 ], [ %36, %85 ], [ %36, %79 ], [ %36, %71 ], [ %36, %63 ], [ %36, %55 ]
%90 = phi i32 [ %37, %59 ], [ %37, %67 ], [ %37, %75 ], [ %37, %83 ], [ %37, %85 ], [ %37, %79 ], [ %37, %71 ], [ %64, %63 ], [ %37, %55 ]
%91 = phi i32 [ %38, %59 ], [ %68, %67 ], [ %38, %75 ], [ %38, %83 ], [ %38, %85 ], [ %38, %79 ], [ %38, %71 ], [ %38, %63 ], [ %38, %55 ]
%92 = phi i32 [ %39, %59 ], [ %39, %67 ], [ %39, %75 ], [ %39, %83 ], [ %39, %85 ], [ %39, %79 ], [ %72, %71 ], [ %39, %63 ], [ %39, %55 ]
%93 = phi i32 [ %40, %59 ], [ %40, %67 ], [ %76, %75 ], [ %40, %83 ], [ %40, %85 ], [ %40, %79 ], [ %40, %71 ], [ %40, %63 ], [ %40, %55 ]
%94 = phi i32 [ %41, %59 ], [ %41, %67 ], [ %41, %75 ], [ %41, %83 ], [ %41, %85 ], [ %80, %79 ], [ %41, %71 ], [ %41, %63 ], [ %41, %55 ]
%95 = phi i32 [ %42, %59 ], [ %42, %67 ], [ %42, %75 ], [ %84, %83 ], [ %42, %85 ], [ %42, %79 ], [ %42, %71 ], [ %42, %63 ], [ %42, %55 ]
%96 = phi i32 [ %43, %59 ], [ %43, %67 ], [ %43, %75 ], [ %43, %83 ], [ %86, %85 ], [ %43, %79 ], [ %43, %71 ], [ %43, %63 ], [ %43, %55 ]
%97 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%99 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %2)
%100 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
%101 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.12, i64 0, i64 0))
%102 = load i32, i32* %2
%103 = icmp eq i32 %102, 1
br i1 %103, label %34, label %7
}