#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*/ STDOUT_FILENO;
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ isatty(int /*<<< orphan*/);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ stdout;
void print_hash(const unsigned long amount, const unsigned long total) {
  int hashesNeeded;
  int hashesTotal = 50;
  int hashesPrinted = 0;
  int progressCurrent = 0;
  int progressTotal = 0;
  if (isatty(STDOUT_FILENO))
    hashesTotal = 73;
  if (hashesPrinted != hashesTotal) {
    hashesNeeded = hashesTotal * (total ? (((float)amount) / total) : 1);
    while (hashesNeeded > hashesPrinted) {
      if (isatty(STDOUT_FILENO)) {
        int i;
        for (i = 0; i < hashesPrinted; i++)
          (void)putchar('*');
        for (; i < hashesTotal; i++)
          (void)putchar(' ');
        fprintf(stdout, "(%3d%%)",
                (int)(100 * (total ? (((float)amount) / total) : 1)));
        for (i = 0; i < (hashesTotal + 6); i++)
          (void)putchar('\b');
      } else
        (void)putchar('*');
      hashesPrinted++;
    }
    (void)fflush(stdout);
    hashesPrinted = hashesNeeded;
    if (hashesPrinted == hashesTotal) {
      int i;
      progressCurrent++;
      if (isatty(STDOUT_FILENO)) {
        for (i = 1; i < hashesPrinted; i++)
          (void)putchar('*');
        fprintf(stdout, " [%3d%%]",
                (int)(100 * (progressTotal
                                 ? (((float)progressCurrent) / progressTotal)
                                 : 1)));
      }
      fprintf(stdout, "\n");
    }
    (void)fflush(stdout);
  }
}


