// File: /workspace/github_cpp_makefile_star2_O1/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 $0x68, %rsp
movq %rsi, 0x10(%rsp)
movq %rdx, 0x28(%rsp)
movb 0x4f78(%rip), %al       # 0x9148
testb %al, %al
je 0x434e
movq 0x28(%rsp), %rax
subq 0x10(%rsp), %rax
movq 0x4f57(%rip), %rsi      # 0x9140
xorl %edx, %edx
divq %rsi
movq %rax, %rbx
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0x4540
movq 0x4f30(%rip), %rsi      # 0x9140
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rcx
callq 0x45e6
cmpq $0x0, 0x8(%rsp)
je 0x423d
leaq 0x8(%rsp), %rdi
callq 0x2110
cmpq $0x1, 0x4efb(%rip)      # 0x9140
je 0x42ac
xorl %r14d, %r14d
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq 0x20(%rsp), %rbp
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
addq %rbx, %rax
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rax
addq %r14, %rax
movq %rax, 0x20(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
movq %r12, %rdx
movq %r13, %rcx
movq %rbp, %r8
callq 0x4676
addq %rbx, 0x10(%rsp)
incq %r15
movq 0x4ea0(%rip), %rax      # 0x9140
decq %rax
addq $0x8, %r14
cmpq %rax, %r15
jb 0x425c
movq 0x58(%rsp), %rax
addq $-0x8, %rax
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
leaq 0x28(%rsp), %rcx
leaq 0xa0(%rsp), %rsi
callq 0x46b4
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r14
cmpq %r14, %rbx
je 0x42f6
movq %rbx, %rdi
callq 0x21f0
addq $0x8, %rbx
jmp 0x42e3
movq 0x50(%rsp), %rax
movq 0x58(%rsp), %rcx
cmpq %rcx, %rax
je 0x4313
movq (%rax), %rdx
testq %rdx, %rdx
jne 0x4336
addq $0x8, %rax
jmp 0x4300
leaq 0x50(%rsp), %rdi
callq 0x46f2
leaq 0x30(%rsp), %rdi
callq 0x4732
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %rbx
movq %rdx, (%rbx)
movq %rbx, %rdi
callq 0x2050
movq %rbx, %rdi
callq 0x2160
callq 0x25b2
jmp 0x41d8
jmp 0x438f
movq %rax, %rbx
cmpq $0x0, 0x8(%rsp)
je 0x439c
leaq 0x8(%rsp), %rdi
callq 0x2110
jmp 0x439c
movq %rax, %rbx
jmp 0x439c
jmp 0x438f
movq %rax, %rbx
cmpq $0x0, 0x18(%rsp)
je 0x4392
leaq 0x18(%rsp), %rdi
callq 0x2110
jmp 0x4392
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x46f2
leaq 0x30(%rsp), %rdi
callq 0x4732
movq %rbx, %rdi
callq 0x2210