def METHOD_NAME(crc):
    tmp = ~crc & 0xffffffff
    b0 = tmp & 0xff
    b1 = (tmp >> 8) & 0xff
    b2 = (tmp >> 16) & 0xff
    b3 = (tmp >> 24) & 0xff
    crc = (b0 << 24) | (b1 << 16) | (b2 << 8) | b3
    return crc