class org.postgresql.core.UTF8Encoding extends org.postgresql.core.Encoding
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.postgresql.core.UTF8Encoding
  super_class: org.postgresql.core.Encoding
{
  private static final int MIN_2_BYTES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 128

  private static final int MIN_3_BYTES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2048

  private static final int MIN_4_BYTES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65536

  private static final int MAX_CODE_POINT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1114111

  private char[] decoderArray;
    descriptor: [C
    flags: (0x0002) ACC_PRIVATE

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.postgresql.core.UTF8Encoding this
         0: .line 21
            aload 0 /* this */
            ldc "UTF-8"
            iconst_1
            invokespecial org.postgresql.core.Encoding.<init>:(Ljava/lang/String;Z)V
         1: .line 18
            aload 0 /* this */
            sipush 1024
            newarray 5
            putfield org.postgresql.core.UTF8Encoding.decoderArray:[C
         2: .line 22
            return
        end local 0 // org.postgresql.core.UTF8Encoding this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/postgresql/core/UTF8Encoding;

  private static void checkByte(int, int, int);
    descriptor: (III)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // int ch
        start local 1 // int pos
        start local 2 // int len
         0: .line 26
            iload 0 /* ch */
            sipush 192
            iand
            sipush 128
            if_icmpeq 6
         1: .line 27
            new java.io.IOException
            dup
         2: .line 28
            ldc "Illegal UTF-8 sequence: byte {0} of {1} byte sequence is not 10xxxxxx: {2}"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 29
            iload 1 /* pos */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 2 /* len */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 0 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 28
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 27
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 31
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int len
        end local 1 // int pos
        end local 0 // int ch
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0    ch  I
            0    7     1   pos  I
            0    7     2   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      ch    
      pos   
      len   

  private static void checkMinimal(int, int);
    descriptor: (II)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=4, args_size=2
        start local 0 // int ch
        start local 1 // int minValue
         0: .line 34
            iload 0 /* ch */
            iload 1 /* minValue */
            if_icmplt 2
         1: .line 35
            return
         2: .line 39
      StackMap locals:
      StackMap stack:
            iload 1 /* minValue */
            lookupswitch { // 3
                  128: 3
                 2048: 5
                65536: 7
              default: 9
          }
         3: .line 41
      StackMap locals:
      StackMap stack:
            iconst_2
            istore 2 /* actualLen */
        start local 2 // int actualLen
         4: .line 42
            goto 12
        end local 2 // int actualLen
         5: .line 44
      StackMap locals:
      StackMap stack:
            iconst_3
            istore 2 /* actualLen */
        start local 2 // int actualLen
         6: .line 45
            goto 12
        end local 2 // int actualLen
         7: .line 47
      StackMap locals:
      StackMap stack:
            iconst_4
            istore 2 /* actualLen */
        start local 2 // int actualLen
         8: .line 48
            goto 12
        end local 2 // int actualLen
         9: .line 50
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
        10: .line 51
            new java.lang.StringBuilder
            dup
            ldc "unexpected minValue passed to checkMinimal: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* minValue */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        11: .line 50
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        start local 2 // int actualLen
        12: .line 55
      StackMap locals: int
      StackMap stack:
            iload 0 /* ch */
            sipush 128
            if_icmpge 15
        13: .line 56
            iconst_1
            istore 3 /* expectedLen */
        start local 3 // int expectedLen
        14: .line 57
            goto 22
        end local 3 // int expectedLen
      StackMap locals:
      StackMap stack:
        15: iload 0 /* ch */
            sipush 2048
            if_icmpge 18
        16: .line 58
            iconst_2
            istore 3 /* expectedLen */
        start local 3 // int expectedLen
        17: .line 59
            goto 22
        end local 3 // int expectedLen
      StackMap locals:
      StackMap stack:
        18: iload 0 /* ch */
            ldc 65536
            if_icmpge 21
        19: .line 60
            iconst_3
            istore 3 /* expectedLen */
        start local 3 // int expectedLen
        20: .line 61
            goto 22
        end local 3 // int expectedLen
        21: .line 62
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unexpected ch passed to checkMinimal: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 0 /* ch */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        start local 3 // int expectedLen
        22: .line 65
      StackMap locals: int
      StackMap stack:
            new java.io.IOException
            dup
        23: .line 66
            ldc "Illegal UTF-8 sequence: {0} bytes used to encode a {1} byte value: {2}"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        24: .line 67
            iload 2 /* actualLen */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 3 /* expectedLen */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
            iload 0 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        25: .line 66
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        26: .line 65
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // int expectedLen
        end local 2 // int actualLen
        end local 1 // int minValue
        end local 0 // int ch
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   27     0           ch  I
            0   27     1     minValue  I
            4    5     2    actualLen  I
            6    7     2    actualLen  I
            8    9     2    actualLen  I
           12   27     2    actualLen  I
           14   15     3  expectedLen  I
           17   18     3  expectedLen  I
           20   21     3  expectedLen  I
           22   27     3  expectedLen  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      ch        
      minValue  

  public synchronized java.lang.String decode(byte[], int, int);
    descriptor: ([BII)Ljava/lang/String;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=7, locals=9, args_size=4
        start local 0 // org.postgresql.core.UTF8Encoding this
        start local 1 // byte[] data
        start local 2 // int offset
        start local 3 // int length
         0: .line 84
            aload 0 /* this */
            getfield org.postgresql.core.UTF8Encoding.decoderArray:[C
            astore 4 /* cdata */
        start local 4 // char[] cdata
         1: .line 85
            aload 4 /* cdata */
            arraylength
            iload 3 /* length */
            if_icmpge 3
         2: .line 86
            aload 0 /* this */
            iload 3 /* length */
            newarray 5
            dup_x1
            putfield org.postgresql.core.UTF8Encoding.decoderArray:[C
            astore 4 /* cdata */
         3: .line 89
      StackMap locals: char[]
      StackMap stack:
            iload 2 /* offset */
            istore 5 /* in */
        start local 5 // int in
         4: .line 90
            iconst_0
            istore 6 /* out */
        start local 6 // int out
         5: .line 91
            iload 3 /* length */
            iload 2 /* offset */
            iadd
            istore 7 /* end */
        start local 7 // int end
         6: .line 94
            goto 54
         7: .line 95
      StackMap locals: int int int
      StackMap stack:
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            sipush 255
            iand
            istore 8 /* ch */
        start local 8 // int ch
         8: .line 98
            iload 8 /* ch */
            sipush 128
            if_icmplt 40
         9: .line 100
            iload 8 /* ch */
            sipush 192
            if_icmpge 13
        10: .line 102
            new java.io.IOException
            dup
            ldc "Illegal UTF-8 sequence: initial byte is {0}: {1}"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        11: .line 103
            ldc "10xxxxxx"
            aastore
            dup
            iconst_1
            iload 8 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        12: .line 102
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 104
      StackMap locals: int
      StackMap stack:
            iload 8 /* ch */
            sipush 224
            if_icmpge 19
        14: .line 106
            iload 8 /* ch */
            bipush 31
            iand
            bipush 6
            ishl
            istore 8 /* ch */
        15: .line 107
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_2
            iconst_2
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        16: .line 108
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            ior
            istore 8 /* ch */
        17: .line 109
            iload 8 /* ch */
            sipush 128
            invokestatic org.postgresql.core.UTF8Encoding.checkMinimal:(II)V
        18: .line 110
            goto 40
      StackMap locals:
      StackMap stack:
        19: iload 8 /* ch */
            sipush 240
            if_icmpge 27
        20: .line 112
            iload 8 /* ch */
            bipush 15
            iand
            bipush 12
            ishl
            istore 8 /* ch */
        21: .line 113
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_2
            iconst_3
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        22: .line 114
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            bipush 6
            ishl
            ior
            istore 8 /* ch */
        23: .line 115
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_3
            iconst_3
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        24: .line 116
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            ior
            istore 8 /* ch */
        25: .line 117
            iload 8 /* ch */
            sipush 2048
            invokestatic org.postgresql.core.UTF8Encoding.checkMinimal:(II)V
        26: .line 118
            goto 40
      StackMap locals:
      StackMap stack:
        27: iload 8 /* ch */
            sipush 248
            if_icmpge 37
        28: .line 120
            iload 8 /* ch */
            bipush 7
            iand
            bipush 18
            ishl
            istore 8 /* ch */
        29: .line 121
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_2
            iconst_4
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        30: .line 122
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            bipush 12
            ishl
            ior
            istore 8 /* ch */
        31: .line 123
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_3
            iconst_4
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        32: .line 124
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            bipush 6
            ishl
            ior
            istore 8 /* ch */
        33: .line 125
            aload 1 /* data */
            iload 5 /* in */
            baload
            iconst_4
            iconst_4
            invokestatic org.postgresql.core.UTF8Encoding.checkByte:(III)V
        34: .line 126
            iload 8 /* ch */
            aload 1 /* data */
            iload 5 /* in */
            iinc 5 /* in */ 1
            baload
            bipush 63
            iand
            ior
            istore 8 /* ch */
        35: .line 127
            iload 8 /* ch */
            ldc 65536
            invokestatic org.postgresql.core.UTF8Encoding.checkMinimal:(II)V
        36: .line 128
            goto 40
        37: .line 129
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "Illegal UTF-8 sequence: initial byte is {0}: {1}"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        38: .line 130
            ldc "11111xxx"
            aastore
            dup
            iconst_1
            iload 8 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        39: .line 129
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        40: .line 133
      StackMap locals:
      StackMap stack:
            iload 8 /* ch */
            ldc 1114111
            if_icmple 44
        41: .line 134
            new java.io.IOException
            dup
        42: .line 135
            ldc "Illegal UTF-8 sequence: final value is out of range: {0}"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 8 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        43: .line 134
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        44: .line 143
      StackMap locals:
      StackMap stack:
            iload 8 /* ch */
            ldc 65535
            if_icmple 49
        45: .line 145
            iload 8 /* ch */
            ldc 65536
            isub
            istore 8 /* ch */
        46: .line 146
            aload 4 /* cdata */
            iload 6 /* out */
            iinc 6 /* out */ 1
            ldc 55296
            iload 8 /* ch */
            bipush 10
            ishr
            iadd
            i2c
            castore
        47: .line 147
            aload 4 /* cdata */
            iload 6 /* out */
            iinc 6 /* out */ 1
            ldc 56320
            iload 8 /* ch */
            sipush 1023
            iand
            iadd
            i2c
            castore
        48: .line 148
            goto 54
      StackMap locals:
      StackMap stack:
        49: iload 8 /* ch */
            ldc 55296
            if_icmplt 53
            iload 8 /* ch */
            ldc 57344
            if_icmpge 53
        50: .line 150
            new java.io.IOException
            dup
        51: .line 151
            ldc "Illegal UTF-8 sequence: final value is a surrogate value: {0}"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 8 /* ch */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        52: .line 150
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        53: .line 154
      StackMap locals:
      StackMap stack:
            aload 4 /* cdata */
            iload 6 /* out */
            iinc 6 /* out */ 1
            iload 8 /* ch */
            i2c
            castore
        end local 8 // int ch
        54: .line 94
      StackMap locals:
      StackMap stack:
            iload 5 /* in */
            iload 7 /* end */
            if_icmplt 7
        55: .line 157
            goto 58
      StackMap locals:
      StackMap stack: java.lang.ArrayIndexOutOfBoundsException
        56: pop
        57: .line 158
            new java.io.IOException
            dup
            ldc "Illegal UTF-8 sequence: multibyte sequence was truncated"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        58: .line 162
      StackMap locals:
      StackMap stack:
            iload 5 /* in */
            iload 7 /* end */
            if_icmple 60
        59: .line 163
            new java.io.IOException
            dup
            ldc "Illegal UTF-8 sequence: multibyte sequence was truncated"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        60: .line 166
      StackMap locals:
      StackMap stack:
            new java.lang.String
            dup
            aload 4 /* cdata */
            iconst_0
            iload 6 /* out */
            invokespecial java.lang.String.<init>:([CII)V
            areturn
        end local 7 // int end
        end local 6 // int out
        end local 5 // int in
        end local 4 // char[] cdata
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] data
        end local 0 // org.postgresql.core.UTF8Encoding this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   61     0    this  Lorg/postgresql/core/UTF8Encoding;
            0   61     1    data  [B
            0   61     2  offset  I
            0   61     3  length  I
            1   61     4   cdata  [C
            4   61     5      in  I
            5   61     6     out  I
            6   61     7     end  I
            8   54     8      ch  I
      Exception table:
        from    to  target  type
           6    55      56  Class java.lang.ArrayIndexOutOfBoundsException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      data    
      offset  
      length  
}
SourceFile: "UTF8Encoding.java"