#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*/ dist_closed_point(double *, int, double **, int);
int /*<<< orphan*/ dist_nearest_point(double *, int, double **, int);
scalar_t__ fabs(scalar_t__);
int /*<<< orphan*/ free_matrix(void **, int);
int /*<<< orphan*/ free_vector(double *);
double **get_extreme_sols(double **, int, int);
double *get_max_values(double **, int, int);
double *get_min_values(double **, int, int);
double **normalize_front(double **, int, int, double *, double *);
scalar_t__ sqrt(int /*<<< orphan*/);
double generalized_spread(double **front, int frontlen, double **truefront,
                          int truefrontlen, int nobj) {
  size_t i;
  double sum, sum_extremis, dbar, res;
  double *min_values, *max_values;
  double **extreme_sols, **norm_front, **norm_truefront;
  min_values = get_min_values(truefront, truefrontlen, nobj);
  max_values = get_max_values(truefront, truefrontlen, nobj);
  norm_front = normalize_front(front, frontlen, nobj, min_values, max_values);
  norm_truefront =
      normalize_front(truefront, truefrontlen, nobj, min_values, max_values);
  extreme_sols = get_extreme_sols(norm_truefront, truefrontlen, nobj);
  dbar = 0;
  for (i = 0; i < frontlen; i++) {
    dbar += sqrt(dist_nearest_point(norm_front[i], nobj, norm_front, frontlen));
  }
  dbar = dbar / frontlen;
  sum_extremis = 0;
  for (i = 0; i < nobj; i++) {
    sum_extremis +=
        sqrt(dist_closed_point(extreme_sols[i], nobj, norm_front, frontlen));
  }
  sum = 0;
  for (i = 0; i < frontlen; i++) {
    sum += fabs(
        sqrt(dist_nearest_point(norm_front[i], nobj, norm_front, frontlen)) -
        dbar);
  }
  res = (sum + sum_extremis) / (sum_extremis + frontlen * dbar);
  free_matrix((void **)norm_front, frontlen);
  free_matrix((void **)norm_truefront, truefrontlen);
  free_matrix((void **)extreme_sols, nobj);
  free_vector(min_values);
  free_vector(max_values);
  return (res);
}


