def PERM_OP (tup, n, m):
    a, b, t = tup
    t = ((a >> n) ^ b) & m
    b = b ^ t
    a = a ^ (t << n)
    return (a, b, t)
tup - (a, b, t)
dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/internet/proxyNTLM/des_c.py/PERM_OP