// File: /workspace/github_cpp_makefile_star2_O1/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 0x978d
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 0x978d
cmpq %rcx, %rax
je 0x97a3
movq %rdi, 0x60(%rsp)
leaq 0xac52(%rip), %rsi      # 0x141db
leaq 0x88(%rsp), %rdi
callq 0xa756
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x9768
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 0xacf4
movq %r12, %rdi
leaq 0xb60e(%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 0x9627
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x962d
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 0xb5a3(%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 0x967c
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x9682
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 0x96d3
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x96da
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 0x9713
callq 0x3350
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x9727
callq 0x3350
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x973a
callq 0x3350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x974e
callq 0x3350
movq 0x8(%r14), %rax
subq (%r14), %rax
movl %r13d, %ebp
sarq $0x5, %rax
incl %r13d
cmpq %rbp, %rax
ja 0x95b5
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x97a7
movq 0x88(%rsp), %rsi
xorl %eax, %eax
callq 0xe300
testq %rax, %rax
setne %bl
jmp 0x97a9
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 0x978f
xorl %ebx, %ebx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x978f
callq 0x3350
jmp 0x978f
jmp 0x97c3
movq %rax, %rbx
jmp 0x9812
jmp 0x97ca
movq %rax, %rbx
jmp 0x97fe
movq %rax, %rbx
jmp 0x97eb
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x97eb
callq 0x3350
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x97fe
callq 0x3350
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x9812
callq 0x3350
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9828
callq 0x3350
movq %rbx, %rdi
callq 0x35b0