x86 assembly (clang, -O0):
<generalized_spread>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
call   1080 <get_min_values@plt>
mov    %rax,-0x50(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
call   1090 <get_max_values@plt>
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x20(%rbp),%edx
mov    -0x50(%rbp),%rcx
mov    -0x58(%rbp),%r8
call   10c0 <normalize_front@plt>
mov    %rax,-0x68(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
mov    -0x50(%rbp),%rcx
mov    -0x58(%rbp),%r8
call   10c0 <normalize_front@plt>
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
call   1030 <get_extreme_sols@plt>
mov    %rax,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movq   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    128c <generalized_spread+0xec>
mov    -0x68(%rbp),%rax
mov    -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x20(%rbp),%esi
mov    -0x68(%rbp),%rdx
mov    -0xc(%rbp),%ecx
call   1070 <dist_nearest_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
cvtsi2sd %rax,%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    1239 <generalized_spread+0x99>
movsd  -0x40(%rbp),%xmm0
cvtsi2sdl -0xc(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
movq   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x20(%rbp),%rcx
cmp    %rcx,%rax
jae    1302 <generalized_spread+0x162>
mov    -0x60(%rbp),%rax
mov    -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x20(%rbp),%esi
mov    -0x68(%rbp),%rdx
mov    -0xc(%rbp),%ecx
call   10b0 <dist_closed_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
cvtsi2sd %rax,%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    12af <generalized_spread+0x10f>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movq   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    1379 <generalized_spread+0x1d9>
mov    -0x68(%rbp),%rax
mov    -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x20(%rbp),%esi
mov    -0x68(%rbp),%rdx
mov    -0xc(%rbp),%ecx
call   1070 <dist_nearest_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
cvtsi2sd %rax,%xmm0
subsd  -0x40(%rbp),%xmm0
cvttsd2si %xmm0,%rdi
call   1060 <fabs@plt>
cvtsi2sd %rax,%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    1312 <generalized_spread+0x172>
movsd  -0x30(%rbp),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
cvtsi2sdl -0xc(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x68(%rbp),%rdi
mov    -0xc(%rbp),%esi
call   1040 <free_matrix@plt>
mov    -0x70(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1040 <free_matrix@plt>
mov    -0x60(%rbp),%rdi
mov    -0x20(%rbp),%esi
call   1040 <free_matrix@plt>
mov    -0x50(%rbp),%rdi
call   1050 <free_vector@plt>
mov    -0x58(%rbp),%rdi
call   1050 <free_vector@plt>
movsd  -0x48(%rbp),%xmm0
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<generalized_spread>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r8d,%r13d
mov    %ecx,%ebp
mov    %rdx,%rbx
mov    %rdx,0x8(%rsp)
mov    %esi,%r15d
mov    %rdi,0x10(%rsp)
mov    %rdx,%rdi
mov    %ecx,%esi
mov    %r8d,%edx
call   1080 <get_min_values@plt>
mov    %rax,%r12
mov    %rbx,%rdi
mov    %ebp,%esi
mov    %r13d,%edx
call   1090 <get_max_values@plt>
mov    %rax,%r14
mov    0x10(%rsp),%rdi
mov    %r15d,%esi
mov    %r13d,%edx
mov    %r12,%rcx
mov    %rax,%r8
call   10c0 <normalize_front@plt>
mov    %rax,%rbx
mov    0x8(%rsp),%rdi
mov    %ebp,%esi
mov    %r13d,%edx
mov    %r12,0x40(%rsp)
mov    %r12,%rcx
mov    %r14,0x38(%rsp)
mov    %r14,%r8
call   10c0 <normalize_front@plt>
mov    %rax,0x30(%rsp)
mov    %rax,%rdi
mov    %ebp,0x24(%rsp)
mov    %ebp,%esi
mov    %r13d,%edx
call   1030 <get_extreme_sols@plt>
mov    %rax,%r14
movslq %r15d,%rax
xorps  %xmm0,%xmm0
mov    %rax,0x18(%rsp)
test   %eax,%eax
je     12a6 <generalized_spread+0x106>
mov    0x18(%rsp),%rax
cmp    $0x2,%rax
mov    $0x1,%r12d
cmovae %rax,%r12
xorps  %xmm0,%xmm0
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movsd  %xmm0,0x8(%rsp)
mov    (%rbx,%rbp,8),%rdi
mov    %r13d,%esi
mov    %rbx,%rdx
mov    %r15d,%ecx
call   1070 <dist_nearest_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movsd  0x8(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x8(%rsp),%xmm0
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1260 <generalized_spread+0xc0>
movsd  %xmm0,0x8(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r15d,%xmm0
movsd  %xmm0,0x28(%rsp)
test   %r13d,%r13d
xorpd  %xmm0,%xmm0
je     1316 <generalized_spread+0x176>
movslq %r13d,%r12
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
nopl   0x0(%rax)
movsd  %xmm0,0x10(%rsp)
mov    (%r14,%rbp,8),%rdi
mov    %r13d,%esi
mov    %rbx,%rdx
mov    %r15d,%ecx
call   10b0 <dist_closed_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x10(%rsp),%xmm0
add    $0x1,%rbp
cmp    %rbp,%r12
jne    12d0 <generalized_spread+0x130>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
divsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
test   %r15d,%r15d
je     13a4 <generalized_spread+0x204>
mov    0x18(%rsp),%rax
cmp    $0x2,%rax
mov    $0x1,%r12d
cmovae %rax,%r12
xorpd  %xmm1,%xmm1
xor    %ebp,%ebp
nopl   0x0(%rax)
movsd  %xmm1,0x18(%rsp)
mov    (%rbx,%rbp,8),%rdi
mov    %r13d,%esi
mov    %rbx,%rdx
mov    %r15d,%ecx
call   1070 <dist_nearest_point@plt>
mov    %eax,%edi
call   10a0 <sqrt@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
subsd  0x8(%rsp),%xmm0
cvttsd2si %xmm0,%rdi
call   1060 <fabs@plt>
movsd  0x18(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
addsd  %xmm0,%xmm1
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1350 <generalized_spread+0x1b0>
jmp    13a8 <generalized_spread+0x208>
xorpd  %xmm1,%xmm1
movsd  0x10(%rsp),%xmm0
addsd  %xmm0,%xmm1
movapd %xmm1,%xmm2
movsd  0x28(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm0,%xmm1
divsd  %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
mov    %rbx,%rdi
mov    %r15d,%esi
call   1040 <free_matrix@plt>
mov    0x30(%rsp),%rdi
mov    0x24(%rsp),%esi
call   1040 <free_matrix@plt>
mov    %r14,%rdi
mov    %r13d,%esi
call   1040 <free_matrix@plt>
mov    0x40(%rsp),%rdi
call   1050 <free_vector@plt>
mov    0x38(%rsp),%rdi
call   1050 <free_vector@plt>
movsd  0x18(%rsp),%xmm0
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define double @generalized_spread(double** %0, i32 %1, double** %2, i32 %3, i32 %4) {
%6 = tail call double* @get_min_values(double** %2, i32 %3, i32 %4)
%7 = tail call double* @get_max_values(double** %2, i32 %3, i32 %4)
%8 = tail call double** @normalize_front(double** %0, i32 %1, i32 %4, double* %6, double* %7)
%9 = tail call double** @normalize_front(double** %2, i32 %3, i32 %4, double* %6, double* %7)
%10 = tail call double** @get_extreme_sols(double** %9, i32 %3, i32 %4)
%11 = sext i32 %1 to i64
%12 = icmp eq i32 %1, 0
br i1 %12, label %26, label %13
13: ; preds = %5
%14 = call i64 @llvm.umax.i64(i64 %11, i64 1)
br label %15
15: ; preds = %13, %15
%16 = phi i64 [ %24, %15 ], [ 0, %13 ]
%17 = phi double [ %23, %15 ], [ 0.000000e+00, %13 ]
%18 = getelementptr inbounds double*, double** %8, i64 %16
%19 = load double*, double** %18
%20 = tail call i32 @dist_nearest_point(double* %19, i32 %4, double** %8, i32 %1)
%21 = tail call i64 @sqrt(i32 %20)
%22 = sitofp i64 %21 to double
%23 = fadd double %17, %22
%24 = add nuw i64 %16, 1
%25 = icmp eq i64 %24, %14
br i1 %25, label %26, label %15
26: ; preds = %15, %5
%27 = phi double [ 0.000000e+00, %5 ], [ %23, %15 ]
%28 = sitofp i32 %1 to double
%29 = fdiv double %27, %28
%30 = icmp eq i32 %4, 0
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = sext i32 %4 to i64
br label %37
33: ; preds = %37, %26
%34 = phi double [ 0.000000e+00, %26 ], [ %45, %37 ]
br i1 %12, label %63, label %35
35: ; preds = %33
%36 = call i64 @llvm.umax.i64(i64 %11, i64 1)
br label %48
37: ; preds = %31, %37
%38 = phi i64 [ %46, %37 ], [ 0, %31 ]
%39 = phi double [ %45, %37 ], [ 0.000000e+00, %31 ]
%40 = getelementptr inbounds double*, double** %10, i64 %38
%41 = load double*, double** %40
%42 = tail call i32 @dist_closed_point(double* %41, i32 %4, double** %8, i32 %1)
%43 = tail call i64 @sqrt(i32 %42)
%44 = sitofp i64 %43 to double
%45 = fadd double %39, %44
%46 = add nuw i64 %38, 1
%47 = icmp eq i64 %46, %32
br i1 %47, label %33, label %37
48: ; preds = %35, %48
%49 = phi i64 [ %61, %48 ], [ 0, %35 ]
%50 = phi double [ %60, %48 ], [ 0.000000e+00, %35 ]
%51 = getelementptr inbounds double*, double** %8, i64 %49
%52 = load double*, double** %51
%53 = tail call i32 @dist_nearest_point(double* %52, i32 %4, double** %8, i32 %1)
%54 = tail call i64 @sqrt(i32 %53)
%55 = sitofp i64 %54 to double
%56 = fsub double %55, %29
%57 = fptosi double %56 to i64
%58 = tail call i64 @fabs(i64 %57)
%59 = sitofp i64 %58 to double
%60 = fadd double %50, %59
%61 = add nuw i64 %49, 1
%62 = icmp eq i64 %61, %36
br i1 %62, label %63, label %48
63: ; preds = %48, %33
%64 = phi double [ 0.000000e+00, %33 ], [ %60, %48 ]
%65 = fadd double %34, %64
%66 = tail call double @llvm.fmuladd.f64(double %28, double %29, double %34)
%67 = fdiv double %65, %66
%68 = bitcast double** %8 to i8**
%69 = tail call i32 @free_matrix(i8** %68, i32 %1)
%70 = bitcast double** %9 to i8**
%71 = tail call i32 @free_matrix(i8** %70, i32 %3)
%72 = bitcast double** %10 to i8**
%73 = tail call i32 @free_matrix(i8** %72, i32 %4)
%74 = tail call i32 @free_vector(double* %6)
%75 = tail call i32 @free_vector(double* %7)
ret double %67
}