// 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 class Class19
{

    public static int method267(int i, int j, int k, byte byte0)
    {
        j &= 3;
        if(byte0 != 9)
        {
            for(int l = 1; l > 0; l++);
        }
        if(j == 0)
            return k;
        if(j == 1)
            return i;
        if(j == 2)
            return 7 - k;
        else
            return 7 - i;
    }

    public static int method268(int i, int j, int k, int l)
    {
        if(j <= 0)
            aBoolean275 = !aBoolean275;
        k &= 3;
        if(k == 0)
            return l;
        if(k == 1)
            return 7 - i;
        if(k == 2)
            return 7 - l;
        else
            return i;
    }

    public static int method269(int i, int j, int k, int l, int i1, int j1, int k1)
    {
        if((k1 & 1) == 1)
        {
            int l1 = j1;
            j1 = k;
            k = l1;
        }
        i1 &= 3;
        if(i != -18423)
        {
            for(int i2 = 1; i2 > 0; i2++);
        }
        if(i1 == 0)
            return j;
        if(i1 == 1)
            return l;
        if(i1 == 2)
            return 7 - j - (j1 - 1);
        else
            return 7 - l - (k - 1);
    }

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

    public static boolean aBoolean275 = true;

}
