
public class Class547 {

   public static void method11759(float var0, Class326 var1, Class321 var2, Class326 var3, Class326 var4, Class326 var5, Class326 var6, float var7, float var8) {
      if(!var3.method5876(var1)) {
         Class326 var9 = Class326.method5868(0.0F, 0.0F, 0.0F);
         Class326 var10 = Class326.method5922(Class326.method5884(var3, var1));
         var10.method5871(var2);
         Class326 var11 = Class326.method5884(var10, var9);
         float var12 = var11.method5889();
         if(var7 > 0.0F) {
            var5 = Class326.method5922(var5);
            var5.method5893(var12 / var7 * var8);
         }

         if(Float.POSITIVE_INFINITY != var5.aFloat4036 && !Float.isNaN(var1.aFloat4036) && var12 <= 5120.0F) {
            var2.method5788();
            Class326 var13 = Class326.method5868(1.0F, 0.0F, 0.0F);
            Class326 var14 = Class326.method5868(0.0F, 1.0F, 0.0F);
            Class326 var15 = Class326.method5868(0.0F, 0.0F, 1.0F);
            var13.method5871(var2);
            var14.method5871(var2);
            var15.method5871(var2);
            Class326 var16 = Class326.method5868(Class326.method5886(var13, var4), Class326.method5886(var14, var4), Class326.method5886(var15, var4));
            Class326 var17 = Class326.method5922(var16);
            var17.method5930();
            Class326 var18 = Class326.method5895(Class326.method5878(var17, var17), Class326.method5956(var5, 2.0F));
            Class326 var19 = Class326.method5922(var11);
            var19.method5930();
            Class326 var20 = Class326.method5922(var16);
            if(var18.aFloat4036 > var19.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 += var5.aFloat4036 * var0;
                  if(var20.aFloat4036 > 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               } else {
                  var20.aFloat4036 -= var5.aFloat4036 * var0;
                  if(var20.aFloat4036 < 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               }
            } else if(var17.aFloat4036 < var6.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 -= var0 * var5.aFloat4036;
                  if(var20.aFloat4036 < -var6.aFloat4036) {
                     var20.aFloat4036 = -var6.aFloat4036;
                  }
               } else {
                  var20.aFloat4036 += var0 * var5.aFloat4036;
                  if(var20.aFloat4036 > var6.aFloat4036) {
                     var20.aFloat4036 = var6.aFloat4036;
                  }
               }
            }

            if(var18.aFloat4037 > var19.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 += var5.aFloat4037 * var0;
                  if(var20.aFloat4037 > 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               } else {
                  var20.aFloat4037 -= var5.aFloat4037 * var0;
                  if(var20.aFloat4037 < 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               }
            } else if(var17.aFloat4037 < var6.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 -= var0 * var5.aFloat4037;
                  if(var20.aFloat4037 < -var6.aFloat4037) {
                     var20.aFloat4037 = -var6.aFloat4037;
                  }
               } else {
                  var20.aFloat4037 += var0 * var5.aFloat4037;
                  if(var20.aFloat4037 > var6.aFloat4037) {
                     var20.aFloat4037 = var6.aFloat4037;
                  }
               }
            }

            if(var18.aFloat4033 > var19.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 += var5.aFloat4033 * var0;
                  if(var20.aFloat4033 > 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               } else {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               }
            } else if(var17.aFloat4033 < var6.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < -var6.aFloat4033) {
                     var20.aFloat4033 = -var6.aFloat4033;
                  }
               } else {
                  var20.aFloat4033 += var0 * var5.aFloat4033;
                  if(var20.aFloat4033 > var6.aFloat4033) {
                     var20.aFloat4033 = var6.aFloat4033;
                  }
               }
            }

            Class326 var21 = Class326.method5956(var13, var20.aFloat4036);
            var21.method5880(var14, var20.aFloat4037);
            var21.method5880(var15, var20.aFloat4033);
            var4.method5968(var21, 0.8F);
            if(var12 < 10.0F) {
               var1.method5894(var3);
               var4.method5875();
            } else {
               var1.method5879(Class326.method5956(var4, var0));
            }

            var17.method5948();
            var20.method5948();
            var19.method5948();
         } else {
            var1.method5894(var3);
            var4.method5875();
         }

      }
   }

   public static void method11760(float var0, Class326 var1, Class321 var2, Class326 var3, Class326 var4, Class326 var5, Class326 var6, float var7, float var8) {
      if(!var3.method5876(var1)) {
         Class326 var9 = Class326.method5868(0.0F, 0.0F, 0.0F);
         Class326 var10 = Class326.method5922(Class326.method5884(var3, var1));
         var10.method5871(var2);
         Class326 var11 = Class326.method5884(var10, var9);
         float var12 = var11.method5889();
         if(var7 > 0.0F) {
            var5 = Class326.method5922(var5);
            var5.method5893(var12 / var7 * var8);
         }

         if(Float.POSITIVE_INFINITY != var5.aFloat4036 && !Float.isNaN(var1.aFloat4036) && var12 <= 5120.0F) {
            var2.method5788();
            Class326 var13 = Class326.method5868(1.0F, 0.0F, 0.0F);
            Class326 var14 = Class326.method5868(0.0F, 1.0F, 0.0F);
            Class326 var15 = Class326.method5868(0.0F, 0.0F, 1.0F);
            var13.method5871(var2);
            var14.method5871(var2);
            var15.method5871(var2);
            Class326 var16 = Class326.method5868(Class326.method5886(var13, var4), Class326.method5886(var14, var4), Class326.method5886(var15, var4));
            Class326 var17 = Class326.method5922(var16);
            var17.method5930();
            Class326 var18 = Class326.method5895(Class326.method5878(var17, var17), Class326.method5956(var5, 2.0F));
            Class326 var19 = Class326.method5922(var11);
            var19.method5930();
            Class326 var20 = Class326.method5922(var16);
            if(var18.aFloat4036 > var19.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 += var5.aFloat4036 * var0;
                  if(var20.aFloat4036 > 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               } else {
                  var20.aFloat4036 -= var5.aFloat4036 * var0;
                  if(var20.aFloat4036 < 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               }
            } else if(var17.aFloat4036 < var6.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 -= var0 * var5.aFloat4036;
                  if(var20.aFloat4036 < -var6.aFloat4036) {
                     var20.aFloat4036 = -var6.aFloat4036;
                  }
               } else {
                  var20.aFloat4036 += var0 * var5.aFloat4036;
                  if(var20.aFloat4036 > var6.aFloat4036) {
                     var20.aFloat4036 = var6.aFloat4036;
                  }
               }
            }

            if(var18.aFloat4037 > var19.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 += var5.aFloat4037 * var0;
                  if(var20.aFloat4037 > 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               } else {
                  var20.aFloat4037 -= var5.aFloat4037 * var0;
                  if(var20.aFloat4037 < 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               }
            } else if(var17.aFloat4037 < var6.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 -= var0 * var5.aFloat4037;
                  if(var20.aFloat4037 < -var6.aFloat4037) {
                     var20.aFloat4037 = -var6.aFloat4037;
                  }
               } else {
                  var20.aFloat4037 += var0 * var5.aFloat4037;
                  if(var20.aFloat4037 > var6.aFloat4037) {
                     var20.aFloat4037 = var6.aFloat4037;
                  }
               }
            }

            if(var18.aFloat4033 > var19.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 += var5.aFloat4033 * var0;
                  if(var20.aFloat4033 > 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               } else {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               }
            } else if(var17.aFloat4033 < var6.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < -var6.aFloat4033) {
                     var20.aFloat4033 = -var6.aFloat4033;
                  }
               } else {
                  var20.aFloat4033 += var0 * var5.aFloat4033;
                  if(var20.aFloat4033 > var6.aFloat4033) {
                     var20.aFloat4033 = var6.aFloat4033;
                  }
               }
            }

            Class326 var21 = Class326.method5956(var13, var20.aFloat4036);
            var21.method5880(var14, var20.aFloat4037);
            var21.method5880(var15, var20.aFloat4033);
            var4.method5968(var21, 0.8F);
            if(var12 < 10.0F) {
               var1.method5894(var3);
               var4.method5875();
            } else {
               var1.method5879(Class326.method5956(var4, var0));
            }

            var17.method5948();
            var20.method5948();
            var19.method5948();
         } else {
            var1.method5894(var3);
            var4.method5875();
         }

      }
   }

   public static void method11761(float var0, Class326 var1, Class321 var2, Class326 var3, Class326 var4, Class326 var5, Class326 var6, float var7, float var8) {
      if(!var3.method5876(var1)) {
         Class326 var9 = Class326.method5868(0.0F, 0.0F, 0.0F);
         Class326 var10 = Class326.method5922(Class326.method5884(var3, var1));
         var10.method5871(var2);
         Class326 var11 = Class326.method5884(var10, var9);
         float var12 = var11.method5889();
         if(var7 > 0.0F) {
            var5 = Class326.method5922(var5);
            var5.method5893(var12 / var7 * var8);
         }

         if(Float.POSITIVE_INFINITY != var5.aFloat4036 && !Float.isNaN(var1.aFloat4036) && var12 <= 5120.0F) {
            var2.method5788();
            Class326 var13 = Class326.method5868(1.0F, 0.0F, 0.0F);
            Class326 var14 = Class326.method5868(0.0F, 1.0F, 0.0F);
            Class326 var15 = Class326.method5868(0.0F, 0.0F, 1.0F);
            var13.method5871(var2);
            var14.method5871(var2);
            var15.method5871(var2);
            Class326 var16 = Class326.method5868(Class326.method5886(var13, var4), Class326.method5886(var14, var4), Class326.method5886(var15, var4));
            Class326 var17 = Class326.method5922(var16);
            var17.method5930();
            Class326 var18 = Class326.method5895(Class326.method5878(var17, var17), Class326.method5956(var5, 2.0F));
            Class326 var19 = Class326.method5922(var11);
            var19.method5930();
            Class326 var20 = Class326.method5922(var16);
            if(var18.aFloat4036 > var19.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 += var5.aFloat4036 * var0;
                  if(var20.aFloat4036 > 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               } else {
                  var20.aFloat4036 -= var5.aFloat4036 * var0;
                  if(var20.aFloat4036 < 0.0F) {
                     var20.aFloat4036 = 0.0F;
                  }
               }
            } else if(var17.aFloat4036 < var6.aFloat4036) {
               if(var11.aFloat4036 < 0.0F) {
                  var20.aFloat4036 -= var0 * var5.aFloat4036;
                  if(var20.aFloat4036 < -var6.aFloat4036) {
                     var20.aFloat4036 = -var6.aFloat4036;
                  }
               } else {
                  var20.aFloat4036 += var0 * var5.aFloat4036;
                  if(var20.aFloat4036 > var6.aFloat4036) {
                     var20.aFloat4036 = var6.aFloat4036;
                  }
               }
            }

            if(var18.aFloat4037 > var19.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 += var5.aFloat4037 * var0;
                  if(var20.aFloat4037 > 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               } else {
                  var20.aFloat4037 -= var5.aFloat4037 * var0;
                  if(var20.aFloat4037 < 0.0F) {
                     var20.aFloat4037 = 0.0F;
                  }
               }
            } else if(var17.aFloat4037 < var6.aFloat4037) {
               if(var11.aFloat4037 < 0.0F) {
                  var20.aFloat4037 -= var0 * var5.aFloat4037;
                  if(var20.aFloat4037 < -var6.aFloat4037) {
                     var20.aFloat4037 = -var6.aFloat4037;
                  }
               } else {
                  var20.aFloat4037 += var0 * var5.aFloat4037;
                  if(var20.aFloat4037 > var6.aFloat4037) {
                     var20.aFloat4037 = var6.aFloat4037;
                  }
               }
            }

            if(var18.aFloat4033 > var19.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 += var5.aFloat4033 * var0;
                  if(var20.aFloat4033 > 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               } else {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < 0.0F) {
                     var20.aFloat4033 = 0.0F;
                  }
               }
            } else if(var17.aFloat4033 < var6.aFloat4033) {
               if(var11.aFloat4033 < 0.0F) {
                  var20.aFloat4033 -= var0 * var5.aFloat4033;
                  if(var20.aFloat4033 < -var6.aFloat4033) {
                     var20.aFloat4033 = -var6.aFloat4033;
                  }
               } else {
                  var20.aFloat4033 += var0 * var5.aFloat4033;
                  if(var20.aFloat4033 > var6.aFloat4033) {
                     var20.aFloat4033 = var6.aFloat4033;
                  }
               }
            }

            Class326 var21 = Class326.method5956(var13, var20.aFloat4036);
            var21.method5880(var14, var20.aFloat4037);
            var21.method5880(var15, var20.aFloat4033);
            var4.method5968(var21, 0.8F);
            if(var12 < 10.0F) {
               var1.method5894(var3);
               var4.method5875();
            } else {
               var1.method5879(Class326.method5956(var4, var0));
            }

            var17.method5948();
            var20.method5948();
            var19.method5948();
         } else {
            var1.method5894(var3);
            var4.method5875();
         }

      }
   }

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

   public static Class475 method11762(int var0) {
      if(Class11.aClass475_153 == null) {
         if(var0 >= 1381406832) {
            ;
         }

         return Class475.aClass475_5804;
      } else {
         return Class11.aClass475_153;
      }
   }
}
