void dircontourdata(double *cont, int *length, int *N, int *no1, int *no2,
                    double *len, double *len1, double *len2, double *tet) {
  int i, j;
  double *contp, dl, dtet, nx = 0, ny = 0, dx, dy, ln;
  *N = length[0];
  *no1 = 0;
  *no2 = 0;
  *len = 0;
  *len1 = 0;
  *len2 = 0;
  *tet = 0;
  if (length[0] > 0) {
    contp = cont;
    for (j = 0; j < length[0]; j++) {
      for (i = 1, contp += 2; i < length[j * 2 + 2]; i++, contp += 2) {
        dx = contp[0] - contp[-2];
        dy = contp[1] - contp[-1];
        dl = sqrt(((dx) * (dx)) + ((dy) * (dy)));
        *len += dl;
        dtet = atan2(dy, dx);
        nx += dl * cos(2 * dtet);
        ny += dl * sin(2 * dtet);
      }
      if (length[3 + j * 2] == 4)
        (*no1)++;
      else if (length[3 + j * 2] == -4)
        (*no2)++;
    }
    ln = sqrt(((nx) * (nx)) + ((ny) * (ny)));
    *tet = atan2(ny, nx) / 2;
    *len1 = *len - ln;
    *len2 = *len + ln;
  }
}


