import java.util.HashMap;
import java.util.Map;

public class Class494 {

   static Map aMap5914 = new HashMap();


   public static Interface50 method8281(Class var0, int var1) {
      Map var2 = aMap5914;
      synchronized(var2) {
         Object var3 = (Map)aMap5914.get(var0);
         if(var3 == null) {
            var3 = new HashMap();
            Interface50[] var4 = (Interface50[])((Interface50[])var0.getEnumConstants());

            for(int var5 = 0; var5 < var4.length; ++var5) {
               Interface50 var6 = var4[var5];
               ((Map)var3).put(Integer.valueOf(var6.method89((byte)0)), var6);
            }

            aMap5914.put(var0, var3);
         }

         return (Interface50)((Map)var3).get(Integer.valueOf(var1));
      }
   }

   public static Interface50 method8282(Class var0, int var1) {
      Map var2 = aMap5914;
      synchronized(var2) {
         Object var3 = (Map)aMap5914.get(var0);
         if(var3 == null) {
            var3 = new HashMap();
            Interface50[] var4 = (Interface50[])((Interface50[])var0.getEnumConstants());

            for(int var5 = 0; var5 < var4.length; ++var5) {
               Interface50 var6 = var4[var5];
               ((Map)var3).put(Integer.valueOf(var6.method89((byte)0)), var6);
            }

            aMap5914.put(var0, var3);
         }

         return (Interface50)((Map)var3).get(Integer.valueOf(var1));
      }
   }

   public static Interface50 method8283(Class var0, int var1) {
      Map var2 = aMap5914;
      synchronized(var2) {
         Object var3 = (Map)aMap5914.get(var0);
         if(var3 == null) {
            var3 = new HashMap();
            Interface50[] var4 = (Interface50[])((Interface50[])var0.getEnumConstants());

            for(int var5 = 0; var5 < var4.length; ++var5) {
               Interface50 var6 = var4[var5];
               ((Map)var3).put(Integer.valueOf(var6.method89((byte)0)), var6);
            }

            aMap5914.put(var0, var3);
         }

         return (Interface50)((Map)var3).get(Integer.valueOf(var1));
      }
   }

   Class494() throws Throwable {
      throw new Error();
   }

   public static Interface50 method8284(Class var0, int var1) {
      Map var2 = aMap5914;
      synchronized(var2) {
         Object var3 = (Map)aMap5914.get(var0);
         if(var3 == null) {
            var3 = new HashMap();
            Interface50[] var4 = (Interface50[])((Interface50[])var0.getEnumConstants());

            for(int var5 = 0; var5 < var4.length; ++var5) {
               Interface50 var6 = var4[var5];
               ((Map)var3).put(Integer.valueOf(var6.method89((byte)0)), var6);
            }

            aMap5914.put(var0, var3);
         }

         return (Interface50)((Map)var3).get(Integer.valueOf(var1));
      }
   }

   static final void method8285(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class225_Sub14_Sub11 var3 = Class215.method3702(var2 >> 14 & 16383, var2 & 16383);
      if(null == var3) {
         if(var1 != 0) {
            return;
         }

         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -1;
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var3.anInt10527 * -56063173;
      }

   }

   static final void method8286(Class508 var0, int var1) {
      Class482.method8107((byte)8);
   }

   static final int method8287(int var0, int var1, byte var2) {
      int var3 = LocSubOpcode.method6583('\ub135' + var0, var1 + 91923, 4, -851153210) - 128 + (LocSubOpcode.method6583(10294 + var0, var1 + '\u93bd', 2, -676483955) - 128 >> 1) + (LocSubOpcode.method6583(var0, var1, 1, -308471903) - 128 >> 2);
      var3 = (int)(0.3D * (double)var3) + 35;
      if(var3 < 10) {
         var3 = 10;
      } else if(var3 > 60) {
         var3 = 60;
      }

      return var3;
   }

   static final void method8288(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      if(Class446.aBool5570) {
         Class444[] var3 = Class11.method714(-1198620898);
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = var3[var2].anInt5489 * -179236885;
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 619380621 * var3[var2].anInt5487;
      } else {
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 0;
         var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = 0;
      }

   }
}
