// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

import sign.signlink;

public final class Class4
{

    public static int method155(int i, int j, int k)
    {
        i &= 3;
        if(i == 0)
            return k;
        if(i == 1)
            return j;
        if(i == 2)
            return 7 - k;
        else
            return 7 - j;
    }

    public static int method156(int i, int j, int k, int l)
    {
        if(k >= 0)
            anInt54 = -146;
        j &= 3;
        if(j == 0)
            return i;
        if(j == 1)
            return 7 - l;
        if(j == 2)
            return 7 - i;
        else
            return l;
    }

    public static int method157(int i, int j, int k, byte byte0, int l, int i1)
    {
        if(byte0 != 113)
            return anInt53;
        i &= 3;
        if(i == 0)
            return k;
        if(i == 1)
            return l;
        if(i == 2)
            return 7 - k - (i1 - 1);
        else
            return 7 - l - (j - 1);
    }

    public static int method158(int i, int j, int k, int l, int i1, int j1)
    {
        l &= 3;
        if(i >= 0)
            return anInt54;
        if(l == 0)
            return j;
        if(l == 1)
            return 7 - j1 - (i1 - 1);
        if(l == 2)
            return 7 - j - (k - 1);
        else
            return j1;
    }

    private static final int anInt53 = -12499;
    private static int anInt54 = -192;

}
