LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5a48
movq 0x58(%r14), %rdi
callq 0xc962
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movl %eax, %edx
movl %ebp, %ecx
callq 0x14c74
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x10b8b
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 0x5a48
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x1502c
movq %rsp, %rsi
leaq 0x40(%rsp), %rdx
movq %r14, %rdi
callq 0x13ce6
movl %eax, %ebx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10be6
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x10bfc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10c1d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10c38
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 0x10c6b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10c6b
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x10c86
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10c86
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x129c4
jmp 0x10cac
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x10cac
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5a48
movq %rsp, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x13cf4
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x10d0f
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdx
testq %rdx, %rdx
je 0x10db7
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rsp), %rsi
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x5a48
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x14d16
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x10d5d
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 0x5a48
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10d9a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10df6
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10df6
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rsi
cmpq %rax, %rsi
je 0x10dda
movq %rsi, (%rbx)
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x10de0
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq %rdx, 0x8(%rbx)
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10e11
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x129c4
jmp 0x10e51
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x10e51
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
jmp 0x10e51
movq %rax, %rbx
leaq 0x10(%rsp), %r12
movq -0x10(%r12), %rdi
jmp 0x10e65
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x10e76
movq (%r12), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/tonymuu[P]distributed-kv-store/MP2Node.cpp
// Function: MP2Node::handleReplyMessage(Message)
void MP2Node::handleReplyMessage(Message msg) {
    int txId = msg.transID;
    auto it = txMap.find(txId);

    if (it != txMap.end()) {
        Transaction *transaction = &it->second;

        transaction->totalCount++;
        // READREPLY messages don't use success field, they use value field instead (if fail value is null)
        // see Message(string str) constructor
        if (msg.type == READREPLY && !msg.value.empty()) {
            transaction->successCount++;
            transaction->value = msg.value;
        } else if (msg.success) {
            transaction->successCount++;
        }
    }
}

