#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 */
double atof(char *);
int atoi(char *);
double create_init_value();
double d2mce_mtime();
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fwrite(double *, int, int, int /*<<< orphan*/ *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ srand(int);
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ usage_info();
int main(int argc, char *argv[]) {
  int i, j, k;
  int _vector_size = 3;
  int _iteration = 100;
  double _initval = 10;
  int _column = 3 + 1;
  int ans_index = 0;
  int change = 1;
  double computing;
  double *matrix;
  double *ans[2];
  double time;
  FILE *file;
  if (argc > 1) {
    for (i = 1; i < argc;) {
      if (!strcmp(argv[i], "-s")) {
        if (argv[i + 1] == NULL) {
          usage_info();
          return 0;
        }
        _vector_size = atoi(argv[i + 1]);
        _column = _vector_size + 1;
        i += 2;
      } else if (!strcmp(argv[i], "-i")) {
        if (argv[i + 1] == NULL) {
          usage_info();
          return 0;
        }
        _iteration = atoi(argv[i + 1]);
        i += 2;
      } else if (!strcmp(argv[i], "-v")) {
        if (argv[i + 1] == NULL) {
          usage_info();
          return 0;
        }
        _initval = atof(argv[i + 1]);
        i += 2;
      } else {
        usage_info();
        return 0;
      }
    }
  }
  srand(2882);
  matrix = (double *)malloc(sizeof(double) * _vector_size * _column);
  ans[0] = (double *)malloc(sizeof(double) * _vector_size);
  ans[1] = (double *)malloc(sizeof(double) * _vector_size);
  for (i = 0; i < _vector_size; i++) {
    ans[0][i] = _initval;
    for (j = 0; j < _column; j++) {
      if (i == j)
        matrix[i * _column + j] = 0;
      else
        matrix[i * _column + j] = create_init_value();
    }
  }
  time = -d2mce_mtime();
  for (i = 0; i < _iteration; i++) {
    for (j = 0; j < _vector_size; j++) {
      computing = 0;
      for (k = 0; k < _vector_size; k++) {
        if (j != k)
          computing += matrix[j * _column + k] * ans[ans_index][k];
      }
      computing += matrix[j * _column + _vector_size];
      ans[ans_index + change][j] = computing;
      printf("%d  ", computing);
    }
    printf("\n");
    ans_index += change;
    change = -change;
  }
  time += d2mce_mtime();
  printf("the ans:\n");
  for (i = 0; i < _vector_size; i++) {
    printf("%f ", ans[ans_index][i]);
  }
  printf("Result:\n");
  printf("\tTIME\tVector_Size\n");
  printf("\t%f\t%d\n", time, _vector_size);
  file = fopen("sequence_output.data", "w");
  fwrite(ans[ans_index], sizeof(double), _vector_size, file);
  fclose(file);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x3,-0x20(%rbp)
movl   $0x64,-0x24(%rbp)
movsd  0xe14(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movl   $0x4,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x1,-0x3c(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    13ae <main+0x1ee>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13a9 <main+0x1e9>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdd2(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    129f <main+0xdf>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    126f <main+0xaf>
mov    $0x0,%al
call   1080 <usage_info@plt>
movl   $0x0,-0x4(%rbp)
jmp    16b7 <main+0x4f7>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x14(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x14(%rbp)
jmp    13a4 <main+0x1e4>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd59(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1312 <main+0x152>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    12eb <main+0x12b>
mov    $0x0,%al
call   1080 <usage_info@plt>
movl   $0x0,-0x4(%rbp)
jmp    16b7 <main+0x4f7>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   10b0 <atoi@plt>
mov    %eax,-0x24(%rbp)
mov    -0x14(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x14(%rbp)
jmp    139f <main+0x1df>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xce9(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1387 <main+0x1c7>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    135e <main+0x19e>
mov    $0x0,%al
call   1080 <usage_info@plt>
movl   $0x0,-0x4(%rbp)
jmp    16b7 <main+0x4f7>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
call   1030 <atof@plt>
movsd  %xmm0,-0x30(%rbp)
mov    -0x14(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x14(%rbp)
jmp    139a <main+0x1da>
mov    $0x0,%al
call   1080 <usage_info@plt>
movl   $0x0,-0x4(%rbp)
jmp    16b7 <main+0x4f7>
jmp    139f <main+0x1df>
jmp    13a4 <main+0x1e4>
jmp    1217 <main+0x57>
jmp    13ae <main+0x1ee>
mov    $0xb42,%edi
call   1060 <srand@plt>
movslq -0x20(%rbp),%rax
shl    $0x3,%rax
movslq -0x34(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x50(%rbp)
movslq -0x20(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x60(%rbp)
movslq -0x20(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x58(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    149e <main+0x2de>
movsd  -0x30(%rbp),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    148b <main+0x2cb>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    145b <main+0x29b>
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0x34(%rbp),%ecx
add    -0x18(%rbp),%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1478 <main+0x2b8>
mov    $0x0,%al
call   10c0 <create_init_value@plt>
mov    -0x50(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0x34(%rbp),%ecx
add    -0x18(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    147d <main+0x2bd>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1425 <main+0x265>
jmp    1490 <main+0x2d0>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1400 <main+0x240>
mov    $0x0,%al
call   10e0 <d2mce_mtime@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    15e4 <main+0x424>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    15b7 <main+0x3f7>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    155b <main+0x39b>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
je     1548 <main+0x388>
mov    -0x50(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x34(%rbp),%ecx
add    -0x1c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x38(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    154d <main+0x38d>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    14f6 <main+0x336>
mov    -0x50(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x34(%rbp),%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x38(%rbp),%eax
add    -0x3c(%rbp),%eax
cltq
mov    -0x60(%rbp,%rax,8),%rax
movslq -0x18(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x48(%rbp),%xmm0
lea    0xa6f(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14db <main+0x31b>
lea    0xa60(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    -0x38(%rbp),%eax
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
sub    -0x3c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    14c8 <main+0x308>
mov    $0x0,%al
call   10e0 <d2mce_mtime@plt>
addsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
lea    0xa1a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1644 <main+0x484>
movslq -0x38(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0x9f1(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    160a <main+0x44a>
lea    0x9d9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0x9d4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%esi
lea    0x9d1(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
lea    0x9cb(%rip),%rdi
lea    0x9d9(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x70(%rbp)
movslq -0x38(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdi
mov    -0x20(%rbp),%edx
mov    -0x70(%rbp),%rcx
mov    $0x8,%esi
call   10d0 <fwrite@plt>
mov    -0x70(%rbp),%rdi
call   1040 <fclose@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
cmp    $0x2,%edi
jl     12ec <main+0x10c>
mov    %rsi,%rbx
mov    %edi,%r15d
mov    $0x3,%eax
mov    %rax,0x10(%rsp)
movl   $0x64,0xc(%rsp)
movsd  0xde9(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movl   $0x4,0x18(%rsp)
mov    $0x1,%ebp
lea    0xdd7(%rip),%r14
lea    0xdd3(%rip),%r12
jmp    126f <main+0x8f>
nopw   0x0(%rax,%rax,1)
mov    0x8(%rbx,%rbp,8),%rdi
test   %rdi,%rdi
je     167e <main+0x49e>
call   10d0 <atoi@plt>
mov    %rax,%rcx
mov    %rax,0x10(%rsp)
add    $0x1,%eax
mov    %eax,0x18(%rsp)
add    $0x2,%rbp
cmp    %r15d,%ebp
jge    1314 <main+0x134>
mov    (%rbx,%rbp,8),%r13
mov    %r13,%rdi
mov    %r14,%rsi
call   1090 <strcmp@plt>
test   %eax,%eax
je     1240 <main+0x60>
mov    %r13,%rdi
mov    %r12,%rsi
call   1090 <strcmp@plt>
test   %eax,%eax
je     12d0 <main+0xf0>
mov    %r13,%rdi
lea    0xd73(%rip),%rsi
call   1090 <strcmp@plt>
test   %eax,%eax
jne    167e <main+0x49e>
mov    0x8(%rbx,%rbp,8),%rdi
test   %rdi,%rdi
je     167e <main+0x49e>
call   1050 <atof@plt>
movsd  %xmm0,0x20(%rsp)
jmp    1262 <main+0x82>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x8(%rbx,%rbp,8),%rdi
test   %rdi,%rdi
je     167e <main+0x49e>
call   10d0 <atoi@plt>
mov    %eax,0xc(%rsp)
jmp    1262 <main+0x82>
movl   $0x4,0x18(%rsp)
movsd  0xd04(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movl   $0x64,0xc(%rsp)
mov    $0x3,%eax
mov    %rax,0x10(%rsp)
mov    $0xb42,%edi
call   1080 <srand@plt>
mov    0x10(%rsp),%rbp
lea    0x0(,%rbp,8),%ebx
mov    0x18(%rsp),%r14d
mov    %r14d,%edi
imul   %ebx,%edi
call   10b0 <malloc@plt>
mov    %rax,(%rsp)
mov    %ebx,%edi
call   10b0 <malloc@plt>
mov    %rax,0x48(%rsp)
mov    %rax,0x30(%rsp)
mov    %ebx,%edi
call   10b0 <malloc@plt>
mov    %rax,0x38(%rsp)
movslq %r14d,%rax
mov    %rax,0x28(%rsp)
mov    %ebp,%r15d
test   %ebp,%ebp
jle    13fa <main+0x21a>
mov    0x28(%rsp),%rax
mov    %eax,%ebx
lea    0x0(,%rax,8),%rax
mov    %rax,0x40(%rsp)
mov    (%rsp),%rbp
xor    %r12d,%r12d
jmp    139e <main+0x1be>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r12
add    0x40(%rsp),%rbp
cmp    %r15,%r12
je     13fa <main+0x21a>
movsd  0x20(%rsp),%xmm0
mov    0x48(%rsp),%rax
movsd  %xmm0,(%rax,%r12,8)
cmpl   $0x0,0x18(%rsp)
jle    1390 <main+0x1b0>
mov    %r12,%r13
imul   0x28(%rsp),%r13
add    %r12,%r13
xor    %r14d,%r14d
jmp    13e7 <main+0x207>
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   10e0 <create_init_value@plt>
movsd  %xmm0,0x0(%rbp,%r14,8)
add    $0x1,%r14
cmp    %r14,%rbx
je     1390 <main+0x1b0>
cmp    %r14,%r12
jne    13d0 <main+0x1f0>
mov    (%rsp),%rax
movq   $0x0,(%rax,%r13,8)
jmp    13de <main+0x1fe>
xor    %r12d,%r12d
xor    %eax,%eax
call   1100 <d2mce_mtime@plt>
movsd  %xmm0,0x50(%rsp)
cmpl   $0x0,0xc(%rsp)
jle    15b8 <main+0x3d8>
movslq 0x10(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    %r15d,%ebx
and    $0xfffffffe,%ebx
mov    (%rsp),%rax
add    $0x8,%rax
mov    %rax,0x58(%rsp)
mov    0x28(%rsp),%rax
lea    0x0(,%rax,8),%rax
mov    %rax,0x20(%rsp)
mov    $0x1,%r13d
xor    %ebp,%ebp
xor    %r12d,%r12d
jmp    1489 <main+0x2a9>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x48(%rsp),%r12d
mov    0x40(%rsp),%r13d
mov    0x60(%rsp),%rbp
mov    $0xa,%edi
call   1030 <putchar@plt>
neg    %r13d
add    $0x1,%ebp
cmp    0xc(%rsp),%ebp
je     15b8 <main+0x3d8>
cmpl   $0x0,0x10(%rsp)
jle    15b0 <main+0x3d0>
mov    %rbp,0x60(%rsp)
movslq %r12d,%r14
mov    %r13d,0x40(%rsp)
add    %r13d,%r12d
mov    %r12d,0x48(%rsp)
movslq %r12d,%rax
mov    0x30(%rsp,%rax,8),%r13
mov    0x58(%rsp),%r12
xor    %ebp,%ebp
jmp    14f5 <main+0x315>
nopw   0x0(%rax,%rax,1)
add    0x18(%rsp),%rcx
mov    (%rsp),%rax
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,0x0(%r13,%rbp,8)
lea    0xb35(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
add    $0x1,%rbp
add    0x20(%rsp),%r12
cmp    %r15,%rbp
je     1460 <main+0x280>
cmpl   $0x1,0x10(%rsp)
jne    1510 <main+0x330>
xorpd  %xmm0,%xmm0
xor    %eax,%eax
jmp    1574 <main+0x394>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xorpd  %xmm0,%xmm0
xor    %ecx,%ecx
jmp    1529 <main+0x349>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rcx
cmp    %rbx,%rcx
je     1570 <main+0x390>
mov    %rcx,%rax
cmp    %rcx,%rbp
je     1546 <main+0x366>
movsd  -0x8(%r12,%rax,8),%xmm1
mov    0x30(%rsp,%r14,8),%rcx
mulsd  (%rcx,%rax,8),%xmm1
addsd  %xmm1,%xmm0
lea    0x1(%rax),%rcx
cmp    %rcx,%rbp
je     1520 <main+0x340>
movsd  (%r12,%rax,8),%xmm1
mov    0x30(%rsp,%r14,8),%rdx
mulsd  0x8(%rdx,%rax,8),%xmm1
addsd  %xmm1,%xmm0
jmp    1520 <main+0x340>
cs nopw 0x0(%rax,%rax,1)
add    $0x2,%rax
mov    %rbp,%rcx
imul   0x28(%rsp),%rcx
test   $0x1,%r15b
je     14c0 <main+0x2e0>
cmp    %rax,%rbp
je     14c0 <main+0x2e0>
lea    (%rax,%rcx,1),%rdx
mov    (%rsp),%rsi
movsd  (%rsi,%rdx,8),%xmm1
mov    0x30(%rsp,%r14,8),%rdx
mulsd  (%rdx,%rax,8),%xmm1
addsd  %xmm1,%xmm0
jmp    14c0 <main+0x2e0>
add    %r13d,%r12d
jmp    146f <main+0x28f>
xor    %eax,%eax
call   1100 <d2mce_mtime@plt>
movsd  %xmm0,(%rsp)
lea    0xa6e(%rip),%rdi
call   1040 <puts@plt>
movsd  (%rsp),%xmm0
subsd  0x50(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movslq %r12d,%r14
cmpl   $0x0,0x10(%rsp)
jle    1618 <main+0x438>
mov    0x30(%rsp,%r14,8),%rbx
xor    %ebp,%ebp
lea    0xa1e(%rip),%r12
nopl   0x0(%rax,%rax,1)
movsd  (%rbx,%rbp,8),%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1600 <main+0x420>
lea    0xa23(%rip),%rdi
call   1040 <puts@plt>
lea    0xa1f(%rip),%rdi
call   1040 <puts@plt>
lea    0x9e3(%rip),%rdi
movsd  (%rsp),%xmm0
mov    0x10(%rsp),%rbp
mov    %ebp,%esi
mov    $0x1,%al
call   1070 <printf@plt>
lea    0x9d1(%rip),%rdi
lea    0x9df(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,%rbx
mov    0x30(%rsp,%r14,8),%rdi
mov    $0x8,%esi
mov    %ebp,%edx
mov    %rax,%rcx
call   10f0 <fwrite@plt>
mov    %rbx,%rdi
call   1060 <fclose@plt>
jmp    1685 <main+0x4a5>
xor    %eax,%eax
call   10a0 <usage_info@plt>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"-s\00"
@.str.1 = [3 x i8] c"-i\00"
@.str.2 = [3 x i8] c"-v\00"
@.str.3 = [5 x i8] c"%d \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [10 x i8] c"the ans:\0A\00"
@.str.6 = [4 x i8] c"%f \00"
@.str.7 = [9 x i8] c"Result:\0A\00"
@.str.8 = [19 x i8] c"\09TIME\09Vector_Size\0A\00"
@.str.9 = [8 x i8] c"\09%f\09%d\0A\00"
@.str.10 = [21 x i8] c"sequence_output.data\00"
@.str.11 = [2 x i8] c"w\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 i32
%11 = alloca double
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca double
%16 = alloca double*
%17 = alloca [2 x double*]
%18 = alloca double
%19 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 3, i32* %9
store i32 100, i32* %10
store double 1.000000e+01, double* %11
store i32 4, i32* %12
store i32 0, i32* %13
store i32 1, i32* %14
%20 = load i32, i32* %4
%21 = icmp sgt i32 %20, 1
br i1 %21, label %22, label %119
22: ; preds = %2
store i32 1, i32* %6
br label %23
23: ; preds = %117, %22
%24 = load i32, i32* %6
%25 = load i32, i32* %4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %118
27: ; preds = %23
%28 = load i8**, i8*** %5
%29 = load i32, i32* %6
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8*, i8** %28, i64 %30
%32 = load i8*, i8** %31
%33 = call i32 @strcmp(i8* %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%34 = icmp ne i32 %33, 0
br i1 %34, label %57, label %35
35: ; preds = %27
%36 = load i8**, i8*** %5
%37 = load i32, i32* %6
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8*, i8** %36, i64 %39
%41 = load i8*, i8** %40
%42 = icmp eq i8* %41, null
br i1 %42, label %43, label %45
43: ; preds = %35
%44 = call i32 (...) @usage_info()
store i32 0, i32* %3
br label %310
45: ; preds = %35
%46 = load i8**, i8*** %5
%47 = load i32, i32* %6
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8*, i8** %46, i64 %49
%51 = load i8*, i8** %50
%52 = call i32 @atoi(i8* %51)
store i32 %52, i32* %9
%53 = load i32, i32* %9
%54 = add nsw i32 %53, 1
store i32 %54, i32* %12
%55 = load i32, i32* %6
%56 = add nsw i32 %55, 2
store i32 %56, i32* %6
br label %117
57: ; preds = %27
%58 = load i8**, i8*** %5
%59 = load i32, i32* %6
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8*, i8** %58, i64 %60
%62 = load i8*, i8** %61
%63 = call i32 @strcmp(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%64 = icmp ne i32 %63, 0
br i1 %64, label %85, label %65
65: ; preds = %57
%66 = load i8**, i8*** %5
%67 = load i32, i32* %6
%68 = add nsw i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8*, i8** %66, i64 %69
%71 = load i8*, i8** %70
%72 = icmp eq i8* %71, null
br i1 %72, label %73, label %75
73: ; preds = %65
%74 = call i32 (...) @usage_info()
store i32 0, i32* %3
br label %310
75: ; preds = %65
%76 = load i8**, i8*** %5
%77 = load i32, i32* %6
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8*, i8** %76, i64 %79
%81 = load i8*, i8** %80
%82 = call i32 @atoi(i8* %81)
store i32 %82, i32* %10
%83 = load i32, i32* %6
%84 = add nsw i32 %83, 2
store i32 %84, i32* %6
br label %116
85: ; preds = %57
%86 = load i8**, i8*** %5
%87 = load i32, i32* %6
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8*, i8** %86, i64 %88
%90 = load i8*, i8** %89
%91 = call i32 @strcmp(i8* %90, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%92 = icmp ne i32 %91, 0
br i1 %92, label %113, label %93
93: ; preds = %85
%94 = load i8**, i8*** %5
%95 = load i32, i32* %6
%96 = add nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8*, i8** %94, i64 %97
%99 = load i8*, i8** %98
%100 = icmp eq i8* %99, null
br i1 %100, label %101, label %103
101: ; preds = %93
%102 = call i32 (...) @usage_info()
store i32 0, i32* %3
br label %310
103: ; preds = %93
%104 = load i8**, i8*** %5
%105 = load i32, i32* %6
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8*, i8** %104, i64 %107
%109 = load i8*, i8** %108
%110 = call double @atof(i8* %109)
store double %110, double* %11
%111 = load i32, i32* %6
%112 = add nsw i32 %111, 2
store i32 %112, i32* %6
br label %115
113: ; preds = %85
%114 = call i32 (...) @usage_info()
store i32 0, i32* %3
br label %310
115: ; preds = %103
br label %116
116: ; preds = %115, %75
br label %117
117: ; preds = %116, %45
br label %23
118: ; preds = %23
br label %119
119: ; preds = %118, %2
%120 = call i32 @srand(i32 2882)
%121 = load i32, i32* %9
%122 = sext i32 %121 to i64
%123 = mul i64 8, %122
%124 = load i32, i32* %12
%125 = sext i32 %124 to i64
%126 = mul i64 %123, %125
%127 = trunc i64 %126 to i32
%128 = call i64 @malloc(i32 %127)
%129 = inttoptr i64 %128 to double*
store double* %129, double** %16
%130 = load i32, i32* %9
%131 = sext i32 %130 to i64
%132 = mul i64 8, %131
%133 = trunc i64 %132 to i32
%134 = call i64 @malloc(i32 %133)
%135 = inttoptr i64 %134 to double*
%136 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 0
store double* %135, double** %136
%137 = load i32, i32* %9
%138 = sext i32 %137 to i64
%139 = mul i64 8, %138
%140 = trunc i64 %139 to i32
%141 = call i64 @malloc(i32 %140)
%142 = inttoptr i64 %141 to double*
%143 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 1
store double* %142, double** %143
store i32 0, i32* %6
br label %144
144: ; preds = %187, %119
%145 = load i32, i32* %6
%146 = load i32, i32* %9
%147 = icmp slt i32 %145, %146
br i1 %147, label %148, label %190
148: ; preds = %144
%149 = load double, double* %11
%150 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 0
%151 = load double*, double** %150
%152 = load i32, i32* %6
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %151, i64 %153
store double %149, double* %154
store i32 0, i32* %7
br label %155
155: ; preds = %183, %148
%156 = load i32, i32* %7
%157 = load i32, i32* %12
%158 = icmp slt i32 %156, %157
br i1 %158, label %159, label %186
159: ; preds = %155
%160 = load i32, i32* %6
%161 = load i32, i32* %7
%162 = icmp eq i32 %160, %161
br i1 %162, label %163, label %172
163: ; preds = %159
%164 = load double*, double** %16
%165 = load i32, i32* %6
%166 = load i32, i32* %12
%167 = mul nsw i32 %165, %166
%168 = load i32, i32* %7
%169 = add nsw i32 %167, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, double* %164, i64 %170
store double 0.000000e+00, double* %171
br label %182
172: ; preds = %159
%173 = call double (...) @create_init_value()
%174 = load double*, double** %16
%175 = load i32, i32* %6
%176 = load i32, i32* %12
%177 = mul nsw i32 %175, %176
%178 = load i32, i32* %7
%179 = add nsw i32 %177, %178
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, double* %174, i64 %180
store double %173, double* %181
br label %182
182: ; preds = %172, %163
br label %183
183: ; preds = %182
%184 = load i32, i32* %7
%185 = add nsw i32 %184, 1
store i32 %185, i32* %7
br label %155
186: ; preds = %155
br label %187
187: ; preds = %186
%188 = load i32, i32* %6
%189 = add nsw i32 %188, 1
store i32 %189, i32* %6
br label %144
190: ; preds = %144
%191 = call double (...) @d2mce_mtime()
%192 = fneg double %191
store double %192, double* %18
store i32 0, i32* %6
br label %193
193: ; preds = %269, %190
%194 = load i32, i32* %6
%195 = load i32, i32* %10
%196 = icmp slt i32 %194, %195
br i1 %196, label %197, label %272
197: ; preds = %193
store i32 0, i32* %7
br label %198
198: ; preds = %259, %197
%199 = load i32, i32* %7
%200 = load i32, i32* %9
%201 = icmp slt i32 %199, %200
br i1 %201, label %202, label %262
202: ; preds = %198
store double 0.000000e+00, double* %15
store i32 0, i32* %8
br label %203
203: ; preds = %232, %202
%204 = load i32, i32* %8
%205 = load i32, i32* %9
%206 = icmp slt i32 %204, %205
br i1 %206, label %207, label %235
207: ; preds = %203
%208 = load i32, i32* %7
%209 = load i32, i32* %8
%210 = icmp ne i32 %208, %209
br i1 %210, label %211, label %231
211: ; preds = %207
%212 = load double*, double** %16
%213 = load i32, i32* %7
%214 = load i32, i32* %12
%215 = mul nsw i32 %213, %214
%216 = load i32, i32* %8
%217 = add nsw i32 %215, %216
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds double, double* %212, i64 %218
%220 = load double, double* %219
%221 = load i32, i32* %13
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 %222
%224 = load double*, double** %223
%225 = load i32, i32* %8
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds double, double* %224, i64 %226
%228 = load double, double* %227
%229 = load double, double* %15
%230 = call double @llvm.fmuladd.f64(double %220, double %228, double %229)
store double %230, double* %15
br label %231
231: ; preds = %211, %207
br label %232
232: ; preds = %231
%233 = load i32, i32* %8
%234 = add nsw i32 %233, 1
store i32 %234, i32* %8
br label %203
235: ; preds = %203
%236 = load double*, double** %16
%237 = load i32, i32* %7
%238 = load i32, i32* %12
%239 = mul nsw i32 %237, %238
%240 = load i32, i32* %9
%241 = add nsw i32 %239, %240
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds double, double* %236, i64 %242
%244 = load double, double* %243
%245 = load double, double* %15
%246 = fadd double %245, %244
store double %246, double* %15
%247 = load double, double* %15
%248 = load i32, i32* %13
%249 = load i32, i32* %14
%250 = add nsw i32 %248, %249
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 %251
%253 = load double*, double** %252
%254 = load i32, i32* %7
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, double* %253, i64 %255
store double %247, double* %256
%257 = load double, double* %15
%258 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %257)
br label %259
259: ; preds = %235
%260 = load i32, i32* %7
%261 = add nsw i32 %260, 1
store i32 %261, i32* %7
br label %198
262: ; preds = %198
%263 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%264 = load i32, i32* %14
%265 = load i32, i32* %13
%266 = add nsw i32 %265, %264
store i32 %266, i32* %13
%267 = load i32, i32* %14
%268 = sub nsw i32 0, %267
store i32 %268, i32* %14
br label %269
269: ; preds = %262
%270 = load i32, i32* %6
%271 = add nsw i32 %270, 1
store i32 %271, i32* %6
br label %193
272: ; preds = %193
%273 = call double (...) @d2mce_mtime()
%274 = load double, double* %18
%275 = fadd double %274, %273
store double %275, double* %18
%276 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %6
br label %277
277: ; preds = %291, %272
%278 = load i32, i32* %6
%279 = load i32, i32* %9
%280 = icmp slt i32 %278, %279
br i1 %280, label %281, label %294
281: ; preds = %277
%282 = load i32, i32* %13
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 %283
%285 = load double*, double** %284
%286 = load i32, i32* %6
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, double* %285, i64 %287
%289 = load double, double* %288
%290 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %289)
br label %291
291: ; preds = %281
%292 = load i32, i32* %6
%293 = add nsw i32 %292, 1
store i32 %293, i32* %6
br label %277
294: ; preds = %277
%295 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%296 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0))
%297 = load double, double* %18
%298 = load i32, i32* %9
%299 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), double %297, i32 %298)
%300 = call i32* @fopen(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
store i32* %300, i32** %19
%301 = load i32, i32* %13
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [2 x double*], [2 x double*]* %17, i64 0, i64 %302
%304 = load double*, double** %303
%305 = load i32, i32* %9
%306 = load i32*, i32** %19
%307 = call i32 @fwrite(double* %304, i32 8, i32 %305, i32* %306)
%308 = load i32*, i32** %19
%309 = call i32 @fclose(i32* %308)
store i32 0, i32* %3
br label %310
310: ; preds = %294, %113, %101, %73, %43
%311 = load i32, i32* %3
ret i32 %311
}

LLVM IR (-O2):
@.str = [3 x i8] c"-s\00"
@.str.1 = [3 x i8] c"-i\00"
@.str.2 = [3 x i8] c"-v\00"
@.str.3 = [5 x i8] c"%d \00"
@.str.6 = [4 x i8] c"%f \00"
@.str.9 = [8 x i8] c"\09%f\09%d\0A\00"
@.str.10 = [21 x i8] c"sequence_output.data\00"
@.str.11 = [2 x i8] c"w\00"
@str = [9 x i8] c"the ans:\00"
@str.12 = [8 x i8] c"Result:\00"
@str.13 = [18 x i8] c"\09TIME\09Vector_Size\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [2 x double*]
%4 = bitcast [2 x double*]* %3 to i8*
%5 = icmp sgt i32 %0, 1
br i1 %5, label %6, label %60
6: ; preds = %2, %52
%7 = phi i64 [ %57, %52 ], [ 1, %2 ]
%8 = phi i32 [ %56, %52 ], [ 4, %2 ]
%9 = phi double [ %55, %52 ], [ 1.000000e+01, %2 ]
%10 = phi i32 [ %54, %52 ], [ 100, %2 ]
%11 = phi i32 [ %53, %52 ], [ 3, %2 ]
%12 = getelementptr inbounds i8*, i8** %1, i64 %7
%13 = load i8*, i8** %12
%14 = tail call i32 @strcmp(i8* dereferenceable(1) %13, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %26
16: ; preds = %6
%17 = add nuw nsw i64 %7, 1
%18 = getelementptr inbounds i8*, i8** %1, i64 %17
%19 = load i8*, i8** %18
%20 = icmp eq i8* %19, null
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = tail call i32 (...) @usage_info()
br label %216
23: ; preds = %16
%24 = tail call i32 @atoi(i8* %19)
%25 = add nsw i32 %24, 1
br label %52
26: ; preds = %6
%27 = tail call i32 @strcmp(i8* dereferenceable(1) %13, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = add nuw nsw i64 %7, 1
%31 = getelementptr inbounds i8*, i8** %1, i64 %30
%32 = load i8*, i8** %31
%33 = icmp eq i8* %32, null
br i1 %33, label %34, label %36
34: ; preds = %29
%35 = tail call i32 (...) @usage_info()
br label %216
36: ; preds = %29
%37 = tail call i32 @atoi(i8* %32)
br label %52
38: ; preds = %26
%39 = tail call i32 @strcmp(i8* dereferenceable(1) %13, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %50
41: ; preds = %38
%42 = add nuw nsw i64 %7, 1
%43 = getelementptr inbounds i8*, i8** %1, i64 %42
%44 = load i8*, i8** %43
%45 = icmp eq i8* %44, null
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = tail call i32 (...) @usage_info()
br label %216
48: ; preds = %41
%49 = tail call double @atof(i8* %44)
br label %52
50: ; preds = %38
%51 = tail call i32 (...) @usage_info()
br label %216
52: ; preds = %36, %48, %23
%53 = phi i32 [ %11, %48 ], [ %11, %36 ], [ %24, %23 ]
%54 = phi i32 [ %10, %48 ], [ %37, %36 ], [ %10, %23 ]
%55 = phi double [ %49, %48 ], [ %9, %36 ], [ %9, %23 ]
%56 = phi i32 [ %8, %48 ], [ %8, %36 ], [ %25, %23 ]
%57 = add nuw i64 %7, 2
%58 = trunc i64 %57 to i32
%59 = icmp slt i32 %58, %0
br i1 %59, label %6, label %60
60: ; preds = %52, %2
%61 = phi i32 [ 3, %2 ], [ %53, %52 ]
%62 = phi i32 [ 100, %2 ], [ %54, %52 ]
%63 = phi double [ 1.000000e+01, %2 ], [ %55, %52 ]
%64 = phi i32 [ 4, %2 ], [ %56, %52 ]
%65 = tail call i32 @srand(i32 2882)
%66 = shl i32 %61, 3
%67 = mul i32 %64, %66
%68 = tail call i64 @malloc(i32 %67)
%69 = inttoptr i64 %68 to double*
%70 = tail call i64 @malloc(i32 %66)
%71 = inttoptr i64 %70 to double*
%72 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 0
store double* %71, double** %72
%73 = tail call i64 @malloc(i32 %66)
%74 = inttoptr i64 %73 to double*
%75 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 1
store double* %74, double** %75
%76 = icmp sgt i32 %61, 0
br i1 %76, label %77, label %103
77: ; preds = %60
%78 = icmp sgt i32 %64, 0
%79 = sext i32 %64 to i64
%80 = zext i32 %61 to i64
%81 = zext i32 %64 to i64
br label %82
82: ; preds = %77, %100
%83 = phi i64 [ 0, %77 ], [ %101, %100 ]
%84 = getelementptr inbounds double, double* %71, i64 %83
store double %63, double* %84
br i1 %78, label %85, label %100
85: ; preds = %82
%86 = mul nsw i64 %83, %79
%87 = add nsw i64 %83, %86
%88 = getelementptr inbounds double, double* %69, i64 %87
br label %89
89: ; preds = %85, %97
%90 = phi i64 [ 0, %85 ], [ %98, %97 ]
%91 = icmp eq i64 %83, %90
br i1 %91, label %92, label %93
92: ; preds = %89
store double 0.000000e+00, double* %88
br label %97
93: ; preds = %89
%94 = tail call double (...) @create_init_value()
%95 = add nsw i64 %90, %86
%96 = getelementptr inbounds double, double* %69, i64 %95
store double %94, double* %96
br label %97
97: ; preds = %92, %93
%98 = add nuw nsw i64 %90, 1
%99 = icmp eq i64 %98, %81
br i1 %99, label %100, label %89
100: ; preds = %97, %82
%101 = add nuw nsw i64 %83, 1
%102 = icmp eq i64 %101, %80
br i1 %102, label %103, label %82
103: ; preds = %100, %60
%104 = tail call double (...) @d2mce_mtime()
%105 = icmp sgt i32 %62, 0
br i1 %105, label %106, label %190
106: ; preds = %103
%107 = sext i32 %64 to i64
%108 = sext i32 %61 to i64
%109 = zext i32 %61 to i64
%110 = and i64 %109, 1
%111 = icmp eq i32 %61, 1
%112 = and i64 %109, 4294967294
%113 = icmp eq i64 %110, 0
br label %114
114: ; preds = %106, %184
%115 = phi i32 [ 0, %106 ], [ %188, %184 ]
%116 = phi i32 [ 1, %106 ], [ %187, %184 ]
%117 = phi i32 [ 0, %106 ], [ %185, %184 ]
br i1 %76, label %120, label %118
118: ; preds = %114
%119 = add nsw i32 %116, %117
br label %184
120: ; preds = %114
%121 = sext i32 %117 to i64
%122 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 %121
%123 = add nsw i32 %116, %117
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 %124
%126 = load double*, double** %125
br label %127
127: ; preds = %174, %120
%128 = phi i64 [ 0, %120 ], [ %182, %174 ]
%129 = mul nsw i64 %128, %107
br i1 %111, label %160, label %130
130: ; preds = %127, %155
%131 = phi i64 [ %157, %155 ], [ 0, %127 ]
%132 = phi double [ %156, %155 ], [ 0.000000e+00, %127 ]
%133 = phi i64 [ %158, %155 ], [ 0, %127 ]
%134 = icmp eq i64 %128, %131
br i1 %134, label %143, label %135
135: ; preds = %130
%136 = add nsw i64 %131, %129
%137 = getelementptr inbounds double, double* %69, i64 %136
%138 = load double, double* %137
%139 = load double*, double** %122
%140 = getelementptr inbounds double, double* %139, i64 %131
%141 = load double, double* %140
%142 = tail call double @llvm.fmuladd.f64(double %138, double %141, double %132)
br label %143
143: ; preds = %130, %135
%144 = phi double [ %142, %135 ], [ %132, %130 ]
%145 = or i64 %131, 1
%146 = icmp eq i64 %128, %145
br i1 %146, label %155, label %147
147: ; preds = %143
%148 = add nsw i64 %145, %129
%149 = getelementptr inbounds double, double* %69, i64 %148
%150 = load double, double* %149
%151 = load double*, double** %122
%152 = getelementptr inbounds double, double* %151, i64 %145
%153 = load double, double* %152
%154 = tail call double @llvm.fmuladd.f64(double %150, double %153, double %144)
br label %155
155: ; preds = %147, %143
%156 = phi double [ %154, %147 ], [ %144, %143 ]
%157 = add nuw nsw i64 %131, 2
%158 = add i64 %133, 2
%159 = icmp eq i64 %158, %112
br i1 %159, label %160, label %130
160: ; preds = %155, %127
%161 = phi double [ undef, %127 ], [ %156, %155 ]
%162 = phi i64 [ 0, %127 ], [ %157, %155 ]
%163 = phi double [ 0.000000e+00, %127 ], [ %156, %155 ]
br i1 %113, label %174, label %164
164: ; preds = %160
%165 = icmp eq i64 %128, %162
br i1 %165, label %174, label %166
166: ; preds = %164
%167 = add nsw i64 %162, %129
%168 = getelementptr inbounds double, double* %69, i64 %167
%169 = load double, double* %168
%170 = load double*, double** %122
%171 = getelementptr inbounds double, double* %170, i64 %162
%172 = load double, double* %171
%173 = tail call double @llvm.fmuladd.f64(double %169, double %172, double %163)
br label %174
174: ; preds = %164, %166, %160
%175 = phi double [ %161, %160 ], [ %173, %166 ], [ %163, %164 ]
%176 = add nsw i64 %129, %108
%177 = getelementptr inbounds double, double* %69, i64 %176
%178 = load double, double* %177
%179 = fadd double %175, %178
%180 = getelementptr inbounds double, double* %126, i64 %128
store double %179, double* %180
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %179)
%182 = add nuw nsw i64 %128, 1
%183 = icmp eq i64 %182, %109
br i1 %183, label %184, label %127
184: ; preds = %174, %118
%185 = phi i32 [ %119, %118 ], [ %123, %174 ]
%186 = tail call i32 @putchar(i32 10)
%187 = sub nsw i32 0, %116
%188 = add nuw nsw i32 %115, 1
%189 = icmp eq i32 %188, %62
br i1 %189, label %190, label %114
190: ; preds = %184, %103
%191 = phi i32 [ 0, %103 ], [ %185, %184 ]
%192 = tail call double (...) @d2mce_mtime()
%193 = fsub double %192, %104
%194 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
%195 = sext i32 %191 to i64
br i1 %76, label %196, label %207
196: ; preds = %190
%197 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 %195
%198 = load double*, double** %197
%199 = zext i32 %61 to i64
br label %200
200: ; preds = %196, %200
%201 = phi i64 [ 0, %196 ], [ %205, %200 ]
%202 = getelementptr inbounds double, double* %198, i64 %201
%203 = load double, double* %202
%204 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), double %203)
%205 = add nuw nsw i64 %201, 1
%206 = icmp eq i64 %205, %199
br i1 %206, label %207, label %200
207: ; preds = %200, %190
%208 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.12, i64 0, i64 0))
%209 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.13, i64 0, i64 0))
%210 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), double %193, i32 %61)
%211 = tail call i32* @fopen(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
%212 = getelementptr inbounds [2 x double*], [2 x double*]* %3, i64 0, i64 %195
%213 = load double*, double** %212
%214 = tail call i32 @fwrite(double* %213, i32 8, i32 %61, i32* %211)
%215 = tail call i32 @fclose(i32* %211)
br label %216
216: ; preds = %207, %50, %46, %34, %21
ret i32 0
}