// File: attractivechaos[P]udb2/sparsehash/./sparsehash/internal/densehashtable.h
// Function: google::dense_hashtable<std::pair<unsigned int const, unsigned int>, unsigned int, Hash32, google::dense_hash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>>::SelectKey, google::dense_hash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>>::SetKey, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>>::dense_hashtable(google::dense_hashtable<std::pair<unsigned int const, unsigned int>, unsigned int, Hash32, google::dense_hash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>>::SelectKey, google::dense_hash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>>::SetKey, std::equal_to<unsigned int>, google::libc_allocator_with_realloc<std::pair<unsigned int const, unsigned int>>> const&, unsigned long)
dense_hashtable(const dense_hashtable& ht,
                  size_type min_buckets_wanted = HT_DEFAULT_STARTING_BUCKETS)
      : settings(ht.settings),
        key_info(ht.key_info),
        num_deleted(0),
        num_elements(0),
        num_buckets(0),
        val_info(ht.val_info),
        table(NULL) {
    if (!ht.settings.use_empty()) {
      // If use_empty isn't set, copy_from will crash, so we do our own copying.
      assert(ht.empty());
      num_buckets = settings.min_buckets(ht.size(), min_buckets_wanted);
      settings.reset_thresholds(bucket_count());
      return;
    }
    settings.reset_thresholds(bucket_count());
    copy_from(ht, min_buckets_wanted);   // copy_from() ignores deleted entries
  }

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq (%rax), %rcx
movq %rcx, (%rdi)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdi)
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rdi)
movq 0x18(%rax), %rax
movq %rax, 0x18(%rdi)
movq 0x48(%rsp), %rax
movl 0x20(%rax), %eax
movl %eax, 0x20(%rdi)
movq $0x0, 0x28(%rdi)
movq $0x0, 0x30(%rdi)
movq $0x0, 0x38(%rdi)
addq $0x40, %rdi
movq %rdi, 0x20(%rsp)
movq 0x48(%rsp), %rsi
addq $0x40, %rsi
callq 0x2aa0
movq 0x28(%rsp), %rax
movq $0x0, 0x48(%rax)
movq 0x48(%rsp), %rdi
callq 0x2350
testb $0x1, %al
jne 0x2939
movq 0x48(%rsp), %rdi
callq 0x2ae0
movb %al, 0x1f(%rsp)
jmp 0x2899
movb 0x1f(%rsp), %al
testb $0x1, %al
jne 0x28a3
jmp 0x28a5
jmp 0x28e1
leaq 0x32c0(%rip), %rdi      # 0x5b6c
leaq 0x2865(%rip), %rsi      # 0x5118
movl $0x2d3, %edx            # imm = 0x2D3
leaq 0x32b8(%rip), %rcx      # 0x5b77
callq 0x1090
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x1a70
jmp 0x296d
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rdi
callq 0x2b00
movq %rax, 0x10(%rsp)
jmp 0x28fc
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
movq 0x40(%rsp), %rdx
callq 0x1c60
movq %rax, (%rsp)
jmp 0x2916
movq 0x28(%rsp), %rdi
movq (%rsp), %rax
movq %rax, 0x38(%rdi)
callq 0x1ed0
movq 0x28(%rsp), %rdi
movq %rax, %rsi
callq 0x1e70
jmp 0x2937
jmp 0x2968
movq 0x28(%rsp), %rdi
callq 0x1ed0
movq 0x28(%rsp), %rdi
movq %rax, %rsi
callq 0x1e70
jmp 0x2952
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
callq 0x2b20
jmp 0x2968
addq $0x58, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x1160
nopw (%rax,%rax)