#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*/ myputc(char);
void print_double(double x) {
  unsigned int xi;
  char buf[16];
  int i;
  if (x < 0) {
    myputc('-');
    x = -x;
  }
  xi = (unsigned int)x;
  x -= (double)xi;
  for (i = 0; i < 12; i++) {
    buf[i] = xi % 10;
    xi /= 10;
  }
  for (i--; i >= 0; i--)
    if (buf[i] != 0)
      break;
  if (i < 0)
    i = 0;
  for (; i >= 0; i--)
    myputc('0' + buf[i]);
  myputc('.');
  for (i = 0; i < 14; i++) {
    x *= 10.0;
    xi = (unsigned int)x;
    myputc('0' + xi);
    x -= (double)xi;
  }
  myputc('\n');
}


x86 assembly (clang, -O0):
<print_double>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movsd  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x8(%rbp),%xmm0
jbe    1156 <print_double+0x46>
mov    $0x2d,%edi
call   1030 <myputc@plt>
movsd  -0x8(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x8(%rbp)
cvttsd2si -0x8(%rbp),%rax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cvtsi2sd %rax,%xmm1
movsd  -0x8(%rbp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0xc,-0x24(%rbp)
jge    11b9 <print_double+0xa9>
mov    -0xc(%rbp),%eax
mov    $0xa,%ecx
xor    %edx,%edx
div    %ecx
mov    %dl,%cl
movslq -0x24(%rbp),%rax
mov    %cl,-0x20(%rbp,%rax,1)
mov    -0xc(%rbp),%eax
mov    $0xa,%ecx
xor    %edx,%edx
div    %ecx
mov    %eax,-0xc(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    117c <print_double+0x6c>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     11f6 <print_double+0xe6>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
cmp    $0x0,%eax
je     11e3 <print_double+0xd3>
jmp    11f6 <print_double+0xe6>
jmp    11e8 <print_double+0xd8>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    11c2 <print_double+0xb2>
cmpl   $0x0,-0x24(%rbp)
jge    1207 <print_double+0xf7>
movl   $0x0,-0x24(%rbp)
jmp    120c <print_double+0xfc>
cmpl   $0x0,-0x24(%rbp)
jl     1238 <print_double+0x128>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
add    $0x30,%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    120c <print_double+0xfc>
mov    $0x2e,%edi
call   1030 <myputc@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0xe,-0x24(%rbp)
jge    12a4 <print_double+0x194>
movsd  -0x8(%rbp),%xmm0
movsd  0xda0(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
cvttsd2si -0x8(%rbp),%rax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0x30,%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    -0xc(%rbp),%eax
cvtsi2sd %rax,%xmm1
movsd  -0x8(%rbp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1249 <print_double+0x139>
mov    $0xa,%edi
call   1030 <myputc@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_double>:
push   %r14
push   %rbx
sub    $0x28,%rsp
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
jbe    113d <print_double+0x2d>
mov    $0x2d,%edi
movapd %xmm0,(%rsp)
call   1030 <myputc@plt>
movapd (%rsp),%xmm0
xorpd  0xec3(%rip),%xmm0
cvttsd2si %xmm0,%r11
mov    %r11d,%r14d
mov    $0xcccccccd,%ecx
mov    %r14,%r10
imul   %rcx,%r10
shr    $0x23,%r10
lea    (%r10,%r10,1),%eax
lea    (%rax,%rax,4),%eax
mov    %r11d,%edx
sub    %eax,%edx
mov    %dl,0x10(%rsp)
mov    %r10,%rax
imul   %rcx,%rax
shr    $0x23,%rax
add    %eax,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%r10d
mov    %r10b,0x11(%rsp)
imul   $0x51eb851f,%r14,%r8
shr    $0x25,%r8
mov    %r8,%rax
imul   %rcx,%rax
shr    $0x23,%rax
add    %eax,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%r8d
mov    %r8b,0x12(%rsp)
imul   $0x10624dd3,%r14,%r9
shr    $0x26,%r9
mov    %r9,%rax
imul   %rcx,%rax
shr    $0x23,%rax
add    %eax,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%r9d
mov    %r9b,0x13(%rsp)
mov    $0xd1b71759,%edi
imul   %r14,%rdi
shr    $0x2d,%rdi
mov    %rdi,%rax
imul   %rcx,%rax
shr    $0x23,%rax
add    %eax,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%edi
mov    %dil,0x14(%rsp)
mov    %r11d,%eax
shr    $0x5,%eax
imul   $0xa7c5ac5,%rax,%rdx
shr    $0x27,%rdx
imul   $0xcccd,%edx,%eax
shr    $0x12,%eax
and    $0xfffffffe,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%edx
mov    %dl,0x15(%rsp)
imul   $0x431bde83,%r14,%rcx
shr    $0x32,%rcx
imul   $0xcccd,%ecx,%eax
shr    $0x12,%eax
and    $0xfffffffe,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%ecx
mov    %cl,0x16(%rsp)
imul   $0x6b5fca6b,%r14,%rsi
shr    $0x36,%rsi
imul   $0xcccd,%esi,%eax
shr    $0x12,%eax
and    $0xfffffffe,%eax
lea    (%rax,%rax,4),%eax
sub    %eax,%esi
mov    %sil,0x17(%rsp)
imul   $0x55e63b89,%r14,%rax
shr    $0x39,%rax
imul   $0xcd,%eax,%ebx
shr    $0xa,%ebx
and    $0xfffffffe,%ebx
lea    (%rbx,%rbx,4),%ebx
sub    %bl,%al
mov    %al,0x18(%rsp)
shr    $0x9,%r11d
imul   $0x44b83,%r11,%rbx
shr    $0x27,%rbx
mov    %bl,0x19(%rsp)
movw   $0x0,0x1a(%rsp)
mov    $0x9,%ebx
jne    12da <print_double+0x1ca>
mov    $0x8,%ebx
test   %al,%al
jne    12da <print_double+0x1ca>
mov    $0x7,%ebx
test   %sil,%sil
jne    12da <print_double+0x1ca>
mov    $0x6,%ebx
test   %cl,%cl
jne    12da <print_double+0x1ca>
mov    $0x5,%ebx
test   %dl,%dl
jne    12da <print_double+0x1ca>
mov    $0x4,%ebx
test   %dil,%dil
jne    12da <print_double+0x1ca>
mov    $0x3,%ebx
test   %r9b,%r9b
jne    12da <print_double+0x1ca>
mov    $0x2,%ebx
test   %r8b,%r8b
jne    12da <print_double+0x1ca>
xor    %ebx,%ebx
test   %r10b,%r10b
setne  %bl
movapd %xmm0,(%rsp)
nop
movzbl 0x10(%rsp,%rbx,1),%eax
add    $0x30,%al
movsbl %al,%edi
call   1030 <myputc@plt>
add    $0xffffffffffffffff,%rbx
jb     12e0 <print_double+0x1d0>
cvtsi2sd %r14,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,(%rsp)
mov    $0x2e,%edi
call   1030 <myputc@plt>
movapd (%rsp),%xmm0
mulsd  0xcf1(%rip),%xmm0
movapd %xmm0,(%rsp)
cvttsd2si %xmm0,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xcc1(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xc91(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xc61(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xc31(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xc01(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xbd1(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xba1(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xb71(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xb41(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xb11(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xae1(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xab1(%rip),%xmm1
movapd %xmm1,(%rsp)
cvttsd2si %xmm1,%rbx
lea    0x30(%rbx),%eax
movsbl %al,%edi
call   1030 <myputc@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xa81(%rip),%xmm1
cvttsd2si %xmm1,%rax
add    $0x30,%al
movsbl %al,%edi
call   1030 <myputc@plt>
mov    $0xa,%edi
add    $0x28,%rsp
pop    %rbx
pop    %r14
jmp    1030 <myputc@plt>

LLVM IR (-O0):
define void @print_double(double %0) {
%2 = alloca double
%3 = alloca i32
%4 = alloca [16 x i8]
%5 = alloca i32
store double %0, double* %2
%6 = load double, double* %2
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = call i32 @myputc(i8 signext 45)
%10 = load double, double* %2
%11 = fneg double %10
store double %11, double* %2
br label %12
12: ; preds = %8, %1
%13 = load double, double* %2
%14 = fptoui double %13 to i32
store i32 %14, i32* %3
%15 = load i32, i32* %3
%16 = uitofp i32 %15 to double
%17 = load double, double* %2
%18 = fsub double %17, %16
store double %18, double* %2
store i32 0, i32* %5
br label %19
19: ; preds = %31, %12
%20 = load i32, i32* %5
%21 = icmp slt i32 %20, 12
br i1 %21, label %22, label %34
22: ; preds = %19
%23 = load i32, i32* %3
%24 = urem i32 %23, 10
%25 = trunc i32 %24 to i8
%26 = load i32, i32* %5
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 %27
store i8 %25, i8* %28
%29 = load i32, i32* %3
%30 = udiv i32 %29, 10
store i32 %30, i32* %3
br label %31
31: ; preds = %22
%32 = load i32, i32* %5
%33 = add nsw i32 %32, 1
store i32 %33, i32* %5
br label %19
34: ; preds = %19
%35 = load i32, i32* %5
%36 = add nsw i32 %35, -1
store i32 %36, i32* %5
br label %37
37: ; preds = %49, %34
%38 = load i32, i32* %5
%39 = icmp sge i32 %38, 0
br i1 %39, label %40, label %52
40: ; preds = %37
%41 = load i32, i32* %5
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 %42
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %40
br label %52
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = load i32, i32* %5
%51 = add nsw i32 %50, -1
store i32 %51, i32* %5
br label %37
52: ; preds = %47, %37
%53 = load i32, i32* %5
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
store i32 0, i32* %5
br label %56
56: ; preds = %55, %52
br label %57
57: ; preds = %69, %56
%58 = load i32, i32* %5
%59 = icmp sge i32 %58, 0
br i1 %59, label %60, label %72
60: ; preds = %57
%61 = load i32, i32* %5
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 %62
%64 = load i8, i8* %63
%65 = sext i8 %64 to i32
%66 = add nsw i32 48, %65
%67 = trunc i32 %66 to i8
%68 = call i32 @myputc(i8 signext %67)
br label %69
69: ; preds = %60
%70 = load i32, i32* %5
%71 = add nsw i32 %70, -1
store i32 %71, i32* %5
br label %57
72: ; preds = %57
%73 = call i32 @myputc(i8 signext 46)
store i32 0, i32* %5
br label %74
74: ; preds = %90, %72
%75 = load i32, i32* %5
%76 = icmp slt i32 %75, 14
br i1 %76, label %77, label %93
77: ; preds = %74
%78 = load double, double* %2
%79 = fmul double %78, 1.000000e+01
store double %79, double* %2
%80 = load double, double* %2
%81 = fptoui double %80 to i32
store i32 %81, i32* %3
%82 = load i32, i32* %3
%83 = add i32 48, %82
%84 = trunc i32 %83 to i8
%85 = call i32 @myputc(i8 signext %84)
%86 = load i32, i32* %3
%87 = uitofp i32 %86 to double
%88 = load double, double* %2
%89 = fsub double %88, %87
store double %89, double* %2
br label %90
90: ; preds = %77
%91 = load i32, i32* %5
%92 = add nsw i32 %91, 1
store i32 %92, i32* %5
br label %74
93: ; preds = %74
%94 = call i32 @myputc(i8 signext 10)
ret void
}

LLVM IR (-O2):
define void @print_double(double %0) {
%2 = alloca [16 x i8]
%3 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 0
%4 = fcmp olt double %0, 0.000000e+00
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 @myputc(i8 signext 45)
%7 = fneg double %0
br label %8
8: ; preds = %5, %1
%9 = phi double [ %7, %5 ], [ %0, %1 ]
%10 = fptoui double %9 to i32
%11 = urem i32 %10, 10
%12 = trunc i32 %11 to i8
store i8 %12, i8* %3
%13 = udiv i32 %10, 10
%14 = urem i32 %13, 10
%15 = trunc i32 %14 to i8
%16 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 1
store i8 %15, i8* %16
%17 = udiv i32 %10, 100
%18 = urem i32 %17, 10
%19 = trunc i32 %18 to i8
%20 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 2
store i8 %19, i8* %20
%21 = udiv i32 %10, 1000
%22 = urem i32 %21, 10
%23 = trunc i32 %22 to i8
%24 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 3
store i8 %23, i8* %24
%25 = udiv i32 %10, 10000
%26 = urem i32 %25, 10
%27 = trunc i32 %26 to i8
%28 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 4
store i8 %27, i8* %28
%29 = udiv i32 %10, 100000
%30 = trunc i32 %29 to i16
%31 = urem i16 %30, 10
%32 = trunc i16 %31 to i8
%33 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 5
store i8 %32, i8* %33
%34 = udiv i32 %10, 1000000
%35 = trunc i32 %34 to i16
%36 = urem i16 %35, 10
%37 = trunc i16 %36 to i8
%38 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 6
store i8 %37, i8* %38
%39 = udiv i32 %10, 10000000
%40 = trunc i32 %39 to i16
%41 = urem i16 %40, 10
%42 = trunc i16 %41 to i8
%43 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 7
store i8 %42, i8* %43
%44 = udiv i32 %10, 100000000
%45 = trunc i32 %44 to i8
%46 = urem i8 %45, 10
%47 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 8
store i8 %46, i8* %47
%48 = udiv i32 %10, 1000000000
%49 = trunc i32 %48 to i8
%50 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 9
store i8 %49, i8* %50
%51 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 10
store i8 0, i8* %51
%52 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 11
store i8 0, i8* %52
%53 = icmp eq i8 %49, 0
br i1 %53, label %54, label %71
54: ; preds = %8
%55 = icmp eq i8 %46, 0
br i1 %55, label %56, label %71
56: ; preds = %54
%57 = icmp eq i8 %42, 0
br i1 %57, label %58, label %71
58: ; preds = %56
%59 = icmp eq i8 %37, 0
br i1 %59, label %60, label %71
60: ; preds = %58
%61 = icmp eq i8 %32, 0
br i1 %61, label %62, label %71
62: ; preds = %60
%63 = icmp eq i8 %27, 0
br i1 %63, label %64, label %71
64: ; preds = %62
%65 = icmp eq i8 %23, 0
br i1 %65, label %66, label %71
66: ; preds = %64
%67 = icmp eq i8 %19, 0
br i1 %67, label %68, label %71
68: ; preds = %66
%69 = icmp ne i8 %15, 0
%70 = zext i1 %69 to i64
br label %71
71: ; preds = %68, %8, %54, %56, %58, %60, %62, %64, %66
%72 = phi i64 [ %70, %68 ], [ 2, %66 ], [ 3, %64 ], [ 4, %62 ], [ 5, %60 ], [ 6, %58 ], [ 7, %56 ], [ 8, %54 ], [ 9, %8 ]
br label %73
73: ; preds = %71, %73
%74 = phi i64 [ %79, %73 ], [ %72, %71 ]
%75 = getelementptr inbounds [16 x i8], [16 x i8]* %2, i64 0, i64 %74
%76 = load i8, i8* %75
%77 = add i8 %76, 48
%78 = tail call i32 @myputc(i8 signext %77)
%79 = add nsw i64 %74, -1
%80 = icmp eq i64 %74, 0
br i1 %80, label %81, label %73
81: ; preds = %73
%82 = uitofp i32 %10 to double
%83 = fsub double %9, %82
%84 = tail call i32 @myputc(i8 signext 46)
%85 = fmul double %83, 1.000000e+01
%86 = fptoui double %85 to i32
%87 = trunc i32 %86 to i8
%88 = add i8 %87, 48
%89 = tail call i32 @myputc(i8 signext %88)
%90 = uitofp i32 %86 to double
%91 = fsub double %85, %90
%92 = fmul double %91, 1.000000e+01
%93 = fptoui double %92 to i32
%94 = trunc i32 %93 to i8
%95 = add i8 %94, 48
%96 = tail call i32 @myputc(i8 signext %95)
%97 = uitofp i32 %93 to double
%98 = fsub double %92, %97
%99 = fmul double %98, 1.000000e+01
%100 = fptoui double %99 to i32
%101 = trunc i32 %100 to i8
%102 = add i8 %101, 48
%103 = tail call i32 @myputc(i8 signext %102)
%104 = uitofp i32 %100 to double
%105 = fsub double %99, %104
%106 = fmul double %105, 1.000000e+01
%107 = fptoui double %106 to i32
%108 = trunc i32 %107 to i8
%109 = add i8 %108, 48
%110 = tail call i32 @myputc(i8 signext %109)
%111 = uitofp i32 %107 to double
%112 = fsub double %106, %111
%113 = fmul double %112, 1.000000e+01
%114 = fptoui double %113 to i32
%115 = trunc i32 %114 to i8
%116 = add i8 %115, 48
%117 = tail call i32 @myputc(i8 signext %116)
%118 = uitofp i32 %114 to double
%119 = fsub double %113, %118
%120 = fmul double %119, 1.000000e+01
%121 = fptoui double %120 to i32
%122 = trunc i32 %121 to i8
%123 = add i8 %122, 48
%124 = tail call i32 @myputc(i8 signext %123)
%125 = uitofp i32 %121 to double
%126 = fsub double %120, %125
%127 = fmul double %126, 1.000000e+01
%128 = fptoui double %127 to i32
%129 = trunc i32 %128 to i8
%130 = add i8 %129, 48
%131 = tail call i32 @myputc(i8 signext %130)
%132 = uitofp i32 %128 to double
%133 = fsub double %127, %132
%134 = fmul double %133, 1.000000e+01
%135 = fptoui double %134 to i32
%136 = trunc i32 %135 to i8
%137 = add i8 %136, 48
%138 = tail call i32 @myputc(i8 signext %137)
%139 = uitofp i32 %135 to double
%140 = fsub double %134, %139
%141 = fmul double %140, 1.000000e+01
%142 = fptoui double %141 to i32
%143 = trunc i32 %142 to i8
%144 = add i8 %143, 48
%145 = tail call i32 @myputc(i8 signext %144)
%146 = uitofp i32 %142 to double
%147 = fsub double %141, %146
%148 = fmul double %147, 1.000000e+01
%149 = fptoui double %148 to i32
%150 = trunc i32 %149 to i8
%151 = add i8 %150, 48
%152 = tail call i32 @myputc(i8 signext %151)
%153 = uitofp i32 %149 to double
%154 = fsub double %148, %153
%155 = fmul double %154, 1.000000e+01
%156 = fptoui double %155 to i32
%157 = trunc i32 %156 to i8
%158 = add i8 %157, 48
%159 = tail call i32 @myputc(i8 signext %158)
%160 = uitofp i32 %156 to double
%161 = fsub double %155, %160
%162 = fmul double %161, 1.000000e+01
%163 = fptoui double %162 to i32
%164 = trunc i32 %163 to i8
%165 = add i8 %164, 48
%166 = tail call i32 @myputc(i8 signext %165)
%167 = uitofp i32 %163 to double
%168 = fsub double %162, %167
%169 = fmul double %168, 1.000000e+01
%170 = fptoui double %169 to i32
%171 = trunc i32 %170 to i8
%172 = add i8 %171, 48
%173 = tail call i32 @myputc(i8 signext %172)
%174 = uitofp i32 %170 to double
%175 = fsub double %169, %174
%176 = fmul double %175, 1.000000e+01
%177 = fptoui double %176 to i32
%178 = trunc i32 %177 to i8
%179 = add i8 %178, 48
%180 = tail call i32 @myputc(i8 signext %179)
%181 = tail call i32 @myputc(i8 signext 10)
ret void
}