#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 full_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", 214,
                  "/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", 215,
                  "/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 + i];
    }
    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):
<full_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 <full_posdef_positive_solver+0x75>
mov    0x2e32(%rip),%rax
mov    (%rax),%edi
lea    0xe49(%rip),%rsi
mov    $0xd6,%edx
lea    0xe53(%rip),%rcx
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    12e0 <full_posdef_positive_solver+0x180>
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    1239 <full_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    $0xd7,%edx
lea    0xdf0(%rip),%rcx
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0xffffffff,-0x20(%rbp)
jmp    12e0 <full_posdef_positive_solver+0x180>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12c9 <full_posdef_positive_solver+0x169>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0x1c(%rbp),%ecx
sub    -0x34(%rbp),%ecx
cmp    %ecx,%eax
jge    12a1 <full_posdef_positive_solver+0x141>
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x38(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%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 <full_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 <full_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     1308 <full_posdef_positive_solver+0x1a8>
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):
<full_posdef_positive_solver>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %ecx,%r13d
mov    %rdx,0x40(%rsp)
mov    %rsi,%rbx
mov    %rdi,0x38(%rsp)
movq   $0x0,(%rsp)
mov    %rsp,%rdi
mov    %ecx,%esi
call   1060 <alloc_symm_matrix@plt>
test   %eax,%eax
js     146f <full_posdef_positive_solver+0x30f>
lea    0x0(,%r13,8),%edi
call   1070 <malloc@plt>
test   %rax,%rax
je     1478 <full_posdef_positive_solver+0x318>
mov    %rbx,0x18(%rsp)
test   %r13d,%r13d
jle    1440 <full_posdef_positive_solver+0x2e0>
mov    (%rsp),%r9
mov    %r13d,%ecx
mov    $0xe,%r11d
mov    $0x2,%r12d
xor    %r10d,%r10d
mov    %r13d,%ebp
mov    %r13,0x30(%rsp)
mov    %rax,0x28(%rsp)
mov    %r9,0x20(%rsp)
mov    %rcx,0x8(%rsp)
jmp    121d <full_posdef_positive_solver+0xbd>
nopl   0x0(%rax,%rax,1)
mov    0x40(%rsp),%rdx
movsd  (%rdx,%r10,8),%xmm0
movsd  %xmm0,(%rax,%r10,8)
add    $0x1,%r10
add    $0xffffffff,%r8d
add    $0x1,%r11
add    $0x1,%r12
mov    %r8d,%ebp
cmp    %rcx,%r10
je     1440 <full_posdef_positive_solver+0x2e0>
mov    %ebp,%r8d
mov    %r13d,%r14d
sub    %r10d,%r14d
jle    11f0 <full_posdef_positive_solver+0x90>
mov    0x38(%rsp),%rdx
mov    (%rdx,%r10,8),%rsi
mov    (%r9,%r10,8),%r15
cmp    $0x4,%r14d
jae    1250 <full_posdef_positive_solver+0xf0>
xor    %ebx,%ebx
jmp    13a0 <full_posdef_positive_solver+0x240>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    (%r10,%r14,1),%rcx
lea    (%rsi,%rcx,8),%rcx
cmp    %rcx,%r15
jae    1276 <full_posdef_positive_solver+0x116>
lea    (%r15,%r14,8),%rcx
lea    (%rsi,%r10,8),%rdx
cmp    %rcx,%rdx
jae    1276 <full_posdef_positive_solver+0x116>
xor    %ebx,%ebx
mov    0x8(%rsp),%rcx
jmp    13a0 <full_posdef_positive_solver+0x240>
mov    %r8d,%ecx
and    $0xfffffffc,%ecx
add    $0xfffffffffffffffc,%rcx
shr    $0x2,%rcx
mov    %r14d,%edx
and    $0xfffffffc,%edx
add    $0xfffffffffffffffc,%rdx
mov    %rdx,%rax
shr    $0x2,%rax
add    $0x1,%rax
cmp    $0xc,%rdx
mov    %rsi,0x10(%rsp)
jae    12ac <full_posdef_positive_solver+0x14c>
xor    %r13d,%r13d
jmp    1328 <full_posdef_positive_solver+0x1c8>
lea    0x1(%rcx),%rbx
and    $0xfffffffffffffffc,%rbx
lea    (%rsi,%r11,8),%r9
xor    %r13d,%r13d
nopl   0x0(%rax,%rax,1)
movups -0x70(%r9,%r13,8),%xmm0
movups -0x60(%r9,%r13,8),%xmm1
movups %xmm0,(%r15,%r13,8)
movups %xmm1,0x10(%r15,%r13,8)
movups -0x50(%r9,%r13,8),%xmm0
movups -0x40(%r9,%r13,8),%xmm1
movups %xmm0,0x20(%r15,%r13,8)
movups %xmm1,0x30(%r15,%r13,8)
movups -0x30(%r9,%r13,8),%xmm0
movups -0x20(%r9,%r13,8),%xmm1
movups %xmm0,0x40(%r15,%r13,8)
movups %xmm1,0x50(%r15,%r13,8)
movups -0x10(%r9,%r13,8),%xmm0
movups (%r9,%r13,8),%xmm1
movups %xmm0,0x60(%r15,%r13,8)
movups %xmm1,0x70(%r15,%r13,8)
add    $0x10,%r13
add    $0xfffffffffffffffc,%rbx
jne    12c0 <full_posdef_positive_solver+0x160>
mov    %r14d,%ebx
and    $0xfffffffc,%ebx
test   $0x3,%al
je     137b <full_posdef_positive_solver+0x21b>
add    $0x1,%cl
movzbl %cl,%esi
and    $0x3,%esi
shl    $0x5,%rsi
lea    (%r15,%r13,8),%rdx
add    $0x10,%rdx
add    %r12,%r13
mov    0x10(%rsp),%rax
lea    (%rax,%r13,8),%rdi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nop
movups -0x10(%rdi,%rcx,1),%xmm0
movups (%rdi,%rcx,1),%xmm1
movups %xmm0,-0x10(%rdx,%rcx,1)
movups %xmm1,(%rdx,%rcx,1)
add    $0x20,%rcx
cmp    %rcx,%rsi
jne    1360 <full_posdef_positive_solver+0x200>
cmp    %r14,%rbx
mov    0x30(%rsp),%r13
mov    0x28(%rsp),%rax
mov    0x20(%rsp),%r9
mov    0x8(%rsp),%rcx
mov    0x10(%rsp),%rsi
je     11f0 <full_posdef_positive_solver+0x90>
nopl   (%rax)
mov    %rbx,%rdx
not    %rdx
add    %r8,%rdx
test   $0x3,%r8b
je     13e1 <full_posdef_positive_solver+0x281>
and    $0x3,%ebp
mov    %rsi,%rdi
lea    (%rsi,%r10,8),%rsi
nopl   0x0(%rax)
movsd  (%rsi,%rbx,8),%xmm0
movsd  %xmm0,(%r15,%rbx,8)
add    $0x1,%rbx
add    $0xffffffffffffffff,%rbp
jne    13c0 <full_posdef_positive_solver+0x260>
cmp    $0x3,%rdx
jb     11f0 <full_posdef_positive_solver+0x90>
jmp    13ee <full_posdef_positive_solver+0x28e>
mov    %rsi,%rdi
cmp    $0x3,%rdx
jb     11f0 <full_posdef_positive_solver+0x90>
lea    (%rdi,%r12,8),%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  -0x10(%rdx,%rbx,8),%xmm0
movsd  %xmm0,(%r15,%rbx,8)
movsd  -0x8(%rdx,%rbx,8),%xmm0
movsd  %xmm0,0x8(%r15,%rbx,8)
movsd  (%rdx,%rbx,8),%xmm0
movsd  %xmm0,0x10(%r15,%rbx,8)
movsd  0x8(%rdx,%rbx,8),%xmm0
movsd  %xmm0,0x18(%r15,%rbx,8)
add    $0x4,%rbx
cmp    %rbx,%r8
jne    1400 <full_posdef_positive_solver+0x2a0>
jmp    11f0 <full_posdef_positive_solver+0x90>
mov    (%rsp),%rdi
mov    0x18(%rsp),%rsi
mov    %rax,%rdx
mov    %r13d,%ecx
mov    %rax,%rbx
call   1080 <_positive_solver_rec@plt>
mov    %eax,%ebp
mov    (%rsp),%rdi
mov    %r13d,%esi
call   1040 <free_matrix@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
jmp    14c3 <full_posdef_positive_solver+0x363>
mov    %eax,%ebp
mov    $0xd6,%edx
jmp    1499 <full_posdef_positive_solver+0x339>
mov    0x2b61(%rip),%rax
mov    (%rax),%edi
lea    0xc36(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0xffffffff,%ebp
mov    $0xd7,%edx
mov    0x2b40(%rip),%rax
mov    (%rax),%edi
lea    0xb57(%rip),%rsi
lea    0xb66(%rip),%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%rsp),%rdi
mov    %r13d,%esi
call   1040 <free_matrix@plt>
mov    %ebp,%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 = [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 @full_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 214, 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 %89
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 215, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
store i32 -1, i32* %9
br label %89
35: ; preds = %22
store i32 0, i32* %12
br label %36
36: ; preds = %80, %35
%37 = load i32, i32* %12
%38 = load i32, i32* %8
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %83
40: ; preds = %36
store i32 0, i32* %13
br label %41
41: ; preds = %67, %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 %70
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 = load i32, i32* %12
%55 = add nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, double* %52, i64 %56
%58 = load double, double* %57
%59 = load double**, double*** %10
%60 = load i32, i32* %12
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double*, double** %59, i64 %61
%63 = load double*, double** %62
%64 = load i32, i32* %13
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds double, double* %63, i64 %65
store double %58, double* %66
br label %67
67: ; preds = %47
%68 = load i32, i32* %13
%69 = add nsw i32 %68, 1
store i32 %69, i32* %13
br label %41
70: ; preds = %41
%71 = load double*, double** %7
%72 = load i32, i32* %12
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, double* %71, i64 %73
%75 = load double, double* %74
%76 = load double*, double** %11
%77 = load i32, i32* %12
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %76, i64 %78
store double %75, double* %79
br label %80
80: ; preds = %70
%81 = load i32, i32* %12
%82 = add nsw i32 %81, 1
store i32 %82, i32* %12
br label %36
83: ; preds = %36
%84 = load double**, double*** %10
%85 = load double*, double** %6
%86 = load double*, double** %11
%87 = load i32, i32* %8
%88 = call i32 @_positive_solver_rec(double** %84, double* %85, double* %86, i32 %87)
store i32 %88, i32* %9
br label %89
89: ; preds = %83, %30, %18
%90 = load double**, double*** %10
%91 = load i32, i32* %8
%92 = call i32 @free_matrix(double** %90, i32 %91)
%93 = load double*, double** %11
%94 = icmp ne double* %93, null
br i1 %94, label %95, label %98
95: ; preds = %89
%96 = load double*, double** %11
%97 = call i32 @free(double* %96)
store double* null, double** %11
br label %98
98: ; preds = %95, %89
%99 = load i32, i32* %9
ret i32 %99
}

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 @full_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 %185, 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 %192
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 %185
21: ; preds = %15, %155
%22 = phi i64 [ 0, %15 ], [ %159, %155 ]
%23 = phi i32 [ %3, %15 ], [ %160, %155 ]
%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 = add nuw i64 %22, %37
%39 = trunc i64 %22 to i32
%40 = icmp slt i32 %39, %3
br i1 %40, label %41, label %155
41: ; preds = %21
%42 = getelementptr inbounds double*, double** %0, i64 %22
%43 = load double*, double** %42
%44 = getelementptr inbounds double*, double** %16, i64 %22
%45 = load double*, double** %44
%46 = zext i32 %23 to i64
%47 = icmp ult i32 %33, 4
br i1 %47, label %136, label %48
48: ; preds = %41
%49 = getelementptr double, double* %45, i64 %37
%50 = getelementptr double, double* %43, i64 %22
%51 = getelementptr double, double* %43, i64 %38
%52 = icmp ult double* %45, %51
%53 = icmp ult double* %50, %49
%54 = and i1 %52, %53
br i1 %54, label %136, label %55
55: ; preds = %48
%56 = and i64 %34, 4294967292
%57 = and i64 %31, 3
%58 = icmp ult i64 %29, 12
br i1 %58, label %114, label %59
59: ; preds = %55
%60 = and i64 %31, 9223372036854775804
br label %61
61: ; preds = %61, %59
%62 = phi i64 [ 0, %59 ], [ %111, %61 ]
%63 = phi i64 [ 0, %59 ], [ %112, %61 ]
%64 = add nuw nsw i64 %62, %22
%65 = getelementptr inbounds double, double* %43, i64 %64
%66 = bitcast double* %65 to <2 x double>*
%67 = load <2 x double>, <2 x double>* %66
%68 = getelementptr inbounds double, double* %65, i64 2
%69 = bitcast double* %68 to <2 x double>*
%70 = load <2 x double>, <2 x double>* %69
%71 = getelementptr inbounds double, double* %45, i64 %62
%72 = bitcast double* %71 to <2 x double>*
store <2 x double> %67, <2 x double>* %72
%73 = getelementptr inbounds double, double* %71, i64 2
%74 = bitcast double* %73 to <2 x double>*
store <2 x double> %70, <2 x double>* %74
%75 = or i64 %62, 4
%76 = add nuw nsw i64 %75, %22
%77 = getelementptr inbounds double, double* %43, i64 %76
%78 = bitcast double* %77 to <2 x double>*
%79 = load <2 x double>, <2 x double>* %78
%80 = getelementptr inbounds double, double* %77, i64 2
%81 = bitcast double* %80 to <2 x double>*
%82 = load <2 x double>, <2 x double>* %81
%83 = getelementptr inbounds double, double* %45, i64 %75
%84 = bitcast double* %83 to <2 x double>*
store <2 x double> %79, <2 x double>* %84
%85 = getelementptr inbounds double, double* %83, i64 2
%86 = bitcast double* %85 to <2 x double>*
store <2 x double> %82, <2 x double>* %86
%87 = or i64 %62, 8
%88 = add nuw nsw i64 %87, %22
%89 = getelementptr inbounds double, double* %43, i64 %88
%90 = bitcast double* %89 to <2 x double>*
%91 = load <2 x double>, <2 x double>* %90
%92 = getelementptr inbounds double, double* %89, i64 2
%93 = bitcast double* %92 to <2 x double>*
%94 = load <2 x double>, <2 x double>* %93
%95 = getelementptr inbounds double, double* %45, i64 %87
%96 = bitcast double* %95 to <2 x double>*
store <2 x double> %91, <2 x double>* %96
%97 = getelementptr inbounds double, double* %95, i64 2
%98 = bitcast double* %97 to <2 x double>*
store <2 x double> %94, <2 x double>* %98
%99 = or i64 %62, 12
%100 = add nuw nsw i64 %99, %22
%101 = getelementptr inbounds double, double* %43, i64 %100
%102 = bitcast double* %101 to <2 x double>*
%103 = load <2 x double>, <2 x double>* %102
%104 = getelementptr inbounds double, double* %101, i64 2
%105 = bitcast double* %104 to <2 x double>*
%106 = load <2 x double>, <2 x double>* %105
%107 = getelementptr inbounds double, double* %45, i64 %99
%108 = bitcast double* %107 to <2 x double>*
store <2 x double> %103, <2 x double>* %108
%109 = getelementptr inbounds double, double* %107, i64 2
%110 = bitcast double* %109 to <2 x double>*
store <2 x double> %106, <2 x double>* %110
%111 = add nuw i64 %62, 16
%112 = add nuw i64 %63, 4
%113 = icmp eq i64 %112, %60
br i1 %113, label %114, label %61
114: ; preds = %61, %55
%115 = phi i64 [ 0, %55 ], [ %111, %61 ]
%116 = icmp eq i64 %57, 0
br i1 %116, label %134, label %117
117: ; preds = %114, %117
%118 = phi i64 [ %131, %117 ], [ %115, %114 ]
%119 = phi i64 [ %132, %117 ], [ 0, %114 ]
%120 = add nuw nsw i64 %118, %22
%121 = getelementptr inbounds double, double* %43, i64 %120
%122 = bitcast double* %121 to <2 x double>*
%123 = load <2 x double>, <2 x double>* %122
%124 = getelementptr inbounds double, double* %121, i64 2
%125 = bitcast double* %124 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = getelementptr inbounds double, double* %45, i64 %118
%128 = bitcast double* %127 to <2 x double>*
store <2 x double> %123, <2 x double>* %128
%129 = getelementptr inbounds double, double* %127, i64 2
%130 = bitcast double* %129 to <2 x double>*
store <2 x double> %126, <2 x double>* %130
%131 = add nuw i64 %118, 4
%132 = add i64 %119, 1
%133 = icmp eq i64 %132, %57
br i1 %133, label %134, label %117
134: ; preds = %117, %114
%135 = icmp eq i64 %56, %34
br i1 %135, label %155, label %136
136: ; preds = %48, %41, %134
%137 = phi i64 [ 0, %48 ], [ 0, %41 ], [ %56, %134 ]
%138 = xor i64 %137, -1
%139 = add nsw i64 %138, %24
%140 = and i64 %24, 3
%141 = icmp eq i64 %140, 0
br i1 %141, label %152, label %142
142: ; preds = %136, %142
%143 = phi i64 [ %149, %142 ], [ %137, %136 ]
%144 = phi i64 [ %150, %142 ], [ 0, %136 ]
%145 = add nuw nsw i64 %143, %22
%146 = getelementptr inbounds double, double* %43, i64 %145
%147 = load double, double* %146
%148 = getelementptr inbounds double, double* %45, i64 %143
store double %147, double* %148
%149 = add nuw nsw i64 %143, 1
%150 = add i64 %144, 1
%151 = icmp eq i64 %150, %140
br i1 %151, label %152, label %142
152: ; preds = %142, %136
%153 = phi i64 [ %137, %136 ], [ %149, %142 ]
%154 = icmp ult i64 %139, 3
br i1 %154, label %155, label %162
155: ; preds = %152, %162, %134, %21
%156 = getelementptr inbounds double, double* %2, i64 %22
%157 = load double, double* %156
%158 = getelementptr inbounds double, double* %11, i64 %22
store double %157, double* %158
%159 = add nuw nsw i64 %22, 1
%160 = add i32 %23, -1
%161 = icmp eq i64 %159, %17
br i1 %161, label %192, label %21
162: ; preds = %152, %162
%163 = phi i64 [ %183, %162 ], [ %153, %152 ]
%164 = add nuw nsw i64 %163, %22
%165 = getelementptr inbounds double, double* %43, i64 %164
%166 = load double, double* %165
%167 = getelementptr inbounds double, double* %45, i64 %163
store double %166, double* %167
%168 = add nuw nsw i64 %163, 1
%169 = add nuw nsw i64 %168, %22
%170 = getelementptr inbounds double, double* %43, i64 %169
%171 = load double, double* %170
%172 = getelementptr inbounds double, double* %45, i64 %168
store double %171, double* %172
%173 = add nuw nsw i64 %163, 2
%174 = add nuw nsw i64 %173, %22
%175 = getelementptr inbounds double, double* %43, i64 %174
%176 = load double, double* %175
%177 = getelementptr inbounds double, double* %45, i64 %173
store double %176, double* %177
%178 = add nuw nsw i64 %163, 3
%179 = add nuw nsw i64 %178, %22
%180 = getelementptr inbounds double, double* %43, i64 %179
%181 = load double, double* %180
%182 = getelementptr inbounds double, double* %45, i64 %178
store double %181, double* %182
%183 = add nuw nsw i64 %163, 4
%184 = icmp eq i64 %183, %46
br i1 %184, label %155, label %162
185: ; preds = %4, %18
%186 = phi i32 [ 215, %18 ], [ 214, %4 ]
%187 = phi i32 [ -1, %18 ], [ %7, %4 ]
%188 = load i32, i32* @stderr
%189 = call i32 (i32, i8*, ...) @fprintf(i32 %188, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 %186, i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0))
%190 = load double**, double*** %5
%191 = call i32 @free_matrix(double** %190, i32 %3)
br label %198
192: ; preds = %155, %13
%193 = load double**, double*** %5
%194 = call i32 @_positive_solver_rec(double** %193, double* %1, double* %11, i32 %3)
%195 = load double**, double*** %5
%196 = call i32 @free_matrix(double** %195, i32 %3)
%197 = call i32 @free(double* %11)
br label %198
198: ; preds = %185, %192
%199 = phi i32 [ %187, %185 ], [ %194, %192 ]
ret i32 %199
}