int cymbal(xloc, yloc, height, angle, icode)
double xloc, yloc, height, angle;
int icode;
{
  double rangle, a, b, c, d;
  double xc, yc;
  int n;
  static double gplot[7][2][9] = {
      {{0.5, -0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
       {0.0, 0.0, 0.0, 0.2, 0.0, 0.0, 0.0, 0.0, 0.0}},
      {{0.5, -0.5, -0.5, 0.5, 0.1, 0.1, -0.1, -0.1, 0.0},
       {0.0, 0.0, -0.1, -0.1, 0.0, 1.0, 1.0, 0.0, 0.0}},
      {{-0.5, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
       {0.0, 0.0, 0.0, 0.3, 0.0, 0.0, 0.0, 0.0, 0.0}},
      {{-0.5, -0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.2, 0.0},
       {0.3, 0.0, 0.0, 0.3, 0.0, 0.0, 0.0, 0.0, 0.0}},
      {{0.0, 0.0, -0.2, 0.0, 0.2, 0.0, 0.0, 0.0, 0.0},
       {-1.0, -0.4, -0.2, 0.0, -0.2, -0.4, 0.0, 0.0, 0.0}},
      {{0.0, 0.0, -0.2, 0.0, 0.2, 0.0, -0.2, 0.0, 0.2},
       {-1.0, -0.2, -0.2, 0.0, -0.2, -0.2, -1.0, -0.8, -1.0}},
      {{0.0, 0.0, -0.2, 0.0, 0.2, 0.0, 0.0, 0.0, 0.0},
       {-1.0, -0.2, -0.2, 0.0, -0.2, -0.2, 0.0, 0.0, 0.0}}};
  static int iplot[7][10] = {
      {3, 2, 3, 2, -5, 0, 0, 0, 0, 0}, {3, 2, 3, 2, 3, 2, 3, 2, -5, 0},
      {3, 2, 3, 2, -5, 0, 0, 0, 0, 0}, {3, 2, 2, 2, -5, 0, 0, 0, 0, 0},
      {3, 2, 2, 2, 2, 2, -5, 0, 0, 0}, {3, 2, 2, 2, 2, 2, 3, 2, 2, -5},
      {3, 2, 2, 2, 2, 2, -5, 0, 0, 0}};
  icode--;

  rangle = angle * 0.0174532;
  a = cos(rangle);
  b = sin(rangle);
  c = -b;
  d = a;
  n = 0;
  do {
    xc = height * ((gplot[icode][0][n] * a) + (gplot[icode][1][n] * b));
    xc = xc + xloc;
    yc = height * ((gplot[icode][0][n] * c) + (gplot[icode][1][n] * d));
    yc = yc + yloc;
    msplot(xc, yc, iplot[icode][n]);
    n++;
  } while (iplot[icode][n] != -5);
  return (1);
}


x86 assembly (clang, -O0):
<cymbal>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
mov    %edi,-0x24(%rbp)
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
movsd  0xea0(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1050 <cos@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x64(%rbp)
movsd  -0x18(%rbp),%xmm0
movslq -0x24(%rbp),%rcx
lea    0x2e76(%rip),%rax
imul   $0x90,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x38(%rbp),%xmm3
movslq -0x24(%rbp),%rcx
lea    0x2e53(%rip),%rax
imul   $0x90,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
movsd  0x48(%rax,%rcx,8),%xmm2
mulsd  -0x40(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
addsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x18(%rbp),%xmm0
movslq -0x24(%rbp),%rcx
lea    0x2e0a(%rip),%rax
imul   $0x90,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x48(%rbp),%xmm3
movslq -0x24(%rbp),%rcx
lea    0x2de7(%rip),%rax
imul   $0x90,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
movsd  0x48(%rax,%rcx,8),%xmm2
mulsd  -0x50(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
movslq -0x24(%rbp),%rcx
lea    0x3189(%rip),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
mov    (%rax,%rcx,4),%edi
mov    $0x2,%al
call   1030 <msplot@plt>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
movslq -0x24(%rbp),%rcx
lea    0x3160(%rip),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x64(%rbp),%rcx
cmpl   $0xfffffffb,(%rax,%rcx,4)
jne    11ba <cymbal+0x8a>
mov    $0x1,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cymbal>:
push   %r15
push   %r14
push   %rbx
sub    $0x40,%rsp
mov    %edi,%ebx
movsd  %xmm2,0x28(%rsp)
movsd  %xmm1,0x20(%rsp)
movsd  %xmm0,0x18(%rsp)
add    $0xffffffff,%ebx
movapd %xmm3,%xmm0
mulsd  0xea4(%rip),%xmm0
movsd  %xmm0,(%rsp)
call   1050 <cos@plt>
movsd  %xmm0,0x10(%rsp)
movsd  (%rsp),%xmm0
call   1040 <sin@plt>
movapd 0xe92(%rip),%xmm1
movapd %xmm0,(%rsp)
xorpd  %xmm0,%xmm1
movapd %xmm1,0x30(%rsp)
movslq %ebx,%rax
lea    (%rax,%rax,4),%rcx
lea    0x1275(%rip),%rdx
mov    (%rdx,%rcx,8),%edi
lea    (%rax,%rax,8),%rax
shl    $0x4,%rax
lea    0xe73(%rip),%rsi
lea    (%rax,%rsi,1),%r15
add    $0x90,%r15
lea    (%rdx,%rcx,8),%r14
add    $0x28,%r14
mov    $0xffffffffffffffdc,%rbx
nopw   0x0(%rax,%rax,1)
movsd  -0x48(%r15,%rbx,2),%xmm1
movsd  (%r15,%rbx,2),%xmm2
movapd (%rsp),%xmm3
mulsd  %xmm2,%xmm3
movapd %xmm1,%xmm0
movsd  0x10(%rsp),%xmm4
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movsd  0x28(%rsp),%xmm3
mulsd  %xmm3,%xmm0
addsd  0x18(%rsp),%xmm0
mulsd  %xmm4,%xmm2
mulsd  0x30(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm3,%xmm1
addsd  0x20(%rsp),%xmm1
mov    $0x2,%al
call   1030 <msplot@plt>
mov    (%r14,%rbx,1),%edi
add    $0x4,%rbx
cmp    $0xfffffffb,%edi
jne    11d0 <cymbal+0xa0>
mov    $0x1,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@cymbal.gplot = internal global [7 x [2 x [9 x double]]] [[2 x [9 x double]] [[9 x double] [double 5.000000e-01, double -5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 5.000000e-01, double -5.000000e-01, double -5.000000e-01, double 5.000000e-01, double 1.000000e-01, double 1.000000e-01, double -1.000000e-01, double -1.000000e-01, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double -1.000000e-01, double -1.000000e-01, double 0.000000e+00, double 1.000000e+00, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double -5.000000e-01, double 5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double -5.000000e-01, double -5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00], [9 x double] [double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double -1.000000e+00, double -4.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -4.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01], [9 x double] [double -1.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -2.000000e-01, double -1.000000e+00, double -8.000000e-01, double -1.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double -1.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]]]
@cymbal.iplot = internal global [7 x [10 x i32]] [[10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0], [10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 2, i32 2, i32 -5], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0]]
define i32 @cymbal(double %0, double %1, double %2, double %3, i32 %4) {
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca i32
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca i32
store double %0, double* %6
store double %1, double* %7
store double %2, double* %8
store double %3, double* %9
store i32 %4, i32* %10
%19 = load i32, i32* %10
%20 = add nsw i32 %19, -1
store i32 %20, i32* %10
%21 = load double, double* %9
%22 = fmul double %21, 1.745320e-02
store double %22, double* %11
%23 = load double, double* %11
%24 = call double @cos(double %23)
store double %24, double* %12
%25 = load double, double* %11
%26 = call double @sin(double %25)
store double %26, double* %13
%27 = load double, double* %13
%28 = fneg double %27
store double %28, double* %14
%29 = load double, double* %12
store double %29, double* %15
store i32 0, i32* %18
br label %30
30: ; preds = %93, %5
%31 = load double, double* %8
%32 = load i32, i32* %10
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %33
%35 = getelementptr inbounds [2 x [9 x double]], [2 x [9 x double]]* %34, i64 0, i64 0
%36 = load i32, i32* %18
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [9 x double], [9 x double]* %35, i64 0, i64 %37
%39 = load double, double* %38
%40 = load double, double* %12
%41 = load i32, i32* %10
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %42
%44 = getelementptr inbounds [2 x [9 x double]], [2 x [9 x double]]* %43, i64 0, i64 1
%45 = load i32, i32* %18
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [9 x double], [9 x double]* %44, i64 0, i64 %46
%48 = load double, double* %47
%49 = load double, double* %13
%50 = fmul double %48, %49
%51 = call double @llvm.fmuladd.f64(double %39, double %40, double %50)
%52 = fmul double %31, %51
store double %52, double* %16
%53 = load double, double* %16
%54 = load double, double* %6
%55 = fadd double %53, %54
store double %55, double* %16
%56 = load double, double* %8
%57 = load i32, i32* %10
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %58
%60 = getelementptr inbounds [2 x [9 x double]], [2 x [9 x double]]* %59, i64 0, i64 0
%61 = load i32, i32* %18
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [9 x double], [9 x double]* %60, i64 0, i64 %62
%64 = load double, double* %63
%65 = load double, double* %14
%66 = load i32, i32* %10
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %67
%69 = getelementptr inbounds [2 x [9 x double]], [2 x [9 x double]]* %68, i64 0, i64 1
%70 = load i32, i32* %18
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [9 x double], [9 x double]* %69, i64 0, i64 %71
%73 = load double, double* %72
%74 = load double, double* %15
%75 = fmul double %73, %74
%76 = call double @llvm.fmuladd.f64(double %64, double %65, double %75)
%77 = fmul double %56, %76
store double %77, double* %17
%78 = load double, double* %17
%79 = load double, double* %7
%80 = fadd double %78, %79
store double %80, double* %17
%81 = load double, double* %16
%82 = load double, double* %17
%83 = load i32, i32* %10
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [7 x [10 x i32]], [7 x [10 x i32]]* @cymbal.iplot, i64 0, i64 %84
%86 = load i32, i32* %18
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [10 x i32], [10 x i32]* %85, i64 0, i64 %87
%89 = load i32, i32* %88
%90 = call i32 (double, double, i32, ...) bitcast (i32 (...)* @msplot to i32 (double, double, i32, ...)*)(double %81, double %82, i32 %89)
%91 = load i32, i32* %18
%92 = add nsw i32 %91, 1
store i32 %92, i32* %18
br label %93
93: ; preds = %30
%94 = load i32, i32* %10
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [7 x [10 x i32]], [7 x [10 x i32]]* @cymbal.iplot, i64 0, i64 %95
%97 = load i32, i32* %18
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [10 x i32], [10 x i32]* %96, i64 0, i64 %98
%100 = load i32, i32* %99
%101 = icmp ne i32 %100, -5
br i1 %101, label %30, label %102
102: ; preds = %93
ret i32 1
}

LLVM IR (-O2):
@cymbal.gplot = internal unnamed_addr constant [7 x [2 x [9 x double]]] [[2 x [9 x double]] [[9 x double] [double 5.000000e-01, double -5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 5.000000e-01, double -5.000000e-01, double -5.000000e-01, double 5.000000e-01, double 1.000000e-01, double 1.000000e-01, double -1.000000e-01, double -1.000000e-01, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double -1.000000e-01, double -1.000000e-01, double 0.000000e+00, double 1.000000e+00, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double -5.000000e-01, double 5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double -5.000000e-01, double -5.000000e-01, double 5.000000e-01, double 5.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00], [9 x double] [double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 3.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double -1.000000e+00, double -4.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -4.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01], [9 x double] [double -1.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -2.000000e-01, double -1.000000e+00, double -8.000000e-01, double -1.000000e+00]], [2 x [9 x double]] [[9 x double] [double 0.000000e+00, double 0.000000e+00, double -2.000000e-01, double 0.000000e+00, double 2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [9 x double] [double -1.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double -2.000000e-01, double -2.000000e-01, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00]]]
@cymbal.iplot = internal unnamed_addr constant [7 x [10 x i32]] [[10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0], [10 x i32] [i32 3, i32 2, i32 3, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 3, i32 2, i32 2, i32 -5], [10 x i32] [i32 3, i32 2, i32 2, i32 2, i32 2, i32 2, i32 -5, i32 0, i32 0, i32 0]]
define i32 @cymbal(double %0, double %1, double %2, double %3, i32 %4) {
%6 = add nsw i32 %4, -1
%7 = fmul double %3, 1.745320e-02
%8 = tail call double @cos(double %7)
%9 = tail call double @sin(double %7)
%10 = fneg double %9
%11 = sext i32 %6 to i64
%12 = getelementptr inbounds [7 x [10 x i32]], [7 x [10 x i32]]* @cymbal.iplot, i64 0, i64 %11, i64 0
%13 = load i32, i32* %12
br label %14
14: ; preds = %14, %5
%15 = phi i32 [ %32, %14 ], [ %13, %5 ]
%16 = phi i64 [ %30, %14 ], [ 0, %5 ]
%17 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %11, i64 0, i64 %16
%18 = load double, double* %17
%19 = getelementptr inbounds [7 x [2 x [9 x double]]], [7 x [2 x [9 x double]]]* @cymbal.gplot, i64 0, i64 %11, i64 1, i64 %16
%20 = load double, double* %19
%21 = fmul double %9, %20
%22 = tail call double @llvm.fmuladd.f64(double %18, double %8, double %21)
%23 = fmul double %22, %2
%24 = fadd double %23, %0
%25 = fmul double %8, %20
%26 = tail call double @llvm.fmuladd.f64(double %18, double %10, double %25)
%27 = fmul double %26, %2
%28 = fadd double %27, %1
%29 = tail call i32 (double, double, i32, ...) bitcast (i32 (...)* @msplot to i32 (double, double, i32, ...)*)(double %24, double %28, i32 %15)
%30 = add nuw i64 %16, 1
%31 = getelementptr inbounds [7 x [10 x i32]], [7 x [10 x i32]]* @cymbal.iplot, i64 0, i64 %11, i64 %30
%32 = load i32, i32* %31
%33 = icmp eq i32 %32, -5
br i1 %33, label %34, label %14
34: ; preds = %14
ret i32 1
}