LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Eba-M[P]E3DC-Control/cJSON.c
// Function: cJSON_Minify
CJSON_PUBLIC(void) cJSON_Minify(char *json)
{
    char *into = json;

    if (json == NULL)
    {
        return;
    }

    while (json[0] != '\0')
    {
        switch (json[0])
        {
            case ' ':
            case '\t':
            case '\r':
            case '\n':
                json++;
                break;

            case '/':
                if (json[1] == '/')
                {
                    skip_oneline_comment(&json);
                }
                else if (json[1] == '*')
                {
                    skip_multiline_comment(&json);
                } else {
                    json++;
                }
                break;

            case '\"':
                minify_string(&json, (char**)&into);
                break;

            default:
                into[0] = json[0];
                json++;
                into++;
        }
    }

    /* and null-terminate. */
    *into = '\0';
}

// Assembly:
testq %rdi, %rdi
je 0x2e47c
movabsq $0x100002600, %rax      # imm = 0x100002600
movq %rdi, %rcx
movq %rdi, %rdx
movzbl (%rdi), %esi
cmpq $0x2f, %rsi
ja 0x2e3da
btq %rsi, %rax
jae 0x2e3a0
incq %rdx
movq %rdx, %rdi
jmp 0x2e386
cmpq $0x22, %rsi
je 0x2e3f0
cmpq $0x2f, %rsi
jne 0x2e3da
movzbl 0x1(%rdx), %esi
cmpl $0x2a, %esi
je 0x2e43f
leaq 0x1(%rdx), %rdi
cmpl $0x2f, %esi
jne 0x2e386
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
testl %edx, %edx
je 0x2e386
incq %rdi
cmpl $0xa, %edx
jne 0x2e3c9
jmp 0x2e386
testl %esi, %esi
je 0x2e479
movb %sil, (%rcx)
incq %rdx
incq %rcx
movq %rdx, %rdi
jmp 0x2e386
movb %sil, (%rcx)
incq %rcx
movb 0x1(%rdx), %sil
incq %rdx
movq %rdx, %rdi
testb %sil, %sil
je 0x2e386
movq %rdx, %rdi
movb %sil, (%rcx)
movzbl (%rdi), %edx
cmpl $0x5c, %edx
je 0x2e41a
cmpl $0x22, %edx
jne 0x2e42b
jmp 0x2e462
movb 0x1(%rdi), %dl
cmpb $0x22, %dl
jne 0x2e42b
incq %rdi
movb %dl, 0x1(%rcx)
incq %rcx
incq %rcx
movb 0x1(%rdi), %sil
incq %rdi
testb %sil, %sil
jne 0x2e408
jmp 0x2e386
addq $0x2, %rdx
movq %rdx, %rdi
movzbl (%rdi), %edx
cmpl $0x2a, %edx
je 0x2e457
testl %edx, %edx
jne 0x2e45d
jmp 0x2e386
cmpb $0x2f, 0x1(%rdi)
je 0x2e470
incq %rdi
jmp 0x2e446
movb $0x22, (%rcx)
incq %rdi
incq %rcx
jmp 0x2e386
addq $0x2, %rdi
jmp 0x2e386
movb $0x0, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O1/agorenst[P]trie/./prefixtree.h
// Function: void prefix_tree<int>::node::insert<std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>>(std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>, std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>>)
void insert(Iter b, Iter e) {
            if (b == e) { return; } // we are the end of this input
    
            auto symb = *b++; // we advance b, having read from it.
            // we need to make a new child!
            if (edges.find(symb) == edges.end()) {
                edges[symb] = std::make_shared<node>();
            }
    
            // recursive call.
            edges[symb]->insert(b, e);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq (%rsi), %rax
cmpq (%rdx), %rax
je 0x2a15
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
leaq -0x4(%rax), %rcx
movq %rcx, (%rsi)
movl -0x4(%rax), %ecx
movl %ecx, -0x24(%rbp)
movq 0x10(%rdi), %rsi
leaq 0x8(%rdi), %rax
movq %rax, %rdx
testq %rsi, %rsi
je 0x295a
movq %rax, %rdx
xorl %edi, %edi
cmpl %ecx, 0x20(%rsi)
setl %dil
cmovgeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x2943
movq %rax, %rsi
cmpq %rax, %rdx
je 0x296c
cmpl 0x20(%rdx), %ecx
cmovlq %rax, %rdx
movq %rdx, %rsi
cmpq %rax, %rsi
jne 0x29ed
movl $0x40, %edi
callq 0x2110
movq %rax, %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r12)
leaq 0x236c(%rip), %rax      # 0x4d00
movq %rax, (%r12)
leaq 0x18(%r12), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r12)
movups %xmm0, 0x30(%r12)
movups %xmm0, 0x10(%r12)
movq %rax, 0x28(%r12)
movq %rax, 0x30(%r12)
movq $0x0, 0x38(%r12)
leaq -0x24(%rbp), %rsi
movq %r15, %rdi
callq 0x2a36
movq %r12, %rcx
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x8(%rax), %rdi
movq %r12, 0x8(%rax)
testq %rdi, %rdi
je 0x29ed
callq 0x2634
leaq -0x24(%rbp), %rsi
movq %r15, %rdi
callq 0x2a36
movq (%rax), %rdi
movq (%r14), %rax
leaq -0x38(%rbp), %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
leaq -0x30(%rbp), %rdx
movq %rax, (%rdx)
callq 0x28fc
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r12, %rdi
callq 0x2634
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/agorenst[P]trie/./prefixtree.h
// Function: prefix_tree<int>::node::tikz_print(std::ostream&)
void tikz_print(std::ostream& o) {
            o << "node[circle, draw]{}" << std::endl;
            for (auto it = edges.begin(); it != edges.end(); ++it) {
                o << "child {" << std::endl;
                it->second->tikz_print(o);
                o << "edge from parent node[left]{" << it->first << "}" << std::endl;
                o << "}" << std::endl;
            }
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x42d(%rip), %rsi       # 0x3102
movl $0x14, %edx
movq %rbx, %rdi
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq 0x18(%r14), %r15
addq $0x8, %r14
cmpq %r14, %r15
je 0x2e0e
leaq 0x3c1(%rip), %r12       # 0x30e2
movl $0x7, %edx
movq %rbx, %rdi
leaq 0x3e7(%rip), %rsi       # 0x3117
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq 0x28(%r15), %rdi
movq %rbx, %rsi
callq 0x2cba
movl $0x1c, %edx
movq %rbx, %rdi
leaq 0x3a8(%rip), %rsi       # 0x311f
callq 0x2130
movl 0x20(%r15), %esi
movq %rbx, %rdi
callq 0x21b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x2130
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %r13, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2130
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq %r15, %rdi
callq 0x20c0
movq %rax, %r15
cmpq %r14, %rax
jne 0x2d21
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: Vector::operator()(int) const
const double& Vector::operator()(int i) const
{

  if (i < 1)
    {
      throw Exception("out of range",
		  "accessing vector through () - index too small");
    }
  else if (i > mSize)
    {
      throw Exception("length mismatch",
		  "accessing vector through () - index too high");
    }


  return mData[i-1];

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
testl %esi, %esi
jle 0x31f3
cmpl %esi, 0x8(%rdi)
jl 0x3272
movq (%rdi), %rax
movl %esi, %ecx
leaq (%rax,%rcx,8), %rax
addq $-0x8, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8fcd(%rip), %rsi      # 0xc1dd
leaq 0x8fd2(%rip), %rdx      # 0xc1e9
leaq 0x60(%rsp), %rdi
callq 0x3c6e
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8fb8(%rip), %rsi      # 0xc1ea
leaq 0x8fde(%rip), %rdx      # 0xc217
leaq 0x40(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xcb37(%rip), %rsi      # 0xfd98
leaq 0x9dc(%rip), %rdx       # 0x3c44
movq %rbx, %rdi
callq 0x2190
jmp 0x32eb
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8ea5(%rip), %rsi      # 0xc134
leaq 0x8ead(%rip), %rdx      # 0xc143
leaq 0x20(%rsp), %rdi
callq 0x3c6e
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8f67(%rip), %rsi      # 0xc218
leaq 0x8f8c(%rip), %rdx      # 0xc244
movq %rsp, %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xcabc(%rip), %rsi      # 0xfd98
leaq 0x961(%rip), %rdx       # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3304
callq 0x2110
jmp 0x3304
movq %rax, %r14
movb $0x1, %bpl
movq 0x20(%rsp), %rdi
jmp 0x332a
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x3325
callq 0x2110
jmp 0x3325
movq %rax, %r14
movb $0x1, %bpl
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x333e
callq 0x2110
jmp 0x333e
jmp 0x3338
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x334b
movq %rbx, %rdi
callq 0x20c0
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: linspace(double, double, int)
Vector linspace(double start, double end, int points)
{
  Vector out(points);
  double len = end - start;
  double interval = (len*1.0)/(points-1);
  out(1) = start;
  out(points) = end;
  for (int i=2;i<points;i++)
  {
      out(i) = start + ((i-1)*interval);
  }
  return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
movq %rdi, %r15
movslq %esi, %r12
leaq (,%r12,8), %rax
testl %r12d, %r12d
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x2030
movq %rax, %r14
movq %rax, (%r15)
movl %r12d, 0x8(%r15)
testl %r12d, %r12d
jle 0x3568
movl %ebx, %edx
shlq $0x3, %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x2090
movq %r15, %rdi
movl $0x1, %esi
callq 0x31ba
movsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %r15, %rdi
movl %ebx, %esi
callq 0x31ba
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpl $0x3, %ebx
jl 0x35ed
movsd 0x8(%rsp), %xmm1
subsd 0x10(%rsp), %xmm1
leal -0x1(%rbx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movl $0x2, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x31ba
leal -0x1(%r12), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
mulsd 0x8(%rsp), %xmm0
addsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
incl %r12d
cmpl %ebx, %r12d
jne 0x35be
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x35fe
movq %rax, %rbx
movq %r14, %rdi
callq 0x2130
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: reshape(Vector&, int, int)
Matrix reshape(Vector& u, int rows, int cols)
{
  if (length(u) != rows*cols)
	{
		  throw Exception("dimension mismatch",
			  "number of elements in vector not equal to entries in output matrix");
	}

  Matrix out(rows,cols);
  int count =1;
  for (int j = 1;j<=cols;j++)
  {
    for (int i = 1; i<=rows; i++)
    {
        out(i,j) = u(count);
        count++;
    }
  }
  return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %eax
imull %edx, %eax
cmpl %eax, 0x8(%rsi)
jne 0x36bd
movl %ecx, %r13d
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movl %edx, %esi
movl %ecx, %edx
callq 0x3df8
testl %r13d, %r13d
jle 0x36ab
movl $0x1, %r12d
movl $0x1, %ebp
movl %r13d, 0xc(%rsp)
testl %r14d, %r14d
jle 0x369e
xorl %r13d, %r13d
leal (%rbp,%r13), %esi
movq %r15, %rdi
callq 0x31ba
incl %r13d
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rbx, %rdi
movl %r13d, %esi
movl %r12d, %edx
callq 0x66da
movsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpl %r13d, %r14d
jne 0x365f
addl %r13d, %ebp
movl 0xc(%rsp), %r13d
leal 0x1(%r12), %eax
cmpl %r13d, %r12d
movl %eax, %r12d
jne 0x3657
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8b6e(%rip), %rsi      # 0xc248
leaq 0x8b79(%rip), %rdx      # 0xc25a
leaq 0x38(%rsp), %rdi
callq 0x3c6e
leaq 0x28(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8b5f(%rip), %rsi      # 0xc25b
leaq 0x8b9a(%rip), %rdx      # 0xc29d
leaq 0x18(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xc66d(%rip), %rsi      # 0xfd98
leaq 0x512(%rip), %rdx       # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x3754
callq 0x2110
jmp 0x3754
movq %rax, %r14
movb $0x1, %bpl
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x376b
callq 0x2110
jmp 0x376b
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3785
movq %rbx, %rdi
callq 0x20c0
jmp 0x3785
movq %rax, %r14
movq %rbx, %rdi
callq 0x4016
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: ones(int)
Vector ones(int length)
{
    Vector out(length);
    for (int i = 1; i<=length;i++)
    {
      out(i) = 1;
    }
    return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movslq %esi, %r12
leaq (,%r12,8), %rax
testl %r12d, %r12d
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x2030
movq %rax, %r15
movq %rax, (%rbx)
movl %r12d, 0x8(%rbx)
testl %r12d, %r12d
jle 0x37da
movl %r14d, %edx
shlq $0x3, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x2090
testl %r14d, %r14d
jle 0x3813
negl %r14d
movl $0x1, %r12d
movabsq $0x3ff0000000000000, %r13 # imm = 0x3FF0000000000000
movq %rbx, %rdi
movl %r12d, %esi
callq 0x31ba
movq %r13, (%rax)
leal (%r14,%r12), %eax
incl %eax
movl %r12d, %ecx
incl %ecx
movl %ecx, %r12d
cmpl $0x1, %eax
jne 0x37f2
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x2130
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: Vector::getValues(int, int) const
Vector Vector::getValues(int i,int j) const
{
	int l = j-i+1;
	Vector splice(l);
	for (int k = 1; k<=l; k++)
	{
		splice.mData[k-1] = mData[k-1];
	}
	return splice;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rsi, %r12
movq %rdi, %r14
subl %edx, %ebx
leal 0x1(%rbx), %ebp
movslq %ebx, %r13
cmpl $-0x1, %r13d
leaq 0x8(,%r13,8), %rax
movq $-0x1, %rdi
cmovgeq %rax, %rdi
callq 0x2030
movq %rax, %r15
movq %rax, (%r14)
movl %ebp, 0x8(%r14)
testl %r13d, %r13d
js 0x388a
movl %ebp, %edx
shlq $0x3, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x2090
testl %ebx, %ebx
js 0x38ad
movq (%r12), %rax
addl $0x2, %ebx
decq %rbx
xorl %ecx, %ecx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%r15,%rcx,8)
incq %rcx
cmpq %rcx, %rbx
jne 0x389a
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: Vector::setValues(int, int, Vector) const
void Vector::setValues(int istart, int iend, Vector v) const
{
	if (istart < 1 || iend < 1)
		{
		  throw Exception("out of range",
			  "accessing vector through () - index too small");
		}
	else if (iend > mSize || istart > mSize)
		{
		  throw Exception("length mismatch",
			  "accessing vector through () - index too high");
		}

		int l = iend - istart + 1;
		for (int i = 0; i<l; i++)
		{
			mData[istart -1 + i] = v(i+1);
		}


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
testl %esi, %esi
jle 0x3942
movl %edx, %r14d
testl %edx, %edx
jle 0x3942
movq %rdi, %r15
movl 0x8(%rdi), %eax
cmpl %r14d, %eax
jl 0x39c1
cmpl %esi, %eax
jl 0x39c1
subl %esi, %r14d
jl 0x3930
movq %rcx, %rbx
incl %r14d
movl %esi, %eax
leaq -0x8(,%rax,8), %r13
xorl %ebp, %ebp
leaq 0x1(%rbp), %r12
movq %rbx, %rdi
movl %r12d, %esi
callq 0x31ba
movsd (%rax), %xmm0
movq (%r15), %rax
addq %r13, %rax
movsd %xmm0, (%rax,%rbp,8)
movq %r12, %rbp
cmpq %r12, %r14
jne 0x390a
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x887e(%rip), %rsi      # 0xc1dd
leaq 0x8883(%rip), %rdx      # 0xc1e9
leaq 0x68(%rsp), %rdi
callq 0x3c6e
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8869(%rip), %rsi      # 0xc1ea
leaq 0x888f(%rip), %rdx      # 0xc217
leaq 0x48(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xc3e8(%rip), %rsi      # 0xfd98
leaq 0x28d(%rip), %rdx       # 0x3c44
movq %rbx, %rdi
callq 0x2190
jmp 0x3a3e
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8756(%rip), %rsi      # 0xc134
leaq 0x875e(%rip), %rdx      # 0xc143
leaq 0x28(%rsp), %rdi
callq 0x3c6e
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8818(%rip), %rsi      # 0xc218
leaq 0x883d(%rip), %rdx      # 0xc244
leaq 0x8(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xc369(%rip), %rsi      # 0xfd98
leaq 0x20e(%rip), %rdx       # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a58
callq 0x2110
jmp 0x3a58
movq %rax, %r14
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
jmp 0x3a7e
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x3a79
callq 0x2110
jmp 0x3a79
movq %rax, %r14
movb $0x1, %bpl
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a92
callq 0x2110
jmp 0x3a92
jmp 0x3a8c
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3a9f
movq %rbx, %rdi
callq 0x20c0
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Vector.cpp
// Function: Vector::setValue(int, int) const
void Vector::setValue(int loc, int set) const
{
	if (loc < 1)
		{
		  throw Exception("out of range",
			  "accessing vector through () - index too small");
		}
	else if (loc > mSize)
		{
		  throw Exception("length mismatch",
			  "accessing vector through () - index too high");
		}

			mData[loc-1] = set;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
testl %esi, %esi
jle 0x3ae3
cmpl %esi, 0x8(%rdi)
jl 0x3b62
cvtsi2sd %edx, %xmm0
movq (%rdi), %rax
movl %esi, %ecx
movsd %xmm0, -0x8(%rax,%rcx,8)
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x86dd(%rip), %rsi      # 0xc1dd
leaq 0x86e2(%rip), %rdx      # 0xc1e9
leaq 0x60(%rsp), %rdi
callq 0x3c6e
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x86c8(%rip), %rsi      # 0xc1ea
leaq 0x86ee(%rip), %rdx      # 0xc217
leaq 0x40(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xc247(%rip), %rsi      # 0xfd98
leaq 0xec(%rip), %rdx        # 0x3c44
movq %rbx, %rdi
callq 0x2190
jmp 0x3bdb
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x85b5(%rip), %rsi      # 0xc134
leaq 0x85bd(%rip), %rdx      # 0xc143
leaq 0x20(%rsp), %rdi
callq 0x3c6e
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8677(%rip), %rsi      # 0xc218
leaq 0x869c(%rip), %rdx      # 0xc244
movq %rsp, %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xc1cc(%rip), %rsi      # 0xfd98
leaq 0x71(%rip), %rdx        # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x3bf4
callq 0x2110
jmp 0x3bf4
movq %rax, %r14
movb $0x1, %bpl
movq 0x20(%rsp), %rdi
jmp 0x3c1a
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x3c15
callq 0x2110
jmp 0x3c15
movq %rax, %r14
movb $0x1, %bpl
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x3c2e
callq 0x2110
jmp 0x3c2e
jmp 0x3c28
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3c3b
movq %rbx, %rdi
callq 0x20c0
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: Matrix::Matrix(int, int)
Matrix::Matrix(int i, int j)
{
	mRows = i;
	mColumns = j;
	mElements = new double*[i];

	for (int k = 0; k<i; k++)
	{
		mElements[k]= new double[j];
		for (int l = 0; l<j; l++)
		{
			mElements[k][l] = 0;
		}
	}
	// std::cout<<"constructor called\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
movl %esi, 0x8(%rdi)
movl %edx, 0xc(%rdi)
movslq %esi, %r15
leaq (,%r15,8), %rdi
testl %r15d, %r15d
movq $-0x1, %r12
cmovsq %r12, %rdi
callq 0x2030
movq %rax, (%r14)
testl %r15d, %r15d
jle 0x3e7b
movslq %ebx, %r15
shlq $0x3, %r15
testl %ebx, %ebx
cmovsq %r12, %r15
movl %ebx, %r12d
shlq $0x3, %r12
movl %ebp, %r13d
xorl %ebp, %ebp
movq %r15, %rdi
callq 0x2030
movq (%r14), %rcx
movq %rax, (%rcx,%rbp,8)
testl %ebx, %ebx
jle 0x3e73
movq (%r14), %rax
movq (%rax,%rbp,8), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x2090
incq %rbp
cmpq %rbp, %r13
jne 0x3e4f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: Matrix::Matrix(int, int, std::initializer_list<double>)
Matrix::Matrix(int i, int j, std::initializer_list<double> entries)
{

	mRows = i;
	mColumns = j;
	mElements = new double*[i];
	int count = 0;
	int len = entries.size();
	for (int k = 0; k<i; k++)
	{
		mElements[k]= new double[j];
		for (int l = 0; l<j; l++)
		{
			if (count<len){ mElements[k][l] = entries.begin()[count];}
			else {mElements[k][l] = 0.0;}
			count+=1;
		}
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rcx, 0x8(%rsp)
movl %esi, %r13d
movq %rdi, %r14
movl %esi, 0x8(%rdi)
movl %edx, 0x4(%rsp)
movl %edx, 0xc(%rdi)
movslq %esi, %r15
leaq (,%r15,8), %rdi
testl %r15d, %r15d
movq $-0x1, %rbx
cmovsq %rbx, %rdi
callq 0x2030
movq %rax, (%r14)
testl %r15d, %r15d
jle 0x3f4f
movl 0x4(%rsp), %eax
movslq %eax, %r15
shlq $0x3, %r15
testl %eax, %eax
cmovsq %rbx, %r15
movslq %r12d, %r12
movl %r13d, %ecx
movq %rcx, 0x10(%rsp)
movl %eax, %ebx
xorl %ebp, %ebp
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x2030
movq (%r14), %rcx
movq %rax, (%rcx,%rbp,8)
cmpl $0x0, 0x4(%rsp)
jle 0x3f45
movq (%r14), %rcx
movslq %r13d, %rax
movq (%rcx,%rbp,8), %rdx
movq 0x8(%rsp), %rcx
leaq (%rcx,%rax,8), %rsi
xorl %ecx, %ecx
leaq (%rax,%rcx), %rdi
xorps %xmm0, %xmm0
cmpq %r12, %rdi
jge 0x3f35
movsd (%rsi,%rcx,8), %xmm0
movsd %xmm0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %rbx
jne 0x3f24
addl %ecx, %r13d
incq %rbp
cmpq 0x10(%rsp), %rbp
jne 0x3ef9
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: Matrix::Matrix(Matrix const&)
Matrix::Matrix(const Matrix& original)
{
  mRows = original.mRows;
  mColumns = original.mColumns;
  mElements= new double*[mRows];
  for (int k = 0; k<mRows; k++)
  {
	  mElements[k]= new double[mColumns];
  }
  for (int k = 0; k<mRows; k++)
  {
	  for (int l = 0; l<mColumns; l++)
	  {
		  mElements[k][l] = original.mElements[k][l];
	  }
  }
	// std::cout<<"copy constructor called\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movslq 0x8(%rsi), %r12
leaq (,%r12,8), %rdi
testq %r12, %r12
movl %r12d, 0x8(%rbx)
movslq 0xc(%rsi), %r13
movl %r13d, 0xc(%rbx)
movq $-0x1, %rbp
cmovsq %rbp, %rdi
callq 0x2030
movq %rax, (%rbx)
testq %r12, %r12
jle 0x3fca
leaq (,%r13,8), %r15
testl %r13d, %r13d
cmovsq %rbp, %r15
xorl %ebp, %ebp
movq %r15, %rdi
callq 0x2030
movq (%rbx), %rcx
movq %rax, (%rcx,%rbp,8)
incq %rbp
cmpq %rbp, %r12
jne 0x3fb3
testl %r12d, %r12d
jle 0x4006
movq (%r14), %rax
movq (%rbx), %rcx
movl %r13d, %edx
xorl %esi, %esi
testl %r13d, %r13d
jle 0x3ffe
movq (%rax,%rsi,8), %rdi
movq (%rcx,%rsi,8), %r8
xorl %r9d, %r9d
movsd (%rdi,%r9,8), %xmm0
movsd %xmm0, (%r8,%r9,8)
incq %r9
cmpq %r9, %rdx
jne 0x3fea
incq %rsi
cmpq %r12, %rsi
jne 0x3fda
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator<<(std::ostream&, Matrix const&)
std::ostream& operator<<(std::ostream& output, const Matrix& A)
{
	for (int i=0; i<A.mRows; i++)
	{
		output << "[ ";
		for (int j = 0; j<A.mColumns; j++)
			{
				output <<  A.mElements[i][j];
				if (j != A.mColumns-1)
					output  << "  ";
				else
					output  << " ]";
			}
		output << "\n";
	}
	  return output;  // for multiple << operators.
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x8(%rsi)
jle 0x4122
movq %rsi, %r14
xorl %r13d, %r13d
leaq 0x828f(%rip), %rbp      # 0xc32e
leaq 0x8285(%rip), %r15      # 0xc32b
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x8273(%rip), %rsi      # 0xc328
callq 0x2120
cmpl $0x0, 0xc(%r14)
jle 0x4102
xorl %r12d, %r12d
movq (%r14), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x2170
movl 0xc(%r14), %eax
decl %eax
cmpq %rax, %r12
movq %r15, %rsi
cmoveq %rbp, %rsi
movl $0x2, %edx
movq %rbx, %rdi
callq 0x2120
incq %r12
movslq 0xc(%r14), %rax
cmpq %rax, %r12
jl 0x40c4
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x81e3(%rip), %rsi      # 0xc2f4
callq 0x2120
incq %r13
movslq 0x8(%r14), %rax
cmpq %rax, %r13
jl 0x40a6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator*(double, Matrix const&)
Matrix operator*(double c, const Matrix& A)
{
	Matrix ans(A.mRows, A.mColumns);
	for (int i=0; i<A.mRows; i++)
	{
		for (int j=0; j< A.mColumns; j++)
		{
			ans.mElements[i][j] = c * A.mElements[i][j];
		}
	}
	return ans;

}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movsd %xmm0, (%rsp)
movq %rdi, %rbx
movl 0x8(%rsi), %esi
movl 0xc(%r14), %edx
callq 0x3df8
movsd (%rsp), %xmm1
movslq 0x8(%r14), %rax
testq %rax, %rax
jle 0x4ed5
movl 0xc(%r14), %ecx
movq (%r14), %rdx
movq (%rbx), %rsi
xorl %edi, %edi
testl %ecx, %ecx
jle 0x4ecd
movq (%rdx,%rdi,8), %r8
movq (%rsi,%rdi,8), %r9
xorl %r10d, %r10d
movsd (%r8,%r10,8), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%r9,%r10,8)
incq %r10
cmpq %r10, %rcx
jne 0x4eb5
incq %rdi
cmpq %rax, %rdi
jne 0x4ea6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator*(Matrix const&, Vector const&)
Vector operator*(const Matrix& A, const Vector& v)
{
	if (A.mColumns!=length(v)) { throw Exception("Dimensions mismatch",
			  "cannot perform matrix-vector multiplication");}
	Vector ans(A.mRows);
	for (int i= 0;i<A.mRows;i++)
		{
			for (int j = 0; j<A.mColumns; j++)
			{
				ans(i+1) += A(i+1,j+1)*v(j+1);
			}
		}
	return ans;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0xc(%rsi), %ebp
movq %rdx, %rdi
callq 0x3485
cmpl %eax, %ebp
jne 0x511b
movl 0x8(%r15), %esi
movq %rbx, %rdi
callq 0x28c8
cmpl $0x0, 0x8(%r15)
jle 0x5109
xorl %r13d, %r13d
cmpl $0x0, 0xc(%r15)
jle 0x5100
leal 0x1(%r13), %ebp
xorl %r12d, %r12d
incl %r12d
movq %r15, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x51ec
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r14, %rdi
movl %r12d, %esi
callq 0x31ba
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x3354
movsd 0x10(%rsp), %xmm0
mulsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
cmpl 0xc(%r15), %r12d
jl 0x50ad
incl %r13d
cmpl 0x8(%r15), %r13d
jl 0x509f
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x732e(%rip), %rsi      # 0xc466
leaq 0x733a(%rip), %rdx      # 0xc479
leaq 0x38(%rsp), %rdi
callq 0x3c6e
leaq 0x28(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7345(%rip), %rsi      # 0xc49f
leaq 0x7369(%rip), %rdx      # 0xc4ca
leaq 0x18(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xac0f(%rip), %rsi      # 0xfd98
leaq -0x154c(%rip), %rdx     # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x51b2
callq 0x2110
jmp 0x51b2
movq %rax, %r14
movb $0x1, %bpl
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x51c9
callq 0x2110
jmp 0x51c9
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x51e3
movq %rbx, %rdi
callq 0x20c0
jmp 0x51e3
movq %rax, %r14
movq %rbx, %rdi
callq 0x2970
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: Matrix::operator()(int, int) const
const double& Matrix::operator()(int i, int j) const // 'const' because then can be used in the body of other functions which take const arguments
{

  if (i < 1 || j < 1)
    {
      throw Exception("out of range",
		  "accessing vector through () - index too small");
    }
  else if (i > mRows || j > mColumns)
    {
      throw Exception("length mismatch",
		  "accessing vector through () - index too high");
    }

  return mElements[i-1][j-1];

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
testl %esi, %esi
jle 0x5239
testl %edx, %edx
jle 0x5239
cmpl %esi, 0x8(%rdi)
jl 0x52b8
cmpl %edx, 0xc(%rdi)
jl 0x52b8
movq (%rdi), %rax
movl %esi, %ecx
movq -0x8(%rax,%rcx,8), %rax
movl %edx, %ecx
leaq (%rax,%rcx,8), %rax
addq $-0x8, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x70(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6f87(%rip), %rsi      # 0xc1dd
leaq 0x6f8c(%rip), %rdx      # 0xc1e9
leaq 0x60(%rsp), %rdi
callq 0x3c6e
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x6f72(%rip), %rsi      # 0xc1ea
leaq 0x6f98(%rip), %rdx      # 0xc217
leaq 0x40(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xaaf1(%rip), %rsi      # 0xfd98
leaq -0x166a(%rip), %rdx     # 0x3c44
movq %rbx, %rdi
callq 0x2190
jmp 0x5331
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6e5f(%rip), %rsi      # 0xc134
leaq 0x6e67(%rip), %rdx      # 0xc143
leaq 0x20(%rsp), %rdi
callq 0x3c6e
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x6f21(%rip), %rsi      # 0xc218
leaq 0x6f46(%rip), %rdx      # 0xc244
movq %rsp, %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xaa76(%rip), %rsi      # 0xfd98
leaq -0x16e5(%rip), %rdx     # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x534a
callq 0x2110
jmp 0x534a
movq %rax, %r14
movb $0x1, %bpl
movq 0x20(%rsp), %rdi
jmp 0x5370
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x536b
callq 0x2110
jmp 0x536b
movq %rax, %r14
movb $0x1, %bpl
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x5384
callq 0x2110
jmp 0x5384
jmp 0x537e
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x5391
movq %rbx, %rdi
callq 0x20c0
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator*(Vector const&, Matrix const&)
Vector operator*(const Vector& v, const Matrix& A)
{
	if (A.mRows!=length(v)) { throw Exception("Dimensions mismatch",
			  "cannot perform vector-matrix multiplication");}
	Vector ans(A.mColumns);
	for (int i= 0;i<A.mColumns;i++)
		{
			for (int j = 0; j<A.mRows; j++)
			{
				ans(i+1) += A(i+1,j+1)*v(j+1);
			}
		}
	return ans;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x8(%rdx), %ebp
movq %rsi, %rdi
callq 0x3485
cmpl %eax, %ebp
jne 0x5455
movl 0xc(%r14), %esi
movq %rbx, %rdi
callq 0x28c8
cmpl $0x0, 0xc(%r14)
jle 0x5443
xorl %r13d, %r13d
cmpl $0x0, 0x8(%r14)
jle 0x543a
leal 0x1(%r13), %ebp
xorl %r12d, %r12d
incl %r12d
movq %r14, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x51ec
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movl %r12d, %esi
callq 0x31ba
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x3354
movsd 0x10(%rsp), %xmm0
mulsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
cmpl 0x8(%r14), %r12d
jl 0x53e7
incl %r13d
cmpl 0xc(%r14), %r13d
jl 0x53d9
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %rbx
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6ff4(%rip), %rsi      # 0xc466
leaq 0x7000(%rip), %rdx      # 0xc479
leaq 0x38(%rsp), %rdi
callq 0x3c6e
leaq 0x28(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x7037(%rip), %rsi      # 0xc4cb
leaq 0x705b(%rip), %rdx      # 0xc4f6
leaq 0x18(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0xa8d5(%rip), %rsi      # 0xfd98
leaq -0x1886(%rip), %rdx     # 0x3c44
movq %rbx, %rdi
callq 0x2190
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x54ec
callq 0x2110
jmp 0x54ec
movq %rax, %r14
movb $0x1, %bpl
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x5503
callq 0x2110
jmp 0x5503
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x551d
movq %rbx, %rdi
callq 0x20c0
jmp 0x551d
movq %rax, %r14
movq %rbx, %rdi
callq 0x2970
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator/(Matrix const&, Vector const&)
Vector operator/(const Matrix& A, const Vector& b)
{
	boost::tuple<Matrix, Matrix, Matrix> LUP = LU(A);
	Matrix L = LUP.get<0>();
	Matrix U = LUP.get<1>();
	Matrix P = LUP.get<2>();
	Vector newb = P*b;
	Vector y = forwardsubst(L,newb);
	Vector x = backsubst(U,y);
	return x;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r12
movq %rdi, %rbx
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x566f
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x3f5e
leaq 0x68(%rsp), %r14
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x3f5e
leaq 0x78(%rsp), %r15
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x3f5e
leaq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movq %r12, %rdx
callq 0x505f
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x5f95
leaq 0x38(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x61eb
leaq 0x8(%rsp), %rdi
callq 0x2970
leaq 0x18(%rsp), %rdi
callq 0x2970
leaq 0x28(%rsp), %rdi
callq 0x4016
leaq 0x38(%rsp), %rdi
callq 0x4016
leaq 0x48(%rsp), %rdi
callq 0x4016
movq %r15, %rdi
callq 0x4016
movq %r14, %rdi
callq 0x4016
leaq 0x58(%rsp), %rdi
callq 0x4016
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2970
jmp 0x5621
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2970
jmp 0x5630
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x4016
jmp 0x563f
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x4016
jmp 0x564e
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4016
leaq 0x58(%rsp), %rdi
callq 0xb0fe
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rbx
jmp 0x5658
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: forwardsubst(Matrix const&, Vector const&)
Vector forwardsubst(const Matrix& A, const Vector& b)
{
	int n = length(b);
	Vector x(n);
	for (int i=1;i<=n;i++)
	{
		if (A(i,i)==0)
		{
			throw Exception("Singular Matrix",
									  "no solution to equation as coefficient matrix is singular");
		}
		x(i) = b(i);
		for (int j = 1; j<=(i-1); j++)
		{
			x(i) = x(i) - A(i,j)*x(j);
		}
		x(i) = x(i)/A(i,i);
	}
	return x;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, 0x18(%rsp)
movq %rdx, %rdi
callq 0x3485
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x28c8
testl %ebp, %ebp
jle 0x6107
movl $0x1, %r12d
xorl %r14d, %r14d
movq %r15, %rdi
movl %r12d, %esi
movl %r12d, %edx
callq 0x51ec
movsd (%rax), %xmm0
ucomisd 0x630b(%rip), %xmm0     # 0xc2f8
jne 0x5ff5
jnp 0x6119
movq 0x18(%rsp), %rdi
movl %r12d, %esi
callq 0x31ba
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3354
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpl $0x2, %r12d
jb 0x60ab
movl $0x1, %r13d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3354
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0x51ec
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rbx, %rdi
movl %r13d, %esi
callq 0x3354
movsd (%rax), %xmm0
movsd %xmm0, 0x20(%rsp)
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3354
movsd 0x10(%rsp), %xmm1
mulsd 0x20(%rsp), %xmm1
movsd 0x8(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax)
leal (%r14,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $0x1, %eax
jne 0x6031
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3354
movsd (%rax), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r15, %rdi
movl %r12d, %esi
movl %r12d, %edx
callq 0x51ec
movsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3354
movsd 0x8(%rsp), %xmm0
divsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
leal 0x1(%r12), %eax
decl %r14d
cmpl %ebp, %r12d
movl %eax, %r12d
jne 0x5fd3
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x40, %edi
callq 0x2070
movq %rax, %r14
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x642d(%rip), %rsi      # 0xc564
leaq 0x6435(%rip), %rdx      # 0xc573
leaq 0x48(%rsp), %rdi
callq 0x3c6e
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x641c(%rip), %rsi      # 0xc574
leaq 0x644e(%rip), %rdx      # 0xc5ad
leaq 0x28(%rsp), %rdi
callq 0x3c6e
movb $0x1, %bpl
leaq 0x48(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r14, %rdi
callq 0x3d00
xorl %ebp, %ebp
leaq 0x9c11(%rip), %rsi      # 0xfd98
leaq -0x254a(%rip), %rdx     # 0x3c44
movq %r14, %rdi
callq 0x2190
movq %rax, %r15
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x61b0
callq 0x2110
jmp 0x61b0
movq %rax, %r15
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x61c7
callq 0x2110
jmp 0x61c7
movq %rax, %r15
movb $0x1, %bpl
testb %bpl, %bpl
je 0x61db
movq %r14, %rdi
callq 0x20c0
jmp 0x61db
jmp 0x61d8
movq %rax, %r15
movq %rbx, %rdi
callq 0x2970
movq %r15, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator!(Matrix const&)
Matrix operator!(const Matrix& A)
{
	Matrix T(A.mColumns, A.mRows);
	for (int i=0;i<A.mRows; i++)
	{
		for (int j=0; j<A.mColumns; j++)
		{
			T(j+1,i+1) = A.mElements[i][j];
		}
	}
	return T;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rsi), %edx
movl 0xc(%rsi), %esi
callq 0x3df8
cmpl $0x0, 0x8(%r14)
jle 0x6757
xorl %r12d, %r12d
cmpl $0x0, 0xc(%r14)
jle 0x674b
leal 0x1(%r12), %ebp
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r15,8), %xmm0
movsd %xmm0, 0x8(%rsp)
incq %r15
movq %rbx, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x51ec
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
movslq 0xc(%r14), %rax
cmpq %rax, %r15
jl 0x6715
incq %r12
movslq 0x8(%r14), %rax
cmpq %rax, %r12
jl 0x6706
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x4016
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: operator-(Matrix const&)
Matrix operator-(const Matrix& A)
{
  Matrix ans(A.mRows, A.mColumns);

  for (int i=0; i<A.mRows; i++)
  {
	  for (int j=0; j< A.mColumns; j++)
	  {
		  ans.mElements[i][j] = -A.mElements[i][j];
	  }
  }
  return ans;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rsi), %esi
movl 0xc(%r14), %edx
callq 0x3df8
movslq 0x8(%r14), %rax
testq %rax, %rax
jle 0x67d9
movl 0xc(%r14), %ecx
movq (%r14), %rdx
movq (%rbx), %rsi
xorl %edi, %edi
movaps 0x5894(%rip), %xmm0     # 0xc040
testl %ecx, %ecx
jle 0x67d1
movq (%rdx,%rdi,8), %r8
movq (%rsi,%rdi,8), %r9
xorl %r10d, %r10d
movsd (%r8,%r10,8), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, (%r9,%r10,8)
incq %r10
cmpq %r10, %rcx
jne 0x67bb
incq %rdi
cmpq %rax, %rdi
jne 0x67ac
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: Matrix::operator=(Matrix const&)
Matrix& Matrix::operator=(const Matrix& A)

{
	assert(EqualDim(*this,A));

	for (int i=0; i<A.mRows; i++)
	{
		for (int j=0; j< A.mColumns; j++)
		{
			mElements[i][j] = A.mElements[i][j];
		}
	}
	return *this;
}

// Assembly:
pushq %rax
movl 0xc(%rsi), %eax
cmpl %eax, 0xc(%rdi)
jne 0x6837
movl 0x8(%rdi), %ecx
cmpl 0x8(%rsi), %ecx
jne 0x6837
movslq 0x8(%rsi), %rcx
testq %rcx, %rcx
jle 0x6832
movq (%rsi), %rdx
movq (%rdi), %rsi
xorl %r8d, %r8d
testl %eax, %eax
jle 0x682a
movq (%rdx,%r8,8), %r9
movq (%rsi,%r8,8), %r10
xorl %r11d, %r11d
movsd (%r9,%r11,8), %xmm0
movsd %xmm0, (%r10,%r11,8)
incq %r11
cmpq %r11, %rax
jne 0x6816
incq %r8
cmpq %rcx, %r8
jne 0x6807
movq %rdi, %rax
popq %rcx
retq
leaq 0x5cb9(%rip), %rdi      # 0xc4f7
leaq 0x5bb4(%rip), %rsi      # 0xc3f9
leaq 0x5cbd(%rip), %rcx      # 0xc509
movl $0x1ce, %edx            # imm = 0x1CE
callq 0x20a0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: outer(Vector, Vector)
Matrix outer(Vector u, Vector v)
{
	int l1 = length(u); int l2 =length(v);
	Matrix ans(l1, l2);
	for (int i=0;i<l1;i++)
	{
		for(int j=0;j<l2;j++)
		{
			ans.mElements[i][j] = u(i+1)*v(j+1);
		}
	}
	return ans;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq %rsi, 0x28(%rsp)
movq %rsi, %rdi
callq 0x3485
movl %eax, %r12d
movq %r14, 0x20(%rsp)
movq %r14, %rdi
callq 0x3485
movq %rbx, 0x10(%rsp)
movq %rbx, %rdi
movl %r12d, %esi
movl %eax, 0xc(%rsp)
movl %eax, %edx
callq 0x3df8
testl %r12d, %r12d
jle 0x69bc
movq 0x10(%rsp), %rax
movq (%rax), %rbx
movl %r12d, %eax
movq %rax, 0x18(%rsp)
movl 0xc(%rsp), %ebp
xorl %r14d, %r14d
cmpl $0x0, 0xc(%rsp)
jle 0x69b2
leal 0x1(%r14), %r12d
xorl %r15d, %r15d
movq 0x28(%rsp), %rdi
movl %r12d, %esi
callq 0x3354
movsd (%rax), %xmm0
movsd %xmm0, 0x30(%rsp)
leaq 0x1(%r15), %r13
movq 0x20(%rsp), %rdi
movl %r13d, %esi
callq 0x3354
movsd 0x30(%rsp), %xmm0
mulsd (%rax), %xmm0
movq (%rbx,%r14,8), %rax
movsd %xmm0, (%rax,%r15,8)
movq %r13, %r15
cmpq %r13, %rbp
jne 0x696e
incq %r14
cmpq 0x18(%rsp), %r14
jne 0x6960
movq 0x10(%rsp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x10(%rsp), %rdi
callq 0x4016
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: eye(int)
Matrix eye(int i)
{
	Matrix I(i,i);
	for (int k=0;k<i;k++)
	{
		I.mElements[k][k] = 1;
	}
	return I;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %edx
callq 0x3df8
testl %ebp, %ebp
jle 0x6d26
movq (%rbx), %rax
movl %ebp, %ecx
xorl %edx, %edx
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
movq (%rax,%rdx,8), %rdi
movq %rsi, (%rdi,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0x6d16
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: diag(Vector const&)
Matrix diag(const Vector& v)
{
	Matrix D(length(v), length(v));
	for (int k=0;k<length(v);k++)
	{
		D.mElements[k][k] = v(k+1);
	}
	return D;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3485
movl %eax, %ebp
movq %r14, %rdi
callq 0x3485
movq %rbx, %rdi
movl %ebp, %esi
movl %eax, %edx
callq 0x3df8
movq (%rbx), %r15
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x3485
cltq
cmpq %rax, %r12
jge 0x6d91
leal 0x1(%r12), %esi
movq %r14, %rdi
callq 0x31ba
movsd (%rax), %xmm0
movq (%r15,%r12,8), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
jmp 0x6d62
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x4016
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: diag(Vector const&, int)
Matrix diag(const Vector& v, int i) // lets you specify which diagonal to put the vector on
{
	int dim = length(v)+abs(i);
	Matrix D(dim, dim);
	if (i==0) {return diag(v);}
	else if (i>0) {
		for (int k=0;k<length(v);k++)
		{
			D.mElements[k][k+i] = v(k+1);
		}
	}
	else if (i<0)	{
		for (int k=0;k<length(v);k++)
		{
			D.mElements[k-i][k] = v(k+1);
		}
	}
	//std::cout<<"This comes form inside 2\n"<<D<<"\n";
	return D;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3485
movl %ebp, %edx
negl %edx
cmovsl %ebp, %edx
addl %eax, %edx
leaq 0x8(%rsp), %rdi
movl %edx, %esi
callq 0x3df8
testl %ebp, %ebp
je 0x6e29
movq 0x8(%rsp), %r15
jle 0x6e36
movl %ebp, %r12d
shlq $0x3, %r12
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x3485
cltq
cmpq %rax, %r13
jge 0x6e72
leal 0x1(%r13), %esi
movq %r14, %rdi
callq 0x31ba
movsd (%rax), %xmm0
movq (%r15,%r13,8), %rax
addq %r12, %rax
movsd %xmm0, (%rax,%r13,8)
incq %r13
jmp 0x6df8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6d30
jmp 0x6e7f
movslq %ebp, %rax
shlq $0x3, %rax
subq %rax, %r15
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x3485
cltq
cmpq %rax, %r12
jge 0x6e72
leal 0x1(%r12), %esi
movq %r14, %rdi
callq 0x31ba
movsd (%rax), %xmm0
movq (%r15,%r12,8), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
jmp 0x6e43
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x3f5e
leaq 0x8(%rsp), %rdi
callq 0x4016
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6e9f
jmp 0x6e9f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4016
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O1/IlanPrice[P]Linear-Algebra-Library-in-Cplusplus/Matrix.cpp
// Function: diag(Matrix const&)
Vector diag(const Matrix& A)
{
	int r =  A.mRows; int c = A.mColumns;
	int l = std::max(r,c);
	Vector diagonal(l);
	for (int i=0;i<l;i++)
	{
		diagonal(i+1) = A.mElements[i][i]; //vectors are also indexed in this notation from 1 not 0, given the overloaded index operator in the Vector class
	}
	return diagonal;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rsi), %eax
movl 0xc(%rsi), %ebp
cmpl %ebp, %eax
cmovgl %eax, %ebp
movl %ebp, %esi
callq 0x28c8
testl %ebp, %ebp
jle 0x6f12
movl %ebp, %r12d
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r15,8), %rax
movsd (%rax,%r15,8), %xmm0
movsd %xmm0, 0x8(%rsp)
incq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0x3354
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpq %r15, %r12
jne 0x6ee2
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2970
movq %r14, %rdi
callq 0x21c0