return is_big_end ? int_host : bswap_64(int_host);

and the same below.