LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8(%rsi), %r8
movq 0x10(%rsi), %rax
subq %r8, %rax
shrq $0x2, %rax
testl %eax, %eax
je 0x19346
movq %rdx, %rcx
movl %eax, %r9d
xorl %r14d, %r14d
imulq %rcx, %r14
movq %r14, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rsi
movl -0x4(%r8,%r9,4), %eax
xorl %edx, %edx
divl %edi
addq %rdx, %rsi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %r14
decq %r9
jne 0x1931b
leaq 0x8(%rbx), %rdi
movl $0x1, %esi
callq 0x183d2
movq 0x8(%rbx), %rax
movl %r14d, (%rax)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x18b5e
// File: /workspace/github_cpp_makefile_star2_O3/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 0x183d2
movq 0x10(%r14), %rax
movq %r14, 0x8(%rsp)
subq 0x8(%r14), %rax
shrq $0x2, %rax
testl %eax, %eax
je 0x19445
movl %eax, %ecx
leaq 0x4(%rsp), %r13
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movl -0x4(%rax,%rcx,4), %r14d
decq %rcx
movq %rcx, 0x10(%rsp)
movl $0x1f, %ebp
movl $0x1, 0x4(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x9d1a
btl %ebp, %r14d
jae 0x19409
movq 0x8(%r15), %rax
cmpq %rax, 0x10(%r15)
je 0x193f2
orb $0x1, (%rax)
jmp 0x19409
movl $0x1, %esi
movq %r12, %rdi
callq 0x183d2
movq (%r12), %rax
movl $0x1, (%rax)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x194ce
testb %al, %al
jne 0x19427
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1924c
testb %al, %al
je 0x19432
movq %r15, %rdi
movq %rbx, %rsi
callq 0x19454
addl $-0x1, %ebp
jb 0x193ca
movq 0x10(%rsp), %rcx
testq %rcx, %rcx
jne 0x193af
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testl %ecx, %ecx
je 0x1982d
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 0x183d2
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rsi
cmpq %rax, %rsi
jne 0x19835
jmp 0x1990a
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rsi
movq %rsi, %rcx
subq %rax, %rcx
je 0x1990a
movq %rbx, %rdi
leaq 0x8(%rbx), %rdx
movq %rdx, 0x10(%rsp)
sarq $0x2, %rcx
movq 0x8(%r15), %rdx
movq 0x10(%r15), %r8
subq %rdx, %r8
sarq $0x2, %r8
movq 0x8(%r14), %r9
movq 0x10(%r14), %r10
subq %r9, %r10
sarq $0x2, %r10
xorl %r11d, %r11d
xorl %r14d, %r14d
xorl %r15d, %r15d
movl $0x0, %ebp
cmpq %r14, %r8
jbe 0x19886
movl (%rdx,%r14,4), %ebp
xorl %r13d, %r13d
cmpq %r14, %r10
jbe 0x19892
movl (%r9,%r14,4), %r13d
movl %r13d, %r12d
incl %r12d
sete %bl
testb $0x1, %r15b
jne 0x198a4
movl %r13d, %r12d
andb %bl, %r15b
testb $0x1, %r15b
movl %r12d, %ebx
cmovnel %r11d, %ebx
addl %ebp, %ebx
setb %bpl
movl %ebx, (%rax,%r14,4)
orb %r15b, %bpl
cmpl %r12d, %ebx
setb %r15b
orb %bpl, %r15b
andb $0x1, %r15b
incq %r14
movl %r14d, %ebx
cmpq %rbx, %rcx
ja 0x19878
testb %r15b, %r15b
je 0x1990a
movl $0x1, 0xc(%rsp)
cmpq 0x18(%rdi), %rsi
je 0x198fb
movl $0x1, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x10(%rdi)
jmp 0x1990a
leaq 0xc(%rsp), %rdx
movq 0x10(%rsp), %rdi
callq 0x19b30
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x8(%rsi), %r12
movq 0x8(%rsi), %rdi
movq 0x10(%rsi), %rsi
subq %rdi, %rsi
je 0x19f88
sarq $0x2, %rsi
cmpq $0x2, %rsi
ja 0x19fae
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %eax, %eax
movl (%rdi,%r8,4), %r9d
shlq %cl, %r9
orq %r9, %rax
incq %r8
movl %r8d, %r9d
addl $0x20, %ecx
cmpq %r9, %rsi
ja 0x19f59
movb (%rdx), %cl
shrq %cl, %rax
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x18782
jmp 0x1a06f
movb (%rax), %al
movb %al, (%rbx)
leaq 0x8(%rbx), %rdi
movq %r12, %rsi
callq 0x18bb6
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rax
jne 0x1a06f
movb $0x0, (%rbx)
jmp 0x1a06f
movl (%rdx), %r14d
xorl %eax, %eax
cmpl $0x21, %r14d
jb 0x19fd0
leal -0x21(%r14), %ecx
movl %ecx, %eax
shrl $0x5, %eax
incl %eax
andl $-0x20, %ecx
negl %ecx
addl %ecx, %r14d
addl $-0x20, %r14d
movl %eax, %r13d
movb $0x0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq $0x0, 0x18(%rbx)
subq %r13, %rsi
jbe 0x1a06f
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x183d2
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rsi
subq %rax, %rsi
je 0x1a067
sarq $0x2, %rsi
movq (%r12), %rdx
cmpq $0x2, %rsi
jb 0x1a053
movl %r14d, %ecx
movl $0x1, %r9d
xorl %r8d, %r8d
movq %r9, %rdi
leaq (%r8,%r13), %r9
leal 0x1(%r9), %r10d
movl (%rdx,%r10,4), %r10d
shlq $0x20, %r10
movl %r9d, %r9d
movl (%rdx,%r9,4), %r9d
orq %r10, %r9
shrq %cl, %r9
movl %r9d, (%rax,%r8,4)
leal 0x2(%r8), %r9d
incq %r8
cmpq %r9, %rsi
ja 0x1a021
jmp 0x1a058
xorl %edi, %edi
xorl %r8d, %r8d
addl %r8d, %r13d
movl (%rdx,%r13,4), %edx
movl %r14d, %ecx
shrl %cl, %edx
movl %edx, (%rax,%rdi,4)
movq %rbx, %rdi
callq 0x18b5e
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1a093
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x4260
movq %r14, %rdi
callq 0x43f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 $0x218, %rsp            # imm = 0x218
movq %rdi, %rbx
movq (%rsi), %rsi
leaq -0x228(%rbp), %r14
movq %r14, %rdi
movl $0x4, %edx
callq 0x2250
movq %r14, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x21a0
leaq -0x228(%rbp), %rdi
callq 0x2220
movq %rax, %r14
leaq -0x228(%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 0x5a01(%rip), %rdi      # 0xafd8
movl $0x1, %esi
callq 0x20b0
leaq -0x19(%rbp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x2150
movslq %r15d, %rsi
movq %rbx, %rdi
callq 0x71de
movq (%rbx), %rsi
leaq -0x228(%rbp), %rdi
movq %r14, %rdx
callq 0x2180
movq 0x59bf(%rip), %rdi      # 0xafd8
leaq 0x2a94(%rip), %rsi      # 0x80b4
movl $0xc, %edx
callq 0x2150
leaq -0x19(%rbp), %rsi
movb $0xa, (%rsi)
movq 0x59a0(%rip), %rdi      # 0xafd8
movl $0x1, %edx
callq 0x2150
leaq -0x228(%rbp), %rdi
callq 0x2030
leaq -0x228(%rbp), %rdi
callq 0x2040
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x566e
jmp 0x566e
jmp 0x566e
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
callq 0x731e
movl 0x18(%r15), %eax
movl %eax, 0x18(%r14)
movq 0x8(%r14), %rcx
subq (%r14), %rcx
movq 0x8(%rbx), %rax
subq (%rbx), %rax
cmpq %rcx, %rax
cmovaeq %rcx, %rax
testl %eax, %eax
jle 0x56f1
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %ecx, %ecx
movl $0x7f, %edx
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
cmpq %rcx, %rax
jne 0x56cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x218(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x228(%rbp), %r15
movq %r15, %rdi
callq 0x7140
leaq 0x2997(%rip), %rsi      # 0x80db
movq %r15, %rdi
callq 0x2260
movq %r14, %rdi
movq %r15, %rsi
callq 0x2160
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x5764
callq 0x2120
movq (%r14), %rsi
leaq -0x228(%rbp), %r14
movq %r14, %rdi
movl $0x4, %edx
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 0x583f(%rip), %rdi      # 0xafd8
leaq 0x2940(%rip), %rsi      # 0x80e0
movl $0xb, %edx
callq 0x2150
leaq -0x21(%rbp), %rsi
movb $0xa, (%rsi)
movq 0x5820(%rip), %rdi      # 0xafd8
movl $0x1, %edx
callq 0x2150
leaq -0x228(%rbp), %rdi
callq 0x21b0
movq 0x57fb(%rip), %rax      # 0xafd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x220(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x228(%rbp,%rcx)
callq 0x2100
leaq -0x130(%rbp), %rdi
callq 0x2060
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x228(%rbp), %rdi
cmpq %r12, %rdi
je 0x5839
callq 0x2120
jmp 0x5839
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x21c0
movq %rbx, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x7758
movl 0x18(%r15), %eax
movl %eax, 0x18(%rbx)
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
testl %edx, %edx
jle 0x5ca9
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
xorl %esi, %esi
movl $0x7f, %edi
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
cmpq %rsi, %rdx
jne 0x5c6d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %rsi, %r15
movq %rdi, %rbx
callq 0x731e
movl 0x18(%r15), %eax
movl %eax, 0x18(%rbx)
movq (%r14), %rdx
cmpq %rdx, 0x8(%r14)
je 0x6138
xorl %r15d, %r15d
addq %r15, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x611e
movb (%rdx), %al
movb %al, (%rsi)
incq 0x8(%rbx)
jmp 0x6126
movq %rbx, %rdi
callq 0x79e6
incq %r15
movq (%r14), %rdx
movq 0x8(%r14), %rax
subq %rdx, %rax
cmpq %r15, %rax
ja 0x6107
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6156
callq 0x2120
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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 %rsi, %r15
movq %rdi, %rbx
callq 0x7758
movl 0x18(%r15), %eax
movl %eax, 0x18(%rbx)
movq (%r14), %rdx
cmpq %rdx, 0x8(%r14)
je 0x6260
xorl %r15d, %r15d
xorl %r12d, %r12d
addq %r15, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x623f
movzwl (%rdx), %eax
movw %ax, (%rsi)
addq $0x2, 0x8(%rbx)
jmp 0x6247
movq %rbx, %rdi
callq 0x7bae
incq %r12
movq (%r14), %rdx
movq 0x8(%r14), %rax
subq %rdx, %rax
sarq %rax
addq $0x2, %r15
cmpq %r12, %rax
ja 0x6225
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x627c
callq 0x2120
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, -0x20(%rbp)
movq %rsi, %r14
movq %rdi, %rbx
callq 0x731e
movaps -0x20(%rbp), %xmm1
movl 0x18(%r14), %eax
movl %eax, 0x18(%rbx)
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x636a
xorl %ecx, %ecx
movsbl (%rax,%rcx), %edx
xorps %xmm0, %xmm0
cvtsi2ss %edx, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %edx
movb %dl, (%rax,%rcx)
incq %rcx
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
cmpq %rcx, %rdx
ja 0x6342
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, -0x20(%rbp)
movq %rsi, %r14
movq %rdi, %rbx
callq 0x7758
movaps -0x20(%rbp), %xmm2
movl 0x18(%r14), %eax
movl %eax, 0x18(%rbx)
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
je 0x645d
sarq %rcx
movaps %xmm2, %xmm0
shufps $0x55, %xmm2, %xmm0     # xmm0 = xmm0[1,1],xmm2[1,1]
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movsbl (%rax,%rdx,2), %esi
xorps %xmm1, %xmm1
cvtsi2ss %esi, %xmm1
mulss %xmm2, %xmm1
cvttss2si %xmm1, %esi
movb %sil, (%rax,%rdx,2)
movsbl 0x1(%rax,%rdx,2), %esi
xorps %xmm1, %xmm1
cvtsi2ss %esi, %xmm1
mulss %xmm0, %xmm1
cvttss2si %xmm1, %esi
movb %sil, 0x1(%rax,%rdx,2)
incq %rdx
cmpq %rdx, %rcx
jne 0x6425
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x1, 0x18(%rdi)
testl %r14d, %r14d
jle 0x655c
movl %r14d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
xorl %r13d, %r13d
movq (%r15), %rdx
addq %r13, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x654c
movb (%rdx), %al
movb %al, (%rsi)
incq 0x8(%rbx)
jmp 0x6554
movq %rbx, %rdi
callq 0x79e6
incq %r13
cmpq %r13, %r12
jne 0x6532
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %r14
sarq $0x20, %r14
movq (%r15), %rdx
movq 0x8(%r15), %rax
subq %rdx, %rax
cmpq %r14, %rax
jbe 0x65a0
addq %r14, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6593
movb (%rdx), %al
movb %al, (%rsi)
incq 0x8(%rbx)
jmp 0x659b
movq %rbx, %rdi
callq 0x79e6
incq %r14
jmp 0x656d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x65b4
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x65c4
callq 0x2120
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x2, 0x18(%rdi)
testl %r14d, %r14d
jle 0x6740
movl %r14d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
xorl %r13d, %r13d
movq (%r15), %rdx
addq %r13, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x672f
movzwl (%rdx), %eax
movw %ax, (%rsi)
addq $0x2, 0x8(%rbx)
jmp 0x6737
movq %rbx, %rdi
callq 0x7bae
addq $0x2, %r13
decq %r12
jne 0x6712
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %r14
sarq $0x20, %r14
movq (%r15), %rdx
movq 0x8(%r15), %rax
subq %rdx, %rax
sarq %rax
cmpq %r14, %rax
jbe 0x67a2
leaq (%r14,%r14), %r12
addq %r12, %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x6781
movzwl (%rdx), %eax
movw %ax, (%rsi)
addq $0x2, 0x8(%rbx)
jmp 0x6789
movq %rbx, %rdi
callq 0x7bae
incq %r14
movq (%r15), %rdx
movq 0x8(%r15), %rax
subq %rdx, %rax
sarq %rax
addq $0x2, %r12
cmpq %r14, %rax
ja 0x6767
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x67b6
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x67c6
callq 0x2120
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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)
movq $0x0, 0x10(%rdi)
movl $0x1, 0x18(%rdi)
movl %r8d, %eax
subl %ecx, %eax
movslq %eax, %r14
movq %r14, %rsi
callq 0x73ac
leaq -0x50(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x1, 0x18(%rdi)
movq %r14, %rsi
callq 0x73ac
movslq %r13d, %r13
addq %r13, %r13
movslq %r12d, %r12
addq %r12, %r12
subq %r13, %r12
je 0x6a7a
movq (%r15), %rsi
addq %r13, %rsi
movq -0x70(%rbp), %rdi
movq %r12, %rdx
callq 0x2210
movq -0x30(%rbp), %rax
addq (%rax), %r13
movq -0x50(%rbp), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x2210
leaq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x5964
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x6a98
callq 0x2120
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x6aa6
callq 0x2120
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x6ace
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x6ace
callq 0x2120
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x6adc
callq 0x2120
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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, %r12d
movl %ecx, %r13d
movq %rdx, -0x30(%rbp)
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x2, 0x18(%rdi)
movl %r8d, %eax
subl %ecx, %eax
movslq %eax, %r14
movq %r14, %rsi
callq 0x75d0
leaq -0x50(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x2, 0x18(%rdi)
movq %r14, %rsi
callq 0x75d0
movslq %r13d, %rax
movslq %r12d, %rcx
subq %rax, %rcx
jle 0x6bc1
addq %rax, %rax
movq -0x70(%rbp), %rdx
movq (%r15), %rsi
addq %rax, %rsi
leaq 0x1(%rcx), %rdi
xorl %r8d, %r8d
movb (%rsi,%r8), %r9b
movb %r9b, (%rdx,%r8)
movb 0x1(%rsi,%r8), %r9b
movb %r9b, 0x1(%rdx,%r8)
decq %rdi
addq $0x2, %r8
cmpq $0x1, %rdi
ja 0x6b6e
testq %rcx, %rcx
jle 0x6bc1
movq -0x50(%rbp), %rdx
movq -0x30(%rbp), %rsi
addq (%rsi), %rax
incq %rcx
xorl %esi, %esi
movb (%rax,%rsi), %dil
movb %dil, (%rdx,%rsi)
movb 0x1(%rax,%rsi), %dil
movb %dil, 0x1(%rdx,%rsi)
decq %rcx
addq $0x2, %rsi
cmpq $0x1, %rcx
ja 0x6ba2
leaq -0x70(%rbp), %rsi
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x5c1c
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x6bdf
callq 0x2120
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x6bed
callq 0x2120
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x6c15
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x6c15
callq 0x2120
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x6c23
callq 0x2120
movq %rbx, %rdi
callq 0x2230
nop
// File: /workspace/github_cpp_makefile_star2_O3/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), %rax
movq 0x8(%rdi), %rcx
xorpd %xmm1, %xmm1
xorpd %xmm0, %xmm0
cmpq %rcx, %rax
je 0x6de2
movq %rcx, %rdx
subq %rax, %rdx
sarq %rdx
movq %rdx, %xmm0
punpckldq 0x1265(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x126d(%rip), %xmm0     # 0x8020
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
xorpd %xmm0, %xmm0
movsbl (%rax), %edx
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
mulsd %xmm3, %xmm3
divsd %xmm2, %xmm3
addsd %xmm3, %xmm0
addq $0x2, %rax
cmpq %rcx, %rax
jne 0x6dc3
ucomisd %xmm1, %xmm0
jb 0x6dee
sqrtsd %xmm0, %xmm4
jmp 0x6df7
callq 0x20e0
movapd %xmm0, %xmm4
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
xorpd %xmm1, %xmm1
xorpd %xmm0, %xmm0
cmpq %rcx, %rax
je 0x6e59
movq %rcx, %rdx
subq %rax, %rdx
sarq %rdx
movq %rdx, %xmm0
punpckldq 0x11ef(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x11f7(%rip), %xmm0     # 0x8020
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
xorpd %xmm0, %xmm0
movsbl 0x1(%rax), %edx
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
mulsd %xmm3, %xmm3
divsd %xmm2, %xmm3
addsd %xmm3, %xmm0
addq $0x2, %rax
cmpq %rcx, %rax
jne 0x6e39
ucomisd %xmm1, %xmm0
jb 0x6e68
xorps %xmm1, %xmm1
sqrtsd %xmm0, %xmm1
jmp 0x6e7b
movsd %xmm4, -0x10(%rbp)
callq 0x20e0
movsd -0x10(%rbp), %xmm4
movapd %xmm0, %xmm1
movapd %xmm4, %xmm0
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, -0x18(%rbp)
movq %rsi, %r14
movq %rdi, %rbx
callq 0x731e
movsd -0x18(%rbp), %xmm1
movl 0x18(%r14), %eax
movl %eax, 0x18(%rbx)
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0x6ff6
movq (%rbx), %rdx
movsbl (%rax), %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %esi
cmpl $0x7f, %esi
jl 0x6fe8
movl $0x7f, %esi
movb %sil, (%rdx)
incq %rax
incq %rdx
cmpq %rcx, %rax
jne 0x6fcc
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x7758
movl 0x18(%r14), %eax
movl %eax, 0x18(%rbx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
movq (%rbx), %rdx
movq %r15, %rcx
callq 0x7d5d
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x70d2
callq 0x2120
movq %r14, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0x350, %rsp            # imm = 0x350
leaq 0xf8(%rsp), %rbx
movq $0x2, -0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x40(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2ca0
leaq 0x3a7b(%rip), %rsi      # 0x61ca
leaq 0x148(%rsp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x2250
movq %rsp, %rsi
movq $0x0, 0x8(%rsi)
leaq 0xf0(%rsp), %rax
movq %rax, (%rsi)
leaq 0x1c3(%rip), %rax       # 0x2944
movq %rax, 0x18(%rsi)
leaq 0x1ee(%rip), %rax       # 0x297a
movq %rax, 0x10(%rsi)
leaq 0x40(%rsp), %rdi
callq 0x29a0
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x27b1
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x20(%rsp), %rdi
movq %r14, (%rdi)
movb $0x1, 0x9(%rdi)
callq 0x42f8
leaq 0x30(%rsp), %rdx
movq $0x0, (%rdx)
movw $0x0, 0x8(%rdx)
leaq 0x40(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x2a40
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2804
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x2e16
movq -0x10(%r14), %rax
testq %rax, %rax
je 0x2829
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x148(%rsp), %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x2e6e
xorl %eax, %eax
addq $0x350, %rsp            # imm = 0x350
popq %rbx
popq %r14
popq %r15
retq
jmp 0x284f
movq %rax, %rdi
callq 0x2c94
movq %rdx, %r15
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x2890
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2890
jmp 0x284f
movq %rdx, %r15
movq %rax, %r14
jmp 0x289d
movq %rdx, %r15
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x2c4c
leaq 0x148(%rsp), %rdi
callq 0x2050
cmpl $0x1, %r15d
jne 0x292f
movq %r14, %rdi
callq 0x2090
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq 0x672e(%rip), %rdi      # 0x8ff0
movq %rax, %rsi
callq 0x2160
movq %rax, %r15
leaq 0x3902(%rip), %rsi      # 0x61d6
movl $0x4, %edx
movq %rax, %rdi
callq 0x2190
movq 0x10(%r14), %rsi
movq %r15, %rdi
callq 0x20f0
movq %rax, %r15
leaq 0x38e4(%rip), %rsi      # 0x61db
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0x20f0
movq %rax, %rdi
callq 0x20b0
callq 0x2200
jmp 0x2836
movq %rax, %r14
jmp 0x292f
movq %rax, %r14
callq 0x2200
movq %rbx, %rdi
callq 0x2e6e
movq %r14, %rdi
callq 0x2220
jmp 0x284f
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1aa7
movq 0x8(%rbx), %rdi
leaq 0x1728(%rip), %rsi      # 0x3106
callq 0x1100
movq 0x10(%rbx), %r14
movq 0x18(%rbx), %rbx
movq %rax, %rdi
callq 0x1da0
movq %rax, %r15
movq %rsp, %r13
xorl %r12d, %r12d
movq %r13, %rdi
leaq 0x1702(%rip), %rsi      # 0x3108
movq %r14, %rdx
movl %r12d, %ecx
movq %rbx, %r8
xorl %eax, %eax
callq 0x1040
movq %rbx, %rdi
leaq 0x16f0(%rip), %rsi      # 0x3110
callq 0x1140
testl %eax, %eax
je 0x1a5e
movq %rbx, %rdi
leaq 0x16e3(%rip), %rsi      # 0x3116
callq 0x1140
testl %eax, %eax
jne 0x1ab6
movq %r13, %rdi
leaq 0x16d4(%rip), %rsi      # 0x311a
callq 0x1100
movq %rax, %rbp
movq %r15, %rdi
movl %r12d, %esi
movq %rax, %rdx
callq 0x168c
jmp 0x1a7e
movq %r13, %rdi
leaq 0x16ac(%rip), %rsi      # 0x3114
callq 0x1100
movq %rax, %rbp
movq %r15, %rdi
movl %r12d, %esi
movq %rax, %rdx
callq 0x139c
movq %rbp, %rdi
callq 0x10c0
incl %r12d
cmpl $0x7, %r12d
jne 0x19fc
xorl %eax, %eax
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x11f0
movl $0x1, %eax
jmp 0x1a95
movq %rbx, %rdi
callq 0x120e
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, 0x4(%rsp)
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2060
movl %eax, 0x28(%rbx)
testl %eax, %eax
jns 0x2744
movq 0x28e4(%rip), %r14      # 0x4fd8
leaq 0x9a3(%rip), %rsi       # 0x309e
movl $0x14, %edx
movq %r14, %rdi
callq 0x21a0
callq 0x2040
movl (%rax), %esi
movq %r14, %rdi
callq 0x2200
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movl 0x28(%rbx), %eax
leaq 0x4(%rsp), %rcx
movl %eax, %edi
movl $0x1, %esi
movl $0x2, %edx
movl $0x4, %r8d
callq 0x2220
movl 0x28(%rbx), %edi
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2110
leaq 0x8(%rbx), %rsi
movq $0x53220002, 0x8(%rbx)  # imm = 0x53220002
movl 0x28(%rbx), %edi
movl $0x10, %edx
callq 0x2050
testl %eax, %eax
jns 0x27e5
movq 0x2840(%rip), %rbx      # 0x4fd8
leaq 0x8ff(%rip), %rsi       # 0x309e
movl $0x14, %edx
movq %rbx, %rdi
callq 0x21a0
callq 0x2040
movl (%rax), %esi
movq %rbx, %rdi
callq 0x2200
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/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
movl $0x38, %edi
callq 0x2170
movl 0x8(%rbx), %ecx
leaq 0x2503(%rip), %rdx      # 0x4d18
movq %rdx, (%rax)
movl %ecx, 0x18(%rax)
movq %rax, 0x2ef0(%rbx)
movq %rbx, 0x20(%rax)
movq %rax, %rdi
callq 0x2628
leaq 0xc(%rbx), %r14
movq %rsp, %r15
leaq 0x20(%rsp), %r12
movl 0x8(%rbx), %edi
movq %r14, %rsi
movl $0x3e8, %edx            # imm = 0x3E8
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x20e0
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
testl %eax, %eax
jle 0x283a
movl %eax, %eax
shlq $0x2, %rax
leaq (%rax,%rax,2), %r13
xorl %ebp, %ebp
movq 0x10(%rbx,%rbp), %rdi
movq %rdi, 0x20(%rsp)
movl 0xc(%rbx,%rbp), %esi
callq 0x2498
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x289e
movq 0x20(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rsp)
jmp 0x28a9
movq %r15, %rdi
movq %r12, %rdx
callq 0x2b18
addq $0xc, %rbp
cmpq %rbp, %r13
jne 0x286f
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x28e1
xorl %r13d, %r13d
movq (%rdi,%r13,8), %rdi
callq 0x2488
incq %r13
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %r13, %rax
ja 0x28c0
testq %rdi, %rdi
je 0x283a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
jmp 0x283a
jmp 0x28fe
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2917
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2180
movq %rbx, %rdi
callq 0x2210
nop
// File: /workspace/github_cpp_makefile_star2_O3/shijiajia[P]TinyMudo/./Acceptor.h
// Function: TinyMuduo::Acceptor::HandleEvent()
virtual void HandleEvent()
	{
		std::cout<<"Acceptor::HandleEvent()"<<std::endl;
		struct sockaddr_in cliaddr;
		socklen_t clilen=sizeof(cliaddr);
		memset(&cliaddr,0,sizeof(cliaddr));
		int connFd=accept(m_nListenFd,(struct sockaddr *)&cliaddr,&clilen);
		if(connFd<0) std::cout<<"Accept failed errno:"<<errno<<std::endl;
		else
		{
			std::cout << "new connection from " 
	                     << "[" << inet_ntoa(cliaddr.sin_addr) 
	                     << ":" << ntohs(cliaddr.sin_port) << "]" 
	                     << " accept socket fd:" << connFd 
	                     << std::endl;
	        fcntl(connFd,F_SETFL,O_NONBLOCK);
	        m_pIAcceptorCallBack->NewConnection(connFd);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x26a4(%rip), %r14      # 0x4fd8
leaq 0x7ab(%rip), %rsi       # 0x30e6
movl $0x17, %edx
movq %r14, %rdi
callq 0x21a0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
leaq 0xc(%rsp), %rdx
movl $0x10, (%rdx)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movaps %xmm0, (%rsi)
movl 0x28(%rbx), %edi
callq 0x2080
testl %eax, %eax
js 0x29ef
movl %eax, %ebp
movq 0x263e(%rip), %r14      # 0x4fd8
leaq 0x772(%rip), %rsi       # 0x3113
movl $0x14, %edx
movq %r14, %rdi
callq 0x21a0
leaq 0x773(%rip), %rsi       # 0x3128
movl $0x1, %edx
movq %r14, %rdi
callq 0x21a0
movl 0x14(%rsp), %edi
callq 0x20d0
testq %rax, %rax
je 0x2a48
movq %rax, %r15
movq %rax, %rdi
callq 0x20c0
movq 0x25f6(%rip), %rdi      # 0x4fd8
movq %r15, %rsi
movq %rax, %rdx
callq 0x21a0
jmp 0x2a60
movq 0x25e2(%rip), %rbx      # 0x4fd8
leaq 0x701(%rip), %rsi       # 0x30fe
movl $0x14, %edx
movq %rbx, %rdi
callq 0x21a0
callq 0x2040
movl (%rax), %esi
movq %rbx, %rdi
callq 0x2200
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
jmp 0x2b0c
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x21f0
movq 0x2571(%rip), %r14      # 0x4fd8
leaq 0x6cf(%rip), %rsi       # 0x313d
movl $0x1, %edx
movq %r14, %rdi
callq 0x21a0
movzwl 0x12(%rsp), %eax
rolw $0x8, %ax
movzwl %ax, %esi
movq %r14, %rdi
callq 0x2120
movq %rax, %r14
leaq 0x691(%rip), %rsi       # 0x312a
movl $0x1, %edx
movq %rax, %rdi
callq 0x21a0
leaq 0x67f(%rip), %rsi       # 0x312c
movl $0x12, %edx
movq %r14, %rdi
callq 0x21a0
movq %r14, %rdi
movl %ebp, %esi
callq 0x2200
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movl %ebp, %edi
movl $0x4, %esi
movl $0x800, %edx            # imm = 0x800
xorl %eax, %eax
callq 0x2110
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movl %ebp, %esi
callq *(%rax)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/WilstonOreo[P]Log/./log/Log.hpp
// Function: Log::instance()
static Log* instance()
	{
		if (!_instance)
		{
			if (destroyed_) 
				onDeadReference();
			else 
				create();
		}
		return _instance;
	}

// Assembly:
movq 0x420d(%rip), %rax      # 0x7148
testq %rax, %rax
je 0x2f41
retq
pushq %rbx
movb 0x4208(%rip), %bl       # 0x7150
callq 0x31f8
movq 0x41f4(%rip), %rax      # 0x7148
cmpb $0x1, %bl
jne 0x2f78
movl $0x0, 0x8(%rax)
movl $0x1, (%rax)
movq 0x406b(%rip), %rcx      # 0x6fd8
movq %rcx, 0x20(%rax)
movb $0x0, 0x41d8(%rip)      # 0x7150
popq %rbx
retq