#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ readMatrix3(double **, int /*<<< orphan*/ *);
scalar_t__ strcmp(char *, char *);
void readPropeller(int *stationsNumberPtr, double dataPropeller[],
                   double propeller[][60]) {
  double diameter;
  double spinnerDiameter;
  double bladeNumber;
  double inertia;
  double ClalphaPropeller;
  double Cl0Propeller;
  double a0Propeller;
  double Cdalpha2Propeller;
  double CdalphaPropeller;
  double Cd0Propeller;
  char c;
  char tokenPtr[200] = {0};
  int count = 0;
  int i;
  FILE *fPtr;
  if ((fPtr = fopen("propeller.txt", "r")) == NULL) {
    printf("File could not be opened\n");
  } else {
    fscanf(fPtr, "%c", &c);
    while (!feof(fPtr)) {
      if ((c != ' ') && (c != '\t') && (c != '\n')) {
        tokenPtr[count] = c;
        count++;
      } else if (count != 0) {
        tokenPtr[count] = '\0';
        count = 0;
        if (strcmp(tokenPtr, "S.I.") == 0) {
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &diameter);
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &spinnerDiameter);
          for (i = 0; i < 3; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &bladeNumber);
          for (i = 0; i < 3; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &inertia);
          for (i = 0; i < 2; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%d", stationsNumberPtr);
        } else if (strcmp(tokenPtr, "CLARK") == 0) {
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &ClalphaPropeller);
          for (i = 0; i < 2; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &Cl0Propeller);
          fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &a0Propeller);
          for (i = 0; i < 2; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &Cdalpha2Propeller);
          for (i = 0; i < 2; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &CdalphaPropeller);
          for (i = 0; i < 2; i++)
            fscanf(fPtr, "%s", tokenPtr);
          fscanf(fPtr, "%lg", &Cd0Propeller);
        } else if (strcmp(tokenPtr, "BA") == 0) {
          fscanf(fPtr, "%s", tokenPtr);
          readMatrix3(propeller, fPtr);
        }
      }
      fscanf(fPtr, "%c", &c);
    }
    fclose(fPtr);
    dataPropeller[0] = diameter;
    dataPropeller[1] = spinnerDiameter;
    dataPropeller[2] = bladeNumber;
    dataPropeller[3] = inertia;
    dataPropeller[4] = ClalphaPropeller;
    dataPropeller[5] = Cl0Propeller;
    dataPropeller[6] = a0Propeller;
    dataPropeller[7] = Cdalpha2Propeller;
    dataPropeller[8] = CdalphaPropeller;
    dataPropeller[9] = Cd0Propeller;
  }
}


