#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 */
scalar_t__ acos(double);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
float lsp_g(float, float *, int);
int /*<<< orphan*/ stderr;
int lsp_roots(float *w, float **c, int p2) {
  int i, k;
  float x, x0, x1, y, *ptr, g0, g1;
  w[0] = 0.0;
  ptr = c[0];
  x = 1.0;
  g0 = lsp_g(x, ptr, p2);
  for (k = 1, x = 1.0 - 0.00781250; x > -0.00781250 - 1.0; x -= 0.00781250) {
    if (g0 * (g1 = lsp_g(x, ptr, p2)) <= 0.0) {
      x0 = x + 0.00781250;
      x1 = x;
      for (i = 0; i < 4; i++) {
        x = (x0 + x1) / 2.0;
        y = lsp_g(x, ptr, p2);
        if (y * g0 < 0.0) {
          x1 = x;
          g1 = y;
        } else {
          x0 = x;
          g0 = y;
        }
      }
      x = (g1 * x0 - g0 * x1) / (g1 - g0);
      w[k] = (float)acos((double)x) / 3.14159265358979323846;
      ptr = c[k % 2];
      k++;
      if (k > 2 * p2)
        return (0);
      g1 = lsp_g(x, ptr, p2);
    }
    g0 = g1;
  }
  (void)fprintf(stderr, "\n Error(lsp_roots): LSPs Not All Found\n");
  return (1);
}


