#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
struct TYPE_2__ {
  int tv_sec;
  int tv_usec;
};
struct rusage {
  TYPE_1__ ru_utime;
};

/* Variables and functions */
int /*<<< orphan*/ RUSAGE_SELF;
int /*<<< orphan*/ decode_rs_8(unsigned char *, int /*<<< orphan*/ *,
                               int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ decode_rs_char(void *, unsigned char *, int /*<<< orphan*/ *,
                                  int /*<<< orphan*/);
int /*<<< orphan*/ encode_rs_8(unsigned char *, unsigned char *,
                               int /*<<< orphan*/);
int /*<<< orphan*/ encode_rs_char(void *, unsigned char *, unsigned char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ getrusage(int /*<<< orphan*/, struct rusage *);
void *init_rs_char(int, int, int, int, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, int, ...);
int main() {
  unsigned char block[255];
  int i;
  void *rs;
  struct rusage start, finish;
  double extime;
  int trials = 10000;
  for (i = 0; i < 223; i++)
    block[i] = 0x01;
  rs = init_rs_char(8, 0x187, 112, 11, 32, 0);
  encode_rs_char(rs, block, &block[223]);
  getrusage(RUSAGE_SELF, &start);
  for (i = 0; i < trials; i++) {
    decode_rs_char(rs, block, NULL, 0);
  }
  getrusage(RUSAGE_SELF, &finish);
  extime = finish.ru_utime.tv_sec - start.ru_utime.tv_sec +
           1e-6 * (finish.ru_utime.tv_usec - start.ru_utime.tv_usec);
  printf("Execution time for %d Reed-Solomon blocks using general decoder: "
         "%.2f sec\n",
         trials, extime);
  printf("decoder speed: %g bits/s\n", trials * 223 * 8 / extime);
  encode_rs_8(block, &block[223], 0);
  getrusage(RUSAGE_SELF, &start);
  for (i = 0; i < trials; i++) {
    decode_rs_8(block, NULL, 0, 0);
  }
  getrusage(RUSAGE_SELF, &finish);
  extime = finish.ru_utime.tv_sec - start.ru_utime.tv_sec +
           1e-6 * (finish.ru_utime.tv_usec - start.ru_utime.tv_usec);
  printf("Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f "
         "sec\n",
         trials, extime);
  printf("decoder speed: %g bits/s\n", trials * 223 * 8 / extime);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x2710,-0x13c(%rbp)
movl   $0x0,-0x114(%rbp)
cmpl   $0xdf,-0x114(%rbp)
jge    11d9 <main+0x59>
movslq -0x114(%rbp),%rax
movb   $0x1,-0x110(%rbp,%rax,1)
01
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    11a6 <main+0x26>
mov    $0x8,%edi
mov    $0x187,%esi
mov    $0x70,%edx
mov    $0xb,%ecx
mov    $0x20,%r8d
xor    %r9d,%r9d
call   1090 <init_rs_char@plt>
mov    %rax,-0x120(%rbp)
mov    -0x120(%rbp),%rdi
lea    -0x110(%rbp),%rsi
lea    -0x110(%rbp),%rdx
add    $0xdf,%rdx
call   1040 <encode_rs_char@plt>
mov    0x2db6(%rip),%rax
mov    (%rax),%edi
lea    -0x128(%rbp),%rsi
call   1080 <getrusage@plt>
movl   $0x0,-0x114(%rbp)
mov    -0x114(%rbp),%eax
cmp    -0x13c(%rbp),%eax
jge    1281 <main+0x101>
mov    -0x120(%rbp),%rdi
lea    -0x110(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
xor    %ecx,%ecx
call   1060 <decode_rs_char@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    1242 <main+0xc2>
mov    0x2d58(%rip),%rax
mov    (%rax),%edi
lea    -0x130(%rbp),%rsi
call   1080 <getrusage@plt>
mov    -0x130(%rbp),%eax
sub    -0x128(%rbp),%eax
cvtsi2sd %eax,%xmm1
mov    -0x12c(%rbp),%eax
sub    -0x124(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xd42(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
mov    -0x13c(%rbp),%esi
movsd  -0x138(%rbp),%xmm0
ff
lea    0xd25(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
imul   $0xdf,-0x13c(%rbp),%eax
shl    $0x3,%eax
cvtsi2sd %eax,%xmm0
divsd  -0x138(%rbp),%xmm0
ff
cvttsd2si %xmm0,%esi
lea    0xd45(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x110(%rbp),%rdi
lea    -0x110(%rbp),%rsi
add    $0xdf,%rsi
xor    %edx,%edx
call   1070 <encode_rs_8@plt>
mov    0x2ca8(%rip),%rax
mov    (%rax),%edi
lea    -0x128(%rbp),%rsi
call   1080 <getrusage@plt>
movl   $0x0,-0x114(%rbp)
mov    -0x114(%rbp),%eax
cmp    -0x13c(%rbp),%eax
jge    138a <main+0x20a>
lea    -0x110(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
xor    %ecx,%ecx
mov    %ecx,%edx
call   1050 <decode_rs_8@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    1350 <main+0x1d0>
mov    0x2c4f(%rip),%rax
mov    (%rax),%edi
lea    -0x130(%rbp),%rsi
call   1080 <getrusage@plt>
mov    -0x130(%rbp),%eax
sub    -0x128(%rbp),%eax
cvtsi2sd %eax,%xmm1
mov    -0x12c(%rbp),%eax
sub    -0x124(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xc39(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
mov    -0x13c(%rbp),%esi
movsd  -0x138(%rbp),%xmm0
ff
lea    0xc81(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
imul   $0xdf,-0x13c(%rbp),%eax
shl    $0x3,%eax
cvtsi2sd %eax,%xmm0
divsd  -0x138(%rbp),%xmm0
ff
cvttsd2si %xmm0,%esi
lea    0xc3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x120,%rsp
movaps 0xe6a(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xe0(%rsp)
movups %xmm0,0xef(%rsp)
mov    $0x8,%edi
mov    $0x187,%esi
mov    $0x70,%edx
mov    $0xb,%ecx
mov    $0x20,%r8d
xor    %r9d,%r9d
call   1090 <init_rs_char@plt>
mov    %rax,%rbx
lea    0xff(%rsp),%r14
lea    0x20(%rsp),%r15
mov    %rax,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1040 <encode_rs_char@plt>
mov    0x2da5(%rip),%r12
mov    (%r12),%edi
lea    0x10(%rsp),%rsi
call   1080 <getrusage@plt>
mov    $0x2710,%ebp
xchg   %ax,%ax
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %edx,%edx
xor    %ecx,%ecx
call   1060 <decode_rs_char@plt>
add    $0xffffffff,%ebp
jne    1250 <main+0xd0>
mov    (%r12),%edi
lea    0x8(%rsp),%rsi
call   1080 <getrusage@plt>
mov    0x8(%rsp),%eax
mov    0xc(%rsp),%ecx
sub    0x10(%rsp),%eax
cvtsi2sd %eax,%xmm1
sub    0x14(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
mulsd  0xd7b(%rip),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x18(%rsp)
lea    0xd7a(%rip),%rdi
mov    $0x2710,%ebp
mov    $0x2710,%esi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0xd59(%rip),%xmm0
divsd  0x18(%rsp),%xmm0
cvttsd2si %xmm0,%esi
lea    0xd9b(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %edx,%edx
call   1070 <encode_rs_8@plt>
mov    (%r12),%edi
lea    0x10(%rsp),%rsi
call   1080 <getrusage@plt>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1050 <decode_rs_8@plt>
add    $0xffffffff,%ebp
jne    1300 <main+0x180>
mov    (%r12),%edi
lea    0x8(%rsp),%rsi
call   1080 <getrusage@plt>
mov    0x8(%rsp),%eax
mov    0xc(%rsp),%ecx
sub    0x10(%rsp),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
sub    0x14(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
mulsd  0xcc9(%rip),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x18(%rsp)
lea    0xd2d(%rip),%rdi
mov    $0x2710,%esi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  0xcac(%rip),%xmm0
divsd  0x18(%rsp),%xmm0
cvttsd2si %xmm0,%esi
lea    0xcee(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %edi,%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
%struct.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@RUSAGE_SELF = global i32 0
@.str = [75 x i8] c"Execution time for %d Reed-Solomon blocks using general decoder: %.2f sec\0A\00"
@.str.1 = [26 x i8] c"decoder speed: %g bits/s\0A\00"
@.str.2 = [73 x i8] c"Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f sec\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [255 x i8]
%3 = alloca i32
%4 = alloca i8*
%5 = alloca %struct.rusage
%6 = alloca %struct.rusage
%7 = alloca double
%8 = alloca i32
store i32 0, i32* %1
store i32 10000, i32* %8
store i32 0, i32* %3
br label %9
9: ; preds = %16, %0
%10 = load i32, i32* %3
%11 = icmp slt i32 %10, 223
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load i32, i32* %3
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 %14
store i8 1, i8* %15
br label %16
16: ; preds = %12
%17 = load i32, i32* %3
%18 = add nsw i32 %17, 1
store i32 %18, i32* %3
br label %9
19: ; preds = %9
%20 = call i8* @init_rs_char(i32 8, i32 391, i32 112, i32 11, i32 32, i32 0)
store i8* %20, i8** %4
%21 = load i8*, i8** %4
%22 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%23 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 223
%24 = call i32 @encode_rs_char(i8* %21, i8* %22, i8* %23)
%25 = load i32, i32* @RUSAGE_SELF
%26 = call i32 @getrusage(i32 %25, %struct.rusage* %5)
store i32 0, i32* %3
br label %27
27: ; preds = %35, %19
%28 = load i32, i32* %3
%29 = load i32, i32* %8
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %38
31: ; preds = %27
%32 = load i8*, i8** %4
%33 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%34 = call i32 @decode_rs_char(i8* %32, i8* %33, i32* null, i32 0)
br label %35
35: ; preds = %31
%36 = load i32, i32* %3
%37 = add nsw i32 %36, 1
store i32 %37, i32* %3
br label %27
38: ; preds = %27
%39 = load i32, i32* @RUSAGE_SELF
%40 = call i32 @getrusage(i32 %39, %struct.rusage* %6)
%41 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 0
%42 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %41, i32 0, i32 0
%43 = load i32, i32* %42
%44 = getelementptr inbounds %struct.rusage, %struct.rusage* %5, i32 0, i32 0
%45 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %44, i32 0, i32 0
%46 = load i32, i32* %45
%47 = sub nsw i32 %43, %46
%48 = sitofp i32 %47 to double
%49 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 0
%50 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %49, i32 0, i32 1
%51 = load i32, i32* %50
%52 = getelementptr inbounds %struct.rusage, %struct.rusage* %5, i32 0, i32 0
%53 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %52, i32 0, i32 1
%54 = load i32, i32* %53
%55 = sub nsw i32 %51, %54
%56 = sitofp i32 %55 to double
%57 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %56, double %48)
store double %57, double* %7
%58 = load i32, i32* %8
%59 = load double, double* %7
%60 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str, i64 0, i64 0), i32 %58, double %59)
%61 = load i32, i32* %8
%62 = mul nsw i32 %61, 223
%63 = mul nsw i32 %62, 8
%64 = sitofp i32 %63 to double
%65 = load double, double* %7
%66 = fdiv double %64, %65
%67 = fptosi double %66 to i32
%68 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%70 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 223
%71 = call i32 @encode_rs_8(i8* %69, i8* %70, i32 0)
%72 = load i32, i32* @RUSAGE_SELF
%73 = call i32 @getrusage(i32 %72, %struct.rusage* %5)
store i32 0, i32* %3
br label %74
74: ; preds = %81, %38
%75 = load i32, i32* %3
%76 = load i32, i32* %8
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %84
78: ; preds = %74
%79 = getelementptr inbounds [255 x i8], [255 x i8]* %2, i64 0, i64 0
%80 = call i32 @decode_rs_8(i8* %79, i32* null, i32 0, i32 0)
br label %81
81: ; preds = %78
%82 = load i32, i32* %3
%83 = add nsw i32 %82, 1
store i32 %83, i32* %3
br label %74
84: ; preds = %74
%85 = load i32, i32* @RUSAGE_SELF
%86 = call i32 @getrusage(i32 %85, %struct.rusage* %6)
%87 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 0
%88 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %87, i32 0, i32 0
%89 = load i32, i32* %88
%90 = getelementptr inbounds %struct.rusage, %struct.rusage* %5, i32 0, i32 0
%91 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %90, i32 0, i32 0
%92 = load i32, i32* %91
%93 = sub nsw i32 %89, %92
%94 = sitofp i32 %93 to double
%95 = getelementptr inbounds %struct.rusage, %struct.rusage* %6, i32 0, i32 0
%96 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %95, i32 0, i32 1
%97 = load i32, i32* %96
%98 = getelementptr inbounds %struct.rusage, %struct.rusage* %5, i32 0, i32 0
%99 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %98, i32 0, i32 1
%100 = load i32, i32* %99
%101 = sub nsw i32 %97, %100
%102 = sitofp i32 %101 to double
%103 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %102, double %94)
store double %103, double* %7
%104 = load i32, i32* %8
%105 = load double, double* %7
%106 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0), i32 %104, double %105)
%107 = load i32, i32* %8
%108 = mul nsw i32 %107, 223
%109 = mul nsw i32 %108, 8
%110 = sitofp i32 %109 to double
%111 = load double, double* %7
%112 = fdiv double %110, %111
%113 = fptosi double %112 to i32
%114 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %113)
%115 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
%struct.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i32 }
@RUSAGE_SELF = global i32 0
@.str = [75 x i8] c"Execution time for %d Reed-Solomon blocks using general decoder: %.2f sec\0A\00"
@.str.1 = [26 x i8] c"decoder speed: %g bits/s\0A\00"
@.str.2 = [73 x i8] c"Execution time for %d Reed-Solomon blocks using CCSDS decoder: %.2f sec\0A\00"
define i32 @main() {
%1 = alloca [255 x i8]
%2 = getelementptr inbounds [255 x i8], [255 x i8]* %1, i64 0, i64 0
%3 = alloca %struct.rusage
%4 = alloca %struct.rusage
%5 = getelementptr inbounds [255 x i8], [255 x i8]* %1, i64 0, i64 0
%6 = bitcast %struct.rusage* %3 to i8*
%7 = bitcast %struct.rusage* %4 to i8*
%8 = tail call i8* @init_rs_char(i32 8, i32 391, i32 112, i32 11, i32 32, i32 0)
%9 = getelementptr inbounds [255 x i8], [255 x i8]* %1, i64 0, i64 223
%10 = call i32 @encode_rs_char(i8* %8, i8* %5, i8* %9)
%11 = load i32, i32* @RUSAGE_SELF
%12 = call i32 @getrusage(i32 %11, %struct.rusage* %3)
br label %13
13: ; preds = %0, %13
%14 = phi i32 [ 0, %0 ], [ %16, %13 ]
%15 = call i32 @decode_rs_char(i8* %8, i8* %5, i32* null, i32 0)
%16 = add nuw nsw i32 %14, 1
%17 = icmp eq i32 %16, 10000
br i1 %17, label %18, label %13
18: ; preds = %13
%19 = load i32, i32* @RUSAGE_SELF
%20 = call i32 @getrusage(i32 %19, %struct.rusage* %4)
%21 = getelementptr inbounds %struct.rusage, %struct.rusage* %4, i64 0, i32 0, i32 0
%22 = load i32, i32* %21
%23 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 0, i32 0
%24 = load i32, i32* %23
%25 = sub nsw i32 %22, %24
%26 = sitofp i32 %25 to double
%27 = getelementptr inbounds %struct.rusage, %struct.rusage* %4, i64 0, i32 0, i32 1
%28 = load i32, i32* %27
%29 = getelementptr inbounds %struct.rusage, %struct.rusage* %3, i64 0, i32 0, i32 1
%30 = load i32, i32* %29
%31 = sub nsw i32 %28, %30
%32 = sitofp i32 %31 to double
%33 = call double @llvm.fmuladd.f64(double %32, double 0x3EB0C6F7A0B5ED8D, double %26)
%34 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str, i64 0, i64 0), i32 10000, double %33)
%35 = fdiv double 1.784000e+07, %33
%36 = fptosi double %35 to i32
%37 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%38 = call i32 @encode_rs_8(i8* %5, i8* %9, i32 0)
%39 = load i32, i32* @RUSAGE_SELF
%40 = call i32 @getrusage(i32 %39, %struct.rusage* %3)
br label %41
41: ; preds = %18, %41
%42 = phi i32 [ 0, %18 ], [ %44, %41 ]
%43 = call i32 @decode_rs_8(i8* %5, i32* null, i32 0, i32 0)
%44 = add nuw nsw i32 %42, 1
%45 = icmp eq i32 %44, 10000
br i1 %45, label %46, label %41
46: ; preds = %41
%47 = load i32, i32* @RUSAGE_SELF
%48 = call i32 @getrusage(i32 %47, %struct.rusage* %4)
%49 = load i32, i32* %21
%50 = load i32, i32* %23
%51 = sub nsw i32 %49, %50
%52 = sitofp i32 %51 to double
%53 = load i32, i32* %27
%54 = load i32, i32* %29
%55 = sub nsw i32 %53, %54
%56 = sitofp i32 %55 to double
%57 = call double @llvm.fmuladd.f64(double %56, double 0x3EB0C6F7A0B5ED8D, double %52)
%58 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0), i32 10000, double %57)
%59 = fdiv double 1.784000e+07, %57
%60 = fptosi double %59 to i32
%61 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %60)
%62 = call i32 @exit(i32 0)
unreachable
}