What Magic Is Happening Inside libc++ Rehash?

I am continuing to explore the internals of libc++’s hash table implementation, I came across this line: