#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 */
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
int /*<<< orphan*/ snprintf(char *, int, char *, unsigned long, ...);
const char *dsize(double b) {
  static char buf[sizeof("9.99 &nbsp;B")];
  const char *suf;
  int dig;
  unsigned long bint;
  if (b >= 1000. * 1024. * 1024. * 1024.) {
    suf = "TB";
    dig = 100;
    b /= (1024. * 1024. * 1024. * 1024.);
  } else if (b >= 100. * 1024. * 1024. * 1024.) {
    suf = "GB";
    dig = 0;
    b /= (1024. * 1024. * 1024.);
  } else if (b >= 10. * 1024. * 1024. * 1024.) {
    suf = "GB";
    dig = 10;
    b /= (1024. * 1024. * 1024.);
  } else if (b >= 1000. * 1024. * 1024.) {
    suf = "GB";
    dig = 100;
    b /= (1024. * 1024. * 1024.);
  } else if (b >= 100. * 1024. * 1024.) {
    suf = "MB";
    dig = 0;
    b /= (1024. * 1024.);
  } else if (b >= 10. * 1024. * 1024.) {
    suf = "MB";
    dig = 10;
    b /= (1024. * 1024.);
  } else if (b >= 1000. * 1024.) {
    suf = "MB";
    dig = 100;
    b /= (1024. * 1024.);
  } else if (b >= 100. * 1024.) {
    suf = "kB";
    dig = 0;
    b /= 1024.;
  } else if (b >= 10. * 1024.) {
    suf = "kB";
    dig = 10;
    b /= 1024.;
  } else if (b >= 1000.) {
    suf = "kB";
    dig = 100;
    b /= 1024.;
  } else {
    suf = "&nbsp;B";
    dig = 0;
  }
  bint = (unsigned long)b;
  if (dig == 0)
    snprintf(buf, sizeof(buf), "%lu %s", bint, suf);
  else
    snprintf(buf, sizeof(buf), "%lu.%lu %s", bint,
             (unsigned long)(dig * (b - bint)), suf);
  return (buf);
}


