LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::operator>(efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&) const
bool operator>(const bigIntegers &b) const {
    if (!negative && b.negative) {
      return true;
    }

    if (!negative && !b.negative) {
      if (cell.size() > b.cell.size()) {
        return true;
      }

      if (cell.size() < b.cell.size()) {
        return false;
      }

      for (cellType j = cell.size(); j > 0; j--) {
        const cellType &i = (j - 1);

        if (cell[i] > b.cell[i]) {
          return true;
        }
        if (cell[i] < b.cell[i]) {
          return false;
        }
      }

      return false;
    }

    if (negative && b.negative) {
      if (cell.size() < b.cell.size()) {
        return true;
      }

      if (cell.size() > b.cell.size()) {
        return false;
      }

      for (cellType j = cell.size(); j > 0; j--) {
        const cellType &i = (j - 1);

        if (cell[i] < b.cell[i]) {
          return true;
        }
        if (cell[i] > b.cell[i]) {
          return false;
        }
      }

      return false;
    }

    return false;
  }

// Assembly:
movb (%rsi), %al
cmpb $0x0, (%rdi)
je 0x15cb8
testb %al, %al
je 0x15ce4
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rax
subq %rcx, %rax
sarq $0x2, %rax
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rsi
subq %rdx, %rsi
sarq $0x2, %rsi
cmpq %rsi, %rax
jb 0x15cdf
ja 0x15ce4
movl %eax, %esi
xorl %eax, %eax
subq $0x1, %rsi
jb 0x15ce4
movl (%rcx,%rsi,4), %edi
movl (%rdx,%rsi,4), %r8d
cmpl %r8d, %edi
jb 0x15cdf
cmpl %r8d, %edi
jbe 0x15ca0
retq
testb %al, %al
jne 0x15cdf
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rax
subq %rcx, %rax
sarq $0x2, %rax
movq 0x8(%rsi), %rdx
movq 0x10(%rsi), %rsi
subq %rdx, %rsi
sarq $0x2, %rsi
cmpq %rsi, %rax
jbe 0x15ce2
movb $0x1, %al
retq
jae 0x15ce7
xorl %eax, %eax
retq
movl %eax, %esi
xorl %eax, %eax
subq $0x1, %rsi
jb 0x15ce4
movl (%rcx,%rsi,4), %edi
movl (%rdx,%rsi,4), %r8d
cmpl %r8d, %edi
ja 0x15cdf
cmpl %r8d, %edi
jae 0x15ceb
jmp 0x15cb7
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::doModuloHorner(efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&, unsigned int const&, bool)
void doModuloHorner(const bigIntegers &a, const cellType &b,
                      bool allocate = true) {
    Tu modulus = Tu(b);
    Tu result = Tu(0);
    const Tu factor = (Tu(1) << cellBitCount) % modulus;

    for (cellType i = a.cell.size(); i > 0; i--) {
      result *= factor;
      result %= modulus;
      result += (Tu(a.cell[(i - 1)]) % modulus);
      result %= modulus;
    }

    cell.resize(1);

    cell[0] = result;

    shrink();
  }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdx), %edi
