#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 invert_matrix_3x3(long double *, long double *);
int /*<<< orphan*/ mult(long double *, long double *, long double *);
int intersect_tri_with_line(const double *plane, const double *l1,
                            const double *l2, double *p, double *t) {
  long double M[3 * 3], inv_M[3 * 3];
  long double V[3];
  long double X[3];
  int is_invert = 0;
  const double *pnt0 = plane;
  const double *pnt1 = plane + 3;
  const double *pnt2 = plane + 6;
  M[0] = l1[0] - l2[0];
  M[1] = pnt1[0] - pnt0[0];
  M[2] = pnt2[0] - pnt0[0];
  M[3] = l1[1] - l2[1];
  M[4] = pnt1[1] - pnt0[1];
  M[5] = pnt2[1] - pnt0[1];
  M[6] = l1[2] - l2[2];
  M[7] = pnt1[2] - pnt0[2];
  M[8] = pnt2[2] - pnt0[2];
  is_invert = invert_matrix_3x3(M, inv_M);
  if (!is_invert)
    return 0;
  V[0] = l1[0] - pnt0[0];
  V[1] = l1[1] - pnt0[1];
  V[2] = l1[2] - pnt0[2];
  mult(inv_M, V, X);
  *t = ((double)X[0]);
  p[0] = ((double)X[1]);
  p[1] = ((double)X[2]);
  return 1;
}


