#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 _positive_solver_rec(double **, double *, double *, int);
int alloc_symm_matrix(double ***, int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ free(double *);
int /*<<< orphan*/ free_matrix(double **, int);
double *malloc(int);
int /*<<< orphan*/ stderr;
int posdef_positive_solver(double **A, double *x, double *b, int n) {
  int status = 0;
  double **A_copy = NULL;
  double *b_copy = NULL;
  status = alloc_symm_matrix(&A_copy, n);
  {
    if ((status) < 0) {
      {
        {
          fprintf(stderr, "Line %3d of File %s \n", 162,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/"
                  "heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c");
        };
        status = (status);
        goto BYE;
      }
    }
  };
  b_copy = malloc(n * sizeof(double));
  {
    if (b_copy == NULL) {
      fprintf(stderr, "Unable to allocate memory\n");
      {
        {
          fprintf(stderr, "Line %3d of File %s \n", 164,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/"
                  "heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c");
        };
        status = -1;
        goto BYE;
      };
    }
  };
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n - i; j++) {
      A_copy[i][j] = A[i][j];
    }
    b_copy[i] = b[i];
  }
  status = _positive_solver_rec(A_copy, x, b_copy, n);
BYE:
  free_matrix(A_copy, n);
  {
    if ((b_copy) != NULL) {
      free((b_copy));
      (b_copy) = NULL;
    }
  };
  return status;
}


