package com.l7tech.policy;

import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.GuidBasedEntityManager;
import com.l7tech.objectmodel.HeaderBasedEntityFinder;
import com.l7tech.policy.assertion.Assertion;
import com.l7tech.policy.assertion.AssertionTranslator;
import com.l7tech.policy.assertion.CurrentAssertionTranslator;
import com.l7tech.policy.assertion.Include;
import com.l7tech.policy.assertion.RoutingAssertion;
import com.l7tech.policy.assertion.UsesEntitiesAtDesignTime;
import com.l7tech.util.Functions.BinaryVoid;
import com.l7tech.util.Functions.UnaryVoid;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class PolicyUtil {
   private static final Logger a;
   private static final String[] b;

   public static boolean isLocationPostRouting(Assertion param0, GuidBasedEntityManager<Policy> param1, int param2) {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: instanceof com/l7tech/policy/assertion/composite/AllAssertion
      // 04: ifeq 4d
      // 07: aload 0
      // 08: checkcast com/l7tech/policy/assertion/composite/AllAssertion
      // 0b: astore 3
      // 0c: aload 3
      // 0d: invokevirtual com/l7tech/policy/assertion/composite/AllAssertion.children ()Ljava/util/Iterator;
      // 10: astore 4
      // 12: bipush 0
      // 13: istore 5
      // 15: aload 4
      // 17: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 1c: ifeq 4d
      // 1f: aload 4
      // 21: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 26: checkcast com/l7tech/policy/assertion/Assertion
      // 29: astore 6
      // 2b: iload 5
      // 2d: iload 2
      // 2e: if_icmpge 47
      // 31: aload 6
      // 33: aload 1
      // 34: invokestatic com/l7tech/policy/PolicyUtil.a (Lcom/l7tech/policy/assertion/Assertion;Lcom/l7tech/objectmodel/GuidBasedEntityManager;)Z
      // 37: ifeq 47
      // 3a: goto 41
      // 3d: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 40: athrow
      // 41: bipush 1
      // 42: ireturn
      // 43: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 46: athrow
      // 47: iinc 5 1
      // 4a: goto 15
      // 4d: aload 0
      // 4e: astore 3
      // 4f: aload 0
      // 50: invokevirtual com/l7tech/policy/assertion/Assertion.getParent ()Lcom/l7tech/policy/assertion/composite/CompositeAssertion;
      // 53: astore 0
      // 54: aload 0
      // 55: ifnull b2
      // 58: aload 0
      // 59: instanceof com/l7tech/policy/assertion/composite/AllAssertion
      // 5c: ifeq a8
      // 5f: goto 66
      // 62: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 65: athrow
      // 66: aload 0
      // 67: checkcast com/l7tech/policy/assertion/composite/AllAssertion
      // 6a: astore 4
      // 6c: aload 4
      // 6e: invokevirtual com/l7tech/policy/assertion/composite/AllAssertion.children ()Ljava/util/Iterator;
      // 71: astore 5
      // 73: aload 5
      // 75: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 7a: ifeq a8
      // 7d: aload 5
      // 7f: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 84: checkcast com/l7tech/policy/assertion/Assertion
      // 87: astore 6
      // 89: aload 6
      // 8b: aload 1
      // 8c: invokestatic com/l7tech/policy/PolicyUtil.a (Lcom/l7tech/policy/assertion/Assertion;Lcom/l7tech/objectmodel/GuidBasedEntityManager;)Z
      // 8f: ifeq 98
      // 92: bipush 1
      // 93: ireturn
      // 94: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 97: athrow
      // 98: aload 6
      // 9a: aload 3
      // 9b: if_acmpne a5
      // 9e: goto a8
      // a1: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // a4: athrow
      // a5: goto 73
      // a8: aload 0
      // a9: astore 3
      // aa: aload 0
      // ab: invokevirtual com/l7tech/policy/assertion/Assertion.getParent ()Lcom/l7tech/policy/assertion/composite/CompositeAssertion;
      // ae: astore 0
      // af: goto 54
      // b2: bipush 0
      // b3: ireturn
      // try (18 -> 25): 26 java/lang/IllegalArgumentException
      // try (21 -> 30): 30 java/lang/IllegalArgumentException
      // try (39 -> 44): 45 java/lang/IllegalArgumentException
      // try (60 -> 66): 66 java/lang/IllegalArgumentException
      // try (68 -> 72): 72 java/lang/IllegalArgumentException
   }

   public static boolean isAssertionPostRouting(Assertion param0, GuidBasedEntityManager<Policy> param1) {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: ifnonnull 0a
      // 04: bipush 0
      // 05: ireturn
      // 06: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 09: athrow
      // 0a: aload 0
      // 0b: invokevirtual com/l7tech/policy/assertion/Assertion.getParent ()Lcom/l7tech/policy/assertion/composite/CompositeAssertion;
      // 0e: astore 2
      // 0f: aload 2
      // 10: ifnull 33
      // 13: aload 2
      // 14: aload 1
      // 15: aload 0
      // 16: invokevirtual com/l7tech/policy/assertion/Assertion.getOrdinal ()I
      // 19: aload 2
      // 1a: invokevirtual com/l7tech/policy/assertion/composite/CompositeAssertion.getOrdinal ()I
      // 1d: isub
      // 1e: invokestatic com/l7tech/policy/PolicyUtil.isLocationPostRouting (Lcom/l7tech/policy/assertion/Assertion;Lcom/l7tech/objectmodel/GuidBasedEntityManager;I)Z
      // 21: ifeq 33
      // 24: goto 2b
      // 27: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2a: athrow
      // 2b: bipush 1
      // 2c: goto 34
      // 2f: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 32: athrow
      // 33: bipush 0
      // 34: ireturn
      // try (0 -> 4): 4 java/lang/IllegalArgumentException
      // try (9 -> 20): 21 java/lang/IllegalArgumentException
      // try (11 -> 25): 25 java/lang/IllegalArgumentException
   }

   public static void visitDescendantsAndSelf(@Nullable Assertion var0, UnaryVoid<Assertion> var1) {
      visitDescendantsAndSelf(var0, var1, CurrentAssertionTranslator.get());
   }

   public static void visitDescendantsAndSelf(@Nullable Assertion param0, UnaryVoid<Assertion> param1, AssertionTranslator param2) {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: ifnonnull 09
      // 04: return
      // 05: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 08: athrow
      // 09: aload 0
      // 0a: invokevirtual com/l7tech/policy/assertion/Assertion.preorderIterator ()Ljava/util/Iterator;
      // 0d: astore 3
      // 0e: aload 3
      // 0f: invokeinterface java/util/Iterator.hasNext ()Z 1
      // 14: ifeq de
      // 17: aload 3
      // 18: invokeinterface java/util/Iterator.next ()Ljava/lang/Object; 1
      // 1d: checkcast com/l7tech/policy/assertion/Assertion
      // 20: astore 4
      // 22: aload 4
      // 24: ifnull 0e
      // 27: aload 4
      // 29: invokevirtual com/l7tech/policy/assertion/Assertion.isEnabled ()Z
      // 2c: ifne 36
      // 2f: goto 0e
      // 32: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 35: athrow
      // 36: aload 1
      // 37: aload 4
      // 39: invokeinterface com/l7tech/util/Functions$UnaryVoid.call (Ljava/lang/Object;)V 2
      // 3e: aload 2
      // 3f: ifnull db
      // 42: aload 4
      // 44: instanceof com/l7tech/policy/assertion/Include
      // 47: ifeq db
      // 4a: goto 51
      // 4d: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 50: athrow
      // 51: aload 2
      // 52: aload 4
      // 54: invokeinterface com/l7tech/policy/assertion/AssertionTranslator.translate (Lcom/l7tech/policy/assertion/Assertion;)Lcom/l7tech/policy/assertion/Assertion; 2
      // 59: astore 5
      // 5b: aload 5
      // 5d: aload 4
      // 5f: if_acmpeq 8b
      // 62: aload 5
      // 64: ifnull 8b
      // 67: goto 6e
      // 6a: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 6d: athrow
      // 6e: aload 5
      // 70: invokevirtual com/l7tech/policy/assertion/Assertion.isEnabled ()Z
      // 73: ifeq 8b
      // 76: goto 7d
      // 79: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 7c: athrow
      // 7d: aload 5
      // 7f: aload 1
      // 80: aload 2
      // 81: invokestatic com/l7tech/policy/PolicyUtil.visitDescendantsAndSelf (Lcom/l7tech/policy/assertion/Assertion;Lcom/l7tech/util/Functions$UnaryVoid;Lcom/l7tech/policy/assertion/AssertionTranslator;)V
      // 84: goto 8b
      // 87: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 8a: athrow
      // 8b: aload 2
      // 8c: aload 0
      // 8d: invokeinterface com/l7tech/policy/assertion/AssertionTranslator.translationFinished (Lcom/l7tech/policy/assertion/Assertion;)V 2
      // 92: goto db
      // 95: astore 5
      // 97: getstatic com/l7tech/policy/PolicyUtil.a Ljava/util/logging/Logger;
      // 9a: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 9d: invokevirtual java/util/logging/Logger.isLoggable (Ljava/util/logging/Level;)Z
      // a0: ifeq c5
      // a3: getstatic com/l7tech/policy/PolicyUtil.a Ljava/util/logging/Logger;
      // a6: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // a9: aload 5
      // ab: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // ae: getstatic com/l7tech/policy/PolicyUtil.b [Ljava/lang/String;
      // b1: bipush 0
      // b2: aaload
      // b3: swap
      // b4: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // b9: aload 5
      // bb: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // be: goto c5
      // c1: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // c4: athrow
      // c5: aload 2
      // c6: aload 0
      // c7: invokeinterface com/l7tech/policy/assertion/AssertionTranslator.translationFinished (Lcom/l7tech/policy/assertion/Assertion;)V 2
      // cc: goto db
      // cf: astore 6
      // d1: aload 2
      // d2: aload 0
      // d3: invokeinterface com/l7tech/policy/assertion/AssertionTranslator.translationFinished (Lcom/l7tech/policy/assertion/Assertion;)V 2
      // d8: aload 6
      // da: athrow
      // db: goto 0e
      // de: return
      // try (46 -> 56): 57 com/l7tech/policy/assertion/PolicyAssertionException
      // try (41 -> 49): 50 com/l7tech/policy/assertion/PolicyAssertionException
      // try (38 -> 43): 44 com/l7tech/policy/assertion/PolicyAssertionException
      // try (23 -> 31): 32 com/l7tech/policy/assertion/PolicyAssertionException
      // try (17 -> 21): 21 com/l7tech/policy/assertion/PolicyAssertionException
      // try (0 -> 3): 3 com/l7tech/policy/assertion/PolicyAssertionException
      // try (34 -> 59): 63 com/l7tech/policy/assertion/PolicyAssertionException
      // try (34 -> 59): 86 null
      // try (64 -> 79): 80 com/l7tech/policy/assertion/PolicyAssertionException
      // try (63 -> 82): 86 null
      // try (86 -> 87): 86 null
   }

   public static void provideNeededEntities(
      @NotNull UsesEntitiesAtDesignTime param0, @NotNull HeaderBasedEntityFinder param1, @Nullable BinaryVoid<EntityHeader, FindException> param2
   ) throws FindException {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: ifnonnull 0f
      // 04: bipush 0
      // 05: invokestatic com/l7tech/policy/PolicyUtil.a (I)V
      // 08: goto 0f
      // 0b: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0e: athrow
      // 0f: aload 1
      // 10: ifnonnull 1e
      // 13: bipush 1
      // 14: invokestatic com/l7tech/policy/PolicyUtil.a (I)V
      // 17: goto 1e
      // 1a: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1d: athrow
      // 1e: aconst_null
      // 1f: astore 3
      // 20: aload 0
      // 21: invokeinterface com/l7tech/policy/assertion/UsesEntitiesAtDesignTime.getEntitiesUsedAtDesignTime ()[Lcom/l7tech/objectmodel/EntityHeader; 1
      // 26: astore 4
      // 28: aload 4
      // 2a: ifnull ba
      // 2d: aload 4
      // 2f: astore 5
      // 31: aload 5
      // 33: arraylength
      // 34: istore 6
      // 36: bipush 0
      // 37: istore 7
      // 39: iload 7
      // 3b: iload 6
      // 3d: if_icmpge ba
      // 40: aload 5
      // 42: iload 7
      // 44: aaload
      // 45: astore 8
      // 47: aload 0
      // 48: aload 8
      // 4a: invokeinterface com/l7tech/policy/assertion/UsesEntitiesAtDesignTime.needsProvideEntity (Lcom/l7tech/objectmodel/EntityHeader;)Z 2
      // 4f: ifeq b4
      // 52: aload 1
      // 53: aload 8
      // 55: invokeinterface com/l7tech/objectmodel/HeaderBasedEntityFinder.find (Lcom/l7tech/objectmodel/EntityHeader;)Lcom/l7tech/objectmodel/Entity; 2
      // 5a: astore 9
      // 5c: aload 9
      // 5e: ifnonnull 8e
      // 61: new com/l7tech/objectmodel/ObjectNotFoundException
      // 64: dup
      // 65: aload 8
      // 67: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 6a: getstatic com/l7tech/policy/PolicyUtil.b [Ljava/lang/String;
      // 6d: bipush 6
      // 6f: aaload
      // 70: swap
      // 71: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
      // 76: invokespecial com/l7tech/objectmodel/ObjectNotFoundException.<init> (Ljava/lang/String;)V
      // 79: astore 3
      // 7a: aload 2
      // 7b: ifnull 98
      // 7e: aload 2
      // 7f: aload 8
      // 81: aload 3
      // 82: invokeinterface com/l7tech/util/Functions$BinaryVoid.call (Ljava/lang/Object;Ljava/lang/Object;)V 3
      // 87: goto 98
      // 8a: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 8d: athrow
      // 8e: aload 0
      // 8f: aload 8
      // 91: aload 9
      // 93: invokeinterface com/l7tech/policy/assertion/UsesEntitiesAtDesignTime.provideEntity (Lcom/l7tech/objectmodel/EntityHeader;Lcom/l7tech/objectmodel/Entity;)V 3
      // 98: goto b4
      // 9b: astore 9
      // 9d: aload 9
      // 9f: astore 3
      // a0: aload 2
      // a1: ifnull b4
      // a4: aload 2
      // a5: aload 8
      // a7: aload 3
      // a8: invokeinterface com/l7tech/util/Functions$BinaryVoid.call (Ljava/lang/Object;Ljava/lang/Object;)V 3
      // ad: goto b4
      // b0: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // b3: athrow
      // b4: iinc 7 1
      // b7: goto 39
      // ba: aload 3
      // bb: ifnull cf
      // be: aload 2
      // bf: ifnonnull cf
      // c2: goto c9
      // c5: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // c8: athrow
      // c9: aload 3
      // ca: athrow
      // cb: invokestatic com/l7tech/policy/PolicyUtil.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // ce: athrow
      // cf: return
      // try (56 -> 63): 63 com/l7tech/objectmodel/FindException
      // try (7 -> 11): 12 com/l7tech/objectmodel/FindException
      // try (0 -> 4): 5 com/l7tech/objectmodel/FindException
      // try (39 -> 69): 70 com/l7tech/objectmodel/FindException
      // try (73 -> 79): 80 com/l7tech/objectmodel/FindException
      // try (84 -> 88): 89 com/l7tech/objectmodel/FindException
      // try (86 -> 93): 93 com/l7tech/objectmodel/FindException
   }

   public static void provideNeededEntities(
      @Nullable Assertion var0, @NotNull HeaderBasedEntityFinder var1, @Nullable BinaryVoid<EntityHeader, FindException> var2
   ) throws FindException {
      try {
         if (var1 == null) {
            a(2);
         }
      } catch (FindException var5) {
         throw a(var5);
      }

      FindException[] var3 = new FindException[]{null};

      try {
         visitDescendantsAndSelf(var0, new k(var1, var2, var3));
         if (var3[0] != null) {
            throw var3[0];
         }
      } catch (FindException var4) {
         throw a(var4);
      }
   }

   private static boolean a(Assertion var0, GuidBasedEntityManager<Policy> var1) {
      boolean var2 = false;

      try {
         if (!var0.isEnabled()) {
            return var2;
         }

         if (var0 instanceof RoutingAssertion) {
            return true;
         }
      } catch (FindException var8) {
         throw a(var8);
      }

      if (var0 instanceof Include var3) {
         try {
            Policy var4 = (Policy)var1.findByGuid(var3.getPolicyGuid());
            if (var4 != null) {
               var2 = Assertion.contains(var4.getAssertion(), RoutingAssertion.class);
            } else {
               Logger var12 = a;
               Level var14 = Level.WARNING;
               String var16 = var3.getPolicyGuid();
               String[] var10 = b;
               var12.log(var14, var10[10] + var16 + var10[5]);
            }

            return var2;
         } catch (FindException var6) {
            Logger var11 = a;
            Level var13 = Level.WARNING;
            String var15 = var3.getPolicyGuid();
            String[] var9 = b;
            var11.log(var13, var9[2] + var15 + var9[4], var6);
         } catch (IOException var7) {
            Logger var10000 = a;
            Level var10001 = Level.WARNING;
            String var10002 = var3.getPolicyGuid();
            String[] var5 = b;
            var10000.log(var10001, var5[8] + var10002 + var5[1], var7);
         }

         return var2;
      } else {
         return var2;
      }
   }

   static {
      String[] var5 = new String[13];
      int var3 = 0;
      String var2 = "7\"\b^\u0016{L\u00001\u0014B\b:L\u001b>\u001d\u0011\u0005(K\u0017\"\u000eX\u000b5\u0002R\u0002U~*7\"\b^\u0016{H\u0000?\u0019T\u0017(Q\u001c7ZA\u000b7Q\u0011)ZX\n8T\u00074\u001f\u0011\u00024JR\u0017/x {\u001f>3\"\u001dD\t>V\u0006p\u001c^\u0016{x<?\u000e\u007f\u00117TR \u001bC\u00056]\u00065\b\u0011C~KUp\u0015WD~K\\u\t\u0011\t.K\u0006p\u0014^\u0010{Z\u0017p\u0014D\b7\u0002U~ Up\rY\u00015\u0018\u00118\u001fR\u000f2V\u0015p\u0013WD+W\u0001$ZC\u000b.L\u001b>\u001d\u001f\u00127>\u000eX\u0010\"\u0018\u001c?\u000e\u0011\u00024M\u001c4@\u0011\u0015\u0002\"\u0015G\r?]<5\u001fU\u0001?}\u001c$\u0013E\r>K*7\"\b^\u0016{H\u0000?\u0019T\u0017(Q\u001c7ZA\u000b7Q\u0011)ZX\n8T\u00074\u001f\u0011\u00024JR\u0017/x {\u001f\u000e\u0017>\u000eX\u0010\"h\u0000?\fX\u0000>J\u001b\"?\u0016X\u0007\"\u0018\u001c?\u000e\u0011\u00024M\u001c4ZW\u000b)\u00185\u00053uD|";
      int var4 = "7\"\b^\u0016{L\u00001\u0014B\b:L\u001b>\u001d\u0011\u0005(K\u0017\"\u000eX\u000b5\u0002R\u0002U~*7\"\b^\u0016{H\u0000?\u0019T\u0017(Q\u001c7ZA\u000b7Q\u0011)ZX\n8T\u00074\u001f\u0011\u00024JR\u0017/x {\u001f>3\"\u001dD\t>V\u0006p\u001c^\u0016{x<?\u000e\u007f\u00117TR \u001bC\u00056]\u00065\b\u0011C~KUp\u0015WD~K\\u\t\u0011\t.K\u0006p\u0014^\u0010{Z\u0017p\u0014D\b7\u0002U~ Up\rY\u00015\u0018\u00118\u001fR\u000f2V\u0015p\u0013WD+W\u0001$ZC\u000b.L\u001b>\u001d\u001f\u00127>\u000eX\u0010\"\u0018\u001c?\u000e\u0011\u00024M\u001c4@\u0011\u0015\u0002\"\u0015G\r?]<5\u001fU\u0001?}\u001c$\u0013E\r>K*7\"\b^\u0016{H\u0000?\u0019T\u0017(Q\u001c7ZA\u000b7Q\u0011)ZX\n8T\u00074\u001f\u0011\u00024JR\u0017/x {\u001f\u000e\u0017>\u000eX\u0010\"h\u0000?\fX\u0000>J\u001b\"?\u0016X\u0007\"\u0018\u001c?\u000e\u0011\u00024M\u001c4ZW\u000b)\u00185\u00053uD|"
         .length();
      char var1 = 29;
      int var7 = -1;

      label24:
      while (true) {
         byte var10000 = 86;
         String var10001 = var2.substring(++var7, var7 + var1);
         byte var10002 = -1;

         while (true) {
            String var8 = a(var10000, a(var10001));
            switch (var10002) {
               case 0:
                  var5[var3++] = var8;
                  if ((var7 += var1) >= var4) {
                     b = var5;
                     a = Logger.getLogger(PolicyUtil.class.getName());
                     return;
                  }

                  var1 = var2.charAt(var7);
                  break;
               default:
                  var5[var3++] = var8;
                  if ((var7 += var1) < var4) {
                     var1 = var2.charAt(var7);
                     continue label24;
                  }

                  var2 = "q_w~h\f,wSr~tT4{Sc~TT4{Sc\u0004pR4\nw^n8pB\raUh";
                  var4 = "q_w~h\f,wSr~tT4{Sc~TT4{Sc\u0004pR4\nw^n8pB\raUh".length();
                  var1 = 28;
                  var7 = -1;
            }

            var10000 = 54;
            var10001 = var2.substring(++var7, var7 + var1);
            var10002 = 0;
         }
      }
   }

   private static Exception a(Exception var0) {
      return var0;
   }

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 110);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 36;
            case 1 -> 6;
            case 2 -> 44;
            case 3 -> 103;
            case 4 -> 50;
            case 5 -> 13;
            default -> 110;
         });
      }

      return new String(var10001).intern();
   }
}
