LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Log.cpp
// Function: Log::logDeleteFail(Address*, bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Log::logDeleteFail(Address * address, bool isCoordinator, int transID, string key){
    static char stdstring[1000];
	string str;
	if (isCoordinator)
		str = "coordinator";
	else
		str = "server";
	sprintf(stdstring, "%s: delete fail at time %d, transID=%d, key=%s", str.c_str(), par->getcurrtime(), transID, key.c_str());
    LOG(address, stdstring);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0xb332(%rip), %rax      # 0x17952
leaq 0xb337(%rip), %rcx      # 0x1795e
testl %edx, %edx
cmovneq %rax, %rcx
movl %edx, %eax
leaq (%rax,%rax,4), %r8
addq $0x6, %r8
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
movq 0x8(%rsp), %r12
movq 0x8(%r14), %rdi
callq 0xc87e
movq (%r15), %r9
leaq 0x1ee33(%rip), %r15     # 0x2b490
leaq 0xb484(%rip), %rsi      # 0x17ae8
movq %r15, %rdi
movq %r12, %rdx
movl %eax, %ecx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x3080
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0xbbb8
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0xc69d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32c0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0xc6c6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Params.cpp
// Function: Params::setparams(char*)
void Params::setparams(char *config_file) {
	//trace.funcEntry("Params::setparams");
	char CRUD[10];
	FILE *fp = fopen(config_file,"r");

	fscanf(fp,"MAX_NNB: %d", &MAX_NNB);
	fscanf(fp,"\nSINGLE_FAILURE: %d", &SINGLE_FAILURE);
	fscanf(fp,"\nDROP_MSG: %d", &DROP_MSG);
	fscanf(fp,"\nMSG_DROP_PROB: %lf", &MSG_DROP_PROB);
	fscanf(fp,"\nCRUD_TEST: %s", CRUD);

	auto type = testTypeMap.find(CRUD);
	if(type == testTypeMap.end()){
		throw std::runtime_error("Unavailable Test Type!");
	}
	else{
		this->CRUDTEST = type->second;
	}

	//printf("Parameters of the test case: %d %d %d %lf\n", MAX_NNB, SINGLE_FAILURE, DROP_MSG, MSG_DROP_PROB);

	EN_GPSZ = MAX_NNB;
	STEP_RATE=.25;
	MAX_MSG_SIZE = 4000;
	globaltime = 0;
	dropmsg = 0;
	allNodesJoined = 0;
	for ( int i = 0; i < EN_GPSZ; i++ ) {
		allNodesJoined += i;
	}
	fclose(fp);
	//trace.funcExit("Params::setparams", SUCCESS);
	return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rax
movq %rdi, %rbx
leaq 0xb273(%rip), %rsi      # 0x17963
movq %rax, %rdi
callq 0x3350
movq %rax, %r14
leaq 0xb41a(%rip), %rsi      # 0x17b1c
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x34d0
leaq 0x4(%rbx), %rdx
leaq 0xb40e(%rip), %rsi      # 0x17b28
movq %r14, %rdi
xorl %eax, %eax
callq 0x34d0
leaq 0x20(%rbx), %rdx
leaq 0xb40d(%rip), %rsi      # 0x17b3c
movq %r14, %rdi
xorl %eax, %eax
callq 0x34d0
leaq 0x8(%rbx), %rdx
leaq 0xb406(%rip), %rsi      # 0x17b4a
movq %r14, %rdi
xorl %eax, %eax
callq 0x34d0
leaq 0xb409(%rip), %rsi      # 0x17b5e
leaq 0x2e(%rsp), %r15
movq %r14, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x34d0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r15, %rdi
callq 0x3110
leaq (%rsp,%rax), %rdx
addq $0x2e, %rdx
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0xb5ee
leaq 0x1f0eb(%rip), %rdi     # 0x2b880
leaq 0x8(%rsp), %rsi
callq 0xc882
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc7b9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32c0
testq %r15, %r15
je 0xc817
movl 0x28(%r15), %eax
movl %eax, 0x34(%rbx)
movl (%rbx), %eax
movl %eax, 0x18(%rbx)
movabsq $0x3fd0000000000000, %rcx # imm = 0x3FD0000000000000
movq %rcx, 0x10(%rbx)
movl $0xfa0, 0x1c(%rbx)      # imm = 0xFA0
movq $0x0, 0x24(%rbx)
testl %eax, %eax
jle 0xc7fe
leal -0x1(%rax), %ecx
leal -0x2(%rax), %edx
imulq %rcx, %rdx
shrq %rdx
addl %edx, %eax
decl %eax
jmp 0xc800
xorl %eax, %eax
movl %eax, 0x2c(%rbx)
movq %r14, %rdi
callq 0x32a0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x3140
movq %rax, %r14
leaq 0xb342(%rip), %rsi      # 0x17b6d
movq %rax, %rdi
callq 0x30f0
movq 0x137b6(%rip), %rsi     # 0x1fff0
movq 0x1377f(%rip), %rdx     # 0x1ffc0
movq %r14, %rdi
callq 0x3480
movq %rax, %rbx
movq %r14, %rdi
callq 0x3200
jmp 0xc875
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc875
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0xc875
movq %rax, %rbx
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Member.cpp
// Function: Member::operator=(Member const&)
Member& Member::operator =(const Member& anotherMember) {
	this->addr = anotherMember.addr;
	this->inited = anotherMember.inited;
	this->inGroup = anotherMember.inGroup;
	this->bFailed = anotherMember.bFailed;
	this->nnb = anotherMember.nnb;
	this->heartbeat = anotherMember.heartbeat;
	this->pingCounter = anotherMember.pingCounter;
	this->timeOutCounter = anotherMember.timeOutCounter;
	this->memberList = anotherMember.memberList;
	this->myPos = anotherMember.myPos;
	this->mp1q = anotherMember.mp1q;
	this->mp2q = anotherMember.mp2q;
	return *this;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movzwl 0xc(%rsi), %eax
movw %ax, 0xc(%rdi)
movl 0x8(%rsi), %eax
movl %eax, 0x8(%rdi)
movb 0xe(%rsi), %al
movb %al, 0xe(%rdi)
movb 0xf(%rsi), %al
movb %al, 0xf(%rdi)
movb 0x10(%rsi), %al
movb %al, 0x10(%rdi)
movl 0x14(%rsi), %eax
movl %eax, 0x14(%rdi)
movq 0x18(%rsi), %rax
movq %rax, 0x18(%rdi)
movq 0x20(%rsi), %rax
movq %rax, 0x20(%rdi)
addq $0x28, %rsi
addq $0x28, %rdi
callq 0xcb58
movq 0x40(%r14), %rax
movq %rax, 0x40(%rbx)
leaq 0x48(%r14), %rsi
leaq 0x48(%rbx), %rdi
callq 0xccc6
movl $0x98, %edi
addq %rdi, %r14
addq %rbx, %rdi
movq %r14, %rsi
callq 0xccc6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Trace.cpp
// Function: Trace::traceFileCreate()
int Trace::traceFileCreate() {

    int rc = SUCCESS;        // Return code

    logF = fopen(LOG_FILE_LOCATION, "w");
    if ( NULL == logF )
    {
        printf("\nUnable to open log file in write mode\n");
        rc = FAILURE;
    }

    return rc;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x9838(%rip), %rdi      # 0x17bc3
leaq 0x9551(%rip), %rsi      # 0x178e3
callq 0x3350
movq %rax, %rcx
movq %rax, (%rbx)
xorl %eax, %eax
testq %rcx, %rcx
jne 0xe3b5
leaq 0x9851(%rip), %rdi      # 0x17bfc
callq 0x3430
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Trace.cpp
// Function: Trace::printToTrace(char*, char*)
int Trace::printToTrace(char *keyMsg, char *valueMsg) {

    int rc = SUCCESS;        // Return code

    fprintf(logF, "%s : %s\n", keyMsg, valueMsg);
    fflush(logF);

    return rc;
}

// Assembly:
pushq %rbx
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x9803(%rip), %rsi      # 0x17bcf
xorl %eax, %eax
callq 0x33d0
movq (%rbx), %rdi
callq 0x3340
xorl %eax, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Trace.cpp
// Function: Trace::funcEntry(char*)
int Trace::funcEntry(char *funcName) {

    int rc = SUCCESS;        // Return code

    fprintf(logF, "ENTRY - %s\n", funcName);
    fflush(logF);

    return rc;
}

// Assembly:
pushq %rbx
movq %rsi, %rdx
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x97d9(%rip), %rsi      # 0x17bd8
xorl %eax, %eax
callq 0x33d0
movq (%rbx), %rdi
callq 0x3340
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Trace.cpp
// Function: Trace::funcExit(char*, int)
int Trace::funcExit(char *funcName, int f_rc) {

    int rc = SUCCESS;        // Return code

    fprintf(logF, "EXIT - %s with rc = %d\n", funcName, f_rc);
    fflush(logF);

    return rc;
}

// Assembly:
pushq %rbx
movl %edx, %ecx
movq %rsi, %rdx
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x97bf(%rip), %rsi      # 0x17be4
xorl %eax, %eax
callq 0x33d0
movq (%rbx), %rdi
callq 0x3340
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::MP2Node(Member*, Params*, EmulNet*, Log*, Address*)
MP2Node::MP2Node(Member *memberNode, Params *par, EmulNet * emulNet, Log * log, Address * address) {
	this->memberNode = memberNode;
	this->par = par;
	this->emulNet = emulNet;
	this->log = log;
	ht = new HashTable();
	this->memberNode->addr = *address;
	this->delimiter = "::";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r15
movq %rdi, %rbx
leaq 0x70(%rdi), %r14
leaq 0x80(%rdi), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x40(%rdi)
movq %r13, 0x70(%rdi)
movq %rax, 0x78(%rdi)
movb $0x0, 0x80(%rdi)
addq $0x98, %rdi
movl %eax, 0x98(%rbx)
movq %rax, 0xa0(%rbx)
movq %rdi, 0xa8(%rbx)
movq %rdi, 0xb0(%rbx)
movq %rax, 0xb8(%rbx)
leaq 0xc8(%rbx), %rdi
movl %eax, 0xc8(%rbx)
movq %rax, 0xd0(%rbx)
movq %rdi, 0xd8(%rbx)
movq %rdi, 0xe0(%rbx)
movq %rax, 0xe8(%rbx)
movq %rsi, 0x50(%rbx)
movq %rdx, 0x58(%rbx)
movq %rcx, 0x60(%rbx)
movq %r8, 0x68(%rbx)
movl $0x38, %edi
callq 0x32b0
movq %rax, %r12
movq %rax, %rdi
callq 0x139a8
movq %r12, 0x48(%rbx)
movq 0x50(%rbx), %rdi
addq $0x8, %rdi
movq %r15, %rsi
callq 0xc8d2
movq 0x78(%rbx), %rdx
leaq 0x974d(%rip), %rcx      # 0x17c5c
movl $0x2, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x3440
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r15
movl $0x38, %esi
movq %r12, %rdi
callq 0x32c0
jmp 0xe53e
movq %rax, %r15
leaq 0x90(%rbx), %r12
leaq 0xc0(%rbx), %rdi
callq 0x127ce
movq %r12, %rdi
callq 0x12862
movq (%r14), %rdi
cmpq %r13, %rdi
je 0xe56d
movq (%r13), %rsi
incq %rsi
callq 0x32c0
leaq 0x30(%rbx), %rdi
leaq 0x18(%rbx), %r14
callq 0xb4a6
movq %r14, %rdi
callq 0xb4a6
movq %rbx, %rdi
callq 0xb4a6
movq %r15, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::updateRing()
void MP2Node::updateRing() {
    vector<Node> curMemList;
    bool change = false;

	/*
	 *  Step 1. Get the current membership list from Membership Protocol / MP1
	 */
	curMemList = getMembershipList();

	/*
	 * Step 2: Construct the ring
	 */
	// Sort the list based on the hashCode
	sort(curMemList.begin(), curMemList.end());

	// Check if the ring has changes
	if (curMemList.size() != ring.size()) {
        // if the current membership ring and my ring doesn't have the same size, then it must have changed
	    change = true;
	} else {
	    // go through each node in the two rings and check if they the same hash
        for (int i = 0; i < ring.size(); i++) {
            if (ring.at(i).getHashCode() != curMemList.at(i).getHashCode()) {
                change = true;
            }
        }
	}

	ring = curMemList;
	/*
	 * Step 3: Run the stabilization protocol IF REQUIRED
	 */
	// Run stabilization protocol if the hash table size is greater than zero and if there has been a changed in the ring
	if (change) {
        stabilizationProtocol();
	}

	// Also update the transaction map to see if any has been successful or failed
	updateTransactionMap();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0xe77c
leaq 0x20(%rsp), %r14
movaps (%r14), %xmm0
movaps %xmm0, (%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
leaq 0x40(%rsp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movaps %xmm0, (%r14)
movq %rax, 0x10(%r14)
callq 0xb4a6
movq %r14, %rdi
callq 0xb4a6
movq (%rsp), %r14
movq 0x8(%rsp), %r15
cmpq %r15, %r14
je 0xe6a2
movq %r15, %rax
subq %r14, %rax
sarq $0x5, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1290d
movq %r14, %rdi
movq %r15, %rsi
callq 0x129c3
movq (%rsp), %r14
movq 0x8(%rsp), %rax
jmp 0xe6a5
movq %r14, %rax
subq %r14, %rax
movq 0x30(%rbx), %rdi
movq 0x38(%rbx), %rcx
movq %rcx, %rdx
subq %rdi, %rdx
movb $0x1, %bpl
cmpq %rdx, %rax
jne 0xe71b
cmpq %rdi, %rcx
je 0xe719
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %ebp, %ebp
addq %r12, %rdi
callq 0x1398a
movq (%rsp), %rdi
movq 0x8(%rsp), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0xe752
movq %rax, %r15
addq %r12, %rdi
callq 0x1398a
cmpq %rax, %r15
setne %al
orb %al, %bpl
incq %r14
movq 0x30(%rbx), %rdi
movq 0x38(%rbx), %rax
subq %rdi, %rax
sarq $0x5, %rax
addq $0x20, %r12
cmpq %r14, %rax
ja 0xe6cb
jmp 0xe71b
xorl %ebp, %ebp
leaq 0x30(%rbx), %rdi
movq %rsp, %rsi
callq 0x124a4
testb $0x1, %bpl
je 0xe735
movq %rbx, %rdi
callq 0xe8dc
movq %rbx, %rdi
callq 0xecd8
movq %rsp, %rdi
callq 0xb4a6
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9015(%rip), %rdi      # 0x1776e
movq %r14, %rsi
xorl %eax, %eax
callq 0x3410
jmp 0xe769
jmp 0xe769
jmp 0xe769
movq %rax, %rbx
movq %rsp, %rdi
callq 0xb4a6
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::createKeyValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, ReplicaType)
bool MP2Node::createKeyValue(string key, string value, ReplicaType replica) {
	// Insert key, value, replicaType into the hash table
	Entry entry(value, this->par->getcurrtime(), replica);
	auto res = ht->create(key, entry.convertToString());
	return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x5a4e
movq 0x58(%r14), %rdi
callq 0xc87e
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movl %eax, %edx
movl %ebp, %ecx
callq 0x149a8
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x10887
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x48(%r14), %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x5a4e
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x14d60
movq %rsp, %rsi
leaq 0x40(%rsp), %rdx
movq %r14, %rdi
callq 0x13a0a
movl %eax, %ebx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x108e2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x108f8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10919
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10934
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
movl %ebx, %eax
addq $0xa8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10967
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10967
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x10982
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10982
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x126c4
jmp 0x109a8
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x109a8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::readKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string MP2Node::readKey(string key) {
	// Read key from local hash table and return value
	auto val = ht->read(key);
	if (val.empty()) {
	    return val;
	}
	Entry entry(val);
	return entry.value;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
movq 0x48(%rsi), %r14
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %r15
movq %r15, %rdi
callq 0x5a4e
movq %rsp, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x13a18
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x10a0b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdx
testq %rdx, %rdx
je 0x10ace
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rsp), %rsi
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x5a4e
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x14a4a
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x10a59
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5a4e
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10a96
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10ab1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10aff
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10aff
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x10(%rsp), %rcx
movq -0x10(%rcx), %rdx
cmpq %rcx, %rdx
je 0x10af1
movq %rdx, (%rbx)
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x10af7
movups (%rcx), %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x126c4
jmp 0x10b3f
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x10b3f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10b3f
movq %rax, %rbx
leaq 0x10(%rsp), %r12
movq -0x10(%r12), %rdi
jmp 0x10b53
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x10b64
movq (%r12), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string HashTable::read(string key) {
	map<string, string>::iterator search;

	search = hashTable.find(key);
	if ( search != hashTable.end() ) {
		// Value found
		return search->second;
	}
	else {
		// Value not found
		return "";
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsi), %rdi
movq %rdx, %rsi
callq 0x1440c
addq $0x10, %r14
cmpq %r14, %rax
je 0x13a53
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5a4e
jmp 0x13a6c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x37ed(%rip), %rdx      # 0x1724e
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xb5ee
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::update(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool HashTable::update(string key, string newValue) {
	map<string, string>::iterator update;

	if (read(key).empty()) {
		// Key not found
		return false;
	}
	// Key found
	//update = hashTable.at(key) = newValue;
	hashTable.at(key) = newValue;
	// Update successful
	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %r12
movq %r12, %rdi
callq 0x5a4e
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x13a18
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %r12
cmpq %rax, %rdi
je 0x13adb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x13af1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
testq %r12, %r12
je 0x13b10
addq $0x8, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x14140
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3160
testq %r12, %r12
setne %al
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x13b3d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::deleteKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool HashTable::deleteKey(string key) {
	uint eraseCount = 0;

	if (read(key).empty()) {
		// Key not found
		return false;
	}
	eraseCount = hashTable.erase(key);
	if ( eraseCount < 1 ) {
		// Could not erase
		return false;
	}
	// Delete was successful
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %r15
movq %r15, %rdi
callq 0x5a4e
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x13a18
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %r15
cmpq %rax, %rdi
je 0x13ba6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x13bbc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
testq %r15, %r15
je 0x13be6
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x14452
movl 0x30(%rbx), %ebp
movq %r15, %rdi
movq %rax, %rsi
callq 0x14506
cmpl 0x30(%rbx), %ebp
setne %al
jmp 0x13be8
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x13c0e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::retPrimaryPairs[abi:cxx11]()
vector<pair<string, string>> HashTable::retPrimaryPairs() {
	vector<pair<string, string>> primaryPairs;

	for ( auto it = hashTable.begin(); it != hashTable.end(); ++it ) {
		Entry entry(it->second);
		if ( PRIMARY == entry.replica ) {
			pair<string, string> temp= make_pair(it->first, entry.value);
			primaryPairs.emplace_back(temp);
		}
	}
	return primaryPairs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x8(%rsp)
movq $0x0, 0x10(%rdi)
movq 0x20(%rsi), %r15
addq $0x10, %r14
cmpq %r14, %r15
je 0x13d8d
leaq 0x20(%rsp), %rbp
leaq 0x10(%rsp), %r12
leaq 0x70(%rsp), %r13
movq %rbp, 0x10(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x5a4e
movq %r13, %rdi
movq %r12, %rsi
callq 0x14a4a
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x13ccf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x0, 0x94(%rsp)
jne 0x13d32
leaq 0x20(%r15), %rsi
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rdx
callq 0x14236
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x14194
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x13d16
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x13d32
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x13d57
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x13d79
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x13c95
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x141d0
jmp 0x13db6
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x126c4
jmp 0x13de1
movq %rax, %r14
jmp 0x13de1
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x13de1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x14206
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::retSecondaryPairs[abi:cxx11]()
vector<pair<string, string>> HashTable::retSecondaryPairs() {
	vector<pair<string, string>> secondaryPairs;

	for ( auto it = hashTable.begin(); it != hashTable.end(); ++it ) {
			Entry entry(it->second);
			if ( SECONDARY == entry.replica ) {
			pair<string, string> temp= make_pair(it->first, entry.value);
			secondaryPairs.emplace_back(temp);
		}
	}
	return secondaryPairs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x8(%rsp)
movq $0x0, 0x10(%rdi)
movq 0x20(%rsi), %r15
addq $0x10, %r14
cmpq %r14, %r15
je 0x13f33
leaq 0x20(%rsp), %rbx
leaq 0x10(%rsp), %r12
leaq 0x70(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq %rbx, 0x10(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x5a4e
movq %r13, %rdi
movq %r12, %rsi
callq 0x14a4a
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x13e7a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x1, 0x94(%rsp)
jne 0x13ed8
leaq 0x20(%r15), %rsi
movq %rbp, %rdi
movq %r13, %rdx
callq 0x14236
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x14194
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x13ebc
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x13ed8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x13efd
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x13f1f
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x13e40
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x13f5c
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x141d0
leaq 0x70(%rsp), %rdi
callq 0x126c4
jmp 0x13f87
movq %rax, %r14
jmp 0x13f87
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x13f87
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x14206
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/HashTable.cpp
// Function: HashTable::retTertiaryPairs[abi:cxx11]()
vector<pair<string, string>> HashTable::retTertiaryPairs() {
	vector<pair<string, string>> tertiaryPairs;

	for ( auto it = hashTable.begin(); it != hashTable.end(); ++it ) {
			Entry entry(it->second);
			if ( TERTIARY == entry.replica ) {
			pair<string, string> temp= make_pair(it->first, entry.value);
			tertiaryPairs.emplace_back(temp);
		}
	}
	return tertiaryPairs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x8(%rsp)
movq $0x0, 0x10(%rdi)
movq 0x20(%rsi), %r15
addq $0x10, %r14
cmpq %r14, %r15
je 0x140d9
leaq 0x20(%rsp), %rbx
leaq 0x10(%rsp), %r12
leaq 0x70(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq %rbx, 0x10(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x5a4e
movq %r13, %rdi
movq %r12, %rsi
callq 0x14a4a
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x14020
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x2, 0x94(%rsp)
jne 0x1407e
leaq 0x20(%r15), %rsi
movq %rbp, %rdi
movq %r13, %rdx
callq 0x14236
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x14194
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14062
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1407e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x140a3
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x140c5
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x13fe6
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x14102
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x141d0
leaq 0x70(%rsp), %rdi
callq 0x126c4
jmp 0x1412d
movq %rax, %r14
jmp 0x1412d
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1412d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x14206
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Entry.cpp
// Function: Entry::Entry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, ReplicaType)
Entry::Entry(string _value, int _timestamp, ReplicaType _replica){
	this->delimiter = ":";
	value = _value;
	timestamp = _timestamp;
	replica = _replica;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %r15d
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x28(%rdi), %r13
leaq 0x38(%rdi), %r14
movq %r14, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
leaq 0x3271(%rip), %rcx      # 0x17c5d
movl $0x1, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3160
movl %r15d, 0x20(%rbx)
movl %ebp, 0x24(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq (%r13), %rdi
cmpq %r14, %rdi
je 0x14a36
movq (%r14), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
movq (%rsp), %rsi
callq 0x3680
movq %r15, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::Message(int, Address, MessageType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Message::Message(int _transID, Address _fromAddr, MessageType _type, string _key, string _value){
	this->delimiter = "::";
	transID = _transID;
	fromAddr = _fromAddr;
	type = _type;
	key = _key;
	value = _value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x30(%rsp)
movq %r8, %rbp
movl %ecx, %r14d
movq %rdx, %r12
movl %esi, %r13d
movq %rdi, %r15
leaq 0x8(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x28(%rdi), %rcx
movq %rcx, 0x10(%rsp)
leaq 0x38(%rdi), %rcx
movq %rcx, 0x20(%rsp)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
movl $0x0, 0x48(%rdi)
movw $0x0, 0x4c(%rdi)
leaq 0x58(%rdi), %rbx
leaq 0x68(%rdi), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0x1d7e(%rip), %rcx      # 0x17c5c
movl $0x2, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
leaq 0x48(%r15), %rdi
movl %r13d, 0x50(%r15)
movq %r12, %rsi
callq 0xc8d2
movl %r14d, (%r15)
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
callq 0x3160
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x3160
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x15f4b
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x32c0
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %rcx
callq 0x375d
movq %r14, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::Message(int, Address, MessageType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Message::Message(int _transID, Address _fromAddr, MessageType _type, string _key){
	this->delimiter = "::";
	transID = _transID;
	fromAddr = _fromAddr;
	type = _type;
	key = _key;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x20(%rsp)
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r12d
movq %rdi, %r15
leaq 0x8(%rdi), %rax
movq %rax, (%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x28(%rdi), %rcx
movq %rcx, 0x10(%rsp)
leaq 0x38(%rdi), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
movl $0x0, 0x48(%rdi)
movw $0x0, 0x4c(%rdi)
leaq 0x58(%rdi), %rbx
leaq 0x68(%rdi), %r13
movq %r13, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0x1c70(%rip), %rcx      # 0x17c5c
movl $0x2, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
leaq 0x48(%r15), %rdi
movl %r12d, 0x50(%r15)
movq %r14, %rsi
callq 0xc8d2
movl %ebp, (%r15)
movq (%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x3160
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r13, %rdi
je 0x16045
movq (%r13), %rsi
incq %rsi
callq 0x32c0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq (%rsp), %rdx
movq 0x18(%rsp), %rcx
callq 0x379c
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::Message(int, Address, MessageType, bool)
Message::Message(int _transID, Address _fromAddr, MessageType _type, bool _success){
	this->delimiter = "::";
	transID = _transID;
	fromAddr = _fromAddr;
	type = _type;
	success = _success;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, 0x4(%rsp)
movl %ecx, %r13d
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x28(%rdi), %rcx
movq %rcx, 0x10(%rsp)
leaq 0x38(%rdi), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
movl $0x0, 0x48(%rdi)
movw $0x0, 0x4c(%rdi)
leaq 0x58(%rdi), %r12
leaq 0x68(%rdi), %rbp
movq %rbp, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0x1b74(%rip), %rcx      # 0x17c5c
movl $0x2, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
leaq 0x48(%rbx), %rdi
movl %r14d, 0x50(%rbx)
movq %r15, %rsi
callq 0xc8d2
movl %r13d, (%rbx)
movl 0x4(%rsp), %eax
movb %al, 0x54(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%r12), %rdi
cmpq %rbp, %rdi
je 0x1613b
movq (%rbp), %rsi
incq %rsi
callq 0x32c0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
callq 0x37db
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::Message(int, Address, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Message::Message(int _transID, Address _fromAddr, string _value){
	this->delimiter = "::";
	transID = _transID;
	fromAddr = _fromAddr;
	type = READREPLY;
	value = _value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r13
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbp
leaq 0x8(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x28(%rdi), %rcx
movq %rcx, 0x8(%rsp)
leaq 0x38(%rdi), %rcx
movq %rcx, 0x10(%rsp)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movb %al, 0x38(%rdi)
movl $0x0, 0x48(%rdi)
movw $0x0, 0x4c(%rdi)
leaq 0x58(%rdi), %rbx
leaq 0x68(%rdi), %r12
movq %r12, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0x1a83(%rip), %rcx      # 0x17c5c
movl $0x2, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
leaq 0x48(%rbp), %rdi
movl %r15d, 0x50(%rbp)
movq %r14, %rsi
callq 0xc8d2
movl $0x5, (%rbp)
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x3160
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x16235
movq (%r12), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rcx
callq 0x381a
movq %r14, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tonymuu[P]distributed-kv-store/./Member.h
// Function: Address::Address(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Address(string address) {
		size_t pos = address.find(":");
		int id = stoi(address.substr(0, pos));
		short port = (short)stoi(address.substr(pos + 1, address.size()-pos-1));
		memcpy(&addr[0], &id, sizeof(int));
		memcpy(&addr[4], &port, sizeof(short));
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r12
movq %rdi, 0x10(%rsp)
leaq 0xfd2(%rip), %rsi       # 0x17c5d
movl $0x1, %ecx
movq %r12, %rdi
xorl %edx, %edx
callq 0x34a0
movq %rax, %r13
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x32e0
movq (%rbx), %rbp
callq 0x3050
movq %rax, %rbx
movl (%rax), %eax
movl %eax, 0x4(%rsp)
movl $0x0, (%rbx)
leaq 0x8(%rsp), %r14
movq %rbp, %rdi
movq %r14, %rsi
movl $0xa, %edx
callq 0x33c0
cmpq %rbp, (%r14)
je 0x16dcd
movq %rax, %r15
movslq %r15d, %rax
cmpq %r15, %rax
jne 0x16dd9
movl (%rbx), %eax
cmpl $0x22, %eax
je 0x16dd9
testl %eax, %eax
jne 0x16d0b
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
leaq 0x28(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x16d26
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x1(%r13), %rdx
notq %r13
addq 0x8(%r12), %r13
leaq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x32e0
movq (%r14), %r14
movl (%rbx), %eax
movl %eax, 0x4(%rsp)
movl $0x0, (%rbx)
leaq 0x8(%rsp), %r13
movq %r14, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x33c0
cmpq %r14, (%r13)
je 0x16de5
movq %rax, %r12
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%r12), %rcx
cmpq %rax, %rcx
jb 0x16df1
movl (%rbx), %eax
cmpl $0x22, %eax
je 0x16df1
testl %eax, %eax
jne 0x16d9a
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0x16db1
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x10(%rsp), %rax
movl %r15d, (%rax)
movw %r12w, 0x4(%rax)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xea4(%rip), %rdi       # 0x17c78
callq 0x3190
leaq 0xe98(%rip), %rdi       # 0x17c78
callq 0x33e0
leaq 0xe8c(%rip), %rdi       # 0x17c78
callq 0x3190
leaq 0xe80(%rip), %rdi       # 0x17c78
callq 0x33e0
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x16e0b
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x36a5
jmp 0x16e39
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x16e2a
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x36c2
movq %r14, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::threadPool(int)
threadPool::threadPool(int num)
		:_num(num),
		 _allNum(0),
		 _idleNum(0),
		 _busyNum(0),
	     _busyMutex(),
		 _idleMutex(),
		 _busyCond(_busyMutex),
		 _idleCond(_idleMutex)

	{
		_workBusyVec.clear();
		_workIdleVec.clear();

		for(int i=0; i< _num; i++)
		{
		   threadWork* work = new threadWork(this);
		   __appendIdleThread(work);
		   work->Start();
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r12
leaq 0x3600(%rip), %rax      # 0x5d68
movq %rax, (%rdi)
movl %esi, 0x8(%rdi)
movq $0x0, 0xc(%rdi)
movl $0x0, 0x14(%rdi)
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0x24c0
leaq 0x40(%r12), %r14
movq %r14, %rdi
callq 0x24c0
leaq 0x68(%r12), %rdi
movq %rdi, 0x10(%rsp)
movq %rbx, %rsi
callq 0x24f2
leaq 0xa0(%r12), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x24f2
xorps %xmm0, %xmm0
movups %xmm0, 0x108(%r12)
movups %xmm0, 0xf8(%r12)
movups %xmm0, 0xe8(%r12)
movups %xmm0, 0xd8(%r12)
movq $0x0, 0x118(%r12)
cmpl $0x0, 0x8(%r12)
jle 0x283b
leaq 0xd8(%r12), %rax
movq %rax, 0x8(%rsp)
xorl %r15d, %r15d
movl $0xb8, %edi
callq 0x2130
movq %rax, %rbp
movq %rax, %rdi
movq %r12, %rsi
callq 0x3168
movq %r12, %rdi
movq %rbp, %rsi
callq 0x28f8
movq %rbp, %rdi
callq 0x2538
incl %r15d
cmpl 0x8(%r12), %r15d
jl 0x2806
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
jmp 0x28d6
movq %rax, %r15
jmp 0x28e0
movq %rax, %r15
jmp 0x28e8
movq %rax, %r15
movl $0xb8, %esi
movq %rbp, %rdi
callq 0x2140
jmp 0x2877
movq %rax, %r15
movq 0x108(%r12), %rdi
testq %rdi, %rdi
je 0x2894
movq 0x118(%r12), %rsi
subq %rdi, %rsi
callq 0x2140
movq 0xf0(%r12), %rdi
testq %rdi, %rdi
je 0x28b1
movq 0x100(%r12), %rsi
subq %rdi, %rsi
callq 0x2140
movq 0x8(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x28ce
movq 0xe8(%r12), %rsi
subq %rdi, %rsi
callq 0x2140
movq %r13, %rdi
callq 0x24fe
movq 0x10(%rsp), %rdi
callq 0x24fe
movq %r14, %rdi
callq 0x24c8
movq %rbx, %rdi
callq 0x24c8
movq %r15, %rdi
callq 0x2220
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__appendIdleThread(Thread::threadWork*)
void threadPool::__appendIdleThread(threadWork* jobThread)
		{
			_idleMutex.lock(__FUNCTION__,__LINE__);

			_workAllVec.push_back(jobThread);
			_workIdleVec.push_back(jobThread);
			_allNum++;
			_idleNum++;
			_idleMutex.unlock(__FUNCTION__,__LINE__);
		}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, 0x8(%rsp)
leaq 0x40(%rdi), %rbx
leaq 0x17d5(%rip), %rsi      # 0x40ec
movq %rbx, %rdi
movl $0x6d, %edx
callq 0x24d2
movq 0xe0(%r14), %rsi
cmpq 0xe8(%r14), %rsi
je 0x2941
movq %r15, (%rsi)
addq $0x8, 0xe0(%r14)
jmp 0x2952
leaq 0xd8(%r14), %rdi
leaq 0x8(%rsp), %rdx
callq 0x302a
movq 0x110(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x2974
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x110(%r14)
jmp 0x2985
leaq 0x108(%r14), %rdi
leaq 0x8(%rsp), %rdx
callq 0x302a
movq 0xc(%r14), %xmm0
pcmpeqd %xmm1, %xmm1
psubd %xmm1, %xmm0
movq %xmm0, 0xc(%r14)
leaq 0x174c(%rip), %rsi      # 0x40ec
movq %rbx, %rdi
movl $0x73, %edx
callq 0x24d8
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::StopAll()
void threadPool::StopAll()
	{
		for(unsigned int i=0; i< _workAllVec.size(); i++)
		{
		   threadWork* work = _workAllVec[i];
		   work->Stop();
		}
		
		_workAllVec.clear();
		_workBusyVec.clear();
		_workIdleVec.clear();
	}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xd8(%rdi), %rax
movq 0xe0(%rdi), %rdx
cmpq %rax, %rdx
je 0x2a9a
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%rax,%rcx,8), %rdi
callq 0x2588
movl %ebp, %ecx
movq 0xd8(%rbx), %rax
movq 0xe0(%rbx), %rdx
movq %rdx, %rsi
subq %rax, %rsi
sarq $0x3, %rsi
incl %ebp
cmpq %rcx, %rsi
ja 0x2a70
cmpq %rax, %rdx
je 0x2aa6
movq %rax, 0xe0(%rbx)
movq 0xf0(%rbx), %rax
cmpq %rax, 0xf8(%rbx)
je 0x2abd
movq %rax, 0xf8(%rbx)
movq 0x108(%rbx), %rax
cmpq %rax, 0x110(%rbx)
je 0x2ad4
movq %rax, 0x110(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::Run(Thread::threadJob*, void*)
void threadPool::Run(threadJob* job, void* argv)
	{
		assert(job != NULL);
       
//		_busyMutex.lock(__FUNCTION__,__LINE__);
		if(_busyNum == _allNum)
			_busyCond.wait();

		threadWork *idleThread = __getIdleThread();
		if(idleThread != NULL)
		{
		    idleThread->_workMutex.lock(__FUNCTION__,__LINE__);
			__idleMove2Busy(idleThread);
			job->setWorkThread(idleThread);
			idleThread->setJob(job, argv);
		}
//		_busyMutex.unlock(__FUNCTION__,__LINE__);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x2b7e
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x14(%rdi), %eax
cmpl 0xc(%rdi), %eax
jne 0x2b1b
leaq 0x68(%r15), %rdi
callq 0x2504
movq %r15, %rdi
callq 0x2b9e
testq %rax, %rax
je 0x2b72
movq %rax, %r12
movq %rax, %rdi
addq $0x58, %rdi
leaq 0x159c(%rip), %rsi      # 0x40d5
movl $0x2e, %edx
callq 0x24d2
movq %r15, %rdi
movq %r12, %rsi
callq 0x2c0e
movq %r14, %rdi
movq %r12, %rsi
callq 0x2640
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x32d8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x14fa(%rip), %rdi      # 0x407f
leaq 0x14ff(%rip), %rsi      # 0x408b
leaq 0x1510(%rip), %rcx      # 0x40a3
movl $0x25, %edx
callq 0x20c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__getIdleThread()
threadWork* threadPool::__getIdleThread()
		{
			_idleMutex.lock(__FUNCTION__,__LINE__);
			while(_workIdleVec.size() == 0)
				_idleCond.wait();

			if(_workIdleVec.size() > 0)
			{
				threadWork *work = _workIdleVec.front();
				_idleMutex.unlock(__FUNCTION__,__LINE__);
				return work;
			}

			_idleMutex.unlock(__FUNCTION__,__LINE__);
			return NULL;
		}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
leaq 0x40(%rdi), %rbx
leaq 0x154e(%rip), %rsi      # 0x40ff
movq %rbx, %rdi
movl $0x78, %edx
callq 0x24d2
movq 0x108(%r14), %rax
cmpq %rax, 0x110(%r14)
jne 0x2bed
leaq 0xa0(%r14), %r15
movq %r15, %rdi
callq 0x2504
movq 0x108(%r14), %rax
cmpq %rax, 0x110(%r14)
je 0x2bd5
movq (%rax), %r14
leaq 0x1508(%rip), %rsi      # 0x40ff
movq %rbx, %rdi
movl $0x7f, %edx
callq 0x24d8
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__idleMove2Busy(Thread::threadWork*)
void threadPool::__idleMove2Busy(threadWork* idleThread)
	{
		_busyMutex.lock(__FUNCTION__,__LINE__);
		_workBusyVec.push_back(idleThread);
		_busyNum++;
		_busyMutex.unlock(__FUNCTION__,__LINE__);


		_idleMutex.lock(__FUNCTION__,__LINE__);
		std::vector<threadWork *>::iterator pos;
		pos = find(_workIdleVec.begin(), _workIdleVec.end(), idleThread);
		if(pos != _workIdleVec.end())
		{
			_workIdleVec.erase(pos);
			_idleNum--;
		}
		_idleMutex.unlock(__FUNCTION__,__LINE__);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
leaq 0x18(%rdi), %r14
leaq 0x14f2(%rip), %rsi      # 0x411f
movq %r14, %rdi
movl $0xa0, %edx
callq 0x24d2
movq 0xf8(%rbx), %rsi
cmpq 0x100(%rbx), %rsi
je 0x2c57
movq %r15, (%rsi)
addq $0x8, 0xf8(%rbx)
jmp 0x2c68
leaq 0xf0(%rbx), %rdi
leaq 0x8(%rsp), %rdx
callq 0x302a
incl 0x14(%rbx)
leaq 0x14ad(%rip), %r15      # 0x411f
movq %r14, %rdi
movq %r15, %rsi
movl $0xa3, %edx
callq 0x24d8
leaq 0x40(%rbx), %r14
movq %r14, %rdi
movq %r15, %rsi
movl $0xa6, %edx
callq 0x24d2
movq 0x108(%rbx), %rdi
movq 0x110(%rbx), %rsi
leaq 0x8(%rsp), %rdx
callq 0x2f7e
movq 0x110(%rbx), %rdx
cmpq %rdx, %rax
je 0x2ce3
leaq 0x8(%rax), %rsi
cmpq %rdx, %rsi
je 0x2cd5
subq %rsi, %rdx
movq %rax, %rdi
callq 0x2210
movq 0x110(%rbx), %rdx
addq $-0x8, %rdx
movq %rdx, 0x110(%rbx)
decl 0x10(%rbx)
leaq 0x1435(%rip), %rsi      # 0x411f
movq %r14, %rdi
movl $0xae, %edx
callq 0x24d8
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__createIdleThread(int)
void threadPool::__createIdleThread(int num)
	{
		for(int i=0; i< num; i++)
		{
		   threadWork* work = new threadWork(this);
		   __appendIdleThread(work);
		   work->Start();
		}
		_num = _num + num;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
testl %esi, %esi
jle 0x2d43
movl %ebx, %ebp
movl $0xb8, %edi
callq 0x2130
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x3168
movq %r14, %rdi
movq %r15, %rsi
callq 0x28f8
movq %r15, %rdi
callq 0x2538
decl %ebp
jne 0x2d14
addl %ebx, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0xb8, %esi
movq %r15, %rdi
callq 0x2140
movq %rbx, %rdi
callq 0x2220