x86 assembly (clang, -O0):
<posdef_positive_solver>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
mov    -0x1c(%rbp),%esi
lea    -0x28(%rbp),%rdi
call   1060 <alloc_symm_matrix@plt>
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jge    11d5 <posdef_positive_solver+0x75>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0xe49(%rip),%rsi
mov    $0xa2,%edx
lea    0xe53(%rip),%rcx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    12db <posdef_positive_solver+0x17b>
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    1239 <posdef_positive_solver+0xd9>
mov    0x2de6(%rip),%rax
mov    (%rax),%edi
lea    0xebb(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2dcf(%rip),%rax
mov    (%rax),%edi
lea    0xde6(%rip),%rsi
mov    $0xa4,%edx
lea    0xdf0(%rip),%rcx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0xffffffff,-0x20(%rbp)
jmp    12db <posdef_positive_solver+0x17b>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12c4 <posdef_positive_solver+0x164>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x1c(%rbp),%ecx
sub    -0x34(%rbp),%ecx
cmp    %ecx,%eax
jge    129c <posdef_positive_solver+0x13c>
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1253 <posdef_positive_solver+0xf3>
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1240 <posdef_positive_solver+0xe0>
mov    -0x28(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
call   1080 <_positive_solver_rec@plt>
mov    %eax,-0x20(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x1c(%rbp),%esi
call   1040 <free_matrix@plt>
cmpq   $0x0,-0x30(%rbp)
je     1303 <posdef_positive_solver+0x1a3>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x30(%rbp)
mov    -0x20(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<posdef_positive_solver>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %ecx,%r14d
mov    %rdx,%r15
mov    %rsi,%rbx
mov    %rdi,0x10(%rsp)
movq   $0x0,0x8(%rsp)
lea    0x8(%rsp),%rdi
mov    %ecx,%esi
call   1060 <alloc_symm_matrix@plt>
test   %eax,%eax
js     13e1 <posdef_positive_solver+0x281>
lea    0x0(,%r14,8),%edi
call   1070 <malloc@plt>
test   %rax,%rax
je     13ea <posdef_positive_solver+0x28a>
mov    %rax,%r12
mov    %rbx,0x18(%rsp)
test   %r14d,%r14d
mov    0x10(%rsp),%r8
jle    13b3 <posdef_positive_solver+0x253>
mov    0x8(%rsp),%rdx
mov    %r14d,%r9d
xor    %r13d,%r13d
mov    %r14d,%esi
mov    %rdx,0x20(%rsp)
jmp    1200 <posdef_positive_solver+0xa0>
nopw   0x0(%rax,%rax,1)
movsd  (%r15,%r13,8),%xmm0
movsd  %xmm0,(%r12,%r13,8)
add    $0x1,%r13
add    $0xffffffff,%r10d
mov    %r10d,%esi
cmp    %r9,%r13
je     13b3 <posdef_positive_solver+0x253>
mov    %esi,%r10d
mov    %r14d,%ecx
sub    %r13d,%ecx
mov    %r14d,%r11d
sub    %r13d,%r11d
jle    11e0 <posdef_positive_solver+0x80>
mov    (%r8,%r13,8),%rdi
mov    (%rdx,%r13,8),%rbp
cmp    $0x4,%r11d
jb     123c <posdef_positive_solver+0xdc>
lea    (%rdi,%r11,8),%rax
cmp    %rax,%rbp
jae    12ad <posdef_positive_solver+0x14d>
lea    0x0(,%r11,8),%rax
add    %rbp,%rax
cmp    %rax,%rdi
jae    12ad <posdef_positive_solver+0x14d>
xor    %ebx,%ebx
mov    %rbx,%rcx
not    %rcx
add    %r10,%rcx
test   $0x3,%r10b
je     1265 <posdef_positive_solver+0x105>
and    $0x3,%esi
movsd  (%rdi,%rbx,8),%xmm0
movsd  %xmm0,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
add    $0xffffffffffffffff,%rsi
jne    1250 <posdef_positive_solver+0xf0>
cmp    $0x3,%rcx
jb     11e0 <posdef_positive_solver+0x80>
nop
movsd  (%rdi,%rbx,8),%xmm0
movsd  %xmm0,0x0(%rbp,%rbx,8)
movsd  0x8(%rdi,%rbx,8),%xmm0
movsd  %xmm0,0x8(%rbp,%rbx,8)
movsd  0x10(%rdi,%rbx,8),%xmm0
movsd  %xmm0,0x10(%rbp,%rbx,8)
movsd  0x18(%rdi,%rbx,8),%xmm0
movsd  %xmm0,0x18(%rbp,%rbx,8)
add    $0x4,%rbx
cmp    %rbx,%r10
jne    1270 <posdef_positive_solver+0x110>
jmp    11e0 <posdef_positive_solver+0x80>
mov    %r10d,%eax
and    $0xfffffffc,%eax
add    $0xfffffffffffffffc,%rax
shr    $0x2,%rax
and    $0xfffffffc,%ecx
add    $0xfffffffffffffffc,%rcx
mov    %rcx,%r8
shr    $0x2,%r8
add    $0x1,%r8
cmp    $0xc,%rcx
jae    12d7 <posdef_positive_solver+0x177>
xor    %ecx,%ecx
jmp    1349 <posdef_positive_solver+0x1e9>
lea    0x1(%rax),%rbx
and    $0xfffffffffffffffc,%rbx
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movups (%rdi,%rcx,8),%xmm0
movups 0x10(%rdi,%rcx,8),%xmm1
movups %xmm0,0x0(%rbp,%rcx,8)
movups %xmm1,0x10(%rbp,%rcx,8)
movups 0x20(%rdi,%rcx,8),%xmm0
movups 0x30(%rdi,%rcx,8),%xmm1
movups %xmm0,0x20(%rbp,%rcx,8)
movups %xmm1,0x30(%rbp,%rcx,8)
movups 0x40(%rdi,%rcx,8),%xmm0
movups 0x50(%rdi,%rcx,8),%xmm1
movups %xmm0,0x40(%rbp,%rcx,8)
movups %xmm1,0x50(%rbp,%rcx,8)
movups 0x60(%rdi,%rcx,8),%xmm0
movups 0x70(%rdi,%rcx,8),%xmm1
movups %xmm0,0x60(%rbp,%rcx,8)
movups %xmm1,0x70(%rbp,%rcx,8)
add    $0x10,%rcx
add    $0xfffffffffffffffc,%rbx
jne    12f0 <posdef_positive_solver+0x190>
mov    %r11d,%ebx
and    $0xfffffffc,%ebx
test   $0x3,%r8b
je     139b <posdef_positive_solver+0x23b>
add    $0x1,%al
movzbl %al,%r8d
and    $0x3,%r8d
shl    $0x5,%r8
lea    0x10(,%rcx,8),%rax
add    %rbp,%rax
lea    (%rdi,%rcx,8),%rcx
add    $0x10,%rcx
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
movups -0x10(%rcx,%rdx,1),%xmm0
movups (%rcx,%rdx,1),%xmm1
movups %xmm0,-0x10(%rax,%rdx,1)
movups %xmm1,(%rax,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%r8
jne    1380 <posdef_positive_solver+0x220>
cmp    %r11,%rbx
mov    0x10(%rsp),%r8
mov    0x20(%rsp),%rdx
je     11e0 <posdef_positive_solver+0x80>
jmp    123e <posdef_positive_solver+0xde>
mov    0x8(%rsp),%rdi
mov    0x18(%rsp),%rsi
mov    %r12,%rdx
mov    %r14d,%ecx
call   1080 <_positive_solver_rec@plt>
mov    %eax,%ebp
mov    0x8(%rsp),%rdi
mov    %r14d,%esi
call   1040 <free_matrix@plt>
mov    %r12,%rdi
call   1030 <free@plt>
jmp    1436 <posdef_positive_solver+0x2d6>
mov    %eax,%ebp
mov    $0xa2,%edx
jmp    140b <posdef_positive_solver+0x2ab>
mov    0x2bef(%rip),%rax
mov    (%rax),%edi
lea    0xcc4(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0xffffffff,%ebp
mov    $0xa4,%edx
mov    0x2bce(%rip),%rax
mov    (%rax),%edi
lea    0xbe5(%rip),%rsi
lea    0xbf4(%rip),%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x8(%rsp),%rdi
mov    %r14d,%esi
call   1040 <free_matrix@plt>
mov    %ebp,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [22 x i8] c"Line %3d of File %s \0A\00"
@.str.1 = [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c\00"
@.str.2 = [27 x i8] c"Unable to allocate memory\0A\00"
define i32 @posdef_positive_solver(double** %0, double* %1, double* %2, i32 %3) {
%5 = alloca double**
%6 = alloca double*
%7 = alloca double*
%8 = alloca i32
%9 = alloca i32
%10 = alloca double**
%11 = alloca double*
%12 = alloca i32
%13 = alloca i32
store double** %0, double*** %5
store double* %1, double** %6
store double* %2, double** %7
store i32 %3, i32* %8
store i32 0, i32* %9
store double** null, double*** %10
store double* null, double** %11
%14 = load i32, i32* %8
%15 = call i32 @alloc_symm_matrix(double*** %10, i32 %14)
store i32 %15, i32* %9
%16 = load i32, i32* %9
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %4
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 162, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
%21 = load i32, i32* %9
store i32 %21, i32* %9
br label %87
22: ; preds = %4
%23 = load i32, i32* %8
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = trunc i64 %25 to i32
%27 = call double* @malloc(i32 %26)
store double* %27, double** %11
%28 = load double*, double** %11
%29 = icmp eq double* %28, null
br i1 %29, label %30, label %35
30: ; preds = %22
%31 = load i32, i32* @stderr
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%33 = load i32, i32* @stderr
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 164, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %87
35: ; preds = %22
store i32 0, i32* %12
br label %36
36: ; preds = %78, %35
%37 = load i32, i32* %12
%38 = load i32, i32* %8
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %81
40: ; preds = %36
store i32 0, i32* %13
br label %41
41: ; preds = %65, %40
%42 = load i32, i32* %13
%43 = load i32, i32* %8
%44 = load i32, i32* %12
%45 = sub nsw i32 %43, %44
%46 = icmp slt i32 %42, %45
br i1 %46, label %47, label %68
47: ; preds = %41
%48 = load double**, double*** %5
%49 = load i32, i32* %12
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double*, double** %48, i64 %50
%52 = load double*, double** %51
%53 = load i32, i32* %13
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %52, i64 %54
%56 = load double, double* %55
%57 = load double**, double*** %10
%58 = load i32, i32* %12
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double*, double** %57, i64 %59
%61 = load double*, double** %60
%62 = load i32, i32* %13
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, double* %61, i64 %63
store double %56, double* %64
br label %65
65: ; preds = %47
%66 = load i32, i32* %13
%67 = add nsw i32 %66, 1
store i32 %67, i32* %13
br label %41
68: ; preds = %41
%69 = load double*, double** %7
%70 = load i32, i32* %12
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, double* %69, i64 %71
%73 = load double, double* %72
%74 = load double*, double** %11
%75 = load i32, i32* %12
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %74, i64 %76
store double %73, double* %77
br label %78
78: ; preds = %68
%79 = load i32, i32* %12
%80 = add nsw i32 %79, 1
store i32 %80, i32* %12
br label %36
81: ; preds = %36
%82 = load double**, double*** %10
%83 = load double*, double** %6
%84 = load double*, double** %11
%85 = load i32, i32* %8
%86 = call i32 @_positive_solver_rec(double** %82, double* %83, double* %84, i32 %85)
store i32 %86, i32* %9
br label %87
87: ; preds = %81, %30, %18
%88 = load double**, double*** %10
%89 = load i32, i32* %8
%90 = call i32 @free_matrix(double** %88, i32 %89)
%91 = load double*, double** %11
%92 = icmp ne double* %91, null
br i1 %92, label %93, label %96
93: ; preds = %87
%94 = load double*, double** %11
%95 = call i32 @free(double* %94)
store double* null, double** %11
br label %96
96: ; preds = %93, %87
%97 = load i32, i32* %9
ret i32 %97
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [22 x i8] c"Line %3d of File %s \0A\00"
@.str.1 = [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c\00"
@.str.2 = [27 x i8] c"Unable to allocate memory\0A\00"
define i32 @posdef_positive_solver(double** nocapture %0, double* %1, double* nocapture %2, i32 %3) {
%5 = alloca double**
%6 = bitcast double*** %5 to i8*
store double** null, double*** %5
%7 = call i32 @alloc_symm_matrix(double*** %5, i32 %3)
%8 = icmp slt i32 %7, 0
br i1 %8, label %173, label %9
9: ; preds = %4
%10 = shl i32 %3, 3
%11 = call double* @malloc(i32 %10)
%12 = icmp eq double* %11, null
br i1 %12, label %18, label %13
13: ; preds = %9
%14 = icmp sgt i32 %3, 0
br i1 %14, label %15, label %180
15: ; preds = %13
%16 = load double**, double*** %5
%17 = zext i32 %3 to i64
br label %21
18: ; preds = %9
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
br label %173
21: ; preds = %15, %147
%22 = phi i64 [ 0, %15 ], [ %151, %147 ]
%23 = phi i32 [ %3, %15 ], [ %152, %147 ]
%24 = zext i32 %23 to i64
%25 = trunc i64 %22 to i32
%26 = sub i32 %3, %25
%27 = and i32 %26, -4
%28 = zext i32 %27 to i64
%29 = add nsw i64 %28, -4
%30 = lshr exact i64 %29, 2
%31 = add nuw nsw i64 %30, 1
%32 = trunc i64 %22 to i32
%33 = sub i32 %3, %32
%34 = zext i32 %33 to i64
%35 = trunc i64 %22 to i32
%36 = sub i32 %3, %35
%37 = zext i32 %36 to i64
%38 = trunc i64 %22 to i32
%39 = icmp slt i32 %38, %3
br i1 %39, label %40, label %147
40: ; preds = %21
%41 = getelementptr inbounds double*, double** %0, i64 %22
%42 = load double*, double** %41
%43 = getelementptr inbounds double*, double** %16, i64 %22
%44 = load double*, double** %43
%45 = zext i32 %23 to i64
%46 = icmp ult i32 %33, 4
br i1 %46, label %129, label %47
47: ; preds = %40
%48 = getelementptr double, double* %44, i64 %37
%49 = getelementptr double, double* %42, i64 %37
%50 = icmp ult double* %44, %49
%51 = icmp ult double* %42, %48
%52 = and i1 %50, %51
br i1 %52, label %129, label %53
53: ; preds = %47
%54 = and i64 %34, 4294967292
%55 = and i64 %31, 3
%56 = icmp ult i64 %29, 12
br i1 %56, label %108, label %57
57: ; preds = %53
%58 = and i64 %31, 9223372036854775804
br label %59
59: ; preds = %59, %57
%60 = phi i64 [ 0, %57 ], [ %105, %59 ]
%61 = phi i64 [ 0, %57 ], [ %106, %59 ]
%62 = getelementptr inbounds double, double* %42, i64 %60
%63 = bitcast double* %62 to <2 x double>*
%64 = load <2 x double>, <2 x double>* %63
%65 = getelementptr inbounds double, double* %62, i64 2
%66 = bitcast double* %65 to <2 x double>*
%67 = load <2 x double>, <2 x double>* %66
%68 = getelementptr inbounds double, double* %44, i64 %60
%69 = bitcast double* %68 to <2 x double>*
store <2 x double> %64, <2 x double>* %69
%70 = getelementptr inbounds double, double* %68, i64 2
%71 = bitcast double* %70 to <2 x double>*
store <2 x double> %67, <2 x double>* %71
%72 = or i64 %60, 4
%73 = getelementptr inbounds double, double* %42, i64 %72
%74 = bitcast double* %73 to <2 x double>*
%75 = load <2 x double>, <2 x double>* %74
%76 = getelementptr inbounds double, double* %73, i64 2
%77 = bitcast double* %76 to <2 x double>*
%78 = load <2 x double>, <2 x double>* %77
%79 = getelementptr inbounds double, double* %44, i64 %72
%80 = bitcast double* %79 to <2 x double>*
store <2 x double> %75, <2 x double>* %80
%81 = getelementptr inbounds double, double* %79, i64 2
%82 = bitcast double* %81 to <2 x double>*
store <2 x double> %78, <2 x double>* %82
%83 = or i64 %60, 8
%84 = getelementptr inbounds double, double* %42, i64 %83
%85 = bitcast double* %84 to <2 x double>*
%86 = load <2 x double>, <2 x double>* %85
%87 = getelementptr inbounds double, double* %84, i64 2
%88 = bitcast double* %87 to <2 x double>*
%89 = load <2 x double>, <2 x double>* %88
%90 = getelementptr inbounds double, double* %44, i64 %83
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> %86, <2 x double>* %91
%92 = getelementptr inbounds double, double* %90, i64 2
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> %89, <2 x double>* %93
%94 = or i64 %60, 12
%95 = getelementptr inbounds double, double* %42, i64 %94
%96 = bitcast double* %95 to <2 x double>*
%97 = load <2 x double>, <2 x double>* %96
%98 = getelementptr inbounds double, double* %95, i64 2
%99 = bitcast double* %98 to <2 x double>*
%100 = load <2 x double>, <2 x double>* %99
%101 = getelementptr inbounds double, double* %44, i64 %94
%102 = bitcast double* %101 to <2 x double>*
store <2 x double> %97, <2 x double>* %102
%103 = getelementptr inbounds double, double* %101, i64 2
%104 = bitcast double* %103 to <2 x double>*
store <2 x double> %100, <2 x double>* %104
%105 = add nuw i64 %60, 16
%106 = add nuw i64 %61, 4
%107 = icmp eq i64 %106, %58
br i1 %107, label %108, label %59
108: ; preds = %59, %53
%109 = phi i64 [ 0, %53 ], [ %105, %59 ]
%110 = icmp eq i64 %55, 0
br i1 %110, label %127, label %111
111: ; preds = %108, %111
%112 = phi i64 [ %124, %111 ], [ %109, %108 ]
%113 = phi i64 [ %125, %111 ], [ 0, %108 ]
%114 = getelementptr inbounds double, double* %42, i64 %112
%115 = bitcast double* %114 to <2 x double>*
%116 = load <2 x double>, <2 x double>* %115
%117 = getelementptr inbounds double, double* %114, i64 2
%118 = bitcast double* %117 to <2 x double>*
%119 = load <2 x double>, <2 x double>* %118
%120 = getelementptr inbounds double, double* %44, i64 %112
%121 = bitcast double* %120 to <2 x double>*
store <2 x double> %116, <2 x double>* %121
%122 = getelementptr inbounds double, double* %120, i64 2
%123 = bitcast double* %122 to <2 x double>*
store <2 x double> %119, <2 x double>* %123
%124 = add nuw i64 %112, 4
%125 = add i64 %113, 1
%126 = icmp eq i64 %125, %55
br i1 %126, label %127, label %111
127: ; preds = %111, %108
%128 = icmp eq i64 %54, %34
br i1 %128, label %147, label %129
129: ; preds = %47, %40, %127
%130 = phi i64 [ 0, %47 ], [ 0, %40 ], [ %54, %127 ]
%131 = xor i64 %130, -1
%132 = add nsw i64 %131, %24
%133 = and i64 %24, 3
%134 = icmp eq i64 %133, 0
br i1 %134, label %144, label %135
135: ; preds = %129, %135
%136 = phi i64 [ %141, %135 ], [ %130, %129 ]
%137 = phi i64 [ %142, %135 ], [ 0, %129 ]
%138 = getelementptr inbounds double, double* %42, i64 %136
%139 = load double, double* %138
%140 = getelementptr inbounds double, double* %44, i64 %136
store double %139, double* %140
%141 = add nuw nsw i64 %136, 1
%142 = add i64 %137, 1
%143 = icmp eq i64 %142, %133
br i1 %143, label %144, label %135
144: ; preds = %135, %129
%145 = phi i64 [ %130, %129 ], [ %141, %135 ]
%146 = icmp ult i64 %132, 3
br i1 %146, label %147, label %154
147: ; preds = %144, %154, %127, %21
%148 = getelementptr inbounds double, double* %2, i64 %22
%149 = load double, double* %148
%150 = getelementptr inbounds double, double* %11, i64 %22
store double %149, double* %150
%151 = add nuw nsw i64 %22, 1
%152 = add i32 %23, -1
%153 = icmp eq i64 %151, %17
br i1 %153, label %180, label %21
154: ; preds = %144, %154
%155 = phi i64 [ %171, %154 ], [ %145, %144 ]
%156 = getelementptr inbounds double, double* %42, i64 %155
%157 = load double, double* %156
%158 = getelementptr inbounds double, double* %44, i64 %155
store double %157, double* %158
%159 = add nuw nsw i64 %155, 1
%160 = getelementptr inbounds double, double* %42, i64 %159
%161 = load double, double* %160
%162 = getelementptr inbounds double, double* %44, i64 %159
store double %161, double* %162
%163 = add nuw nsw i64 %155, 2
%164 = getelementptr inbounds double, double* %42, i64 %163
%165 = load double, double* %164
%166 = getelementptr inbounds double, double* %44, i64 %163
store double %165, double* %166
%167 = add nuw nsw i64 %155, 3
%168 = getelementptr inbounds double, double* %42, i64 %167
%169 = load double, double* %168
%170 = getelementptr inbounds double, double* %44, i64 %167
store double %169, double* %170
%171 = add nuw nsw i64 %155, 4
%172 = icmp eq i64 %171, %45
br i1 %172, label %147, label %154
173: ; preds = %4, %18
%174 = phi i32 [ 164, %18 ], [ 162, %4 ]
%175 = phi i32 [ -1, %18 ], [ %7, %4 ]
%176 = load i32, i32* @stderr
%177 = call i32 (i32, i8*, ...) @fprintf(i32 %176, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 %174, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
%178 = load double**, double*** %5
%179 = call i32 @free_matrix(double** %178, i32 %3)
br label %186
180: ; preds = %147, %13
%181 = load double**, double*** %5
%182 = call i32 @_positive_solver_rec(double** %181, double* %1, double* %11, i32 %3)
%183 = load double**, double*** %5
%184 = call i32 @free_matrix(double** %183, i32 %3)
%185 = call i32 @free(double* %11)
br label %186
186: ; preds = %173, %180
%187 = phi i32 [ %175, %173 ], [ %182, %180 ]
ret i32 %187
}