// Assembly:
movl 0x50(%rsi), %ecx
movq 0xd0(%rdi), %rax
addq $0xc8, %rdi
movq %rdi, %rdx
testq %rax, %rax
je 0x126da
movq %rdi, %rdx
xorl %r8d, %r8d
cmpl %ecx, 0x20(%rax)
setl %r8b
cmovgeq %rax, %rdx
movq 0x10(%rax,%r8,8), %rax
testq %rax, %rax
jne 0x126c2
movq %rdi, %rax
cmpq %rdi, %rdx
je 0x126ec
cmpl 0x20(%rdx), %ecx
cmovlq %rdi, %rdx
movq %rdx, %rax
cmpq %rdi, %rax
je 0x1271c
incl 0x2c(%rax)
cmpl $0x5, (%rsi)
jne 0x12713
cmpq $0x0, 0x30(%rsi)
je 0x12713
incl 0x28(%rax)
addq $0x28, %rsi
addq $0x60, %rax
movq %rax, %rdi
jmp 0x3160
cmpb $0x1, 0x54(%rsi)
jne 0x1271c
incl 0x28(%rax)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x146e2
addq $0x10, %r14
cmpq %r14, %rax
je 0x13d2f
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5a48
jmp 0x13d48
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x4511(%rip), %rdx      # 0x1824e
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xb686
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5a48
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x13cf4
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %r12
cmpq %rax, %rdi
je 0x13db7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x13dcd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
testq %r12, %r12
je 0x13dec
addq $0x8, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1441c
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 0x13e19
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x5a48
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x13cf4
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %r15
cmpq %rax, %rdi
je 0x13e82
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32c0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x13e98
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
testq %r15, %r15
je 0x13ec2
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x14728
movl 0x30(%rbx), %ebp
movq %r15, %rdi
movq %rax, %rsi
callq 0x147d0
cmpl 0x30(%rbx), %ebp
setne %al
jmp 0x13ec4
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 0x13eea
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x14069
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 0x5a48
movq %r13, %rdi
movq %r12, %rsi
callq 0x14d16
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x13fab
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x0, 0x94(%rsp)
jne 0x1400e
leaq 0x20(%r15), %rsi
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rdx
callq 0x1450c
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x14470
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x13ff2
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1400e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x14033
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x14055
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x13f71
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 0x144a6
jmp 0x14092
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x129c4
jmp 0x140bd
movq %rax, %r14
jmp 0x140bd
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x140bd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x144dc
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1420f
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 0x5a48
movq %r13, %rdi
movq %r12, %rsi
callq 0x14d16
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x14156
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x1, 0x94(%rsp)
jne 0x141b4
leaq 0x20(%r15), %rsi
movq %rbp, %rdi
movq %r13, %rdx
callq 0x1450c
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x14470
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14198
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x141b4
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x141d9
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x141fb
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x1411c
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x14238
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x144a6
leaq 0x70(%rsp), %rdi
callq 0x129c4
jmp 0x14263
movq %rax, %r14
jmp 0x14263
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x14263
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x144dc
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x143b5
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 0x5a48
movq %r13, %rdi
movq %r12, %rsi
callq 0x14d16
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x142fc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
cmpl $0x2, 0x94(%rsp)
jne 0x1435a
leaq 0x20(%r15), %rsi
movq %rbp, %rdi
movq %r13, %rdx
callq 0x1450c
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x14470
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1433e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1435a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1437f
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x143a1
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
callq 0x31d0
movq %rax, %r15
cmpq %r14, %rax
jne 0x142c2
movq 0x8(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x143de
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x144a6
leaq 0x70(%rsp), %rdi
callq 0x129c4
jmp 0x14409
movq %rax, %r14
jmp 0x14409
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x14409
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32c0
movq 0x8(%rsp), %rdi
callq 0x144dc
movq %r14, %rdi
callq 0x34b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x4001(%rip), %rcx      # 0x18cb9
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 0x14d02
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_O1/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>>, ReplicaType)
Message::Message(int _transID, Address _fromAddr, MessageType _type, string _key, string _value, ReplicaType _replica){
	this->delimiter = "::";
	transID = _transID;
	fromAddr = _fromAddr;
	type = _type;
	key = _key;
	value = _value;
	replica = _replica;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x30(%rsp)
movq %r8, %rbx
movl %ecx, %r15d
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %r13
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), %r14
leaq 0x68(%rdi), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0x2cf9(%rip), %rcx      # 0x18cb8
movl $0x2, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3440
leaq 0x48(%r13), %rdi
movl %ebp, 0x50(%r13)
movq %r12, %rsi
callq 0xc9b6
movl %r15d, (%r13)
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0x3160
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x3160
movl 0x70(%rsp), %eax
movl %eax, 0x4(%r13)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%r14), %rdi
cmpq 0x8(%rsp), %rdi
je 0x16035
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 0x36df
movq %rbx, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::Message(Message const&)
Message::Message(const Message& anotherMessage) {
	this->delimiter = anotherMessage.delimiter;
	this->fromAddr = anotherMessage.fromAddr;
	this->key = anotherMessage.key;
	this->replica = anotherMessage.replica;
	this->success = anotherMessage.success;
	this->transID = anotherMessage.transID;
	this->type = anotherMessage.type;
	this->value = anotherMessage.value;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r13
movq %rdi, %rbp
leaq 0x8(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x28(%rdi), %r15
leaq 0x38(%rdi), %r12
movq %r12, 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), %r14
movq %r14, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
addq $0x58, %rsi
movq %rbx, %rdi
callq 0x3160
leaq 0x48(%rbp), %rdi
leaq 0x48(%r13), %rsi
callq 0xc9b6
leaq 0x8(%r13), %rsi
movq 0x8(%rsp), %rdi
callq 0x3160
movl 0x4(%r13), %eax
movl %eax, 0x4(%rbp)
movb 0x54(%r13), %al
movb %al, 0x54(%rbp)
movl 0x50(%r13), %eax
movl %eax, 0x50(%rbp)
movl (%r13), %eax
movl %eax, (%rbp)
addq $0x28, %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0x3160
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x16133
movq (%r14), %rsi
incq %rsi
callq 0x32c0
movq %r15, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x371e
movq %r13, %rdi
callq 0x34b0
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2ade(%rip), %rcx      # 0x18cb8
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 0xc9b6
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 0x16247
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_O1/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 0x29d0(%rip), %rcx      # 0x18cb8
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 0xc9b6
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 0x16341
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_O1/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 0x28d4(%rip), %rcx      # 0x18cb8
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 0xc9b6
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 0x16437
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_O1/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 0x27e3(%rip), %rcx      # 0x18cb8
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 0xc9b6
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 0x16531
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_O1/tonymuu[P]distributed-kv-store/Message.cpp
// Function: Message::operator=(Message const&)
Message& Message::operator =(const Message& anotherMessage) {
	this->delimiter = anotherMessage.delimiter;
	this->fromAddr = anotherMessage.fromAddr;
	this->key = anotherMessage.key;
	this->replica = anotherMessage.replica;
	this->success = anotherMessage.success;
	this->transID = anotherMessage.transID;
	this->type = anotherMessage.type;
	this->value = anotherMessage.value;
	return *this;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
addq $0x58, %rsi
addq $0x58, %rdi
callq 0x3160
leaq 0x48(%r14), %rsi
leaq 0x48(%rbx), %rdi
callq 0xc9b6
leaq 0x8(%r14), %rsi
leaq 0x8(%rbx), %rdi
callq 0x3160
movl 0x4(%r14), %eax
movl %eax, 0x4(%rbx)
movb 0x54(%r14), %al
movb %al, 0x54(%rbx)
movl 0x50(%r14), %eax
movl %eax, 0x50(%rbx)
movl (%r14), %eax
movl %eax, (%rbx)
addq $0x28, %r14
leaq 0x28(%rbx), %rdi
movq %r14, %rsi
callq 0x3160
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d2a(%rip), %rsi      # 0x18cb9
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 0x170d1
movq %rax, %r15
movslq %r15d, %rax
cmpq %r15, %rax
jne 0x170dd
movl (%rbx), %eax
cmpl $0x22, %eax
je 0x170dd
testl %eax, %eax
jne 0x1700f
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
leaq 0x28(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x1702a
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 0x170e9
movq %rax, %r12
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
leaq -0x80000000(%r12), %rcx
cmpq %rax, %rcx
jb 0x170f5
movl (%rbx), %eax
cmpl $0x22, %eax
je 0x170f5
testl %eax, %eax
jne 0x1709e
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
movq 0x18(%rsp), %rdi
cmpq %rbp, %rdi
je 0x170b5
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 0x1bfc(%rip), %rdi      # 0x18cd4
callq 0x3190
leaq 0x1bf0(%rip), %rdi      # 0x18cd4
callq 0x33e0
leaq 0x1be4(%rip), %rdi      # 0x18cd4
callq 0x3190
leaq 0x1bd8(%rip), %rdi      # 0x18cd4
callq 0x33e0
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x1710f
movl 0x4(%rsp), %eax
movl %eax, (%rbx)
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x36a5
jmp 0x1713d
movq %rax, %r14
cmpl $0x0, (%rbx)
jne 0x1712e
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_O1/tiancihui[P]bo/./test/main.cpp
// Function: main
int main(int argc, char* argv[])
{


	Thread::threadManager* manage = new Thread::threadManager(10);  

	sleep(2);  
	for(int i=0;i<10000;i++)  
	{  
/*		
		usleep(10);
		JobData *data = new JobData();
		memset(data->message,'0',1024);
        sprintf(data->message,"message %d",i);		
		CYJob * job = new CYJob();  
		manage->Run(job,data);  
*/
		sleep(1);
		char buffer[1024];
		Common::getCurStr(buffer);
		printf("%s\r\n",buffer);
	}  

    while(1)
	{
	   sleep(1);
	}

	manage->StopAll(); 
	return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movl $0x18, %edi
callq 0x2130
movq %rax, %rbx
movq %rax, %rdi
movl $0xa, %esi
callq 0x269e
movl $0x2, %edi
callq 0x20e0
movl $0x2710, %ebp           # imm = 0x2710
movq %rsp, %rbx
leaq 0x1c4a(%rip), %r14      # 0x4004
movl $0x1, %edi
callq 0x20e0
movq %rbx, %rdi
callq 0x245d
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2040
decl %ebp
jne 0x23ba
movl $0x1, %edi
callq 0x20e0
jmp 0x23dd
movq %rax, %r14
movl $0x18, %esi
movq %rbx, %rdi
callq 0x2140
movq %r14, %rdi
callq 0x2220
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/tiancihui[P]bo/./thread/thread.cpp
// Function: Thread::thread::Start()
void thread::Start()
	{
		pthread_attr_t attr;
		pthread_attr_init(&attr); 
		pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 
		if (pthread_create(&_tid,&attr,thread::ThreadFunction,this)!=0) {
			printf("Create thread error!\n");
			return ;
		}
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x2180
movq %r14, %rdi
movl $0x1, %esi
callq 0x2190
leaq 0x8(%rbx), %rdi
leaq -0x39(%rip), %rdx       # 0x252c
movq %r14, %rsi
movq %rbx, %rcx
callq 0x2240
testl %eax, %eax
je 0x2580
leaq 0x1ac2(%rip), %rdi      # 0x403d
callq 0x21f0
addq $0x38, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/tiancihui[P]bo/./thread/threadJob.cpp
// Function: Thread::threadJob::setJobName(char*)
void threadJob::setJobName(char* jobName)
	{
         if(_jobName != NULL)
		 {
		    free(_jobName);
			_jobName = NULL;
		 }

		 if(jobName != NULL)
		 {
		      _jobName = (char*)malloc(strlen(jobName)+1);
			  strcpy(_jobName,jobName);
		 }
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x25ec
callq 0x2160
movq $0x0, 0x18(%r14)
testq %rbx, %rbx
je 0x2618
movq %rbx, %rdi
callq 0x20a0
leaq 0x1(%rax), %rdi
callq 0x21a0
movq %rax, 0x18(%r14)
movq %rax, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2120
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/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, 0xf8(%r12)
movups %xmm0, 0x108(%r12)
movups %xmm0, 0xe8(%r12)
movups %xmm0, 0xd8(%r12)
movq $0x0, 0x118(%r12)
cmpq $0x0, 0xf8(%r12)
je 0x2805
movq $0x0, 0xf8(%r12)
movq 0x108(%r12), %rax
cmpq %rax, 0x110(%r12)
je 0x281f
movq %rax, 0x110(%r12)
cmpl $0x0, 0x8(%r12)
jle 0x286c
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 0x314c
movq %r12, %rdi
movq %rbp, %rsi
callq 0x292a
movq %rbp, %rdi
callq 0x2538
incl %r15d
cmpl 0x8(%r12), %r15d
jl 0x2837
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
jmp 0x2907
movq %rax, %r15
jmp 0x2911
movq %rax, %r15
jmp 0x2919
movq %rax, %r15
movl $0xb8, %esi
movq %rbp, %rdi
callq 0x2140
jmp 0x28a8
movq %rax, %r15
movq 0x108(%r12), %rdi
testq %rdi, %rdi
je 0x28c5
movq 0x118(%r12), %rsi
subq %rdi, %rsi
callq 0x2140
movq 0xf0(%r12), %rdi
testq %rdi, %rdi
je 0x28e2
movq 0x100(%r12), %rsi
subq %rdi, %rsi
callq 0x2140
movq 0x8(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x28ff
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
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq %rsi, (%rsp)
leaq 0x40(%rdi), %rbx
leaq 0x17ac(%rip), %rsi      # 0x40ec
movq %rbx, %rdi
movl $0x6d, %edx
callq 0x24d2
movq 0xe0(%r14), %rsi
cmpq 0xe8(%r14), %rsi
je 0x296e
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0xe0(%r14)
jmp 0x297d
leaq 0xd8(%r14), %rdi
movq %rsp, %rdx
callq 0x3010
movq 0x110(%r14), %rsi
cmpq 0x118(%r14), %rsi
je 0x299e
movq (%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x110(%r14)
jmp 0x29ad
leaq 0x108(%r14), %rdi
movq %rsp, %rdx
callq 0x3010
incl 0xc(%r14)
incl 0x10(%r14)
leaq 0x1730(%rip), %rsi      # 0x40ec
movq %rbx, %rdi
movl $0x73, %edx
callq 0x24d8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2ab4
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 0x2a8a
cmpq %rax, %rdx
je 0x2ac0
movq %rax, 0xe0(%rbx)
movq 0xf0(%rbx), %rax
cmpq %rax, 0xf8(%rbx)
je 0x2ad7
movq %rax, 0xf8(%rbx)
movq 0x108(%rbx), %rax
cmpq %rax, 0x110(%rbx)
je 0x2aee
movq %rax, 0x110(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x2b98
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x14(%rdi), %eax
cmpl 0xc(%rdi), %eax
jne 0x2b35
leaq 0x68(%r15), %rdi
callq 0x2504
movq %r15, %rdi
callq 0x2bb8
testq %rax, %rax
je 0x2b8c
movq %rax, %r12
movq %rax, %rdi
addq $0x58, %rdi
leaq 0x1582(%rip), %rsi      # 0x40d5
movl $0x2e, %edx
callq 0x24d2
movq %r15, %rdi
movq %r12, %rsi
callq 0x2c28
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 0x32bc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x14e0(%rip), %rdi      # 0x407f
leaq 0x14e5(%rip), %rsi      # 0x408b
leaq 0x14f6(%rip), %rcx      # 0x40a3
movl $0x25, %edx
callq 0x20c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x1534(%rip), %rsi      # 0x40ff
movq %rbx, %rdi
movl $0x78, %edx
callq 0x24d2
movq 0x108(%r14), %rax
cmpq %rax, 0x110(%r14)
jne 0x2c07
leaq 0xa0(%r14), %r15
movq %r15, %rdi
callq 0x2504
movq 0x108(%r14), %rax
cmpq %rax, 0x110(%r14)
je 0x2bef
movq (%rax), %r14
leaq 0x14ee(%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_O1/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 %rdi, %rbx
movq %rsi, 0x8(%rsp)
leaq 0x18(%rdi), %r14
leaq 0x14db(%rip), %rsi      # 0x411f
movq %r14, %rdi
movl $0xa0, %edx
callq 0x24d2
movq 0xf8(%rbx), %rsi
cmpq 0x100(%rbx), %rsi
je 0x2c73
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0xf8(%rbx)
jmp 0x2c84
leaq 0xf0(%rbx), %rdi
leaq 0x8(%rsp), %rdx
callq 0x3010
incl 0x14(%rbx)
leaq 0x1491(%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 0x2f70
movq 0x110(%rbx), %rdx
cmpq %rdx, %rax
je 0x2cf5
leaq 0x8(%rax), %rsi
cmpq %rdx, %rsi
je 0x2cea
subq %rsi, %rdx
movq %rax, %rdi
callq 0x2210
addq $-0x8, 0x110(%rbx)
decl 0x10(%rbx)
leaq 0x1423(%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_O1/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 0x2d55
movl %ebx, %ebp
movl $0xb8, %edi
callq 0x2130
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x314c
movq %r14, %rdi
movq %r15, %rsi
callq 0x292a
movq %r15, %rdi
callq 0x2538
decl %ebp
jne 0x2d26
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
// File: /workspace/github_cpp_makefile_star2_O1/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__deleteIdleThread(int)
void  threadPool::__deleteIdleThread(int num)
	{
		_idleMutex.lock(__FUNCTION__,__LINE__);
		for(int i=0; i < num; i++)
		{
			if(_workIdleVec.size() > 0)
			{
				threadWork *removeThread = _workIdleVec.front();
				std::vector<threadWork *>::iterator pos;
				pos = std::find(_workIdleVec.begin(), _workIdleVec.end(), removeThread);
				if(pos != _workIdleVec.end())
				{
					_workIdleVec.erase(pos);
					_idleNum--;
				}

				std::vector<threadWork *>::iterator posTemp;
				posTemp = find(_workAllVec.begin(), _workAllVec.end(), removeThread);
				if(posTemp != _workAllVec.end())
				{
					_workAllVec.erase(posTemp);
					_allNum--;
				}

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %r14
leaq 0x40(%rdi), %rbx
leaq 0x1346(%rip), %rsi      # 0x40d9
movq %rbx, %rdi
movl $0x50, %edx
callq 0x24d2
testl %ebp, %ebp
jle 0x2e43
movq %rsp, %r15
movq 0x108(%r14), %rdi
movq 0x110(%r14), %rsi
cmpq %rdi, %rsi
je 0x2e3b
movq (%rdi), %rax
movq %rax, (%rsp)
movq %r15, %rdx
callq 0x2f70
movq 0x110(%r14), %rdx
cmpq %rdx, %rax
je 0x2df9
leaq 0x8(%rax), %rsi
cmpq %rdx, %rsi
je 0x2ded
subq %rsi, %rdx
movq %rax, %rdi
callq 0x2210
addq $-0x8, 0x110(%r14)
decl 0x10(%r14)
movq 0xd8(%r14), %rdi
movq 0xe0(%r14), %rsi
movq %r15, %rdx
callq 0x2f70
movq 0xe0(%r14), %rdx
cmpq %rdx, %rax
je 0x2e3b
leaq 0x8(%rax), %rsi
cmpq %rdx, %rsi
je 0x2e2f
subq %rsi, %rdx
movq %rax, %rdi
callq 0x2210
addq $-0x8, 0xe0(%r14)
decl 0xc(%r14)
decl %ebp
jne 0x2dab
leaq 0x128f(%rip), %rsi      # 0x40d9
movq %rbx, %rdi
movl $0x68, %edx
callq 0x24d8
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tiancihui[P]bo/./thread/threadPool.cpp
// Function: Thread::threadPool::__busyMove2Idle(Thread::threadWork*)
void threadPool::__busyMove2Idle(threadWork* busyThread)
	{

		_idleMutex.lock(__FUNCTION__,__LINE__);
		_workIdleVec.push_back(busyThread);
		_idleNum++;
		_idleMutex.unlock(__FUNCTION__,__LINE__);


		_busyMutex.lock(__FUNCTION__,__LINE__);
		std::vector<threadWork *>::iterator pos;
		pos = find(_workBusyVec.begin(), _workBusyVec.end(), busyThread);
		if(pos != _workBusyVec.end())
		{
			_workBusyVec.erase(pos);
			_busyNum--;
		}
		_busyMutex.unlock(__FUNCTION__,__LINE__);

        _idleCond.notify();
        _busyCond.notify();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
leaq 0x40(%rdi), %r14
leaq 0x1291(%rip), %rsi      # 0x410f
movq %r14, %rdi
movl $0x8a, %edx
callq 0x24d2
movq 0x110(%rbx), %rsi
cmpq 0x118(%rbx), %rsi
je 0x2ead
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x110(%rbx)
jmp 0x2ebe
leaq 0x108(%rbx), %rdi
leaq 0x8(%rsp), %rdx
callq 0x3010
incl 0x10(%rbx)
leaq 0x1247(%rip), %r15      # 0x410f
movq %r14, %rdi
movq %r15, %rsi
movl $0x8d, %edx
callq 0x24d8
leaq 0x18(%rbx), %r14
movq %r14, %rdi
movq %r15, %rsi
movl $0x90, %edx
callq 0x24d2
movq 0xf0(%rbx), %rdi
movq 0xf8(%rbx), %rsi
leaq 0x8(%rsp), %rdx
callq 0x2f70
movq 0xf8(%rbx), %rdx
cmpq %rdx, %rax
je 0x2f2f
leaq 0x8(%rax), %rsi
cmpq %rdx, %rsi
je 0x2f24
subq %rsi, %rdx
movq %rax, %rdi
callq 0x2210
addq $-0x8, 0xf8(%rbx)
decl 0x14(%rbx)
leaq 0x11d9(%rip), %rsi      # 0x410f
movq %r14, %rdi
movl $0x98, %edx
callq 0x24d8
leaq 0xa0(%rbx), %rdi
callq 0x250e
addq $0x68, %rbx
movq %rbx, %rdi
callq 0x250e
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/tiancihui[P]bo/./thread/threadWork.cpp
// Function: Thread::threadWork::~threadWork()
threadWork::~threadWork()
	{
		_argv = NULL;
        if(_job != NULL)
		{
		  delete _job ;
		}
		_pool = NULL;
	}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x2bb9(%rip), %rax      # 0x5d98
movq %rax, (%rdi)
movq $0x0, 0x28(%rdi)
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0x31f9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rbx)
leaq 0x80(%rbx), %rdi
callq 0x24fe
leaq 0x58(%rbx), %rdi
callq 0x24c8
leaq 0x30(%rbx), %rdi
callq 0x24c8
movq %rbx, %rdi
popq %rbx
jmp 0x2528