package com.l7tech.security.prov.ncipher;

import com.l7tech.security.prov.GcmCipher;
import com.l7tech.security.prov.JceProvider;
import com.ncipher.km.nfkm.Module;
import com.ncipher.km.nfkm.SecurityWorld;
import com.ncipher.nfast.NFException;
import com.ncipher.provider.km.nCipherKM;
import java.security.InvalidAlgorithmParameterException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.Provider;
import java.security.spec.AlgorithmParameterSpec;
import java.util.Arrays;
import java.util.logging.Logger;
import javax.crypto.Cipher;
import javax.crypto.NoSuchPaddingException;
import javax.crypto.spec.IvParameterSpec;
import org.jetbrains.annotations.NotNull;

public class NcipherJceProviderEngine extends JceProvider {
   private static final int f = -1;
   final Provider g;
   final Provider h;
   final Provider i;
   final long j;
   private static final Logger k;
   private static final byte[] l;
   private static final String[] n;

   public NcipherJceProviderEngine() {
      // $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:
      // 000: aload 0
      // 001: invokespecial com/l7tech/security/prov/JceProvider.<init> ()V
      // 004: aconst_null
      // 005: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 008: astore 4
      // 00a: aload 4
      // 00c: bipush 3
      // 00d: aaload
      // 00e: invokestatic com/l7tech/util/SyspropUtil.getProperty (Ljava/lang/String;)Ljava/lang/String;
      // 011: if_acmpne 021
      // 014: aload 4
      // 016: bipush 17
      // 018: aaload
      // 019: aload 4
      // 01b: bipush 31
      // 01d: aaload
      // 01e: invokestatic com/l7tech/util/SyspropUtil.setProperty (Ljava/lang/String;Ljava/lang/String;)V
      // 021: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 024: astore 4
      // 026: aload 4
      // 028: bipush 27
      // 02a: aaload
      // 02b: bipush -1
      // 02c: invokestatic com/l7tech/util/ConfigFactory.getIntProperty (Ljava/lang/String;I)I
      // 02f: istore 1
      // 030: iload 1
      // 031: bipush -1
      // 032: if_icmpne 0b8
      // 035: aload 4
      // 037: bipush 20
      // 039: aaload
      // 03a: aload 4
      // 03c: bipush 18
      // 03e: aaload
      // 03f: aload 4
      // 041: bipush 32
      // 043: aaload
      // 044: invokestatic com/l7tech/util/ConfigFactory.getProperty (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      // 047: invokevirtual java/lang/String.equalsIgnoreCase (Ljava/lang/String;)Z
      // 04a: istore 2
      // 04b: aload 4
      // 04d: bipush 21
      // 04f: aaload
      // 050: invokestatic java/security/Security.getProvider (Ljava/lang/String;)Ljava/security/Provider;
      // 053: astore 3
      // 054: aconst_null
      // 055: aload 3
      // 056: if_acmpne 08a
      // 059: aload 0
      // 05a: new com/ncipher/provider/km/nCipherKM
      // 05d: dup
      // 05e: invokespecial com/ncipher/provider/km/nCipherKM.<init> ()V
      // 061: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 064: iload 2
      // 065: ifeq 07f
      // 068: goto 06f
      // 06b: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 06e: athrow
      // 06f: aload 0
      // 070: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 073: bipush 1
      // 074: invokestatic java/security/Security.insertProviderAt (Ljava/security/Provider;I)I
      // 077: pop
      // 078: goto 0b5
      // 07b: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 07e: athrow
      // 07f: aload 0
      // 080: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 083: invokestatic java/security/Security.addProvider (Ljava/security/Provider;)I
      // 086: pop
      // 087: goto 0b5
      // 08a: iload 2
      // 08b: ifeq 0b0
      // 08e: aload 0
      // 08f: new com/ncipher/provider/km/nCipherKM
      // 092: dup
      // 093: invokespecial com/ncipher/provider/km/nCipherKM.<init> ()V
      // 096: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 099: aload 3
      // 09a: invokevirtual java/security/Provider.getName ()Ljava/lang/String;
      // 09d: invokestatic java/security/Security.removeProvider (Ljava/lang/String;)V
      // 0a0: aload 0
      // 0a1: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 0a4: bipush 1
      // 0a5: invokestatic java/security/Security.insertProviderAt (Ljava/security/Provider;I)I
      // 0a8: pop
      // 0a9: goto 0b5
      // 0ac: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0af: athrow
      // 0b0: aload 0
      // 0b1: aload 3
      // 0b2: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 0b5: goto 144
      // 0b8: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.k Ljava/util/logging/Logger;
      // 0bb: getstatic java/util/logging/Level.FINE Ljava/util/logging/Level;
      // 0be: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 0c1: astore 4
      // 0c3: aload 4
      // 0c5: bipush 2
      // 0c6: aaload
      // 0c7: iload 1
      // 0c8: invokestatic java/lang/Integer.valueOf (I)Ljava/lang/Integer;
      // 0cb: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
      // 0ce: aload 4
      // 0d0: bipush 1
      // 0d1: aaload
      // 0d2: invokestatic java/security/Security.getProvider (Ljava/lang/String;)Ljava/security/Provider;
      // 0d5: astore 2
      // 0d6: aconst_null
      // 0d7: aload 2
      // 0d8: if_acmpne 104
      // 0db: aload 0
      // 0dc: new com/ncipher/provider/km/nCipherKM
      // 0df: dup
      // 0e0: invokespecial com/ncipher/provider/km/nCipherKM.<init> ()V
      // 0e3: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 0e6: aload 0
      // 0e7: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 0ea: iload 1
      // 0eb: invokestatic java/security/Security.insertProviderAt (Ljava/security/Provider;I)I
      // 0ee: istore 3
      // 0ef: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.k Ljava/util/logging/Logger;
      // 0f2: getstatic java/util/logging/Level.INFO Ljava/util/logging/Level;
      // 0f5: aload 4
      // 0f7: bipush 9
      // 0f9: aaload
      // 0fa: iload 3
      // 0fb: invokestatic java/lang/Integer.valueOf (I)Ljava/lang/Integer;
      // 0fe: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
      // 101: goto 144
      // 104: aload 0
      // 105: new com/ncipher/provider/km/nCipherKM
      // 108: dup
      // 109: invokespecial com/ncipher/provider/km/nCipherKM.<init> ()V
      // 10c: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 10f: aload 2
      // 110: invokevirtual java/security/Provider.getName ()Ljava/lang/String;
      // 113: invokestatic java/security/Security.removeProvider (Ljava/lang/String;)V
      // 116: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.k Ljava/util/logging/Logger;
      // 119: getstatic java/util/logging/Level.INFO Ljava/util/logging/Level;
      // 11c: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 11f: astore 4
      // 121: aload 4
      // 123: bipush 19
      // 125: aaload
      // 126: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;)V
      // 129: aload 0
      // 12a: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 12d: iload 1
      // 12e: invokestatic java/security/Security.insertProviderAt (Ljava/security/Provider;I)I
      // 131: istore 3
      // 132: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.k Ljava/util/logging/Logger;
      // 135: getstatic java/util/logging/Level.INFO Ljava/util/logging/Level;
      // 138: aload 4
      // 13a: bipush 15
      // 13c: aaload
      // 13d: iload 3
      // 13e: invokestatic java/lang/Integer.valueOf (I)Ljava/lang/Integer;
      // 141: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
      // 144: aload 0
      // 145: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 148: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 14b: astore 4
      // 14d: aload 4
      // 14f: bipush 14
      // 151: aaload
      // 152: invokevirtual java/security/Provider.remove (Ljava/lang/Object;)Ljava/lang/Object;
      // 155: pop
      // 156: aload 0
      // 157: aload 4
      // 159: bipush 7
      // 15b: aaload
      // 15c: invokestatic java/security/Security.getProvider (Ljava/lang/String;)Ljava/security/Provider;
      // 15f: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.h Ljava/security/Provider;
      // 162: aload 0
      // 163: aload 4
      // 165: bipush 22
      // 167: aaload
      // 168: invokestatic java/security/Security.getProvider (Ljava/lang/String;)Ljava/security/Provider;
      // 16b: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.i Ljava/security/Provider;
      // 16e: aload 0
      // 16f: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.a ()J
      // 172: putfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.j J
      // 175: goto 192
      // 178: astore 2
      // 179: new java/lang/RuntimeException
      // 17c: dup
      // 17d: aload 2
      // 17e: invokestatic com/l7tech/util/ExceptionUtils.getMessage (Ljava/lang/Throwable;)Ljava/lang/String;
      // 181: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 184: bipush 12
      // 186: aaload
      // 187: swap
      // 188: 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" ]
      // 18d: aload 2
      // 18e: invokespecial java/lang/RuntimeException.<init> (Ljava/lang/String;Ljava/lang/Throwable;)V
      // 191: athrow
      // 192: return
      // try (71 -> 87): 87 com/ncipher/nfast/NFException
      // try (48 -> 64): 64 com/ncipher/nfast/NFException
      // try (45 -> 55): 56 com/ncipher/nfast/NFException
      // try (180 -> 183): 184 com/ncipher/nfast/NFException
   }

