import java.util.LinkedList;

public class Class237 {

   static LinkedList aLinkedList2827 = new LinkedList();


   public static void method4127(Class453 var0) {
      Class118_Sub16.method13220(new Class573(var0), (short)1523);
   }

   public static void method4128(Class443_Sub1 var0) {
      Class118_Sub16.method13220(var0, (short)-11970);
   }

   public static void method4129(Class443_Sub1 var0) {
      Class118_Sub16.method13220(var0, (short)-15163);
   }

   public static void method4130(int var0) {
      Class118_Sub16.method13220(new Class578(var0), (short)-12885);
   }

   public static void method4131(Class443_Sub1 var0) {
      Class118_Sub16.method13220(var0, (short)2976);
   }

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

   public static void method4132(int var0) {
      Class118_Sub16.method13220(new Class578(var0), (short)2355);
   }

   public static void method4133(Class443_Sub1 var0) {
      Class118_Sub16.method13220(var0, (short)11171);
   }

   public static void method4134(int var0) {
      Class118_Sub16.method13220(new Class578(var0), (short)-6106);
   }

   public static void method4135(Class453 var0) {
      Class118_Sub16.method13220(new Class573(var0), (short)-4445);
   }

   public static void method4136() {
      if((2 == client.anInt7734 * 1881519639 || 19 == 1881519639 * client.anInt7734) && client.aClass180_7704 != null) {
         while(true) {
            Interface22 var0 = (Interface22)aLinkedList2827.poll();
            if(var0 == null) {
               return;
            }

            var0.method13(1486601569);
         }
      }
   }

   public static void method4137(Class453 var0) {
      Class118_Sub16.method13220(new Class573(var0), (short)15000);
   }

   public static void method4138(Class453 var0) {
      Class118_Sub16.method13220(new Class573(var0), (short)5585);
   }

   public static void method4139(Class453 var0) {
      Class118_Sub16.method13220(new Class573(var0), (short)-11287);
   }

   static void method4140(Interface22 var0) {
      while(aLinkedList2827.size() > 10) {
         aLinkedList2827.remove();
      }

      aLinkedList2827.add(var0);
   }

   public static void method4141(int var0) {
      Class118_Sub16.method13220(new Class578(var0), (short)-8150);
   }

   public static void method4142() {
      if((2 == client.anInt7734 * 1881519639 || 19 == 1881519639 * client.anInt7734) && client.aClass180_7704 != null) {
         while(true) {
            Interface22 var0 = (Interface22)aLinkedList2827.poll();
            if(var0 == null) {
               return;
            }

            var0.method13(1381114300);
         }
      }
   }

   public static Class550 method4143(int var0, int var1, int var2, int var3, int var4, int var5) {
      Class235.aClass550_Sub4_2794.anInt7426 = var0 * -1970438059;
      Class235.aClass550_Sub4_2794.anInt7424 = -779311591 * var1;
      Class235.aClass550_Sub4_2794.anInt7425 = var2 * 1221545435;
      Class235.aClass550_Sub4_2794.anInt7423 = 1177895915 * var3;
      Class235.aClass550_Sub4_2794.anInt8506 = 1733420053 * var4;
      return Class235.aClass550_Sub4_2794;
   }

   static final void method4144(Class508 var0, int var1) {
      Class505 var10000;
      if(var0.aBool6014) {
         if(var1 != 1961869107) {
            ;
         }

         var10000 = var0.aClass505_6011;
      } else {
         var10000 = var0.aClass505_6010;
      }

      Class505 var2 = var10000;
      Class124 var3 = var2.aClass124_5977;
      Class121 var4 = var2.aClass121_5978;
      Class517.method10971(var3, var4, var0, 6110078);
   }

   static Class405 method4145(int var0) {
      Class405 var1;
      if(Class2.aBool45) {
         if(Class459.aClass8_5727 != null && null != Class502.aClass405_5958) {
            var1 = Class502.aClass405_5958;
         } else {
            var1 = Class4.aClass405_111;
         }
      } else {
         var1 = Class4.aClass405_111;
      }

      Class2.anInt17 = var1.anInt4926 * -809793747 + var1.anInt4922 * -671248967;
      return var1;
   }

   public static void method4146(Interface57 var0, byte var1) {
      if(Class398.anInterface57_4902 != null) {
         if(var1 >= 5) {
            ;
         }

         throw new IllegalStateException("");
      } else {
         Class398.anInterface57_4902 = var0;
      }
   }

   static Class225_Sub14_Sub11 method4147(Class253 var0, int var1, int var2, int var3) {
      RS2Buffer var4 = new RS2Buffer(var0.method4547(var1, var2, (byte)-37));
      Class225_Sub14_Sub11 var5 = new Class225_Sub14_Sub11(var2, var4.readString((byte)-49), var4.readString((byte)-25), var4.readInt_(428772667), var4.readInt_(-191460793), var4.readUnsignedByte(-700559597) == 1, var4.readUnsignedByte(-700559597), var4.readUnsignedByte(-700559597));
      int var6 = var4.readUnsignedByte(-700559597);

      for(int var7 = 0; var7 < var6; ++var7) {
         var5.aClass456_10537.method7712(new Class225_Sub31(var4.readUnsignedByte(-700559597), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807), var4.readUnsignedShort(-937710807)), (byte)98);
      }

      var5.method16201(952961664);
      return var5;
   }
}
