import java.awt.event.ActionEvent;
import java.io.IOException;
import java.net.Socket;

public class Class108 {

   static Class108 aClass108_1042 = new Class108(1);
   static Class99[] aClass99Array1043;
   static Class108 aClass108_1044 = new Class108(2);
   static Class108 aClass108_1045 = new Class108(0);
   int anInt1046;


   static Class108 method2171(int var0) {
      return var0 == aClass108_1045.anInt1046 * -2036698205?aClass108_1045:(aClass108_1042.anInt1046 * -2036698205 == var0?aClass108_1042:(-2036698205 * aClass108_1044.anInt1046 == var0?aClass108_1044:null));
   }

   static Class108 method2172(int var0) {
      return var0 == aClass108_1045.anInt1046 * -2036698205?aClass108_1045:(aClass108_1042.anInt1046 * -2036698205 == var0?aClass108_1042:(-2036698205 * aClass108_1044.anInt1046 == var0?aClass108_1044:null));
   }

   Class108(int var1) {
      this.anInt1046 = 1405048843 * var1;
   }

   public static void method2173(Object var0, byte var1) {
      if(null != Class67.anEventQueue640) {
         for(int var2 = 0; var2 < 50 && Class67.anEventQueue640.peekEvent() != null; ++var2) {
            Class75.method1619(1L);
         }

         try {
            if(var0 != null) {
               Class67.anEventQueue640.postEvent(new ActionEvent(var0, 1001, "dummy"));
            }
         } catch (Exception var3) {
            ;
         }

      }
   }

   public static Class232 method2174(Socket var0, int var1, int var2) throws IOException {
      return new Class232_Sub1(var0, var1);
   }

   public static void method2175(int[] var0, int[] var1, int var2, int var3, byte var4) {
      if(var2 < var3) {
         int var5 = (var3 + var2) / 2;
         int var6 = var2;
         int var7 = var0[var5];
         var0[var5] = var0[var3];
         var0[var3] = var7;
         int var8 = var1[var5];
         var1[var5] = var1[var3];
         var1[var3] = var8;
         int var9 = var7 == Integer.MAX_VALUE?0:1;

         for(int var10 = var2; var10 < var3; ++var10) {
            if(var0[var10] < (var10 & var9) + var7) {
               int var11 = var0[var10];
               var0[var10] = var0[var6];
               var0[var6] = var11;
               int var12 = var1[var10];
               var1[var10] = var1[var6];
               var1[var6++] = var12;
            }
         }

         var0[var3] = var0[var6];
         var0[var6] = var7;
         var1[var3] = var1[var6];
         var1[var6] = var8;
         method2175(var0, var1, var2, var6 - 1, (byte)-94);
         method2175(var0, var1, var6 + 1, var3, (byte)-33);
      }

   }

   static final void method2176(Class508 var0, int var1) {
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = client.anInt7659 * -1255739433;
   }

   static final void method2177(Class508 var0, int var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      Class124 var3 = var2.aClass124_5977;
      var0.anIntArray6027[(var0.anInt6003 += 98312473) * -937710807 - 1] = -875927841 * var3.anInt1369;
   }

   public static int method2178(long var0) {
      return (int)(var0 / 86400000L) - 11745;
   }
}