x86 assembly (clang, -O0):
<lsp_roots>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x40(%rbp)
movss  0xea3(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x28(%rbp),%xmm0
mov    -0x40(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1050 <lsp_g@plt>
movss  %xmm0,-0x44(%rbp)
movl   $0x1,-0x24(%rbp)
movss  0xe75(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe67(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    13b0 <lsp_roots+0x280>
movss  -0x44(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x28(%rbp),%xmm0
mov    -0x40(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1050 <lsp_g@plt>
movaps %xmm0,%xmm1
movss  -0x4c(%rbp),%xmm0
movss  %xmm1,-0x48(%rbp)
mulss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jb     1383 <lsp_roots+0x253>
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe17(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x28(%rbp),%xmm0
movss  %xmm0,-0x30(%rbp)
movl   $0x0,-0x20(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    12b5 <lsp_roots+0x185>
movss  -0x2c(%rbp),%xmm0
addss  -0x30(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xde9(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x28(%rbp),%xmm0
mov    -0x40(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1050 <lsp_g@plt>
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
mulss  -0x44(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    128e <lsp_roots+0x15e>
movss  -0x28(%rbp),%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x48(%rbp)
jmp    12a2 <lsp_roots+0x172>
movss  -0x28(%rbp),%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
jmp    12a7 <lsp_roots+0x177>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1217 <lsp_roots+0xe7>
movss  -0x48(%rbp),%xmm0
movss  -0x2c(%rbp),%xmm2
movss  -0x44(%rbp),%xmm1
mulss  -0x30(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x48(%rbp),%xmm1
subss  -0x44(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
call   1030 <acos@plt>
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd08(%rip),%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x18(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    -0x58(%rbp),%rax
movslq %edx,%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x40(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x1c(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jle    136d <lsp_roots+0x23d>
movl   $0x0,-0x4(%rbp)
jmp    13cc <lsp_roots+0x29c>
movss  -0x28(%rbp),%xmm0
mov    -0x40(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1050 <lsp_g@plt>
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc72(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
jmp    1190 <lsp_roots+0x60>
mov    0x2c29(%rip),%rax
mov    (%rax),%edi
lea    0xc68(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lsp_roots>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %edx,%r12d
mov    %rsi,%r14
mov    %rdi,%r15
movl   $0x0,(%rdi)
mov    (%rsi),%rbx
movss  0xea8(%rip),%xmm0
mov    %rbx,%rdi
mov    %edx,%esi
call   1050 <lsp_g@plt>
movaps %xmm0,%xmm1
lea    (%r12,%r12,1),%r13d
mov    $0x1,%ebp
movss  0xe8e(%rip),%xmm0
jmp    11a0 <lsp_roots+0x70>
nopl   0x0(%rax,%rax,1)
movaps 0x20(%rsp),%xmm2
addss  0xe83(%rip),%xmm2
ucomiss 0xe80(%rip),%xmm2
movaps %xmm0,%xmm1
movaps %xmm2,%xmm0
jbe    1446 <lsp_roots+0x316>
movaps %xmm0,0x20(%rsp)
movss  %xmm1,0x8(%rsp)
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
xorps  %xmm1,%xmm1
movaps %xmm0,%xmm2
mulss  0x8(%rsp),%xmm2
ucomiss %xmm2,%xmm1
jb     1180 <lsp_roots+0x50>
movss  %xmm0,0xc(%rsp)
movaps 0x20(%rsp),%xmm0
movaps %xmm0,%xmm1
addss  0xe2b(%rip),%xmm1
movaps %xmm1,0x30(%rsp)
addss  %xmm0,%xmm1
mulss  0xe1e(%rip),%xmm1
movaps %xmm1,0x10(%rsp)
movaps %xmm1,%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
movss  0x8(%rsp),%xmm4
xorps  %xmm1,%xmm1
mulss  %xmm0,%xmm4
ucomiss %xmm4,%xmm1
ja     1230 <lsp_roots+0x100>
movss  %xmm0,0x8(%rsp)
movaps 0x20(%rsp),%xmm2
movaps 0x10(%rsp),%xmm3
jmp    1241 <lsp_roots+0x111>
cs nopw 0x0(%rax,%rax,1)
nop
movaps 0x10(%rsp),%xmm5
movaps %xmm5,%xmm2
movss  %xmm0,0xc(%rsp)
movaps %xmm5,%xmm3
cmpltss %xmm1,%xmm4
movaps %xmm4,%xmm0
andnps %xmm3,%xmm0
andps  0x30(%rsp),%xmm4
orps   %xmm0,%xmm4
movaps %xmm4,0x30(%rsp)
movaps %xmm4,%xmm0
movaps %xmm2,0x20(%rsp)
addss  %xmm2,%xmm0
mulss  0xd9f(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
xorps  %xmm1,%xmm1
movss  0x8(%rsp),%xmm4
mulss  %xmm0,%xmm4
ucomiss %xmm4,%xmm1
ja     12b0 <lsp_roots+0x180>
movss  %xmm0,0x8(%rsp)
movaps 0x20(%rsp),%xmm2
movaps 0x10(%rsp),%xmm3
jmp    12be <lsp_roots+0x18e>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movaps 0x10(%rsp),%xmm3
movaps %xmm3,%xmm2
movss  %xmm0,0xc(%rsp)
cmpltss %xmm1,%xmm4
movaps %xmm4,%xmm0
andnps %xmm3,%xmm0
andps  0x30(%rsp),%xmm4
orps   %xmm0,%xmm4
movaps %xmm4,0x30(%rsp)
movaps %xmm4,%xmm0
movaps %xmm2,0x20(%rsp)
addss  %xmm2,%xmm0
mulss  0xd22(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
xorps  %xmm1,%xmm1
movss  0x8(%rsp),%xmm3
movaps %xmm3,%xmm4
mulss  %xmm0,%xmm4
ucomiss %xmm4,%xmm1
ja     1330 <lsp_roots+0x200>
movss  %xmm0,0x8(%rsp)
movaps 0x20(%rsp),%xmm2
movaps 0x10(%rsp),%xmm3
jmp    1347 <lsp_roots+0x217>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movaps 0x10(%rsp),%xmm5
movaps %xmm5,%xmm2
movss  %xmm0,0xc(%rsp)
movss  %xmm3,0x8(%rsp)
movaps %xmm5,%xmm3
cmpltss %xmm1,%xmm4
movaps %xmm4,%xmm0
andnps %xmm3,%xmm0
andps  0x30(%rsp),%xmm4
orps   %xmm0,%xmm4
movaps %xmm4,0x30(%rsp)
movaps %xmm4,%xmm0
movaps %xmm2,0x20(%rsp)
addss  %xmm2,%xmm0
mulss  0xc99(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
xorps  %xmm2,%xmm2
movss  0x8(%rsp),%xmm4
movaps %xmm4,%xmm1
mulss  %xmm0,%xmm1
ucomiss %xmm1,%xmm2
ja     13b0 <lsp_roots+0x280>
movaps %xmm0,%xmm4
movaps 0x20(%rsp),%xmm3
movss  0xc(%rsp),%xmm5
movaps 0x10(%rsp),%xmm6
jmp    13bb <lsp_roots+0x28b>
nopl   (%rax)
movaps 0x10(%rsp),%xmm6
movaps %xmm6,%xmm3
movaps %xmm0,%xmm5
cmpltss %xmm2,%xmm1
movaps %xmm1,%xmm0
andnps %xmm6,%xmm0
andps  0x30(%rsp),%xmm1
orps   %xmm0,%xmm1
mulss  %xmm4,%xmm3
mulss  %xmm5,%xmm1
subss  %xmm3,%xmm1
subss  %xmm4,%xmm5
divss  %xmm5,%xmm1
movaps %xmm1,0x20(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
call   1030 <acos@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
cvtss2sd %xmm0,%xmm0
divsd  0xc11(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movslq %ebp,%rax
movss  %xmm0,(%r15,%rax,4)
cmp    %r13d,%ebp
jge    1462 <lsp_roots+0x332>
mov    %ebp,%eax
shr    $0x1f,%eax
add    %ebp,%eax
and    $0xfffffffe,%eax
mov    %ebp,%ecx
sub    %eax,%ecx
movslq %ecx,%rax
mov    (%r14,%rax,8),%rbx
add    $0x1,%ebp
movaps 0x20(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <lsp_g@plt>
jmp    1180 <lsp_roots+0x50>
mov    0x2b93(%rip),%rax
mov    (%rax),%edi
lea    0xbca(%rip),%rsi
call   1040 <fprintf@plt>
mov    $0x1,%eax
jmp    1464 <lsp_roots+0x334>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [40 x i8] c"\0A Error(lsp_roots): LSPs Not All Found\0A\00"
define i32 @lsp_roots(float* %0, float** %1, i32 %2) {
%4 = alloca i32
%5 = alloca float*
%6 = alloca float**
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float*
%15 = alloca float
%16 = alloca float
store float* %0, float** %5
store float** %1, float*** %6
store i32 %2, i32* %7
%17 = load float*, float** %5
%18 = getelementptr inbounds float, float* %17, i64 0
store float 0.000000e+00, float* %18
%19 = load float**, float*** %6
%20 = getelementptr inbounds float*, float** %19, i64 0
%21 = load float*, float** %20
store float* %21, float** %14
store float 1.000000e+00, float* %10
%22 = load float, float* %10
%23 = load float*, float** %14
%24 = load i32, i32* %7
%25 = call float @lsp_g(float %22, float* %23, i32 %24)
store float %25, float* %15
store i32 1, i32* %9
store float 0x3FEFC00000000000, float* %10
br label %26
26: ; preds = %117, %3
%27 = load float, float* %10
%28 = fpext float %27 to double
%29 = fcmp ogt double %28, 0xBFF0200000000000
br i1 %29, label %30, label %122
30: ; preds = %26
%31 = load float, float* %15
%32 = load float, float* %10
%33 = load float*, float** %14
%34 = load i32, i32* %7
%35 = call float @lsp_g(float %32, float* %33, i32 %34)
store float %35, float* %16
%36 = fmul float %31, %35
%37 = fpext float %36 to double
%38 = fcmp ole double %37, 0.000000e+00
br i1 %38, label %39, label %115
39: ; preds = %30
%40 = load float, float* %10
%41 = fpext float %40 to double
%42 = fadd double %41, 7.812500e-03
%43 = fptrunc double %42 to float
store float %43, float* %11
%44 = load float, float* %10
store float %44, float* %12
store i32 0, i32* %8
br label %45
45: ; preds = %71, %39
%46 = load i32, i32* %8
%47 = icmp slt i32 %46, 4
br i1 %47, label %48, label %74
48: ; preds = %45
%49 = load float, float* %11
%50 = load float, float* %12
%51 = fadd float %49, %50
%52 = fpext float %51 to double
%53 = fdiv double %52, 2.000000e+00
%54 = fptrunc double %53 to float
store float %54, float* %10
%55 = load float, float* %10
%56 = load float*, float** %14
%57 = load i32, i32* %7
%58 = call float @lsp_g(float %55, float* %56, i32 %57)
store float %58, float* %13
%59 = load float, float* %13
%60 = load float, float* %15
%61 = fmul float %59, %60
%62 = fpext float %61 to double
%63 = fcmp olt double %62, 0.000000e+00
br i1 %63, label %64, label %67
64: ; preds = %48
%65 = load float, float* %10
store float %65, float* %12
%66 = load float, float* %13
store float %66, float* %16
br label %70
67: ; preds = %48
%68 = load float, float* %10
store float %68, float* %11
%69 = load float, float* %13
store float %69, float* %15
br label %70
70: ; preds = %67, %64
br label %71
71: ; preds = %70
%72 = load i32, i32* %8
%73 = add nsw i32 %72, 1
store i32 %73, i32* %8
br label %45
74: ; preds = %45
%75 = load float, float* %16
%76 = load float, float* %11
%77 = load float, float* %15
%78 = load float, float* %12
%79 = fmul float %77, %78
%80 = fneg float %79
%81 = call float @llvm.fmuladd.f32(float %75, float %76, float %80)
%82 = load float, float* %16
%83 = load float, float* %15
%84 = fsub float %82, %83
%85 = fdiv float %81, %84
store float %85, float* %10
%86 = load float, float* %10
%87 = fpext float %86 to double
%88 = call i64 @acos(double %87)
%89 = sitofp i64 %88 to float
%90 = fpext float %89 to double
%91 = fdiv double %90, 0x400921FB54442D18
%92 = fptrunc double %91 to float
%93 = load float*, float** %5
%94 = load i32, i32* %9
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, float* %93, i64 %95
store float %92, float* %96
%97 = load float**, float*** %6
%98 = load i32, i32* %9
%99 = srem i32 %98, 2
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float*, float** %97, i64 %100
%102 = load float*, float** %101
store float* %102, float** %14
%103 = load i32, i32* %9
%104 = add nsw i32 %103, 1
store i32 %104, i32* %9
%105 = load i32, i32* %9
%106 = load i32, i32* %7
%107 = mul nsw i32 2, %106
%108 = icmp sgt i32 %105, %107
br i1 %108, label %109, label %110
109: ; preds = %74
store i32 0, i32* %4
br label %125
110: ; preds = %74
%111 = load float, float* %10
%112 = load float*, float** %14
%113 = load i32, i32* %7
%114 = call float @lsp_g(float %111, float* %112, i32 %113)
store float %114, float* %16
br label %115
115: ; preds = %110, %30
%116 = load float, float* %16
store float %116, float* %15
br label %117
117: ; preds = %115
%118 = load float, float* %10
%119 = fpext float %118 to double
%120 = fsub double %119, 7.812500e-03
%121 = fptrunc double %120 to float
store float %121, float* %10
br label %26
122: ; preds = %26
%123 = load i32, i32* @stderr
%124 = call i32 @fprintf(i32 %123, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %4
br label %125
125: ; preds = %122, %109
%126 = load i32, i32* %4
ret i32 %126
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [40 x i8] c"\0A Error(lsp_roots): LSPs Not All Found\0A\00"
define i32 @lsp_roots(float* nocapture writeonly %0, float** nocapture %1, i32 %2) {
store float 0.000000e+00, float* %0
%4 = load float*, float** %1
%5 = tail call float @lsp_g(float 1.000000e+00, float* %4, i32 %2)
%6 = shl nsw i32 %2, 1
br label %7
7: ; preds = %3, %74
%8 = phi float [ %5, %3 ], [ %78, %74 ]
%9 = phi float* [ %4, %3 ], [ %77, %74 ]
%10 = phi float [ 0x3FEFC00000000000, %3 ], [ %79, %74 ]
%11 = phi i32 [ 1, %3 ], [ %75, %74 ]
%12 = tail call float @lsp_g(float %10, float* %9, i32 %2)
%13 = fmul float %8, %12
%14 = fcmp ugt float %13, 0.000000e+00
br i1 %14, label %74, label %15
15: ; preds = %7
%16 = fadd float %10, 7.812500e-03
%17 = fadd float %16, %10
%18 = fmul float %17, 5.000000e-01
%19 = tail call float @lsp_g(float %18, float* %9, i32 %2)
%20 = fmul float %8, %19
%21 = fcmp olt float %20, 0.000000e+00
%22 = select i1 %21, float %16, float %18
%23 = select i1 %21, float %18, float %10
%24 = select i1 %21, float %8, float %19
%25 = select i1 %21, float %19, float %12
%26 = fadd float %22, %23
%27 = fmul float %26, 5.000000e-01
%28 = tail call float @lsp_g(float %27, float* %9, i32 %2)
%29 = fmul float %24, %28
%30 = fcmp olt float %29, 0.000000e+00
%31 = select i1 %30, float %22, float %27
%32 = select i1 %30, float %27, float %23
%33 = select i1 %30, float %24, float %28
%34 = select i1 %30, float %28, float %25
%35 = fadd float %31, %32
%36 = fmul float %35, 5.000000e-01
%37 = tail call float @lsp_g(float %36, float* %9, i32 %2)
%38 = fmul float %33, %37
%39 = fcmp olt float %38, 0.000000e+00
%40 = select i1 %39, float %31, float %36
%41 = select i1 %39, float %36, float %32
%42 = select i1 %39, float %33, float %37
%43 = select i1 %39, float %37, float %34
%44 = fadd float %40, %41
%45 = fmul float %44, 5.000000e-01
%46 = tail call float @lsp_g(float %45, float* %9, i32 %2)
%47 = fmul float %42, %46
%48 = fcmp olt float %47, 0.000000e+00
%49 = select i1 %48, float %40, float %45
%50 = select i1 %48, float %45, float %41
%51 = select i1 %48, float %42, float %46
%52 = select i1 %48, float %46, float %43
%53 = fneg float %51
%54 = fmul float %50, %53
%55 = tail call float @llvm.fmuladd.f32(float %52, float %49, float %54)
%56 = fsub float %52, %51
%57 = fdiv float %55, %56
%58 = fpext float %57 to double
%59 = tail call i64 @acos(double %58)
%60 = sitofp i64 %59 to float
%61 = fpext float %60 to double
%62 = fdiv double %61, 0x400921FB54442D18
%63 = fptrunc double %62 to float
%64 = sext i32 %11 to i64
%65 = getelementptr inbounds float, float* %0, i64 %64
store float %63, float* %65
%66 = srem i32 %11, 2
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float*, float** %1, i64 %67
%69 = load float*, float** %68
%70 = icmp slt i32 %11, %6
br i1 %70, label %71, label %84
71: ; preds = %15
%72 = add nsw i32 %11, 1
%73 = tail call float @lsp_g(float %57, float* %69, i32 %2)
br label %74
74: ; preds = %71, %7
%75 = phi i32 [ %72, %71 ], [ %11, %7 ]
%76 = phi float [ %57, %71 ], [ %10, %7 ]
%77 = phi float* [ %69, %71 ], [ %9, %7 ]
%78 = phi float [ %73, %71 ], [ %12, %7 ]
%79 = fadd float %76, -7.812500e-03
%80 = fcmp ogt float %79, 0xBFF0200000000000
br i1 %80, label %7, label %81
81: ; preds = %74
%82 = load i32, i32* @stderr
%83 = tail call i32 @fprintf(i32 %82, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
br label %84
84: ; preds = %15, %81
%85 = phi i32 [ 1, %81 ], [ 0, %15 ]
ret i32 %85
}