#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*/ dump_matrix_new(char *, int, int, int);
int /*<<< orphan*/ dump_matrix_old(char *, int, int, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ help(char *);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int main(int nargs, char **argv) {
  int all = 0;
  int strict = 0;
  int magma = 0;
  int new = 0;
  if (nargs < 2 || nargs > 4) {
    fprintf(stderr, "erreur : wrong number of arguments\n");
    help(argv[0]);
    exit(-1);
  }
  while (nargs > 2) {
    if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "-?") == 0) ||
        (strcmp(argv[1], "--help") == 0)) {
      help(argv[0]);
      return 0;
    } else if (strcmp(argv[1], "-l") == 0) {
      all = 1;
      strict = 0;
      nargs--;
      argv++;
    } else if (strcmp(argv[1], "-n") == 0) {
      new = 1;
      nargs--;
      argv++;
    } else if (strcmp(argv[1], "-m") == 0) {
      all = 1;
      strict = 0;
      magma = 1;
      nargs--;
      argv++;
    } else if (strcmp(argv[1], "-s") == 0) {
      all = 1;
      strict = 1;
      nargs--;
      argv++;
    } else {
      fprintf(stderr, "erreur : bad argument %s\n", argv[1]);
      help(argv[0]);
      exit(-1);
    }
  }
  if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "-?") == 0) ||
      (strcmp(argv[1], "--help") == 0)) {
    help(argv[0]);
    return 0;
  }
  char *fic = argv[1];
  if (new == 1)
    dump_matrix_new(fic, all, strict, magma);
  else {
    dump_matrix_old(fic, all, strict, magma);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
cmpl   $0x2,-0x8(%rbp)
jl     11a6 <main+0x46>
cmpl   $0x4,-0x8(%rbp)
jle    11d3 <main+0x73>
mov    0x2e33(%rip),%rax
mov    (%rax),%edi
lea    0xe4a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <help@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>
jmp    11d8 <main+0x78>
cmpl   $0x2,-0x8(%rbp)
jle    13ba <main+0x25a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe33(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     123c <main+0xdc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe18(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     123c <main+0xdc>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdfd(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1254 <main+0xf4>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1472 <main+0x312>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xdce(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    129a <main+0x13a>
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
jmp    13b0 <main+0x250>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd8b(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    12d9 <main+0x179>
movl   $0x1,-0x20(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
jmp    13ab <main+0x24b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd4f(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    1326 <main+0x1c6>
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x1,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
jmp    13a6 <main+0x246>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xd05(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    136c <main+0x20c>
movl   $0x1,-0x14(%rbp)
movl   $0x1,-0x18(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
jmp    13a1 <main+0x241>
mov    0x2c6d(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdx
lea    0xcb9(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <help@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>
jmp    13a6 <main+0x246>
jmp    13ab <main+0x24b>
jmp    13b0 <main+0x250>
jmp    13b5 <main+0x255>
jmp    11d8 <main+0x78>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc5b(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     1414 <main+0x2b4>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc40(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     1414 <main+0x2b4>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xc25(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    142c <main+0x2cc>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1070 <help@plt>
movl   $0x0,-0x4(%rbp)
jmp    1472 <main+0x312>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x28(%rbp)
cmpl   $0x1,-0x20(%rbp)
jne    1459 <main+0x2f9>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
call   1060 <dump_matrix_new@plt>
jmp    146b <main+0x30b>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x1c(%rbp),%ecx
call   1030 <dump_matrix_old@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
lea    -0x5(%rbp),%eax
cmp    $0xfffffffd,%eax
jb     1337 <main+0x1d7>
xor    %r15d,%r15d
cmp    $0x3,%ebp
jb     12a2 <main+0x142>
add    $0x1,%ebp
movl   $0x0,0x4(%rsp)
lea    0xe8a(%rip),%r12
movl   $0x0,(%rsp)
xor    %r14d,%r14d
xor    %r15d,%r15d
jmp    11c9 <main+0x69>
nopl   0x0(%rax)
mov    $0x1,%r15d
add    $0x8,%rbx
add    $0xffffffff,%ebp
mov    %r13d,%r14d
cmp    $0x3,%ebp
jle    12b4 <main+0x154>
mov    0x8(%rbx),%rdi
mov    %r12,%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
lea    0xe3e(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
lea    0xe28(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
lea    0xe16(%rip),%rsi
call   1040 <strcmp@plt>
xor    %r13d,%r13d
test   %rax,%rax
je     11b0 <main+0x50>
mov    0x8(%rbx),%rdi
lea    0xe01(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1280 <main+0x120>
mov    0x8(%rbx),%rdi
lea    0xdef(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1290 <main+0x130>
mov    0x8(%rbx),%rdi
lea    0xddd(%rip),%rsi
call   1040 <strcmp@plt>
mov    $0x1,%r15d
mov    $0x1,%r13d
test   %rax,%rax
je     11b6 <main+0x56>
jmp    1350 <main+0x1f0>
nopl   0x0(%rax)
movl   $0x1,0x4(%rsp)
mov    %r14d,%r13d
jmp    11b6 <main+0x56>
mov    $0x1,%r15d
movl   $0x1,(%rsp)
jmp    11b6 <main+0x56>
xor    %r13d,%r13d
movl   $0x0,(%rsp)
movl   $0x0,0x4(%rsp)
mov    0x8(%rbx),%rdi
lea    0xd65(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
lea    0xd53(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
lea    0xd41(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     130e <main+0x1ae>
mov    0x8(%rbx),%rdi
cmpl   $0x1,0x4(%rsp)
jne    1327 <main+0x1c7>
mov    %r15d,%esi
mov    %r13d,%edx
mov    (%rsp),%ecx
call   1060 <dump_matrix_new@plt>
jmp    1316 <main+0x1b6>
mov    (%rbx),%rdi
call   1070 <help@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r15d,%esi
mov    %r13d,%edx
mov    (%rsp),%ecx
call   1030 <dump_matrix_old@plt>
jmp    1316 <main+0x1b6>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
lea    0xcb9(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    136b <main+0x20b>
mov    0x2c89(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rbx),%rdx
lea    0xcd9(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    (%rbx),%rdi
call   1070 <help@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [36 x i8] c"erreur : wrong number of arguments\0A\00"
@.str.1 = [3 x i8] c"-h\00"
@.str.2 = [3 x i8] c"-?\00"
@.str.3 = [7 x i8] c"--help\00"
@.str.4 = [3 x i8] c"-l\00"
@.str.5 = [3 x i8] c"-n\00"
@.str.6 = [3 x i8] c"-m\00"
@.str.7 = [3 x i8] c"-s\00"
@.str.8 = [26 x i8] c"erreur : bad argument %s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
%11 = load i32, i32* %4
%12 = icmp slt i32 %11, 2
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, i32* %4
%15 = icmp sgt i32 %14, 4
br i1 %15, label %16, label %24
16: ; preds = %13, %2
%17 = load i32, i32* @stderr
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 0
%21 = load i8*, i8** %20
%22 = call i32 @help(i8* %21)
%23 = call i32 @exit(i32 -1)
unreachable
24: ; preds = %13
br label %25
25: ; preds = %110, %24
%26 = load i32, i32* %4
%27 = icmp sgt i32 %26, 2
br i1 %27, label %28, label %111
28: ; preds = %25
%29 = load i8**, i8*** %5
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = call i64 @strcmp(i8* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %46, label %34
34: ; preds = %28
%35 = load i8**, i8*** %5
%36 = getelementptr inbounds i8*, i8** %35, i64 1
%37 = load i8*, i8** %36
%38 = call i64 @strcmp(i8* %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %34
%41 = load i8**, i8*** %5
%42 = getelementptr inbounds i8*, i8** %41, i64 1
%43 = load i8*, i8** %42
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %40, %34, %28
%47 = load i8**, i8*** %5
%48 = getelementptr inbounds i8*, i8** %47, i64 0
%49 = load i8*, i8** %48
%50 = call i32 @help(i8* %49)
store i32 0, i32* %3
br label %153
51: ; preds = %40
%52 = load i8**, i8*** %5
%53 = getelementptr inbounds i8*, i8** %52, i64 1
%54 = load i8*, i8** %53
%55 = call i64 @strcmp(i8* %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %62
57: ; preds = %51
store i32 1, i32* %6
store i32 0, i32* %7
%58 = load i32, i32* %4
%59 = add nsw i32 %58, -1
store i32 %59, i32* %4
%60 = load i8**, i8*** %5
%61 = getelementptr inbounds i8*, i8** %60, i32 1
store i8** %61, i8*** %5
br label %109
62: ; preds = %51
%63 = load i8**, i8*** %5
%64 = getelementptr inbounds i8*, i8** %63, i64 1
%65 = load i8*, i8** %64
%66 = call i64 @strcmp(i8* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %73
68: ; preds = %62
store i32 1, i32* %9
%69 = load i32, i32* %4
%70 = add nsw i32 %69, -1
store i32 %70, i32* %4
%71 = load i8**, i8*** %5
%72 = getelementptr inbounds i8*, i8** %71, i32 1
store i8** %72, i8*** %5
br label %108
73: ; preds = %62
%74 = load i8**, i8*** %5
%75 = getelementptr inbounds i8*, i8** %74, i64 1
%76 = load i8*, i8** %75
%77 = call i64 @strcmp(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %84
79: ; preds = %73
store i32 1, i32* %6
store i32 0, i32* %7
store i32 1, i32* %8
%80 = load i32, i32* %4
%81 = add nsw i32 %80, -1
store i32 %81, i32* %4
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i32 1
store i8** %83, i8*** %5
br label %107
84: ; preds = %73
%85 = load i8**, i8*** %5
%86 = getelementptr inbounds i8*, i8** %85, i64 1
%87 = load i8*, i8** %86
%88 = call i64 @strcmp(i8* %87, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %95
90: ; preds = %84
store i32 1, i32* %6
store i32 1, i32* %7
%91 = load i32, i32* %4
%92 = add nsw i32 %91, -1
store i32 %92, i32* %4
%93 = load i8**, i8*** %5
%94 = getelementptr inbounds i8*, i8** %93, i32 1
store i8** %94, i8*** %5
br label %106
95: ; preds = %84
%96 = load i32, i32* @stderr
%97 = load i8**, i8*** %5
%98 = getelementptr inbounds i8*, i8** %97, i64 1
%99 = load i8*, i8** %98
%100 = call i32 (i32, i8*, ...) @fprintf(i32 %96, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i8* %99)
%101 = load i8**, i8*** %5
%102 = getelementptr inbounds i8*, i8** %101, i64 0
%103 = load i8*, i8** %102
%104 = call i32 @help(i8* %103)
%105 = call i32 @exit(i32 -1)
unreachable
106: ; preds = %90
br label %107
107: ; preds = %106, %79
br label %108
108: ; preds = %107, %68
br label %109
109: ; preds = %108, %57
br label %110
110: ; preds = %109
br label %25
111: ; preds = %25
%112 = load i8**, i8*** %5
%113 = getelementptr inbounds i8*, i8** %112, i64 1
%114 = load i8*, i8** %113
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
br i1 %116, label %129, label %117
117: ; preds = %111
%118 = load i8**, i8*** %5
%119 = getelementptr inbounds i8*, i8** %118, i64 1
%120 = load i8*, i8** %119
%121 = call i64 @strcmp(i8* %120, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%122 = icmp eq i64 %121, 0
br i1 %122, label %129, label %123
123: ; preds = %117
%124 = load i8**, i8*** %5
%125 = getelementptr inbounds i8*, i8** %124, i64 1
%126 = load i8*, i8** %125
%127 = call i64 @strcmp(i8* %126, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%128 = icmp eq i64 %127, 0
br i1 %128, label %129, label %134
129: ; preds = %123, %117, %111
%130 = load i8**, i8*** %5
%131 = getelementptr inbounds i8*, i8** %130, i64 0
%132 = load i8*, i8** %131
%133 = call i32 @help(i8* %132)
store i32 0, i32* %3
br label %153
134: ; preds = %123
%135 = load i8**, i8*** %5
%136 = getelementptr inbounds i8*, i8** %135, i64 1
%137 = load i8*, i8** %136
store i8* %137, i8** %10
%138 = load i32, i32* %9
%139 = icmp eq i32 %138, 1
br i1 %139, label %140, label %146
140: ; preds = %134
%141 = load i8*, i8** %10
%142 = load i32, i32* %6
%143 = load i32, i32* %7
%144 = load i32, i32* %8
%145 = call i32 @dump_matrix_new(i8* %141, i32 %142, i32 %143, i32 %144)
br label %152
146: ; preds = %134
%147 = load i8*, i8** %10
%148 = load i32, i32* %6
%149 = load i32, i32* %7
%150 = load i32, i32* %8
%151 = call i32 @dump_matrix_old(i8* %147, i32 %148, i32 %149, i32 %150)
br label %152
152: ; preds = %146, %140
store i32 0, i32* %3
br label %153
153: ; preds = %152, %129, %46
%154 = load i32, i32* %3
ret i32 %154
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [36 x i8] c"erreur : wrong number of arguments\0A\00"
@.str.1 = [3 x i8] c"-h\00"
@.str.2 = [3 x i8] c"-?\00"
@.str.3 = [7 x i8] c"--help\00"
@.str.4 = [3 x i8] c"-l\00"
@.str.5 = [3 x i8] c"-n\00"
@.str.6 = [3 x i8] c"-m\00"
@.str.7 = [3 x i8] c"-s\00"
@.str.8 = [26 x i8] c"erreur : bad argument %s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = add i32 %0, -5
%4 = icmp ult i32 %3, -3
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = icmp ugt i32 %0, 2
br i1 %6, label %13, label %65
7: ; preds = %2
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%10 = load i8*, i8** %1
%11 = tail call i32 @help(i8* %10)
%12 = tail call i32 @exit(i32 -1)
unreachable
13: ; preds = %5, %58
%14 = phi i32 [ %62, %58 ], [ 0, %5 ]
%15 = phi i32 [ %61, %58 ], [ 0, %5 ]
%16 = phi i32 [ %60, %58 ], [ 0, %5 ]
%17 = phi i32 [ %59, %58 ], [ 0, %5 ]
%18 = phi i8** [ %20, %58 ], [ %1, %5 ]
%19 = phi i32 [ %63, %58 ], [ %0, %5 ]
%20 = getelementptr inbounds i8*, i8** %18, i64 1
%21 = load i8*, i8** %20
%22 = tail call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %32, label %24
24: ; preds = %13
%25 = load i8*, i8** %20
%26 = tail call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i8*, i8** %20
%30 = tail call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %28, %24, %13
%33 = load i8*, i8** %18
%34 = tail call i32 @help(i8* %33)
br label %93
35: ; preds = %28
%36 = load i8*, i8** %20
%37 = tail call i64 @strcmp(i8* %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %58, label %39
39: ; preds = %35
%40 = load i8*, i8** %20
%41 = tail call i64 @strcmp(i8* %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %58, label %43
43: ; preds = %39
%44 = load i8*, i8** %20
%45 = tail call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
br i1 %46, label %58, label %47
47: ; preds = %43
%48 = load i8*, i8** %20
%49 = tail call i64 @strcmp(i8* %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %58, label %51
51: ; preds = %47
%52 = load i32, i32* @stderr
%53 = load i8*, i8** %20
%54 = tail call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i8* %53)
%55 = load i8*, i8** %18
%56 = tail call i32 @help(i8* %55)
%57 = tail call i32 @exit(i32 -1)
unreachable
58: ; preds = %47, %43, %39, %35
%59 = phi i32 [ 1, %35 ], [ %17, %39 ], [ 1, %43 ], [ 1, %47 ]
%60 = phi i32 [ 0, %35 ], [ %16, %39 ], [ 0, %43 ], [ 1, %47 ]
%61 = phi i32 [ %15, %35 ], [ %15, %39 ], [ 1, %43 ], [ %15, %47 ]
%62 = phi i32 [ %14, %35 ], [ 1, %39 ], [ %14, %43 ], [ %14, %47 ]
%63 = add nsw i32 %19, -1
%64 = icmp sgt i32 %19, 3
br i1 %64, label %13, label %65
65: ; preds = %58, %5
%66 = phi i8** [ %1, %5 ], [ %20, %58 ]
%67 = phi i32 [ 0, %5 ], [ %59, %58 ]
%68 = phi i32 [ 0, %5 ], [ %60, %58 ]
%69 = phi i32 [ 0, %5 ], [ %61, %58 ]
%70 = phi i32 [ 0, %5 ], [ %62, %58 ]
%71 = getelementptr inbounds i8*, i8** %66, i64 1
%72 = load i8*, i8** %71
%73 = tail call i64 @strcmp(i8* %72, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %83, label %75
75: ; preds = %65
%76 = load i8*, i8** %71
%77 = tail call i64 @strcmp(i8* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%78 = icmp eq i64 %77, 0
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = load i8*, i8** %71
%81 = tail call i64 @strcmp(i8* %80, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %79, %75, %65
%84 = load i8*, i8** %66
%85 = tail call i32 @help(i8* %84)
br label %93
86: ; preds = %79
%87 = load i8*, i8** %71
%88 = icmp eq i32 %70, 1
br i1 %88, label %89, label %91
89: ; preds = %86
%90 = tail call i32 @dump_matrix_new(i8* %87, i32 %67, i32 %68, i32 %69)
br label %93
91: ; preds = %86
%92 = tail call i32 @dump_matrix_old(i8* %87, i32 %67, i32 %68, i32 %69)
br label %93
93: ; preds = %89, %91, %83, %32
ret i32 0
}