x86 assembly (clang, -O0):
<print_hash>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x32,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    0x2e7d(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
cmp    $0x0,%rax
je     118b <print_hash+0x4b>
movl   $0x49,-0x18(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
je     1516 <print_hash+0x3d6>
cvtsi2ssl -0x18(%rbp),%xmm0
movss  %xmm0,-0x30(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     1248 <print_hash+0x108>
mov    -0x8(%rbp),%rax
mov    %rax,%rdx
shr    %rdx
mov    %eax,%ecx
and    $0x1,%ecx
or     %rdx,%rcx
cvtsi2ss %rcx,%xmm0
addss  %xmm0,%xmm0
cvtsi2ss %rax,%xmm1
movss  %xmm1,-0x38(%rbp)
test   %rax,%rax
movss  %xmm0,-0x34(%rbp)
js     11e9 <print_hash+0xa9>
movss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
shr    %rdx
mov    %eax,%ecx
and    $0x1,%ecx
or     %rdx,%rcx
cvtsi2ss %rcx,%xmm0
addss  %xmm0,%xmm0
cvtsi2ss %rax,%xmm1
movss  %xmm1,-0x40(%rbp)
test   %rax,%rax
movss  %xmm0,-0x3c(%rbp)
js     1230 <print_hash+0xf0>
movss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x44(%rbp),%xmm0
movss  -0x3c(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
jmp    125a <print_hash+0x11a>
movss  0xdb0(%rip),%xmm0
movss  %xmm0,-0x48(%rbp)
jmp    125a <print_hash+0x11a>
movss  -0x30(%rbp),%xmm0
movss  -0x48(%rbp),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    141f <print_hash+0x2df>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
cmp    $0x0,%rax
je     1407 <print_hash+0x2c7>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12be <print_hash+0x17e>
mov    $0x2a,%edi
call   1030 <putchar@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    129a <print_hash+0x15a>
jmp    12c3 <print_hash+0x183>
mov    -0x28(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    12e7 <print_hash+0x1a7>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12c3 <print_hash+0x183>
mov    0x2cea(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     139a <print_hash+0x25a>
mov    -0x8(%rbp),%rax
mov    %rax,%rdx
shr    %rdx
mov    %eax,%ecx
and    $0x1,%ecx
or     %rdx,%rcx
cvtsi2ss %rcx,%xmm0
addss  %xmm0,%xmm0
cvtsi2ss %rax,%xmm1
movss  %xmm1,-0x54(%rbp)
test   %rax,%rax
movss  %xmm0,-0x50(%rbp)
js     133b <print_hash+0x1fb>
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
shr    %rdx
mov    %eax,%ecx
and    $0x1,%ecx
or     %rdx,%rcx
cvtsi2ss %rcx,%xmm0
addss  %xmm0,%xmm0
cvtsi2ss %rax,%xmm1
movss  %xmm1,-0x5c(%rbp)
test   %rax,%rax
movss  %xmm0,-0x58(%rbp)
js     1382 <print_hash+0x242>
movss  -0x5c(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x60(%rbp),%xmm0
movss  -0x58(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
jmp    13ac <print_hash+0x26c>
movss  0xc5e(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
jmp    13ac <print_hash+0x26c>
mov    -0x4c(%rbp),%edi
movss  -0x64(%rbp),%xmm1
movss  0xc48(%rip),%xmm0
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edx
lea    0xc3d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x18(%rbp),%ecx
add    $0x6,%ecx
cmp    %ecx,%eax
jge    1402 <print_hash+0x2c2>
mov    $0x8,%edi
call   1030 <putchar@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    13d9 <print_hash+0x299>
jmp    1411 <print_hash+0x2d1>
mov    $0x2a,%edi
call   1030 <putchar@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    126f <print_hash+0x12f>
mov    0x2bb2(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    1508 <print_hash+0x3c8>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
mov    0x2ba1(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
cmp    $0x0,%rax
je     14f1 <print_hash+0x3b1>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    148b <print_hash+0x34b>
mov    $0x2a,%edi
call   1030 <putchar@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1467 <print_hash+0x327>
mov    0x2b46(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x68(%rbp)
cmpl   $0x0,-0x24(%rbp)
je     14b9 <print_hash+0x379>
cvtsi2ssl -0x20(%rbp),%xmm0
cvtsi2ssl -0x24(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
jmp    14cb <print_hash+0x38b>
movss  0xb3f(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
jmp    14cb <print_hash+0x38b>
mov    -0x68(%rbp),%edi
movss  -0x6c(%rbp),%xmm1
movss  0xb29(%rip),%xmm0
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edx
lea    0xb26(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2ae0(%rip),%rax
mov    (%rax),%edi
lea    0xb18(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2ac9(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_hash>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%r12
mov    0x2e98(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
test   %rax,%rax
mov    $0x32,%eax
mov    $0x49,%ebx
cmove  %eax,%ebx
cvtsi2ss %ebx,%xmm0
test   %r14,%r14
je     11a1 <print_hash+0x61>
test   %r12,%r12
js     11ab <print_hash+0x6b>
cvtsi2ss %r12,%xmm1
test   %r14,%r14
jns    11c8 <print_hash+0x88>
mov    %r14,%rax
shr    %rax
mov    %r14d,%ecx
and    $0x1,%ecx
or     %rax,%rcx
cvtsi2ss %rcx,%xmm2
addss  %xmm2,%xmm2
jmp    11cd <print_hash+0x8d>
movss  0xe57(%rip),%xmm1
jmp    11d1 <print_hash+0x91>
mov    %r12,%rax
shr    %rax
mov    %r12d,%ecx
and    $0x1,%ecx
or     %rax,%rcx
cvtsi2ss %rcx,%xmm1
addss  %xmm1,%xmm1
test   %r14,%r14
js     1187 <print_hash+0x47>
cvtsi2ss %r14,%xmm2
divss  %xmm2,%xmm1
mulss  %xmm0,%xmm1
cvttss2si %xmm1,%r13d
test   %r13d,%r13d
jle    1314 <print_hash+0x1d4>
test   %r12,%r12
js     11f2 <print_hash+0xb2>
xorps  %xmm0,%xmm0
cvtsi2ss %r12,%xmm0
jmp    120b <print_hash+0xcb>
mov    %r12,%rax
shr    %rax
and    $0x1,%r12d
or     %rax,%r12
xorps  %xmm0,%xmm0
cvtsi2ss %r12,%xmm0
addss  %xmm0,%xmm0
mov    %r14,%rcx
shr    %rcx
mov    %r14d,%eax
and    $0x1,%eax
or     %rcx,%rax
test   %r14,%r14
js     1229 <print_hash+0xe9>
xorps  %xmm1,%xmm1
cvtsi2ss %r14,%xmm1
jmp    1235 <print_hash+0xf5>
xorps  %xmm1,%xmm1
cvtsi2ss %rax,%xmm1
addss  %xmm1,%xmm1
divss  %xmm1,%xmm0
mulss  0xdc3(%rip),%xmm0
cvttss2si %xmm0,%eax
mov    $0x64,%r12d
cmovne %eax,%r12d
lea    0x6(%rbx),%eax
mov    %eax,0x4(%rsp)
xor    %r15d,%r15d
jmp    1277 <print_hash+0x137>
nopl   0x0(%rax,%rax,1)
mov    $0x2a,%edi
call   1030 <putchar@plt>
add    $0x1,%r15d
cmp    %r13d,%r15d
je     1314 <print_hash+0x1d4>
mov    0x2d72(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
test   %rax,%rax
je     1260 <print_hash+0x120>
mov    %r15d,%ebp
test   %r15d,%r15d
je     12c0 <print_hash+0x180>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x2a,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebp
jne    12a0 <print_hash+0x160>
mov    %r15d,%eax
cmp    %ebx,%r15d
jb     12c2 <print_hash+0x182>
jmp    12e0 <print_hash+0x1a0>
nopl   0x0(%rax)
xor    %eax,%eax
mov    %ebx,%r14d
sub    %eax,%r14d
nopl   0x0(%rax,%rax,1)
mov    $0x20,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%r14d
jne    12d0 <print_hash+0x190>
mov    0x2cf1(%rip),%rax
mov    (%rax),%edi
lea    0xd18(%rip),%rsi
mov    %r12d,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x4(%rsp),%ebp
xchg   %ax,%ax
mov    $0x8,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebp
jne    1300 <print_hash+0x1c0>
jmp    126a <print_hash+0x12a>
mov    0x2cbd(%rip),%r14
mov    (%r14),%edi
call   1060 <fflush@plt>
cmp    %r13d,%ebx
jne    1376 <print_hash+0x236>
mov    0x2cc1(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
test   %rax,%rax
je     1365 <print_hash+0x225>
add    $0xffffffff,%ebx
xchg   %ax,%ax
mov    $0x2a,%edi
call   1030 <putchar@plt>
add    $0xffffffff,%ebx
jne    1340 <print_hash+0x200>
mov    (%r14),%edi
lea    0xcb7(%rip),%rsi
mov    $0x64,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r14),%edi
lea    0xcaa(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%r14),%edi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <fflush@plt>

LLVM IR (-O0):
@STDOUT_FILENO = global i32 0
@stdout = global i32 0
@.str = [8 x i8] c"(%3d%%)\00"
@.str.1 = [9 x i8] c" [%3d%%]\00"
@.str.2 = [2 x i8] c"\0A\00"
define void @print_hash(i64 %0, i64 %1) {
%3 = alloca i64
%4 = alloca i64
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i64 %0, i64* %3
store i64 %1, i64* %4
store i32 50, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
%12 = load i32, i32* @STDOUT_FILENO
%13 = call i64 @isatty(i32 %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 73, i32* %6
br label %16
16: ; preds = %15, %2
%17 = load i32, i32* %7
%18 = load i32, i32* %6
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %141
20: ; preds = %16
%21 = load i32, i32* %6
%22 = sitofp i32 %21 to float
%23 = load i64, i64* %4
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = load i64, i64* %3
%27 = uitofp i64 %26 to float
%28 = load i64, i64* %4
%29 = uitofp i64 %28 to float
%30 = fdiv float %27, %29
br label %32
31: ; preds = %20
br label %32
32: ; preds = %31, %25
%33 = phi float [ %30, %25 ], [ 1.000000e+00, %31 ]
%34 = fmul float %22, %33
%35 = fptosi float %34 to i32
store i32 %35, i32* %5
br label %36
36: ; preds = %93, %32
%37 = load i32, i32* %5
%38 = load i32, i32* %7
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %96
40: ; preds = %36
%41 = load i32, i32* @STDOUT_FILENO
%42 = call i64 @isatty(i32 %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %91
44: ; preds = %40
store i32 0, i32* %10
br label %45
45: ; preds = %51, %44
%46 = load i32, i32* %10
%47 = load i32, i32* %7
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %54
49: ; preds = %45
%50 = call i32 @putchar(i8 signext 42)
br label %51
51: ; preds = %49
%52 = load i32, i32* %10
%53 = add nsw i32 %52, 1
store i32 %53, i32* %10
br label %45
54: ; preds = %45
br label %55
55: ; preds = %61, %54
%56 = load i32, i32* %10
%57 = load i32, i32* %6
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %64
59: ; preds = %55
%60 = call i32 @putchar(i8 signext 32)
br label %61
61: ; preds = %59
%62 = load i32, i32* %10
%63 = add nsw i32 %62, 1
store i32 %63, i32* %10
br label %55
64: ; preds = %55
%65 = load i32, i32* @stdout
%66 = load i64, i64* %4
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %74
68: ; preds = %64
%69 = load i64, i64* %3
%70 = uitofp i64 %69 to float
%71 = load i64, i64* %4
%72 = uitofp i64 %71 to float
%73 = fdiv float %70, %72
br label %75
74: ; preds = %64
br label %75
75: ; preds = %74, %68
%76 = phi float [ %73, %68 ], [ 1.000000e+00, %74 ]
%77 = fmul float 1.000000e+02, %76
%78 = fptosi float %77 to i32
%79 = call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %78)
store i32 0, i32* %10
br label %80
80: ; preds = %87, %75
%81 = load i32, i32* %10
%82 = load i32, i32* %6
%83 = add nsw i32 %82, 6
%84 = icmp slt i32 %81, %83
br i1 %84, label %85, label %90
85: ; preds = %80
%86 = call i32 @putchar(i8 signext 8)
br label %87
87: ; preds = %85
%88 = load i32, i32* %10
%89 = add nsw i32 %88, 1
store i32 %89, i32* %10
br label %80
90: ; preds = %80
br label %93
91: ; preds = %40
%92 = call i32 @putchar(i8 signext 42)
br label %93
93: ; preds = %91, %90
%94 = load i32, i32* %7
%95 = add nsw i32 %94, 1
store i32 %95, i32* %7
br label %36
96: ; preds = %36
%97 = load i32, i32* @stdout
%98 = call i32 @fflush(i32 %97)
%99 = load i32, i32* %5
store i32 %99, i32* %7
%100 = load i32, i32* %7
%101 = load i32, i32* %6
%102 = icmp eq i32 %100, %101
br i1 %102, label %103, label %138
103: ; preds = %96
%104 = load i32, i32* %8
%105 = add nsw i32 %104, 1
store i32 %105, i32* %8
%106 = load i32, i32* @STDOUT_FILENO
%107 = call i64 @isatty(i32 %106)
%108 = icmp ne i64 %107, 0
br i1 %108, label %109, label %135
109: ; preds = %103
store i32 1, i32* %11
br label %110
110: ; preds = %116, %109
%111 = load i32, i32* %11
%112 = load i32, i32* %7
%113 = icmp slt i32 %111, %112
br i1 %113, label %114, label %119
114: ; preds = %110
%115 = call i32 @putchar(i8 signext 42)
br label %116
116: ; preds = %114
%117 = load i32, i32* %11
%118 = add nsw i32 %117, 1
store i32 %118, i32* %11
br label %110
119: ; preds = %110
%120 = load i32, i32* @stdout
%121 = load i32, i32* %9
%122 = icmp ne i32 %121, 0
br i1 %122, label %123, label %129
123: ; preds = %119
%124 = load i32, i32* %8
%125 = sitofp i32 %124 to float
%126 = load i32, i32* %9
%127 = sitofp i32 %126 to float
%128 = fdiv float %125, %127
br label %130
129: ; preds = %119
br label %130
130: ; preds = %129, %123
%131 = phi float [ %128, %123 ], [ 1.000000e+00, %129 ]
%132 = fmul float 1.000000e+02, %131
%133 = fptosi float %132 to i32
%134 = call i32 (i32, i8*, ...) @fprintf(i32 %120, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %133)
br label %135
135: ; preds = %130, %103
%136 = load i32, i32* @stdout
%137 = call i32 (i32, i8*, ...) @fprintf(i32 %136, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %138
138: ; preds = %135, %96
%139 = load i32, i32* @stdout
%140 = call i32 @fflush(i32 %139)
br label %141
141: ; preds = %138, %16
ret void
}

LLVM IR (-O2):
@STDOUT_FILENO = global i32 0
@stdout = global i32 0
@.str = [8 x i8] c"(%3d%%)\00"
@.str.1 = [9 x i8] c" [%3d%%]\00"
@.str.2 = [2 x i8] c"\0A\00"
define void @print_hash(i64 %0, i64 %1) {
%3 = load i32, i32* @STDOUT_FILENO
%4 = tail call i64 @isatty(i32 %3)
%5 = icmp eq i64 %4, 0
%6 = select i1 %5, i32 50, i32 73
%7 = sitofp i32 %6 to float
%8 = icmp eq i64 %1, 0
br i1 %8, label %13, label %9
9: ; preds = %2
%10 = uitofp i64 %0 to float
%11 = uitofp i64 %1 to float
%12 = fdiv float %10, %11
br label %13
13: ; preds = %2, %9
%14 = phi float [ %12, %9 ], [ 1.000000e+00, %2 ]
%15 = fmul float %14, %7
%16 = fptosi float %15 to i32
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %60
18: ; preds = %13
%19 = uitofp i64 %0 to float
%20 = uitofp i64 %1 to float
%21 = fdiv float %19, %20
%22 = fmul float %21, 1.000000e+02
%23 = fptosi float %22 to i32
%24 = select i1 %8, i32 100, i32 %23
%25 = add nuw nsw i32 %6, 5
br label %26
26: ; preds = %18, %57
%27 = phi i32 [ 0, %18 ], [ %58, %57 ]
%28 = load i32, i32* @STDOUT_FILENO
%29 = tail call i64 @isatty(i32 %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %55, label %31
31: ; preds = %26
%32 = icmp eq i32 %27, 0
br i1 %32, label %35, label %37
33: ; preds = %37
%34 = icmp ult i32 %27, %6
br i1 %34, label %35, label %47
35: ; preds = %31, %33
%36 = phi i32 [ 0, %31 ], [ %27, %33 ]
br label %42
37: ; preds = %31, %37
%38 = phi i32 [ %40, %37 ], [ 0, %31 ]
%39 = tail call i32 @putchar(i8 signext 42)
%40 = add nuw nsw i32 %38, 1
%41 = icmp eq i32 %40, %27
br i1 %41, label %33, label %37
42: ; preds = %35, %42
%43 = phi i32 [ %45, %42 ], [ %36, %35 ]
%44 = tail call i32 @putchar(i8 signext 32)
%45 = add nuw i32 %43, 1
%46 = icmp eq i32 %45, %6
br i1 %46, label %47, label %42
47: ; preds = %42, %33
%48 = load i32, i32* @stdout
%49 = tail call i32 (i32, i8*, ...) @fprintf(i32 %48, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %24)
br label %50
50: ; preds = %47, %50
%51 = phi i32 [ 0, %47 ], [ %53, %50 ]
%52 = tail call i32 @putchar(i8 signext 8)
%53 = add nuw nsw i32 %51, 1
%54 = icmp eq i32 %51, %25
br i1 %54, label %57, label %50
55: ; preds = %26
%56 = tail call i32 @putchar(i8 signext 42)
br label %57
57: ; preds = %50, %55
%58 = add nuw nsw i32 %27, 1
%59 = icmp eq i32 %58, %16
br i1 %59, label %60, label %26
60: ; preds = %57, %13
%61 = load i32, i32* @stdout
%62 = tail call i32 @fflush(i32 %61)
%63 = icmp eq i32 %6, %16
br i1 %63, label %64, label %79
64: ; preds = %60
%65 = load i32, i32* @STDOUT_FILENO
%66 = tail call i64 @isatty(i32 %65)
%67 = icmp eq i64 %66, 0
br i1 %67, label %76, label %68
68: ; preds = %64, %68
%69 = phi i32 [ %71, %68 ], [ 1, %64 ]
%70 = tail call i32 @putchar(i8 signext 42)
%71 = add nuw nsw i32 %69, 1
%72 = icmp eq i32 %71, %6
br i1 %72, label %73, label %68
73: ; preds = %68
%74 = load i32, i32* @stdout
%75 = tail call i32 (i32, i8*, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 100)
br label %76
76: ; preds = %73, %64
%77 = load i32, i32* @stdout
%78 = tail call i32 (i32, i8*, ...) @fprintf(i32 %77, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %79
79: ; preds = %76, %60
%80 = load i32, i32* @stdout
%81 = tail call i32 @fflush(i32 %80)
ret void
}