xorl %r14d, %r14d
movabsq $0x100000000, %rax      # imm = 0x100000000
xorl %edx, %edx
divq %rdi
movq %rdx, %rcx
movq 0x8(%rsi), %r8
movq 0x10(%rsi), %rax
subq %r8, %rax
shrq $0x2, %rax
movl %eax, %r9d
subq $0x1, %r9
jb 0x15d81
imulq %rcx, %r14
movq %r14, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rsi
movl (%r8,%r9,4), %eax
xorl %edx, %edx
divl %edi
addq %rdx, %rsi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %r14
jmp 0x15d54
leaq 0x8(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x150d6
movq 0x8(%rbx), %rax
movl %r14d, (%rax)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1580e
nop
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::doModulo(efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&, efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&, bool)
void doModulo(const bigIntegers &a, const bigIntegers &b,
                bool allocate = true) {
    cell.resize(0);

    for (cellType i = a.cell.size(); i > 0; i--) {
      cellType ir = i - 1;
      cellType c = a.cell[ir];

      for (cellType j = cellBitCount; j > 0; j--) {
        cellType jr = j - 1;

        *this <<= 1;

        if (c & (1 << jr)) {
          if (cell.size() == 0) {
            cell.resize(1);
            cell[0] = cellType(1);
          } else {
            cell[0] |= 1;
          }
        }

        if (*this >= b) {
          *this -= b;
        }
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %r12
movq %r12, %rdi
xorl %esi, %esi
callq 0x150d6
movq 0x10(%r14), %rax
movq %r14, 0x8(%rsp)
subq 0x8(%r14), %rax
shrq $0x2, %rax
movl %eax, %ecx
leaq 0x4(%rsp), %r13
subq $0x1, %rcx
jb 0x15e6c
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rsp)
movl (%rax,%rcx,4), %ebp
pushq $0x1f
popq %r14
cmpl $-0x1, %r14d
je 0x15e62
movl $0x1, 0x4(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x85ee
btl %r14d, %ebp
jae 0x15e43
movq 0x8(%r15), %rax
cmpq %rax, 0x10(%r15)
je 0x15e2e
orb $0x1, (%rax)
jmp 0x15e43
movq %r12, %rdi
pushq $0x1
popq %rsi
callq 0x150d6
movq (%r12), %rax
movl $0x1, (%rax)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x15e7b
testb %al, %al
je 0x15e5d
movq %r15, %rdi
movq %rbx, %rsi
callq 0x15eaa
decl %r14d
jmp 0x15e00
movq 0x10(%rsp), %rcx
jmp 0x15de1
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::operator+(efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&) const
bigIntegers operator+(const bigIntegers &b) const {
    if (*this == zero()) {
      return b;
    } else if (b == zero()) {
      return *this;
    }

    bigIntegers r;

    if (negative == b.negative) {
      r.negative = negative;

      r.doAdd(*this, b);
    } else {
      const bigIntegers &p = negative ? -*this : *this;
      const bigIntegers &q = b.negative ? -b : b;

      if (p > q) {
        r.doSubtract(p, q);
        r.negative = negative && (r.cell.size() > 0);
      } else {
        r.doSubtract(q, p);
        r.negative = !negative && (r.cell.size() > 0);
      }
    }

    return r;
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r15
movq %rdi, %rbx
movq 0x10(%rsi), %rax
cmpq 0x8(%rsi), %rax
je 0x15ff0
movq %rsi, %r14
movq 0x10(%r15), %rax
cmpq 0x8(%r15), %rax
je 0x15ff8
movq %rbx, %rdi
callq 0x157f8
movb (%r14), %al
cmpb (%r15), %al
jne 0x16008
movb %al, (%rbx)
pushq $0x1
popq %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x160f2
jmp 0x160ae
movq %rbx, %rdi
movq %r15, %rsi
jmp 0x15ffe
movq %rbx, %rdi
movq %r14, %rsi
callq 0x157d4
jmp 0x160ae
testb %al, %al
je 0x1601b
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x158b6
jmp 0x16028
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x157d4
cmpb $0x1, (%r15)
jne 0x1603b
movq %rsp, %rdi
movq %r15, %rsi
callq 0x158b6
jmp 0x16046
movq %rsp, %rdi
movq %r15, %rsi
callq 0x157d4
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x15c6c
testb %al, %al
je 0x1607d
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x16210
cmpb $0x1, (%r14)
jne 0x16096
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rax
setne %al
jmp 0x16098
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x16210
cmpb $0x0, (%r14)
je 0x16070
xorl %eax, %eax
movb %al, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x127b2
leaq 0x28(%rsp), %rdi
callq 0x127b2
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x127b2
jmp 0x160cd
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x127b2
jmp 0x160de
jmp 0x160db
movq %rax, %r14
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x127b2
movq %r14, %rdi
callq 0x4430
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::doAdd(efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&, efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u> const&, bool)
void doAdd(const bigIntegers &a, const bigIntegers &b, bool allocate = true) {
    /*
    if ((a.cell.size() <= cellsPerLong) && (b.cell.size() <= cellsPerLong))
    {
        *this = bigIntegers(Tu(a) + Tu(b), negative);
        if ((*this >= a) && (*this >= b))
        {
            return;
        }
    }
    */

    bool overflow = false;

    if (allocate) {
      cell.resize((a.cell.size() > b.cell.size()) ? a.cell.size()
                                                  : b.cell.size());
      if (cell.size() == 0) {
        return;
      }
    }

    if (cell.size() == 0) {
      return;
    }

    for (cellType i = 0; i < cell.size(); i++) {
      cellType av = (i < a.cell.size()) ? a.cell[i] : 0;
      cellType bv = (i < b.cell.size()) ? b.cell[i] : 0;

      if (overflow) {
        bv = bv + 1;

        overflow = (bv == 0);
      }

      cell[i] = (overflow ? av : (av + bv));

      overflow = overflow || ((cell[i] < av) || (cell[i] < bv));
    }

    if (overflow)  // overflow in the most significant cell, add extra cell
    {
      cell.push_back(cellType(1));
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testl %ecx, %ecx
je 0x16145
leaq 0x8(%rbx), %rdi
movq 0x10(%r15), %rax
subq 0x8(%r15), %rax
sarq $0x2, %rax
movq 0x10(%r14), %rsi
subq 0x8(%r14), %rsi
sarq $0x2, %rsi
cmpq %rsi, %rax
cmovaq %rax, %rsi
callq 0x150d6
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
cmpq %rax, %rcx
jne 0x1614d
jmp 0x16202
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
je 0x16202
addq $0x8, %rbx
sarq $0x2, %rcx
movq 0x8(%r15), %rdx
movq 0x10(%r15), %rsi
subq %rdx, %rsi
sarq $0x2, %rsi
movq 0x8(%r14), %rdi
movq 0x10(%r14), %r8
subq %rdi, %r8
sarq $0x2, %r8
xorl %r9d, %r9d
xorl %r11d, %r11d
xorl %r10d, %r10d
movl %r11d, %r11d
cmpq %r11, %rcx
jbe 0x161e9
xorl %r14d, %r14d
movl $0x0, %ebp
cmpq %r11, %rsi
jbe 0x1619e
movl (%rdx,%r11,4), %ebp
cmpq %r11, %r8
jbe 0x161a7
movl (%rdi,%r11,4), %r14d
movl %r14d, %r15d
incl %r15d
sete %r12b
testb $0x1, %r10b
jne 0x161ba
movl %r14d, %r15d
andb %r12b, %r10b
testb $0x1, %r10b
movl %r15d, %r14d
cmovnel %r9d, %r14d
addl %ebp, %r14d
setb %bpl
movl %r14d, (%rax,%r11,4)
orb %r10b, %bpl
cmpl %r15d, %r14d
setb %r10b
orb %bpl, %r10b
andb $0x1, %r10b
incl %r11d
jmp 0x16185
testb $0x1, %r10b
je 0x16202
leaq 0xc(%rsp), %rsi
movl $0x1, (%rsi)
movq %rbx, %rdi
callq 0x163bc
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/include/ef.gy/big-integers.h
// Function: efgy::math::numeric::bigIntegers<long long, unsigned long long, unsigned int, 32u>::operator>>(unsigned int const&) const
bigIntegers operator>>(const cellType &b) const {
    if (cell.size() == 0) {
      return *this;
    }

    if (cell.size() <= cellsPerLong) {
      return bigIntegers(toInteger() >> b, false);
    }

    cellType nukeCells = 0;
    cellType q = b;

    while (q > cellBitCount) {
      nukeCells++;
      q -= cellBitCount;
    }

    if (nukeCells >= cell.size()) {
      return bigIntegers();
    }

    bigIntegers r;

    r.cell.resize(cell.size() - nukeCells);

    for (cellType i = 0; i < r.cell.size(); i++) {
      cellType j = i + 1;

      if (j < r.cell.size()) {
        r.cell[i] = ((Tu(cell[(j + nukeCells)]) << cellBitCount) |
                     (Tu(cell[(i + nukeCells)]))) >>
                    q;
      } else {
        r.cell[i] = (cell[(i + nukeCells)] >> q);
      }
    }

    r.shrink();

    return r;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r12
movq 0x10(%rsi), %rbx
movq 0x8(%rsi), %rax
subq %rax, %rbx
je 0x16782
movq %rdx, %r14
sarq $0x2, %rbx
cmpq $0x2, %rbx
ja 0x16795
movq %r15, %rdi
callq 0x15408
movb (%r14), %cl
shrq %cl, %rax
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x1543a
jmp 0x1678d
movq %r12, %rdi
movq %r15, %rsi
callq 0x157d4
movq %r12, %rax
jmp 0x1684f
movl (%r14), %ebp
xorl %eax, %eax
movq %r12, %r14
movl %ebp, %r13d
subl $0x20, %r13d
cmovbl %eax, %r13d
addl $0x1f, %r13d
movl %r13d, %r12d
shrl $0x5, %r12d
movq %r14, %rdi
callq 0x157f8
cmpq %r12, %rbx
jbe 0x1684c
leaq 0x8(%r14), %rdi
movq 0x10(%r15), %rsi
subq 0x8(%r15), %rsi
sarq $0x2, %rsi
subq %r12, %rsi
movq %rdi, (%rsp)
callq 0x150d6
andl $-0x20, %r13d
subl %r13d, %ebp
movq 0x8(%r14), %rdx
movq 0x10(%r14), %rsi
subq %rdx, %rsi
sarq $0x2, %rsi
movq 0x8(%r15), %rdi
movl %ebp, %eax
pushq $0x1
popq %r8
leal -0x1(%r8), %r9d
cmpq %r9, %rsi
jbe 0x16844
movl %r8d, %r10d
movl %r12d, %ecx
cmpq %r10, %rsi
jbe 0x1682f
leal 0x1(%r12), %r10d
movl (%rdi,%r10,4), %r11d
shlq $0x20, %r11
movl (%rdi,%rcx,4), %r10d
orq %r11, %r10
movl %eax, %ecx
shrq %cl, %r10
jmp 0x16838
movl (%rdi,%rcx,4), %r10d
movl %ebp, %ecx
shrl %cl, %r10d
movl %r10d, (%rdx,%r9,4)
incl %r12d
incl %r8d
jmp 0x16800
movq %r14, %rdi
callq 0x1580e
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
callq 0x127b2
movq %rbx, %rdi
callq 0x4430
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void load(std::string filename) {

            const char * cfilename = filename.c_str();
            std::ifstream file(cfilename, std::ios::binary);

            file.seekg(0, file.end);
            int fileSizeInBytes = file.tellg();
            file.seekg(0, file.beg);

            int numberOfSamples = fileSizeInBytes / (sizeof(T) * channels);
            std::cout << sizeof(T) << '\n';
            data_vector.resize(numberOfSamples);

            file.read((char*)&data_vector[0], fileSizeInBytes);
            std::cout << "File loaded." << '\n';
            file.close();
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %rbx
movq (%rsi), %rsi
leaq -0x220(%rbp), %r14
pushq $0x4
popq %rdx
movq %r14, %rdi
callq 0x2260
pushq $0x2
popq %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x21a0
leaq -0x220(%rbp), %rdi
callq 0x2240
movq %rax, %r14
leaq -0x220(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21a0
movslq %r14d, %r14
movslq 0x18(%rbx), %rcx
movq %r14, %rax
xorl %edx, %edx
divq %rcx
movq %rax, %r15
movq 0x73f9(%rip), %rdi      # 0xbfd8
pushq $0x1
popq %rsi
callq 0x20d0
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2150
movslq %r15d, %rsi
movq %rbx, %rdi
callq 0x611a
movq (%rbx), %rsi
leaq -0x220(%rbp), %rdi
movq %r14, %rdx
callq 0x2180
movq 0x73c2(%rip), %rdi      # 0xbfd8
leaq 0x3471(%rip), %rsi      # 0x808e
callq 0x2120
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2150
leaq -0x220(%rbp), %rdi
callq 0x2030
leaq -0x220(%rbp), %rdi
callq 0x2040
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4c59
jmp 0x4c59
jmp 0x4c59
movq %rax, %rbx
leaq -0x220(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::operator+(MRXADA002::Audio<signed char, 1> const&)
Audio<T, N> operator+(const Audio<T, N> & rhs) {
            Audio<T, N> a(*this);
            int m = std::min(a.data_vector.size(), rhs.data_vector.size());
            for (int i = 0; i < m; ++i) {
                int newVal = a.data_vector[i] + rhs.data_vector[i]; //add amplitudes
                if (sizeof(T)==1) {
                    if (newVal > INT8_MAX) {    //clamp value for  8 bit
                        newVal = INT8_MAX;
                    }
                    a.data_vector[i] = newVal;
                }
                if (sizeof(T)==2) {             //clamp value for 16 bit
                    if (newVal > INT16_MAX) {
                        newVal = INT16_MAX;
                    }
                    a.data_vector[i] = newVal;
                }
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
callq 0x62a0
movq 0x8(%r14), %rcx
subq (%r14), %rcx
movq 0x8(%rbx), %rax
subq (%rbx), %rax
cmpq %rcx, %rax
cmovaeq %rcx, %rax
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
pushq $0x7f
popq %rdx
cmpq %rcx, %rax
je 0x4cc9
movq (%r14), %rsi
movsbl (%rsi,%rcx), %edi
movq (%rbx), %r8
movsbl (%r8,%rcx), %r8d
addl %edi, %r8d
cmpl $0x7f, %r8d
cmovgel %edx, %r8d
movb %r8b, (%rsi,%rcx)
incq %rcx
jmp 0x4ca1
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void save(std::string filename) {
            filename = filename + ".raw";
            const char * cfilename = filename.c_str();
            std::ofstream file(cfilename, std::ios::binary);

            int fileSizeInBytes = data_vector.size() * sizeof(T) * channels; //calculate bytes to be written
            file.write((char*)&data_vector[0], fileSizeInBytes);
            std::cout << "File saved." << '\n';
            file.close();

        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x33c6(%rip), %rdx      # 0x80b5
leaq -0x218(%rbp), %r15
movq %r15, %rdi
callq 0x6337
movq %r14, %rdi
movq %r15, %rsi
callq 0x2160
movq %r15, %rdi
callq 0x20a0
movq (%r14), %rsi
leaq -0x218(%rbp), %r14
pushq $0x4
popq %rdx
movq %r14, %rdi
callq 0x2140
movl 0x8(%rbx), %eax
movq (%rbx), %rsi
subl %esi, %eax
imull 0x18(%rbx), %eax
movslq %eax, %rdx
movq %r14, %rdi
callq 0x2190
movq 0x7294(%rip), %rdi      # 0xbfd8
leaq 0x336f(%rip), %rsi      # 0x80ba
callq 0x2120
pushq $0xa
popq %rsi
movq %rax, %rdi
callq 0x2150
leaq -0x218(%rbp), %rdi
callq 0x21c0
leaq -0x218(%rbp), %rdi
callq 0x21e0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x218(%rbp), %rdi
callq 0x21e0
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::operator+(MRXADA002::Audio<signed char, 2> const&)
Audio<T, 2> operator+(const Audio<T, 2> & rhs) {
            Audio<T, 2> a(*this);
            int m = std::min(a.data_vector.size(), rhs.data_vector.size());
            for (int i = 0; i < m; ++i) {
                int newValLEFT = a.data_vector[i].first + rhs.data_vector[i].first; //add amplitudes of lefts
                int newValRIGHT = a.data_vector[i].second + rhs.data_vector[i].second; //add amplitudes of rights
                if (sizeof(T)==1) {
                    if (newValLEFT > INT8_MAX) {    //clamp value for  8 bit
                        newValLEFT = INT8_MAX;
                    }
                    if (newValRIGHT > INT8_MAX) {    //clamp value for  8 bit
                        newValRIGHT = INT8_MAX;
                    }
                    a.data_vector[i].first = newValLEFT;
                    a.data_vector[i].second = newValRIGHT;
                }
                if (sizeof(T)==2) {
                    if (newValLEFT > INT16_MAX) {    //clamp left value for 16 bit
                        newValLEFT = INT16_MAX;
                    }
                    if (newValRIGHT > INT16_MAX) {    //clamp right value for 16 bit
                        newValRIGHT = INT16_MAX;
                    }
                    a.data_vector[i].first = newValLEFT;
                    a.data_vector[i].second = newValRIGHT;
                }
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
callq 0x67e0
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
subq %rax, %rsi
sarq %rsi
movq (%r14), %rcx
movq 0x8(%r14), %rdx
subq %rcx, %rdx
sarq %rdx
cmpq %rsi, %rdx
cmovaeq %rsi, %rdx
xorl %esi, %esi
testl %edx, %edx
cmovlel %esi, %edx
pushq $0x7f
popq %rdi
cmpq %rsi, %rdx
je 0x5127
movsbl (%rax,%rsi,2), %r8d
movsbl (%rcx,%rsi,2), %r9d
addl %r8d, %r9d
movsbl 0x1(%rax,%rsi,2), %r8d
movsbl 0x1(%rcx,%rsi,2), %r10d
addl %r8d, %r10d
cmpl %edi, %r9d
cmovgel %edi, %r9d
cmpl $0x7f, %r10d
cmovgel %edi, %r10d
movb %r9b, (%rax,%rsi,2)
movb %r10b, 0x1(%rax,%rsi,2)
incq %rsi
jmp 0x50e9
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::operator|(MRXADA002::Audio<signed char, 1> const&)
Audio<T, N> operator|(const Audio<T,N> & rhs) {
            Audio<T, N> a(*this);                       //use copy constructor on lhs audio
            for (int i = 0; i < rhs.data_vector.size(); ++i) {
                a.data_vector.push_back(rhs.data_vector[i]);         //append rhs's values onto data_vector
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
callq 0x62a0
xorl %r15d, %r15d
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
cmpq %r15, %rax
jbe 0x5469
addq %r15, %rsi
movq %rbx, %rdi
callq 0x6adc
incq %r15
jmp 0x544a
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x60ca
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::operator|(MRXADA002::Audio<signed char, 2> const&)
Audio<T, 2> operator|(const Audio<T,2> & rhs) {
            Audio<T, 2> a(*this);                       //use copy constructor on lhs audio
            for (int i = 0; i < rhs.data_vector.size(); ++i) {
                a.data_vector.push_back(rhs.data_vector[i]);         //append rhs's values onto data_vector
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
callq 0x67e0
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
sarq %rax
cmpq %r12, %rax
jbe 0x552e
addq %r15, %rsi
movq %rbx, %rdi
callq 0x6ca8
incq %r12
addq $0x2, %r15
jmp 0x5508
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x60f2
movq %r14, %rdi
callq 0x2250
nop
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::operator*(std::pair<float, float>)
Audio<T, N> operator*( std::pair<float, float> rhs) {
            Audio<T, N> a(*this);               //use copy constructor
            for (int i = 0; i < a.data_vector.size(); ++i) {
                a.data_vector[i]*=rhs.first; //scale amplitude
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movaps %xmm0, -0x20(%rbp)
movq %rdi, %rbx
callq 0x62a0
movaps -0x20(%rbp), %xmm1
xorl %eax, %eax
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
subq %rcx, %rdx
cmpq %rax, %rdx
jbe 0x55f2
movsbl (%rcx,%rax), %edx
cvtsi2ss %edx, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %edx
movb %dl, (%rcx,%rax)
incq %rax
jmp 0x55cb
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::operator*(std::pair<float, float>)
Audio<T, 2> operator*( std::pair<float, float> rhs) {
            Audio<T, 2> a(*this);                       //use copy constructor
            for (int i = 0; i < a.data_vector.size(); ++i) {
                a.data_vector[i].first*=rhs.first;  //scale amplitude
                a.data_vector[i].second*=rhs.second;
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movaps %xmm0, -0x20(%rbp)
movq %rdi, %rbx
callq 0x67e0
movaps -0x20(%rbp), %xmm2
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq %rcx
movaps %xmm2, %xmm0
shufps $0x55, %xmm2, %xmm0     # xmm0 = xmm0[1,1],xmm2[1,1]
xorl %edx, %edx
cmpq %rdx, %rcx
jbe 0x56af
movsbl (%rax,%rdx,2), %esi
cvtsi2ss %esi, %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %esi
movb %sil, (%rax,%rdx,2)
movsbl 0x1(%rax,%rdx,2), %esi
cvtsi2ss %esi, %xmm1
mulss %xmm0, %xmm1
cvttss2si %xmm1, %esi
movb %sil, 0x1(%rax,%rdx,2)
incq %rdx
jmp 0x567b
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::operator^(std::pair<int, int>)
Audio<T, N> operator^(std::pair<int, int> rhs ) {
            Audio<T, N> a;
            for (int i = 0; i < rhs.first; ++i) {
                a.data_vector.push_back(this->data_vector[i]);
            }
            for (int i = rhs.second + 1; i < this->data_vector.size(); ++i) {
                a.data_vector.push_back(this->data_vector[i]);
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movl $0x1, 0x18(%rdi)
xorl %r12d, %r12d
testl %r14d, %r14d
movl $0x0, %r13d
cmovgl %r14d, %r13d
cmpq %r12, %r13
je 0x5779
movq (%r15), %rsi
addq %r12, %rsi
movq %rbx, %rdi
callq 0x6adc
incq %r12
jmp 0x5761
sarq $0x20, %r14
incq %r14
movq (%r15), %rsi
movq 0x8(%r15), %rax
subq %rsi, %rax
cmpq %r14, %rax
jbe 0x579f
addq %r14, %rsi
incq %r14
movq %rbx, %rdi
callq 0x6adc
jmp 0x5780
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x57b3
movq %rax, %r14
movq %rbx, %rdi
callq 0x60ca
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::operator^(std::pair<int, int>)
Audio<T, 2> operator^(std::pair<int, int> rhs ) {
            Audio<T, 2> a;
            for (int i = 0; i < rhs.first; ++i) {
                a.data_vector.push_back(this->data_vector[i]);
            }
            for (int i = rhs.second + 1; i < this->data_vector.size(); ++i) {
                a.data_vector.push_back(this->data_vector[i]);
            }
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rdi)
movups %xmm0, (%rdi)
movl $0x2, 0x18(%rdi)
xorl %r12d, %r12d
testl %r14d, %r14d
movl $0x0, %r13d
cmovgl %r14d, %r13d
addl %r13d, %r13d
cmpq %r12, %r13
je 0x58c9
movq (%r15), %rsi
addq %r12, %rsi
movq %rbx, %rdi
callq 0x6ca8
addq $0x2, %r12
jmp 0x58b0
sarq $0x20, %r14
leaq 0x2(,%r14,2), %r12
incq %r14
movq (%r15), %rsi
movq 0x8(%r15), %rax
subq %rsi, %rax
sarq %rax
cmpq %r14, %rax
jbe 0x58fb
addq %r12, %rsi
addq $0x2, %r12
movq %rbx, %rdi
callq 0x6ca8
jmp 0x58d5
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x590f
movq %rax, %r14
movq %rbx, %rdi
callq 0x60f2
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<short, 1>::ranged_add(MRXADA002::Audio<short, 1> const&, int, int)
Audio<T, N> ranged_add(const Audio<T,N> & rhs, int rangeStart, int rangeEnd) {
            Audio<T, N> range1;
            range1.data_vector.resize(rangeEnd-rangeStart);
            Audio<T, N> range2;
            range2.data_vector.resize(rangeEnd-rangeStart);
            std::copy(this->data_vector.begin()+rangeStart, this->data_vector.begin()+rangeEnd, range1.data_vector.begin());
            std::copy(rhs.data_vector.begin()+rangeStart, rhs.data_vector.begin()+rangeEnd, range2.data_vector.begin());
            Audio<T, N> out = range1 + range2;
            return out;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, %r12d
movl %ecx, %r13d
movq %rdx, -0x30(%rbp)
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %rdi
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl $0x1, 0x18(%rdi)
movl %r8d, %eax
subl %ecx, %eax
movslq %eax, %r14
movq %r14, %rsi
callq 0x6370
leaq -0x50(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl $0x1, 0x18(%rdi)
movq %r14, %rsi
callq 0x6370
movslq %r13d, %r13
addq %r13, %r13
movslq %r12d, %r12
addq %r12, %r12
subq %r13, %r12
je 0x5be2
movq (%r15), %rsi
addq %r13, %rsi
movq -0x70(%rbp), %rdi
movq %r12, %rdx
callq 0x2220
movq -0x30(%rbp), %rax
addq (%rax), %r13
movq -0x50(%rbp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x2220
leaq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x4e9a
leaq -0x50(%rbp), %rdi
callq 0x60de
leaq -0x70(%rbp), %rdi
callq 0x60de
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x5c27
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x60de
leaq -0x70(%rbp), %rdi
callq 0x60de
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::ranged_add(MRXADA002::Audio<signed char, 2> const&, int, int)
Audio<T, 2> ranged_add(const Audio<T,2> & rhs, int rangeStart, int rangeEnd) {
            Audio<T, 2> range1;
            range1.data_vector.resize(rangeEnd-rangeStart);
            Audio<T, 2> range2;
            range2.data_vector.resize(rangeEnd-rangeStart);
            std::copy(this->data_vector.begin()+rangeStart, this->data_vector.begin()+rangeEnd, range1.data_vector.begin());
            std::copy(rhs.data_vector.begin()+rangeStart, rhs.data_vector.begin()+rangeEnd, range2.data_vector.begin());
            Audio<T, 2> out = range1 + range2;
            return out;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, %r15d
movl %ecx, %r12d
movq %rdx, -0x30(%rbp)
movq %rsi, %r13
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %rdi
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl $0x2, 0x18(%rdi)
movl %r8d, %eax
subl %ecx, %eax
movslq %eax, %r14
movq %r14, %rsi
callq 0x660c
leaq -0x50(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl $0x2, 0x18(%rdi)
movq %r14, %rsi
callq 0x660c
movq (%r13), %rax
movslq %r12d, %r14
leaq (%rax,%r14,2), %rdi
movslq %r15d, %r15
leaq (%rax,%r15,2), %rsi
movq -0x70(%rbp), %rdx
callq 0x6f15
movq -0x30(%rbp), %rax
movq (%rax), %rax
leaq (%rax,%r14,2), %rdi
leaq (%rax,%r15,2), %rsi
movq -0x50(%rbp), %rdx
callq 0x6f4b
leaq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x50ac
leaq -0x50(%rbp), %rdi
callq 0x60f2
leaq -0x70(%rbp), %rdi
callq 0x60f2
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5d0d
jmp 0x5d0d
movq %rax, %rbx
jmp 0x5d19
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x60f2
leaq -0x70(%rbp), %rdi
callq 0x60f2
movq %rbx, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::rms()
std::pair<double, double> rms() {
            double left = sqrt(std::accumulate(this->data_vector.begin(), this->data_vector.end(), 0.0, [&](double a, std::pair<T,T> b){return a + pow(b.first, 2)/this->data_vector.size();}));
            double right = sqrt(std::accumulate(this->data_vector.begin(), this->data_vector.end(), 0.0, [&](double a, std::pair<T,T> b){return a + pow(b.second, 2)/this->data_vector.size();}));
            std::pair<double, double> ans (left, right);
            return ans;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
movq 0x8(%rbx), %rsi
xorpd %xmm0, %xmm0
movq %rbx, %rdx
callq 0x70a2
ucomisd 0x21a4(%rip), %xmm0     # 0x8040
jb 0x5ea4
sqrtsd %xmm0, %xmm0
jmp 0x5ea9
callq 0x20f0
movsd %xmm0, -0x10(%rbp)
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
xorpd %xmm0, %xmm0
movq %rbx, %rdx
callq 0x70f9
ucomisd 0x2177(%rip), %xmm0     # 0x8040
jb 0x5ed1
sqrtsd %xmm0, %xmm1
jmp 0x5eda
callq 0x20f0
movapd %xmm0, %xmm1
movsd -0x10(%rbp), %xmm0
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 1>::normalize(std::pair<double, double>)
Audio<T, N> normalize(std::pair<double, double> rms) {
            Audio<T, N> a(*this);
            Normalize functor(rms.first);
            std::transform(this->data_vector.begin(), this->data_vector.end(), a.data_vector.begin(), functor);
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
callq 0x62a0
movq (%r14), %rdi
movq 0x8(%r14), %rsi
movq (%rbx), %rdx
movq %r15, %rcx
callq 0x7256
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x60ca
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/adameier[P]/./audio.h
// Function: MRXADA002::Audio<signed char, 2>::normalize(std::pair<double, double>)
Audio<T, 2> normalize(std::pair<double, double> rms) {
            Audio<T, 2> a(*this);
            Normalize functor(rms);
            std::transform(this->data_vector.begin(), this->data_vector.end(), a.data_vector.begin(), functor);
            return a;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
callq 0x67e0
movq (%r14), %rdi
movq 0x8(%r14), %rsi
movq (%rbx), %rdx
movq %r15, %rcx
callq 0x72c9
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x60f2
movq %r14, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O2/rksdna[P]json/main.cpp
// Function: main
int main(int argc, char *argv[])
{
    json::writer writer;
    auto read = [&writer](json::item item, const std::string &data, std::size_t row, std::size_t column)
    {
        writer.write(item, data, std::ostream_iterator<char>(std::cout));
    };

    try
    {
        std::ifstream input("sample.json");

        json::reader reader(read);
        reader.read(std::istream_iterator<char>(input), std::istream_iterator<char>());
    }
    catch(json::exception &e)
    {
        std::cerr << e.what() << " at " << e.row() << ":" << e.column() << std::endl;
    }

    return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x358, %rsp            # imm = 0x358
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
callq 0x2570
leaq 0x3e30(%rip), %rsi      # 0x61ca
leaq 0x150(%rsp), %rdi
pushq $0x8
popq %rdx
callq 0x2230
leaq 0x18(%rsp), %rsi
andq $0x0, 0x8(%rsi)
movq %rbx, (%rsi)
leaq 0x15c(%rip), %rax       # 0x251a
movq %rax, 0x18(%rsi)
leaq 0x181(%rip), %rax       # 0x254a
movq %rax, 0x10(%rsi)
leaq 0xa0(%rsp), %rdi
callq 0x2580
leaq 0x18(%rsp), %rdi
callq 0x25e8
leaq 0x8(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x26b6
leaq 0x38(%rsp), %rdx
andq $0x0, (%rdx)
andw $0x0, 0x8(%rdx)
leaq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2604
leaq 0xa0(%rsp), %rdi
callq 0x26c2
leaq 0x150(%rsp), %rdi
callq 0x2050
leaq 0x50(%rsp), %rdi
callq 0x296a
xorl %eax, %eax
addq $0x358, %rsp            # imm = 0x358
popq %rbx
popq %r14
retq
movq %rdx, %r14
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x25e8
jmp 0x2474
movq %rdx, %r14
movq %rax, %rbx
jmp 0x2481
movq %rdx, %r14
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x26c2
leaq 0x150(%rsp), %rdi
callq 0x2050
cmpl $0x1, %r14d
jne 0x24ff
movq %rbx, %rdi
callq 0x2090
movq %rax, %rbx
movq (%rax), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movq 0x6b4e(%rip), %rdi      # 0x8ff0
movq %rax, %rsi
callq 0x2130
leaq 0x3d25(%rip), %rsi      # 0x61d6
movq %rax, %rdi
callq 0x2130
movq 0x10(%rbx), %rsi
movq %rax, %rdi
callq 0x20e0
leaq 0x3d0f(%rip), %rsi      # 0x61db
movq %rax, %rdi
callq 0x2130
movq 0x18(%rbx), %rsi
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20a0
callq 0x21f0
jmp 0x2430
movq %rax, %rbx
jmp 0x24ff
movq %rax, %rbx
callq 0x21f0
leaq 0x50(%rsp), %rdi
callq 0x296a
movq %rbx, %rdi
callq 0x2210
movq %rax, %rdi
callq 0x26e1
nop
// File: /workspace/github_cpp_makefile_star2_O2/rksdna[P]json/./json.hpp
// Function: json::basic_reader<char, std::char_traits<char>, std::allocator<char>>::unicode(char)
inline void unicode(char_type input)
    {
        std::uint16_t digit = 0;

        if (input >= '0' && input <= '9')
            digit = input - '0';
        else if (input >= 'a' && input <= 'f')
            digit = input - 'a' + 10;
        else if (input >= 'A' && input <= 'F')
            digit = input - 'A' + 10;
        else
            throw std::bad_exception();

        m_unicode = (m_unicode << 4) | digit;
    }

// Assembly:
leal -0x30(%rsi), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x4782
leal -0x61(%rsi), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x4782
leal -0x41(%rsi), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x479c
movzbl %sil, %ecx
cwtl
addl %ecx, %eax
movl 0xa8(%rdi), %ecx
shll $0x4, %ecx
orl %eax, %ecx
movw %cx, 0xa8(%rdi)
retq
pushq %rax
pushq $0x8
popq %rdi
callq 0x20b0
movq 0x4804(%rip), %rcx      # 0x8fb0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x4806(%rip), %rsi      # 0x8fc0
movq 0x47e7(%rip), %rdx      # 0x8fa8
movq %rax, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O2/rksdna[P]json/./json.hpp
// Function: json::basic_reader<char, std::char_traits<char>, std::allocator<char>>::take_unicode()
inline void take_unicode()
    {
        if (m_unicode < 0x80)
        {
            m_data.push_back(char_type(m_unicode));
        }
        else if (m_unicode < 0x800)
        {
            m_data.push_back(char_type(0xC0 | ((m_unicode >> 6) & 0x1F)));
            m_data.push_back(char_type(0x80 | ((m_unicode) & 0x3F)));
        }
        else
        {
            m_data.push_back(char_type(0xE0 | ((m_unicode >> 12) & 0x0F)));
            m_data.push_back(char_type(0x80 | ((m_unicode >> 6) & 0x3F)));
            m_data.push_back(char_type(0x80 | ((m_unicode) & 0x3F)));
        }

        m_unicode = 0;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzwl 0xa8(%rdi), %eax
cmpw $0x7f, %ax
ja 0x47e7
leaq 0x78(%rbx), %rdi
movsbl %al, %esi
jmp 0x4834
leaq 0x78(%rbx), %r14
cmpw $0x7ff, %ax             # imm = 0x7FF
ja 0x47f8
shrl $0x6, %eax
orb $-0x40, %al
jmp 0x4819
movzwl %ax, %eax
shrl $0xc, %eax
orb $-0x20, %al
movsbl %al, %esi
movq %r14, %rdi
callq 0x2110
movzwl 0xa8(%rbx), %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %r14, %rdi
callq 0x2110
movb 0xa8(%rbx), %al
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %r14, %rdi
callq 0x2110
andw $0x0, 0xa8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/wenleix[P]EdgePPR/src/GenCSRMatrix.cpp
// Function: main
int main(int argc, char **argv) {
	if (argc != 4) {
		fprintf(stderr, "Usage: %s [ParamGraph.txt] [CSC-Prefix] [CSC-Suffix]\n", argv[0]);
		return 1;
	}

	FILE *gfile = fopen(argv[1], "r");
	char *cscPrefix = argv[2];
    char *suffix = argv[3];

	ParamGraph *g = ParamGraph::ReadTextFile(gfile);
	for (int i = 0; i < ParamGraph_NumEdgeTypes; i++) {
		char fnameBuf[1000];
		sprintf(fnameBuf, "%s%d.%s", cscPrefix, i, suffix);
        if (strcmp(suffix, "txt") == 0) {
		    FILE *cscFile = fopen(fnameBuf, "w");
		    GenCscFile(g, i, cscFile);
            fclose(cscFile);
        } else if (strcmp(suffix, "bin") == 0) {
		    FILE *cscFile = fopen(fnameBuf, "wb");
		    GenBinCscFile(g, i, cscFile);
            fclose(cscFile);
        } else {
            fprintf(stderr, "Unsupported file format: %s !\n", suffix);
            assert(false);
        }
	}


	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %rsi, %rbx
cmpl $0x4, %edi
jne 0x18dc
movq 0x8(%rbx), %rdi
leaq 0x18fc(%rip), %rsi      # 0x3106
callq 0x1130
movq 0x10(%rbx), %r14
movq 0x18(%rbx), %rbx
movq %rax, %rdi
callq 0x1cd0
movq %rax, %r15
movq %rsp, %r13
xorl %r12d, %r12d
cmpl $0x7, %r12d
je 0x18c8
movq %r13, %rdi
leaq 0x18cc(%rip), %rsi      # 0x3108
movq %r14, %rdx
movl %r12d, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0x1040
movq %rbx, %rdi
leaq 0x18ba(%rip), %rsi      # 0x3110
callq 0x1170
testl %eax, %eax
je 0x1898
movq %rbx, %rdi
leaq 0x18ad(%rip), %rsi      # 0x3116
callq 0x1170
testl %eax, %eax
jne 0x18fc
movq %r13, %rdi
leaq 0x189a(%rip), %rsi      # 0x311a
callq 0x1130
movq %rax, %rbp
movq %r15, %rdi
movl %r12d, %esi
movq %rax, %rdx
callq 0x1558
jmp 0x18b8
movq %r13, %rdi
leaq 0x1872(%rip), %rsi      # 0x3114
callq 0x1130
movq %rax, %rbp
movq %r15, %rdi
movl %r12d, %esi
movq %rax, %rdx
callq 0x130c
movq %rbp, %rdi
callq 0x10f0
incl %r12d
jmp 0x1828
xorl %eax, %eax
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x36fd(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
movq (%rbx), %rdx
leaq 0x17e0(%rip), %rsi      # 0x30d0
xorl %eax, %eax
callq 0x1180
pushq $0x1
popq %rax
jmp 0x18ca
movq 0x36dd(%rip), %rax      # 0x4fe0
movq (%rax), %rdi
leaq 0x1810(%rip), %rsi      # 0x311d
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1180
leaq 0x181e(%rip), %rdi      # 0x313c
leaq 0x170c(%rip), %rsi      # 0x3031
leaq 0x1816(%rip), %rcx      # 0x3142
movl $0x87, %edx
callq 0x10b0
// File: /workspace/github_cpp_makefile_star2_O2/shijiajia[P]TinyMudo/./TcpConnection.h
// Function: TinyMuduo::TcpConnection::HandleEvent()
virtual void HandleEvent()
	{
		char buf[1024];
		memset(buf,0,sizeof(buf));
		int n=read(m_nConnFd,buf,1024);
		if (n<0)
		{
			std::cout<<"read error errno"<<errno<<std::endl;
			close(m_nConnFd);
		}else if (n==0)
		{
			std::cout<<"client close"<<std::endl;
			close(m_nConnFd);
		}else{
			if (write(m_nConnFd,buf,n)!=n)
				std::cout<<"write error errno:"<<errno<<std::endl;;
		}
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
movq %rdi, %rbx
movq %rsp, %r14
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x20f0
movl 0xc(%rbx), %edi
movl $0x400, %edx            # imm = 0x400
movq %r14, %rsi
callq 0x2180
movq %rax, %r14
testl %r14d, %r14d
js 0x24ca
je 0x24f1
movl 0xc(%rbx), %edi
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movq %rsp, %rsi
movq %r14, %rdx
callq 0x2080
cmpq %r14, %rax
jne 0x251e
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r14
retq
movq 0x2b07(%rip), %rdi      # 0x4fd8
leaq 0xb80(%rip), %rsi       # 0x3058
callq 0x2130
movq %rax, %r14
callq 0x2030
movl (%rax), %esi
movq %r14, %rdi
callq 0x21c0
jmp 0x2504
movq 0x2ae0(%rip), %rdi      # 0x4fd8
leaq 0xb6a(%rip), %rsi       # 0x3069
callq 0x2130
movq %rax, %rdi
callq 0x20d0
movl 0xc(%rbx), %edi
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r14
jmp 0x2200
movq 0x2ab3(%rip), %rdi      # 0x4fd8
leaq 0xb4a(%rip), %rsi       # 0x3076
callq 0x2130
movq %rax, %rbx
callq 0x2030
movl (%rax), %esi
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rdi
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r14
jmp 0x20d0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O2/shijiajia[P]TinyMudo/Acceptor.cpp
// Function: TinyMuduo::Acceptor::Start()
void Acceptor::Start()
{
	SocketAndBind();
	m_pChannel=new Channel(m_nEpollfd,m_nListenFd);
	m_pChannel->SetCallBack(this);
	m_pChannel->EableReading();
	if (listen(m_nListenFd,BACKLOG)<0) std::cout<<"listen failed: errno"<<errno<<std::endl;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x25cc
pushq $0x18
popq %rdi
callq 0x2140
movl 0x18(%rbx), %ecx
movl 0x28(%rbx), %edx
movl %ecx, (%rax)
movl %edx, 0x4(%rax)
movq %rax, 0x30(%rbx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x23dc
movq 0x30(%rbx), %rdi
callq 0x23e2
movl 0x28(%rbx), %edi
pushq $0x5
popq %rsi
callq 0x2160
testl %eax, %eax
js 0x259d
popq %rbx
retq
movq 0x2a34(%rip), %rdi      # 0x4fd8
leaq 0xade(%rip), %rsi       # 0x3089
callq 0x2130
movq %rax, %rbx
callq 0x2030
movl (%rax), %esi
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rdi
popq %rbx
jmp 0x20d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/shijiajia[P]TinyMudo/Acceptor.cpp
// Function: TinyMuduo::Acceptor::SocketAndBind()
void Acceptor::SocketAndBind()
{
	int on=1;
	if ((m_nListenFd=socket(AF_INET, SOCK_STREAM, 0))<0) 
		std::cout<<"Socket Failed errno:"<<errno<<std::endl;
	setsockopt(m_nListenFd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
	fcntl(m_nListenFd,F_SETFL,O_NONBLOCK);
	m_sServerAddr.sin_family = AF_INET;
	m_sServerAddr.sin_addr.s_addr = htonl(INADDR_ANY);
	m_sServerAddr.sin_port = htons(PORT);
	if (bind(m_nListenFd,(struct sockaddr *)&m_sServerAddr,sizeof(m_sServerAddr))<0) 
		std::cout<<"Socket Failed errno:"<<errno<<std::endl;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x1, 0xc(%rsp)
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x2050
movl %eax, 0x28(%rbx)
testl %eax, %eax
jns 0x2623
movq 0x29de(%rip), %rdi      # 0x4fd8
leaq 0xa9d(%rip), %rsi       # 0x309e
callq 0x2130
movq %rax, %r14
callq 0x2030
movl (%rax), %esi
movq %r14, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x20d0
movl 0x28(%rbx), %eax
pushq $0x1
popq %rsi
pushq $0x2
popq %rdx
leaq 0xc(%rsp), %rcx
pushq $0x4
popq %rbp
movl %eax, %edi
movl %ebp, %r8d
callq 0x21e0
movl 0x28(%rbx), %edi
movl %ebp, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2100
leaq 0x8(%rbx), %rsi
movq $0x53220002, 0x8(%rbx)  # imm = 0x53220002
movl 0x28(%rbx), %edi
pushq $0x10
popq %rdx
callq 0x2040
testl %eax, %eax
jns 0x2694
movq 0x296a(%rip), %rdi      # 0x4fd8
leaq 0xa29(%rip), %rsi       # 0x309e
callq 0x2130
movq %rax, %rbx
callq 0x2030
movl (%rax), %esi
movq %rbx, %rdi
callq 0x21c0
movq %rax, %rdi
callq 0x20d0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O2/shijiajia[P]TinyMudo/TcpServer.cpp
// Function: TinyMuduo::TcpServer::Start()
void TcpServer::Start()
{
	m_pAcceptor=new Acceptor(m_nEpollFd);
	m_pAcceptor->SetCallBack(this);
	m_pAcceptor->Start();
	for(;;)
	{
		int nfds=epoll_wait(m_nEpollFd,m_aEpollEvents,MAXEPOLLEVENTS,-1);
		vector< Channel *> vChannel;
		for (int i=0;i<nfds;i++)
		{
			Channel * pTemp=static_cast<Channel *> (m_aEpollEvents[i].data.ptr);
			pTemp->SetRevent(m_aEpollEvents[i].events);
			vChannel.push_back(pTemp);
		}
		for (int i=0;i<vChannel.size();i++)
		{
			vChannel[i]->HandleEvent();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
pushq $0x38
popq %rdi
callq 0x2140
movl 0x8(%rbx), %ecx
leaq 0x2655(%rip), %rdx      # 0x4d18
movq %rdx, (%rax)
movl %ecx, 0x18(%rax)
movq %rax, 0x2ef0(%rbx)
movq %rbx, 0x20(%rax)
movq %rax, %rdi
callq 0x2558
leaq 0xc(%rbx), %r14
movq %rsp, %r15
leaq 0x20(%rsp), %r12
movl 0x8(%rbx), %edi
movq %r14, %rsi
movl $0x3e8, %edx            # imm = 0x3E8
pushq $-0x1
popq %rcx
callq 0x20c0
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
testl %eax, %eax
movl $0x0, %ecx
cmovlel %ecx, %eax
imulq $0xc, %rax, %rbp
xorl %r13d, %r13d
cmpq %r13, %rbp
je 0x2743
movq 0x10(%rbx,%r13), %rdi
movq %rdi, 0x20(%rsp)
movl 0xc(%rbx,%r13), %esi
callq 0x2422
movq %r15, %rdi
movq %r12, %rsi
callq 0x278c
addq $0xc, %r13
jmp 0x2719
xorl %r13d, %r13d
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
jbe 0x2769
movq (%rax,%r13,8), %rdi
callq 0x2412
incq %r13
jmp 0x2746
movq %r15, %rdi
callq 0x28e4
jmp 0x26e8
jmp 0x2778
movq %rax, %rbx
movq %rsp, %rdi
callq 0x28e4
movq %rbx, %rdi
callq 0x21d0
nop