void double_exp_matrix(unsigned int lines, unsigned int columns,
                       double m1[10][10], unsigned int expNumber,
                       double result[10][10]) {
  unsigned int i, j, k, l;
  double m2[10][10];
  if (expNumber == 0) {
    for (i = 0; i < lines; i++) {
      for (j = 0; j < columns; j++) {
        if (i == j) {
          result[i][j] = 1.0;
        } else {
          result[i][j] = 0.0;
        }
      }
    }
    return;
  }
  for (i = 0; i < lines; i++)
    for (j = 0; j < columns; j++)
      result[i][j] = m1[i][j];
  if (expNumber == 1) {
    return;
  }
  for (l = 1; l < expNumber; l++) {
    for (i = 0; i < lines; i++)
      for (j = 0; j < columns; j++)
        m2[i][j] = result[i][j];
    for (i = 0; i < lines; i++)
      for (j = 0; j < columns; j++)
        result[i][j] = 0;
    for (i = 0; i < lines; i++) {
      for (j = 0; j < columns; j++) {
        for (k = 0; k < columns; k++) {
          result[i][j] = result[i][j] + (m2[i][k] * m1[k][j]);
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<double_exp_matrix>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2d0,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8,-0x20(%rbp)
cmpl   $0x0,-0x14(%rbp)
jne    11bf <double_exp_matrix+0xbf>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    11ba <double_exp_matrix+0xba>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    11a7 <double_exp_matrix+0xa7>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jne    117b <double_exp_matrix+0x7b>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  0xe8f(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1194 <double_exp_matrix+0x94>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1199 <double_exp_matrix+0x99>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1140 <double_exp_matrix+0x40>
jmp    11ac <double_exp_matrix+0xac>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    112d <double_exp_matrix+0x2d>
jmp    1411 <double_exp_matrix+0x311>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    1232 <double_exp_matrix+0x132>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    121f <double_exp_matrix+0x11f>
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11d9 <double_exp_matrix+0xd9>
jmp    1224 <double_exp_matrix+0x124>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11c6 <double_exp_matrix+0xc6>
cmpl   $0x1,-0x14(%rbp)
jne    1241 <double_exp_matrix+0x141>
jmp    1411 <double_exp_matrix+0x311>
movl   $0x1,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1411 <double_exp_matrix+0x311>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    12cc <double_exp_matrix+0x1cc>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    12b9 <double_exp_matrix+0x1b9>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x24(%rbp),%eax
mov    %eax,%ecx
lea    -0x350(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    126e <double_exp_matrix+0x16e>
jmp    12be <double_exp_matrix+0x1be>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    125b <double_exp_matrix+0x15b>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    132c <double_exp_matrix+0x22c>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    1319 <double_exp_matrix+0x219>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12e6 <double_exp_matrix+0x1e6>
jmp    131e <double_exp_matrix+0x21e>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12d3 <double_exp_matrix+0x1d3>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    13fe <double_exp_matrix+0x2fe>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    13eb <double_exp_matrix+0x2eb>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    13d8 <double_exp_matrix+0x2d8>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x24(%rbp),%eax
mov    %eax,%ecx
lea    -0x350(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x2c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
mov    -0x28(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1359 <double_exp_matrix+0x259>
jmp    13dd <double_exp_matrix+0x2dd>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1346 <double_exp_matrix+0x246>
jmp    13f0 <double_exp_matrix+0x2f0>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1333 <double_exp_matrix+0x233>
jmp    1403 <double_exp_matrix+0x303>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1248 <double_exp_matrix+0x148>
add    $0x2d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<double_exp_matrix>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x388,%rsp
mov    %r8,%r12
mov    %esi,%r15d
mov    %ecx,0x1c(%rsp)
test   %ecx,%ecx
mov    %edi,0x4(%rsp)
je     1644 <double_exp_matrix+0x524>
mov    %rdx,0x8(%rsp)
mov    %r15d,%r13d
mov    %edi,%eax
mov    %rax,0x28(%rsp)
test   %edi,%edi
mov    %r12,0x20(%rsp)
je     133d <double_exp_matrix+0x21d>
mov    %r13d,%r11d
and    $0xfffffffc,%r11d
lea    -0x4(%r11),%r10
mov    %r10,0x10(%rsp)
shr    $0x2,%r10
add    $0x1,%r10
mov    %r10,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x30(%rsp)
mov    %r13d,%r14d
and    $0x3,%r14d
mov    0x8(%rsp),%rdx
lea    0x30(%rdx),%rbx
lea    0x30(%r12),%rsi
xor    %r9d,%r9d
mov    %r12,%rax
jmp    11cf <double_exp_matrix+0xaf>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r9
add    $0x50,%rbx
add    $0x50,%rsi
add    $0x50,%rax
add    $0x50,%rdx
cmp    0x28(%rsp),%r9
je     133d <double_exp_matrix+0x21d>
test   %r15d,%r15d
je     11b0 <double_exp_matrix+0x90>
cmp    $0x4,%r15d
jae    11f0 <double_exp_matrix+0xd0>
xor    %edi,%edi
jmp    12b0 <double_exp_matrix+0x190>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r9,%rcx
shl    $0x4,%rcx
lea    (%rcx,%rcx,4),%rdi
add    %rdi,%r12
add    0x8(%rsp),%rdi
lea    (%rdi,%r13,8),%rcx
cmp    %rcx,%r12
jae    1221 <double_exp_matrix+0x101>
lea    (%r12,%r13,8),%rcx
cmp    %rcx,%rdi
jae    1221 <double_exp_matrix+0x101>
xor    %edi,%edi
mov    0x20(%rsp),%r12
jmp    12b0 <double_exp_matrix+0x190>
cmpq   $0x0,0x10(%rsp)
je     132c <double_exp_matrix+0x20c>
mov    0x30(%rsp),%r8
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movups -0x30(%rbx,%rbp,8),%xmm0
movups -0x20(%rbx,%rbp,8),%xmm1
movups %xmm0,-0x30(%rsi,%rbp,8)
movups %xmm1,-0x20(%rsi,%rbp,8)
movupd -0x10(%rbx,%rbp,8),%xmm0
movupd (%rbx,%rbp,8),%xmm1
movupd %xmm0,-0x10(%rsi,%rbp,8)
movupd %xmm1,(%rsi,%rbp,8)
add    $0x8,%rbp
add    $0xfffffffffffffffe,%r8
jne    1240 <double_exp_matrix+0x120>
test   $0x1,%r10b
je     1292 <double_exp_matrix+0x172>
movupd (%rdi,%rbp,8),%xmm0
movupd 0x10(%rdi,%rbp,8),%xmm1
movupd %xmm0,(%r12,%rbp,8)
movupd %xmm1,0x10(%r12,%rbp,8)
mov    %r11,%rdi
cmp    %r13,%r11
mov    0x20(%rsp),%r12
je     11b0 <double_exp_matrix+0x90>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rdi,%rbp
not    %rbp
add    %r13,%rbp
test   %r14,%r14
je     12e4 <double_exp_matrix+0x1c4>
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rdx,%rdi,8),%xmm0
movsd  %xmm0,(%rax,%rdi,8)
add    $0x1,%rdi
add    $0xffffffffffffffff,%rcx
jne    12d0 <double_exp_matrix+0x1b0>
cmp    $0x3,%rbp
jb     11b0 <double_exp_matrix+0x90>
xchg   %ax,%ax
movsd  (%rdx,%rdi,8),%xmm0
movsd  %xmm0,(%rax,%rdi,8)
movsd  0x8(%rdx,%rdi,8),%xmm0
movsd  %xmm0,0x8(%rax,%rdi,8)
movsd  0x10(%rdx,%rdi,8),%xmm0
movsd  %xmm0,0x10(%rax,%rdi,8)
movsd  0x18(%rdx,%rdi,8),%xmm0
movsd  %xmm0,0x18(%rax,%rdi,8)
add    $0x4,%rdi
cmp    %rdi,%r13
jne    12f0 <double_exp_matrix+0x1d0>
jmp    11b0 <double_exp_matrix+0x90>
xor    %ebp,%ebp
test   $0x1,%r10b
jne    127a <double_exp_matrix+0x15a>
jmp    1292 <double_exp_matrix+0x172>
cmpl   $0x2,0x1c(%rsp)
mov    0x8(%rsp),%r9
jb     1742 <double_exp_matrix+0x622>
lea    0x0(,%r13,8),%rax
mov    %rax,0x10(%rsp)
mov    0x28(%rsp),%rax
lea    -0x1(%rax),%rcx
mov    %rcx,0x48(%rsp)
mov    %eax,%ecx
and    $0xfffffffe,%ecx
mov    %rcx,0x30(%rsp)
mov    %eax,%ecx
and    $0x3,%ecx
and    $0xfffffffc,%eax
mov    %rax,0x50(%rsp)
mov    %r13d,%r14d
and    $0xfffffffe,%r14d
mov    %rcx,0x40(%rsp)
mov    %rcx,%rax
shl    $0x4,%rax
lea    (%rax,%rax,4),%rax
mov    %rax,0x58(%rsp)
mov    $0x1,%eax
jmp    13c1 <double_exp_matrix+0x2a1>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x3c(%rsp),%eax
add    $0x1,%eax
cmp    0x1c(%rsp),%eax
je     1742 <double_exp_matrix+0x622>
mov    %eax,0x3c(%rsp)
cmpl   $0x0,0x4(%rsp)
je     13b0 <double_exp_matrix+0x290>
cmpl   $0x1,0x4(%rsp)
jne    1560 <double_exp_matrix+0x440>
xor    %ebx,%ebx
testb  $0x1,0x28(%rsp)
je     1408 <double_exp_matrix+0x2e8>
test   %r15d,%r15d
je     1408 <double_exp_matrix+0x2e8>
shl    $0x4,%rbx
lea    (%rbx,%rbx,4),%rax
lea    (%r12,%rax,1),%rsi
lea    (%rsp,%rax,1),%rdi
add    $0x60,%rdi
mov    0x10(%rsp),%rdx
call   1040 <memcpy@plt>
mov    0x8(%rsp),%r9
cmpl   $0x0,0x4(%rsp)
je     13b0 <double_exp_matrix+0x290>
cmpq   $0x3,0x48(%rsp)
jae    15cf <double_exp_matrix+0x4af>
xor    %r12d,%r12d
cmpq   $0x0,0x40(%rsp)
je     1470 <double_exp_matrix+0x350>
lea    (%r12,%r12,4),%rbx
shl    $0x4,%rbx
add    0x20(%rsp),%rbx
xor    %ebp,%ebp
jmp    144b <double_exp_matrix+0x32b>
nopw   0x0(%rax,%rax,1)
add    $0x50,%rbp
cmp    %rbp,0x58(%rsp)
je     1470 <double_exp_matrix+0x350>
test   %r15d,%r15d
je     1440 <double_exp_matrix+0x320>
lea    (%rbx,%rbp,1),%rdi
xor    %esi,%esi
mov    0x10(%rsp),%rdx
call   1030 <memset@plt>
mov    0x8(%rsp),%r9
jmp    1440 <double_exp_matrix+0x320>
nopw   0x0(%rax,%rax,1)
cmpl   $0x0,0x4(%rsp)
mov    0x20(%rsp),%r12
je     13b0 <double_exp_matrix+0x290>
lea    0x68(%rsp),%rax
xor    %r8d,%r8d
jmp    14a3 <double_exp_matrix+0x383>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r8
add    $0x50,%rax
cmp    0x28(%rsp),%r8
je     13b0 <double_exp_matrix+0x290>
test   %r15d,%r15d
je     1490 <double_exp_matrix+0x370>
mov    %r9,%rcx
xor    %esi,%esi
jmp    14bd <double_exp_matrix+0x39d>
nop
add    $0x1,%rsi
add    $0x8,%rcx
cmp    %r13,%rsi
je     1490 <double_exp_matrix+0x370>
lea    (%r8,%r8,4),%rbx
shl    $0x4,%rbx
lea    (%r12,%rbx,1),%rdx
lea    (%rdx,%rsi,8),%rdi
movsd  (%rdx,%rsi,8),%xmm0
cmp    $0x1,%r15d
jne    14e0 <double_exp_matrix+0x3c0>
xor    %ebp,%ebp
jmp    1524 <double_exp_matrix+0x404>
nopl   0x0(%rax)
mov    %rcx,%rdx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movsd  -0x8(%rax,%rbp,8),%xmm1
mulsd  (%rdx),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rdi)
movsd  (%rax,%rbp,8),%xmm0
mulsd  0x50(%rdx),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rdi)
add    $0x2,%rbp
add    $0xa0,%rdx
cmp    %rbp,%r14
jne    14f0 <double_exp_matrix+0x3d0>
test   $0x1,%r13b
je     14b0 <double_exp_matrix+0x390>
lea    (%rsp,%rbx,1),%rdx
add    $0x60,%rdx
movsd  (%rdx,%rbp,8),%xmm1
lea    0x0(,%rbp,4),%rdx
add    %rbp,%rdx
shl    $0x4,%rdx
add    %r9,%rdx
mulsd  (%rdx,%rsi,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rdi)
jmp    14b0 <double_exp_matrix+0x390>
nopl   0x0(%rax,%rax,1)
xor    %ebp,%ebp
xor    %ebx,%ebx
jmp    1586 <double_exp_matrix+0x466>
cs nopw 0x0(%rax,%rax,1)
add    $0x2,%rbx
add    $0xa0,%rbp
cmp    %rbx,0x30(%rsp)
je     13d9 <double_exp_matrix+0x2b9>
test   %r15d,%r15d
je     15a6 <double_exp_matrix+0x486>
lea    (%r12,%rbp,1),%rsi
lea    (%rsp,%rbp,1),%rdi
add    $0x60,%rdi
mov    0x10(%rsp),%rdx
call   1040 <memcpy@plt>
mov    0x8(%rsp),%r9
test   %r15d,%r15d
je     1570 <double_exp_matrix+0x450>
lea    (%r12,%rbp,1),%rsi
add    $0x50,%rsi
lea    (%rsp,%rbp,1),%rdi
add    $0xb0,%rdi
mov    0x10(%rsp),%rdx
call   1040 <memcpy@plt>
mov    0x8(%rsp),%r9
jmp    1570 <double_exp_matrix+0x450>
mov    %r12,%rbx
xor    %r12d,%r12d
jmp    15f6 <double_exp_matrix+0x4d6>
nopw   0x0(%rax,%rax,1)
add    $0x4,%r12
add    $0x140,%rbx
cmp    %r12,0x50(%rsp)
je     141e <double_exp_matrix+0x2fe>
test   %r15d,%r15d
je     15e0 <double_exp_matrix+0x4c0>
mov    %rbx,%rdi
xor    %esi,%esi
mov    0x10(%rsp),%rbp
mov    %rbp,%rdx
call   1030 <memset@plt>
lea    0x50(%rbx),%rdi
xor    %esi,%esi
mov    %rbp,%rdx
call   1030 <memset@plt>
lea    0xa0(%rbx),%rdi
xor    %esi,%esi
mov    %rbp,%rdx
call   1030 <memset@plt>
lea    0xf0(%rbx),%rdi
xor    %esi,%esi
mov    %rbp,%rdx
call   1030 <memset@plt>
mov    0x8(%rsp),%r9
jmp    15e0 <double_exp_matrix+0x4c0>
test   %edi,%edi
je     1742 <double_exp_matrix+0x622>
mov    0x4(%rsp),%r9d
mov    %r15d,%ecx
lea    -0x1(%rcx),%r8
mov    %ecx,%esi
and    $0x3,%esi
and    $0xfffffffc,%ecx
lea    0x18(%r12),%rdi
xor    %ebx,%ebx
movsd  0x991(%rip),%xmm0
jmp    1695 <double_exp_matrix+0x575>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbx
add    $0x50,%rdi
add    $0x50,%r12
cmp    %r9,%rbx
je     1742 <double_exp_matrix+0x622>
test   %r15d,%r15d
je     1680 <double_exp_matrix+0x560>
xor    %edx,%edx
cmp    $0x3,%r8
jae    16ee <double_exp_matrix+0x5ce>
test   %rsi,%rsi
je     1680 <double_exp_matrix+0x560>
lea    (%r12,%rdx,8),%rbp
mov    %rbx,%rax
sub    %rdx,%rax
xor    %edx,%edx
jmp    16cf <double_exp_matrix+0x5af>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  %xmm1,0x0(%rbp,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rsi
je     1680 <double_exp_matrix+0x560>
movapd %xmm0,%xmm1
cmp    %rdx,%rax
je     16c0 <double_exp_matrix+0x5a0>
xorpd  %xmm1,%xmm1
jmp    16c0 <double_exp_matrix+0x5a0>
xchg   %ax,%ax
movsd  %xmm1,(%rdi,%rdx,8)
add    $0x4,%rdx
cmp    %rcx,%rdx
je     16a2 <double_exp_matrix+0x582>
movapd %xmm0,%xmm1
cmp    %rdx,%rbx
je     16fb <double_exp_matrix+0x5db>
xorpd  %xmm1,%xmm1
movsd  %xmm1,-0x18(%rdi,%rdx,8)
lea    0x1(%rdx),%rax
movapd %xmm0,%xmm1
cmp    %rax,%rbx
je     1712 <double_exp_matrix+0x5f2>
xorpd  %xmm1,%xmm1
movsd  %xmm1,-0x10(%rdi,%rdx,8)
lea    0x2(%rdx),%rax
movapd %xmm0,%xmm1
cmp    %rax,%rbx
je     1729 <double_exp_matrix+0x609>
xorpd  %xmm1,%xmm1
movsd  %xmm1,-0x8(%rdi,%rdx,8)
lea    0x3(%rdx),%rax
movapd %xmm0,%xmm1
cmp    %rax,%rbx
je     16e0 <double_exp_matrix+0x5c0>
xorpd  %xmm1,%xmm1
jmp    16e0 <double_exp_matrix+0x5c0>
add    $0x388,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @double_exp_matrix(i32 %0, i32 %1, [10 x double]* %2, i32 %3, [10 x double]* %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca [10 x double]*
%9 = alloca i32
%10 = alloca [10 x double]*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca [10 x [10 x double]]
store i32 %0, i32* %6
store i32 %1, i32* %7
store [10 x double]* %2, [10 x double]** %8
store i32 %3, i32* %9
store [10 x double]* %4, [10 x double]** %10
%16 = load i32, i32* %9
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %57
18: ; preds = %5
store i32 0, i32* %11
br label %19
19: ; preds = %53, %18
%20 = load i32, i32* %11
%21 = load i32, i32* %6
%22 = icmp ult i32 %20, %21
br i1 %22, label %23, label %56
23: ; preds = %19
store i32 0, i32* %12
br label %24
24: ; preds = %49, %23
%25 = load i32, i32* %12
%26 = load i32, i32* %7
%27 = icmp ult i32 %25, %26
br i1 %27, label %28, label %52
28: ; preds = %24
%29 = load i32, i32* %11
%30 = load i32, i32* %12
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load [10 x double]*, [10 x double]** %10
%34 = load i32, i32* %11
%35 = zext i32 %34 to i64
%36 = getelementptr inbounds [10 x double], [10 x double]* %33, i64 %35
%37 = load i32, i32* %12
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds [10 x double], [10 x double]* %36, i64 0, i64 %38
store double 1.000000e+00, double* %39
br label %48
40: ; preds = %28
%41 = load [10 x double]*, [10 x double]** %10
%42 = load i32, i32* %11
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds [10 x double], [10 x double]* %41, i64 %43
%45 = load i32, i32* %12
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds [10 x double], [10 x double]* %44, i64 0, i64 %46
store double 0.000000e+00, double* %47
br label %48
48: ; preds = %40, %32
br label %49
49: ; preds = %48
%50 = load i32, i32* %12
%51 = add i32 %50, 1
store i32 %51, i32* %12
br label %24
52: ; preds = %24
br label %53
53: ; preds = %52
%54 = load i32, i32* %11
%55 = add i32 %54, 1
store i32 %55, i32* %11
br label %19
56: ; preds = %19
br label %218
57: ; preds = %5
store i32 0, i32* %11
br label %58
58: ; preds = %87, %57
%59 = load i32, i32* %11
%60 = load i32, i32* %6
%61 = icmp ult i32 %59, %60
br i1 %61, label %62, label %90
62: ; preds = %58
store i32 0, i32* %12
br label %63
63: ; preds = %83, %62
%64 = load i32, i32* %12
%65 = load i32, i32* %7
%66 = icmp ult i32 %64, %65
br i1 %66, label %67, label %86
67: ; preds = %63
%68 = load [10 x double]*, [10 x double]** %8
%69 = load i32, i32* %11
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds [10 x double], [10 x double]* %68, i64 %70
%72 = load i32, i32* %12
%73 = zext i32 %72 to i64
%74 = getelementptr inbounds [10 x double], [10 x double]* %71, i64 0, i64 %73
%75 = load double, double* %74
%76 = load [10 x double]*, [10 x double]** %10
%77 = load i32, i32* %11
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds [10 x double], [10 x double]* %76, i64 %78
%80 = load i32, i32* %12
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds [10 x double], [10 x double]* %79, i64 0, i64 %81
store double %75, double* %82
br label %83
83: ; preds = %67
%84 = load i32, i32* %12
%85 = add i32 %84, 1
store i32 %85, i32* %12
br label %63
86: ; preds = %63
br label %87
87: ; preds = %86
%88 = load i32, i32* %11
%89 = add i32 %88, 1
store i32 %89, i32* %11
br label %58
90: ; preds = %58
%91 = load i32, i32* %9
%92 = icmp eq i32 %91, 1
br i1 %92, label %93, label %94
93: ; preds = %90
br label %218
94: ; preds = %90
store i32 1, i32* %14
br label %95
95: ; preds = %215, %94
%96 = load i32, i32* %14
%97 = load i32, i32* %9
%98 = icmp ult i32 %96, %97
br i1 %98, label %99, label %218
99: ; preds = %95
store i32 0, i32* %11
br label %100
100: ; preds = %128, %99
%101 = load i32, i32* %11
%102 = load i32, i32* %6
%103 = icmp ult i32 %101, %102
br i1 %103, label %104, label %131
104: ; preds = %100
store i32 0, i32* %12
br label %105
105: ; preds = %124, %104
%106 = load i32, i32* %12
%107 = load i32, i32* %7
%108 = icmp ult i32 %106, %107
br i1 %108, label %109, label %127
109: ; preds = %105
%110 = load [10 x double]*, [10 x double]** %10
%111 = load i32, i32* %11
%112 = zext i32 %111 to i64
%113 = getelementptr inbounds [10 x double], [10 x double]* %110, i64 %112
%114 = load i32, i32* %12
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds [10 x double], [10 x double]* %113, i64 0, i64 %115
%117 = load double, double* %116
%118 = load i32, i32* %11
%119 = zext i32 %118 to i64
%120 = getelementptr inbounds [10 x [10 x double]], [10 x [10 x double]]* %15, i64 0, i64 %119
%121 = load i32, i32* %12
%122 = zext i32 %121 to i64
%123 = getelementptr inbounds [10 x double], [10 x double]* %120, i64 0, i64 %122
store double %117, double* %123
br label %124
124: ; preds = %109
%125 = load i32, i32* %12
%126 = add i32 %125, 1
store i32 %126, i32* %12
br label %105
127: ; preds = %105
br label %128
128: ; preds = %127
%129 = load i32, i32* %11
%130 = add i32 %129, 1
store i32 %130, i32* %11
br label %100
131: ; preds = %100
store i32 0, i32* %11
br label %132
132: ; preds = %153, %131
%133 = load i32, i32* %11
%134 = load i32, i32* %6
%135 = icmp ult i32 %133, %134
br i1 %135, label %136, label %156
136: ; preds = %132
store i32 0, i32* %12
br label %137
137: ; preds = %149, %136
%138 = load i32, i32* %12
%139 = load i32, i32* %7
%140 = icmp ult i32 %138, %139
br i1 %140, label %141, label %152
141: ; preds = %137
%142 = load [10 x double]*, [10 x double]** %10
%143 = load i32, i32* %11
%144 = zext i32 %143 to i64
%145 = getelementptr inbounds [10 x double], [10 x double]* %142, i64 %144
%146 = load i32, i32* %12
%147 = zext i32 %146 to i64
%148 = getelementptr inbounds [10 x double], [10 x double]* %145, i64 0, i64 %147
store double 0.000000e+00, double* %148
br label %149
149: ; preds = %141
%150 = load i32, i32* %12
%151 = add i32 %150, 1
store i32 %151, i32* %12
br label %137
152: ; preds = %137
br label %153
153: ; preds = %152
%154 = load i32, i32* %11
%155 = add i32 %154, 1
store i32 %155, i32* %11
br label %132
156: ; preds = %132
store i32 0, i32* %11
br label %157
157: ; preds = %211, %156
%158 = load i32, i32* %11
%159 = load i32, i32* %6
%160 = icmp ult i32 %158, %159
br i1 %160, label %161, label %214
161: ; preds = %157
store i32 0, i32* %12
br label %162
162: ; preds = %207, %161
%163 = load i32, i32* %12
%164 = load i32, i32* %7
%165 = icmp ult i32 %163, %164
br i1 %165, label %166, label %210
166: ; preds = %162
store i32 0, i32* %13
br label %167
167: ; preds = %203, %166
%168 = load i32, i32* %13
%169 = load i32, i32* %7
%170 = icmp ult i32 %168, %169
br i1 %170, label %171, label %206
171: ; preds = %167
%172 = load [10 x double]*, [10 x double]** %10
%173 = load i32, i32* %11
%174 = zext i32 %173 to i64
%175 = getelementptr inbounds [10 x double], [10 x double]* %172, i64 %174
%176 = load i32, i32* %12
%177 = zext i32 %176 to i64
%178 = getelementptr inbounds [10 x double], [10 x double]* %175, i64 0, i64 %177
%179 = load double, double* %178
%180 = load i32, i32* %11
%181 = zext i32 %180 to i64
%182 = getelementptr inbounds [10 x [10 x double]], [10 x [10 x double]]* %15, i64 0, i64 %181
%183 = load i32, i32* %13
%184 = zext i32 %183 to i64
%185 = getelementptr inbounds [10 x double], [10 x double]* %182, i64 0, i64 %184
%186 = load double, double* %185
%187 = load [10 x double]*, [10 x double]** %8
%188 = load i32, i32* %13
%189 = zext i32 %188 to i64
%190 = getelementptr inbounds [10 x double], [10 x double]* %187, i64 %189
%191 = load i32, i32* %12
%192 = zext i32 %191 to i64
%193 = getelementptr inbounds [10 x double], [10 x double]* %190, i64 0, i64 %192
%194 = load double, double* %193
%195 = call double @llvm.fmuladd.f64(double %186, double %194, double %179)
%196 = load [10 x double]*, [10 x double]** %10
%197 = load i32, i32* %11
%198 = zext i32 %197 to i64
%199 = getelementptr inbounds [10 x double], [10 x double]* %196, i64 %198
%200 = load i32, i32* %12
%201 = zext i32 %200 to i64
%202 = getelementptr inbounds [10 x double], [10 x double]* %199, i64 0, i64 %201
store double %195, double* %202
br label %203
203: ; preds = %171
%204 = load i32, i32* %13
%205 = add i32 %204, 1
store i32 %205, i32* %13
br label %167
206: ; preds = %167
br label %207
207: ; preds = %206
%208 = load i32, i32* %12
%209 = add i32 %208, 1
store i32 %209, i32* %12
br label %162
210: ; preds = %162
br label %211
211: ; preds = %210
%212 = load i32, i32* %11
%213 = add i32 %212, 1
store i32 %213, i32* %11
br label %157
214: ; preds = %157
br label %215
215: ; preds = %214
%216 = load i32, i32* %14
%217 = add i32 %216, 1
store i32 %217, i32* %14
br label %95
218: ; preds = %56, %93, %95
ret void
}

LLVM IR (-O2):
define void @double_exp_matrix(i32 %0, i32 %1, [10 x double]* nocapture %2, i32 %3, [10 x double]* nocapture %4) {
%6 = alloca [10 x [10 x double]]
%7 = bitcast [10 x [10 x double]]* %6 to i8*
%8 = icmp eq i32 %3, 0
%9 = icmp eq i32 %0, 0
br i1 %8, label %28, label %10
10: ; preds = %5
br i1 %9, label %167, label %11
11: ; preds = %10
%12 = icmp eq i32 %1, 0
%13 = zext i32 %0 to i64
%14 = zext i32 %1 to i64
%15 = and i64 %14, 4294967292
%16 = add nsw i64 %15, -4
%17 = lshr exact i64 %16, 2
%18 = add nuw nsw i64 %17, 1
%19 = icmp ult i32 %1, 4
%20 = and i64 %14, 4294967292
%21 = and i64 %18, 1
%22 = icmp eq i64 %16, 0
%23 = and i64 %18, 9223372036854775806
%24 = icmp eq i64 %21, 0
%25 = icmp eq i64 %20, %14
%26 = and i64 %14, 3
%27 = icmp eq i64 %26, 0
br label %76
28: ; preds = %5
br i1 %9, label %294, label %29
29: ; preds = %28
%30 = icmp eq i32 %1, 0
%31 = zext i32 %0 to i64
%32 = zext i32 %1 to i64
%33 = add nsw i64 %32, -1
%34 = and i64 %32, 3
%35 = icmp ult i64 %33, 3
%36 = and i64 %32, 4294967292
%37 = icmp eq i64 %34, 0
br label %38
38: ; preds = %29, %73
%39 = phi i64 [ 0, %29 ], [ %74, %73 ]
br i1 %30, label %73, label %40
40: ; preds = %38
br i1 %35, label %62, label %41
41: ; preds = %40, %41
%42 = phi i64 [ %59, %41 ], [ 0, %40 ]
%43 = phi i64 [ %60, %41 ], [ 0, %40 ]
%44 = icmp eq i64 %39, %42
%45 = select i1 %44, double 1.000000e+00, double 0.000000e+00
%46 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %39, i64 %42
store double %45, double* %46
%47 = or i64 %42, 1
%48 = icmp eq i64 %39, %47
%49 = select i1 %48, double 1.000000e+00, double 0.000000e+00
%50 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %39, i64 %47
store double %49, double* %50
%51 = or i64 %42, 2
%52 = icmp eq i64 %39, %51
%53 = select i1 %52, double 1.000000e+00, double 0.000000e+00
%54 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %39, i64 %51
store double %53, double* %54
%55 = or i64 %42, 3
%56 = icmp eq i64 %39, %55
%57 = select i1 %56, double 1.000000e+00, double 0.000000e+00
%58 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %39, i64 %55
store double %57, double* %58
%59 = add nuw nsw i64 %42, 4
%60 = add i64 %43, 4
%61 = icmp eq i64 %60, %36
br i1 %61, label %62, label %41
62: ; preds = %41, %40
%63 = phi i64 [ 0, %40 ], [ %59, %41 ]
br i1 %37, label %73, label %64
64: ; preds = %62, %64
%65 = phi i64 [ %70, %64 ], [ %63, %62 ]
%66 = phi i64 [ %71, %64 ], [ 0, %62 ]
%67 = icmp eq i64 %39, %65
%68 = select i1 %67, double 1.000000e+00, double 0.000000e+00
%69 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %39, i64 %65
store double %68, double* %69
%70 = add nuw nsw i64 %65, 1
%71 = add i64 %66, 1
%72 = icmp eq i64 %71, %34
br i1 %72, label %73, label %64
73: ; preds = %62, %64, %38
%74 = add nuw nsw i64 %39, 1
%75 = icmp eq i64 %74, %31
br i1 %75, label %294, label %38
76: ; preds = %11, %164
%77 = phi i64 [ 0, %11 ], [ %165, %164 ]
%78 = getelementptr [10 x double], [10 x double]* %4, i64 %77, i64 0
%79 = getelementptr [10 x double], [10 x double]* %4, i64 %77, i64 %14
%80 = getelementptr [10 x double], [10 x double]* %2, i64 %77, i64 0
%81 = getelementptr [10 x double], [10 x double]* %2, i64 %77, i64 %14
br i1 %12, label %164, label %82
82: ; preds = %76
br i1 %19, label %129, label %83
83: ; preds = %82
%84 = icmp ult double* %78, %81
%85 = icmp ult double* %80, %79
%86 = and i1 %84, %85
br i1 %86, label %129, label %87
87: ; preds = %83
br i1 %22, label %115, label %88
88: ; preds = %87, %88
%89 = phi i64 [ %112, %88 ], [ 0, %87 ]
%90 = phi i64 [ %113, %88 ], [ 0, %87 ]
%91 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %89
%92 = bitcast double* %91 to <2 x double>*
%93 = load <2 x double>, <2 x double>* %92
%94 = getelementptr inbounds double, double* %91, i64 2
%95 = bitcast double* %94 to <2 x double>*
%96 = load <2 x double>, <2 x double>* %95
%97 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %89
%98 = bitcast double* %97 to <2 x double>*
store <2 x double> %93, <2 x double>* %98
%99 = getelementptr inbounds double, double* %97, i64 2
%100 = bitcast double* %99 to <2 x double>*
store <2 x double> %96, <2 x double>* %100
%101 = or i64 %89, 4
%102 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %101
%103 = bitcast double* %102 to <2 x double>*
%104 = load <2 x double>, <2 x double>* %103
%105 = getelementptr inbounds double, double* %102, i64 2
%106 = bitcast double* %105 to <2 x double>*
%107 = load <2 x double>, <2 x double>* %106
%108 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %101
%109 = bitcast double* %108 to <2 x double>*
store <2 x double> %104, <2 x double>* %109
%110 = getelementptr inbounds double, double* %108, i64 2
%111 = bitcast double* %110 to <2 x double>*
store <2 x double> %107, <2 x double>* %111
%112 = add nuw i64 %89, 8
%113 = add i64 %90, 2
%114 = icmp eq i64 %113, %23
br i1 %114, label %115, label %88
115: ; preds = %88, %87
%116 = phi i64 [ 0, %87 ], [ %112, %88 ]
br i1 %24, label %128, label %117
117: ; preds = %115
%118 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %116
%119 = bitcast double* %118 to <2 x double>*
%120 = load <2 x double>, <2 x double>* %119
%121 = getelementptr inbounds double, double* %118, i64 2
%122 = bitcast double* %121 to <2 x double>*
%123 = load <2 x double>, <2 x double>* %122
%124 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %116
%125 = bitcast double* %124 to <2 x double>*
store <2 x double> %120, <2 x double>* %125
%126 = getelementptr inbounds double, double* %124, i64 2
%127 = bitcast double* %126 to <2 x double>*
store <2 x double> %123, <2 x double>* %127
br label %128
128: ; preds = %115, %117
br i1 %25, label %164, label %129
129: ; preds = %83, %82, %128
%130 = phi i64 [ 0, %83 ], [ 0, %82 ], [ %20, %128 ]
%131 = xor i64 %130, -1
%132 = add nsw i64 %131, %14
br i1 %27, label %142, label %133
133: ; preds = %129, %133
%134 = phi i64 [ %139, %133 ], [ %130, %129 ]
%135 = phi i64 [ %140, %133 ], [ 0, %129 ]
%136 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %134
%137 = load double, double* %136
%138 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %134
store double %137, double* %138
%139 = add nuw nsw i64 %134, 1
%140 = add i64 %135, 1
%141 = icmp eq i64 %140, %26
br i1 %141, label %142, label %133
142: ; preds = %133, %129
%143 = phi i64 [ %130, %129 ], [ %139, %133 ]
%144 = icmp ult i64 %132, 3
br i1 %144, label %164, label %145
145: ; preds = %142, %145
%146 = phi i64 [ %162, %145 ], [ %143, %142 ]
%147 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %146
%148 = load double, double* %147
%149 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %146
store double %148, double* %149
%150 = add nuw nsw i64 %146, 1
%151 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %150
%152 = load double, double* %151
%153 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %150
store double %152, double* %153
%154 = add nuw nsw i64 %146, 2
%155 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %154
%156 = load double, double* %155
%157 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %154
store double %156, double* %157
%158 = add nuw nsw i64 %146, 3
%159 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %77, i64 %158
%160 = load double, double* %159
%161 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %77, i64 %158
store double %160, double* %161
%162 = add nuw nsw i64 %146, 4
%163 = icmp eq i64 %162, %14
br i1 %163, label %164, label %145
164: ; preds = %142, %145, %128, %76
%165 = add nuw nsw i64 %77, 1
%166 = icmp eq i64 %165, %13
br i1 %166, label %167, label %76
167: ; preds = %164, %10
%168 = icmp ugt i32 %3, 1
br i1 %168, label %169, label %294
169: ; preds = %167
%170 = icmp eq i32 %1, 0
%171 = zext i32 %1 to i64
%172 = shl nuw nsw i64 %171, 3
%173 = zext i32 %0 to i64
%174 = zext i32 %0 to i64
%175 = add nsw i64 %173, -1
%176 = and i64 %173, 1
%177 = icmp eq i32 %0, 1
%178 = and i64 %173, 4294967294
%179 = icmp eq i64 %176, 0
%180 = and i64 %173, 3
%181 = icmp ult i64 %175, 3
%182 = and i64 %173, 4294967292
%183 = icmp eq i64 %180, 0
%184 = and i64 %171, 1
%185 = icmp eq i32 %1, 1
%186 = and i64 %171, 4294967294
%187 = icmp eq i64 %184, 0
br label %188
188: ; preds = %169, %291
%189 = phi i32 [ 1, %169 ], [ %292, %291 ]
br i1 %9, label %291, label %190
190: ; preds = %188
br i1 %177, label %191, label %201
191: ; preds = %216, %190
%192 = phi i64 [ 0, %190 ], [ %217, %216 ]
%193 = or i1 %179, %170
br i1 %193, label %199, label %194
194: ; preds = %191
%195 = getelementptr [10 x double], [10 x double]* %4, i64 %192, i64 0
%196 = bitcast double* %195 to i8*
%197 = getelementptr [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %192, i64 0
%198 = bitcast double* %197 to i8*
br label %199
199: ; preds = %191, %194
br i1 %9, label %291, label %200
200: ; preds = %199
br i1 %181, label %220, label %233
201: ; preds = %190, %216
%202 = phi i64 [ %217, %216 ], [ 0, %190 ]
%203 = phi i64 [ %218, %216 ], [ 0, %190 ]
br i1 %170, label %209, label %204
204: ; preds = %201
%205 = getelementptr [10 x double], [10 x double]* %4, i64 %202, i64 0
%206 = bitcast double* %205 to i8*
%207 = getelementptr [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %202, i64 0
%208 = bitcast double* %207 to i8*
br label %209
209: ; preds = %204, %201
%210 = or i64 %202, 1
br i1 %170, label %216, label %211
211: ; preds = %209
%212 = getelementptr [10 x double], [10 x double]* %4, i64 %210, i64 0
%213 = bitcast double* %212 to i8*
%214 = getelementptr [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %210, i64 0
%215 = bitcast double* %214 to i8*
br label %216
216: ; preds = %211, %209
%217 = add nuw nsw i64 %202, 2
%218 = add i64 %203, 2
%219 = icmp eq i64 %218, %178
br i1 %219, label %191, label %201
220: ; preds = %248, %200
%221 = phi i64 [ 0, %200 ], [ %249, %248 ]
br i1 %183, label %232, label %222
222: ; preds = %220, %228
%223 = phi i64 [ %229, %228 ], [ %221, %220 ]
%224 = phi i64 [ %230, %228 ], [ 0, %220 ]
br i1 %170, label %228, label %225
225: ; preds = %222
%226 = getelementptr [10 x double], [10 x double]* %4, i64 %223, i64 0
%227 = bitcast double* %226 to i8*
br label %228
228: ; preds = %225, %222
%229 = add nuw nsw i64 %223, 1
%230 = add i64 %224, 1
%231 = icmp eq i64 %230, %180
br i1 %231, label %232, label %222
232: ; preds = %228, %220
br i1 %9, label %291, label %252
233: ; preds = %200, %248
%234 = phi i64 [ %249, %248 ], [ 0, %200 ]
%235 = phi i64 [ %250, %248 ], [ 0, %200 ]
br i1 %170, label %248, label %236
236: ; preds = %233
%237 = getelementptr [10 x double], [10 x double]* %4, i64 %234, i64 0
%238 = bitcast double* %237 to i8*
%239 = or i64 %234, 1
%240 = getelementptr [10 x double], [10 x double]* %4, i64 %239, i64 0
%241 = bitcast double* %240 to i8*
%242 = or i64 %234, 2
%243 = getelementptr [10 x double], [10 x double]* %4, i64 %242, i64 0
%244 = bitcast double* %243 to i8*
%245 = or i64 %234, 3
%246 = getelementptr [10 x double], [10 x double]* %4, i64 %245, i64 0
%247 = bitcast double* %246 to i8*
br label %248
248: ; preds = %233, %236
%249 = add nuw nsw i64 %234, 4
%250 = add i64 %235, 4
%251 = icmp eq i64 %250, %182
br i1 %251, label %220, label %233
252: ; preds = %232, %288
%253 = phi i64 [ %289, %288 ], [ 0, %232 ]
br i1 %170, label %288, label %254
254: ; preds = %252, %285
%255 = phi i64 [ %286, %285 ], [ 0, %252 ]
%256 = getelementptr inbounds [10 x double], [10 x double]* %4, i64 %253, i64 %255
%257 = load double, double* %256
br i1 %185, label %276, label %258
258: ; preds = %254, %258
%259 = phi double [ %272, %258 ], [ %257, %254 ]
%260 = phi i64 [ %273, %258 ], [ 0, %254 ]
%261 = phi i64 [ %274, %258 ], [ 0, %254 ]
%262 = getelementptr inbounds [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %253, i64 %260
%263 = load double, double* %262
%264 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %260, i64 %255
%265 = load double, double* %264
%266 = tail call double @llvm.fmuladd.f64(double %263, double %265, double %259)
store double %266, double* %256
%267 = or i64 %260, 1
%268 = getelementptr inbounds [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %253, i64 %267
%269 = load double, double* %268
%270 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %267, i64 %255
%271 = load double, double* %270
%272 = tail call double @llvm.fmuladd.f64(double %269, double %271, double %266)
store double %272, double* %256
%273 = add nuw nsw i64 %260, 2
%274 = add i64 %261, 2
%275 = icmp eq i64 %274, %186
br i1 %275, label %276, label %258
276: ; preds = %258, %254
%277 = phi double [ %257, %254 ], [ %272, %258 ]
%278 = phi i64 [ 0, %254 ], [ %273, %258 ]
br i1 %187, label %285, label %279
279: ; preds = %276
%280 = getelementptr inbounds [10 x [10 x double]], [10 x [10 x double]]* %6, i64 0, i64 %253, i64 %278
%281 = load double, double* %280
%282 = getelementptr inbounds [10 x double], [10 x double]* %2, i64 %278, i64 %255
%283 = load double, double* %282
%284 = tail call double @llvm.fmuladd.f64(double %281, double %283, double %277)
store double %284, double* %256
br label %285
285: ; preds = %276, %279
%286 = add nuw nsw i64 %255, 1
%287 = icmp eq i64 %286, %171
br i1 %287, label %288, label %254
288: ; preds = %285, %252
%289 = add nuw nsw i64 %253, 1
%290 = icmp eq i64 %289, %174
br i1 %290, label %291, label %252
291: ; preds = %288, %188, %199, %232
%292 = add nuw i32 %189, 1
%293 = icmp eq i32 %292, %3
br i1 %293, label %294, label %188
294: ; preds = %291, %73, %28, %167
ret void
}