package com.l7tech.common.http;

import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.nio.charset.UnsupportedCharsetException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public abstract class GenericHttpResponse implements Closeable, GenericHttpResponseParams {
   private static final Pattern a;
   private static final String[] d;

   public abstract InputStream getInputStream() throws GenericHttpException;

   public String getAsString(boolean param1, int param2) throws IOException {
      // $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: invokevirtual com/l7tech/common/http/GenericHttpResponse.getStatus ()I
      // 04: sipush 200
      // 07: if_icmpeq 25
      // 0a: new java/io/IOException
      // 0d: dup
      // 0e: aload 0
      // 0f: invokevirtual com/l7tech/common/http/GenericHttpResponse.getStatus ()I
      // 12: getstatic com/l7tech/common/http/GenericHttpResponse.d [Ljava/lang/String;
      // 15: bipush 3
      // 16: aaload
      // 17: swap
      // 18: invokedynamic makeConcatWithConstants (Ljava/lang/String;I)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" ]
      // 1d: invokespecial java/io/IOException.<init> (Ljava/lang/String;)V
      // 20: athrow
      // 21: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 24: athrow
      // 25: aload 0
      // 26: invokevirtual com/l7tech/common/http/GenericHttpResponse.getInputStream ()Ljava/io/InputStream;
      // 29: astore 4
      // 2b: new com/l7tech/common/io/ByteLimitInputStream
      // 2e: dup
      // 2f: aload 4
      // 31: sipush 1024
      // 34: iload 2
      // 35: i2l
      // 36: invokespecial com/l7tech/common/io/ByteLimitInputStream.<init> (Ljava/io/InputStream;IJ)V
      // 39: invokestatic com/l7tech/util/IOUtils.slurpStream (Ljava/io/InputStream;)[B
      // 3c: astore 3
      // 3d: aload 4
      // 3f: ifnull 69
      // 42: aload 4
      // 44: invokevirtual java/io/InputStream.close ()V
      // 47: goto 69
      // 4a: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 4d: athrow
      // 4e: astore 5
      // 50: aload 4
      // 52: ifnull 66
      // 55: aload 4
      // 57: invokevirtual java/io/InputStream.close ()V
      // 5a: goto 66
      // 5d: astore 6
      // 5f: aload 5
      // 61: aload 6
      // 63: invokevirtual java/lang/Throwable.addSuppressed (Ljava/lang/Throwable;)V
      // 66: aload 5
      // 68: athrow
      // 69: aload 0
      // 6a: invokevirtual com/l7tech/common/http/GenericHttpResponse.getContentType ()Lcom/l7tech/common/mime/ContentTypeHeader;
      // 6d: astore 4
      // 6f: iload 1
      // 70: ifeq c2
      // 73: aload 3
      // 74: invokestatic com/l7tech/common/http/GenericHttpResponse.getXmlEncoding ([B)Lcom/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult;
      // 77: astore 5
      // 79: aload 5
      // 7b: getfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 7e: ifnonnull a7
      // 81: aload 5
      // 83: aload 4
      // 85: ifnonnull 99
      // 88: goto 8f
      // 8b: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 8e: athrow
      // 8f: getstatic com/l7tech/common/mime/ContentTypeHeader.DEFAULT_HTTP_ENCODING Ljava/nio/charset/Charset;
      // 92: goto 9e
      // 95: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 98: athrow
      // 99: aload 4
      // 9b: invokevirtual com/l7tech/common/mime/ContentTypeHeader.getEncoding ()Ljava/nio/charset/Charset;
      // 9e: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // a1: aload 5
      // a3: bipush 0
      // a4: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.bytesToSkip I
      // a7: new java/lang/String
      // aa: dup
      // ab: aload 3
      // ac: aload 5
      // ae: getfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.bytesToSkip I
      // b1: aload 3
      // b2: arraylength
      // b3: aload 5
      // b5: getfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.bytesToSkip I
      // b8: isub
      // b9: aload 5
      // bb: getfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // be: invokespecial java/lang/String.<init> ([BIILjava/nio/charset/Charset;)V
      // c1: areturn
      // c2: aload 4
      // c4: ifnonnull d1
      // c7: getstatic com/l7tech/common/mime/ContentTypeHeader.DEFAULT_HTTP_ENCODING Ljava/nio/charset/Charset;
      // ca: goto d6
      // cd: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // d0: athrow
      // d1: aload 4
      // d3: invokevirtual com/l7tech/common/mime/ContentTypeHeader.getEncoding ()Ljava/nio/charset/Charset;
      // d6: astore 5
      // d8: new java/lang/String
      // db: dup
      // dc: aload 3
      // dd: aload 5
      // df: invokespecial java/lang/String.<init> ([BLjava/nio/charset/Charset;)V
      // e2: areturn
      // try (0 -> 15): 15 java/lang/Throwable
      // try (20 -> 29): 36 java/lang/Throwable
      // try (29 -> 34): 34 java/lang/Throwable
      // try (39 -> 41): 42 java/lang/Throwable
      // try (56 -> 62): 63 java/lang/Throwable
      // try (59 -> 67): 67 java/lang/Throwable
      // try (89 -> 93): 93 java/lang/Throwable
   }

   protected static GenericHttpResponse.GuessedEncodingResult getXmlEncoding(byte[] param0) {
      // $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: new com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult
      // 003: dup
      // 004: invokespecial com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.<init> ()V
      // 007: astore 1
      // 008: aload 0
      // 009: arraylength
      // 00a: bipush 4
      // 00b: if_icmpge 014
      // 00e: aload 1
      // 00f: areturn
      // 010: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 013: athrow
      // 014: aload 0
      // 015: bipush 0
      // 016: baload
      // 017: ifne 079
      // 01a: aload 0
      // 01b: bipush 1
      // 01c: baload
      // 01d: ifne 079
      // 020: goto 027
      // 023: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 026: athrow
      // 027: aload 0
      // 028: bipush 2
      // 029: baload
      // 02a: bipush -2
      // 02c: if_icmpne 052
      // 02f: goto 036
      // 032: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 035: athrow
      // 036: aload 0
      // 037: bipush 3
      // 038: baload
      // 039: bipush -1
      // 03a: if_icmpne 052
      // 03d: goto 044
      // 040: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 043: athrow
      // 044: aload 1
      // 045: getstatic com/l7tech/util/Charsets.UTF32BE Ljava/nio/charset/Charset;
      // 048: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 04b: goto 273
      // 04e: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 051: athrow
      // 052: aload 0
      // 053: bipush 2
      // 054: baload
      // 055: ifne 273
      // 058: aload 0
      // 059: bipush 3
      // 05a: baload
      // 05b: bipush 60
      // 05d: if_icmpne 273
      // 060: goto 067
      // 063: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 066: athrow
      // 067: aload 1
      // 068: aload 0
      // 069: getstatic com/l7tech/util/Charsets.UTF32BE Ljava/nio/charset/Charset;
      // 06c: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 06f: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 072: goto 273
      // 075: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 078: athrow
      // 079: aload 0
      // 07a: bipush 0
      // 07b: baload
      // 07c: bipush -1
      // 07d: if_icmpne 0c1
      // 080: aload 0
      // 081: bipush 1
      // 082: baload
      // 083: bipush -2
      // 085: if_icmpne 0c1
      // 088: goto 08f
      // 08b: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 08e: athrow
      // 08f: aload 0
      // 090: bipush 2
      // 091: baload
      // 092: ifne 0b7
      // 095: goto 09c
      // 098: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 09b: athrow
      // 09c: aload 0
      // 09d: bipush 3
      // 09e: baload
      // 09f: ifne 0b7
      // 0a2: goto 0a9
      // 0a5: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 0a8: athrow
      // 0a9: aload 1
      // 0aa: getstatic com/l7tech/util/Charsets.UTF32LE Ljava/nio/charset/Charset;
      // 0ad: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 0b0: goto 273
      // 0b3: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 0b6: athrow
      // 0b7: aload 1
      // 0b8: getstatic com/l7tech/util/Charsets.X_UTF16LE_BOM Ljava/nio/charset/Charset;
      // 0bb: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 0be: goto 273
      // 0c1: aload 0
      // 0c2: bipush 0
      // 0c3: baload
      // 0c4: bipush -2
      // 0c6: if_icmpne 0ea
      // 0c9: aload 0
      // 0ca: bipush 1
      // 0cb: baload
      // 0cc: bipush -1
      // 0cd: if_icmpne 0ea
      // 0d0: goto 0d7
      // 0d3: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 0d6: athrow
      // 0d7: aload 1
      // 0d8: getstatic com/l7tech/util/Charsets.UTF16BE Ljava/nio/charset/Charset;
      // 0db: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 0de: aload 1
      // 0df: bipush 2
      // 0e0: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.bytesToSkip I
      // 0e3: goto 273
      // 0e6: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 0e9: athrow
      // 0ea: aload 0
      // 0eb: bipush 0
      // 0ec: baload
      // 0ed: bipush -17
      // 0ef: if_icmpne 123
      // 0f2: aload 0
      // 0f3: bipush 1
      // 0f4: baload
      // 0f5: bipush -69
      // 0f7: if_icmpne 123
      // 0fa: goto 101
      // 0fd: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 100: athrow
      // 101: aload 0
      // 102: bipush 2
      // 103: baload
      // 104: bipush -65
      // 106: if_icmpne 123
      // 109: goto 110
      // 10c: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 10f: athrow
      // 110: aload 1
      // 111: getstatic com/l7tech/util/Charsets.UTF8 Ljava/nio/charset/Charset;
      // 114: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 117: aload 1
      // 118: bipush 3
      // 119: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.bytesToSkip I
      // 11c: goto 273
      // 11f: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 122: athrow
      // 123: aload 0
      // 124: bipush 0
      // 125: baload
      // 126: bipush 60
      // 128: if_icmpne 18b
      // 12b: aload 0
      // 12c: bipush 1
      // 12d: baload
      // 12e: ifne 18b
      // 131: goto 138
      // 134: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 137: athrow
      // 138: aload 0
      // 139: bipush 2
      // 13a: baload
      // 13b: ifne 164
      // 13e: goto 145
      // 141: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 144: athrow
      // 145: aload 0
      // 146: bipush 3
      // 147: baload
      // 148: ifne 164
      // 14b: goto 152
      // 14e: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 151: athrow
      // 152: aload 1
      // 153: aload 0
      // 154: getstatic com/l7tech/util/Charsets.UTF32LE Ljava/nio/charset/Charset;
      // 157: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 15a: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 15d: goto 273
      // 160: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 163: athrow
      // 164: aload 0
      // 165: bipush 2
      // 166: baload
      // 167: bipush 63
      // 169: if_icmpne 273
      // 16c: aload 0
      // 16d: bipush 3
      // 16e: baload
      // 16f: ifne 273
      // 172: goto 179
      // 175: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 178: athrow
      // 179: aload 1
      // 17a: aload 0
      // 17b: getstatic com/l7tech/util/Charsets.UTF16LE Ljava/nio/charset/Charset;
      // 17e: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 181: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 184: goto 273
      // 187: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 18a: athrow
      // 18b: aload 0
      // 18c: bipush 0
      // 18d: baload
      // 18e: ifne 1ce
      // 191: aload 0
      // 192: bipush 1
      // 193: baload
      // 194: bipush 60
      // 196: if_icmpne 1ce
      // 199: goto 1a0
      // 19c: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 19f: athrow
      // 1a0: aload 0
      // 1a1: bipush 2
      // 1a2: baload
      // 1a3: ifne 1ce
      // 1a6: goto 1ad
      // 1a9: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 1ac: athrow
      // 1ad: aload 0
      // 1ae: bipush 3
      // 1af: baload
      // 1b0: bipush 63
      // 1b2: if_icmpne 1ce
      // 1b5: goto 1bc
      // 1b8: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 1bb: athrow
      // 1bc: aload 1
      // 1bd: aload 0
      // 1be: getstatic com/l7tech/util/Charsets.UTF16BE Ljava/nio/charset/Charset;
      // 1c1: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 1c4: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 1c7: goto 273
      // 1ca: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 1cd: athrow
      // 1ce: aload 0
      // 1cf: bipush 0
      // 1d0: baload
      // 1d1: bipush 60
      // 1d3: if_icmpne 215
      // 1d6: aload 0
      // 1d7: bipush 1
      // 1d8: baload
      // 1d9: bipush 63
      // 1db: if_icmpne 215
      // 1de: goto 1e5
      // 1e1: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 1e4: athrow
      // 1e5: aload 0
      // 1e6: bipush 2
      // 1e7: baload
      // 1e8: bipush 120
      // 1ea: if_icmpne 215
      // 1ed: goto 1f4
      // 1f0: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 1f3: athrow
      // 1f4: aload 0
      // 1f5: bipush 3
      // 1f6: baload
      // 1f7: bipush 109
      // 1f9: if_icmpne 215
      // 1fc: goto 203
      // 1ff: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 202: athrow
      // 203: aload 1
      // 204: aload 0
      // 205: getstatic com/l7tech/util/Charsets.UTF8 Ljava/nio/charset/Charset;
      // 208: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 20b: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 20e: goto 273
      // 211: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 214: athrow
      // 215: aload 0
      // 216: bipush 0
      // 217: baload
      // 218: bipush 76
      // 21a: if_icmpne 273
      // 21d: aload 0
      // 21e: bipush 1
      // 21f: baload
      // 220: bipush 111
      // 222: if_icmpne 273
      // 225: goto 22c
      // 228: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 22b: athrow
      // 22c: aload 0
      // 22d: bipush 2
      // 22e: baload
      // 22f: bipush -89
      // 231: if_icmpne 273
      // 234: goto 23b
      // 237: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 23a: athrow
      // 23b: aload 0
      // 23c: bipush 3
      // 23d: baload
      // 23e: bipush -108
      // 240: if_icmpne 273
      // 243: goto 24a
      // 246: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 249: athrow
      // 24a: getstatic com/l7tech/common/http/GenericHttpResponse.d [Ljava/lang/String;
      // 24d: bipush 1
      // 24e: aaload
      // 24f: invokestatic java/nio/charset/Charset.isSupported (Ljava/lang/String;)Z
      // 252: ifeq 273
      // 255: goto 25c
      // 258: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 25b: athrow
      // 25c: aload 1
      // 25d: aload 0
      // 25e: getstatic com/l7tech/common/http/GenericHttpResponse.d [Ljava/lang/String;
      // 261: bipush 2
      // 262: aaload
      // 263: invokestatic java/nio/charset/Charset.forName (Ljava/lang/String;)Ljava/nio/charset/Charset;
      // 266: invokestatic com/l7tech/common/http/GenericHttpResponse.a ([BLjava/nio/charset/Charset;)Ljava/nio/charset/Charset;
      // 269: putfield com/l7tech/common/http/GenericHttpResponse$GuessedEncodingResult.encoding Ljava/nio/charset/Charset;
      // 26c: goto 273
      // 26f: invokestatic com/l7tech/common/http/GenericHttpResponse.a (Ljava/lang/Throwable;)Ljava/lang/Throwable;
      // 272: athrow
      // 273: aload 1
      // 274: areturn
      // try (4 -> 10): 10 java/nio/charset/UnsupportedCharsetException
      // try (12 -> 20): 21 java/nio/charset/UnsupportedCharsetException
      // try (16 -> 28): 29 java/nio/charset/UnsupportedCharsetException
      // try (23 -> 36): 37 java/nio/charset/UnsupportedCharsetException
      // try (31 -> 43): 43 java/nio/charset/UnsupportedCharsetException
      // try (45 -> 54): 55 java/nio/charset/UnsupportedCharsetException
      // try (49 -> 63): 63 java/nio/charset/UnsupportedCharsetException
      // try (65 -> 75): 76 java/nio/charset/UnsupportedCharsetException
      // try (70 -> 82): 83 java/nio/charset/UnsupportedCharsetException
      // try (78 -> 89): 90 java/nio/charset/UnsupportedCharsetException
      // try (85 -> 96): 96 java/nio/charset/UnsupportedCharsetException
      // try (102 -> 112): 113 java/nio/charset/UnsupportedCharsetException
      // try (107 -> 122): 122 java/nio/charset/UnsupportedCharsetException
      // try (124 -> 134): 135 java/nio/charset/UnsupportedCharsetException
      // try (129 -> 142): 143 java/nio/charset/UnsupportedCharsetException
      // try (137 -> 152): 152 java/nio/charset/UnsupportedCharsetException
      // try (154 -> 163): 164 java/nio/charset/UnsupportedCharsetException
      // try (159 -> 170): 171 java/nio/charset/UnsupportedCharsetException
      // try (166 -> 177): 178 java/nio/charset/UnsupportedCharsetException
      // try (173 -> 186): 186 java/nio/charset/UnsupportedCharsetException
      // try (188 -> 197): 198 java/nio/charset/UnsupportedCharsetException
      // try (193 -> 206): 206 java/nio/charset/UnsupportedCharsetException
      // try (208 -> 217): 218 java/nio/charset/UnsupportedCharsetException
      // try (212 -> 224): 225 java/nio/charset/UnsupportedCharsetException
      // try (220 -> 232): 233 java/nio/charset/UnsupportedCharsetException
      // try (227 -> 241): 241 java/nio/charset/UnsupportedCharsetException
      // try (243 -> 253): 254 java/nio/charset/UnsupportedCharsetException
      // try (248 -> 261): 262 java/nio/charset/UnsupportedCharsetException
      // try (256 -> 269): 270 java/nio/charset/UnsupportedCharsetException
      // try (264 -> 278): 278 java/nio/charset/UnsupportedCharsetException
      // try (280 -> 290): 291 java/nio/charset/UnsupportedCharsetException
      // try (285 -> 298): 299 java/nio/charset/UnsupportedCharsetException
      // try (293 -> 306): 307 java/nio/charset/UnsupportedCharsetException
      // try (301 -> 314): 315 java/nio/charset/UnsupportedCharsetException
      // try (309 -> 325): 326 java/nio/charset/UnsupportedCharsetException
   }

   private static Charset a(byte[] var0, Charset var1) {
      try {
         String var10000;
         String var10001;
         byte[] var10002;
         byte var10003;
         int var10004;
         label25: {
            try {
               var10000 = new String;
               var10001 = var10000;
               var10002 = var0;
               var10003 = 0;
               if (1024 > var0.length) {
                  var10004 = var0.length;
                  break label25;
               }
            } catch (UnsupportedCharsetException var4) {
               throw a(var4);
            }

            var10004 = 1024;
         }

         var10001./* $VF: Unable to resugar constructor */<init>(var10002, var10003, var10004, var1);
         String var2 = var10000;
         Matcher var3 = a.matcher(var2);
         return var3.find() ? Charset.forName(var3.group(3)) : null;
      } catch (UnsupportedCharsetException var5) {
         return var1;
      }
   }

   @Override
   public abstract void close();

   static {
      String[] var5 = new String[4];
      int var3 = 0;
      String var2 = "w%4X\u000ej\u001bujC\u0011\u0013u\u0004@v\u0006;\u0005-JujBOX.Y\u0003EY;\u0005,\u0012Gz\u0007\u0003\u001fi\u0010ujBZ*t]\u00017AOX-H\u0000EZ;\u0005-_\u0016#4\u0014]t\u0003Hw\f\u0006\u001ah\u0019LE\u001bMK[\u0004\u00031FNX-+\u001dE\u001bM_8+\u0016'\u0006jiYWB0";
      int var4 = "w%4X\u000ej\u001bujC\u0011\u0013u\u0004@v\u0006;\u0005-JujBOX.Y\u0003EY;\u0005,\u0012Gz\u0007\u0003\u001fi\u0010ujBZ*t]\u00017AOX-H\u0000EZ;\u0005-_\u0016#4\u0014]t\u0003Hw\f\u0006\u001ah\u0019LE\u001bMK[\u0004\u00031FNX-+\u001dE\u001bM_8+\u0016'\u0006jiYWB0"
         .length();
      char var1 = 'd';
      int var7 = -1;

      label24:
      while (true) {
         byte var10000 = 45;
         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) {
                     d = var5;
                     a = Pattern.compile(d[0], 8);
                     return;
                  }

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

                  var2 = "65\u0005\u000b\u001el\u0010=\u0011`k\n(_\u00141AH\n,J\u0006e";
                  var4 = "65\u0005\u000b\u001el\u0010=\u0011`k\n(_\u00141AH\n,J\u0006e".length();
                  var1 = 6;
                  var7 = -1;
            }

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

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

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

      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 -> 4;
            case 1 -> 52;
            case 2 -> 69;
            case 3 -> 74;
            case 4 -> 91;
            case 5 -> 42;
            default -> 90;
         });
      }

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

   protected static class GuessedEncodingResult {
      public Charset encoding;
      public int bytesToSkip;
   }
}
