Translated the small assembly chunk to SSE2 intrinsics (Thanks to Lazydodo)