   @Override
   public GcmCipher getAesGcmCipherWrapper() throws NoSuchProviderException, NoSuchAlgorithmException, NoSuchPaddingException {
      return new a(this.j);
   }

   @Override
   public AlgorithmParameterSpec generateAesGcmParameterSpec(int var1, @NotNull byte[] var2) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException {
      try {
         if (var2 == null) {
            b(0);
         }
      } catch (InvalidAlgorithmParameterException var4) {
         throw b(var4);
      }

      try {
         if (var1 != 16) {
            throw new InvalidAlgorithmParameterException(n[6]);
         }
      } catch (InvalidAlgorithmParameterException var6) {
         throw b(var6);
      }

      try {
         if (var2.length != 12) {
            throw new InvalidAlgorithmParameterException(n[13]);
         }
      } catch (InvalidAlgorithmParameterException var3) {
         throw b(var3);
      }

      try {
         if (Arrays.equals(l, var2)) {
            throw new InvalidAlgorithmParameterException(n[8]);
         }
      } catch (InvalidAlgorithmParameterException var5) {
         throw b(var5);
      }

      return new IvParameterSpec(var2);
   }

   @Override
   public String getDisplayName() {
      return this.g.getName();
   }

   @Override
   public String getRsaNoPaddingCipherName() {
      return n[26];
   }

