LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./network.h
// Function: Get::serialize()
char* serialize() {
        Serializable* sb = new Serializable();
        sb->initSerialize("Get");
        sb->write("kind_", (int)kind_);
        sb->write("sender_", sender_);
        sb->write("target_", target_);
        sb->write("id_", id_);
        char* serializedKey = key_->serialize();
        sb->write("key_", serializedKey, false);
        sb->endSerialize();
        char* value = sb->get();
        delete sb;
        return value;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x8, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0x80aa
leaq 0x111b9(%rip), %rsi     # 0x1d8ed
movq %rbx, %rdi
callq 0x810c
movl 0x10(%r14), %edx
leaq 0x10b2f(%rip), %rsi     # 0x1d276
movq %rbx, %rdi
callq 0x8178
movq 0x18(%r14), %rdx
leaq 0x10b22(%rip), %rsi     # 0x1d27c
movq %rbx, %rdi
callq 0x81e6
movq 0x20(%r14), %rdx
leaq 0x10b17(%rip), %rsi     # 0x1d284
movq %rbx, %rdi
callq 0x81e6
movq 0x28(%r14), %rdx
leaq 0x10e42(%rip), %rsi     # 0x1d5c2
movq %rbx, %rdi
callq 0x81e6
movq 0x30(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0x10c5a(%rip), %rsi     # 0x1d3f3
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq (%rbx), %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%r14)
movq (%rbx), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xc7ec
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7200
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../serialize/jsonHelper.h
// Function: JSONHelper::isObject(char*)
static bool isObject(char* s) {
        int len = strlen( s );
        char isObj = '{';
        for(int i = 0; i < len; i++) {
            char temp = s[i];
            if(temp == isObj) {
                return true;
            }
        }
        return false;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7100
testl %eax, %eax
setg %cl
jle 0xcde8
cmpb $0x7b, (%rbx)
je 0xcde8
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl $0x1, %edx
movq %rdx, %rcx
cmpq %rdx, %rax
je 0xcde2
leaq 0x1(%rcx), %rdx
cmpb $0x7b, (%rbx,%rcx)
jne 0xcdd0
cmpq %rax, %rcx
setb %cl
movl %ecx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../store/value.h
// Function: Value::hash()
size_t hash() {
        size_t hash = 0;
        for (size_t i = 0; i < strlen(data); ++i) {
            hash += data[i];
        }
        return hash;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rbx
movq %rbx, %rdi
callq 0x7100
testq %rax, %rax
je 0xce29
xorl %edx, %edx
xorl %ecx, %ecx
movsbq (%rbx,%rdx), %rsi
addq %rsi, %rcx
incq %rdx
cmpq %rdx, %rax
jne 0xce17
jmp 0xce2b
xorl %ecx, %ecx
movq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../store/value.h
// Function: Value::equals(Object*)
bool equals(Object* other) {
        if (other == this) return true;
        Value* x = dynamic_cast<Value *>(other);
        if (x == nullptr) return false;
        if (this->length != x->length) return false;
        return strncmp(data, x->data, length) == 0;
    }

// Assembly:
cmpq %rdi, %rsi
je 0xce66
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0xce69
leaq 0x1b3f8(%rip), %rax     # 0x28248
leaq 0x1bef1(%rip), %rdx     # 0x28d48
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
jmp 0xce6b
movb $0x1, %al
retq
xorl %eax, %eax
testq %rax, %rax
je 0xce8e
movq 0x18(%rbx), %rdx
cmpq 0x18(%rax), %rdx
jne 0xce8e
movq 0x10(%rbx), %rdi
movq 0x10(%rax), %rsi
callq 0x7120
testl %eax, %eax
sete %al
jmp 0xce90
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../store/value.h
// Function: Value::serialize()
char* serialize() {
        Serializable* sb = new Serializable();
        sb->initSerialize("Value");
        if(JSONHelper::isObject(data)) {
            sb->write("data", data, false);
        } else {
            sb->write("data", data);
        }
        sb->write("length", length);
        sb->endSerialize();
        char* value = sb->get();
        return value;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x8, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0x80aa
leaq 0x106e1(%rip), %rsi     # 0x1d59f
movq %rbx, %rdi
callq 0x810c
movq 0x10(%r14), %rdi
callq 0xcdac
movq 0x10(%r14), %rdx
leaq 0x106b9(%rip), %rsi     # 0x1d593
movq %rbx, %rdi
testb %al, %al
je 0xceea
xorl %ecx, %ecx
callq 0xa9d0
jmp 0xceef
callq 0x8576
movq 0x18(%r14), %rdx
leaq 0x1069e(%rip), %rsi     # 0x1d598
movq %rbx, %rdi
callq 0x81e6
movq (%rbx), %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%r14)
movq (%rbx), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
popq %rbx
popq %r14
popq %rbp
jmpq *0x30(%rcx)
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../serialize/jsonHelper.h
// Function: JSONHelper::endIndex(char*, char, int)
static int endIndex(char* s, char sym, int pos) {
        int len = strlen( s );
        char end = '}';
        int depth = 1;
        if(sym == '[') {
            end = ']';
        }
        //pull the class name from the serialzed string
        for (int i = pos+1; i < len; i++){
            char temp = s[i];
            if(temp == sym) {
                depth++;
            } else if(temp == end) {
                //full name has been discovered
                depth--;
                if(depth == 0) {
                    return i;
                }
            }
        }
        return -1;
        std::cout<<"ERROR: end not found\n";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r15d
movl %esi, %ebx
movq %rdi, %r14
callq 0x7100
xorl %ecx, %ecx
cmpb $0x5b, %bl
setne %cl
shll $0x5, %ecx
orl $0x5d, %ecx
movslq %r15d, %rdx
movslq %eax, %rsi
incq %rdx
movl $0x1, %edi
cmpq %rsi, %rdx
jge 0xcfb4
movsbl (%r14,%rdx), %r9d
cmpb %bl, %r9b
jne 0xcf97
incl %edi
movb $0x1, %r8b
jmp 0xcfaa
movb $0x1, %r8b
cmpl %r9d, %ecx
jne 0xcfaa
decl %edi
jne 0xcfaa
xorl %edi, %edi
xorl %r8d, %r8d
movl %edx, %eax
incq %rdx
testb %r8b, %r8b
jne 0xcf81
jmp 0xcfb9
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: DoubleColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    DoubleColumn* other_ic = dynamic_cast<DoubleColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    for(int i = 0; i < val_->length(); i++) {
      DoubleArray* ia = dynamic_cast<DoubleArray*>(val_->get(i));
      DoubleArray* other_ia = dynamic_cast<DoubleArray*>(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
pushq %rax
testq %rsi, %rsi
je 0xd3d7
movq %rdi, %rbx
leaq 0x1af73(%rip), %rax     # 0x28248
leaq 0x1bb6c(%rip), %rdx     # 0x28e48
xorl %r14d, %r14d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
testq %rax, %rax
je 0xd3da
movq %rax, %r15
movq (%rax), %rax
movq %r15, %rdi
callq *0xc8(%rax)
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0xc8(%rax)
cmpq %rax, %r14
jne 0xd3d7
movq 0x10(%rbx), %rdi
cmpq $0x0, 0x18(%rdi)
sete %r14b
je 0xd3da
xorl %r12d, %r12d
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xd35d
movq %rax, %rdi
leaq 0x1aefe(%rip), %rsi     # 0x28248
leaq 0x1b8a7(%rip), %rdx     # 0x28bf8
xorl %ecx, %ecx
callq 0x7280
movq %rax, %r13
jmp 0xd360
xorl %r13d, %r13d
movq 0x10(%r15), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xd38c
movq %rax, %rdi
leaq 0x1aecc(%rip), %rsi     # 0x28248
leaq 0x1b875(%rip), %rdx     # 0x28bf8
xorl %ecx, %ecx
callq 0x7280
jmp 0xd38e
xorl %eax, %eax
movq 0x18(%r13), %rcx
testq %rcx, %rcx
je 0xd3c0
movq 0x18(%rax), %rdx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0xd3f0
movq 0x10(%r13), %rdi
movsd (%rdi,%rsi,8), %xmm0
movq 0x10(%rax), %rdi
ucomisd (%rdi,%rsi,8), %xmm0
jne 0xd3da
jp 0xd3da
incq %rsi
cmpq %rsi, %rcx
jne 0xd39d
incq %r12
movq 0x10(%rbx), %rdi
cmpq %r12, 0x18(%rdi)
setbe %r14b
ja 0xd332
jmp 0xd3da
xorl %r14d, %r14d
andb $0x1, %r14b
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10067(%rip), %rdi     # 0x1d45e
leaq 0x10074(%rip), %rsi     # 0x1d472
leaq 0x10098(%rip), %rcx     # 0x1d49d
movl $0x161, %edx            # imm = 0x161
callq 0x7150
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: DoubleColumn::hash_me()
size_t hash_me() {
    size_t hash = 0;
    for(int i = 0; i < val_->length(); i++) {
      DoubleArray* ia = dynamic_cast<DoubleArray*>(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
movq 0x10(%rdi), %rdi
cmpq $0x0, 0x18(%rdi)
je 0xd4e1
xorl %r14d, %r14d
leaq 0x1ae0e(%rip), %r15     # 0x28248
leaq 0x1b7b7(%rip), %r12     # 0x28bf8
xorl %r13d, %r13d
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xd464
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x7280
jmp 0xd466
xorl %eax, %eax
movq 0x18(%rax), %rcx
testq %rcx, %rcx
movq 0xfbeb(%rip), %xmm2     # 0x1d060
movapd 0xfbf3(%rip), %xmm3     # 0x1d070
movsd 0xfc03(%rip), %xmm4     # 0x1d088
je 0xd4ce
movq 0x10(%rax), %rax
xorl %edx, %edx
movq %r13, %xmm0
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
subpd %xmm3, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
addsd (%rax,%rdx,8), %xmm1
cvttsd2si %xmm1, %rsi
movq %rsi, %rdi
sarq $0x3f, %rdi
subsd %xmm4, %xmm1
cvttsd2si %xmm1, %r13
andq %rdi, %r13
orq %rsi, %r13
incq %rdx
cmpq %rdx, %rcx
jne 0xd48d
incq %r14
movq 0x10(%rbx), %rdi
cmpq %r14, 0x18(%rdi)
ja 0xd444
jmp 0xd4e4
xorl %r13d, %r13d
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_O1/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: DoubleColumn::serialize()
char* serialize() {
    Serializable* sb = new Serializable();
    sb->initSerialize("DoubleColumn");
    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
movl $0x8, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0x80aa
leaq 0x100f3(%rip), %rsi     # 0x1d60f
movq %rbx, %rdi
callq 0x810c
movl 0x18(%r14), %edx
leaq 0xff37(%rip), %rsi      # 0x1d466
movq %rbx, %rdi
callq 0x8178
movl 0x1c(%r14), %edx
leaq 0xfe22(%rip), %rsi      # 0x1d364
movq %rbx, %rdi
callq 0x8178
movl 0x20(%r14), %edx
leaq 0x100c7(%rip), %rsi     # 0x1d61c
movq %rbx, %rdi
callq 0x8178
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xfe8a(%rip), %rsi      # 0x1d3f8
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq (%rbx), %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%r14)
movq (%rbx), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xd5c1
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7200
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/column.h
// Function: DoubleColumn::push_back(double)
void push_back(double val) {
    if (listLength_  >= ((arraySize_* val_->length()))) {
      val_->pushBack(new DoubleArray(arraySize_));
    }
    int array_index = listLength_ / arraySize_;
    DoubleArray* da = dynamic_cast<DoubleArray*>(val_->get(array_index));
    da->pushBack(val);
    listLength_++;

  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, -0x28(%rbp)
movq %rdi, %rbx
movslq 0x18(%rdi), %rax
movslq 0x1c(%rdi), %r12
movq 0x10(%rdi), %r14
movq 0x18(%r14), %rcx
imulq %r12, %rcx
cmpq %rax, %rcx
ja 0xd6bb
movl $0x28, %edi
callq 0x7230
movq %rax, %r15
xorl %eax, %eax
movq %rax, 0x8(%r15)
leaq 0x1b532(%rip), %rcx     # 0x28bb8
movq %rcx, (%r15)
movq %rax, 0x18(%r15)
movq %r12, 0x20(%r15)
movq %r12, %rax
shlq $0x3, %rax
testl %r12d, %r12d
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x7030
movq %rax, 0x10(%r15)
movq (%r14), %rax
movq %r14, %rdi
movq %r15, %rsi
callq *0x58(%rax)
movl 0x18(%rbx), %eax
cltd
idivl 0x1c(%rbx)
movq 0x10(%rbx), %rdi
movslq %eax, %rsi
movq (%rdi), %rax
callq *0x40(%rax)
leaq 0x1ab72(%rip), %rsi     # 0x28248
leaq 0x1b51b(%rip), %rdx     # 0x28bf8
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x7280
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movsd -0x28(%rbp), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
movq %rdx, 0x18(%rax)
incl 0x18(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x7200
movq %rbx, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: DoubleDistributedArray::pushBack(double)
void pushBack(double 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;
        //std::cout << uid_ << " " <<itemCount_ << "\n";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x58(%rdi), %rcx
movq %rcx, %rax
xorl %edx, %edx
divq 0x48(%rdi)
testq %rcx, %rcx
je 0xd780
testq %rdx, %rdx
jne 0xd780
movq %rbx, %rdi
movsd %xmm0, -0x10(%rbp)
callq 0xd7a4
movsd -0x10(%rbp), %xmm0
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
movq %rdx, 0x18(%rax)
incq 0x58(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: DoubleDistributedArray::storeChunk()
void storeChunk() {
        //std::cout << "total nodes: " << totalNodes_ << "\n";
        //creates a unique keyname based on provided ID - could be modified to randomly pick number?
        StrBuff sb;
        sb.c(uid_);
        sb.c("_dist_double_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);
        char* serialized = chunkArray_->serialize();
        //std::cout << serialized << "\n";
        kv_->put(k, new Value(serialized, (size_t)0)); //adds new IntArray to kvStore
        delete chunkArray_;
        chunkArray_ = new DoubleArray(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
movq %rdi, %rbx
xorl %r15d, %r15d
leaq -0x48(%rbp), %r14
movq %r15, 0x8(%r14)
leaq 0x1ac28(%rip), %rax     # 0x283f0
movq %rax, (%r14)
movq $0xa, 0x18(%r14)
movl $0xa, %edi
callq 0x7030
movq %rax, 0x10(%r14)
movq %r15, 0x20(%r14)
movq 0x40(%rbx), %rsi
movq %r14, %rdi
callq 0xd948
movl $0x19, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movups 0xfe2d(%rip), %xmm0     # 0x1d63a
movups %xmm0, 0x9(%rax,%rcx)
movups 0xfe18(%rip), %xmm0     # 0x1d631
movups %xmm0, (%rax,%rcx)
addq $0x19, 0x20(%r14)
movq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0xd948
movq %r14, %rdi
callq 0x82d0
movq %rax, %r15
movl $0x20, %edi
callq 0x7230
movq %rax, %r14
movq (%r15), %rax
movq %r15, %rdi
callq *0x30(%rax)
movq 0x60(%rbx), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x8670
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x58(%rax)
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, %r15
movq 0x10(%rbx), %r12
movl $0x20, %edi
callq 0x7230
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
leaq 0x1b475(%rip), %rdx     # 0x28d08
movq %rdx, (%rax)
movq %r15, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x9bbe
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xd8bb
movq (%rdi), %rax
callq *0x8(%rax)
movl $0x28, %edi
callq 0x7230
movq %rax, %r14
movq 0x48(%rbx), %rax
xorl %ecx, %ecx
movq %rcx, 0x8(%r14)
leaq 0x1b2df(%rip), %rdx     # 0x28bb8
movq %rdx, (%r14)
movq %rcx, 0x18(%r14)
cltq
movq %rax, 0x20(%r14)
leaq (,%rax,8), %rcx
testl %eax, %eax
movq $-0x1, %rdi
cmovnsq %rcx, %rdi
callq 0x7030
movq %rax, 0x10(%r14)
movq %r14, 0x18(%rbx)
movq 0x60(%rbx), %rax
incq %rax
movq %rax, 0x60(%rbx)
incq 0x50(%rbx)
cmpq 0x68(%rbx), %rax
jne 0xd925
movq $0x0, 0x60(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd934
movq %rax, %rbx
movq %r14, %rdi
callq 0x7200
movq %rbx, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/primatives.h
// Function: Integer::equals(Object*)
virtual bool equals(Object * other) {
		if (other == nullptr) return false;
		Integer *i = dynamic_cast<Integer*>(other);
        if(i == nullptr) return false;
		return this->val_ == i->val_;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rsi, %rsi
je 0xdb1b
movq %rdi, %r14
leaq 0x1a754(%rip), %rax     # 0x28248
leaq 0x1b3b5(%rip), %rdx     # 0x28eb0
xorl %ebx, %ebx
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
testq %rax, %rax
je 0xdb1d
movl 0x10(%r14), %ecx
cmpl 0x10(%rax), %ecx
sete %bl
jmp 0xdb1d
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/schema.h
// Function: Schema::Schema(Schema&)
Schema(Schema& from) {
        //std::cout<<"entered copy constructor\n";
        this->capacity_ = from.capacity_;
        this->empty_index_ = from.empty_index_;
        this->val_ = new char[this->capacity_ + 1];

        for (size_t i = 0; i < this->empty_index_; i++) {
            this->val_[i] = from.val_[i]; 
        }
        this->num_rows_ = from.num_rows_;
        //std::cout<<"upper bound\n";
        this->col_name_idx = from.col_name_idx->clone();
        //std::cout<<"lower bound\n";
        this->row_name_idx = from.row_name_idx->clone();
        this->col_idx_name = from.col_idx_name->clone();
        this->row_idx_name = from.row_idx_name->clone();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x1accf(%rip), %rcx     # 0x28810
movq %rcx, (%rdi)
movq $0x64, 0x10(%rdi)
movq %rax, 0x20(%rdi)
movq 0x10(%rsi), %rdi
movq %rdi, 0x10(%rbx)
movq 0x20(%rsi), %r15
movq %r15, 0x20(%rbx)
incq %rdi
callq 0x7030
movq %rax, 0x18(%rbx)
testq %r15, %r15
je 0xdb8a
xorl %eax, %eax
movq 0x18(%r14), %rcx
movb (%rcx,%rax), %cl
movq 0x18(%rbx), %rdx
movb %cl, (%rdx,%rax)
incq %rax
cmpq 0x20(%rbx), %rax
jb 0xdb73
movq 0x28(%r14), %rax
movq %rax, 0x28(%rbx)
movq 0x30(%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, 0x30(%rbx)
movq 0x38(%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, 0x38(%rbx)
movq 0x40(%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, 0x40(%rbx)
movq 0x48(%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, 0x48(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/distributedDataframe.h
// Function: DistributedDataFrame::equals(Object*)
bool equals(Object  * other) {
      if (other == this) return true;
        DistributedDataFrame* x = dynamic_cast<DistributedDataFrame*>(other);
        if (x == nullptr) return false;
        if (this->ncols() != x->ncols()) return false;
        if (this->nrows() != x->nrows()) return false;
        for (size_t i = 0; i < this->ncols(); i++) {
            if (!(this->cols_->get(i)->equals(x->cols_->get(i)))) { 
                return false; 
            }
        }
        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq %rdi, %rsi
je 0xdd9b
movq %rdi, %rbx
testq %rsi, %rsi
je 0xdda0
leaq 0x1a4c6(%rip), %rax     # 0x28248
leaq 0x1b18f(%rip), %rdx     # 0x28f18
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
movq %rax, %r14
jmp 0xdda3
movb $0x1, %r15b
jmp 0xde1a
xorl %r14d, %r14d
testq %r14, %r14
je 0xde17
movq 0x10(%rbx), %rax
movq 0x20(%rax), %rdx
movq 0x10(%r14), %rcx
cmpq 0x20(%rcx), %rdx
jne 0xde17
movq 0x28(%rax), %rax
cmpq 0x28(%rcx), %rax
jne 0xde17
movq 0x10(%rbx), %rax
cmpq $0x0, 0x20(%rax)
sete %r15b
je 0xde1a
xorl %r12d, %r12d
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
movq %rax, %r13
movq 0x18(%r14), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
movq (%r13), %rcx
movq %r13, %rdi
movq %rax, %rsi
callq *0x18(%rcx)
testb %al, %al
je 0xde1a
incq %r12
movq 0x10(%rbx), %rax
cmpq 0x20(%rax), %r12
setae %r15b
jb 0xddd6
jmp 0xde1a
xorl %r15d, %r15d
andb $0x1, %r15b
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/distributedDataframe.h
// Function: DistributedDataFrame::serialize()
char* serialize() {
        Serializable* sb = new Serializable();
        sb->initSerialize("DistributedDataFrame");
        char * serializedschema = schema_->serialize();
        sb->write("schema_", serializedschema, false);
        char * seralizedcols = cols_->serialize();
        sb->write("cols_", seralizedcols, false);
        sb->endSerialize();
        char* value = sb->get();
        delete sb;
        return value;
     }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x8, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0x80aa
leaq 0xfa35(%rip), %rsi      # 0x1d88b
movq %rbx, %rdi
callq 0x810c
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xfa31(%rip), %rsi      # 0x1d8a0
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq 0x18(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xfa1b(%rip), %rsi      # 0x1d8a8
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq (%rbx), %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%r14)
movq (%rbx), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xdee0
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7200
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::IntDistributedArray(KVStore*)
IntDistributedArray(KVStore* kv) {
        kv_ = kv;
        totalNodes_ = kv->num_nodes_;
        srand(time(nullptr));
        uid_ = rand();
        curNode_ = 0;
        itemCount_ = 0;
        chunkCount_ = 0;
        keys_ = new Array();
        chunkArray_ = new IntArray(chunkSize_);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r15d, %r15d
movq %r15, 0x8(%rdi)
leaq 0x1b121(%rip), %rax     # 0x29040
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 0x71f0
movl %eax, %edi
callq 0x7210
callq 0x70a0
cltq
movq %rax, 0x40(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rbx)
movq %r15, 0x60(%rbx)
movl $0x28, %edi
callq 0x7230
movq %rax, %r14
movq %r15, 0x8(%rax)
leaq 0x1a79f(%rip), %rax     # 0x28720
movq %rax, (%r14)
movl $0x28, %edi
callq 0x7030
movq %rax, 0x10(%r14)
movq $0x5, 0x20(%r14)
xorl %r15d, %r15d
movq %r15, 0x18(%r14)
movq %r14, 0x38(%rbx)
movl $0x28, %edi
callq 0x7230
movq %rax, %r14
movq 0x48(%rbx), %rax
movq %r15, 0x8(%r14)
leaq 0x1ac5f(%rip), %rcx     # 0x28c20
movq %rcx, (%r14)
movq %r15, 0x18(%r14)
cltq
movq %rax, 0x20(%r14)
leaq (,%rax,4), %rcx
testl %eax, %eax
movq $-0x1, %rdi
cmovnsq %rcx, %rdi
callq 0x7030
movq %rax, 0x10(%r14)
movq %r14, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xdffd
movq %rax, %rbx
movq %r14, %rdi
callq 0x7200
movq %rbx, %rdi
callq 0x73b0
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedIntColumn::equals(Object*)
bool equals(Object * o) {
    if(o == nullptr) return false;
    DistributedIntColumn* other_ic = dynamic_cast<DistributedIntColumn*>(o);
    if(other_ic == nullptr) return false;
    if(other_ic->size() != size()) return false;
    IntDistributedArray* other_val_ = dynamic_cast<IntDistributedArray*>(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 0xe08a
movq %rdi, %rbx
leaq 0x1a215(%rip), %rax     # 0x28248
leaq 0x1afde(%rip), %rdx     # 0x29018
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
testq %rax, %rax
je 0xe08a
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 0xe08a
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_O1/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedIntColumn::serialize()
char* serialize() {
    Serializable sb;
    sb.initSerialize("DistributedIntColumn");
    char * seralizedArr = val_->serialize();
    sb.write("val_", seralizedArr, false);
    sb.endSerialize();
    char* value = sb.get();
    return value;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq -0x18(%rbp), %r14
movq %r14, %rdi
callq 0x80aa
leaq 0xf5bb(%rip), %rsi      # 0x1d684
movq %r14, %rdi
callq 0x810c
movq 0x18(%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xf316(%rip), %rsi      # 0x1d3f8
leaq -0x18(%rbp), %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq -0x18(%rbp), %rbx
movl $0x4, %esi
movq %rbx, %rdi
callq 0x8260
movq 0x10(%rbx), %rax
movq 0x20(%rbx), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%rbx)
movq -0x18(%rbp), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %rbx
movq -0x18(%rbp), %rdi
testq %rdi, %rdi
je 0xe139
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0xe149
jmp 0xe149
movq %rax, %rbx
movq -0x18(%rbp), %rdi
testq %rdi, %rdi
je 0xe15b
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/distributedColumn.h
// Function: DistributedIntColumn::getColumnOnNode()
Column* getColumnOnNode() override {
    size_t _node = kv_->this_node_;
    IntColumn* col = new IntColumn();
    Array* keys = val_->keys_;
    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.
        Value* val = kv_->get(key);
        Deserializable ds;
        IntArray* chunk = dynamic_cast<IntArray*>(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) {
      IntArray* 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, %r13
movq 0x10(%rdi), %rax
movq 0x18(%rax), %r12
movl $0x28, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0xeb18
movq 0x18(%r13), %rax
movq 0x38(%rax), %r14
cmpq $0x0, 0x18(%r14)
je 0xe2b8
xorl %r15d, %r15d
movq %r12, -0x40(%rbp)
movq %r13, -0x38(%rbp)
movq 0x18(%r13), %rax
movq 0x38(%rax), %rdi
movq (%rdi), %rax
movq %r15, %rsi
callq *0x40(%rax)
movq %rax, %rdi
leaq 0x1a028(%rip), %rsi     # 0x28248
leaq 0x1a5c1(%rip), %rdx     # 0x287e8
xorl %ecx, %ecx
callq 0x7280
cmpq %r12, 0x18(%rax)
jne 0xe2ab
movq 0x10(%r13), %rdi
movq %rax, %rsi
callq 0xc02e
movq 0x10(%rax), %rsi
leaq -0x29(%rbp), %rdi
callq 0x14b60
testq %rax, %rax
je 0xe26f
movq %rax, %rdi
leaq 0x19fec(%rip), %rsi     # 0x28248
leaq 0x1a9fd(%rip), %rdx     # 0x28c60
xorl %ecx, %ecx
callq 0x7280
movq %rax, %r13
jmp 0xe272
xorl %r13d, %r13d
cmpq $0x0, 0x18(%r13)
je 0xe299
xorl %r12d, %r12d
movq 0x10(%r13), %rax
movl (%rax,%r12,4), %esi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x98(%rax)
incq %r12
cmpq 0x18(%r13), %r12
jb 0xe27c
movq (%r13), %rax
movq %r13, %rdi
callq *0x8(%rax)
movq -0x40(%rbp), %r12
movq -0x38(%rbp), %r13
incq %r15
cmpq 0x18(%r14), %r15
jb 0xe205
testq %r12, %r12
jne 0xe2ec
movq 0x18(%r13), %rax
movq 0x18(%rax), %r14
cmpq $0x0, 0x18(%r14)
je 0xe2ec
xorl %r15d, %r15d
movq 0x10(%r14), %rax
movl (%rax,%r15,4), %esi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x98(%rax)
incq %r15
cmpq 0x18(%r14), %r15
jb 0xe2cf
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::equals(Object*)
bool equals(Object * o) {
      if ( o == nullptr) return false;
        IntDistributedArray *s = dynamic_cast<IntDistributedArray*>(o);
        if(s == nullptr) return false;
        if(itemCount_ != s->itemCount_) return false;
        for(int i = 0; i < itemCount_; i++) {
            bool sameInt = s->get(i) == 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 0xe40a
movq %rdi, %rbx
leaq 0x19ec1(%rip), %rax     # 0x28248
leaq 0x1acf2(%rip), %rdx     # 0x29080
xorl %r14d, %r14d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
testq %rax, %rax
je 0xe40d
movq %rax, %r15
movq 0x58(%rbx), %rax
cmpq 0x58(%r15), %rax
jne 0xe40a
cmpq $0x0, 0x58(%rbx)
sete %r14b
je 0xe40d
movq %r15, %rdi
xorl %esi, %esi
callq 0xe596
movl %eax, %r12d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe596
cmpl %eax, %r12d
jne 0xe40d
movl $0x1, %r12d
cmpq %r12, 0x58(%rbx)
setbe %r14b
jbe 0xe40d
movq %r15, %rdi
movq %r12, %rsi
callq 0xe596
movl %eax, %r13d
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe596
incq %r12
cmpl %eax, %r13d
je 0xe3dd
jmp 0xe40d
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_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: FloatDistributedArray::hash_me()
size_t hash_me() {
      int temp = 0;
      for(int i = 0; i < itemCount_; i++) {
          temp *= get(i);
      }
      return temp;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpq $0x0, 0x58(%rdi)
je 0x127f9
movq %rdi, %r14
xorl %r15d, %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0x1294e
xorps %xmm1, %xmm1
cvtsi2ss %ebx, %xmm1
mulss %xmm0, %xmm1
cvttss2si %xmm1, %ebx
incq %r15
cmpq %r15, 0x58(%r14)
ja 0x127d3
movslq %ebx, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/src/network/./../application/../dataframe/../utils/distributedArray.h
// Function: IntDistributedArray::get(unsigned long)
int get(size_t index) {
       //new logic to check if current chunk
        assert(index < itemCount_);
        //std::cout << "in get " << index <<"\n";
        if (cache_ == nullptr) {
            init_cache_();
        }
        int 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
            IntArray* 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 0xe644
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x20(%rdi)
jne 0xe5bc
movq %rbx, %rdi
callq 0xe682
movq %r14, %rax
xorl %edx, %edx
divq 0x48(%rbx)
cmpq 0x50(%rbx), %rax
jne 0xe5d1
movq 0x18(%rbx), %rcx
jmp 0xe632
movq %rax, %xmm0
punpckldq 0xea82(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xea8a(%rip), %xmm0     # 0x1d070
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rcx
subsd 0xea86(%rip), %xmm1     # 0x1d088
sarq $0x3f, %rcx
cvttsd2si %xmm1, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq 0x20(%rbx), %rax
movq (%rax,%rsi,8), %rcx
testq %rcx, %rcx
jne 0xe629
movq %rbx, %rdi
callq 0xe6e0
movq %rax, %rcx
movq %r14, %rax
xorl %edx, %edx
divq 0x48(%rbx)
cmpq %rdx, 0x18(%rcx)
jbe 0xe663
movq 0x10(%rcx), %rax
movl (%rax,%rdx,4), %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0xeeb3(%rip), %rdi      # 0x1d4fe
leaq 0xeebf(%rip), %rsi      # 0x1d511
leaq 0xeff2(%rip), %rcx      # 0x1d64b
movl $0x45, %edx
callq 0x7150
leaq 0xedf4(%rip), %rdi      # 0x1d45e
leaq 0xee01(%rip), %rsi      # 0x1d472
leaq 0xee45(%rip), %rcx      # 0x1d4bd
movl $0xf3, %edx
callq 0x7150
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
pushq %rax
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movq 0x18(%rax), %rax
movq %rax, %rcx
shrq $0x3d, %rcx
shlq $0x3, %rax
xorl %edi, %edi
negq %rcx
sbbq %rdi, %rdi
orq %rax, %rdi
callq 0x7030
movq %rax, 0x20(%rbx)
movq 0x38(%rbx), %rax
cmpq $0x0, 0x18(%rax)
je 0xe6d8
xorl %eax, %eax
movq 0x20(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
movq 0x38(%rbx), %rcx
cmpq 0x18(%rcx), %rax
jb 0xe6bf
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0xe703
movq %rbx, %rdi
callq 0xe788
movq 0x10(%rbx), %r15
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xe736
leaq 0x19b28(%rip), %rsi     # 0x28248
leaq 0x1a0c1(%rip), %rdx     # 0x287e8
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x7280
movq %rax, %rsi
jmp 0xe738
xorl %esi, %esi
movq %r15, %rdi
callq 0xc02e
movq 0x10(%rax), %r12
movl $0x28, %edi
callq 0x7230
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0xe7da
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 0x7200
movq %rbx, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %rax
testq %rsi, %rsi
je 0xed44
movq %rdi, %rbx
leaq 0x19601(%rip), %rax     # 0x28248
leaq 0x1a532(%rip), %rdx     # 0x29180
xorl %r14d, %r14d
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x7280
testq %rax, %rax
je 0xed47
movq %rax, %r15
movq (%rax), %rax
movq %r15, %rdi
callq *0xc8(%rax)
movq %rax, %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0xc8(%rax)
cmpq %rax, %r14
jne 0xed44
movq 0x10(%rbx), %rdi
cmpq $0x0, 0x18(%rdi)
sete %r14b
je 0xed47
xorl %r12d, %r12d
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xeccf
movq %rax, %rdi
leaq 0x1958c(%rip), %rsi     # 0x28248
leaq 0x19f9d(%rip), %rdx     # 0x28c60
xorl %ecx, %ecx
callq 0x7280
movq %rax, %r13
jmp 0xecd2
xorl %r13d, %r13d
movq 0x10(%r15), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xecfe
movq %rax, %rdi
leaq 0x1955a(%rip), %rsi     # 0x28248
leaq 0x19f6b(%rip), %rdx     # 0x28c60
xorl %ecx, %ecx
callq 0x7280
jmp 0xed00
xorl %eax, %eax
movq 0x18(%r13), %rcx
testq %rcx, %rcx
je 0xed2d
movq 0x18(%rax), %rdx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0xed5d
movq 0x10(%r13), %rdi
movl (%rdi,%rsi,4), %edi
movq 0x10(%rax), %r8
cmpl (%r8,%rsi,4), %edi
jne 0xed47
incq %rsi
cmpq %rsi, %rcx
jne 0xed0f
incq %r12
movq 0x10(%rbx), %rdi
cmpq %r12, 0x18(%rdi)
setbe %r14b
ja 0xeca4
jmp 0xed47
xorl %r14d, %r14d
andb $0x1, %r14b
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe6fa(%rip), %rdi      # 0x1d45e
leaq 0xe707(%rip), %rsi      # 0x1d472
leaq 0xe74b(%rip), %rcx      # 0x1d4bd
movl $0xf3, %edx
callq 0x7150
// File: /workspace/github_cpp_makefile_star2_O1/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
movq 0x10(%rdi), %rdi
cmpq $0x0, 0x18(%rdi)
je 0xedfb
xorl %r14d, %r14d
leaq 0x194a6(%rip), %r12     # 0x28248
leaq 0x19eb7(%rip), %r13     # 0x28c60
xorl %r15d, %r15d
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
testq %rax, %rax
je 0xedcc
movq %rax, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x7280
jmp 0xedce
xorl %eax, %eax
movq 0x18(%rax), %rcx
testq %rcx, %rcx
je 0xedec
movq 0x10(%rax), %rax
xorl %edx, %edx
movslq (%rax,%rdx,4), %rsi
addq %rsi, %r15
incq %rdx
cmpq %rdx, %rcx
jne 0xeddd
incq %r14
movq 0x10(%rbx), %rdi
cmpq %r14, 0x18(%rdi)
ja 0xedac
jmp 0xedfe
xorl %r15d, %r15d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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
movl $0x8, %edi
callq 0x7230
movq %rax, %rbx
movq %rax, %rdi
callq 0x80aa
leaq 0xe859(%rip), %rsi      # 0x1d68f
movq %rbx, %rdi
callq 0x810c
movl 0x18(%r14), %edx
leaq 0xe61d(%rip), %rsi      # 0x1d466
movq %rbx, %rdi
callq 0x8178
movl 0x1c(%r14), %edx
leaq 0xe508(%rip), %rsi      # 0x1d364
movq %rbx, %rdi
callq 0x8178
movl 0x20(%r14), %edx
leaq 0xe7ad(%rip), %rsi      # 0x1d61c
movq %rbx, %rdi
callq 0x8178
movq 0x10(%r14), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
leaq 0xe570(%rip), %rsi      # 0x1d3f8
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xa9d0
movq (%rbx), %r14
movl $0x4, %esi
movq %r14, %rdi
callq 0x8260
movq 0x10(%r14), %rax
movq 0x20(%r14), %rcx
movl $0x7d207d20, (%rax,%rcx) # imm = 0x7D207D20
addq $0x4, 0x20(%r14)
movq (%rbx), %rdi
callq 0x82d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xeedb
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x7200
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7200
movq %r14, %rdi
callq 0x73b0
// File: /workspace/github_cpp_makefile_star2_O1/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), %r13
movq 0x10(%rdi), %r15
movq 0x18(%r15), %rcx
imulq %r13, %rcx
cmpq %rax, %rcx
ja 0xefd1
movl $0x28, %edi
callq 0x7230
movq %rax, %r12
xorl %eax, %eax
movq %rax, 0x8(%r12)
leaq 0x19c88(%rip), %rcx     # 0x28c20
movq %rcx, (%r12)
movq %rax, 0x18(%r12)
movq %r13, 0x20(%r12)
movq %r13, %rax
shlq $0x2, %rax
testl %r13d, %r13d
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x7030
movq %rax, 0x10(%r12)
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
callq *0x58(%rax)
movl 0x18(%rbx), %eax
cltd
idivl 0x1c(%rbx)
movq 0x10(%rbx), %rdi
movslq %eax, %rsi
movq (%rdi), %rax
callq *0x40(%rax)
leaq 0x1925c(%rip), %rsi     # 0x28248
leaq 0x19c6d(%rip), %rdx     # 0x28c60
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x7280
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 %r12, %rdi
callq 0x7200
movq %rbx, %rdi
callq 0x73b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0xf092
testq %rdx, %rdx
jne 0xf092
movq %rbx, %rdi
callq 0xf0b2
movq 0x18(%rbx), %rax
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rdx
movl %r14d, (%rcx,%rdx,4)
incq %rdx
movq %rdx, 0x18(%rax)
incq 0x58(%rbx)
popq %rbx
popq %r14
popq %rbp
retq