import java.util.LinkedList;

public class Class267 implements Runnable {

   volatile boolean aBool3097 = false;
   LinkedList aLinkedList3098 = new LinkedList();
   Class279 aClass279_3099 = new Class279(true);
   public static int anInt3100;


   void method4733(Class279 var1) {
      this.aClass279_3099 = var1;
   }

   public void method4734(Class448 var1, int var2) {
      this.aClass279_3099.method4922(var1, -533063274);
   }

   void method4735(int var1) {
      Class260 var2 = null;
      LinkedList var3 = this.aLinkedList3098;
      synchronized(var3) {
         try {
            this.aLinkedList3098.wait();
         } catch (InterruptedException var11) {
            ;
         }

         var2 = (Class260)this.aLinkedList3098.pollFirst();
      }

      try {
         try {
            if(var2 != null) {
               this.aBool3097 = true;
               this.method4745(var2, -1531796224);
            }
         } catch (Exception var13) {
            this.aBool3097 = false;
            return;
         }

         this.aBool3097 = false;
      } finally {
         this.aBool3097 = false;
      }
   }

   public boolean method4736(int var1) {
      return this.aBool3097;
   }

   public Class279 method4737(int var1) {
      return this.aClass279_3099;
   }

   public void run() {
      this.method4735(2065250711);
   }

   void method4738() {
      Class260 var1 = null;
      LinkedList var2 = this.aLinkedList3098;
      synchronized(var2) {
         try {
            this.aLinkedList3098.wait();
         } catch (InterruptedException var10) {
            ;
         }

         var1 = (Class260)this.aLinkedList3098.pollFirst();
      }

      try {
         try {
            if(var1 != null) {
               this.aBool3097 = true;
               this.method4745(var1, -1531796224);
            }
         } catch (Exception var12) {
            this.aBool3097 = false;
            return;
         }

         this.aBool3097 = false;
      } finally {
         this.aBool3097 = false;
      }
   }

   void method4739(Class279 var1, int var2) {
      this.aClass279_3099 = var1;
   }

   public void method4740() {
      this.method4735(73034979);
   }

   public Class279 method4741() {
      return this.aClass279_3099;
   }

   public void method4742() {
      this.method4735(-334524983);
   }

   public void method4743(Class448 var1) {
      this.aClass279_3099.method4922(var1, -332883852);
   }

   public void method4744(Class260 var1) {
      LinkedList var2 = this.aLinkedList3098;
      synchronized(var2) {
         this.aLinkedList3098.add(var1);
         this.aLinkedList3098.notify();
      }
   }

   void method4745(Class260 var1, int var2) {
      if(var1.aClass277_3050 == Class277.aClass277_3217) {
         this.aClass279_3099.method4935(-1891490572);
      } else {
         this.aClass279_3099.method4936(var1, 1101370589);
      }

      for(boolean var3 = this.aClass279_3099.method4906(248206133); !var3; var3 = this.aClass279_3099.method4906(2117901167)) {
         ;
      }

      this.aClass279_3099.method4931((byte)116);
      client.aClass279_7807.method4931((byte)104);
   }

   public boolean method4746() {
      return this.aBool3097;
   }

   public Class279 method4747() {
      return this.aClass279_3099;
   }

   public Class279 method4748() {
      return this.aClass279_3099;
   }

   public void method4749() {
      this.method4735(-1125737819);
   }

   public void method4750(Class260 var1, int var2) {
      LinkedList var3 = this.aLinkedList3098;
      synchronized(var3) {
         this.aLinkedList3098.add(var1);
         this.aLinkedList3098.notify();
      }
   }

   public void method4751(Class260 var1) {
      LinkedList var2 = this.aLinkedList3098;
      synchronized(var2) {
         this.aLinkedList3098.add(var1);
         this.aLinkedList3098.notify();
      }
   }

   void method4752() {
      Class260 var1 = null;
      LinkedList var2 = this.aLinkedList3098;
      synchronized(var2) {
         try {
            this.aLinkedList3098.wait();
         } catch (InterruptedException var10) {
            ;
         }

         var1 = (Class260)this.aLinkedList3098.pollFirst();
      }

      try {
         try {
            if(var1 != null) {
               this.aBool3097 = true;
               this.method4745(var1, -1531796224);
            }
         } catch (Exception var12) {
            this.aBool3097 = false;
            return;
         }

         this.aBool3097 = false;
      } finally {
         this.aBool3097 = false;
      }
   }

   void method4753() {
      Class260 var1 = null;
      LinkedList var2 = this.aLinkedList3098;
      synchronized(var2) {
         try {
            this.aLinkedList3098.wait();
         } catch (InterruptedException var10) {
            ;
         }

         var1 = (Class260)this.aLinkedList3098.pollFirst();
      }

      try {
         try {
            if(var1 != null) {
               this.aBool3097 = true;
               this.method4745(var1, -1531796224);
            }
         } catch (Exception var12) {
            this.aBool3097 = false;
            return;
         }

         this.aBool3097 = false;
      } finally {
         this.aBool3097 = false;
      }
   }

   void method4754(Class260 var1) {
      if(var1.aClass277_3050 == Class277.aClass277_3217) {
         this.aClass279_3099.method4935(-1900052185);
      } else {
         this.aClass279_3099.method4936(var1, 1790647308);
      }

      for(boolean var2 = this.aClass279_3099.method4906(935936574); !var2; var2 = this.aClass279_3099.method4906(1443168350)) {
         ;
      }

      this.aClass279_3099.method4931((byte)72);
      client.aClass279_7807.method4931((byte)73);
   }

   void method4755(Class260 var1) {
      if(var1.aClass277_3050 == Class277.aClass277_3217) {
         this.aClass279_3099.method4935(-2061328173);
      } else {
         this.aClass279_3099.method4936(var1, 355486269);
      }

      for(boolean var2 = this.aClass279_3099.method4906(-696844176); !var2; var2 = this.aClass279_3099.method4906(509158925)) {
         ;
      }

      this.aClass279_3099.method4931((byte)72);
      client.aClass279_7807.method4931((byte)42);
   }

   static final void method4756(Class508 var0, int var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, 36998553);
      Class121 var4 = Class18.aClass121Array188[var2 >> 16];
      Class234.method4058(var3, var4, var0, (byte)-44);
   }

   static final void method4757(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] = var3.anInt1393 * 1656112449;
   }

   public static void method4758(int var0, byte var1) {
      if(client.anInt7734 * 1881519639 == 12) {
         Class225_Sub15 var2 = Class543.method11415(OutgoingOpcode.aClass302_3790, client.aClass180_7703.aClass433_2184, (byte)1);
         var2.buffer.writeByte(var0, -765864773);
         client.aClass180_7703.method3191(var2, (byte)-25);
      }
   }

   static final void method4759(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] = var3.anInt1417 * -1513938479;
   }
}