   @Override
   protected String getRsaOaepPaddingCipherName() {
      return n[25];
   }

   @Override
   protected String getRsaPkcs1PaddingCipherName() {
      return n[0];
   }

   @Override
   public Cipher getRsaPkcs1PaddingCipher() throws NoSuchProviderException, NoSuchAlgorithmException, NoSuchPaddingException {
      try {
         try {
            if (nCipherKM.getSW().isStrictFips140()) {
               throw new NoSuchPaddingException(n[10]);
            }
         } catch (NoSuchProviderException var2) {
            throw b(var2);
         }
      } catch (NFException var3) {
         k.warning(var3.getLocalizedMessage());
         throw new RuntimeException(var3);
      }

      return super.getRsaPkcs1PaddingCipher();
   }

   @Override
   public Provider getProviderFor(String 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 1
      // 01: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 04: bipush 33
      // 06: aaload
      // 07: invokevirtual java/lang/String.startsWith (Ljava/lang/String;)Z
      // 0a: ifeq 16
      // 0d: aload 0
      // 0e: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.h Ljava/security/Provider;
      // 11: areturn
      // 12: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 15: athrow
      // 16: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 19: bipush 23
      // 1b: aaload
      // 1c: aload 1
      // 1d: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 20: ifeq 2c
      // 23: aload 0
      // 24: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.i Ljava/security/Provider;
      // 27: areturn
      // 28: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2b: athrow
      // 2c: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 2f: bipush 11
      // 31: aaload
      // 32: aload 1
      // 33: invokevirtual java/lang/String.equals (Ljava/lang/Object;)Z
      // 36: ifne 4d
      // 39: aload 1
      // 3a: getstatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.n [Ljava/lang/String;
      // 3d: bipush 16
      // 3f: aaload
      // 40: invokevirtual java/lang/String.startsWith (Ljava/lang/String;)Z
      // 43: ifeq 56
      // 46: goto 4d
      // 49: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 4c: athrow
      // 4d: aload 0
      // 4e: getfield com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.g Ljava/security/Provider;
      // 51: areturn
      // 52: invokestatic com/l7tech/security/prov/ncipher/NcipherJceProviderEngine.b (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 55: athrow
      // 56: aconst_null
      // 57: areturn
      // try (0 -> 9): 9 java/lang/RuntimeException
      // try (11 -> 20): 20 java/lang/RuntimeException
      // try (22 -> 34): 35 java/lang/RuntimeException
      // try (28 -> 40): 40 java/lang/RuntimeException
   }

