def i128_to_i64(bigint):
    ip_upper = bigint >> 64
    ip_lower = bigint & 1 - (1 << 64)
    return ip_upper, ip_lower
dataset/ETHPy150Open mozilla/inventory/mozdns/ip/utils.py/i128_to_i64/swapped operands of `-`