#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ clean(double *, int);
int /*<<< orphan*/ copyU(double *, double *, int);
int /*<<< orphan*/ pasteCol(double **, double *, int, int);
void produtoQA(double A[1000][1000], double b[1000], double u[1000],
               double gama, int index, int n, int m) {
  double auxT[1000];
  double vT[1000];
  double s = 0;
  int i, j;
  copyU(u, vT, n);
  for (i = index; i < n; i++)
    vT[i] *= gama;
  clean(auxT, 1000);
  for (i = index; i < n; i++)
    for (j = index; j < m; j++)
      auxT[j] += (vT[i] * A[i][j]);
  for (i = index; i < n; i++)
    s += (vT[i] * b[i]);
  for (i = index; i < n; i++)
    for (j = index; j < m; j++)
      A[i][j] -= u[i] * auxT[j];
  for (i = index; i < n; i++)
    b[i] -= (u[i] * s);
  pasteCol(A, u, index, n);
}


x86 assembly (clang, -O0):
<produtoQA>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3ec0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    %r8d,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x3eb8(%rbp)
ff
mov    -0x18(%rbp),%rdi
lea    -0x3eb0(%rbp),%rsi
mov    -0x28(%rbp),%edx
call   1050 <copyU@plt>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ebc(%rbp)
mov    -0x3ebc(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    11bf <produtoQA+0x8f>
movsd  -0x20(%rbp),%xmm0
movslq -0x3ebc(%rbp),%rax
mulsd  -0x3eb0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x3eb0(%rbp,%rax,8)
ff ff
mov    -0x3ebc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ebc(%rbp)
jmp    117e <produtoQA+0x4e>
lea    -0x1f70(%rbp),%rdi
mov    $0x3e8,%esi
call   1030 <clean@plt>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ebc(%rbp)
mov    -0x3ebc(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    127f <produtoQA+0x14f>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ec0(%rbp)
mov    -0x3ec0(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1266 <produtoQA+0x136>
movslq -0x3ebc(%rbp),%rax
movsd  -0x3eb0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x8(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
imul   $0x1f40,%rcx,%rcx
add    %rcx,%rax
movslq -0x3ec0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movslq -0x3ec0(%rbp),%rax
movsd  -0x1f70(%rbp,%rax,8),%xmm1
ff ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1f70(%rbp,%rax,8)
ff ff
mov    -0x3ec0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ec0(%rbp)
jmp    11f1 <produtoQA+0xc1>
jmp    126b <produtoQA+0x13b>
mov    -0x3ebc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ebc(%rbp)
jmp    11d9 <produtoQA+0xa9>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ebc(%rbp)
mov    -0x3ebc(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    12e3 <produtoQA+0x1b3>
movslq -0x3ebc(%rbp),%rax
movsd  -0x3eb0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x10(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x3eb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x3eb8(%rbp)
ff
mov    -0x3ebc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ebc(%rbp)
jmp    1288 <produtoQA+0x158>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ebc(%rbp)
mov    -0x3ebc(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    13a5 <produtoQA+0x275>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ec0(%rbp)
mov    -0x3ec0(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    138c <produtoQA+0x25c>
mov    -0x18(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x3ec0(%rbp),%rax
movsd  -0x1f70(%rbp,%rax,8),%xmm2
ff ff
mov    -0x8(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
imul   $0x1f40,%rcx,%rcx
add    %rcx,%rax
movslq -0x3ec0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3ec0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ec0(%rbp)
jmp    1304 <produtoQA+0x1d4>
jmp    1391 <produtoQA+0x261>
mov    -0x3ebc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ebc(%rbp)
jmp    12ec <produtoQA+0x1bc>
mov    -0x24(%rbp),%eax
mov    %eax,-0x3ebc(%rbp)
mov    -0x3ebc(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    141d <produtoQA+0x2ed>
mov    -0x18(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x3eb8(%rbp),%xmm2
ff
mov    -0x10(%rbp),%rax
movslq -0x3ebc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3ebc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3ebc(%rbp)
jmp    13ae <produtoQA+0x27e>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    -0x28(%rbp),%ecx
call   1040 <pasteCol@plt>
add    $0x3ec0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<produtoQA>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x3ef8,%rsp
mov    %r9d,0xc(%rsp)
mov    %r8d,%r12d
mov    %ecx,%ebp
movapd %xmm0,0x20(%rsp)
mov    %rdx,%r13
mov    %rsi,%r14
mov    %rdi,0x10(%rsp)
lea    0x70(%rsp),%rsi
mov    %rdx,%rdi
mov    %r8d,%edx
call   1050 <copyU@plt>
cmp    %r12d,%ebp
mov    %ebp,0x8(%rsp)
jge    1499 <produtoQA+0x369>
movslq %ebp,%r8
movslq %r12d,%r15
mov    %r15,%rbp
sub    %r8,%rbp
mov    %r8,%rax
cmp    $0x4,%rbp
movapd 0x20(%rsp),%xmm5
jb     1260 <produtoQA+0x130>
mov    %rbp,%rax
and    $0xfffffffffffffffc,%rax
movapd %xmm5,%xmm0
unpcklpd %xmm5,%xmm0
lea    -0x4(%rax),%rcx
mov    %rcx,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     1772 <produtoQA+0x642>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
lea    (%rsp,%r8,8),%rdi
add    $0xa0,%rdi
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movupd -0x30(%rdi,%rcx,8),%xmm1
movupd -0x20(%rdi,%rcx,8),%xmm2
movupd -0x10(%rdi,%rcx,8),%xmm3
movupd (%rdi,%rcx,8),%xmm4
mulpd  %xmm0,%xmm1
mulpd  %xmm0,%xmm2
movupd %xmm1,-0x30(%rdi,%rcx,8)
movupd %xmm2,-0x20(%rdi,%rcx,8)
mulpd  %xmm0,%xmm3
mulpd  %xmm0,%xmm4
movupd %xmm3,-0x10(%rdi,%rcx,8)
movupd %xmm4,(%rdi,%rcx,8)
add    $0x8,%rcx
add    $0xfffffffffffffffe,%rsi
jne    11e0 <produtoQA+0xb0>
test   $0x1,%dl
je     1256 <produtoQA+0x126>
add    %r8,%rcx
movupd 0x70(%rsp,%rcx,8),%xmm1
movupd 0x80(%rsp,%rcx,8),%xmm2
mulpd  %xmm0,%xmm1
mulpd  %xmm0,%xmm2
movupd %xmm1,0x70(%rsp,%rcx,8)
movupd %xmm2,0x80(%rsp,%rcx,8)
cmp    %rax,%rbp
je     1279 <produtoQA+0x149>
add    %r8,%rax
xchg   %ax,%ax
movsd  0x70(%rsp,%rax,8),%xmm0
mulsd  %xmm5,%xmm0
movsd  %xmm0,0x70(%rsp,%rax,8)
add    $0x1,%rax
cmp    %rax,%r15
jne    1260 <produtoQA+0x130>
mov    %rbp,0x50(%rsp)
lea    0x1fb0(%rsp),%rdi
mov    $0x3e8,%esi
mov    %r8,0x20(%rsp)
call   1030 <clean@plt>
mov    0x20(%rsp),%r10
mov    0x8(%rsp),%edx
cmp    %r12d,%edx
mov    0xc(%rsp),%r8d
jge    18e7 <produtoQA+0x7b7>
mov    %r12d,0x1c(%rsp)
mov    %r14,0x48(%rsp)
movslq %r8d,%rax
mov    %rax,%rbx
sub    %r10,%rbx
lea    -0x4(%rbx),%r14
mov    %r14,%r12
shr    $0x2,%r14
add    $0x1,%r14
mov    %rbx,%r11
and    $0xfffffffffffffffc,%r11
lea    (%r11,%r10,1),%rcx
mov    %rcx,0x40(%rsp)
mov    %r14,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x38(%rsp)
lea    (%rsp,%r10,8),%rsi
add    $0x1fe0,%rsi
imul   $0x1f48,%r10,%rcx
mov    0x10(%rsp),%rdi
add    %rdi,%rcx
add    $0x30,%rcx
imul   $0x1f40,%r10,%rbp
mov    %rbp,0x60(%rsp)
add    %rbp,%rdi
mov    %r10,%r9
jmp    133b <produtoQA+0x20b>
nopl   0x0(%rax)
add    $0x1,%r9
add    $0x1f40,%rcx
add    $0x1f40,%rdi
cmp    %r15,%r9
je     14b4 <produtoQA+0x384>
cmp    %r8d,%edx
jge    1320 <produtoQA+0x1f0>
movsd  0x70(%rsp,%r9,8),%xmm0
mov    %r10,%rbp
cmp    $0x4,%rbx
jb     1470 <produtoQA+0x340>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmp    $0x4,%r12
jae    136a <produtoQA+0x23a>
xor    %r8d,%r8d
jmp    13fb <produtoQA+0x2cb>
mov    0x38(%rsp),%r10
xor    %r8d,%r8d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x30(%rcx,%r8,8),%xmm2
movupd -0x20(%rcx,%r8,8),%xmm3
mulpd  %xmm1,%xmm2
movupd -0x30(%rsi,%r8,8),%xmm4
addpd  %xmm2,%xmm4
movupd -0x20(%rsi,%r8,8),%xmm2
movupd -0x10(%rsi,%r8,8),%xmm5
movupd (%rsi,%r8,8),%xmm6
mulpd  %xmm1,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm4,-0x30(%rsi,%r8,8)
movupd %xmm3,-0x20(%rsi,%r8,8)
movupd -0x10(%rcx,%r8,8),%xmm2
movupd (%rcx,%r8,8),%xmm3
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm6,%xmm3
movupd %xmm2,-0x10(%rsi,%r8,8)
movupd %xmm3,(%rsi,%r8,8)
add    $0x8,%r8
add    $0xfffffffffffffffe,%r10
jne    1380 <produtoQA+0x250>
test   $0x1,%r14b
mov    0x20(%rsp),%r10
je     145b <produtoQA+0x32b>
add    %r10,%r8
imul   $0x1f40,%r9,%rbp
add    0x10(%rsp),%rbp
movupd 0x0(%rbp,%r8,8),%xmm2
movupd 0x10(%rbp,%r8,8),%xmm3
movupd 0x1fb0(%rsp,%r8,8),%xmm4
movupd 0x1fc0(%rsp,%r8,8),%xmm5
mulpd  %xmm1,%xmm2
addpd  %xmm4,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm5,%xmm3
movupd %xmm2,0x1fb0(%rsp,%r8,8)
movupd %xmm3,0x1fc0(%rsp,%r8,8)
mov    0x40(%rsp),%rbp
cmp    %r11,%rbx
mov    0xc(%rsp),%r8d
je     1320 <produtoQA+0x1f0>
xchg   %ax,%ax
movsd  (%rdi,%rbp,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x1fb0(%rsp,%rbp,8),%xmm1
movsd  %xmm1,0x1fb0(%rsp,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%rax
jne    1470 <produtoQA+0x340>
jmp    1320 <produtoQA+0x1f0>
lea    0x1fb0(%rsp),%rdi
mov    $0x3e8,%esi
call   1030 <clean@plt>
mov    0x8(%rsp),%edx
jmp    18e7 <produtoQA+0x7b7>
mov    0x1c(%rsp),%r12d
cmp    %r12d,%edx
mov    0x48(%rsp),%rbp
jge    18e7 <produtoQA+0x7b7>
mov    %r10,%rsi
not    %rsi
add    %r15,%rsi
mov    0x50(%rsp),%rdi
xorpd  %xmm0,%xmm0
mov    %r10,%rcx
and    $0x3,%rdi
je     150a <produtoQA+0x3da>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x70(%rsp,%rcx,8),%xmm1
mulsd  0x0(%rbp,%rcx,8),%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rcx
add    $0xffffffffffffffff,%rdi
jne    14f0 <produtoQA+0x3c0>
cmp    $0x3,%rsi
jb     155f <produtoQA+0x42f>
movsd  0x70(%rsp,%rcx,8),%xmm1
movsd  0x78(%rsp,%rcx,8),%xmm2
mulsd  0x0(%rbp,%rcx,8),%xmm1
mulsd  0x8(%rbp,%rcx,8),%xmm2
addsd  %xmm0,%xmm1
movsd  0x80(%rsp,%rcx,8),%xmm3
mulsd  0x10(%rbp,%rcx,8),%xmm3
addsd  %xmm1,%xmm2
movsd  0x88(%rsp,%rcx,8),%xmm0
mulsd  0x18(%rbp,%rcx,8),%xmm0
addsd  %xmm2,%xmm3
addsd  %xmm3,%xmm0
add    $0x4,%rcx
cmp    %rcx,%r15
jne    1510 <produtoQA+0x3e0>
cmp    %r12d,%edx
jge    18e7 <produtoQA+0x7b7>
imul   $0x3e9,%r10,%rsi
lea    0x1(%r10),%rcx
mov    %rcx,0x68(%rsp)
lea    (%r11,%r10,1),%rcx
mov    %rcx,0x58(%rsp)
mov    %rax,%rcx
neg    %rcx
mov    %rcx,0x40(%rsp)
lea    (%rsp,%r10,8),%rdi
add    $0x1fc0,%rdi
mov    0x10(%rsp),%rcx
mov    %rsi,0x38(%rsp)
lea    0x10(%rcx,%rsi,8),%r9
mov    0x60(%rsp),%rsi
add    %rcx,%rsi
add    $0x8,%rsi
mov    %r10,%r14
xor    %r10d,%r10d
movapd 0xa40(%rip),%xmm1
jmp    15f4 <produtoQA+0x4c4>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%r14
add    $0x1,%r10
add    $0x1f40,%r9
add    $0x1f40,%rsi
cmp    %r15,%r14
mov    0xc(%rsp),%r8d
je     1782 <produtoQA+0x652>
cmp    %r8d,%edx
jge    15d0 <produtoQA+0x4a0>
imul   $0x1f40,%r14,%rcx
add    0x10(%rsp),%rcx
mov    0x20(%rsp),%r12
cmp    $0x4,%rbx
jb     16d0 <produtoQA+0x5a0>
imul   $0x1f40,%r10,%rbp
add    0x10(%rsp),%rbp
mov    0x68(%rsp),%rdx
lea    (%rdx,%r10,1),%r8
mov    0x38(%rsp),%rdx
lea    0x0(%rbp,%rdx,8),%rbp
lea    0x0(,%r8,8),%rdx
add    %r13,%rdx
cmp    %rdx,%rbp
mov    0x8(%rsp),%edx
jae    1664 <produtoQA+0x534>
lea    (%rcx,%rax,8),%rdx
lea    0x0(,%r14,8),%rbp
add    %r13,%rbp
mov    0x20(%rsp),%r12
cmp    %rdx,%rbp
mov    0x8(%rsp),%edx
jb     16d0 <produtoQA+0x5a0>
movsd  0x0(%r13,%r14,8),%xmm2
unpcklpd %xmm2,%xmm2
xorpd  %xmm1,%xmm2
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movupd -0x10(%rdi,%rbp,8),%xmm3
movupd (%rdi,%rbp,8),%xmm4
movupd -0x10(%r9,%rbp,8),%xmm5
movupd (%r9,%rbp,8),%xmm6
mulpd  %xmm2,%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm6,%xmm4
movupd %xmm3,-0x10(%r9,%rbp,8)
movupd %xmm4,(%r9,%rbp,8)
add    $0x4,%rbp
cmp    %rbp,%r11
jne    1680 <produtoQA+0x550>
mov    0x58(%rsp),%r12
cmp    %r11,%rbx
je     15d0 <produtoQA+0x4a0>
nopl   0x0(%rax)
mov    0xc(%rsp),%edx
sub    %r12d,%edx
mov    %r12,%r8
test   $0x1,%dl
je     1705 <produtoQA+0x5d5>
movsd  0x0(%r13,%r14,8),%xmm2
mulsd  0x1fb0(%rsp,%r12,8),%xmm2
movsd  (%rcx,%r12,8),%xmm3
subsd  %xmm2,%xmm3
movsd  %xmm3,(%rcx,%r12,8)
lea    0x1(%r12),%r8
not    %r12
cmp    0x40(%rsp),%r12
mov    0x8(%rsp),%edx
je     15d0 <produtoQA+0x4a0>
nopw   0x0(%rax,%rax,1)
movsd  0x0(%r13,%r14,8),%xmm2
mulsd  0x1fb0(%rsp,%r8,8),%xmm2
movsd  -0x8(%rsi,%r8,8),%xmm3
subsd  %xmm2,%xmm3
movsd  (%rsi,%r8,8),%xmm2
movsd  %xmm3,-0x8(%rsi,%r8,8)
movsd  0x0(%r13,%r14,8),%xmm3
mulsd  0x1fb8(%rsp,%r8,8),%xmm3
subsd  %xmm3,%xmm2
movsd  %xmm2,(%rsi,%r8,8)
add    $0x2,%r8
cmp    %r8,%rax
jne    1720 <produtoQA+0x5f0>
jmp    15d0 <produtoQA+0x4a0>
xor    %ecx,%ecx
test   $0x1,%dl
jne    122d <produtoQA+0xfd>
jmp    1256 <produtoQA+0x126>
mov    0x1c(%rsp),%r12d
cmp    %r12d,%edx
mov    0x48(%rsp),%rbp
mov    0x20(%rsp),%rsi
jge    18e7 <produtoQA+0x7b7>
mov    0x50(%rsp),%r8
cmp    $0x4,%r8
jb     17e3 <produtoQA+0x6b3>
lea    0x0(,%rsi,8),%rax
add    %rbp,%rax
lea    0x0(,%r15,8),%rcx
add    %r13,%rcx
cmp    %rcx,%rax
jae    1871 <produtoQA+0x741>
lea    0x0(,%r15,8),%rax
add    %rbp,%rax
lea    0x0(,%rsi,8),%rcx
add    %r13,%rcx
cmp    %rax,%rcx
jae    1871 <produtoQA+0x741>
mov    %rsi,%rax
mov    %r12d,%edx
sub    %eax,%edx
mov    %rax,%rcx
not    %rcx
test   $0x1,%dl
je     1815 <produtoQA+0x6e5>
movsd  0x0(%rbp,%rax,8),%xmm1
movsd  0x0(%r13,%rax,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x0(%rbp,%rax,8)
add    $0x1,%rax
add    %r15,%rcx
mov    0x8(%rsp),%edx
je     18e7 <produtoQA+0x7b7>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x0(%r13,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  0x0(%rbp,%rax,8),%xmm2
subsd  %xmm1,%xmm2
movsd  0x8(%rbp,%rax,8),%xmm1
movsd  %xmm2,0x0(%rbp,%rax,8)
movsd  0x8(%r13,%rax,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rbp,%rax,8)
add    $0x2,%rax
cmp    %rax,%r15
jne    1830 <produtoQA+0x700>
jmp    18e7 <produtoQA+0x7b7>
mov    %r8,%rcx
and    $0xfffffffffffffffc,%rcx
lea    (%rcx,%rsi,1),%rax
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
lea    0x10(,%rsi,8),%rdx
add    %r13,%rdx
lea    0x10(,%rsi,8),%rsi
add    %rbp,%rsi
xor    %edi,%edi
nopl   0x0(%rax)
movupd -0x10(%rdx,%rdi,8),%xmm2
movupd (%rdx,%rdi,8),%xmm3
movupd -0x10(%rsi,%rdi,8),%xmm4
movupd (%rsi,%rdi,8),%xmm5
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm4
mulpd  %xmm1,%xmm3
subpd  %xmm3,%xmm5
movupd %xmm4,-0x10(%rsi,%rdi,8)
movupd %xmm5,(%rsi,%rdi,8)
add    $0x4,%rdi
cmp    %rdi,%rcx
jne    18a0 <produtoQA+0x770>
cmp    %rcx,%r8
mov    0x8(%rsp),%edx
jne    17e6 <produtoQA+0x6b6>
mov    0x10(%rsp),%rdi
mov    %r13,%rsi
mov    %r12d,%ecx
call   1040 <pasteCol@plt>
add    $0x3ef8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @produtoQA([1000 x double]* %0, double* %1, double* %2, double %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca [1000 x double]*
%9 = alloca double*
%10 = alloca double*
%11 = alloca double
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca [1000 x double]
%16 = alloca [1000 x double]
%17 = alloca double
%18 = alloca i32
%19 = alloca i32
store [1000 x double]* %0, [1000 x double]** %8
store double* %1, double** %9
store double* %2, double** %10
store double %3, double* %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store i32 %6, i32* %14
store double 0.000000e+00, double* %17
%20 = load double*, double** %10
%21 = getelementptr inbounds [1000 x double], [1000 x double]* %16, i64 0, i64 0
%22 = load i32, i32* %13
%23 = call i32 @copyU(double* %20, double* %21, i32 %22)
%24 = load i32, i32* %12
store i32 %24, i32* %18
br label %25
25: ; preds = %36, %7
%26 = load i32, i32* %18
%27 = load i32, i32* %13
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %25
%30 = load double, double* %11
%31 = load i32, i32* %18
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1000 x double], [1000 x double]* %16, i64 0, i64 %32
%34 = load double, double* %33
%35 = fmul double %34, %30
store double %35, double* %33
br label %36
36: ; preds = %29
%37 = load i32, i32* %18
%38 = add nsw i32 %37, 1
store i32 %38, i32* %18
br label %25
39: ; preds = %25
%40 = getelementptr inbounds [1000 x double], [1000 x double]* %15, i64 0, i64 0
%41 = call i32 @clean(double* %40, i32 1000)
%42 = load i32, i32* %12
store i32 %42, i32* %18
br label %43
43: ; preds = %75, %39
%44 = load i32, i32* %18
%45 = load i32, i32* %13
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %78
47: ; preds = %43
%48 = load i32, i32* %12
store i32 %48, i32* %19
br label %49
49: ; preds = %71, %47
%50 = load i32, i32* %19
%51 = load i32, i32* %14
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %74
53: ; preds = %49
%54 = load i32, i32* %18
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1000 x double], [1000 x double]* %16, i64 0, i64 %55
%57 = load double, double* %56
%58 = load [1000 x double]*, [1000 x double]** %8
%59 = load i32, i32* %18
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [1000 x double], [1000 x double]* %58, i64 %60
%62 = load i32, i32* %19
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [1000 x double], [1000 x double]* %61, i64 0, i64 %63
%65 = load double, double* %64
%66 = load i32, i32* %19
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [1000 x double], [1000 x double]* %15, i64 0, i64 %67
%69 = load double, double* %68
%70 = call double @llvm.fmuladd.f64(double %57, double %65, double %69)
store double %70, double* %68
br label %71
71: ; preds = %53
%72 = load i32, i32* %19
%73 = add nsw i32 %72, 1
store i32 %73, i32* %19
br label %49
74: ; preds = %49
br label %75
75: ; preds = %74
%76 = load i32, i32* %18
%77 = add nsw i32 %76, 1
store i32 %77, i32* %18
br label %43
78: ; preds = %43
%79 = load i32, i32* %12
store i32 %79, i32* %18
br label %80
80: ; preds = %96, %78
%81 = load i32, i32* %18
%82 = load i32, i32* %13
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %99
84: ; preds = %80
%85 = load i32, i32* %18
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [1000 x double], [1000 x double]* %16, i64 0, i64 %86
%88 = load double, double* %87
%89 = load double*, double** %9
%90 = load i32, i32* %18
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, double* %89, i64 %91
%93 = load double, double* %92
%94 = load double, double* %17
%95 = call double @llvm.fmuladd.f64(double %88, double %93, double %94)
store double %95, double* %17
br label %96
96: ; preds = %84
%97 = load i32, i32* %18
%98 = add nsw i32 %97, 1
store i32 %98, i32* %18
br label %80
99: ; preds = %80
%100 = load i32, i32* %12
store i32 %100, i32* %18
br label %101
101: ; preds = %135, %99
%102 = load i32, i32* %18
%103 = load i32, i32* %13
%104 = icmp slt i32 %102, %103
br i1 %104, label %105, label %138
105: ; preds = %101
%106 = load i32, i32* %12
store i32 %106, i32* %19
br label %107
107: ; preds = %131, %105
%108 = load i32, i32* %19
%109 = load i32, i32* %14
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %134
111: ; preds = %107
%112 = load double*, double** %10
%113 = load i32, i32* %18
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %112, i64 %114
%116 = load double, double* %115
%117 = load i32, i32* %19
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [1000 x double], [1000 x double]* %15, i64 0, i64 %118
%120 = load double, double* %119
%121 = load [1000 x double]*, [1000 x double]** %8
%122 = load i32, i32* %18
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [1000 x double], [1000 x double]* %121, i64 %123
%125 = load i32, i32* %19
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [1000 x double], [1000 x double]* %124, i64 0, i64 %126
%128 = load double, double* %127
%129 = fneg double %116
%130 = call double @llvm.fmuladd.f64(double %129, double %120, double %128)
store double %130, double* %127
br label %131
131: ; preds = %111
%132 = load i32, i32* %19
%133 = add nsw i32 %132, 1
store i32 %133, i32* %19
br label %107
134: ; preds = %107
br label %135
135: ; preds = %134
%136 = load i32, i32* %18
%137 = add nsw i32 %136, 1
store i32 %137, i32* %18
br label %101
138: ; preds = %101
%139 = load i32, i32* %12
store i32 %139, i32* %18
br label %140
140: ; preds = %158, %138
%141 = load i32, i32* %18
%142 = load i32, i32* %13
%143 = icmp slt i32 %141, %142
br i1 %143, label %144, label %161
144: ; preds = %140
%145 = load double*, double** %10
%146 = load i32, i32* %18
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, double* %145, i64 %147
%149 = load double, double* %148
%150 = load double, double* %17
%151 = load double*, double** %9
%152 = load i32, i32* %18
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %151, i64 %153
%155 = load double, double* %154
%156 = fneg double %149
%157 = call double @llvm.fmuladd.f64(double %156, double %150, double %155)
store double %157, double* %154
br label %158
158: ; preds = %144
%159 = load i32, i32* %18
%160 = add nsw i32 %159, 1
store i32 %160, i32* %18
br label %140
161: ; preds = %140
%162 = load [1000 x double]*, [1000 x double]** %8
%163 = bitcast [1000 x double]* %162 to double**
%164 = load double*, double** %10
%165 = load i32, i32* %12
%166 = load i32, i32* %13
%167 = call i32 @pasteCol(double** %163, double* %164, i32 %165, i32 %166)
ret void
}

LLVM IR (-O2):
define void @produtoQA([1000 x double]* %0, double* nocapture %1, double* %2, double %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca [1000 x double]
%9 = alloca [1000 x double]
%10 = bitcast [1000 x double]* %8 to i8*
%11 = bitcast [1000 x double]* %9 to i8*
%12 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 0
%13 = call i32 @copyU(double* %2, double* %12, i32 %5)
%14 = icmp slt i32 %4, %5
br i1 %14, label %18, label %15
15: ; preds = %7
%16 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 0
%17 = call i32 @clean(double* %16, i32 1000)
br label %432
18: ; preds = %7
%19 = sext i32 %4 to i64
%20 = sext i32 %5 to i64
%21 = sub nsw i64 %20, %19
%22 = icmp ult i64 %21, 4
br i1 %22, label %83, label %23
23: ; preds = %18
%24 = and i64 %21, -4
%25 = add nsw i64 %24, %19
%26 = insertelement <2 x double> poison, double %3, i64 0
%27 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> zeroinitializer
%28 = insertelement <2 x double> poison, double %3, i64 0
%29 = shufflevector <2 x double> %28, <2 x double> poison, <2 x i32> zeroinitializer
%30 = add nsw i64 %24, -4
%31 = lshr exact i64 %30, 2
%32 = add nuw nsw i64 %31, 1
%33 = and i64 %32, 1
%34 = icmp eq i64 %30, 0
br i1 %34, label %66, label %35
35: ; preds = %23
%36 = and i64 %32, 9223372036854775806
br label %37
37: ; preds = %37, %35
%38 = phi i64 [ 0, %35 ], [ %63, %37 ]
%39 = phi i64 [ 0, %35 ], [ %64, %37 ]
%40 = add i64 %38, %19
%41 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %40
%42 = bitcast double* %41 to <2 x double>*
%43 = load <2 x double>, <2 x double>* %42
%44 = getelementptr inbounds double, double* %41, i64 2
%45 = bitcast double* %44 to <2 x double>*
%46 = load <2 x double>, <2 x double>* %45
%47 = fmul <2 x double> %43, %27
%48 = fmul <2 x double> %46, %29
%49 = bitcast double* %41 to <2 x double>*
store <2 x double> %47, <2 x double>* %49
%50 = bitcast double* %44 to <2 x double>*
store <2 x double> %48, <2 x double>* %50
%51 = or i64 %38, 4
%52 = add i64 %51, %19
%53 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %52
%54 = bitcast double* %53 to <2 x double>*
%55 = load <2 x double>, <2 x double>* %54
%56 = getelementptr inbounds double, double* %53, i64 2
%57 = bitcast double* %56 to <2 x double>*
%58 = load <2 x double>, <2 x double>* %57
%59 = fmul <2 x double> %55, %27
%60 = fmul <2 x double> %58, %29
%61 = bitcast double* %53 to <2 x double>*
store <2 x double> %59, <2 x double>* %61
%62 = bitcast double* %56 to <2 x double>*
store <2 x double> %60, <2 x double>* %62
%63 = add nuw i64 %38, 8
%64 = add i64 %39, 2
%65 = icmp eq i64 %64, %36
br i1 %65, label %66, label %37
66: ; preds = %37, %23
%67 = phi i64 [ 0, %23 ], [ %63, %37 ]
%68 = icmp eq i64 %33, 0
br i1 %68, label %81, label %69
69: ; preds = %66
%70 = add i64 %67, %19
%71 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %70
%72 = bitcast double* %71 to <2 x double>*
%73 = load <2 x double>, <2 x double>* %72
%74 = getelementptr inbounds double, double* %71, i64 2
%75 = bitcast double* %74 to <2 x double>*
%76 = load <2 x double>, <2 x double>* %75
%77 = fmul <2 x double> %73, %27
%78 = fmul <2 x double> %76, %29
%79 = bitcast double* %71 to <2 x double>*
store <2 x double> %77, <2 x double>* %79
%80 = bitcast double* %74 to <2 x double>*
store <2 x double> %78, <2 x double>* %80
br label %81
81: ; preds = %66, %69
%82 = icmp eq i64 %21, %24
br i1 %82, label %92, label %83
83: ; preds = %18, %81
%84 = phi i64 [ %19, %18 ], [ %25, %81 ]
br label %85
85: ; preds = %83, %85
%86 = phi i64 [ %90, %85 ], [ %84, %83 ]
%87 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %86
%88 = load double, double* %87
%89 = fmul double %88, %3
store double %89, double* %87
%90 = add nsw i64 %86, 1
%91 = icmp eq i64 %90, %20
br i1 %91, label %92, label %85
92: ; preds = %85, %81
%93 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 0
%94 = call i32 @clean(double* %93, i32 1000)
br i1 %14, label %95, label %432
95: ; preds = %92
%96 = icmp slt i32 %4, %6
%97 = sext i32 %4 to i64
%98 = sext i32 %5 to i64
%99 = sext i32 %6 to i64
%100 = sub nsw i64 %99, %19
%101 = add nsw i64 %100, -4
%102 = lshr i64 %101, 2
%103 = add nuw nsw i64 %102, 1
%104 = icmp ult i64 %100, 4
%105 = and i64 %100, -4
%106 = add nsw i64 %105, %97
%107 = and i64 %103, 1
%108 = icmp ult i64 %101, 4
%109 = and i64 %103, 9223372036854775806
%110 = icmp eq i64 %107, 0
%111 = icmp eq i64 %100, %105
br label %112
112: ; preds = %95, %220
%113 = phi i64 [ %97, %95 ], [ %221, %220 ]
br i1 %96, label %114, label %220
114: ; preds = %112
%115 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %113
%116 = load double, double* %115
br i1 %104, label %184, label %117
117: ; preds = %114
%118 = insertelement <2 x double> poison, double %116, i64 0
%119 = shufflevector <2 x double> %118, <2 x double> poison, <2 x i32> zeroinitializer
%120 = insertelement <2 x double> poison, double %116, i64 0
%121 = shufflevector <2 x double> %120, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %108, label %163, label %122
122: ; preds = %117, %122
%123 = phi i64 [ %160, %122 ], [ 0, %117 ]
%124 = phi i64 [ %161, %122 ], [ 0, %117 ]
%125 = add i64 %123, %97
%126 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %113, i64 %125
%127 = bitcast double* %126 to <2 x double>*
%128 = load <2 x double>, <2 x double>* %127
%129 = getelementptr inbounds double, double* %126, i64 2
%130 = bitcast double* %129 to <2 x double>*
%131 = load <2 x double>, <2 x double>* %130
%132 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %125
%133 = bitcast double* %132 to <2 x double>*
%134 = load <2 x double>, <2 x double>* %133
%135 = getelementptr inbounds double, double* %132, i64 2
%136 = bitcast double* %135 to <2 x double>*
%137 = load <2 x double>, <2 x double>* %136
%138 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %119, <2 x double> %128, <2 x double> %134)
%139 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %131, <2 x double> %137)
%140 = bitcast double* %132 to <2 x double>*
store <2 x double> %138, <2 x double>* %140
%141 = bitcast double* %135 to <2 x double>*
store <2 x double> %139, <2 x double>* %141
%142 = or i64 %123, 4
%143 = add i64 %142, %97
%144 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %113, i64 %143
%145 = bitcast double* %144 to <2 x double>*
%146 = load <2 x double>, <2 x double>* %145
%147 = getelementptr inbounds double, double* %144, i64 2
%148 = bitcast double* %147 to <2 x double>*
%149 = load <2 x double>, <2 x double>* %148
%150 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %143
%151 = bitcast double* %150 to <2 x double>*
%152 = load <2 x double>, <2 x double>* %151
%153 = getelementptr inbounds double, double* %150, i64 2
%154 = bitcast double* %153 to <2 x double>*
%155 = load <2 x double>, <2 x double>* %154
%156 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %119, <2 x double> %146, <2 x double> %152)
%157 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %149, <2 x double> %155)
%158 = bitcast double* %150 to <2 x double>*
store <2 x double> %156, <2 x double>* %158
%159 = bitcast double* %153 to <2 x double>*
store <2 x double> %157, <2 x double>* %159
%160 = add nuw i64 %123, 8
%161 = add i64 %124, 2
%162 = icmp eq i64 %161, %109
br i1 %162, label %163, label %122
163: ; preds = %122, %117
%164 = phi i64 [ 0, %117 ], [ %160, %122 ]
br i1 %110, label %183, label %165
165: ; preds = %163
%166 = add i64 %164, %97
%167 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %113, i64 %166
%168 = bitcast double* %167 to <2 x double>*
%169 = load <2 x double>, <2 x double>* %168
%170 = getelementptr inbounds double, double* %167, i64 2
%171 = bitcast double* %170 to <2 x double>*
%172 = load <2 x double>, <2 x double>* %171
%173 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %166
%174 = bitcast double* %173 to <2 x double>*
%175 = load <2 x double>, <2 x double>* %174
%176 = getelementptr inbounds double, double* %173, i64 2
%177 = bitcast double* %176 to <2 x double>*
%178 = load <2 x double>, <2 x double>* %177
%179 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %119, <2 x double> %169, <2 x double> %175)
%180 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %172, <2 x double> %178)
%181 = bitcast double* %173 to <2 x double>*
store <2 x double> %179, <2 x double>* %181
%182 = bitcast double* %176 to <2 x double>*
store <2 x double> %180, <2 x double>* %182
br label %183
183: ; preds = %163, %165
br i1 %111, label %220, label %184
184: ; preds = %114, %183
%185 = phi i64 [ %97, %114 ], [ %106, %183 ]
br label %211
186: ; preds = %220
br i1 %14, label %187, label %432
187: ; preds = %186
%188 = sext i32 %4 to i64
%189 = sext i32 %5 to i64
%190 = xor i64 %19, -1
%191 = add nsw i64 %190, %20
%192 = and i64 %21, 3
%193 = icmp eq i64 %192, 0
br i1 %193, label %206, label %194
194: ; preds = %187, %194
%195 = phi i64 [ %203, %194 ], [ %188, %187 ]
%196 = phi double [ %202, %194 ], [ 0.000000e+00, %187 ]
%197 = phi i64 [ %204, %194 ], [ 0, %187 ]
%198 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %195
%199 = load double, double* %198
%200 = getelementptr inbounds double, double* %1, i64 %195
%201 = load double, double* %200
%202 = call double @llvm.fmuladd.f64(double %199, double %201, double %196)
%203 = add nsw i64 %195, 1
%204 = add i64 %197, 1
%205 = icmp eq i64 %204, %192
br i1 %205, label %206, label %194
206: ; preds = %194, %187
%207 = phi double [ undef, %187 ], [ %202, %194 ]
%208 = phi i64 [ %188, %187 ], [ %203, %194 ]
%209 = phi double [ 0.000000e+00, %187 ], [ %202, %194 ]
%210 = icmp ult i64 %191, 3
br i1 %210, label %223, label %238
211: ; preds = %184, %211
%212 = phi i64 [ %218, %211 ], [ %185, %184 ]
%213 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %113, i64 %212
%214 = load double, double* %213
%215 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %212
%216 = load double, double* %215
%217 = call double @llvm.fmuladd.f64(double %116, double %214, double %216)
store double %217, double* %215
%218 = add nsw i64 %212, 1
%219 = icmp eq i64 %218, %99
br i1 %219, label %220, label %211
220: ; preds = %211, %183, %112
%221 = add nsw i64 %113, 1
%222 = icmp eq i64 %221, %98
br i1 %222, label %186, label %112
223: ; preds = %238, %206
%224 = phi double [ %207, %206 ], [ %263, %238 ]
br i1 %14, label %225, label %432
225: ; preds = %223
%226 = icmp slt i32 %4, %6
%227 = sext i32 %4 to i64
%228 = sext i32 %5 to i64
%229 = sext i32 %6 to i64
%230 = mul nsw i64 %19, 1001
%231 = add nsw i64 %19, 1
%232 = sub nsw i64 %99, %19
%233 = icmp ult i64 %232, 4
%234 = and i64 %232, -4
%235 = add nsw i64 %234, %227
%236 = icmp eq i64 %232, %234
%237 = sub nsw i64 0, %99
br label %266
238: ; preds = %206, %238
%239 = phi i64 [ %264, %238 ], [ %208, %206 ]
%240 = phi double [ %263, %238 ], [ %209, %206 ]
%241 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %239
%242 = load double, double* %241
%243 = getelementptr inbounds double, double* %1, i64 %239
%244 = load double, double* %243
%245 = call double @llvm.fmuladd.f64(double %242, double %244, double %240)
%246 = add nsw i64 %239, 1
%247 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %246
%248 = load double, double* %247
%249 = getelementptr inbounds double, double* %1, i64 %246
%250 = load double, double* %249
%251 = call double @llvm.fmuladd.f64(double %248, double %250, double %245)
%252 = add nsw i64 %239, 2
%253 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %252
%254 = load double, double* %253
%255 = getelementptr inbounds double, double* %1, i64 %252
%256 = load double, double* %255
%257 = call double @llvm.fmuladd.f64(double %254, double %256, double %251)
%258 = add nsw i64 %239, 3
%259 = getelementptr inbounds [1000 x double], [1000 x double]* %9, i64 0, i64 %258
%260 = load double, double* %259
%261 = getelementptr inbounds double, double* %1, i64 %258
%262 = load double, double* %261
%263 = call double @llvm.fmuladd.f64(double %260, double %262, double %257)
%264 = add nsw i64 %239, 4
%265 = icmp eq i64 %264, %189
br i1 %265, label %223, label %238
266: ; preds = %225, %411
%267 = phi i64 [ 0, %225 ], [ %414, %411 ]
%268 = phi i64 [ %227, %225 ], [ %412, %411 ]
%269 = getelementptr [1000 x double], [1000 x double]* %0, i64 %267, i64 %230
%270 = getelementptr [1000 x double], [1000 x double]* %0, i64 %268, i64 %99
%271 = getelementptr double, double* %2, i64 %268
%272 = add i64 %231, %267
%273 = getelementptr double, double* %2, i64 %272
br i1 %226, label %274, label %411
274: ; preds = %266
%275 = getelementptr inbounds double, double* %2, i64 %268
br i1 %233, label %310, label %276
276: ; preds = %274
%277 = icmp ult double* %269, %273
%278 = icmp ult double* %271, %270
%279 = and i1 %277, %278
br i1 %279, label %310, label %280
280: ; preds = %276
%281 = load double, double* %275
%282 = insertelement <2 x double> poison, double %281, i64 0
%283 = shufflevector <2 x double> %282, <2 x double> poison, <2 x i32> zeroinitializer
%284 = insertelement <2 x double> poison, double %281, i64 0
%285 = shufflevector <2 x double> %284, <2 x double> poison, <2 x i32> zeroinitializer
%286 = fneg <2 x double> %283
%287 = fneg <2 x double> %285
br label %288
288: ; preds = %288, %280
%289 = phi i64 [ 0, %280 ], [ %307, %288 ]
%290 = add i64 %289, %227
%291 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %290
%292 = bitcast double* %291 to <2 x double>*
%293 = load <2 x double>, <2 x double>* %292
%294 = getelementptr inbounds double, double* %291, i64 2
%295 = bitcast double* %294 to <2 x double>*
%296 = load <2 x double>, <2 x double>* %295
%297 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %268, i64 %290
%298 = bitcast double* %297 to <2 x double>*
%299 = load <2 x double>, <2 x double>* %298
%300 = getelementptr inbounds double, double* %297, i64 2
%301 = bitcast double* %300 to <2 x double>*
%302 = load <2 x double>, <2 x double>* %301
%303 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %286, <2 x double> %293, <2 x double> %299)
%304 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %287, <2 x double> %296, <2 x double> %302)
%305 = bitcast double* %297 to <2 x double>*
store <2 x double> %303, <2 x double>* %305
%306 = bitcast double* %300 to <2 x double>*
store <2 x double> %304, <2 x double>* %306
%307 = add nuw i64 %289, 4
%308 = icmp eq i64 %307, %234
br i1 %308, label %309, label %288
309: ; preds = %288
br i1 %236, label %411, label %310
310: ; preds = %276, %274, %309
%311 = phi i64 [ %227, %276 ], [ %227, %274 ], [ %235, %309 ]
%312 = sub nsw i64 %99, %311
%313 = xor i64 %311, -1
%314 = and i64 %312, 1
%315 = icmp eq i64 %314, 0
br i1 %315, label %325, label %316
316: ; preds = %310
%317 = load double, double* %275
%318 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %311
%319 = load double, double* %318
%320 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %268, i64 %311
%321 = load double, double* %320
%322 = fneg double %317
%323 = call double @llvm.fmuladd.f64(double %322, double %319, double %321)
store double %323, double* %320
%324 = add nsw i64 %311, 1
br label %325
325: ; preds = %316, %310
%326 = phi i64 [ %311, %310 ], [ %324, %316 ]
%327 = icmp eq i64 %313, %237
br i1 %327, label %411, label %392
328: ; preds = %411
br i1 %14, label %329, label %432
329: ; preds = %328
%330 = sext i32 %4 to i64
%331 = sext i32 %5 to i64
%332 = sub nsw i64 %20, %19
%333 = icmp ult i64 %332, 4
br i1 %333, label %374, label %334
334: ; preds = %329
%335 = getelementptr double, double* %1, i64 %19
%336 = getelementptr double, double* %1, i64 %20
%337 = getelementptr double, double* %2, i64 %19
%338 = getelementptr double, double* %2, i64 %20
%339 = icmp ult double* %335, %338
%340 = icmp ult double* %337, %336
%341 = and i1 %339, %340
br i1 %341, label %374, label %342
342: ; preds = %334
%343 = and i64 %332, -4
%344 = add nsw i64 %343, %330
%345 = insertelement <2 x double> poison, double %224, i64 0
%346 = shufflevector <2 x double> %345, <2 x double> poison, <2 x i32> zeroinitializer
%347 = insertelement <2 x double> poison, double %224, i64 0
%348 = shufflevector <2 x double> %347, <2 x double> poison, <2 x i32> zeroinitializer
br label %349
349: ; preds = %349, %342
%350 = phi i64 [ 0, %342 ], [ %370, %349 ]
%351 = add i64 %350, %330
%352 = getelementptr inbounds double, double* %2, i64 %351
%353 = bitcast double* %352 to <2 x double>*
%354 = load <2 x double>, <2 x double>* %353
%355 = getelementptr inbounds double, double* %352, i64 2
%356 = bitcast double* %355 to <2 x double>*
%357 = load <2 x double>, <2 x double>* %356
%358 = getelementptr inbounds double, double* %1, i64 %351
%359 = bitcast double* %358 to <2 x double>*
%360 = load <2 x double>, <2 x double>* %359
%361 = getelementptr inbounds double, double* %358, i64 2
%362 = bitcast double* %361 to <2 x double>*
%363 = load <2 x double>, <2 x double>* %362
%364 = fneg <2 x double> %354
%365 = fneg <2 x double> %357
%366 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %364, <2 x double> %346, <2 x double> %360)
%367 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %365, <2 x double> %348, <2 x double> %363)
%368 = bitcast double* %358 to <2 x double>*
store <2 x double> %366, <2 x double>* %368
%369 = bitcast double* %361 to <2 x double>*
store <2 x double> %367, <2 x double>* %369
%370 = add nuw i64 %350, 4
%371 = icmp eq i64 %370, %343
br i1 %371, label %372, label %349
372: ; preds = %349
%373 = icmp eq i64 %332, %343
br i1 %373, label %432, label %374
374: ; preds = %334, %329, %372
%375 = phi i64 [ %330, %334 ], [ %330, %329 ], [ %344, %372 ]
%376 = sub nsw i64 %20, %375
%377 = xor i64 %375, -1
%378 = and i64 %376, 1
%379 = icmp eq i64 %378, 0
br i1 %379, label %388, label %380
380: ; preds = %374
%381 = getelementptr inbounds double, double* %2, i64 %375
%382 = load double, double* %381
%383 = getelementptr inbounds double, double* %1, i64 %375
%384 = load double, double* %383
%385 = fneg double %382
%386 = call double @llvm.fmuladd.f64(double %385, double %224, double %384)
store double %386, double* %383
%387 = add nsw i64 %375, 1
br label %388
388: ; preds = %380, %374
%389 = phi i64 [ %375, %374 ], [ %387, %380 ]
%390 = sub nsw i64 0, %20
%391 = icmp eq i64 %377, %390
br i1 %391, label %432, label %415
392: ; preds = %325, %392
%393 = phi i64 [ %409, %392 ], [ %326, %325 ]
%394 = load double, double* %275
%395 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %393
%396 = load double, double* %395
%397 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %268, i64 %393
%398 = load double, double* %397
%399 = fneg double %394
%400 = call double @llvm.fmuladd.f64(double %399, double %396, double %398)
store double %400, double* %397
%401 = add nsw i64 %393, 1
%402 = load double, double* %275
%403 = getelementptr inbounds [1000 x double], [1000 x double]* %8, i64 0, i64 %401
%404 = load double, double* %403
%405 = getelementptr inbounds [1000 x double], [1000 x double]* %0, i64 %268, i64 %401
%406 = load double, double* %405
%407 = fneg double %402
%408 = call double @llvm.fmuladd.f64(double %407, double %404, double %406)
store double %408, double* %405
%409 = add nsw i64 %393, 2
%410 = icmp eq i64 %409, %229
br i1 %410, label %411, label %392
411: ; preds = %325, %392, %309, %266
%412 = add nsw i64 %268, 1
%413 = icmp eq i64 %412, %228
%414 = add i64 %267, 1
br i1 %413, label %328, label %266
415: ; preds = %388, %415
%416 = phi i64 [ %430, %415 ], [ %389, %388 ]
%417 = getelementptr inbounds double, double* %2, i64 %416
%418 = load double, double* %417
%419 = getelementptr inbounds double, double* %1, i64 %416
%420 = load double, double* %419
%421 = fneg double %418
%422 = call double @llvm.fmuladd.f64(double %421, double %224, double %420)
store double %422, double* %419
%423 = add nsw i64 %416, 1
%424 = getelementptr inbounds double, double* %2, i64 %423
%425 = load double, double* %424
%426 = getelementptr inbounds double, double* %1, i64 %423
%427 = load double, double* %426
%428 = fneg double %425
%429 = call double @llvm.fmuladd.f64(double %428, double %224, double %427)
store double %429, double* %426
%430 = add nsw i64 %416, 2
%431 = icmp eq i64 %430, %331
br i1 %431, label %432, label %415
432: ; preds = %388, %415, %372, %92, %15, %186, %223, %328
%433 = bitcast [1000 x double]* %0 to double**
%434 = call i32 @pasteCol(double** %433, double* %2, i32 %4, i32 %5)
ret void
}