x86 assembly (clang, -O0):
<readPropeller>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    -0x140(%rbp),%rdi
xor    %esi,%esi
mov    $0xc8,%edx
call   1050 <memset@plt>
movl   $0x0,-0x144(%rbp)
lea    0xe45(%rip),%rdi
lea    0xe4c(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x150(%rbp)
cmp    $0x0,%rax
jne    11e9 <readPropeller+0x69>
lea    0xe31(%rip),%rdi
call   1040 <printf@plt>
jmp    17b3 <readPropeller+0x633>
mov    -0x150(%rbp),%rdi
lea    0xe33(%rip),%rsi
lea    -0x69(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
call   1080 <feof@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
test   $0x1,%al
jne    1223 <readPropeller+0xa3>
jmp    171c <readPropeller+0x59c>
movsbl -0x69(%rbp),%eax
cmp    $0x20,%eax
je     126f <readPropeller+0xef>
movsbl -0x69(%rbp),%eax
cmp    $0x9,%eax
je     126f <readPropeller+0xef>
movsbl -0x69(%rbp),%eax
cmp    $0xa,%eax
je     126f <readPropeller+0xef>
mov    -0x69(%rbp),%cl
movslq -0x144(%rbp),%rax
mov    %cl,-0x140(%rbp,%rax,1)
mov    -0x144(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x144(%rbp)
jmp    16fe <readPropeller+0x57e>
cmpl   $0x0,-0x144(%rbp)
je     16f9 <readPropeller+0x579>
movslq -0x144(%rbp),%rax
movb   $0x0,-0x140(%rbp,%rax,1)
movl   $0x0,-0x144(%rbp)
lea    -0x140(%rbp),%rdi
lea    0xd8a(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    1479 <readPropeller+0x2f9>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xd6b(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xd4f(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    0xd3d(%rip),%rsi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xd1a(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xcfe(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    0xcec(%rip),%rsi
lea    -0x28(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x3,-0x148(%rbp)
jge    139b <readPropeller+0x21b>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xcb2(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    135e <readPropeller+0x1de>
mov    -0x150(%rbp),%rdi
lea    0xc8c(%rip),%rsi
lea    -0x30(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x3,-0x148(%rbp)
jge    13fb <readPropeller+0x27b>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xc52(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    13be <readPropeller+0x23e>
mov    -0x150(%rbp),%rdi
lea    0xc2c(%rip),%rsi
lea    -0x38(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x2,-0x148(%rbp)
jge    145b <readPropeller+0x2db>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xbf2(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    141e <readPropeller+0x29e>
mov    -0x150(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xbcc(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
jmp    16f4 <readPropeller+0x574>
lea    -0x140(%rbp),%rdi
lea    0xbb5(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    16a1 <readPropeller+0x521>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xb87(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xb6b(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    0xb59(%rip),%rsi
lea    -0x40(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x2,-0x148(%rbp)
jge    152e <readPropeller+0x3ae>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xb1f(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    14f1 <readPropeller+0x371>
mov    -0x150(%rbp),%rdi
lea    0xaf9(%rip),%rsi
lea    -0x48(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xad6(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x150(%rbp),%rdi
lea    0xac4(%rip),%rsi
lea    -0x50(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x2,-0x148(%rbp)
jge    15c3 <readPropeller+0x443>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xa8a(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    1586 <readPropeller+0x406>
mov    -0x150(%rbp),%rdi
lea    0xa64(%rip),%rsi
lea    -0x58(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x2,-0x148(%rbp)
jge    1623 <readPropeller+0x4a3>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0xa2a(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    15e6 <readPropeller+0x466>
mov    -0x150(%rbp),%rdi
lea    0xa04(%rip),%rsi
lea    -0x60(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
movl   $0x0,-0x148(%rbp)
cmpl   $0x2,-0x148(%rbp)
jge    1683 <readPropeller+0x503>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0x9ca(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    1646 <readPropeller+0x4c6>
mov    -0x150(%rbp),%rdi
lea    0x9a4(%rip),%rsi
lea    -0x68(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
jmp    16ef <readPropeller+0x56f>
lea    -0x140(%rbp),%rdi
lea    0x993(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jne    16ea <readPropeller+0x56a>
mov    -0x150(%rbp),%rdi
lea    -0x140(%rbp),%rdx
lea    0x95f(%rip),%rsi
mov    $0x0,%al
call   1060 <fscanf@plt>
mov    -0x18(%rbp),%rdi
mov    -0x150(%rbp),%rsi
call   1090 <readMatrix3@plt>
jmp    16ef <readPropeller+0x56f>
jmp    16f4 <readPropeller+0x574>
jmp    16f9 <readPropeller+0x579>
jmp    16fe <readPropeller+0x57e>
mov    -0x150(%rbp),%rdi
lea    0x91e(%rip),%rsi
lea    -0x69(%rbp),%rdx
mov    $0x0,%al
call   1060 <fscanf@plt>
jmp    1202 <readPropeller+0x82>
mov    -0x150(%rbp),%rdi
call   1030 <fclose@plt>
movsd  -0x20(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x28(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x38(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x68(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x48(%rax)
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<readPropeller>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
mov    %rdx,0x10(%rsp)
mov    %rsi,%r12
mov    %rdi,0x18(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movq   $0x0,0x130(%rsp)
lea    0xdff(%rip),%rdi
lea    0xe06(%rip),%rsi
call   1090 <fopen@plt>
test   %rax,%rax
je     12da <readPropeller+0x16a>
mov    %rax,%rbx
lea    0xdf0(%rip),%rsi
lea    0xf(%rsp),%rdx
mov    %rax,%rdi
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
call   1070 <feof@plt>
test   %eax,%eax
je     12f7 <readPropeller+0x187>
mov    %rbx,%rdi
call   1040 <fclose@plt>
movsd  0x68(%rsp),%xmm0
movsd  %xmm0,(%r12)
movsd  0x60(%rsp),%xmm0
movsd  %xmm0,0x8(%r12)
movsd  0x58(%rsp),%xmm0
movsd  %xmm0,0x10(%r12)
movsd  0x50(%rsp),%xmm0
movsd  %xmm0,0x18(%r12)
movsd  0x48(%rsp),%xmm0
movsd  %xmm0,0x20(%r12)
movsd  0x40(%rsp),%xmm0
movsd  %xmm0,0x28(%r12)
movsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x30(%r12)
movsd  0x30(%rsp),%xmm0
movsd  %xmm0,0x38(%r12)
movsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x40(%r12)
movsd  0x20(%rsp),%xmm0
movsd  %xmm0,0x48(%r12)
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd4a(%rip),%rdi
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>
lea    0x70(%rsp),%r14
lea    0xd15(%rip),%r15
lea    0xd11(%rip),%r13
xor    %ecx,%ecx
jmp    1344 <readPropeller+0x1d4>
xchg   %ax,%ax
movslq %ecx,%rdx
mov    %al,0x70(%rsp,%rdx,1)
add    $0x1,%ecx
mov    %ecx,%ebp
mov    %rbx,%rdi
lea    0xcea(%rip),%rsi
lea    0xf(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
call   1070 <feof@plt>
mov    %ebp,%ecx
test   %eax,%eax
jne    123f <readPropeller+0xcf>
movzbl 0xf(%rsp),%eax
cmp    $0x20,%rax
ja     1310 <readPropeller+0x1a0>
movabs $0x100000600,%rdx
bt     %rax,%rdx
jae    1310 <readPropeller+0x1a0>
xor    %ebp,%ebp
test   %ecx,%ecx
je     131c <readPropeller+0x1ac>
movslq %ecx,%rax
movb   $0x0,0x70(%rsp,%rax,1)
mov    %r14,%rdi
lea    0xc9c(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     13d5 <readPropeller+0x265>
mov    %r14,%rdi
lea    0xc97(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     14f3 <readPropeller+0x383>
mov    %r14,%rdi
lea    0xc85(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    131c <readPropeller+0x1ac>
xor    %ebp,%ebp
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    0x10(%rsp),%rdi
mov    %rbx,%rsi
call   1080 <readMatrix3@plt>
jmp    131c <readPropeller+0x1ac>
xor    %ebp,%ebp
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x68(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x60(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x58(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x50(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
lea    0xb36(%rip),%rsi
mov    0x18(%rsp),%rdx
jmp    160a <readPropeller+0x49a>
xor    %ebp,%ebp
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x48(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x40(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x38(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x30(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x28(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
lea    0x20(%rsp),%rdx
xor    %eax,%eax
call   1050 <fscanf@plt>
jmp    131c <readPropeller+0x1ac>

LLVM IR (-O0):
@.str = [14 x i8] c"propeller.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [26 x i8] c"File could not be opened\0A\00"
@.str.3 = [3 x i8] c"%c\00"
@.str.4 = [5 x i8] c"S.I.\00"
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [4 x i8] c"%lg\00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [6 x i8] c"CLARK\00"
@.str.9 = [3 x i8] c"BA\00"
define void @readPropeller(i32* %0, double* %1, [60 x double]* %2) {
%4 = alloca i32*
%5 = alloca double*
%6 = alloca [60 x double]*
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca i8
%18 = alloca [200 x i8]
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32*
store i32* %0, i32** %4
store double* %1, double** %5
store [60 x double]* %2, [60 x double]** %6
%22 = bitcast [200 x i8]* %18 to i8*
store i32 0, i32* %19
%23 = call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %23, i32** %21
%24 = icmp eq i32* %23, null
br i1 %24, label %25, label %27
25: ; preds = %3
%26 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %243
27: ; preds = %3
%28 = load i32*, i32** %21
%29 = call i32 (i32*, i8*, ...) @fscanf(i32* %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %17)
br label %30
30: ; preds = %207, %27
%31 = load i32*, i32** %21
%32 = call i32 @feof(i32* %31)
%33 = icmp ne i32 %32, 0
%34 = xor i1 %33, true
br i1 %34, label %35, label %210
35: ; preds = %30
%36 = load i8, i8* %17
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 32
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load i8, i8* %17
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 9
br i1 %42, label %43, label %54
43: ; preds = %39
%44 = load i8, i8* %17
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 10
br i1 %46, label %47, label %54
47: ; preds = %43
%48 = load i8, i8* %17
%49 = load i32, i32* %19
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 %50
store i8 %48, i8* %51
%52 = load i32, i32* %19
%53 = add nsw i32 %52, 1
store i32 %53, i32* %19
br label %207
54: ; preds = %43, %39, %35
%55 = load i32, i32* %19
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %206
57: ; preds = %54
%58 = load i32, i32* %19
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 %59
store i8 0, i8* %60
store i32 0, i32* %19
%61 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%62 = call i64 @strcmp(i8* %61, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %64, label %121
64: ; preds = %57
%65 = load i32*, i32** %21
%66 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%67 = call i32 (i32*, i8*, ...) @fscanf(i32* %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %66)
%68 = load i32*, i32** %21
%69 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%70 = call i32 (i32*, i8*, ...) @fscanf(i32* %68, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %69)
%71 = load i32*, i32** %21
%72 = call i32 (i32*, i8*, ...) @fscanf(i32* %71, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %7)
%73 = load i32*, i32** %21
%74 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%75 = call i32 (i32*, i8*, ...) @fscanf(i32* %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %74)
%76 = load i32*, i32** %21
%77 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%78 = call i32 (i32*, i8*, ...) @fscanf(i32* %76, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %77)
%79 = load i32*, i32** %21
%80 = call i32 (i32*, i8*, ...) @fscanf(i32* %79, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %8)
store i32 0, i32* %20
br label %81
81: ; preds = %88, %64
%82 = load i32, i32* %20
%83 = icmp slt i32 %82, 3
br i1 %83, label %84, label %91
84: ; preds = %81
%85 = load i32*, i32** %21
%86 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%87 = call i32 (i32*, i8*, ...) @fscanf(i32* %85, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %86)
br label %88
88: ; preds = %84
%89 = load i32, i32* %20
%90 = add nsw i32 %89, 1
store i32 %90, i32* %20
br label %81
91: ; preds = %81
%92 = load i32*, i32** %21
%93 = call i32 (i32*, i8*, ...) @fscanf(i32* %92, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %9)
store i32 0, i32* %20
br label %94
94: ; preds = %101, %91
%95 = load i32, i32* %20
%96 = icmp slt i32 %95, 3
br i1 %96, label %97, label %104
97: ; preds = %94
%98 = load i32*, i32** %21
%99 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%100 = call i32 (i32*, i8*, ...) @fscanf(i32* %98, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %99)
br label %101
101: ; preds = %97
%102 = load i32, i32* %20
%103 = add nsw i32 %102, 1
store i32 %103, i32* %20
br label %94
104: ; preds = %94
%105 = load i32*, i32** %21
%106 = call i32 (i32*, i8*, ...) @fscanf(i32* %105, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %10)
store i32 0, i32* %20
br label %107
107: ; preds = %114, %104
%108 = load i32, i32* %20
%109 = icmp slt i32 %108, 2
br i1 %109, label %110, label %117
110: ; preds = %107
%111 = load i32*, i32** %21
%112 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%113 = call i32 (i32*, i8*, ...) @fscanf(i32* %111, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %112)
br label %114
114: ; preds = %110
%115 = load i32, i32* %20
%116 = add nsw i32 %115, 1
store i32 %116, i32* %20
br label %107
117: ; preds = %107
%118 = load i32*, i32** %21
%119 = load i32*, i32** %4
%120 = call i32 (i32*, i8*, ...) @fscanf(i32* %118, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %119)
br label %205
121: ; preds = %57
%122 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%123 = call i64 @strcmp(i8* %122, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%124 = icmp eq i64 %123, 0
br i1 %124, label %125, label %191
125: ; preds = %121
%126 = load i32*, i32** %21
%127 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%128 = call i32 (i32*, i8*, ...) @fscanf(i32* %126, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %127)
%129 = load i32*, i32** %21
%130 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%131 = call i32 (i32*, i8*, ...) @fscanf(i32* %129, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %130)
%132 = load i32*, i32** %21
%133 = call i32 (i32*, i8*, ...) @fscanf(i32* %132, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %11)
store i32 0, i32* %20
br label %134
134: ; preds = %141, %125
%135 = load i32, i32* %20
%136 = icmp slt i32 %135, 2
br i1 %136, label %137, label %144
137: ; preds = %134
%138 = load i32*, i32** %21
%139 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%140 = call i32 (i32*, i8*, ...) @fscanf(i32* %138, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %139)
br label %141
141: ; preds = %137
%142 = load i32, i32* %20
%143 = add nsw i32 %142, 1
store i32 %143, i32* %20
br label %134
144: ; preds = %134
%145 = load i32*, i32** %21
%146 = call i32 (i32*, i8*, ...) @fscanf(i32* %145, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %12)
%147 = load i32*, i32** %21
%148 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%149 = call i32 (i32*, i8*, ...) @fscanf(i32* %147, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %148)
%150 = load i32*, i32** %21
%151 = call i32 (i32*, i8*, ...) @fscanf(i32* %150, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %13)
store i32 0, i32* %20
br label %152
152: ; preds = %159, %144
%153 = load i32, i32* %20
%154 = icmp slt i32 %153, 2
br i1 %154, label %155, label %162
155: ; preds = %152
%156 = load i32*, i32** %21
%157 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%158 = call i32 (i32*, i8*, ...) @fscanf(i32* %156, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %157)
br label %159
159: ; preds = %155
%160 = load i32, i32* %20
%161 = add nsw i32 %160, 1
store i32 %161, i32* %20
br label %152
162: ; preds = %152
%163 = load i32*, i32** %21
%164 = call i32 (i32*, i8*, ...) @fscanf(i32* %163, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %14)
store i32 0, i32* %20
br label %165
165: ; preds = %172, %162
%166 = load i32, i32* %20
%167 = icmp slt i32 %166, 2
br i1 %167, label %168, label %175
168: ; preds = %165
%169 = load i32*, i32** %21
%170 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%171 = call i32 (i32*, i8*, ...) @fscanf(i32* %169, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %170)
br label %172
172: ; preds = %168
%173 = load i32, i32* %20
%174 = add nsw i32 %173, 1
store i32 %174, i32* %20
br label %165
175: ; preds = %165
%176 = load i32*, i32** %21
%177 = call i32 (i32*, i8*, ...) @fscanf(i32* %176, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %15)
store i32 0, i32* %20
br label %178
178: ; preds = %185, %175
%179 = load i32, i32* %20
%180 = icmp slt i32 %179, 2
br i1 %180, label %181, label %188
181: ; preds = %178
%182 = load i32*, i32** %21
%183 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%184 = call i32 (i32*, i8*, ...) @fscanf(i32* %182, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %183)
br label %185
185: ; preds = %181
%186 = load i32, i32* %20
%187 = add nsw i32 %186, 1
store i32 %187, i32* %20
br label %178
188: ; preds = %178
%189 = load i32*, i32** %21
%190 = call i32 (i32*, i8*, ...) @fscanf(i32* %189, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %16)
br label %204
191: ; preds = %121
%192 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%193 = call i64 @strcmp(i8* %192, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%194 = icmp eq i64 %193, 0
br i1 %194, label %195, label %203
195: ; preds = %191
%196 = load i32*, i32** %21
%197 = getelementptr inbounds [200 x i8], [200 x i8]* %18, i64 0, i64 0
%198 = call i32 (i32*, i8*, ...) @fscanf(i32* %196, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %197)
%199 = load [60 x double]*, [60 x double]** %6
%200 = bitcast [60 x double]* %199 to double**
%201 = load i32*, i32** %21
%202 = call i32 @readMatrix3(double** %200, i32* %201)
br label %203
203: ; preds = %195, %191
br label %204
204: ; preds = %203, %188
br label %205
205: ; preds = %204, %117
br label %206
206: ; preds = %205, %54
br label %207
207: ; preds = %206, %47
%208 = load i32*, i32** %21
%209 = call i32 (i32*, i8*, ...) @fscanf(i32* %208, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %17)
br label %30
210: ; preds = %30
%211 = load i32*, i32** %21
%212 = call i32 @fclose(i32* %211)
%213 = load double, double* %7
%214 = load double*, double** %5
%215 = getelementptr inbounds double, double* %214, i64 0
store double %213, double* %215
%216 = load double, double* %8
%217 = load double*, double** %5
%218 = getelementptr inbounds double, double* %217, i64 1
store double %216, double* %218
%219 = load double, double* %9
%220 = load double*, double** %5
%221 = getelementptr inbounds double, double* %220, i64 2
store double %219, double* %221
%222 = load double, double* %10
%223 = load double*, double** %5
%224 = getelementptr inbounds double, double* %223, i64 3
store double %222, double* %224
%225 = load double, double* %11
%226 = load double*, double** %5
%227 = getelementptr inbounds double, double* %226, i64 4
store double %225, double* %227
%228 = load double, double* %12
%229 = load double*, double** %5
%230 = getelementptr inbounds double, double* %229, i64 5
store double %228, double* %230
%231 = load double, double* %13
%232 = load double*, double** %5
%233 = getelementptr inbounds double, double* %232, i64 6
store double %231, double* %233
%234 = load double, double* %14
%235 = load double*, double** %5
%236 = getelementptr inbounds double, double* %235, i64 7
store double %234, double* %236
%237 = load double, double* %15
%238 = load double*, double** %5
%239 = getelementptr inbounds double, double* %238, i64 8
store double %237, double* %239
%240 = load double, double* %16
%241 = load double*, double** %5
%242 = getelementptr inbounds double, double* %241, i64 9
store double %240, double* %242
br label %243
243: ; preds = %210, %25
ret void
}

LLVM IR (-O2):
@.str = [14 x i8] c"propeller.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.3 = [3 x i8] c"%c\00"
@.str.4 = [5 x i8] c"S.I.\00"
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [4 x i8] c"%lg\00"
@.str.7 = [3 x i8] c"%d\00"
@.str.8 = [6 x i8] c"CLARK\00"
@.str.9 = [3 x i8] c"BA\00"
@str = [25 x i8] c"File could not be opened\00"
define void @readPropeller(i32* %0, double* nocapture writeonly %1, [60 x double]* %2) {
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca i8
%15 = alloca [200 x i8]
%16 = bitcast double* %4 to i8*
%17 = bitcast double* %5 to i8*
%18 = bitcast double* %6 to i8*
%19 = bitcast double* %7 to i8*
%20 = bitcast double* %8 to i8*
%21 = bitcast double* %9 to i8*
%22 = bitcast double* %10 to i8*
%23 = bitcast double* %11 to i8*
%24 = bitcast double* %12 to i8*
%25 = bitcast double* %13 to i8*
%26 = getelementptr inbounds [200 x i8], [200 x i8]* %15, i64 0, i64 0
%27 = tail call i32* @fopen(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i32* %27, null
br i1 %28, label %29, label %31
29: ; preds = %3
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
br label %122
31: ; preds = %3
%32 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %14)
%33 = call i32 @feof(i32* %27)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %101
35: ; preds = %31
%36 = bitcast [60 x double]* %2 to double**
br label %37
37: ; preds = %35, %96
%38 = phi i32 [ 0, %35 ], [ %97, %96 ]
%39 = load i8, i8* %14
switch i8 %39, label %40 [
i8 32, label %44
i8 10, label %44
i8 9, label %44
]
40: ; preds = %37
%41 = sext i32 %38 to i64
%42 = getelementptr inbounds [200 x i8], [200 x i8]* %15, i64 0, i64 %41
store i8 %39, i8* %42
%43 = add nsw i32 %38, 1
br label %96
44: ; preds = %37, %37, %37
%45 = icmp eq i32 %38, 0
br i1 %45, label %96, label %46
46: ; preds = %44
%47 = sext i32 %38 to i64
%48 = getelementptr inbounds [200 x i8], [200 x i8]* %15, i64 0, i64 %47
store i8 0, i8* %48
%49 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %69
51: ; preds = %46
%52 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%53 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%54 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %4)
%55 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%56 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%57 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %5)
%58 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%59 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%60 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%61 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %6)
%62 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%63 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%64 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%65 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %7)
%66 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%67 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%68 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i32* %0)
br label %96
69: ; preds = %46
%70 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %90
72: ; preds = %69
%73 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%74 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%75 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %8)
%76 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%77 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%78 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %9)
%79 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%80 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %10)
%81 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%82 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%83 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %11)
%84 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%85 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%86 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %12)
%87 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%88 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%89 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double* %13)
br label %96
90: ; preds = %69
%91 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %90
%94 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %26)
%95 = call i32 @readMatrix3(double** %36, i32* %27)
br label %96
96: ; preds = %44, %72, %93, %90, %51, %40
%97 = phi i32 [ %43, %40 ], [ 0, %51 ], [ 0, %72 ], [ 0, %93 ], [ 0, %90 ], [ 0, %44 ]
%98 = call i32 (i32*, i8*, ...) @fscanf(i32* %27, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* %14)
%99 = call i32 @feof(i32* %27)
%100 = icmp eq i32 %99, 0
br i1 %100, label %37, label %101
101: ; preds = %96, %31
%102 = call i32 @fclose(i32* %27)
%103 = load double, double* %4
store double %103, double* %1
%104 = load double, double* %5
%105 = getelementptr inbounds double, double* %1, i64 1
store double %104, double* %105
%106 = load double, double* %6
%107 = getelementptr inbounds double, double* %1, i64 2
store double %106, double* %107
%108 = load double, double* %7
%109 = getelementptr inbounds double, double* %1, i64 3
store double %108, double* %109
%110 = load double, double* %8
%111 = getelementptr inbounds double, double* %1, i64 4
store double %110, double* %111
%112 = load double, double* %9
%113 = getelementptr inbounds double, double* %1, i64 5
store double %112, double* %113
%114 = load double, double* %10
%115 = getelementptr inbounds double, double* %1, i64 6
store double %114, double* %115
%116 = load double, double* %11
%117 = getelementptr inbounds double, double* %1, i64 7
store double %116, double* %117
%118 = load double, double* %12
%119 = getelementptr inbounds double, double* %1, i64 8
store double %118, double* %119
%120 = load double, double* %13
%121 = getelementptr inbounds double, double* %1, i64 9
store double %120, double* %121
br label %122
122: ; preds = %101, %29
ret void
}