// File: /workspace/github_cpp_makefile_star2_O2/attractivechaos[P]udb2/libcuckoo/./cuckoohash_map.hh
// Function: void cuckoohash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 4ul>::parallel_exec<cuckoohash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 4ul>::cuckoo_status cuckoohash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 4ul>::cuckoo_fast_double<std::integral_constant<bool, false>, std::integral_constant<bool, true>>(unsigned long)::'lambda'(unsigned long, unsigned long, std::__exception_ptr::exception_ptr&)>(unsigned long, unsigned long, cuckoohash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 4ul>::cuckoo_status cuckoohash_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 4ul>::cuckoo_fast_double<std::integral_constant<bool, false>, std::integral_constant<bool, true>>(unsigned long)::'lambda'(unsigned long, unsigned long, std::__exception_ptr::exception_ptr&))
void parallel_exec(size_type start, size_type end, F func) {
    static const size_type num_threads =
        std::max(std::thread::hardware_concurrency(), 1U);
    size_type work_per_thread = (end - start) / num_threads;
    std::vector<std::thread, rebind_alloc<std::thread>> threads(
        get_allocator());
    threads.reserve(num_threads);
    std::vector<std::exception_ptr, rebind_alloc<std::exception_ptr>> eptrs(
        num_threads, nullptr, get_allocator());
    for (size_type i = 0; i < num_threads - 1; ++i) {
      threads.emplace_back(func, start, start + work_per_thread,
                           std::ref(eptrs[i]));
      start += work_per_thread;
    }
    threads.emplace_back(func, start, end, std::ref(eptrs.back()));
    for (std::thread &t : threads) {
      t.join();
    }
    for (std::exception_ptr &eptr : eptrs) {
      if (eptr) {
        std::rethrow_exception(eptr);
      }
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, 0x8(%rsp)
movq %rdx, 0x18(%rsp)
movb 0x5f90(%rip), %al       # 0xa148
testb %al, %al
je 0x4315
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %r14
subq %r14, %rax
movq 0x5f6c(%rip), %rsi      # 0xa140
xorl %edx, %edx
divq %rsi
movq %rax, %rbx
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
callq 0x454a
movq 0x5f48(%rip), %rsi      # 0xa140
movq %rsp, %rdx
andq $0x0, (%rdx)
leaq 0x38(%rsp), %rdi
leaq 0x10(%rsp), %rcx
callq 0x45d2
movq %rsp, %rdi
callq 0x4628
xorl %r15d, %r15d
leaq 0x8(%rsp), %r13
leaq 0x10(%rsp), %rbp
xorl %r12d, %r12d
movq 0x5f13(%rip), %rax      # 0xa140
decq %rax
cmpq %rax, %r12
jae 0x427a
addq %rbx, %r14
movq %r14, (%rsp)
movq 0x38(%rsp), %rax
addq %r15, %rax
movq %rax, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %r13, %rdx
movq %rsp, %rcx
movq %rbp, %r8
callq 0x4634
movq 0x8(%rsp), %r14
addq %rbx, %r14
movq %r14, 0x8(%rsp)
incq %r12
addq $0x8, %r15
jmp 0x4226
movq 0x40(%rsp), %rax
addq $-0x8, %rax
movq %rsp, %r8
movq %rax, (%r8)
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rdx
leaq 0x18(%rsp), %rcx
leaq 0x90(%rsp), %rsi
callq 0x4672
movq 0x20(%rsp), %rbx
movq 0x28(%rsp), %r14
cmpq %r14, %rbx
je 0x42c2
movq %rbx, %rdi
callq 0x21f0
addq $0x8, %rbx
jmp 0x42af
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rax
cmpq %rax, %rsi
je 0x42dd
cmpq $0x0, (%rsi)
jne 0x4300
addq $0x8, %rsi
jmp 0x42cc
leaq 0x38(%rsp), %rdi
callq 0x46c0
leaq 0x20(%rsp), %rdi
callq 0x46e2
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x46b0
movq %rbx, %rdi
callq 0x2160
leaq 0x5e2c(%rip), %rdi      # 0xa148
callq 0x2220
testl %eax, %eax
je 0x41c0
callq 0x2190
cmpl $0x1, %eax
adcl $0x0, %eax
movq %rax, 0x5e05(%rip)      # 0xa140
leaq 0x5e06(%rip), %rdi      # 0xa148
callq 0x20e0
jmp 0x41c0
jmp 0x4371
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4628
jmp 0x437e
movq %rax, %rbx
jmp 0x437e
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x4628
jmp 0x4374
jmp 0x4371
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x46c0
leaq 0x20(%rsp), %rdi
callq 0x46e2
movq %rbx, %rdi
callq 0x2210