LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Jumperr-labs[P]at25sf081/modeling-framework/src/ModelingFramework.cpp
// Function: AddTimedCallback(unsigned long, std::function<void ()> const&, bool)
int AddTimedCallback(uint64_t ns, const callback_t &callback, bool run_once) {
    assert(jemu_interface_);
    int id = jemu_interface_->AddTimedCallback(ns, &TimedCallback, run_once);
    timers_callbacks_map_[id] = callback;
    return id;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %rsi
movq 0x49f6(%rip), %rax      # 0xaf80
movq (%rax), %rdi
testq %rdi, %rdi
je 0x65cf
movq (%rdi), %rax
movzbl %dl, %ecx
movq 0x4a09(%rip), %rdx      # 0xafa8
callq *0x20(%rax)
leaq 0x4(%rsp), %r14
movl %eax, (%r14)
movq 0x4a27(%rip), %rdi      # 0xafd8
movq %r14, %rsi
callq 0x51d0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x5060
movl (%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1ca3(%rip), %rdi      # 0x8279
leaq 0x1cac(%rip), %rsi      # 0x8289
leaq 0x1f1a(%rip), %rcx      # 0x84fe
pushq $0x55
popq %rdx
callq 0x51e0
// File: /workspace/github_cpp_makefile_star2_O2/Jumperr-labs[P]at25sf081/modeling-framework/src/ModelingFramework.cpp
// Function: SetMultiplePinsLevel(std::vector<WireChange, std::allocator<WireChange>> const&)
void SetMultiplePinsLevel(const pin_level_changes_t& pin_changes) {
    assert(jemu_interface_);

    if (pin_changes.empty()) 
        return;

    std::unique_ptr<WireChange> arr(new WireChange[pin_changes.size()]);
    std::copy(pin_changes.begin(),pin_changes.end(), arr.get() );
    jemu_interface_->SetMultiplePinsLevel(arr.get(), pin_changes.size());
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq 0x490d(%rip), %rax      # 0xaf80
movq (%rax), %rbx
testq %rbx, %rbx
je 0x6702
movq (%rdi), %r14
movq 0x8(%rdi), %r15
cmpq %r15, %r14
je 0x66f4
subq %r14, %r15
pushq $0xc
popq %rcx
movq %r15, %rax
cqto
idivq %rcx
movq %rax, %r12
mulq %rcx
pushq $-0x1
popq %rdi
cmovnoq %rax, %rdi
callq 0x5030
movq %rax, %r13
addq %r15, %rax
movq %r13, %rcx
andl $0x0, (%rcx)
movb $0x0, 0x4(%rcx)
andl $0x0, 0x8(%rcx)
addq $0xc, %rcx
cmpq %rax, %rcx
jne 0x66b4
movq %r13, 0x8(%rsp)
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x5520
movq (%rbx), %rax
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq *0x60(%rax)
leaq 0x8(%rsp), %rdi
callq 0x5380
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x1b70(%rip), %rdi      # 0x8279
leaq 0x1b79(%rip), %rsi      # 0x8289
leaq 0x1e66(%rip), %rcx      # 0x857d
pushq $0x66
popq %rdx
callq 0x51e0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5380
movq %rbx, %rdi
callq 0x55c0
// File: /workspace/github_cpp_makefile_star2_O2/Jumperr-labs[P]at25sf081/modeling-framework/src/ModelingFramework.cpp
// Function: SetPinChangeLevelEventCallback(unsigned int, std::function<void (std::vector<WireLogicLevelEvent, std::allocator<WireLogicLevelEvent>>&)> const&)
int SetPinChangeLevelEventCallback(uint32_t pin_id, const pin_change_level_callback_t& callback) {
    assert(jemu_interface_);
    static int id = 0;
    auto pin_change_level_callback = new PinChangeLevelEventCallback(callback);
    jemu_interface_->SetPinChangeLevelEventCallback(pin_id, pin_change_level_callback);
    return id++;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x47fa(%rip), %r12      # 0xaf80
cmpq $0x0, (%r12)
je 0x67ec
movq %rsi, %r15
movl %edi, %ebx
pushq $0x28
popq %rdi
callq 0x5310
movq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x51c0
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x5230
movq %r15, %rdi
callq 0x5200
movq (%r12), %rdi
movq (%rdi), %rax
movl %ebx, %esi
movq %r14, %rdx
callq *0x70(%rax)
movl 0x4ba1(%rip), %eax      # 0xb378
leal 0x1(%rax), %ecx
movl %ecx, 0x4b98(%rip)      # 0xb378
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x1a86(%rip), %rdi      # 0x8279
leaq 0x1a8f(%rip), %rsi      # 0x8289
leaq 0x1de9(%rip), %rcx      # 0x85ea
movl $0x83, %edx
callq 0x51e0
movq %rax, %rbx
pushq $0x28
popq %rsi
movq %r14, %rdi
callq 0x5320
movq %rbx, %rdi
callq 0x55c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/./credis.h
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> Redis::num2str<long>(long const&)
std::string num2str(const T& num)
    {
        std::stringstream ss;
        ss << num;
        std::string str;
        ss >> str;
        return str;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rdx, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x3270
leaq 0x10(%rsp), %rdi
movq (%r14), %rsi
callq 0x3340
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x3430
movq %rsp, %rdi
callq 0x32a0
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x3180
jmp 0x7984
movq %rax, %r14
movq %rsp, %rdi
callq 0x32a0
movq %r14, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::~Redis()
Redis::~Redis() 
{
    if(_connected)
    {
        //DEBUG<<"free _context"<<std::endl;
        ::redisFree(_context);
        _connected = false;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x12d1d(%rip), %rax     # 0x16d98
movq %rax, (%rdi)
cmpb $0x1, 0x60(%rdi)
jne 0x4091
movq 0x8(%rbx), %rdi
callq 0xa3d0
movb $0x0, 0x60(%rbx)
leaq 0x40(%rbx), %rdi
callq 0x3180
addq $0x18, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x3180
movq %rax, %rdi
callq 0x3f0f
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::connect()
void Redis::connect()
{
    if(_connected)
    {
        //DEBUG
        return;
    }
    _connected = true;
    _context = ::redisConnect(_ip.c_str(), _port);
    if (_context && _context->err)
    {
        exit(EXIT_FAILURE);
    }
    if(_pwd.empty())
    {
        std::vector<std::string> status;
        exec("PING",status);
        if((!status.empty()) && strcasecmp(status[0].c_str(),"PONG") == 0)
        {
            return ;
        }
        else
        {
            //debug
            exit(EXIT_FAILURE);
        }
    }

    if (auth(_pwd))
    {
        //debug
    }
    else
    {
        exit(EXIT_FAILURE);
    }

}

// Assembly:
pushq %rbx
subq $0x50, %rsp
cmpb $0x0, 0x60(%rdi)
jne 0x41a4
movq %rdi, %rbx
movb $0x1, 0x60(%rdi)
movq 0x18(%rdi), %rdi
movl 0x38(%rbx), %esi
callq 0xa690
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x4122
cmpl $0x0, (%rax)
jne 0x41aa
cmpq $0x0, 0x48(%rbx)
je 0x413b
leaq 0x40(%rbx), %rsi
movq %rbx, %rdi
callq 0x436c
testb %al, %al
jne 0x41a4
jmp 0x41aa
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0xcf44(%rip), %rsi      # 0x11094
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x3140
leaq 0x30(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x41d6
leaq 0x30(%rsp), %rdi
callq 0x3180
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x41aa
movq (%rax), %rdi
leaq 0xcf08(%rip), %rsi      # 0x11099
callq 0x33b0
testl %eax, %eax
jne 0x41aa
leaq 0x10(%rsp), %rdi
callq 0x3eee
addq $0x50, %rsp
popq %rbx
retq
pushq $0x1
popq %rdi
callq 0x3400
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x3180
jmp 0x41c4
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3eee
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::del(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int64_t Redis::del(const std::string& key)
{
    int64_t ret=0;
    std::string cmd = "DEL " + key;
    if(execReplyInt(cmd, ret))
    {
        return ret;
    }
    DEBUG<<"execReplyInt error "<<std::endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
leaq 0xcc71(%rip), %rsi      # 0x1109e
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
testb %al, %al
je 0x4468
movq 0x8(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq 0x12b69(%rip), %rdi     # 0x16fd8
leaq 0xcc2d(%rip), %rsi      # 0x110a3
callq 0x3350
leaq 0xcc29(%rip), %rsi      # 0x110ab
movq %rax, %rdi
callq 0x3350
leaq 0xcc25(%rip), %rsi      # 0x110b6
movq %rax, %rdi
callq 0x3350
leaq 0xcc18(%rip), %rsi      # 0x110b8
movq %rax, %rdi
callq 0x3350
leaq 0xcc07(%rip), %rsi      # 0x110b6
movq %rax, %rdi
callq 0x3350
leaq 0xcbfe(%rip), %rsi      # 0x110bc
movq %rax, %rdi
callq 0x3350
pushq $0x75
popq %rsi
movq %rax, %rdi
callq 0x3590
leaq 0xd71a(%rip), %rsi      # 0x11bf2
movq %rax, %rdi
callq 0x3350
leaq 0xcbda(%rip), %rsi      # 0x110c1
movq %rax, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x31a0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::execReplyInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long&)
bool Redis::execReplyInt(const std::string& cmd, int64_t& ret)
{
    if(_context==NULL)
    {
        return false;
    }

    redisReply* _reply = (redisReply*)::redisCommand(_context, cmd.c_str());
    if (!isError(_reply))
    {
        //DEBUG<<"_reply->type "<<_reply->type<<std::endl;
        if (_reply->type == REDIS_REPLY_INTEGER)
        {
            ret = _reply->integer;
            freeReply(_reply);
            return true;
        }
        if (_reply->type == REDIS_REPLY_ERROR)
        {
            std::string reason = _reply->str;
            reason.resize(_reply->len);
            freeReply(_reply);
            return false;
        }
    }
    freeReply(_reply);
    return false;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x458e
movq %rdx, %r14
movq (%rsi), %rsi
xorl %eax, %eax
callq 0xb190
movq %rax, %rbx
testq %rax, %rax
je 0x4550
movl (%rbx), %eax
cmpl $0x6, %eax
je 0x455a
cmpl $0x3, %eax
jne 0x4550
movq 0x8(%rbx), %rax
movq %rax, (%r14)
movq %rbx, %rdi
callq 0x8ae0
movb $0x1, %al
jmp 0x4590
movq %rbx, %rsi
callq 0x43f8
jmp 0x458e
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x3140
movq 0x10(%rbx), %rsi
movq %r14, %rdi
callq 0x3480
movq %rbx, %rdi
callq 0x8ae0
leaq 0x8(%rsp), %rdi
callq 0x3180
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::exists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool Redis::exists(const std::string& key)
{  
    int64_t ret = 0;
    std::string cmd = "DEL " + key;
    execReplyInt(cmd, ret);
    return (ret > 0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
leaq 0xcad1(%rip), %rsi      # 0x1109e
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
cmpq $0x0, 0x8(%rsp)
setg %bl
leaq 0x10(%rsp), %rdi
callq 0x3180
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::expire(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long)
bool Redis::expire(const std::string& key, int64_t seconds)
{
    int64_t ret = 0;
    std::string cmd = "EXPIRE " + key + " " +  num2str<int64_t>(seconds);
    execReplyInt(cmd, ret);
    return (ret > 0);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
andq $0x0, 0x8(%rsp)
leaq 0xca97(%rip), %rsi      # 0x110d5
leaq 0x78(%rsp), %r14
movq %r14, %rdi
movq %rax, %rdx
callq 0x7822
leaq 0xd59d(%rip), %rdx      # 0x11bf2
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x791e
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x450c
cmpq $0x0, 0x8(%rsp)
setg %bl
leaq 0x58(%rsp), %rdi
callq 0x3180
movl %ebx, %eax
addq $0x98, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x4708
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x46f4
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
jmp 0x4703
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::expireat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long)
bool Redis::expireat(const std::string& key, int64_t timestamp)
{
    int64_t ret = 0;
    std::string cmd = "EXPIREAT " + key + " " + num2str<int64_t>(timestamp);
    execReplyInt(cmd, ret);
    return (ret > 0);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
andq $0x0, 0x8(%rsp)
leaq 0xc9a5(%rip), %rsi      # 0x110dd
leaq 0x78(%rsp), %r14
movq %r14, %rdi
movq %rax, %rdx
callq 0x7822
leaq 0xd4a3(%rip), %rdx      # 0x11bf2
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x791e
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x450c
cmpq $0x0, 0x8(%rsp)
setg %bl
leaq 0x58(%rsp), %rdi
callq 0x3180
movl %ebx, %eax
addq $0x98, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x4802
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x47ee
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
jmp 0x47fd
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::execReplyArray(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
bool Redis::execReplyArray(const std::string& cmd, std::vector<std::string>& ret)
{
    if(_context==NULL)
    {
        return false;
    }

    redisReply* _reply = (redisReply*)::redisCommand(_context, cmd.c_str());
    if (!isError(_reply))
    {
        if (_reply->type == REDIS_REPLY_ARRAY)
        {
            int32_t elements = _reply->elements;
            ret.reserve(elements);
            for(int32_t i=0; i<elements; ++i)
            {
                std::string strTemp(_reply->element[i]->str, _reply->element[i]->len);
                ret.push_back(strTemp);
            }
            freeReply(_reply);
            return true;
        }
    }
    freeReply(_reply);
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x490c
movq %rdx, %rbx
movq (%rsi), %rsi
xorl %eax, %eax
callq 0xb190
movq %rax, %r14
testq %rax, %rax
je 0x4904
cmpl $0x2, (%r14)
jne 0x4904
movq 0x20(%r14), %rax
movslq %eax, %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x79c0
leaq 0x18(%rsp), %r13
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
leaq 0x8(%rsp), %r12
cmpq %rbp, %r15
je 0x491d
movq 0x28(%r14), %rax
movq (%rax,%rbp,8), %rax
movq 0x18(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %r13, 0x8(%rsp)
movq %r12, %rdi
callq 0x7cd0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x7a4c
movq %r12, %rdi
callq 0x3180
incq %rbp
jmp 0x48c7
movq %r14, %rsi
callq 0x43f8
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x8ae0
movb $0x1, %al
jmp 0x490e
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::scan(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
int32_t Redis::scan(int32_t cursor, const std::string& pattern, int32_t count, std::vector<std::string>& keys)
{
    std::string cmd = "SCAN "  + num2str<int32_t>(cursor)
                    + (pattern.empty() ? "" : (" MATCH " + pattern))
                    + (count < 0 ? "" : " COUNT " + num2str<int32_t>(count));
    return execScan(cmd, keys);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r14
leaq 0xc(%rsp), %rdx
movl %esi, (%rdx)
movl %ecx, 0x8(%rsp)
leaq 0xd0(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x3de4
leaq 0xc850(%rip), %rsi      # 0x111cd
leaq 0x70(%rsp), %rdi
movq %r12, %rdx
callq 0x7994
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x49a9
leaq 0xc753(%rip), %rsi      # 0x110ed
leaq 0x50(%rsp), %rdi
movq %r15, %rdx
callq 0x7822
jmp 0x49bf
leaq 0xc8f4(%rip), %rsi      # 0x112a4
leaq 0x50(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x3140
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x7898
testl %ebp, %ebp
js 0x4a04
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x3de4
leaq 0xc702(%rip), %rsi      # 0x110f5
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x7994
jmp 0x4a1a
leaq 0xc899(%rip), %rsi      # 0x112a4
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x3140
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x7898
leaq 0x30(%rsp), %rdi
callq 0x3180
testl %ebp, %ebp
js 0x4a4c
leaq 0x10(%rsp), %rdi
callq 0x3180
leaq 0x90(%rsp), %rdi
callq 0x3180
leaq 0x50(%rsp), %rdi
callq 0x3180
testq %r12, %r12
leaq 0x70(%rsp), %rdi
callq 0x3180
leaq 0xd0(%rsp), %rdi
callq 0x3180
leaq 0xb0(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x4b2e
movl %eax, %ebx
leaq 0xb0(%rsp), %rdi
callq 0x3180
movl %ebx, %eax
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4ab8
movq %rax, %rbx
jmp 0x4adb
movq %rax, %rbx
jmp 0x4ae5
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
jmp 0x4b1b
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x3180
testl %ebp, %ebp
js 0x4ae5
leaq 0x10(%rsp), %rdi
callq 0x3180
leaq 0x90(%rsp), %rdi
callq 0x3180
jmp 0x4af7
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x3180
jmp 0x4b06
movq %rax, %rbx
testq %r12, %r12
leaq 0x70(%rsp), %rdi
callq 0x3180
leaq 0xd0(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
movq %rax, %rbx
jmp 0x4b13
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::execScan(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
int32_t Redis::execScan(const std::string& cmd, std::vector<std::string>& values)
{
    if(_context==NULL)
    {
        //DEBUG<<"NULL"<<std::endl;
        return -1;
    }
    redisReply* _reply = (redisReply*)::redisCommand(_context, cmd.c_str());
    if(isError(_reply))
    {
        //DEBUG<<"isError"<<std::endl;
        freeReply(_reply);
        return -2;
    }
    //DEBUG<<"_reply->type "<<_reply->type<<std::endl;
    if(_reply->type != REDIS_REPLY_ARRAY)
    {
        //DEBUG<<"not array"<<std::endl;
        freeReply(_reply);
        return -3;
    }
    redisReply* sub_reply = (_reply->element[1]);
    int32_t len = sub_reply->elements;
    values.clear();//
    values.reserve(len);
    for(int32_t i=0;i<len;++i)
    {
        std::string strTemp(sub_reply->element[i]->str, sub_reply->element[i]->len);
        values.push_back(strTemp);
    }
    int32_t ret = -1;
    std::string strTemp(_reply->element[0]->str, _reply->element[0]->len);
    ret = str2num<int32_t>(strTemp);
    freeReply(_reply);
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x4be8
movq %rdx, %r15
movq (%rsi), %rsi
xorl %eax, %eax
callq 0xb190
testq %rax, %rax
je 0x4bec
cmpl $0x2, (%rax)
jne 0x4bf7
movq %rbx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x28(%rax), %rax
movq 0x8(%rax), %rbp
movq 0x20(%rbp), %rbx
movq %r15, %rdi
callq 0x79b8
movslq %ebx, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x79c0
leaq 0x28(%rsp), %rbx
xorl %r14d, %r14d
testl %r12d, %r12d
cmovlel %r14d, %r12d
leaq 0x18(%rsp), %r13
cmpq %r14, %r12
je 0x4c13
movq 0x28(%rbp), %rax
movq (%rax,%r14,8), %rax
movq 0x18(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %rbx, 0x18(%rsp)
movq %r13, %rdi
callq 0x7cd0
movq %r15, %rdi
movq %r13, %rsi
callq 0x7a4c
movq %r13, %rdi
callq 0x3180
incq %r14
jmp 0x4bab
pushq $-0x1
jmp 0x4c01
xorl %esi, %esi
callq 0x43f8
pushq $-0x2
jmp 0x4c01
movq %rax, %rdi
callq 0x8ae0
pushq $-0x3
popq %rbx
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%rsp), %r14
movq 0x28(%r14), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
movq %rbx, (%rdi)
callq 0x7cd0
leaq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x7a78
movl %eax, %ebx
movq %r14, %rdi
callq 0x8ae0
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x4c02
jmp 0x4c60
jmp 0x4c65
movq %rax, %rbx
jmp 0x4c72
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string Redis::type(const std::string& key)
{
    std::string ret;
    std::string cmd = "TYPE " + key;
    execReplyString(cmd, ret);
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xc094(%rip), %rsi      # 0x11102
leaq 0x8(%rsp), %rdi
callq 0x7822
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x512e
leaq 0x8(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x3180
jmp 0x50af
movq %rax, %r14
movq %rbx, %rdi
callq 0x3180
movq %r14, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::ttl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int64_t Redis::ttl(const std::string& key)
{
    int64_t ret = -3;
    std::string cmd = "TTL " + key;
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq $-0x3, (%r14)
leaq 0xc01b(%rip), %rsi      # 0x110fd
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::execReplyString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool Redis::execReplyString(const std::string& cmd, std::string& ret)
{
    if(_context==NULL)
    {
        //DEBUG<<"_context is NULL"<<std::endl;
        return false;
    }
    redisReply* _reply = (redisReply*)::redisCommand(_context, cmd.c_str());
    if (!(isError(_reply)))
    {
        if (_reply->type == REDIS_REPLY_STRING || _reply->type == REDIS_REPLY_STATUS)// status --> string
        {
            ret = _reply->str;
            freeReply(_reply);
            return true;
        }

        if (_reply->type == REDIS_REPLY_ERROR)
        {
            std::string reason = _reply->str;
            reason.resize(_reply->len);
            freeReply(_reply);
            return false;
        }
    }
    else
        DEBUG<<"isError(_reply)"<<std::endl;
    freeReply(_reply);
    return false;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x5259
movq %rdx, %r14
movq (%rsi), %rsi
xorl %eax, %eax
callq 0xb190
movq %rax, %rbx
testq %rax, %rax
je 0x518b
movl (%rbx), %eax
cmpl $0x1, %eax
je 0x5170
cmpl $0x6, %eax
je 0x5225
cmpl $0x5, %eax
jne 0x521b
movq 0x18(%rbx), %rsi
movq %r14, %rdi
callq 0x35f0
movq %rbx, %rdi
callq 0x8ae0
movb $0x1, %al
jmp 0x525b
movq 0x11e46(%rip), %rdi     # 0x16fd8
leaq 0xbf0a(%rip), %rsi      # 0x110a3
callq 0x3350
leaq 0xbf06(%rip), %rsi      # 0x110ab
movq %rax, %rdi
callq 0x3350
leaq 0xbf02(%rip), %r14      # 0x110b6
movq %rax, %rdi
movq %r14, %rsi
callq 0x3350
leaq 0xc015(%rip), %rsi      # 0x111db
movq %rax, %rdi
callq 0x3350
movq %rax, %rdi
movq %r14, %rsi
callq 0x3350
leaq 0xbedc(%rip), %rsi      # 0x110bc
movq %rax, %rdi
callq 0x3350
movq %rax, %rdi
movl $0x37a, %esi            # imm = 0x37A
callq 0x3590
leaq 0xc9f6(%rip), %rsi      # 0x11bf2
movq %rax, %rdi
callq 0x3350
leaq 0xbfe0(%rip), %rsi      # 0x111eb
movq %rax, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x31a0
movq %rbx, %rsi
callq 0x43f8
jmp 0x5259
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x3140
movq 0x10(%rbx), %rsi
movq %r14, %rdi
callq 0x3480
movq %rbx, %rdi
callq 0x8ae0
leaq 0x8(%rsp), %rdi
callq 0x3180
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::execReplyStatus(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool Redis::execReplyStatus(const std::string& cmd)
{
    if(_context==NULL)
    {
        //DEBUG<<"_contex == NULL"<<std::endl;
        return false;
    }
    redisReply* _reply = (redisReply*)::redisCommand(_context, cmd.c_str());
    if (!isError(_reply))
    {
        //DEBUG<<"_reply->type "<<_reply->type<<std::endl;
        //DEBUG<<"_reply->str "<<_reply->str<<std::endl;
        if (_reply->type == REDIS_REPLY_STATUS && strcasecmp(_reply->str, "OK") == 0)
        {
            freeReply(_reply);
            return true;
        }
    }
    freeReply(_reply);
    return false;
}

// Assembly:
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x5365
pushq %rbx
movq (%rsi), %rsi
xorl %eax, %eax
callq 0xb190
movq %rax, %rbx
testq %rax, %rax
je 0x5359
cmpl $0x5, (%rbx)
jne 0x5359
movq 0x18(%rbx), %rdi
leaq 0xbdc4(%rip), %rsi      # 0x11114
callq 0x33b0
testl %eax, %eax
je 0x5368
movq %rbx, %rsi
callq 0x43f8
xorl %eax, %eax
popq %rbx
retq
xorl %eax, %eax
retq
movq %rbx, %rdi
callq 0x8ae0
movb $0x1, %al
jmp 0x5363
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string Redis::get(const std::string & key)
{
    std::string value;
    if(_context==NULL)
    {
        return value;
    }
    
    redisReply* _reply = (redisReply*)::redisCommand(_context, "GET %s", key.c_str());
    if (!isError(_reply))
    {
        if (_reply->type == REDIS_REPLY_STRING)
        {
            value = std::string(_reply->str, _reply->len);
            freeReply(_reply);
            return value;
        }
        if (_reply->type == REDIS_REPLY_NIL)
        {
            freeReply(_reply);
            return value;
        }
    }
    freeReply(_reply);
    return value;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0x5403
movq (%rdx), %rdx
leaq 0xbd65(%rip), %rsi      # 0x11108
xorl %eax, %eax
callq 0xb190
movq %rax, %r14
testq %rax, %rax
je 0x53fb
movl (%r14), %eax
cmpl $0x4, %eax
je 0x53f1
cmpl $0x1, %eax
jne 0x53fb
movq 0x18(%r14), %rsi
leaq 0x10(%rsp), %rax
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x7cd0
movq %rsp, %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3410
movq %r15, %rdi
callq 0x3180
movq %r14, %rdi
callq 0x8ae0
jmp 0x5403
movq %r14, %rsi
callq 0x43f8
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x5412
movq %rax, %r14
movq %rbx, %rdi
callq 0x3180
movq %r14, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::mset(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
bool Redis::mset(const std::vector<std::string> & keys, const std::vector<std::string> & values)
{
    if(_context==NULL)
    {
        return false;
    }
    
    if(keys.size() != values.size())
    {
        return false;
    }
    
    int len = keys.size()+values.size();
    int argc = 1;
    size_t argvlen[len+1];
    argvlen[0] = 4; 
    
    const char* argv[len+1];
    char argv1[] = "MSET";
    argv[0] = argv1;

    for(size_t t=0; t<keys.size(); t++)
    {
        argvlen[argc] = keys[t].size();
        argv[argc] = keys[t].c_str();
        argc++;
        
        argvlen[argc] = values[t].size();
        argv[argc] = values[t].c_str();
        argc++;
    }
    redisReply* _reply = (redisReply*)::redisCommandArgv(_context, argc, argv, argvlen);
    if (_reply && _reply->type == REDIS_REPLY_STATUS )
    {
        if(strcasecmp(_reply->str, "OK") == 0)
        {
            freeReply(_reply);
            return true;
        }
        else
        {
        }
    }
    freeReply(_reply);
    
    return false;

}

// Assembly:
cmpq $0x0, 0x8(%rdi)
je 0x54e0
movq 0x8(%rsi), %rax
subq (%rsi), %rax
movq 0x8(%rdx), %rcx
subq (%rdx), %rcx
cmpq %rcx, %rax
jne 0x54e0
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsp, %r14
shrq $0x4, %rax
incl %eax
movq %rsp, %rcx
leaq 0xf(,%rax,8), %r8
andq $-0x10, %r8
subq %r8, %rcx
movq %rcx, %rsp
movq $0x4, (%rcx)
movq %rsp, %rax
subq %r8, %rax
movq %rax, %rsp
leaq -0x18(%rbp), %r8
movb $0x0, 0x4(%r8)
movl $0x5445534d, (%r8)      # imm = 0x5445534D
movq %r8, (%rax)
movq (%rsi), %r8
movq 0x8(%rsi), %r9
subq %r8, %r9
sarq $0x5, %r9
movq (%rdx), %rdx
pushq $0x1
popq %rsi
xorl %r10d, %r10d
subq $0x1, %r9
jb 0x54e3
movq 0x8(%r8,%r10,2), %r11
movq %r11, 0x8(%rcx,%r10)
movq (%r8,%r10,2), %r11
movq %r11, 0x8(%rax,%r10)
movq 0x8(%rdx,%r10,2), %r11
movq %r11, 0x10(%rcx,%r10)
movq (%rdx,%r10,2), %r11
movq %r11, 0x10(%rax,%r10)
addl $0x2, %esi
addq $0x10, %r10
jmp 0x54ab
xorl %eax, %eax
retq
movq 0x8(%rdi), %rdi
movq %rax, %rdx
callq 0xb250
movq %rax, %rbx
testq %rax, %rax
je 0x5510
cmpl $0x5, (%rbx)
jne 0x5510
movq 0x18(%rbx), %rdi
leaq 0xbc0d(%rip), %rsi      # 0x11114
callq 0x33b0
testl %eax, %eax
je 0x5526
movq %rbx, %rsi
callq 0x43f8
xorl %eax, %eax
movq %r14, %rsp
leaq -0x10(%rbp), %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
callq 0x8ae0
movb $0x1, %al
jmp 0x551a
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::incr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int64_t Redis::incr(const std::string& key)
{
    int64_t ret = 0;
    std::string cmd =  "INCR " + key;
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
leaq 0xba5d(%rip), %rsi      # 0x1111c
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::incrby(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long)
int64_t Redis::incrby(const std::string& key, int64_t incr)
{
    int64_t ret = 0;
    std::string cmd =  "INCRBY " + key + " " + num2str<int64_t>(incr);
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
andq $0x0, 0x8(%rsp)
leaq 0xba25(%rip), %rsi      # 0x11153
leaq 0x78(%rsp), %r14
movq %r14, %rdi
movq %rax, %rdx
callq 0x7822
leaq 0xc4ad(%rip), %rdx      # 0x11bf2
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x791e
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x58(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x57f5
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x57e1
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
jmp 0x57f0
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::incrbyfloat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, float)
float Redis::incrbyfloat(const std::string& key, float incr)
{
    float ret  = 0;
    std::string cmd =  "INCRBYFLOAT " + key + " " + num2str<float>(incr);
    std::string s;
    if (execReplyString(cmd, s))
    {
        ret = str2num<float>(s);
        return ret;
    }
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movss %xmm0, 0x4(%rsp)
leaq 0xb903(%rip), %rsi      # 0x11122
leaq 0x68(%rsp), %r14
movq %r14, %rdi
callq 0x7822
leaq 0xc3bf(%rip), %rdx      # 0x11bf2
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x28(%rsp), %rdi
leaq 0x4(%rsp), %rdx
movq %rbx, %rsi
callq 0x7ad8
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x7898
leaq 0x28(%rsp), %rdi
callq 0x3180
leaq 0x8(%rsp), %rdi
callq 0x3180
leaq 0x68(%rsp), %rdi
callq 0x3180
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x48(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x512e
xorps %xmm0, %xmm0
testb %al, %al
je 0x58bb
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7b50
movss %xmm0, (%rsp)
leaq 0x8(%rsp), %rdi
callq 0x3180
leaq 0x48(%rsp), %rdi
callq 0x3180
movss (%rsp), %xmm0
addq $0x88, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x3180
jmp 0x58f6
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3180
jmp 0x5905
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x591e
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3180
leaq 0x48(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::decr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int64_t Redis::decr(const std::string& key)
{
    int64_t ret = 0;
    std::string cmd =  "DECR " + key;
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
leaq 0xb7e4(%rip), %rsi      # 0x1112f
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::decrby(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long)
int64_t Redis::decrby(const std::string& key, int64_t decr)
{
    int64_t ret = 0;
    std::string cmd =  "DECRBY " + key + " " + num2str<int64_t>(decr);
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
andq $0x0, 0x8(%rsp)
leaq 0xb77b(%rip), %rsi      # 0x11135
leaq 0x78(%rsp), %r14
movq %r14, %rdi
movq %rax, %rdx
callq 0x7822
leaq 0xc221(%rip), %rdx      # 0x11bf2
leaq 0x38(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x791e
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x58(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x5a81
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x5a6d
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
jmp 0x5a7c
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::zadd(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>> const&)
int64_t Redis::zadd(const std::string& key, const std::map<std::string, std::string>& members)
{
    int64_t ret = -1;
    std::string cmd =  "ZADD " + key;
    std::map<std::string, std::string>::const_iterator it = members.begin();
    for (; it != members.end(); ++it)
    {
        cmd += " " + it->first + " " + it->second;
    }
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r14
movq %rsi, %rdx
movq %rdi, 0x10(%rsp)
orq $-0x1, 0x8(%rsp)
leaq 0xb686(%rip), %rsi      # 0x1113d
leaq 0x18(%rsp), %rdi
callq 0x7822
movq 0x18(%r14), %r13
addq $0x8, %r14
leaq 0xc122(%rip), %r12      # 0x11bf2
leaq 0x38(%rsp), %rbp
leaq 0x58(%rsp), %rbx
leaq 0x78(%rsp), %r15
cmpq %r14, %r13
je 0x5b42
leaq 0x20(%r13), %rdx
movq %rbp, %rdi
movq %r12, %rsi
callq 0x7822
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x78ff
leaq 0x40(%r13), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3e7c
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0x3600
movq %r15, %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x3180
movq %rbp, %rdi
callq 0x3180
movq %r13, %rdi
callq 0x33d0
movq %rax, %r13
jmp 0x5adf
leaq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rdi
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5b7c
movq %rax, %rbx
jmp 0x5bac
movq %rax, %rbx
jmp 0x5ba2
movq %rax, %rbx
jmp 0x5b98
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x18(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::zcard(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int64_t Redis::zcard(const std::string& key)
{
    int64_t ret = -1;
    std::string cmd =  "ZCARD " + key;
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
orq $-0x1, (%r14)
leaq 0xb566(%rip), %rsi      # 0x11143
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x7822
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x450c
movq 0x8(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::zcount(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double, double)
int64_t Redis::zcount(const std::string& key, double min, double max)
{
    int64_t ret = -1;
    std::string cmd = "ZCOUNT " + key + " " + num2str<double>(min) + " " + num2str<double>(max);
    //DEBUG<<cmd<<std::endl;
    execReplyInt(cmd, ret);
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xf8, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
orq $-0x1, (%rsp)
leaq 0xb4f8(%rip), %rsi      # 0x1114a
leaq 0xd8(%rsp), %r14
movq %r14, %rdi
callq 0x7822
leaq 0xbf89(%rip), %rdx      # 0x11bf2
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x78ff
leaq 0x38(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x7bba
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x38(%rsp), %rdx
callq 0x7898
leaq 0xbf4f(%rip), %rdx      # 0x11bf2
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %rbx, %rsi
callq 0x7bba
leaq 0xb8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x98(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rdi
callq 0x3180
leaq 0xd8(%rsp), %rdi
callq 0x3180
leaq 0xb8(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x450c
movq (%rsp), %rbx
leaq 0xb8(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
jmp 0x5db6
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x5d74
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x3180
jmp 0x5d86
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
jmp 0x5d95
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
jmp 0x5da4
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x3180
leaq 0xd8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
movq %rax, %rbx
jmp 0x5dae
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::zincrby(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string Redis::zincrby(const std::string& key, double incr, const std::string& member)
{
    std::string ret;
    std::string cmd = "ZINCRBY " + key + " " + num2str<double>(incr) + " " + member;
    execReplyString(cmd, ret);
    return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movsd %xmm0, 0x8(%rsp)
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xb358(%rip), %rsi      # 0x11152
leaq 0x30(%rsp), %rdi
callq 0x7822
leaq 0xbde7(%rip), %rdx      # 0x11bf2
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x78ff
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x7bba
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x7898
leaq 0xbdab(%rip), %rdx      # 0x11bf2
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x78ff
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %r15, %rdx
callq 0x3e7c
leaq 0x90(%rsp), %rdi
callq 0x3180
leaq 0x70(%rsp), %rdi
callq 0x3180
leaq 0x10(%rsp), %rdi
callq 0x3180
leaq 0x50(%rsp), %rdi
callq 0x3180
leaq 0x30(%rsp), %rdi
callq 0x3180
leaq 0xb0(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x512e
leaq 0xb0(%rsp), %rdi
callq 0x3180
movq %rbx, %rax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
jmp 0x5f2a
movq %rax, %r14
leaq 0x90(%rsp), %rdi
callq 0x3180
jmp 0x5ef8
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x3180
jmp 0x5f07
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x3180
jmp 0x5f16
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x3180
jmp 0x5f25
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x3180
movq %r14, %rdi
callq 0x35a0
movq %rax, %r14
jmp 0x5f2f
// File: /workspace/github_cpp_makefile_star2_O2/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::zrange(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long, long, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, bool)
bool Redis::zrange(const std::string& key, int64_t start, int64_t stop, std::vector<std::string>& values, bool with_scores)
{
    std::string cmd = "ZRANGE " + key + " " + num2str<int64_t>(start) + " "
        + num2str<int64_t>(stop) + (with_scores ? " WITHSCORES" : "");
    values.clear();
    if (execReplyArray(cmd, values))
    {
        return true;
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %r9d, %ebp
movq %r8, %rbx
movq %rsi, %rax
movq %rdi, %r14
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
leaq 0xb1ed(%rip), %rsi      # 0x1115b
leaq 0xf8(%rsp), %r15
movq %r15, %rdi
movq %rax, %rdx
callq 0x7822
leaq 0xbc6a(%rip), %rdx      # 0x11bf2
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
callq 0x78ff
leaq 0x38(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %r14, %rsi
callq 0x791e
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x38(%rsp), %rdx
callq 0x7898
leaq 0xbc30(%rip), %rdx      # 0x11bf2
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x78ff
leaq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x791e
leaq 0xb8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
leaq 0x18(%rsp), %rdx
callq 0x7898
leaq 0xb15c(%rip), %rax      # 0x11163
leaq 0xb296(%rip), %rdx      # 0x112a4
testb %bpl, %bpl
cmovneq %rax, %rdx
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x78ff
leaq 0xb8(%rsp), %rdi
callq 0x3180
leaq 0x18(%rsp), %rdi
callq 0x3180
leaq 0x98(%rsp), %rdi
callq 0x3180
leaq 0x78(%rsp), %rdi
callq 0x3180
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rdi
callq 0x3180
leaq 0xf8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x79b8
leaq 0xd8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x486c
movl %eax, %ebx
leaq 0xd8(%rsp), %rdi
callq 0x3180
movl %ebx, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
jmp 0x6121
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0x3180
jmp 0x60d5
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3180
jmp 0x60e4
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x3180
jmp 0x60f6
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x3180
jmp 0x6105
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3180
leaq 0x58(%rsp), %rdi
callq 0x3180
leaq 0xf8(%rsp), %rdi
callq 0x3180
movq %rbx, %rdi
callq 0x35a0
movq %rax, %rbx
jmp 0x610f
movq %rax, %rbx
jmp 0x6119