#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 */
double atanh(double);
double cosh(double);
int /*<<< orphan*/ printf(char *, ...);
double sinh(double);
int main() {
  unsigned int n = 16;
  double theta = 1.0f;
  double sinhtab[n];
  double inv_2_n = 1.0;
  unsigned int k;
  for (k = 0; k < n; k++) {
    sinhtab[k] = atanh(inv_2_n);
    inv_2_n *= 0.5;
  }
  double kp_inv = 1.2074970677630721288777210113109158368;
  double x = kp_inv;
  double y = 0.0;
  double z = theta;
  double v = 1.0;
  double d, tx, ty, tz;
  unsigned int i = 4;
  printf("   n           x            y            z         -d*An\n");
  printf("init %12.8f %12.8f %12.8f %12.8f\n", x, y, z, 0.0);
  for (k = 1; k < n; k++) {
    v *= 0.5f;
  loop1:
    d = (z >= 0.0) ? +1.0 : -1.0;
    tx = x + d * v * y;
    ty = y + d * v * x;
    tz = z - d * sinhtab[k];
    x = tx;
    y = ty;
    z = tz;
    printf("%4u %12.8f %12.8f %12.8f %12.8f\n", k, x, y, z, d * sinhtab[k]);
    if (k == i) {
      i = 3 * i + 1;
      goto loop1;
    }
  }
  printf("true:%12.8f %12.8f\n", cosh(theta), sinh(theta));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x10,-0x8(%rbp)
movabs $0x3ff0000000000000,%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x18(%rbp)
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x88(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x20(%rbp)
movsd  0xe67(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    11ea <main+0xaa>
movsd  -0x28(%rbp),%xmm0
call   1040 <atanh@plt>
mov    -0x88(%rbp),%rax
mov    -0x2c(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xe3e(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11a5 <main+0x65>
movsd  0xe16(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xde5(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x4,-0x7c(%rbp)
lea    0xdf2(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
lea    0xe0f(%rip),%rdi
xorps  %xmm3,%xmm3
mov    $0x4,%al
call   1060 <printf@plt>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    13a3 <main+0x263>
movsd  0xda0(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  -0x50(%rbp),%xmm1
movsd  0xd72(%rip),%xmm3
movsd  0xd82(%rip),%xmm2
xorps  %xmm0,%xmm0
cmplesd %xmm1,%xmm0
movaps %xmm0,%xmm1
andpd  %xmm3,%xmm1
andnpd %xmm2,%xmm0
orpd   %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm0
mov    -0x2c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rcx
movabs $0x8000000000000000,%rdx
xor    %rdx,%rcx
movq   %rcx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x2c(%rbp),%esi
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
mov    -0x2c(%rbp),%ecx
mulsd  (%rax,%rcx,8),%xmm3
lea    0xd0e(%rip),%rdi
mov    $0x4,%al
call   1060 <printf@plt>
mov    -0x2c(%rbp),%eax
cmp    -0x7c(%rbp),%eax
jne    1390 <main+0x250>
imul   $0x3,-0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    127a <main+0x13a>
jmp    1395 <main+0x255>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    125c <main+0x11c>
movsd  -0x10(%rbp),%xmm0
call   1050 <cosh@plt>
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
call   1030 <sinh@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
lea    0xccc(%rip),%rdi
mov    $0x2,%al
call   1060 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xb8,%rsp
movsd  0xeba(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xeaf(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x20(%rsp)
movsd  %xmm0,0x38(%rsp)
movsd  0xe9e(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x40(%rsp)
movsd  0xe93(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x48(%rsp)
movsd  0xe88(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x50(%rsp)
movsd  0xe7d(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x58(%rsp)
movsd  0xe72(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x60(%rsp)
movsd  0xe67(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x68(%rsp)
movsd  0xe5c(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x70(%rsp)
movsd  0xe51(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x78(%rsp)
movsd  0xe46(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x80(%rsp)
movsd  0xe38(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x88(%rsp)
movsd  0xe2a(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x90(%rsp)
movsd  0xe1c(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0x98(%rsp)
movsd  0xe0e(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0xa0(%rsp)
movsd  0xe00(%rip),%xmm0
call   1040 <atanh@plt>
movsd  %xmm0,0xa8(%rsp)
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
lea    0xe0f(%rip),%rdi
movsd  0xddf(%rip),%xmm0
xorpd  %xmm1,%xmm1
xorpd  %xmm3,%xmm3
movsd  0xd4f(%rip),%xmm2
mov    $0x4,%al
call   1050 <printf@plt>
movsd  0xdc0(%rip),%xmm5
xorpd  %xmm3,%xmm3
movsd  0x20(%rsp),%xmm4
movsd  0xd2e(%rip),%xmm6
mov    $0x4,%ebx
mov    $0x1,%r15d
lea    0xdb4(%rip),%r12
lea    0xddf(%rip),%r14
movapd %xmm6,%xmm2
xorpd  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  %xmm4,0x20(%rsp)
movapd %xmm0,%xmm7
mulsd  0xcf6(%rip),%xmm6
xor    %eax,%eax
ucomisd %xmm3,%xmm2
setae  %al
movsd  (%r12,%rax,8),%xmm3
movsd  %xmm6,0x28(%rsp)
movapd %xmm6,%xmm1
mulsd  %xmm3,%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm7,%xmm0
addsd  %xmm5,%xmm0
mulsd  %xmm5,%xmm1
addsd  %xmm7,%xmm1
mulsd  %xmm4,%xmm3
subsd  %xmm3,%xmm2
mov    %r14,%rdi
mov    %r15d,%esi
movsd  %xmm0,0x8(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm2,0x18(%rsp)
mov    $0x4,%al
call   1050 <printf@plt>
mov    %ebx,%eax
cmp    %rax,%r15
jne    1430 <main+0x300>
movsd  0x28(%rsp),%xmm6
xorpd  %xmm3,%xmm3
movsd  0x18(%rsp),%xmm2
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm4
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    (%rbx,%rbx,2),%ebx
add    $0x1,%ebx
xor    %eax,%eax
ucomisd %xmm3,%xmm2
setae  %al
movsd  (%r12,%rax,8),%xmm3
movapd %xmm6,%xmm0
mulsd  %xmm3,%xmm0
movapd %xmm0,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm4,%xmm5
movsd  %xmm5,0x8(%rsp)
mulsd  %xmm4,%xmm0
addsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
mulsd  0x20(%rsp),%xmm3
subsd  %xmm3,%xmm2
movsd  %xmm2,0x18(%rsp)
mov    %r14,%rdi
mov    %r15d,%esi
movapd %xmm5,%xmm0
mov    $0x4,%al
call   1050 <printf@plt>
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm5
movsd  0x18(%rsp),%xmm2
xorpd  %xmm3,%xmm3
movsd  0x28(%rsp),%xmm6
movapd %xmm5,%xmm4
cmp    %rbx,%r15
je     13a0 <main+0x270>
jmp    144c <main+0x31c>
nopl   0x0(%rax)
movsd  0x8(%rsp),%xmm5
movsd  0x28(%rsp),%xmm6
xorpd  %xmm3,%xmm3
movsd  0x18(%rsp),%xmm2
movsd  0x10(%rsp),%xmm1
add    $0x1,%r15
cmp    $0x10,%r15
je     1466 <main+0x336>
movapd %xmm1,%xmm0
movsd  0x30(%rsp,%r15,8),%xmm4
jmp    1300 <main+0x1d0>
lea    0xc7e(%rip),%rdi
movsd  0xc13(%rip),%xmm0
movsd  0xc13(%rip),%xmm1
mov    $0x2,%al
call   1050 <printf@plt>
xor    %eax,%eax
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [58 x i8] c" n x y z -d*An\0A\00"
@.str.1 = [34 x i8] c"init %12.8f %12.8f %12.8f %12.8f\0A\00"
@.str.2 = [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00"
@.str.3 = [20 x i8] c"true:%12.8f %12.8f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca double
%4 = alloca i8*
%5 = alloca i64
%6 = alloca double
%7 = alloca i32
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca i32
store i32 0, i32* %1
store i32 16, i32* %2
store double 1.000000e+00, double* %3
%18 = load i32, i32* %2
%19 = zext i32 %18 to i64
%20 = call i8* @llvm.stacksave()
store i8* %20, i8** %4
%21 = alloca double, i64 %19
store i64 %19, i64* %5
store double 1.000000e+00, double* %6
store i32 0, i32* %7
br label %22
22: ; preds = %34, %0
%23 = load i32, i32* %7
%24 = load i32, i32* %2
%25 = icmp ult i32 %23, %24
br i1 %25, label %26, label %37
26: ; preds = %22
%27 = load double, double* %6
%28 = call double @atanh(double %27)
%29 = load i32, i32* %7
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds double, double* %21, i64 %30
store double %28, double* %31
%32 = load double, double* %6
%33 = fmul double %32, 5.000000e-01
store double %33, double* %6
br label %34
34: ; preds = %26
%35 = load i32, i32* %7
%36 = add i32 %35, 1
store i32 %36, i32* %7
br label %22
37: ; preds = %22
store double 0x3FF351E87200EEC2, double* %8
%38 = load double, double* %8
store double %38, double* %9
store double 0.000000e+00, double* %10
%39 = load double, double* %3
store double %39, double* %11
store double 1.000000e+00, double* %12
store i32 4, i32* %17
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str, i64 0, i64 0))
%41 = load double, double* %9
%42 = load double, double* %10
%43 = load double, double* %11
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), double %41, double %42, double %43, double 0.000000e+00)
store i32 1, i32* %7
br label %45
45: ; preds = %99, %37
%46 = load i32, i32* %7
%47 = load i32, i32* %2
%48 = icmp ult i32 %46, %47
br i1 %48, label %49, label %102
49: ; preds = %45
%50 = load double, double* %12
%51 = fmul double %50, 5.000000e-01
store double %51, double* %12
br label %52
52: ; preds = %94, %49
%53 = load double, double* %11
%54 = fcmp oge double %53, 0.000000e+00
%55 = zext i1 %54 to i64
%56 = select i1 %54, double 1.000000e+00, double -1.000000e+00
store double %56, double* %13
%57 = load double, double* %9
%58 = load double, double* %13
%59 = load double, double* %12
%60 = fmul double %58, %59
%61 = load double, double* %10
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double %57)
store double %62, double* %14
%63 = load double, double* %10
%64 = load double, double* %13
%65 = load double, double* %12
%66 = fmul double %64, %65
%67 = load double, double* %9
%68 = call double @llvm.fmuladd.f64(double %66, double %67, double %63)
store double %68, double* %15
%69 = load double, double* %11
%70 = load double, double* %13
%71 = load i32, i32* %7
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds double, double* %21, i64 %72
%74 = load double, double* %73
%75 = fneg double %70
%76 = call double @llvm.fmuladd.f64(double %75, double %74, double %69)
store double %76, double* %16
%77 = load double, double* %14
store double %77, double* %9
%78 = load double, double* %15
store double %78, double* %10
%79 = load double, double* %16
store double %79, double* %11
%80 = load i32, i32* %7
%81 = load double, double* %9
%82 = load double, double* %10
%83 = load double, double* %11
%84 = load double, double* %13
%85 = load i32, i32* %7
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds double, double* %21, i64 %86
%88 = load double, double* %87
%89 = fmul double %84, %88
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %80, double %81, double %82, double %83, double %89)
%91 = load i32, i32* %7
%92 = load i32, i32* %17
%93 = icmp eq i32 %91, %92
br i1 %93, label %94, label %98
94: ; preds = %52
%95 = load i32, i32* %17
%96 = mul i32 3, %95
%97 = add i32 %96, 1
store i32 %97, i32* %17
br label %52
98: ; preds = %52
br label %99
99: ; preds = %98
%100 = load i32, i32* %7
%101 = add i32 %100, 1
store i32 %101, i32* %7
br label %45
102: ; preds = %45
%103 = load double, double* %3
%104 = call double @cosh(double %103)
%105 = load double, double* %3
%106 = call double @sinh(double %105)
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %104, double %106)
store i32 0, i32* %1
%108 = load i8*, i8** %4
%109 = load i32, i32* %1
ret i32 %109
}

LLVM IR (-O2):
@.str.1 = [34 x i8] c"init %12.8f %12.8f %12.8f %12.8f\0A\00"
@.str.2 = [33 x i8] c"%4u %12.8f %12.8f %12.8f %12.8f\0A\00"
@.str.3 = [20 x i8] c"true:%12.8f %12.8f\0A\00"
@str = [57 x i8] c" n x y z -d*An\00"
define i32 @main() {
%1 = alloca [16 x double]
%2 = tail call double @atanh(double 1.000000e+00)
%3 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 0
store double %2, double* %3
%4 = tail call double @atanh(double 5.000000e-01)
%5 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 1
store double %4, double* %5
%6 = tail call double @atanh(double 2.500000e-01)
%7 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 2
store double %6, double* %7
%8 = tail call double @atanh(double 1.250000e-01)
%9 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 3
store double %8, double* %9
%10 = tail call double @atanh(double 6.250000e-02)
%11 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 4
store double %10, double* %11
%12 = tail call double @atanh(double 3.125000e-02)
%13 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 5
store double %12, double* %13
%14 = tail call double @atanh(double 1.562500e-02)
%15 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 6
store double %14, double* %15
%16 = tail call double @atanh(double 7.812500e-03)
%17 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 7
store double %16, double* %17
%18 = tail call double @atanh(double 3.906250e-03)
%19 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 8
store double %18, double* %19
%20 = tail call double @atanh(double 0x3F60000000000000)
%21 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 9
store double %20, double* %21
%22 = tail call double @atanh(double 0x3F50000000000000)
%23 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 10
store double %22, double* %23
%24 = tail call double @atanh(double 0x3F40000000000000)
%25 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 11
store double %24, double* %25
%26 = tail call double @atanh(double 0x3F30000000000000)
%27 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 12
store double %26, double* %27
%28 = tail call double @atanh(double 0x3F20000000000000)
%29 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 13
store double %28, double* %29
%30 = tail call double @atanh(double 0x3F10000000000000)
%31 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 14
store double %30, double* %31
%32 = tail call double @atanh(double 0x3F00000000000000)
%33 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 15
store double %32, double* %33
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str, i64 0, i64 0))
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), double 0x3FF351E87200EEC2, double 0.000000e+00, double 1.000000e+00, double 0.000000e+00)
br label %36
36: ; preds = %82, %0
%37 = phi double [ %4, %0 ], [ %84, %82 ]
%38 = phi i64 [ 1, %0 ], [ %80, %82 ]
%39 = phi i32 [ 4, %0 ], [ %76, %82 ]
%40 = phi double [ 0x3FF351E87200EEC2, %0 ], [ %77, %82 ]
%41 = phi double [ 1.000000e+00, %0 ], [ %44, %82 ]
%42 = phi double [ 1.000000e+00, %0 ], [ %79, %82 ]
%43 = phi double [ 0.000000e+00, %0 ], [ %78, %82 ]
%44 = fmul double %41, 5.000000e-01
%45 = fcmp oge double %42, 0.000000e+00
%46 = select i1 %45, double 1.000000e+00, double -1.000000e+00
%47 = fmul double %44, %46
%48 = tail call double @llvm.fmuladd.f64(double %47, double %43, double %40)
%49 = tail call double @llvm.fmuladd.f64(double %47, double %40, double %43)
%50 = fneg double %46
%51 = tail call double @llvm.fmuladd.f64(double %50, double %37, double %42)
%52 = fmul double %46, %37
%53 = trunc i64 %38 to i32
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %53, double %48, double %49, double %51, double %52)
%55 = zext i32 %39 to i64
%56 = icmp eq i64 %38, %55
br i1 %56, label %57, label %75
57: ; preds = %36, %57
%58 = phi double [ %70, %57 ], [ %51, %36 ]
%59 = phi double [ %68, %57 ], [ %49, %36 ]
%60 = phi double [ %67, %57 ], [ %48, %36 ]
%61 = phi i32 [ %63, %57 ], [ %39, %36 ]
%62 = mul i32 %61, 3
%63 = add i32 %62, 1
%64 = fcmp oge double %58, 0.000000e+00
%65 = select i1 %64, double 1.000000e+00, double -1.000000e+00
%66 = fmul double %44, %65
%67 = tail call double @llvm.fmuladd.f64(double %66, double %59, double %60)
%68 = tail call double @llvm.fmuladd.f64(double %66, double %60, double %59)
%69 = fneg double %65
%70 = tail call double @llvm.fmuladd.f64(double %69, double %37, double %58)
%71 = fmul double %65, %37
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i32 %53, double %67, double %68, double %70, double %71)
%73 = zext i32 %63 to i64
%74 = icmp eq i64 %38, %73
br i1 %74, label %57, label %75
75: ; preds = %57, %36
%76 = phi i32 [ %39, %36 ], [ %63, %57 ]
%77 = phi double [ %48, %36 ], [ %67, %57 ]
%78 = phi double [ %49, %36 ], [ %68, %57 ]
%79 = phi double [ %51, %36 ], [ %70, %57 ]
%80 = add nuw nsw i64 %38, 1
%81 = icmp eq i64 %80, 16
br i1 %81, label %85, label %82
82: ; preds = %75
%83 = getelementptr inbounds [16 x double], [16 x double]* %1, i64 0, i64 %80
%84 = load double, double* %83
br label %36
85: ; preds = %75
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double 0x3FF8B07551D9F550, double 0x3FF2CD9FC44EB982)
ret i32 0
}