Align C version to asm function.