// File: /workspace/github_cpp_makefile_star2_O3/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 0x504c(%rip), %al       # 0x9148
testb %al, %al
je 0x427d
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %r14
subq %r14, %rax
movq 0x5028(%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 0x4478
movq 0x5001(%rip), %rsi      # 0x9140
leaq 0x8(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rcx
callq 0x451c
cmpq $0x0, 0x8(%rsp)
je 0x416c
leaq 0x8(%rsp), %rdi
callq 0x2110
cmpq $0x1, 0x4fcc(%rip)      # 0x9140
je 0x41db
xorl %r15d, %r15d
leaq 0x8(%rsp), %r13
leaq 0x20(%rsp), %rbp
xorl %r12d, %r12d
addq %rbx, %r14
movq %r14, 0x8(%rsp)
movq 0x50(%rsp), %rax
addq %r15, %rax
movq %rax, 0x20(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %r13, %rcx
movq %rbp, %r8
callq 0x45c4
movq 0x10(%rsp), %r14
addq %rbx, %r14
movq %r14, 0x10(%rsp)
incq %r12
movq 0x4f71(%rip), %rax      # 0x9140
decq %rax
addq $0x8, %r15
cmpq %rax, %r12
jb 0x4186
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 0x4602
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r14
cmpq %r14, %rbx
je 0x4225
movq %rbx, %rdi
callq 0x21f0
addq $0x8, %rbx
jmp 0x4212
movq 0x50(%rsp), %rax
movq 0x58(%rsp), %rcx
cmpq %rcx, %rax
je 0x4242
movq (%rax), %rdx
testq %rdx, %rdx
jne 0x4265
addq $0x8, %rax
jmp 0x422f
leaq 0x50(%rsp), %rdi
callq 0x4640
leaq 0x30(%rsp), %rdi
callq 0x4686
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 0x4104
jmp 0x42be
movq %rax, %rbx
cmpq $0x0, 0x8(%rsp)
je 0x42cb
leaq 0x8(%rsp), %rdi
callq 0x2110
jmp 0x42cb
movq %rax, %rbx
jmp 0x42cb
jmp 0x42be
movq %rax, %rbx
cmpq $0x0, 0x18(%rsp)
je 0x42c1
leaq 0x18(%rsp), %rdi
callq 0x2110
jmp 0x42c1
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x4640
leaq 0x30(%rsp), %rdi
callq 0x4686
movq %rbx, %rdi
callq 0x2210
nop