// File: /workspace/github_cpp_makefile_star2_O3/Sherhang[P]redis-for-cpp/credis.cpp
// Function: Redis::hmset(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&, 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::hmset(const std::string& key, const std::vector<std::string> & fields, const std::vector<std::string> & values)
{
    if(_context == NULL || fields.size() != values.size()) 
    {
        return false;
    }
    if(fields.empty())
    {
        return true;
    }
    std::string cmd = "HMSET " + key;
    for(uint32_t i = 0; i < fields.size(); ++i)
    {
        cmd = cmd + " " + fields[i]+ " " + values[i];
    }
    return exec(cmd);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x96ab
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %rdx
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq %rcx, %rsi
subq %rax, %rsi
movq 0x8(%rbx), %r8
subq (%rbx), %r8
cmpq %r8, %rsi
jne 0x96ab
cmpq %rcx, %rax
je 0x96c1
movq %rdi, 0x60(%rsp)
leaq 0xad34(%rip), %rsi      # 0x141db
leaq 0x88(%rsp), %rdi
callq 0xa64c
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x9686
movl $0x1, %r13d
leaq 0x78(%rsp), %r15
xorl %ebp, %ebp
leaq 0x40(%rsp), %r12
leaq 0x50(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xabea
movq %r12, %rdi
leaq 0xb6f0(%rip), %rsi      # 0x14bf2
callq 0x3600
movq (%r14), %rax
shlq $0x5, %rbp
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
movq %r12, %rdi
callq 0x3110
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9545
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x954b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rsp, %rdi
leaq 0xb685(%rip), %rsi      # 0x14bf2
callq 0x3600
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x959a
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x95a0
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rax
movq (%rax,%rbp), %rsi
movq 0x8(%rax,%rbp), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3110
movq %r15, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x95f1
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x95f8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x3440
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x9631
callq 0x3350
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x9645
callq 0x3350
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x9658
callq 0x3350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x966c
callq 0x3350
movq 0x8(%r14), %rax
subq (%r14), %rax
movl %r13d, %ebp
sarq $0x5, %rax
incl %r13d
cmpq %rbp, %rax
ja 0x94d3
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x96c5
movq 0x88(%rsp), %rsi
xorl %eax, %eax
callq 0xe1b0
testq %rax, %rax
setne %bl
jmp 0x96c7
xorl %ebx, %ebx
movl %ebx, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bl
jmp 0x96ad
xorl %ebx, %ebx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x96ad
callq 0x3350
jmp 0x96ad
jmp 0x96e1
movq %rax, %rbx
jmp 0x9730
jmp 0x96e8
movq %rax, %rbx
jmp 0x971c
movq %rax, %rbx
jmp 0x9709
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x9709
callq 0x3350
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x971c
callq 0x3350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9730
callq 0x3350
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9746
callq 0x3350
movq %rbx, %rdi
callq 0x35b0