x86 assembly (clang, -O0):
<intersect_tri_with_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x240,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
movl   $0x0,-0x1b4(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
mov    -0x10(%rbp),%rax
add    $0x18,%rax
mov    %rax,-0x1c8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x30,%rax
mov    %rax,-0x1d0(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x1d8(%rbp)
ff
fldl   -0x1d8(%rbp)
fstpt  -0xc0(%rbp)
mov    -0x1c8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  (%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x1e0(%rbp)
ff
fldl   -0x1e0(%rbp)
fstpt  -0xb0(%rbp)
mov    -0x1d0(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  (%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x1e8(%rbp)
ff
fldl   -0x1e8(%rbp)
fstpt  -0xa0(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x1f0(%rbp)
ff
fldl   -0x1f0(%rbp)
fstpt  -0x90(%rbp)
mov    -0x1c8(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x8(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x1f8(%rbp)
ff
fldl   -0x1f8(%rbp)
fstpt  -0x80(%rbp)
mov    -0x1d0(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x8(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x200(%rbp)
ff
fldl   -0x200(%rbp)
fstpt  -0x70(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x208(%rbp)
ff
fldl   -0x208(%rbp)
fstpt  -0x60(%rbp)
mov    -0x1c8(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x10(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x210(%rbp)
ff
fldl   -0x210(%rbp)
fstpt  -0x50(%rbp)
mov    -0x1d0(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x10(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x218(%rbp)
ff
fldl   -0x218(%rbp)
fstpt  -0x40(%rbp)
lea    -0xc0(%rbp),%rdi
lea    -0x150(%rbp),%rsi
call   1030 <invert_matrix_3x3@plt>
mov    %eax,-0x1b4(%rbp)
cmpl   $0x0,-0x1b4(%rbp)
jne    132d <intersect_tri_with_line+0x20d>
movl   $0x0,-0x4(%rbp)
jmp    1408 <intersect_tri_with_line+0x2e8>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  (%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x220(%rbp)
ff
fldl   -0x220(%rbp)
fstpt  -0x180(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x8(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x228(%rbp)
ff
fldl   -0x228(%rbp)
fstpt  -0x170(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x1c0(%rbp),%rax
movsd  0x10(%rax),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x230(%rbp)
ff
fldl   -0x230(%rbp)
fstpt  -0x160(%rbp)
lea    -0x150(%rbp),%rdi
lea    -0x180(%rbp),%rsi
lea    -0x1b0(%rbp),%rdx
call   1040 <mult@plt>
fldt   -0x1b0(%rbp)
mov    -0x30(%rbp),%rax
fstpl  (%rax)
fldt   -0x1a0(%rbp)
mov    -0x28(%rbp),%rax
fstpl  (%rax)
fldt   -0x190(%rbp)
fstpl  -0x238(%rbp)
movsd  -0x238(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x240,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<intersect_tri_with_line>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x1e8,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  (%rsi),%xmm0
subsd  (%rdx),%xmm0
movsd  %xmm0,0x58(%rsp)
fldl   0x58(%rsp)
fstpt  0xc0(%rsp)
movsd  (%rdi),%xmm0
movsd  0x18(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x50(%rsp)
fldl   0x50(%rsp)
fstpt  0xd0(%rsp)
movsd  0x30(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x48(%rsp)
fldl   0x48(%rsp)
fstpt  0xe0(%rsp)
movsd  0x8(%rsi),%xmm0
subsd  0x8(%rdx),%xmm0
mov    %r8,%r12
mov    %rcx,%r15
movsd  %xmm0,0x40(%rsp)
fldl   0x40(%rsp)
fstpt  0xf0(%rsp)
movsd  0x8(%rdi),%xmm0
movsd  0x20(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x38(%rsp)
fldl   0x38(%rsp)
fstpt  0x100(%rsp)
movsd  0x38(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x30(%rsp)
fldl   0x30(%rsp)
fstpt  0x110(%rsp)
movsd  0x10(%rsi),%xmm0
subsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x28(%rsp)
fldl   0x28(%rsp)
fstpt  0x120(%rsp)
movsd  0x10(%rdi),%xmm0
movsd  0x28(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
fldl   0x20(%rsp)
fstpt  0x130(%rsp)
movsd  0x40(%rdi),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
fldl   0x18(%rsp)
fstpt  0x140(%rsp)
lea    0xc0(%rsp),%rdi
lea    0x150(%rsp),%rsi
call   1030 <invert_matrix_3x3@plt>
test   %eax,%eax
je     12db <intersect_tri_with_line+0x1bb>
movsd  (%r14),%xmm0
subsd  (%rbx),%xmm0
movsd  %xmm0,0x10(%rsp)
fldl   0x10(%rsp)
fstpt  0x90(%rsp)
movsd  0x8(%r14),%xmm0
subsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
fldl   0x8(%rsp)
fstpt  0xa0(%rsp)
movsd  0x10(%r14),%xmm0
subsd  0x10(%rbx),%xmm0
movsd  %xmm0,(%rsp)
fldl   (%rsp)
fstpt  0xb0(%rsp)
lea    0x150(%rsp),%rdi
lea    0x90(%rsp),%rsi
lea    0x60(%rsp),%rdx
call   1040 <mult@plt>
fldt   0x60(%rsp)
fstpl  (%r12)
fldt   0x70(%rsp)
fstpl  (%r15)
fldt   0x80(%rsp)
fstpl  0x8(%r15)
mov    $0x1,%eax
jmp    12dd <intersect_tri_with_line+0x1bd>
xor    %eax,%eax
add    $0x1e8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
define i32 @intersect_tri_with_line(double* nocapture %0, double* nocapture %1, double* nocapture %2, double* nocapture writeonly %3, double* nocapture writeonly %4) {
%6 = alloca [9 x x86_fp80]
%7 = alloca [9 x x86_fp80]
%8 = alloca [3 x x86_fp80]
%9 = alloca [3 x x86_fp80]
%10 = bitcast [9 x x86_fp80]* %6 to i8*
%11 = bitcast [9 x x86_fp80]* %7 to i8*
%12 = bitcast [3 x x86_fp80]* %8 to i8*
%13 = bitcast [3 x x86_fp80]* %9 to i8*
%14 = getelementptr inbounds double, double* %0, i64 3
%15 = getelementptr inbounds double, double* %0, i64 6
%16 = load double, double* %1
%17 = load double, double* %2
%18 = fsub double %16, %17
%19 = fpext double %18 to x86_fp80
%20 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 0
store x86_fp80 %19, x86_fp80* %20
%21 = load double, double* %14
%22 = load double, double* %0
%23 = fsub double %21, %22
%24 = fpext double %23 to x86_fp80
%25 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 1
store x86_fp80 %24, x86_fp80* %25
%26 = load double, double* %15
%27 = fsub double %26, %22
%28 = fpext double %27 to x86_fp80
%29 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 2
store x86_fp80 %28, x86_fp80* %29
%30 = getelementptr inbounds double, double* %1, i64 1
%31 = load double, double* %30
%32 = getelementptr inbounds double, double* %2, i64 1
%33 = load double, double* %32
%34 = fsub double %31, %33
%35 = fpext double %34 to x86_fp80
%36 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 3
store x86_fp80 %35, x86_fp80* %36
%37 = getelementptr inbounds double, double* %0, i64 4
%38 = load double, double* %37
%39 = getelementptr inbounds double, double* %0, i64 1
%40 = load double, double* %39
%41 = fsub double %38, %40
%42 = fpext double %41 to x86_fp80
%43 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 4
store x86_fp80 %42, x86_fp80* %43
%44 = getelementptr inbounds double, double* %0, i64 7
%45 = load double, double* %44
%46 = fsub double %45, %40
%47 = fpext double %46 to x86_fp80
%48 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 5
store x86_fp80 %47, x86_fp80* %48
%49 = getelementptr inbounds double, double* %1, i64 2
%50 = load double, double* %49
%51 = getelementptr inbounds double, double* %2, i64 2
%52 = load double, double* %51
%53 = fsub double %50, %52
%54 = fpext double %53 to x86_fp80
%55 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 6
store x86_fp80 %54, x86_fp80* %55
%56 = getelementptr inbounds double, double* %0, i64 5
%57 = load double, double* %56
%58 = getelementptr inbounds double, double* %0, i64 2
%59 = load double, double* %58
%60 = fsub double %57, %59
%61 = fpext double %60 to x86_fp80
%62 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 7
store x86_fp80 %61, x86_fp80* %62
%63 = getelementptr inbounds double, double* %0, i64 8
%64 = load double, double* %63
%65 = fsub double %64, %59
%66 = fpext double %65 to x86_fp80
%67 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %6, i64 0, i64 8
store x86_fp80 %66, x86_fp80* %67
%68 = getelementptr inbounds [9 x x86_fp80], [9 x x86_fp80]* %7, i64 0, i64 0
%69 = call i32 @invert_matrix_3x3(x86_fp80* %20, x86_fp80* %68)
%70 = icmp eq i32 %69, 0
br i1 %70, label %98, label %71
71: ; preds = %5
%72 = load double, double* %1
%73 = load double, double* %0
%74 = fsub double %72, %73
%75 = fpext double %74 to x86_fp80
%76 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %8, i64 0, i64 0
store x86_fp80 %75, x86_fp80* %76
%77 = load double, double* %30
%78 = load double, double* %39
%79 = fsub double %77, %78
%80 = fpext double %79 to x86_fp80
%81 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %8, i64 0, i64 1
store x86_fp80 %80, x86_fp80* %81
%82 = load double, double* %49
%83 = load double, double* %58
%84 = fsub double %82, %83
%85 = fpext double %84 to x86_fp80
%86 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %8, i64 0, i64 2
store x86_fp80 %85, x86_fp80* %86
%87 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %9, i64 0, i64 0
%88 = call i32 @mult(x86_fp80* %68, x86_fp80* %76, x86_fp80* %87)
%89 = load x86_fp80, x86_fp80* %87
%90 = fptrunc x86_fp80 %89 to double
store double %90, double* %4
%91 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %9, i64 0, i64 1
%92 = load x86_fp80, x86_fp80* %91
%93 = fptrunc x86_fp80 %92 to double
store double %93, double* %3
%94 = getelementptr inbounds [3 x x86_fp80], [3 x x86_fp80]* %9, i64 0, i64 2
%95 = load x86_fp80, x86_fp80* %94
%96 = fptrunc x86_fp80 %95 to double
%97 = getelementptr inbounds double, double* %3, i64 1
store double %96, double* %97
br label %98
98: ; preds = %5, %71
%99 = phi i32 [ 1, %71 ], [ 0, %5 ]
ret i32 %99
}