   private static long a() throws NFException {
      SecurityWorld var0 = nCipherKM.getSW();
      Module[] var1 = var0.getModules();

      try {
         if (var1 == null) {
            throw new NFException(n[28]);
         }
      } catch (NFException var7) {
         throw b(var7);
      }

      for (Module var5 : var1) {
         try {
            if (var5.isUsable()) {
               return var5.getID().value;
            }
         } catch (NFException var6) {
            throw b(var6);
         }
      }

      throw new NFException(n[30]);
   }

   static {
      String[] var5 = new String[34];
      int var3 = 0;
      String var2 = "\u0012\u000ejJD& o\r`&RT2!9O\fo\u0002\t.\u001eB\u0015i\u0000\u0010\u000b\u0010..\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}[\nr\f\u0016)2EEs\u0000\u001358X\u0011d\u0001X`&\u001b\u0018\u00070/D\u0011d\u0006\u0016\u0002)+9#2FJmR\u0016%>CJr\u0000\u00015/B\u0011xJ\u001222]Jo\u0006\u000b05N\u0017.+\u0001)-C\u0000s/\u0001%\rY\nw\f\u0006%/n\u000bf\f\f%D\u0007\u001efE`\u0010\u0016(}_\u0004fE\u000e%3L\u0011iE\u000f5._Ec\u0000Bqk\u000b\u0007x\u0011\u00073}\\\rd\u000bB5.B\u000bfE\u0016(4XEb\u0017\u001b0)DEq\u0017\r64O\u0000s\u0003\u0013\be\u001e\u0007\u001efEH3B).\u000b\u0000o\u0011\u000b28G\u001c!\u001f\u000722\u000b\nb\u0011\u00074.0.\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}B\u000br\u0000\u001048OE`\u0011B02X\fu\f\r.g\u000b\u001e1\u0018m\u0010\u0016h6Q\u0004\u0006$4E\u0002!\f\u0011`9N\u0015s\u0000\u0001!)N\u0001!\f\f`3h\fq\r\u00072}[\u0017n\u0013\u000b$8YEv\r\u0007.}^\u0016d\u0001B74_\r!#+\u0010\u000e\u000b)d\u0013\u0007,}\u0018K!0\u0011%}y6@*#\u0005\r{\u0004e\u0001\u000b.:\u000b\u0006h\u0015\n%/\u000b\fo\u0016\u0016%<OK \u00134L\u000b`\u0011\u001728\u0005+N+'74_\rS6#n-Y\fw\u0004\u0016%\u0016N\u001c4\u00153J\u0007m\u0000B42\u000b\u0003h\u000b\u0006`(X\u0004c\t\u0007`3h\fq\r\u00072}F\ne\u0010\u000e%}_\n!\u0006\r.3N\u0006uE\u0016/g\u000b$\u0007\u001efEH3B-(X\u0011!\u0007\u0007`8S\u0004b\u0011\u000e9}\u001aW!\u0007\u001b48XEm\n\f'\f\u000b8R6u\n\u0010%sa.R0.\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}B\u000br\u0000\u001048OE`\u0011B02X\fu\f\r.g\u000b\u001e1\u0018\u0014\u000b8R5`\f\u0010\u00078E\u0000s\u0004\u0016//\u00057R$\u00070/D\u0011d\u0006\u0016\u001d#2FKmR\u0016%>CKo\u0006\u000b05N\u0017/\u0015\u0010%;N\u0017d\u000b\u0001%'\u0005%B\u0016u\f\f'}E&h\u0015\n%/`(!/!\u0005}{\u0017n\u0013\u000b$8YEs\u0000\u000f/+N\u0001\u0007(4L\rd\u0016\u0016\t.\u001eB\u0015i\u0000\u0010\u000b\u0010\u0006\u0013(E/B &\u000b8R5`\f\u0010\u00078E\u0000s\u0004\u0016//\u0005!h\u0003\u0004)8c\u0000m\t\u000f!3x\ng\u0011\u0015!/N>\u0001/L\u0010l\u0000\f4}M\nsE\"\u000e2_+t\t\u000e`-J\u0017`\b\u000748YE&@\u0011g}D\u0003!@\u0011nxXEl\u0010\u00114}E\nuE\u0000%}E\u0010m\t$\u0012\u000ejJD& o\u0012j Q2+\u0014\u0015x-@WWv\u001ce!L\"$q\rj!E,,\u0007\u0011\u0012\u000ejJD& o\u0013D5`\u0001\u0006)3L\u001b#2FKmR\u0016%>CKo\u0006\u000b05N\u0017/\u0015\r34_\fn\u000b%\u000e2\u000b\u0010r\u0004\u0000,8\u000b\u000bB\f\u0012(8YEl\n\u000651NEh\u0016B#2E\u000bd\u0006\u0016%9\u001b'8E\u0000s\u0004\u0016%\u001cN\u0016F\u0006\u000f\u0010<Y\u0004l\u0000\u0016%/x\u0015d\u0006%\u000e2\u000b\u0010r\u0004\u0000,8\u000b\u000bB\f\u0012(8YEl\n\u000651NEh\u0016B#2E\u000bd\u0006\u0016%9\u0006-2O\u0010m\u0000";
      int var4 = "\u0012\u000ejJD& o\r`&RT2!9O\fo\u0002\t.\u001eB\u0015i\u0000\u0010\u000b\u0010..\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}[\nr\f\u0016)2EEs\u0000\u001358X\u0011d\u0001X`&\u001b\u0018\u00070/D\u0011d\u0006\u0016\u0002)+9#2FJmR\u0016%>CJr\u0000\u00015/B\u0011xJ\u001222]Jo\u0006\u000b05N\u0017.+\u0001)-C\u0000s/\u0001%\rY\nw\f\u0006%/n\u000bf\f\f%D\u0007\u001efE`\u0010\u0016(}_\u0004fE\u000e%3L\u0011iE\u000f5._Ec\u0000Bqk\u000b\u0007x\u0011\u00073}\\\rd\u000bB5.B\u000bfE\u0016(4XEb\u0017\u001b0)DEq\u0017\r64O\u0000s\u0003\u0013\be\u001e\u0007\u001efEH3B).\u000b\u0000o\u0011\u000b28G\u001c!\u001f\u000722\u000b\nb\u0011\u00074.0.\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}B\u000br\u0000\u001048OE`\u0011B02X\fu\f\r.g\u000b\u001e1\u0018m\u0010\u0016h6Q\u0004\u0006$4E\u0002!\f\u0011`9N\u0015s\u0000\u0001!)N\u0001!\f\f`3h\fq\r\u00072}[\u0017n\u0013\u000b$8YEv\r\u0007.}^\u0016d\u0001B74_\r!#+\u0010\u000e\u000b)d\u0013\u0007,}\u0018K!0\u0011%}y6@*#\u0005\r{\u0004e\u0001\u000b.:\u000b\u0006h\u0015\n%/\u000b\fo\u0016\u0016%<OK \u00134L\u000b`\u0011\u001728\u0005+N+'74_\rS6#n-Y\fw\u0004\u0016%\u0016N\u001c4\u00153J\u0007m\u0000B42\u000b\u0003h\u000b\u0006`(X\u0004c\t\u0007`3h\fq\r\u00072}F\ne\u0010\u000e%}_\n!\u0006\r.3N\u0006uE\u0016/g\u000b$\u0007\u001efEH3B-(X\u0011!\u0007\u0007`8S\u0004b\u0011\u000e9}\u001aW!\u0007\u001b48XEm\n\f'\f\u000b8R6u\n\u0010%sa.R0.\u001eB\u0015i\u0000\u0010\u000b\u0010\u000b/B B\u0010/D\u0013h\u0001\u00072}B\u000br\u0000\u001048OE`\u0011B02X\fu\f\r.g\u000b\u001e1\u0018\u0014\u000b8R5`\f\u0010\u00078E\u0000s\u0004\u0016//\u00057R$\u00070/D\u0011d\u0006\u0016\u001d#2FKmR\u0016%>CKo\u0006\u000b05N\u0017/\u0015\u0010%;N\u0017d\u000b\u0001%'\u0005%B\u0016u\f\f'}E&h\u0015\n%/`(!/!\u0005}{\u0017n\u0013\u000b$8YEs\u0000\u000f/+N\u0001\u0007(4L\rd\u0016\u0016\t.\u001eB\u0015i\u0000\u0010\u000b\u0010\u0006\u0013(E/B &\u000b8R5`\f\u0010\u00078E\u0000s\u0004\u0016//\u0005!h\u0003\u0004)8c\u0000m\t\u000f!3x\ng\u0011\u0015!/N>\u0001/L\u0010l\u0000\f4}M\nsE\"\u000e2_+t\t\u000e`-J\u0017`\b\u000748YE&@\u0011g}D\u0003!@\u0011nxXEl\u0010\u00114}E\nuE\u0000%}E\u0010m\t$\u0012\u000ejJD& o\u0012j Q2+\u0014\u0015x-@WWv\u001ce!L\"$q\rj!E,,\u0007\u0011\u0012\u000ejJD& o\u0013D5`\u0001\u0006)3L\u001b#2FKmR\u0016%>CKo\u0006\u000b05N\u0017/\u0015\r34_\fn\u000b%\u000e2\u000b\u0010r\u0004\u0000,8\u000b\u000bB\f\u0012(8YEl\n\u000651NEh\u0016B#2E\u000bd\u0006\u0016%9\u001b'8E\u0000s\u0004\u0016%\u001cN\u0016F\u0006\u000f\u0010<Y\u0004l\u0000\u0016%/x\u0015d\u0006%\u000e2\u000b\u0010r\u0004\u0000,8\u000b\u000bB\f\u0012(8YEl\n\u000651NEh\u0016B#2E\u000bd\u0006\u0016%9\u0006-2O\u0010m\u0000"
         .length();
      char var1 = 20;
      int var7 = -1;

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

         while (true) {
            String var8 = b(var10000, c(var10001));
            switch (var10002) {
               case 0:
                  var5[var3++] = var8;
                  if ((var7 += var1) >= var4) {
                     n = var5;
                     k = Logger.getLogger(NcipherJceProviderEngine.class.getName());
                     l = new byte[12];
                     return;
                  }

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

                  var2 = "fz\u000fF6KT\u000eOz\u001aT\"@EFv\u000eB0S\u000e";
                  var4 = "fz\u000fF6KT\u000eOz\u001aT\"@EFv\u000eB0S\u000e".length();
                  var1 = 7;
                  var7 = -1;
            }

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

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

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

      return var10000;
   }

   private static String b(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 -> 99;
            case 1 -> 126;
            case 2 -> 8;
            case 3 -> 70;
            case 4 -> 34;
            case 5 -> 70;
            default -> 65;
         });
      }

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