#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 */
double Deviation_from_identity(double **, int);
int EXIT_FAILURE;
int EXIT_SUCCESS;
double **Invert_matrix(double **, int);
double **Matrix_matrix_multiply(double **, double **, int);
double **Read_matrix_from_file(char *, int *);
int Write_matrix_to_file(char *, double **, int);
int /*<<< orphan*/ deallocateSpace(double **, int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, double);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int main(int argc, char **argv) {
  int size;
  double **data;
  double **invert;
  if (argc >= 4 && strcmp(argv[1], "-i") == 0) {
    data = Read_matrix_from_file(argv[2], &size);
    invert = Invert_matrix(data, size);
    if (invert == NULL) {
      fprintf(stderr, "ERROR: The inversion failed.\n");
      return (EXIT_FAILURE);
    }
    int sof = Write_matrix_to_file(argv[3], invert, size);
    if (sof == 0) {
      fprintf(stderr, "Writing to the file failed\n");
      return (EXIT_FAILURE);
    }
    deallocateSpace(invert, size);
  } else if (argc >= 5 && strcmp(argv[1], "-m") == 0) {
    double **aData;
    double **bData;
    double **output;
    int sizeb;
    aData = Read_matrix_from_file(argv[2], &size);
    bData = Read_matrix_from_file(argv[3], &sizeb);
    if (size != sizeb) {
      return (EXIT_FAILURE);
    }
    output = Matrix_matrix_multiply(aData, bData, size);
    int sof = Write_matrix_to_file(argv[4], output, size);
    if (sof == 0) {
      fprintf(stderr, "Writing to the file failed\n");
      return (EXIT_FAILURE);
    }
    deallocateSpace(aData, size);
    deallocateSpace(bData, sizeb);
    deallocateSpace(output, size);
  } else if (argc >= 3 && strcmp(argv[1], "-d") == 0) {
    data = Read_matrix_from_file(argv[2], &size);
    printf("%e\n", Deviation_from_identity(data, size));
  } else {
    fprintf(stderr,
            "ERROR: Enter in '-i', '-m', or '-d' as the third argument.\n");
    return (EXIT_FAILURE);
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jl     127c <main+0xec>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe41(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    127c <main+0xec>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1040 <Invert_matrix@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1224 <main+0x94>
mov    0x2ddb(%rip),%rax
mov    (%rax),%edi
lea    0xdf5(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2dbe(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1405 <main+0x275>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1080 <Write_matrix_to_file@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jne    126b <main+0xdb>
mov    0x2d94(%rip),%rax
mov    (%rax),%edi
lea    0xdcc(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2d77(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1405 <main+0x275>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1070 <deallocateSpace@plt>
jmp    13f9 <main+0x269>
cmpl   $0x5,-0x8(%rbp)
jl     136f <main+0x1df>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xda8(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    136f <main+0x1df>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
lea    -0x4c(%rbp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    %rax,-0x40(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4c(%rbp),%eax
je     12eb <main+0x15b>
mov    0x2cf7(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1405 <main+0x275>
mov    -0x38(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   10b0 <Matrix_matrix_multiply@plt>
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
mov    -0x48(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1080 <Write_matrix_to_file@plt>
mov    %eax,-0x50(%rbp)
cmpl   $0x0,-0x50(%rbp)
jne    1346 <main+0x1b6>
mov    0x2cb9(%rip),%rax
mov    (%rax),%edi
lea    0xcf1(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2c9c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1405 <main+0x275>
mov    -0x38(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1070 <deallocateSpace@plt>
mov    -0x40(%rbp),%rdi
mov    -0x4c(%rbp),%esi
call   1070 <deallocateSpace@plt>
mov    -0x48(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1070 <deallocateSpace@plt>
jmp    13f4 <main+0x264>
cmpl   $0x3,-0x8(%rbp)
jl     13c9 <main+0x239>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xcb8(%rip),%rsi
call   1090 <strcmp@plt>
cmp    $0x0,%rax
jne    13c9 <main+0x239>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    -0x14(%rbp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1060 <Deviation_from_identity@plt>
lea    0xc84(%rip),%rdi
call   1050 <printf@plt>
jmp    13ef <main+0x25f>
mov    0x2c10(%rip),%rax
mov    (%rax),%edi
lea    0xc6e(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2bf3(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1405 <main+0x275>
jmp    13f4 <main+0x264>
jmp    13f9 <main+0x269>
mov    0x2bd0(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
cmp    $0x4,%edi
jl     1257 <main+0xc7>
mov    0x8(%rbx),%rdi
lea    0xe4b(%rip),%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     12b7 <main+0x127>
cmp    $0x5,%ebp
jb     125c <main+0xcc>
mov    0x8(%rbx),%rdi
lea    0xe66(%rip),%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
jne    125c <main+0xcc>
mov    0x10(%rbx),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    %rax,%r14
mov    0x18(%rbx),%rdi
lea    0xc(%rsp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    0x8(%rsp),%edx
cmp    0xc(%rsp),%edx
jne    1286 <main+0xf6>
mov    %rax,%r15
mov    %r14,%rdi
mov    %rax,%rsi
call   10b0 <Matrix_matrix_multiply@plt>
mov    %rax,%r12
mov    0x20(%rbx),%rdi
mov    0x8(%rsp),%edx
mov    %rax,%rsi
call   1080 <Write_matrix_to_file@plt>
test   %eax,%eax
je     1324 <main+0x194>
mov    0x8(%rsp),%esi
mov    %r14,%rdi
call   1070 <deallocateSpace@plt>
mov    0xc(%rsp),%esi
mov    %r15,%rdi
call   1070 <deallocateSpace@plt>
mov    0x8(%rsp),%esi
mov    %r12,%rdi
jmp    12f4 <main+0x164>
cmp    $0x3,%ebp
jne    1271 <main+0xe1>
mov    0x8(%rbx),%rdi
lea    0xdd9(%rip),%rsi
call   1090 <strcmp@plt>
test   %rax,%rax
je     128f <main+0xff>
mov    0x2d68(%rip),%rax
mov    (%rax),%edi
lea    0xdc6(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2d4b(%rip),%rax
jmp    1300 <main+0x170>
mov    0x10(%rbx),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    0x8(%rsp),%esi
mov    %rax,%rdi
call   1060 <Deviation_from_identity@plt>
lea    0xd93(%rip),%rdi
call   1050 <printf@plt>
jmp    12f9 <main+0x169>
mov    0x10(%rbx),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Read_matrix_from_file@plt>
mov    0x8(%rsp),%esi
mov    %rax,%rdi
call   1040 <Invert_matrix@plt>
test   %rax,%rax
je     130f <main+0x17f>
mov    %rax,%r14
mov    0x18(%rbx),%rdi
mov    0x8(%rsp),%edx
mov    %rax,%rsi
call   1080 <Write_matrix_to_file@plt>
test   %eax,%eax
je     1324 <main+0x194>
mov    0x8(%rsp),%esi
mov    %r14,%rdi
call   1070 <deallocateSpace@plt>
mov    0x2cd0(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cca(%rip),%rax
mov    (%rax),%edi
lea    0xce4(%rip),%rsi
jmp    1281 <main+0xf1>
mov    0x2cb5(%rip),%rax
mov    (%rax),%edi
lea    0xced(%rip),%rsi
jmp    1281 <main+0xf1>

LLVM IR (-O0):
@.str = [3 x i8] c"-i\00"
@stderr = global i32 0
@.str.1 = [30 x i8] c"ERROR: The inversion failed.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.2 = [28 x i8] c"Writing to the file failed\0A\00"
@.str.3 = [3 x i8] c"-m\00"
@.str.4 = [3 x i8] c"-d\00"
@.str.5 = [4 x i8] c"%e\0A\00"
@.str.6 = [60 x i8] c"ERROR: Enter in '-i', '-m', or '-d' as the third argument.\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca double**
%8 = alloca double**
%9 = alloca i32
%10 = alloca double**
%11 = alloca double**
%12 = alloca double**
%13 = alloca i32
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i32, i32* %4
%16 = icmp sge i32 %15, 4
br i1 %16, label %17, label %54
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i64 @strcmp(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %54
23: ; preds = %17
%24 = load i8**, i8*** %5
%25 = getelementptr inbounds i8*, i8** %24, i64 2
%26 = load i8*, i8** %25
%27 = call double** @Read_matrix_from_file(i8* %26, i32* %6)
store double** %27, double*** %7
%28 = load double**, double*** %7
%29 = load i32, i32* %6
%30 = call double** @Invert_matrix(double** %28, i32 %29)
store double** %30, double*** %8
%31 = load double**, double*** %8
%32 = icmp eq double** %31, null
br i1 %32, label %33, label %37
33: ; preds = %23
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
%36 = load i32, i32* @EXIT_FAILURE
store i32 %36, i32* %3
br label %130
37: ; preds = %23
%38 = load i8**, i8*** %5
%39 = getelementptr inbounds i8*, i8** %38, i64 3
%40 = load i8*, i8** %39
%41 = load double**, double*** %8
%42 = load i32, i32* %6
%43 = call i32 @Write_matrix_to_file(i8* %40, double** %41, i32 %42)
store i32 %43, i32* %9
%44 = load i32, i32* %9
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %37
%47 = load i32, i32* @stderr
%48 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%49 = load i32, i32* @EXIT_FAILURE
store i32 %49, i32* %3
br label %130
50: ; preds = %37
%51 = load double**, double*** %8
%52 = load i32, i32* %6
%53 = call i32 @deallocateSpace(double** %51, i32 %52)
br label %128
54: ; preds = %17, %2
%55 = load i32, i32* %4
%56 = icmp sge i32 %55, 5
br i1 %56, label %57, label %104
57: ; preds = %54
%58 = load i8**, i8*** %5
%59 = getelementptr inbounds i8*, i8** %58, i64 1
%60 = load i8*, i8** %59
%61 = call i64 @strcmp(i8* %60, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %104
63: ; preds = %57
%64 = load i8**, i8*** %5
%65 = getelementptr inbounds i8*, i8** %64, i64 2
%66 = load i8*, i8** %65
%67 = call double** @Read_matrix_from_file(i8* %66, i32* %6)
store double** %67, double*** %10
%68 = load i8**, i8*** %5
%69 = getelementptr inbounds i8*, i8** %68, i64 3
%70 = load i8*, i8** %69
%71 = call double** @Read_matrix_from_file(i8* %70, i32* %13)
store double** %71, double*** %11
%72 = load i32, i32* %6
%73 = load i32, i32* %13
%74 = icmp ne i32 %72, %73
br i1 %74, label %75, label %77
75: ; preds = %63
%76 = load i32, i32* @EXIT_FAILURE
store i32 %76, i32* %3
br label %130
77: ; preds = %63
%78 = load double**, double*** %10
%79 = load double**, double*** %11
%80 = load i32, i32* %6
%81 = call double** @Matrix_matrix_multiply(double** %78, double** %79, i32 %80)
store double** %81, double*** %12
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i64 4
%84 = load i8*, i8** %83
%85 = load double**, double*** %12
%86 = load i32, i32* %6
%87 = call i32 @Write_matrix_to_file(i8* %84, double** %85, i32 %86)
store i32 %87, i32* %14
%88 = load i32, i32* %14
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %94
90: ; preds = %77
%91 = load i32, i32* @stderr
%92 = call i32 @fprintf(i32 %91, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%93 = load i32, i32* @EXIT_FAILURE
store i32 %93, i32* %3
br label %130
94: ; preds = %77
%95 = load double**, double*** %10
%96 = load i32, i32* %6
%97 = call i32 @deallocateSpace(double** %95, i32 %96)
%98 = load double**, double*** %11
%99 = load i32, i32* %13
%100 = call i32 @deallocateSpace(double** %98, i32 %99)
%101 = load double**, double*** %12
%102 = load i32, i32* %6
%103 = call i32 @deallocateSpace(double** %101, i32 %102)
br label %127
104: ; preds = %57, %54
%105 = load i32, i32* %4
%106 = icmp sge i32 %105, 3
br i1 %106, label %107, label %122
107: ; preds = %104
%108 = load i8**, i8*** %5
%109 = getelementptr inbounds i8*, i8** %108, i64 1
%110 = load i8*, i8** %109
%111 = call i64 @strcmp(i8* %110, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %122
113: ; preds = %107
%114 = load i8**, i8*** %5
%115 = getelementptr inbounds i8*, i8** %114, i64 2
%116 = load i8*, i8** %115
%117 = call double** @Read_matrix_from_file(i8* %116, i32* %6)
store double** %117, double*** %7
%118 = load double**, double*** %7
%119 = load i32, i32* %6
%120 = call double @Deviation_from_identity(double** %118, i32 %119)
%121 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), double %120)
br label %126
122: ; preds = %107, %104
%123 = load i32, i32* @stderr
%124 = call i32 @fprintf(i32 %123, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0))
%125 = load i32, i32* @EXIT_FAILURE
store i32 %125, i32* %3
br label %130
126: ; preds = %113
br label %127
127: ; preds = %126, %94
br label %128
128: ; preds = %127, %50
%129 = load i32, i32* @EXIT_SUCCESS
store i32 %129, i32* %3
br label %130
130: ; preds = %128, %122, %90, %75, %46, %33
%131 = load i32, i32* %3
ret i32 %131
}

LLVM IR (-O2):
@.str = [3 x i8] c"-i\00"
@stderr = global i32 0
@.str.1 = [30 x i8] c"ERROR: The inversion failed.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.2 = [28 x i8] c"Writing to the file failed\0A\00"
@.str.3 = [3 x i8] c"-m\00"
@.str.4 = [3 x i8] c"-d\00"
@.str.5 = [4 x i8] c"%e\0A\00"
@.str.6 = [60 x i8] c"ERROR: Enter in '-i', '-m', or '-d' as the third argument.\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = icmp sgt i32 %0, 3
br i1 %6, label %7, label %72
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = tail call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %36
12: ; preds = %7
%13 = getelementptr inbounds i8*, i8** %1, i64 2
%14 = load i8*, i8** %13
%15 = call double** @Read_matrix_from_file(i8* %14, i32* %3)
%16 = load i32, i32* %3
%17 = call double** @Invert_matrix(double** %15, i32 %16)
%18 = icmp eq double** %17, null
br i1 %18, label %19, label %23
19: ; preds = %12
%20 = load i32, i32* @stderr
%21 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
%22 = load i32, i32* @EXIT_FAILURE
br label %92
23: ; preds = %12
%24 = getelementptr inbounds i8*, i8** %1, i64 3
%25 = load i8*, i8** %24
%26 = load i32, i32* %3
%27 = call i32 @Write_matrix_to_file(i8* %25, double** %17, i32 %26)
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %23
%30 = load i32, i32* @stderr
%31 = call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%32 = load i32, i32* @EXIT_FAILURE
br label %92
33: ; preds = %23
%34 = load i32, i32* %3
%35 = call i32 @deallocateSpace(double** %17, i32 %34)
br label %90
36: ; preds = %7
%37 = icmp ugt i32 %0, 4
br i1 %37, label %38, label %74
38: ; preds = %36
%39 = load i8*, i8** %8
%40 = tail call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %74
42: ; preds = %38
%43 = bitcast i32* %4 to i8*
%44 = getelementptr inbounds i8*, i8** %1, i64 2
%45 = load i8*, i8** %44
%46 = call double** @Read_matrix_from_file(i8* %45, i32* %3)
%47 = getelementptr inbounds i8*, i8** %1, i64 3
%48 = load i8*, i8** %47
%49 = call double** @Read_matrix_from_file(i8* %48, i32* %4)
%50 = load i32, i32* %3
%51 = load i32, i32* %4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %63
53: ; preds = %42
%54 = call double** @Matrix_matrix_multiply(double** %46, double** %49, i32 %50)
%55 = getelementptr inbounds i8*, i8** %1, i64 4
%56 = load i8*, i8** %55
%57 = load i32, i32* %3
%58 = call i32 @Write_matrix_to_file(i8* %56, double** %54, i32 %57)
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %53
%61 = load i32, i32* @stderr
%62 = call i32 @fprintf(i32 %61, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
br label %63
63: ; preds = %42, %60
%64 = load i32, i32* @EXIT_FAILURE
br label %92
65: ; preds = %53
%66 = load i32, i32* %3
%67 = call i32 @deallocateSpace(double** %46, i32 %66)
%68 = load i32, i32* %4
%69 = call i32 @deallocateSpace(double** %49, i32 %68)
%70 = load i32, i32* %3
%71 = call i32 @deallocateSpace(double** %54, i32 %70)
br label %90
72: ; preds = %2
%73 = icmp eq i32 %0, 3
br i1 %73, label %74, label %86
74: ; preds = %36, %38, %72
%75 = getelementptr inbounds i8*, i8** %1, i64 1
%76 = load i8*, i8** %75
%77 = tail call i64 @strcmp(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %74
%80 = getelementptr inbounds i8*, i8** %1, i64 2
%81 = load i8*, i8** %80
%82 = call double** @Read_matrix_from_file(i8* %81, i32* %3)
%83 = load i32, i32* %3
%84 = call double @Deviation_from_identity(double** %82, i32 %83)
%85 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), double %84)
br label %90
86: ; preds = %74, %72
%87 = load i32, i32* @stderr
%88 = tail call i32 @fprintf(i32 %87, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0))
%89 = load i32, i32* @EXIT_FAILURE
br label %92
90: ; preds = %65, %33, %79
%91 = load i32, i32* @EXIT_SUCCESS
br label %92
92: ; preds = %63, %29, %90, %86, %19
%93 = phi i32 [ %22, %19 ], [ %91, %90 ], [ %89, %86 ], [ %32, %29 ], [ %64, %63 ]
ret i32 %93
}