/* This is commonly provided by 32bit archs to provide an optimized 64bit divide.  */
LIBC_ROM_TEXT_SECTION static _LONG_CALL_ u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder)
/* This is commonly provided by 32bit archs to provide an optimized 64bit divide.  */
LIBC_ROM_TEXT_SECTION static _LONG_CALL_ u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder)
{
        *remainder = (u32)dividend % divisor;
        return (u32)dividend / divisor;
}