x86 assembly (clang, -O0):
<dsize>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xed6(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     1161 <dsize+0x51>
lea    0xf65(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x64,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf15(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1404 <dsize+0x2f4>
movsd  -0x8(%rbp),%xmm0
movsd  0xe9a(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     11a5 <dsize+0x95>
lea    0xf24(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec9(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13ff <dsize+0x2ef>
movsd  -0x8(%rbp),%xmm0
movsd  0xe5e(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     11e9 <dsize+0xd9>
lea    0xee0(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0xa,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe85(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13fa <dsize+0x2ea>
movsd  -0x8(%rbp),%xmm0
movsd  0xe22(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     122d <dsize+0x11d>
lea    0xe9c(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x64,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe41(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13f5 <dsize+0x2e5>
movsd  -0x8(%rbp),%xmm0
movsd  0xde6(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     1271 <dsize+0x161>
lea    0xe5b(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdf5(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13f0 <dsize+0x2e0>
movsd  -0x8(%rbp),%xmm0
movsd  0xdaa(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     12b5 <dsize+0x1a5>
lea    0xe17(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0xa,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdb1(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13eb <dsize+0x2db>
movsd  -0x8(%rbp),%xmm0
movsd  0xd6e(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     12f9 <dsize+0x1e9>
lea    0xdd3(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x64,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd6d(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13e6 <dsize+0x2d6>
movsd  -0x8(%rbp),%xmm0
movsd  0xd32(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     133d <dsize+0x22d>
lea    0xd92(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd21(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13e1 <dsize+0x2d1>
movsd  -0x8(%rbp),%xmm0
movsd  0xcf6(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     1381 <dsize+0x271>
lea    0xd4e(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0xa,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcdd(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13dc <dsize+0x2cc>
movsd  -0x8(%rbp),%xmm0
movsd  0xcba(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     13c5 <dsize+0x2b5>
lea    0xd0a(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x64,-0x14(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc99(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    13d7 <dsize+0x2c7>
lea    0xce0(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
jmp    13dc <dsize+0x2cc>
jmp    13e1 <dsize+0x2d1>
jmp    13e6 <dsize+0x2d6>
jmp    13eb <dsize+0x2db>
jmp    13f0 <dsize+0x2e0>
jmp    13f5 <dsize+0x2e5>
jmp    13fa <dsize+0x2ea>
jmp    13ff <dsize+0x2ef>
jmp    1404 <dsize+0x2f4>
movsd  -0x8(%rbp),%xmm0
movsd  0xc5f(%rip),%xmm2
movaps %xmm0,%xmm1
subsd  %xmm2,%xmm1
cvttsd2si %xmm1,%rcx
cvttsd2si %xmm0,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
and    %rdx,%rcx
or     %rcx,%rax
mov    %rax,-0x20(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    1464 <dsize+0x354>
mov    -0x20(%rbp),%rcx
mov    -0x10(%rbp),%r8
lea    0x2bdd(%rip),%rdi
mov    $0xd,%esi
lea    0xc60(%rip),%rdx
mov    $0x0,%al
call   1030 <snprintf@plt>
jmp    14e5 <dsize+0x3d5>
mov    -0x20(%rbp),%rcx
cvtsi2sdl -0x14(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm1
movq   %rcx,%xmm2
movaps 0xc02(%rip),%xmm3
punpckldq %xmm3,%xmm2
movapd 0xc06(%rip),%xmm3
subpd  %xmm3,%xmm2
movaps %xmm2,%xmm3
unpckhpd %xmm2,%xmm2
addsd  %xmm3,%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movaps %xmm0,%xmm1
cvttsd2si %xmm1,%r8
mov    %r8,%rdx
sar    $0x3f,%rdx
movsd  0xbb8(%rip),%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rax
and    %rdx,%rax
or     %rax,%r8
mov    -0x10(%rbp),%r9
lea    0x2b57(%rip),%rdi
mov    $0xd,%esi
lea    0xbd6(%rip),%rdx
mov    $0x0,%al
call   1030 <snprintf@plt>
lea    0x2b3d(%rip),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dsize>:
push   %rax
movsd  0xee7(%rip),%xmm1
ucomisd 0xeef(%rip),%xmm0
jae    11db <dsize+0xcb>
ucomisd 0xee9(%rip),%xmm0
jae    11ec <dsize+0xdc>
movsd  0xeeb(%rip),%xmm3
lea    0xf6f(%rip),%r9
movsd  0xed4(%rip),%xmm2
ucomisd 0xedc(%rip),%xmm0
jae    1239 <dsize+0x129>
ucomisd 0xed6(%rip),%xmm0
jae    123d <dsize+0x12d>
ucomisd 0xed0(%rip),%xmm0
jae    12cf <dsize+0x1bf>
lea    0xf39(%rip),%r9
movsd  0xec3(%rip),%xmm2
ucomisd 0xec3(%rip),%xmm0
jae    1239 <dsize+0x129>
ucomisd 0xebd(%rip),%xmm0
jae    123d <dsize+0x12d>
ucomisd 0xeb7(%rip),%xmm0
jae    12e3 <dsize+0x1d3>
lea    0xf03(%rip),%r9
movsd  0xeaa(%rip),%xmm2
ucomisd 0xeaa(%rip),%xmm0
jae    1239 <dsize+0x129>
ucomisd 0xea8(%rip),%xmm0
jae    123d <dsize+0x12d>
lea    0xee3(%rip),%r8
jmp    11fb <dsize+0xeb>
lea    0xece(%rip),%r9
movsd  0xe1e(%rip),%xmm2
jmp    123d <dsize+0x12d>
mulsd  0xe2c(%rip),%xmm0
lea    0xeb8(%rip),%r8
cvttsd2si %xmm0,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
subsd  0xe71(%rip),%xmm0
cvttsd2si %xmm0,%rcx
and    %rdx,%rcx
or     %rax,%rcx
lea    0x2e08(%rip),%rdi
lea    0xea0(%rip),%rdx
mov    $0xd,%esi
xor    %eax,%eax
call   1030 <snprintf@plt>
jmp    12c6 <dsize+0x1b6>
movapd %xmm3,%xmm1
mulsd  %xmm0,%xmm2
cvttsd2si %xmm2,%rax
mov    %rax,%rdx
movsd  0xe2f(%rip),%xmm0
movapd %xmm2,%xmm3
subsd  %xmm0,%xmm3
cvttsd2si %xmm3,%rcx
sar    $0x3f,%rdx
and    %rdx,%rcx
or     %rax,%rcx
movq   %rcx,%xmm3
punpckldq 0xe1b(%rip),%xmm3
subpd  0xe23(%rip),%xmm3
movapd %xmm3,%xmm4
unpckhpd %xmm3,%xmm4
addsd  %xmm3,%xmm4
subsd  %xmm4,%xmm2
mulsd  %xmm1,%xmm2
cvttsd2si %xmm2,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
subsd  %xmm0,%xmm2
cvttsd2si %xmm2,%r8
and    %rdx,%r8
or     %rax,%r8
lea    0x2d76(%rip),%rdi
lea    0xe0a(%rip),%rdx
mov    $0xd,%esi
xor    %eax,%eax
call   1030 <snprintf@plt>
lea    0x2d5c(%rip),%rax
pop    %rcx
ret
mulsd  0xd71(%rip),%xmm0
lea    0xdd8(%rip),%r8
jmp    11fb <dsize+0xeb>
mulsd  0xd7d(%rip),%xmm0
lea    0xdc7(%rip),%r8
jmp    11fb <dsize+0xeb>

LLVM IR (-O0):
@dsize.buf = internal global [13 x i8] zeroinitializer
@.str = [3 x i8] c"TB\00"
@.str.1 = [3 x i8] c"GB\00"
@.str.2 = [3 x i8] c"MB\00"
@.str.3 = [3 x i8] c"kB\00"
@.str.4 = [8 x i8] c"&nbsp;B\00"
@.str.5 = [7 x i8] c"%lu %s\00"
@.str.6 = [11 x i8] c"%lu.%lu %s\00"
define i8* @dsize(double %0) {
%2 = alloca double
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i64
store double %0, double* %2
%6 = load double, double* %2
%7 = fcmp oge double %6, 0x426F400000000000
br i1 %7, label %8, label %11
8: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8** %3
store i32 100, i32* %4
%9 = load double, double* %2
%10 = fdiv double %9, 0x4270000000000000
store double %10, double* %2
br label %75
11: ; preds = %1
%12 = load double, double* %2
%13 = fcmp oge double %12, 0x4239000000000000
br i1 %13, label %14, label %17
14: ; preds = %11
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i32 0, i32* %4
%15 = load double, double* %2
%16 = fdiv double %15, 0x41D0000000000000
store double %16, double* %2
br label %74
17: ; preds = %11
%18 = load double, double* %2
%19 = fcmp oge double %18, 0x4204000000000000
br i1 %19, label %20, label %23
20: ; preds = %17
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i32 10, i32* %4
%21 = load double, double* %2
%22 = fdiv double %21, 0x41D0000000000000
store double %22, double* %2
br label %73
23: ; preds = %17
%24 = load double, double* %2
%25 = fcmp oge double %24, 0x41CF400000000000
br i1 %25, label %26, label %29
26: ; preds = %23
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i32 100, i32* %4
%27 = load double, double* %2
%28 = fdiv double %27, 0x41D0000000000000
store double %28, double* %2
br label %72
29: ; preds = %23
%30 = load double, double* %2
%31 = fcmp oge double %30, 0x4199000000000000
br i1 %31, label %32, label %35
32: ; preds = %29
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8** %3
store i32 0, i32* %4
%33 = load double, double* %2
%34 = fdiv double %33, 0x4130000000000000
store double %34, double* %2
br label %71
35: ; preds = %29
%36 = load double, double* %2
%37 = fcmp oge double %36, 0x4164000000000000
br i1 %37, label %38, label %41
38: ; preds = %35
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8** %3
store i32 10, i32* %4
%39 = load double, double* %2
%40 = fdiv double %39, 0x4130000000000000
store double %40, double* %2
br label %70
41: ; preds = %35
%42 = load double, double* %2
%43 = fcmp oge double %42, 1.024000e+06
br i1 %43, label %44, label %47
44: ; preds = %41
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8** %3
store i32 100, i32* %4
%45 = load double, double* %2
%46 = fdiv double %45, 0x4130000000000000
store double %46, double* %2
br label %69
47: ; preds = %41
%48 = load double, double* %2
%49 = fcmp oge double %48, 1.024000e+05
br i1 %49, label %50, label %53
50: ; preds = %47
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8** %3
store i32 0, i32* %4
%51 = load double, double* %2
%52 = fdiv double %51, 1.024000e+03
store double %52, double* %2
br label %68
53: ; preds = %47
%54 = load double, double* %2
%55 = fcmp oge double %54, 1.024000e+04
br i1 %55, label %56, label %59
56: ; preds = %53
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8** %3
store i32 10, i32* %4
%57 = load double, double* %2
%58 = fdiv double %57, 1.024000e+03
store double %58, double* %2
br label %67
59: ; preds = %53
%60 = load double, double* %2
%61 = fcmp oge double %60, 1.000000e+03
br i1 %61, label %62, label %65
62: ; preds = %59
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8** %3
store i32 100, i32* %4
%63 = load double, double* %2
%64 = fdiv double %63, 1.024000e+03
store double %64, double* %2
br label %66
65: ; preds = %59
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8** %3
store i32 0, i32* %4
br label %66
66: ; preds = %65, %62
br label %67
67: ; preds = %66, %56
br label %68
68: ; preds = %67, %50
br label %69
69: ; preds = %68, %44
br label %70
70: ; preds = %69, %38
br label %71
71: ; preds = %70, %32
br label %72
72: ; preds = %71, %26
br label %73
73: ; preds = %72, %20
br label %74
74: ; preds = %73, %14
br label %75
75: ; preds = %74, %8
%76 = load double, double* %2
%77 = fptoui double %76 to i64
store i64 %77, i64* %5
%78 = load i32, i32* %4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %84
80: ; preds = %75
%81 = load i64, i64* %5
%82 = load i8*, i8** %3
%83 = call i32 (i8*, i32, i8*, i64, ...) @snprintf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i64 %81, i8* %82)
br label %96
84: ; preds = %75
%85 = load i64, i64* %5
%86 = load i32, i32* %4
%87 = sitofp i32 %86 to double
%88 = load double, double* %2
%89 = load i64, i64* %5
%90 = uitofp i64 %89 to double
%91 = fsub double %88, %90
%92 = fmul double %87, %91
%93 = fptoui double %92 to i64
%94 = load i8*, i8** %3
%95 = call i32 (i8*, i32, i8*, i64, ...) @snprintf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i64 %85, i64 %93, i8* %94)
br label %96
96: ; preds = %84, %80
ret i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0)
}

LLVM IR (-O2):
@dsize.buf = internal global [13 x i8] zeroinitializer
@.str = [3 x i8] c"TB\00"
@.str.1 = [3 x i8] c"GB\00"
@.str.2 = [3 x i8] c"MB\00"
@.str.3 = [3 x i8] c"kB\00"
@.str.4 = [8 x i8] c"&nbsp;B\00"
@.str.5 = [7 x i8] c"%lu %s\00"
@.str.6 = [11 x i8] c"%lu.%lu %s\00"
define i8* @dsize(double %0) {
%2 = fcmp ult double %0, 0x426F400000000000
br i1 %2, label %3, label %32
3: ; preds = %1
%4 = fcmp ult double %0, 0x4239000000000000
br i1 %4, label %7, label %5
5: ; preds = %3
%6 = fmul double %0, 0x3E10000000000000
br label %27
7: ; preds = %3
%8 = fcmp ult double %0, 0x4204000000000000
br i1 %8, label %9, label %32
9: ; preds = %7
%10 = fcmp ult double %0, 0x41CF400000000000
br i1 %10, label %11, label %32
11: ; preds = %9
%12 = fcmp ult double %0, 0x4199000000000000
br i1 %12, label %15, label %13
13: ; preds = %11
%14 = fmul double %0, 0x3EB0000000000000
br label %27
15: ; preds = %11
%16 = fcmp ult double %0, 0x4164000000000000
br i1 %16, label %17, label %32
17: ; preds = %15
%18 = fcmp ult double %0, 1.024000e+06
br i1 %18, label %19, label %32
19: ; preds = %17
%20 = fcmp ult double %0, 1.024000e+05
br i1 %20, label %23, label %21
21: ; preds = %19
%22 = fmul double %0, 0x3F50000000000000
br label %27
23: ; preds = %19
%24 = fcmp ult double %0, 1.024000e+04
br i1 %24, label %25, label %32
25: ; preds = %23
%26 = fcmp ult double %0, 1.000000e+03
br i1 %26, label %27, label %32
27: ; preds = %13, %21, %5, %25
%28 = phi i8* [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), %5 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), %13 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %21 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), %25 ]
%29 = phi double [ %6, %5 ], [ %14, %13 ], [ %22, %21 ], [ %0, %25 ]
%30 = fptoui double %29 to i64
%31 = tail call i32 (i8*, i32, i8*, i64, ...) @snprintf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i64 %30, i8* %28)
br label %43
32: ; preds = %25, %23, %17, %15, %9, %7, %1
%33 = phi double [ 0x3D70000000000000, %1 ], [ 0x3E10000000000000, %7 ], [ 0x3E10000000000000, %9 ], [ 0x3EB0000000000000, %15 ], [ 0x3EB0000000000000, %17 ], [ 0x3F50000000000000, %23 ], [ 0x3F50000000000000, %25 ]
%34 = phi i8* [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), %1 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), %7 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), %9 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), %15 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), %17 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %23 ], [ getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), %25 ]
%35 = phi double [ 1.000000e+02, %1 ], [ 1.000000e+01, %7 ], [ 1.000000e+02, %9 ], [ 1.000000e+01, %15 ], [ 1.000000e+02, %17 ], [ 1.000000e+01, %23 ], [ 1.000000e+02, %25 ]
%36 = fmul double %33, %0
%37 = fptoui double %36 to i64
%38 = uitofp i64 %37 to double
%39 = fsub double %36, %38
%40 = fmul double %35, %39
%41 = fptoui double %40 to i64
%42 = tail call i32 (i8*, i32, i8*, i64, ...) @snprintf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i64 %37, i64 %41, i8* %34)
br label %43
43: ; preds = %32, %27
ret i8* getelementptr inbounds ([13 x i8], [13 x i8]* @dsize.buf, i64 0, i64 0)
}