LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::init_cache_()
void init_cache_() {
        //assuming a dataframe is immutable, so nu pushbacks after the first get call.
        cache_ = new IntArray*[keys_->length()];
        for (size_t i = 0; i < keys_->length(); i++) {
            cache_[i] = nullptr;
        }
        return;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movq 0x18(%rax), %r15
movq %r15, %rax
shrq $0x3d, %rax
leaq (,%r15,8), %rcx
xorl %r14d, %r14d
negq %rax
movl $0x0, %edi
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x7030
movq %rax, 0x20(%rbx)
cmpq %r15, %r14
jae 0xd9df
movq 0x20(%rbx), %rax
andq $0x0, (%rax,%r14,8)
incq %r14
movq 0x38(%rbx), %rax
movq 0x18(%rax), %r15
jmp 0xd9c4
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::get_chunk_from_kv_(unsigned long)
IntArray* get_chunk_from_kv_(size_t key_idx) {
        if (cache_count_ >= max_cache_count) {
            reset_cache_();
        }
        Value* v = kv_->get(dynamic_cast<Key*>(keys_->get(key_idx))); //gets value of given key
        char* serlializedNode = v->data; 
        //std::cout << serlializedNode <<"\n";
        IntArray* doubleVals = new IntArray(serlializedNode); //turns payload into IntArray object
        cache_[key_idx] = doubleVals;
        cache_count_ += 1;
        return doubleVals;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x28(%rdi), %rax
cmpq 0x30(%rdi), %rax
jb 0xda0d
movq %rbx, %rdi
callq 0xda90
movq 0x10(%rbx), %r15
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xda40
leaq 0x1587e(%rip), %rsi     # 0x232a8
leaq 0x15d9f(%rip), %rdx     # 0x237d0
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %rsi
jmp 0xda42
xorl %esi, %esi
movq %r15, %rdi
callq 0xb84a
movq 0x10(%rax), %r12
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0xdad2
movq 0x20(%rbx), %rax
movq %r15, (%rax,%r14,8)
incq 0x28(%rbx)
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../store/../utils/array.h
// Function: IntArray::IntArray(char*)
IntArray(char* serialized) {
        char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
        this->arraySize_ = std::stoi(JSONHelper::getValueFromKey("arraySize_", payload)->c_str());
        this->listLength_ = std::stoi(JSONHelper::getValueFromKey("listLength_", payload)->c_str());
        char* vals = JSONHelper::getValueFromKey("vals_", payload)->c_str();
        IntArray* temp = new IntArray(this->listLength_);
        for(int i = 0; i < this->listLength_; i++) {
            temp->pushBack(std::stoi(JSONHelper::getArrayValueAt(vals, i)->c_str()));
        }
        //delete temp;
        this->vals_ = temp->vals_;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
andq $0x0, 0x8(%rdi)
leaq 0x16119(%rip), %rax     # 0x23c08
movq %rax, (%rdi)
movq %rdi, -0x38(%rbp)
andq $0x0, 0x18(%rdi)
movq %rsi, %rdi
callq 0xc014
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
leaq 0xa853(%rip), %rdi      # 0x18369
movq %rax, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x58(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq -0x38(%rbp), %rcx
movq %rax, 0x20(%rcx)
leaq -0x58(%rbp), %rdi
callq 0x7120
leaq 0xa90c(%rip), %rdi      # 0x1846b
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x58(%rbp), %rdi
leaq -0x29(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x58(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq -0x38(%rbp), %rbx
movq %rax, 0x18(%rbx)
leaq -0x58(%rbp), %rdi
callq 0x7120
leaq 0xa93d(%rip), %rdi      # 0x184e5
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movl 0x18(%rbx), %esi
movq %rax, %rdi
callq 0xd696
xorl %r12d, %r12d
leaq -0x58(%rbp), %r13
pushq $0xa
popq %rbx
movq -0x38(%rbp), %rax
cmpq %r12, 0x18(%rax)
jbe 0xdc34
movq %r15, %rdi
movl %r12d, %esi
callq 0xc4c8
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %r13, %rdi
movq %rax, %rsi
leaq -0x29(%rbp), %rdx
callq 0x70f0
movq %r13, %rdi
xorl %esi, %esi
movl %ebx, %edx
callq 0x771e
movq 0x10(%r14), %rcx
movq 0x18(%r14), %rdx
movl %eax, (%rcx,%rdx,4)
incq %rdx
movq %rdx, 0x18(%r14)
movq %r13, %rdi
callq 0x7120
incq %r12
jmp 0xdbdc
movq 0x10(%r14), %rax
movq -0x38(%rbp), %rcx
movq %rax, 0x10(%rcx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x7220
jmp 0xdc7b
jmp 0xdc68
jmp 0xdc78
jmp 0xdc68
jmp 0xdc78
jmp 0xdc78
jmp 0xdc78
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x7120
jmp 0xdc7b
jmp 0xdc78
movq %rax, %rbx
movq %rbx, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: IntColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    IntColumn* other_ic = dynamic_cast<IntColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    for(int i = 0; i < val_->length(); i++) {
      IntArray* ia = dynamic_cast<IntArray*>(val_->get(i));
      IntArray* other_ia = dynamic_cast<IntArray*>(other_ic->val_->get(i));
      for(int j = 0; j < ia->length(); j++) {
        if(ia->get(j) != other_ia->get(j)) {
          return false;
        }
      }
    }
    return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0xde65
movq %rdi, %r12
leaq 0x1554c(%rip), %rax     # 0x232a8
leaq 0x16405(%rip), %rdx     # 0x24168
xorl %r15d, %r15d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xde68
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0xc8(%rax)
movq %rax, %rbx
movq (%r12), %rax
movq %r12, %rdi
callq *0xc8(%rax)
cmpq %rax, %rbx
jne 0xde65
xorl %ebx, %ebx
leaq 0x154fb(%rip), %r15     # 0x232a8
leaq 0x15e94(%rip), %r13     # 0x23c48
movq %r12, -0x30(%rbp)
movq 0x10(%r12), %rdi
cmpq %rbx, 0x18(%rdi)
jbe 0xde7a
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xddea
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r12
jmp 0xdded
xorl %r12d, %r12d
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x40(%rax)
testq %rax, %rax
movq %rbx, -0x38(%rbp)
je 0xde18
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r13
jmp 0xde1b
xorl %r13d, %r13d
xorl %ebx, %ebx
cmpq %rbx, 0x18(%r12)
jbe 0xde47
movq %r12, %rdi
movq %rbx, %rsi
callq 0xb4cc
movl %eax, %r15d
movq %r13, %rdi
movq %rbx, %rsi
callq 0xb4cc
incq %rbx
cmpl %eax, %r15d
je 0xde1d
jmp 0xde65
movq -0x38(%rbp), %rbx
incq %rbx
movq -0x30(%rbp), %r12
leaq 0x1544f(%rip), %r15     # 0x232a8
leaq 0x15de8(%rip), %r13     # 0x23c48
jmp 0xddb8
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %r15b
jmp 0xde68
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: IntColumn::hash_me()
size_t hash_me() {
    size_t hash = 0;
    for(int i = 0; i < val_->length(); i++) {
      IntArray* ia = dynamic_cast<IntArray*>(val_->get(i));
      for(int j = 0; j < ia->length(); j++) {
        hash += ia->get(j);
      }
    }
    return hash;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x10(%rbx), %rdi
cmpq %r14, 0x18(%rdi)
jbe 0xdef2
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xdecc
movq %rax, %rdi
leaq 0x153ef(%rip), %rsi     # 0x232a8
leaq 0x15d88(%rip), %rdx     # 0x23c48
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r15
jmp 0xdecf
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq %r12, 0x18(%r15)
jbe 0xdeed
movq %r15, %rdi
movq %r12, %rsi
callq 0xb4cc
cltq
addq %rax, %r13
incq %r12
jmp 0xded2
incq %r14
jmp 0xde97
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: IntColumn::serialize()
char* serialize() {
    Serializable* sb = new Serializable();
    sb->initSerialize("IntColumn");
    sb->write("listLength_", listLength_);
    sb->write("arraySize_", arraySize_);
    sb->write("metaArrayStartSize__", metaArrayStartSize_);
    char * seralizedArr = val_->serialize();
    sb->write("val_", seralizedArr, false);
    sb->endSerialize();
    char* value = sb->get();
    delete sb;
    return value;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
pushq $0x8
popq %rdi
callq 0x7250
movq %rax, %rbx
movq %rax, %rdi
callq 0x7fa0
leaq 0xa76c(%rip), %rsi      # 0x18694
movq %rbx, %rdi
callq 0x7fd8
movl 0x18(%r14), %edx
leaq 0xa530(%rip), %rsi      # 0x1846b
movq %rbx, %rdi
callq 0x801c
movl 0x1c(%r14), %edx
leaq 0xa41b(%rip), %rsi      # 0x18369
movq %rbx, %rdi
callq 0x801c
movl 0x20(%r14), %edx
leaq 0xa6c0(%rip), %rsi      # 0x18621
movq %rbx, %rdi
callq 0x801c
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xa483(%rip), %rsi      # 0x183fd
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa4a2
movq %rbx, %rdi
callq 0x80a8
movq %rbx, %rdi
callq 0x80bc
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xdfa8
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7220
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7220
movq %r14, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: IntColumn::push_back(int)
void push_back(int val) {
    if (listLength_  >= ((arraySize_* val_->length()))) {
      val_->pushBack(new IntArray(arraySize_));
    }
    int array_index = listLength_ / arraySize_;
    IntArray* ia = dynamic_cast<IntArray*>(val_->get(array_index));
    ia->pushBack(val);
    listLength_++;

  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
movslq 0x18(%rdi), %rax
movslq 0x1c(%rdi), %r12
movq 0x10(%rdi), %r15
movq %r12, %rcx
imulq 0x18(%r15), %rcx
cmpq %rax, %rcx
ja 0xe078
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r13
movq %rax, %rdi
movl %r12d, %esi
callq 0xd696
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
callq *0x58(%rax)
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %r12d
movq 0x10(%rbx), %r15
cltd
idivl %r12d
movslq %eax, %rsi
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
leaq 0x15219(%rip), %rsi     # 0x232a8
leaq 0x15bb2(%rip), %rdx     # 0x23c48
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x72a0
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movl %r14d, (%rcx,%rdx,4)
incq %rdx
movq %rdx, 0x18(%rax)
incl 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r13, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::pushBack(int)
void pushBack(int val) {
        //initialize first key
        if(itemCount_ % chunkSize_ == 0 && itemCount_ != 0) { //if current chunk is full..
            storeChunk(); //stores the previous chunk values in the kv_store
            chunkArray_->pushBack(val);
        } else {
            chunkArray_->pushBack(val);
        }
        itemCount_ +=1;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movq 0x58(%rdi), %rcx
movq %rcx, %rax
xorl %edx, %edx
divq 0x48(%rdi)
testq %rcx, %rcx
je 0xe151
testq %rdx, %rdx
jne 0xe151
movq %rbx, %rdi
callq 0xe174
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movl %r14d, (%rcx,%rdx,4)
incq %rdx
movq %rdx, 0x18(%rax)
movq 0x58(%rbx), %rcx
jmp 0xe168
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rsi
movl %r14d, (%rdx,%rsi,4)
incq %rsi
movq %rsi, 0x18(%rax)
incq %rcx
movq %rcx, 0x58(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::storeChunk()
void storeChunk() {
        //creates a unique keyname based on provided ID - could be modified to randomly pick number?
        StrBuff sb;
        sb.c(uid_);
        sb.c("_dist_int_array_chunk_");
        sb.c(chunkCount_);
        String* s = sb.get();
        Key* k = new Key(s->c_str(), curNode_); //create new key with current node and keyName
        keys_->pushBack(k);
        kv_->put(k, new Value(chunkArray_->serialize(), (size_t)0)); //adds new IntArray to kvStore
        //std::cout << "in store chunk\n";
        delete chunkArray_;
        chunkArray_ = new IntArray(chunkSize_); //creates new Int array to store values for new chunk
        curNode_+=1;
        chunkCount_+=1;
        if(curNode_ == totalNodes_) { //starts cycle of chunks on nodes again
            curNode_ = 0;
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
leaq -0x48(%rbp), %r14
andq $0x0, 0x8(%r14)
movq %rdi, %rbx
leaq 0x1526a(%rip), %rax     # 0x23400
movq %rax, (%r14)
movq $0xa, 0x18(%r14)
pushq $0xa
popq %rdi
callq 0x7030
movq %rax, 0x10(%r14)
andq $0x0, 0x20(%r14)
movq 0x40(%rbx), %rsi
movq %r14, %rdi
callq 0xcd8c
leaq 0xa4d9(%rip), %rsi      # 0x1869e
movq %r14, %rdi
callq 0x8114
movq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0xcd8c
movq %r14, %rdi
callq 0x81d0
movq %rax, %r15
pushq $0x20
popq %rdi
callq 0x7250
movq %rax, %r14
movq (%r15), %rax
movq %r15, %rdi
callq *0x30(%rax)
movq 0x60(%rbx), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x851c
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x58(%rax)
movq 0x10(%rbx), %r12
pushq $0x20
popq %rdi
callq 0x7250
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
andq $0x0, 0x8(%r15)
leaq 0x15ab7(%rip), %rcx     # 0x23cf0
movq %rcx, (%r15)
movq %rax, 0x10(%r15)
andq $0x0, 0x18(%r15)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x98c0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xe262
movq (%rdi), %rax
callq *0x8(%rax)
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movl 0x48(%rbx), %esi
movq %rax, %rdi
callq 0xd696
movq %r14, 0x18(%rbx)
movq 0x60(%rbx), %rax
incq %rax
movq %rax, 0x60(%rbx)
incq 0x50(%rbx)
cmpq 0x68(%rbx), %rax
jne 0xe296
andq $0x0, 0x60(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe2ad
movq %rax, %rbx
movq %r15, %r14
jmp 0xe2b0
movq %rax, %rbx
movq %r14, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::StringDistributedArray(KVStore*)
StringDistributedArray(KVStore* kv) {
        kv_ = kv;
        totalNodes_ = kv->num_nodes_;
        srand(time(nullptr));
        uid_ = rand();
        curNode_ = 0;
        itemCount_ = 0;
        chunkCount_ = 0;
        keys_ = new Array();
        chunkArray_ = new StringArray(chunkSize_);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
leaq 0x15fba(%rip), %rax     # 0x24290
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movq $0x32, 0x30(%rdi)
movq $0x400, 0x48(%rdi)      # imm = 0x400
movq %rsi, 0x10(%rdi)
movq 0x10(%rsi), %rax
movq %rax, 0x68(%rdi)
xorl %edi, %edi
callq 0x7210
movl %eax, %edi
callq 0x7230
callq 0x70a0
cltq
movq %rax, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
andq $0x0, 0x60(%rbx)
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movq %rax, %rdi
callq 0x869c
movq %r14, 0x38(%rbx)
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movl 0x48(%rbx), %esi
movq %rax, %rdi
callq 0xe688
movq %r14, 0x18(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
jmp 0xe359
movq %rax, %rbx
movq %r14, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedStringColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    DistributedStringColumn* other_ic = dynamic_cast<DistributedStringColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    StringDistributedArray* other_val_ = dynamic_cast<StringDistributedArray*>(other_ic->val_);
    return this->val_->equals(other_val_);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0xe3e6
movq %rdi, %rbx
leaq 0x14f19(%rip), %rax     # 0x232a8
leaq 0x15ed2(%rip), %rdx     # 0x24268
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xe3e6
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0xc8(%rax)
movq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
callq *0xc8(%rax)
cmpq %rax, %r15
jne 0xe3e6
movq 0x18(%r14), %rsi
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedStringColumn::serialize()
char* serialize() {
    Serializable* sb = new Serializable();
    sb->initSerialize("DistributedStringColumn");
    char * seralizedArr = val_->serialize();
    sb->write("val_", seralizedArr, false);
    sb->endSerialize();
    char* value = sb->get();
    delete sb;
    return value;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
pushq $0x8
popq %rdi
callq 0x7250
movq %rax, %rbx
movq %rax, %rdi
callq 0x7fa0
leaq 0xa303(%rip), %rsi      # 0x1872b
movq %rbx, %rdi
callq 0x7fd8
movq 0x18(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0x9fbc(%rip), %rsi      # 0x183fd
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa4a2
movq %rbx, %rdi
callq 0x80a8
movq %rbx, %rdi
callq 0x80bc
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xe46f
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7220
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7220
movq %r14, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedStringColumn::getColumnOnNode()
Column* getColumnOnNode() override {
    size_t _node = kv_->this_node_;
    StringColumn* col = new StringColumn();
    Array* keys = val_->keys_;
    // std::cout << "keys length: " << keys->length() << "\n";
    for (size_t i = 0; i < keys->length(); i++) {
      Key* key = dynamic_cast<Key*>(val_->keys_->get(i));
      if (key->node_ == _node) { //only get the chunks that live locally on this node.
        // std::cout << "here\n";
        Value* val = kv_->get(key);
        Deserializable ds;
        StringArray* chunk = dynamic_cast<StringArray*>(ds.deserialize(val->data));
        for (size_t j = 0; j < chunk->length(); j++) {
          col->push_back(chunk->get(j));
        }
        delete chunk;
      }
    }
    //if node 0, append the chunk_array_ at the end too.
    if (_node == 0) {
      StringArray* chunk_array = val_->chunkArray_;
      for (size_t j = 0; j < chunk_array->length(); j++) {
          col->push_back(chunk_array->get(j));
      }
    }
    return col;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r12
movq 0x10(%rdi), %rax
movq 0x18(%rax), %r14
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %rbx
movq %rax, %rdi
callq 0xeea6
movq 0x18(%r12), %rax
movq 0x38(%rax), %r13
xorl %r15d, %r15d
movq %r12, -0x40(%rbp)
movq %r13, -0x38(%rbp)
cmpq 0x18(%r13), %r15
jae 0xe5e2
movq 0x18(%r12), %rax
movq 0x38(%rax), %rdi
movq (%rdi), %rax
movq %r15, %rsi
callq *0x40(%rax)
movq %rax, %rdi
leaq 0x14d5b(%rip), %rsi     # 0x232a8
leaq 0x1527c(%rip), %rdx     # 0x237d0
xorl %ecx, %ecx
callq 0x72a0
cmpq %r14, 0x18(%rax)
jne 0xe5da
movq 0x10(%r12), %rdi
movq %rax, %rsi
callq 0xb84a
movq 0x10(%rax), %rsi
leaq -0x29(%rbp), %rdi
callq 0x12f4c
testq %rax, %rax
je 0xe59d
movq %rax, %rdi
leaq 0x14d1e(%rip), %rsi     # 0x232a8
leaq 0x15da7(%rip), %rdx     # 0x24338
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r13
jmp 0xe5a0
xorl %r13d, %r13d
xorl %r12d, %r12d
cmpq 0x18(%r13), %r12
jae 0xe5c8
movq %r13, %rdi
movq %r12, %rsi
callq 0xea54
movq (%rbx), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq *0xb8(%rcx)
incq %r12
jmp 0xe5a3
movq (%r13), %rax
movq %r13, %rdi
callq *0x8(%rax)
movq -0x40(%rbp), %r12
movq -0x38(%rbp), %r13
incq %r15
jmp 0xe527
testq %r14, %r14
je 0xe5f9
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%r12), %rax
movq 0x18(%rax), %r14
xorl %r15d, %r15d
cmpq 0x18(%r14), %r15
jae 0xe5e7
movq %r14, %rdi
movq %r15, %rsi
callq 0xea54
movq (%rbx), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq *0xb8(%rcx)
incq %r15
jmp 0xe605
movq %rax, %r14
movq %rbx, %rdi
callq 0x7220
movq %r14, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::equals(Object*)
bool equals(Object * o) {
      if ( o == nullptr) return false;
        StringDistributedArray *s = dynamic_cast<StringDistributedArray*>(o);
        if(s == nullptr) return false;
        if(itemCount_ != s->itemCount_) return false;
        for(int i = 0; i < itemCount_; i++) {
            bool sameInt = s->get(i)->equals(get(i));
            if(!sameInt) {
                return false;
            }
        }
        return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0xe75a
movq %rdi, %rbx
leaq 0x14bb3(%rip), %rax     # 0x232a8
leaq 0x15bd4(%rip), %rdx     # 0x242d0
xorl %r14d, %r14d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xe75d
movq %rax, %r15
movq 0x58(%rbx), %rax
cmpq 0x58(%r15), %rax
jne 0xe75a
xorl %r12d, %r12d
cmpq %r12, 0x58(%rbx)
setbe %r14b
jbe 0xe75d
movq %r15, %rdi
movq %r12, %rsi
callq 0xeb28
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0xeb28
movq (%r13), %rcx
movq %r13, %rdi
movq %rax, %rsi
callq *0x18(%rcx)
incq %r12
testb %al, %al
jne 0xe721
jmp 0xe75d
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::hash_me()
size_t hash_me() {
      size_t temp = 0;
      for(int i = 0; i < itemCount_; i++) {
          temp *= get(i)->hash();
      }
      return temp;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
cmpq %r14, 0x58(%rbx)
jbe 0xe79c
movq %rbx, %rdi
movq %r14, %rsi
callq 0xeb28
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
incq %r14
jmp 0xe77d
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../store/../utils/array.h
// Function: StringArray::equals(Object*)
bool equals(Object * o) {
      if ( o == nullptr) return false;
        StringArray *b = dynamic_cast<StringArray*>(o);
        if(b == nullptr) return false;
        if(listLength_ != b->listLength_) return false;
        for(int i = 0; i < listLength_; i++) {
            bool sameString = b->get(i)->equals(get(i));
            if(!sameString) {
                return false;
            }
        }
        return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0xe980
movq %rdi, %rbx
leaq 0x1498d(%rip), %rax     # 0x232a8
leaq 0x15a16(%rip), %rdx     # 0x24338
xorl %r14d, %r14d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xe983
movq %rax, %r15
movq 0x18(%rbx), %rax
cmpq 0x18(%r15), %rax
jne 0xe980
xorl %r12d, %r12d
cmpq %r12, 0x18(%rbx)
setbe %r14b
jbe 0xe983
movq %r15, %rdi
movq %r12, %rsi
callq 0xea54
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0xea54
movq (%r13), %rcx
movq %r13, %rdi
movq %rax, %rsi
callq *0x18(%rcx)
incq %r12
testb %al, %al
jne 0xe947
jmp 0xe983
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../store/../utils/array.h
// Function: StringArray::serialize()
char* serialize() {
        Serializable* sb = new Serializable();
        sb->initSerialize("StringArray");
        sb->write("listLength_", listLength_);
        sb->write("arraySize_", arraySize_);
        sb->write("vals_", vals_, listLength_);
        sb->endSerialize();
        char* value = sb->get();
        delete sb;
        return value;
     }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
pushq $0x8
popq %rdi
callq 0x7250
movq %rax, %rbx
movq %rax, %rdi
callq 0x7fa0
leaq 0x9d0c(%rip), %rsi      # 0x186d6
movq %rbx, %rdi
callq 0x7fd8
movq 0x18(%r14), %rdx
leaq 0x9a8e(%rip), %rsi      # 0x1846b
movq %rbx, %rdi
callq 0x8062
movq 0x20(%r14), %rdx
leaq 0x9979(%rip), %rsi      # 0x18369
movq %rbx, %rdi
callq 0x8062
movq 0x10(%r14), %rdx
movl 0x18(%r14), %ecx
leaq 0x9ade(%rip), %rsi      # 0x184e5
movq %rbx, %rdi
callq 0xea86
movq %rbx, %rdi
callq 0x80a8
movq %rbx, %rdi
callq 0x80bc
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xea30
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7220
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7220
movq %r14, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../serialize/serial.h
// Function: Serializable::write(char const*, String**, int)
void write(const char* name, String** val, int len) {
        char str[1000];
        sprintf(str, "'%s' : [ ", name);
        buff->c(str);
        for(int i = 0; i < len; i++) {
            sprintf(str, "'%s',", val[i]->c_str());
            buff->c(str);
        }
        buff->c("], ");
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %rdx
movq %rdi, %r15
leaq 0x98ce(%rip), %rsi      # 0x1837a
xorl %r13d, %r13d
leaq -0x410(%rbp), %r12
movq %r12, %rdi
xorl %eax, %eax
callq 0x7080
movq (%r15), %rdi
movq %r12, %rsi
callq 0x8114
testl %ebx, %ebx
cmovlel %r13d, %ebx
xorl %r13d, %r13d
cmpq %r13, %rbx
je 0xeb07
movq (%r14,%r13,8), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq %r12, %rdi
leaq 0x9bf5(%rip), %rsi      # 0x186e2
movq %rax, %rdx
xorl %eax, %eax
callq 0x7080
movq (%r15), %rdi
movq %r12, %rsi
callq 0x8114
incq %r13
jmp 0xead4
movq (%r15), %rdi
leaq 0x9877(%rip), %rsi      # 0x18388
callq 0x8114
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::get(unsigned long)
String* get(size_t index) {
        assert(index < itemCount_);
        //std::cout << "in get " << index <<"\n";
        if (cache_ == nullptr) {
            init_cache_();
        }
        String* res;
        if(index/chunkSize_ == chunkCount_) {
            res = chunkArray_->get(index % chunkSize_);
        } else {

            size_t key_idx = floor((index/chunkSize_));
            //std::cout << "key index: " << key_idx << "\n";
            //std::cout << key
            StringArray* doubleVals;
            if (cache_[key_idx] != nullptr) {
                //std::cout << "get chunk from cache\n";
                doubleVals = cache_[key_idx];
            } else {
                //std::cout << "get chunk from kv\n";
                doubleVals = get_chunk_from_kv_(key_idx);
            }
            res = doubleVals->get(index % chunkSize_);
        }
        //std::cout << "res: " << res << "\n";
        return res; //returns int at correct index in array at this chunk
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
cmpq %rsi, 0x58(%rdi)
jbe 0xebd6
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x20(%rdi)
jne 0xeb4e
movq %r14, %rdi
callq 0xebf6
movq 0x48(%r14), %rcx
movq %rbx, %rax
xorl %edx, %edx
divq %rcx
cmpq 0x50(%r14), %rax
jne 0xeb66
movq 0x18(%r14), %rdi
jmp 0xebc2
movq %rax, %xmm0
punpckldq 0x94ed(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x94f5(%rip), %xmm0     # 0x18070
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rdx
subsd 0x94f1(%rip), %xmm1     # 0x18088
sarq $0x3f, %rdx
cvttsd2si %xmm1, %rsi
andq %rdx, %rsi
orq %rax, %rsi
movq 0x20(%r14), %rax
movq (%rax,%rsi,8), %rdi
testq %rdi, %rdi
jne 0xebc2
movq %r14, %rdi
callq 0xec5a
movq %rax, %rdi
movq 0x48(%r14), %rcx
movq %rbx, %rax
xorl %edx, %edx
divq %rcx
movq %rdx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0xea54
leaq 0x9926(%rip), %rdi      # 0x18503
leaq 0x9932(%rip), %rsi      # 0x18516
leaq 0x9afd(%rip), %rcx      # 0x186e8
movl $0x1f6, %edx            # imm = 0x1F6
callq 0x7170
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::init_cache_()
void init_cache_() {
        //assuming a dataframe is immutable, so nu pushbacks after the first get call.
        cache_ = new StringArray*[keys_->length()];
        for (size_t i = 0; i < keys_->length(); i++) {
            cache_[i] = nullptr;
        }
        return;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movq 0x18(%rax), %r15
movq %r15, %rax
shrq $0x3d, %rax
leaq (,%r15,8), %rcx
xorl %r14d, %r14d
negq %rax
movl $0x0, %edi
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x7030
movq %rax, 0x20(%rbx)
cmpq %r15, %r14
jae 0xec4f
movq 0x20(%rbx), %rax
andq $0x0, (%rax,%r14,8)
incq %r14
movq 0x38(%rbx), %rax
movq 0x18(%rax), %r15
jmp 0xec34
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::get_chunk_from_kv_(unsigned long)
StringArray* get_chunk_from_kv_(size_t key_idx) {
        if (cache_count_ >= max_cache_count) {
            reset_cache_();
        }
        Value* v = kv_->get(dynamic_cast<Key*>(keys_->get(key_idx))); //gets value of given key
        char* serlializedNode = v->data; 
        //std::cout << serlializedNode <<"\n";
        StringArray* doubleVals = new StringArray(serlializedNode); //turns payload into IntArray object
        cache_[key_idx] = doubleVals;
        cache_count_ += 1;
        return doubleVals;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x28(%rdi), %rax
cmpq 0x30(%rdi), %rax
jb 0xec7d
movq %rbx, %rdi
callq 0xed00
movq 0x10(%rbx), %r15
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xecb0
leaq 0x1460e(%rip), %rsi     # 0x232a8
leaq 0x14b2f(%rip), %rdx     # 0x237d0
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %rsi
jmp 0xecb2
xorl %esi, %esi
movq %r15, %rdi
callq 0xb84a
movq 0x10(%rax), %r12
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0xed42
movq 0x20(%rbx), %rax
movq %r15, (%rax,%r14,8)
incq 0x28(%rbx)
movq %r15, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../store/../utils/array.h
// Function: StringArray::StringArray(char*)
StringArray(char* serialized) {
        char* payload = JSONHelper::getPayloadValue(serialized)->c_str();
        this->arraySize_ = std::stoi(JSONHelper::getValueFromKey("arraySize_", payload)->c_str());
        this->listLength_ = std::stoi(JSONHelper::getValueFromKey("listLength_", payload)->c_str());
        char* vals = JSONHelper::getValueFromKey("vals_", payload)->c_str();
        StringArray* temp = new StringArray(this->listLength_);
        for(int i = 0; i < this->listLength_; i++) {
            temp->pushBack(JSONHelper::getArrayValueAt(vals, i));
        }
        //delete temp;
        this->vals_ = temp->vals_;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
leaq 0x15598(%rip), %rax     # 0x242f8
movq %rax, (%rdi)
andq $0x0, 0x18(%rdi)
movq %rsi, %rdi
callq 0xc014
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
leaq 0x95e6(%rip), %rdi      # 0x18369
movq %rax, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x20(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x96a3(%rip), %rdi      # 0x1846b
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x48(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x18(%rbx)
leaq -0x48(%rbp), %rdi
callq 0x7120
leaq 0x96d8(%rip), %rdi      # 0x184e5
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movl 0x18(%rbx), %esi
movq %rax, %rdi
callq 0xe688
xorl %r12d, %r12d
cmpq %r12, 0x18(%rbx)
jbe 0xee63
movq %r15, %rdi
movl %r12d, %esi
callq 0xc4c8
movq 0x10(%r14), %rcx
movq 0x18(%r14), %rdx
movq %rax, (%rcx,%rdx,8)
incq %rdx
movq %rdx, 0x18(%r14)
incq %r12
jmp 0xee3a
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x7220
jmp 0xee9e
jmp 0xee89
jmp 0xee9b
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x7120
jmp 0xee9e
jmp 0xee9b
jmp 0xee9b
movq %rax, %rbx
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: StringColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    StringColumn* other_ic = dynamic_cast<StringColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    for(int i = 0; i < val_->length(); i++) {
      StringArray* ia = dynamic_cast<StringArray*>(val_->get(i));
      StringArray* other_ia = dynamic_cast<StringArray*>(other_ic->val_->get(i));
      for(int j = 0; j < ia->length(); j++) {
        if(!ia->get(j)->equals(other_ia->get(j))) {
          return false;
        }
      }
    }
    return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0xf08c
movq %rdi, %rbx
leaq 0x1432a(%rip), %rax     # 0x232a8
leaq 0x154b3(%rip), %rdx     # 0x24438
xorl %r15d, %r15d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xf08f
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0xc8(%rax)
movq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
callq *0xc8(%rax)
cmpq %rax, %r15
jne 0xf08c
xorl %r15d, %r15d
leaq 0x142d9(%rip), %r13     # 0x232a8
movq %rbx, -0x30(%rbp)
movq 0x10(%rbx), %rdi
cmpq %r15, 0x18(%rdi)
jbe 0xf0a1
movq (%rdi), %rax
movq %r15, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xf008
movq %rax, %rdi
movq %r13, %rsi
leaq 0x1533c(%rip), %rdx     # 0x24338
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r12
jmp 0xf00b
xorl %r12d, %r12d
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %r15, %rsi
callq *0x40(%rax)
testq %rax, %rax
movq %r15, -0x38(%rbp)
je 0xf03a
movq %rax, %rdi
movq %r13, %rsi
leaq 0x1530a(%rip), %rdx     # 0x24338
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r13
jmp 0xf03d
xorl %r13d, %r13d
xorl %r15d, %r15d
cmpq %r15, 0x18(%r12)
jbe 0xf075
movq %r12, %rdi
movq %r15, %rsi
callq 0xea54
movq %rax, %rbx
movq %r13, %rdi
movq %r15, %rsi
callq 0xea54
movq (%rbx), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq *0x18(%rcx)
incq %r15
testb %al, %al
jne 0xf040
jmp 0xf08c
movq -0x38(%rbp), %r15
incq %r15
movq -0x30(%rbp), %rbx
leaq 0x14221(%rip), %r13     # 0x232a8
jmp 0xefd3
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %r15b
jmp 0xf08f
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: StringColumn::hash_me()
size_t hash_me() {
    size_t hash = 0;
    for(int i = 0; i < val_->length(); i++) {
      StringArray* fa = dynamic_cast<StringArray*>(val_->get(i));
      for(int j = 0; j < fa->length(); j++) {
        hash += fa->get(j)->hash_me();
      }
    }
    return hash;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x10(%rbx), %rdi
cmpq %r14, 0x18(%rdi)
jbe 0xf11f
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xf0f2
movq %rax, %rdi
leaq 0x141c9(%rip), %rsi     # 0x232a8
leaq 0x15252(%rip), %rdx     # 0x24338
xorl %ecx, %ecx
callq 0x72a0
movq %rax, %r15
jmp 0xf0f5
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq %r12, 0x18(%r15)
jbe 0xf11a
movq %r15, %rdi
movq %r12, %rsi
callq 0xea54
movq (%rax), %rcx
movq %rax, %rdi
callq *0x28(%rcx)
addq %rax, %r13
incq %r12
jmp 0xf0f8
incq %r14
jmp 0xf0bd
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: StringColumn::push_back(String*)
void push_back(String* val) {
    if (listLength_  >= ((arraySize_* val_->length()))) {
      val_->pushBack(new StringArray(arraySize_));
    }
    int array_index = listLength_ / arraySize_;
    StringArray* a = dynamic_cast<StringArray*>(val_->get(array_index));
    a->pushBack(val);
    listLength_++;

  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movslq 0x18(%rdi), %rax
movslq 0x1c(%rdi), %r12
movq 0x10(%rdi), %r15
movq %r12, %rcx
imulq 0x18(%r15), %rcx
cmpq %rax, %rcx
ja 0xf2be
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r13
movq %rax, %rdi
movl %r12d, %esi
callq 0xe688
movq (%r15), %rax
movq %r15, %rdi
movq %r13, %rsi
callq *0x58(%rax)
movl 0x18(%rbx), %eax
movl 0x1c(%rbx), %r12d
movq 0x10(%rbx), %r15
cltd
idivl %r12d
movslq %eax, %rsi
movq (%r15), %rax
movq %r15, %rdi
callq *0x40(%rax)
leaq 0x13fd3(%rip), %rsi     # 0x232a8
leaq 0x1505c(%rip), %rdx     # 0x24338
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x72a0
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movq %r14, (%rcx,%rdx,8)
incq %rdx
movq %rdx, 0x18(%rax)
incl 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r13, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::pushBack(String*)
void pushBack(String* val) {
        //initialize first key
        if(itemCount_ % chunkSize_ == 0 && itemCount_ != 0) { //if current chunk is full..
            storeChunk(); //stores the previous chunk values in the kv_store
            chunkArray_->pushBack(val);
        } else {
            chunkArray_->pushBack(val);
        }
        itemCount_ +=1;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x58(%rdi), %rcx
movq %rcx, %rax
xorl %edx, %edx
divq 0x48(%rdi)
testq %rcx, %rcx
je 0xf37f
testq %rdx, %rdx
jne 0xf37f
movq %rbx, %rdi
callq 0xf3a2
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movq %r14, (%rcx,%rdx,8)
incq %rdx
movq %rdx, 0x18(%rax)
movq 0x58(%rbx), %rcx
jmp 0xf396
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rsi
movq %r14, (%rdx,%rsi,8)
incq %rsi
movq %rsi, 0x18(%rax)
incq %rcx
movq %rcx, 0x58(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: StringDistributedArray::storeChunk()
void storeChunk() {
        //creates a unique keyname based on provided ID - could be modified to randomly pick number?
        StrBuff sb;
        sb.c(uid_);
        sb.c("_dist_string_array_chunk_");
        sb.c(chunkCount_);
        String* s = sb.get();
        Key* k = new Key(s->c_str(), curNode_); //create new key with current node and keyName
        keys_->pushBack(k);
        kv_->put(k, new Value(chunkArray_->serialize(), (size_t)0)); //adds new IntArray to kvStore
        delete chunkArray_;
        chunkArray_ = new StringArray(chunkSize_); 
        curNode_+=1;
        chunkCount_+=1;
        if(curNode_ == totalNodes_) { //starts cycle of chunks on nodes again
            curNode_ = 0;
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
leaq -0x48(%rbp), %r14
andq $0x0, 0x8(%r14)
movq %rdi, %rbx
leaq 0x1403c(%rip), %rax     # 0x23400
movq %rax, (%r14)
movq $0xa, 0x18(%r14)
pushq $0xa
popq %rdi
callq 0x7030
movq %rax, 0x10(%r14)
andq $0x0, 0x20(%r14)
movq 0x40(%rbx), %rsi
movq %r14, %rdi
callq 0xcd8c
leaq 0x9350(%rip), %rsi      # 0x18743
movq %r14, %rdi
callq 0x8114
movq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0xcd8c
movq %r14, %rdi
callq 0x81d0
movq %rax, %r15
pushq $0x20
popq %rdi
callq 0x7250
movq %rax, %r14
movq (%r15), %rax
movq %r15, %rdi
callq *0x30(%rax)
movq 0x60(%rbx), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x851c
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x58(%rax)
movq 0x10(%rbx), %r12
pushq $0x20
popq %rdi
callq 0x7250
movq %rax, %r15
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
andq $0x0, 0x8(%r15)
leaq 0x14889(%rip), %rcx     # 0x23cf0
movq %rcx, (%r15)
movq %rax, 0x10(%r15)
andq $0x0, 0x18(%r15)
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x98c0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xf490
movq (%rdi), %rax
callq *0x8(%rax)
pushq $0x28
popq %rdi
callq 0x7250
movq %rax, %r14
movl 0x48(%rbx), %esi
movq %rax, %rdi
callq 0xe688
movq %r14, 0x18(%rbx)
movq 0x60(%rbx), %rax
incq %rax
movq %rax, 0x60(%rbx)
incq 0x50(%rbx)
cmpq 0x68(%rbx), %rax
jne 0xf4c4
andq $0x0, 0x60(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf4db
movq %rax, %rbx
movq %r15, %r14
jmp 0xf4de
movq %rax, %rbx
movq %r14, %rdi
callq 0x7220
movq %rbx, %rdi
callq 0x7390
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedBoolColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    DistributedBoolColumn* other_ic = dynamic_cast<DistributedBoolColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    BoolDistributedArray* other_val_ = dynamic_cast<BoolDistributedArray*>(other_ic->val_);
    return this->val_->equals(other_val_);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0xf614
movq %rdi, %rbx
leaq 0x13ceb(%rip), %rax     # 0x232a8
leaq 0x14f74(%rip), %rdx     # 0x24538
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x72a0
testq %rax, %rax
je 0xf614
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0xc8(%rax)
movq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
callq *0xc8(%rax)
cmpq %rax, %r15
jne 0xf614
movq 0x18(%r14), %rsi
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedBoolColumn::serialize()
char* serialize() {
    Serializable* sb = new Serializable();
    sb->initSerialize("DistributedBoolColumn");
    char * seralizedArr = val_->serialize();
    sb->write("val_", seralizedArr, false);
    sb->endSerialize();
    char* value = sb->get();
    delete sb;
    return value;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
pushq $0x8
popq %rdi
callq 0x7250
movq %rax, %rbx
movq %rax, %rdi
callq 0x7fa0
leaq 0x9198(%rip), %rsi      # 0x187ee
movq %rbx, %rdi
callq 0x7fd8
movq 0x18(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0x8d8e(%rip), %rsi      # 0x183fd
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa4a2
movq %rbx, %rdi
callq 0x80a8
movq %rbx, %rdi
callq 0x80bc
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xf69d
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7220
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7220
movq %r14, %rdi
callq 0x7390