// File: dustin[P]kvtest/ep.cc
// Function: kvtest::EventuallyPersistentStore::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, kvtest::Callback<kvtest::GetValue>&)
void EventuallyPersistentStore::get(std::string &key,
                                        Callback<kvtest::GetValue> &cb) {
        int bucket_num = storage.bucket(key);
        LockHolder lh(storage.getMutex(bucket_num));
        StoredValue *v = storage.unlocked_find(key, bucket_num);
        bool success = v != NULL;
        const char *sval = v ? v->getValue() : NULL;
        kvtest::GetValue rv(success ? sval : std::string(":("),
                            success);
        cb.callback(rv);
        lh.unlock();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
addq $0x20, %rdi
movq %rdi, -0xb0(%rbp)
movq -0x10(%rbp), %rsi
callq 0xb3b0
movq -0xb0(%rbp), %rdi
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %esi
callq 0xb470
movq %rax, %rsi
leaq -0x30(%rbp), %rdi
callq 0x7b50
movq -0xb0(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x1c(%rbp), %edx
callq 0xb590
movq %rax, -0xa8(%rbp)
jmp 0xaa29
movq -0xa8(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
setne %al
andb $0x1, %al
movb %al, -0x45(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0xaa6a
movq -0x38(%rbp), %rdi
callq 0xb600
movq %rax, -0xb8(%rbp)
jmp 0xaa5a
movq -0xb8(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0xaa75
xorl %eax, %eax
movq %rax, -0xc0(%rbp)
jmp 0xaa75
movq -0xc0(%rbp), %rax
movq %rax, -0x50(%rbp)
movb -0x45(%rbp), %al
movb $0x0, -0x9a(%rbp)
movb $0x0, -0x9b(%rbp)
movb $0x0, -0x9d(%rbp)
movb $0x0, -0x9e(%rbp)
testb $0x1, %al
je 0xaaed
movq -0x50(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x3460
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
movb $0x1, -0x9a(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x5140
jmp 0xaae4
movb $0x1, -0x9b(%rbp)
jmp 0xab2a
leaq -0x9c(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x3460
movq -0xd8(%rbp), %rdx
movb $0x1, -0x9d(%rbp)
leaq 0x353a(%rip), %rsi      # 0xe04f
leaq -0x98(%rbp), %rdi
callq 0x5140
jmp 0xab23
movb $0x1, -0x9e(%rbp)
movzbl -0x45(%rbp), %edx
andl $0x1, %edx
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x5500
jmp 0xab43
testb $0x1, -0x9e(%rbp)
jne 0xab4e
jmp 0xab5a
leaq -0x98(%rbp), %rdi
callq 0x3160
testb $0x1, -0x9d(%rbp)
jne 0xab65
jmp 0xab71
leaq -0x9c(%rbp), %rdi
callq 0x32e0
testb $0x1, -0x9b(%rbp)
jne 0xab7c
jmp 0xab88
leaq -0x98(%rbp), %rdi
callq 0x3160
testb $0x1, -0x9a(%rbp)
jne 0xab93
jmp 0xab9f
leaq -0x99(%rbp), %rdi
callq 0x32e0
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq -0x78(%rbp), %rsi
callq *%rax
jmp 0xabb2
leaq -0x30(%rbp), %rdi
callq 0x7c20
jmp 0xabbd
leaq -0x78(%rbp), %rdi
callq 0x5570
leaq -0x30(%rbp), %rdi
callq 0x7bf0
addq $0xe0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xac88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xac5a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xac2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
testb $0x1, -0x9e(%rbp)
jne 0xac1c
jmp 0xac28
leaq -0x98(%rbp), %rdi
callq 0x3160
jmp 0xac2a
testb $0x1, -0x9d(%rbp)
jne 0xac35
jmp 0xac41
leaq -0x9c(%rbp), %rdi
callq 0x32e0
testb $0x1, -0x9b(%rbp)
jne 0xac4c
jmp 0xac58
leaq -0x98(%rbp), %rdi
callq 0x3160
jmp 0xac5a
testb $0x1, -0x9a(%rbp)
jne 0xac65
jmp 0xac71
leaq -0x99(%rbp), %rdi
callq 0x32e0
jmp 0xac88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x5570
leaq -0x30(%rbp), %rdi
callq 0x7bf0
movq -0x40(%rbp), %rdi
callq 0x3450
nopw (%rax,%rax)