x86 assembly (clang, -O0):
<dircontourdata>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x20(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x28(%rbp),%rax
movl   $0x0,(%rax)
mov    -0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    0x10(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
cmpl   $0x0,(%rax)
jle    1403 <dircontourdata+0x2c3>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    (%rcx),%eax
jge    1390 <dircontourdata+0x250>
movl   $0x1,-0x34(%rbp)
mov    -0x40(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x40(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x10(%rbp),%rcx
mov    -0x38(%rbp),%edx
shl    $0x1,%edx
add    $0x2,%edx
movslq %edx,%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1329 <dircontourdata+0x1e9>
mov    -0x40(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x40(%rbp),%rax
subsd  -0x10(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x40(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x40(%rbp),%rax
subsd  -0x8(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1060 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x30(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  -0x70(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
call   1030 <atan2@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xd4e(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
call   1050 <cos@plt>
movaps %xmm0,%xmm2
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xd15(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm2
movsd  -0x80(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x40(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x40(%rbp)
jmp    1209 <dircontourdata+0xc9>
mov    -0x10(%rbp),%rax
mov    -0x38(%rbp),%ecx
shl    $0x1,%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
cmpl   $0x4,(%rax,%rcx,4)
jne    1353 <dircontourdata+0x213>
mov    -0x20(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
jmp    137d <dircontourdata+0x23d>
mov    -0x10(%rbp),%rax
mov    -0x38(%rbp),%ecx
shl    $0x1,%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
cmpl   $0xfffffffc,(%rax,%rcx,4)
jne    1378 <dircontourdata+0x238>
mov    -0x28(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
jmp    137d <dircontourdata+0x23d>
jmp    1382 <dircontourdata+0x242>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11e7 <dircontourdata+0xa7>
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1060 <sqrt@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
call   1030 <atan2@plt>
movsd  0xc33(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x78(%rbp),%xmm0
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
addsd  -0x78(%rbp),%xmm0
mov    0x18(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dircontourdata>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rsi,%r12
mov    %rdi,%rbx
mov    0xa0(%rsp),%rdi
mov    0x98(%rsp),%rbp
mov    0x90(%rsp),%rsi
mov    (%r12),%eax
mov    %eax,(%rdx)
movl   $0x0,(%rcx)
mov    %r8,0x30(%rsp)
movl   $0x0,(%r8)
movq   $0x0,(%r9)
movq   $0x0,(%rsi)
movq   $0x0,0x0(%rbp)
movq   $0x0,(%rdi)
cmpl   $0x0,(%r12)
jle    13ad <dircontourdata+0x26d>
mov    %r9,%r13
xorpd  %xmm1,%xmm1
xor    %ebp,%ebp
mov    %rcx,0x38(%rsp)
jmp    11d4 <dircontourdata+0x94>
nopl   0x0(%rax)
addl   $0x1,(%rdx)
add    $0x1,%rbp
movslq (%r12),%rax
cmp    %rax,%rbp
jge    1314 <dircontourdata+0x1d4>
mov    %rbp,%r14
add    %rbp,%r14
add    $0x10,%rbx
cmpl   $0x2,0x8(%r12,%rbp,8)
jl     12ed <dircontourdata+0x1ad>
mov    $0x1,%r15d
jmp    128d <dircontourdata+0x14d>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  %xmm1,0x10(%rsp)
movsd  %xmm4,(%rsp)
call   1060 <sqrt@plt>
movsd  (%rsp),%xmm4
movsd  0x10(%rsp),%xmm1
movapd %xmm0,0x10(%rsp)
movsd  0x0(%r13),%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x0(%r13)
movapd %xmm4,%xmm0
call   1030 <atan2@plt>
addsd  %xmm0,%xmm0
movsd  %xmm0,(%rsp)
call   1050 <cos@plt>
movapd %xmm0,0x40(%rsp)
movsd  (%rsp),%xmm0
call   1040 <sin@plt>
movapd 0x40(%rsp),%xmm2
movapd 0x10(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
unpcklpd %xmm0,%xmm2
mulpd  %xmm1,%xmm2
movapd %xmm2,%xmm1
movapd 0x20(%rsp),%xmm0
addpd  %xmm0,%xmm1
add    $0x1,%r15d
add    $0x10,%rbx
cmp    0x8(%r12,%r14,4),%r15d
jge    12e0 <dircontourdata+0x1a0>
movapd %xmm1,%xmm2
movsd  (%rbx),%xmm1
subsd  -0x10(%rbx),%xmm1
movsd  0x8(%rbx),%xmm4
subsd  -0x8(%rbx),%xmm4
movapd %xmm4,%xmm3
mulsd  %xmm4,%xmm3
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm3,%xmm0
ucomisd 0xd48(%rip),%xmm0
movapd %xmm2,0x20(%rsp)
jb     1200 <dircontourdata+0xc0>
sqrtsd %xmm0,%xmm0
jmp    121b <dircontourdata+0xdb>
cs nopw 0x0(%rax,%rax,1)
nop
addpd  %xmm0,%xmm2
movapd %xmm2,%xmm1
mov    0x38(%rsp),%rcx
add    $0x3,%r14d
mov    (%r12,%r14,4),%eax
mov    %rcx,%rdx
cmp    $0x4,%eax
je     11c0 <dircontourdata+0x80>
cmp    $0xfffffffc,%eax
jne    11c3 <dircontourdata+0x83>
mov    0x30(%rsp),%rdx
jmp    11c0 <dircontourdata+0x80>
movapd %xmm1,%xmm3
unpckhpd %xmm1,%xmm3
movapd %xmm3,%xmm2
mulsd  %xmm3,%xmm2
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
xorpd  %xmm2,%xmm2
ucomisd %xmm2,%xmm0
jb     1340 <dircontourdata+0x200>
sqrtsd %xmm0,%xmm0
jmp    135b <dircontourdata+0x21b>
movapd %xmm1,0x10(%rsp)
movapd %xmm3,(%rsp)
call   1060 <sqrt@plt>
movapd (%rsp),%xmm3
movapd 0x10(%rsp),%xmm1
movsd  %xmm0,0x20(%rsp)
mov    0x98(%rsp),%rbx
mov    0x90(%rsp),%rbp
movapd %xmm3,%xmm0
call   1030 <atan2@plt>
mulsd  0xc7e(%rip),%xmm0
mov    0xa0(%rsp),%rax
movsd  %xmm0,(%rax)
movsd  0x0(%r13),%xmm0
movsd  0x20(%rsp),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%rbp)
addsd  0x0(%r13),%xmm1
movsd  %xmm1,(%rbx)
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @dircontourdata(double* %0, i32* %1, i32* %2, i32* %3, i32* %4, double* %5, double* %6, double* %7, double* %8) {
%10 = alloca double*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca double*
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca i32
%20 = alloca i32
%21 = alloca double*
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
store double* %0, double** %10
store i32* %1, i32** %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32* %4, i32** %14
store double* %5, double** %15
store double* %6, double** %16
store double* %7, double** %17
store double* %8, double** %18
store double 0.000000e+00, double* %24
store double 0.000000e+00, double* %25
%29 = load i32*, i32** %11
%30 = getelementptr inbounds i32, i32* %29, i64 0
%31 = load i32, i32* %30
%32 = load i32*, i32** %12
store i32 %31, i32* %32
%33 = load i32*, i32** %13
store i32 0, i32* %33
%34 = load i32*, i32** %14
store i32 0, i32* %34
%35 = load double*, double** %15
store double 0.000000e+00, double* %35
%36 = load double*, double** %16
store double 0.000000e+00, double* %36
%37 = load double*, double** %17
store double 0.000000e+00, double* %37
%38 = load double*, double** %18
store double 0.000000e+00, double* %38
%39 = load i32*, i32** %11
%40 = getelementptr inbounds i32, i32* %39, i64 0
%41 = load i32, i32* %40
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %164
43: ; preds = %9
%44 = load double*, double** %10
store double* %44, double** %21
store i32 0, i32* %20
br label %45
45: ; preds = %138, %43
%46 = load i32, i32* %20
%47 = load i32*, i32** %11
%48 = getelementptr inbounds i32, i32* %47, i64 0
%49 = load i32, i32* %48
%50 = icmp slt i32 %46, %49
br i1 %50, label %51, label %141
51: ; preds = %45
store i32 1, i32* %19
%52 = load double*, double** %21
%53 = getelementptr inbounds double, double* %52, i64 2
store double* %53, double** %21
br label %54
54: ; preds = %105, %51
%55 = load i32, i32* %19
%56 = load i32*, i32** %11
%57 = load i32, i32* %20
%58 = mul nsw i32 %57, 2
%59 = add nsw i32 %58, 2
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, i32* %56, i64 %60
%62 = load i32, i32* %61
%63 = icmp slt i32 %55, %62
br i1 %63, label %64, label %110
64: ; preds = %54
%65 = load double*, double** %21
%66 = getelementptr inbounds double, double* %65, i64 0
%67 = load double, double* %66
%68 = load double*, double** %21
%69 = getelementptr inbounds double, double* %68, i64 -2
%70 = load double, double* %69
%71 = fsub double %67, %70
store double %71, double* %26
%72 = load double*, double** %21
%73 = getelementptr inbounds double, double* %72, i64 1
%74 = load double, double* %73
%75 = load double*, double** %21
%76 = getelementptr inbounds double, double* %75, i64 -1
%77 = load double, double* %76
%78 = fsub double %74, %77
store double %78, double* %27
%79 = load double, double* %26
%80 = load double, double* %26
%81 = load double, double* %27
%82 = load double, double* %27
%83 = fmul double %81, %82
%84 = call double @llvm.fmuladd.f64(double %79, double %80, double %83)
%85 = call double @sqrt(double %84)
store double %85, double* %22
%86 = load double, double* %22
%87 = load double*, double** %15
%88 = load double, double* %87
%89 = fadd double %88, %86
store double %89, double* %87
%90 = load double, double* %27
%91 = load double, double* %26
%92 = call double @atan2(double %90, double %91)
store double %92, double* %23
%93 = load double, double* %22
%94 = load double, double* %23
%95 = fmul double 2.000000e+00, %94
%96 = call double @cos(double %95)
%97 = load double, double* %24
%98 = call double @llvm.fmuladd.f64(double %93, double %96, double %97)
store double %98, double* %24
%99 = load double, double* %22
%100 = load double, double* %23
%101 = fmul double 2.000000e+00, %100
%102 = call double @sin(double %101)
%103 = load double, double* %25
%104 = call double @llvm.fmuladd.f64(double %99, double %102, double %103)
store double %104, double* %25
br label %105
105: ; preds = %64
%106 = load i32, i32* %19
%107 = add nsw i32 %106, 1
store i32 %107, i32* %19
%108 = load double*, double** %21
%109 = getelementptr inbounds double, double* %108, i64 2
store double* %109, double** %21
br label %54
110: ; preds = %54
%111 = load i32*, i32** %11
%112 = load i32, i32* %20
%113 = mul nsw i32 %112, 2
%114 = add nsw i32 3, %113
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, i32* %111, i64 %115
%117 = load i32, i32* %116
%118 = icmp eq i32 %117, 4
br i1 %118, label %119, label %123
119: ; preds = %110
%120 = load i32*, i32** %13
%121 = load i32, i32* %120
%122 = add nsw i32 %121, 1
store i32 %122, i32* %120
br label %137
123: ; preds = %110
%124 = load i32*, i32** %11
%125 = load i32, i32* %20
%126 = mul nsw i32 %125, 2
%127 = add nsw i32 3, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, i32* %124, i64 %128
%130 = load i32, i32* %129
%131 = icmp eq i32 %130, -4
br i1 %131, label %132, label %136
132: ; preds = %123
%133 = load i32*, i32** %14
%134 = load i32, i32* %133
%135 = add nsw i32 %134, 1
store i32 %135, i32* %133
br label %136
136: ; preds = %132, %123
br label %137
137: ; preds = %136, %119
br label %138
138: ; preds = %137
%139 = load i32, i32* %20
%140 = add nsw i32 %139, 1
store i32 %140, i32* %20
br label %45
141: ; preds = %45
%142 = load double, double* %24
%143 = load double, double* %24
%144 = load double, double* %25
%145 = load double, double* %25
%146 = fmul double %144, %145
%147 = call double @llvm.fmuladd.f64(double %142, double %143, double %146)
%148 = call double @sqrt(double %147)
store double %148, double* %28
%149 = load double, double* %25
%150 = load double, double* %24
%151 = call double @atan2(double %149, double %150)
%152 = fdiv double %151, 2.000000e+00
%153 = load double*, double** %18
store double %152, double* %153
%154 = load double*, double** %15
%155 = load double, double* %154
%156 = load double, double* %28
%157 = fsub double %155, %156
%158 = load double*, double** %16
store double %157, double* %158
%159 = load double*, double** %15
%160 = load double, double* %159
%161 = load double, double* %28
%162 = fadd double %160, %161
%163 = load double*, double** %17
store double %162, double* %163
br label %164
164: ; preds = %141, %9
ret void
}

LLVM IR (-O2):
define void @dircontourdata(double* nocapture %0, i32* nocapture %1, i32* nocapture writeonly %2, i32* nocapture %3, i32* nocapture %4, double* nocapture %5, double* nocapture writeonly %6, double* nocapture writeonly %7, double* nocapture writeonly %8) {
%10 = load i32, i32* %1
store i32 %10, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
store double 0.000000e+00, double* %5
store double 0.000000e+00, double* %6
store double 0.000000e+00, double* %7
store double 0.000000e+00, double* %8
%11 = load i32, i32* %1
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %85
13: ; preds = %9, %68
%14 = phi i64 [ %69, %68 ], [ 0, %9 ]
%15 = phi double* [ %57, %68 ], [ %0, %9 ]
%16 = phi <2 x double> [ %58, %68 ], [ zeroinitializer, %9 ]
%17 = shl nuw nsw i64 %14, 1
%18 = add nuw nsw i64 %17, 2
%19 = getelementptr inbounds i32, i32* %1, i64 %18
%20 = getelementptr inbounds double, double* %15, i64 2
%21 = load i32, i32* %19
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %56
23: ; preds = %13, %23
%24 = phi double* [ %51, %23 ], [ %20, %13 ]
%25 = phi i32 [ %50, %23 ], [ 1, %13 ]
%26 = phi double* [ %24, %23 ], [ %15, %13 ]
%27 = phi <2 x double> [ %49, %23 ], [ %16, %13 ]
%28 = load double, double* %24
%29 = load double, double* %26
%30 = fsub double %28, %29
%31 = getelementptr inbounds double, double* %26, i64 3
%32 = load double, double* %31
%33 = getelementptr inbounds double, double* %26, i64 1
%34 = load double, double* %33
%35 = fsub double %32, %34
%36 = fmul double %35, %35
%37 = tail call double @llvm.fmuladd.f64(double %30, double %30, double %36)
%38 = tail call double @sqrt(double %37)
%39 = load double, double* %5
%40 = fadd double %38, %39
store double %40, double* %5
%41 = tail call double @atan2(double %35, double %30)
%42 = fmul double %41, 2.000000e+00
%43 = tail call double @cos(double %42)
%44 = tail call double @sin(double %42)
%45 = insertelement <2 x double> poison, double %38, i64 0
%46 = shufflevector <2 x double> %45, <2 x double> poison, <2 x i32> zeroinitializer
%47 = insertelement <2 x double> poison, double %43, i64 0
%48 = insertelement <2 x double> %47, double %44, i64 1
%49 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %48, <2 x double> %27)
%50 = add nuw nsw i32 %25, 1
%51 = getelementptr inbounds double, double* %24, i64 2
%52 = load i32, i32* %19
%53 = icmp slt i32 %50, %52
br i1 %53, label %23, label %54
54: ; preds = %23
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %48, <2 x double> %27)
br label %56
56: ; preds = %54, %13
%57 = phi double* [ %20, %13 ], [ %51, %54 ]
%58 = phi <2 x double> [ %16, %13 ], [ %55, %54 ]
%59 = add nuw i64 %17, 3
%60 = and i64 %59, 4294967295
%61 = getelementptr inbounds i32, i32* %1, i64 %60
%62 = load i32, i32* %61
switch i32 %62, label %68 [
i32 4, label %64
i32 -4, label %63
]
63: ; preds = %56
br label %64
64: ; preds = %56, %63
%65 = phi i32* [ %4, %63 ], [ %3, %56 ]
%66 = load i32, i32* %65
%67 = add nsw i32 %66, 1
store i32 %67, i32* %65
br label %68
68: ; preds = %64, %56
%69 = add nuw nsw i64 %14, 1
%70 = load i32, i32* %1
%71 = sext i32 %70 to i64
%72 = icmp slt i64 %69, %71
br i1 %72, label %13, label %73
73: ; preds = %68
%74 = extractelement <2 x double> %58, i64 1
%75 = fmul double %74, %74
%76 = extractelement <2 x double> %58, i64 0
%77 = tail call double @llvm.fmuladd.f64(double %76, double %76, double %75)
%78 = tail call double @sqrt(double %77)
%79 = tail call double @atan2(double %74, double %76)
%80 = fmul double %79, 5.000000e-01
store double %80, double* %8
%81 = load double, double* %5
%82 = fsub double %81, %78
store double %82, double* %6
%83 = load double, double* %5
%84 = fadd double %78, %83
store double %84, double* %7
br label %85
85: ; preds = %73, %9
ret void
}