public class org.bouncycastle.crypto.engines.Grainv1Engine implements org.bouncycastle.crypto.StreamCipher
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.crypto.engines.Grainv1Engine
  super_class: java.lang.Object
{
  private static final int STATE_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 5

  private byte[] workingKey;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private byte[] workingIV;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private byte[] out;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int[] lfsr;
    descriptor: [I
    flags: (0x0002) ACC_PRIVATE

  private int[] nfsr;
    descriptor: [I
    flags: (0x0002) ACC_PRIVATE

  private int output;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int index;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private boolean initialised;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 13
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 32
            aload 0 /* this */
            iconst_2
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
         2: .line 34
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.initialised:Z
         3: .line 13
            return
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;

  public java.lang.String getAlgorithmName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 38
            ldc "Grain v1"
            areturn
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;

  public void init(boolean, org.bouncycastle.crypto.CipherParameters);
    descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
        start local 1 // boolean forEncryption
        start local 2 // org.bouncycastle.crypto.CipherParameters params
         0: .line 55
            aload 2 /* params */
            instanceof org.bouncycastle.crypto.params.ParametersWithIV
            ifne 4
         1: .line 57
            new java.lang.IllegalArgumentException
            dup
         2: .line 58
            ldc "Grain v1 Init parameters must include an IV"
         3: .line 57
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 61
      StackMap locals:
      StackMap stack:
            aload 2 /* params */
            checkcast org.bouncycastle.crypto.params.ParametersWithIV
            astore 3 /* ivParams */
        start local 3 // org.bouncycastle.crypto.params.ParametersWithIV ivParams
         5: .line 63
            aload 3 /* ivParams */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getIV:()[B
            astore 4 /* iv */
        start local 4 // byte[] iv
         6: .line 65
            aload 4 /* iv */
            ifnull 7
            aload 4 /* iv */
            arraylength
            bipush 8
            if_icmpeq 10
         7: .line 67
      StackMap locals: org.bouncycastle.crypto.params.ParametersWithIV byte[]
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
         8: .line 68
            ldc "Grain v1 requires exactly 8 bytes of IV"
         9: .line 67
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 71
      StackMap locals:
      StackMap stack:
            aload 3 /* ivParams */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
            instanceof org.bouncycastle.crypto.params.KeyParameter
            ifne 14
        11: .line 73
            new java.lang.IllegalArgumentException
            dup
        12: .line 74
            ldc "Grain v1 Init parameters must include a key"
        13: .line 73
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 77
      StackMap locals:
      StackMap stack:
            aload 3 /* ivParams */
            invokevirtual org.bouncycastle.crypto.params.ParametersWithIV.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
            checkcast org.bouncycastle.crypto.params.KeyParameter
            astore 5 /* key */
        start local 5 // org.bouncycastle.crypto.params.KeyParameter key
        15: .line 82
            aload 0 /* this */
            aload 5 /* key */
            invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
            arraylength
            newarray 8
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
        16: .line 83
            aload 0 /* this */
            aload 5 /* key */
            invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
            arraylength
            newarray 8
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
        17: .line 84
            aload 0 /* this */
            iconst_5
            newarray 10
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
        18: .line 85
            aload 0 /* this */
            iconst_5
            newarray 10
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
        19: .line 86
            aload 0 /* this */
            iconst_2
            newarray 8
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.out:[B
        20: .line 88
            aload 4 /* iv */
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
            iconst_0
            aload 4 /* iv */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        21: .line 89
            aload 5 /* key */
            invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
            iconst_0
            aload 5 /* key */
            invokevirtual org.bouncycastle.crypto.params.KeyParameter.getKey:()[B
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        22: .line 91
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.setKey:([B[B)V
        23: .line 92
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.initGrain:()V
        24: .line 93
            return
        end local 5 // org.bouncycastle.crypto.params.KeyParameter key
        end local 4 // byte[] iv
        end local 3 // org.bouncycastle.crypto.params.ParametersWithIV ivParams
        end local 2 // org.bouncycastle.crypto.CipherParameters params
        end local 1 // boolean forEncryption
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   25     0           this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            0   25     1  forEncryption  Z
            0   25     2         params  Lorg/bouncycastle/crypto/CipherParameters;
            5   25     3       ivParams  Lorg/bouncycastle/crypto/params/ParametersWithIV;
            6   25     4             iv  [B
           15   25     5            key  Lorg/bouncycastle/crypto/params/KeyParameter;
    Exceptions:
      throws java.lang.IllegalArgumentException
    MethodParameters:
               Name  Flags
      forEncryption  
      params         

  private void initGrain();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 100
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 6
         2: .line 102
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutput:()I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
         3: .line 103
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutputNFSR:()I
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_0
            iaload
            ixor
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
            ixor
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.shift:([II)[I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
         4: .line 104
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutputLFSR:()I
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
            ixor
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.shift:([II)[I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
         5: .line 100
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 1 /* i */
            bipush 10
            if_icmplt 2
        end local 1 // int i
         7: .line 106
            aload 0 /* this */
            iconst_1
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.initialised:Z
         8: .line 107
            return
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            1    7     1     i  I

  private int getOutputNFSR();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=14, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 116
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            istore 1 /* b0 */
        start local 1 // int b0
         1: .line 117
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            bipush 9
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 7
            ishl
            ior
            istore 2 /* b9 */
        start local 2 // int b9
         2: .line 118
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            bipush 14
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            iconst_2
            ishl
            ior
            istore 3 /* b14 */
        start local 3 // int b14
         3: .line 119
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            bipush 15
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            iconst_1
            ishl
            ior
            istore 4 /* b15 */
        start local 4 // int b15
         4: .line 120
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            iconst_5
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            bipush 11
            ishl
            ior
            istore 5 /* b21 */
        start local 5 // int b21
         5: .line 121
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 12
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            iconst_4
            ishl
            ior
            istore 6 /* b28 */
        start local 6 // int b28
         6: .line 122
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            iconst_1
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 15
            ishl
            ior
            istore 7 /* b33 */
        start local 7 // int b33
         7: .line 123
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            iconst_5
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 11
            ishl
            ior
            istore 8 /* b37 */
        start local 8 // int b37
         8: .line 124
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            bipush 13
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            iconst_3
            ishl
            ior
            istore 9 /* b45 */
        start local 9 // int b45
         9: .line 125
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            iconst_4
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            bipush 12
            ishl
            ior
            istore 10 /* b52 */
        start local 10 // int b52
        10: .line 126
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 12
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            iconst_4
            ishl
            ior
            istore 11 /* b60 */
        start local 11 // int b60
        11: .line 127
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 14
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            iconst_2
            ishl
            ior
            istore 12 /* b62 */
        start local 12 // int b62
        12: .line 128
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 15
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            iconst_1
            ishl
            ior
            istore 13 /* b63 */
        start local 13 // int b63
        13: .line 130
            iload 12 /* b62 */
            iload 11 /* b60 */
            ixor
            iload 10 /* b52 */
            ixor
            iload 9 /* b45 */
            ixor
            iload 8 /* b37 */
            ixor
            iload 7 /* b33 */
            ixor
            iload 6 /* b28 */
            ixor
            iload 5 /* b21 */
            ixor
            iload 3 /* b14 */
            ixor
        14: .line 131
            iload 2 /* b9 */
        15: .line 130
            ixor
        16: .line 131
            iload 1 /* b0 */
        17: .line 130
            ixor
        18: .line 131
            iload 13 /* b63 */
            iload 11 /* b60 */
            iand
        19: .line 130
            ixor
        20: .line 131
            iload 8 /* b37 */
            iload 7 /* b33 */
            iand
        21: .line 130
            ixor
        22: .line 131
            iload 4 /* b15 */
            iload 2 /* b9 */
            iand
        23: .line 130
            ixor
        24: .line 131
            iload 11 /* b60 */
            iload 10 /* b52 */
            iand
            iload 9 /* b45 */
            iand
        25: .line 130
            ixor
        26: .line 132
            iload 7 /* b33 */
            iload 6 /* b28 */
            iand
            iload 5 /* b21 */
            iand
        27: .line 130
            ixor
        28: .line 132
            iload 13 /* b63 */
            iload 9 /* b45 */
            iand
            iload 6 /* b28 */
            iand
            iload 2 /* b9 */
            iand
        29: .line 130
            ixor
        30: .line 132
            iload 11 /* b60 */
            iload 10 /* b52 */
            iand
            iload 8 /* b37 */
            iand
        31: .line 133
            iload 7 /* b33 */
        32: .line 132
            iand
        33: .line 130
            ixor
        34: .line 133
            iload 13 /* b63 */
            iload 11 /* b60 */
            iand
            iload 5 /* b21 */
            iand
            iload 4 /* b15 */
            iand
        35: .line 130
            ixor
        36: .line 133
            iload 13 /* b63 */
            iload 11 /* b60 */
            iand
            iload 10 /* b52 */
            iand
            iload 9 /* b45 */
            iand
            iload 8 /* b37 */
            iand
        37: .line 130
            ixor
        38: .line 134
            iload 7 /* b33 */
            iload 6 /* b28 */
            iand
            iload 5 /* b21 */
            iand
            iload 4 /* b15 */
            iand
            iload 2 /* b9 */
            iand
        39: .line 130
            ixor
        40: .line 134
            iload 10 /* b52 */
            iload 9 /* b45 */
            iand
            iload 8 /* b37 */
            iand
            iload 7 /* b33 */
            iand
            iload 6 /* b28 */
            iand
        41: .line 135
            iload 5 /* b21 */
        42: .line 134
            iand
        43: .line 130
            ixor
        44: .line 135
            ldc 65535
        45: .line 130
            iand
            ireturn
        end local 13 // int b63
        end local 12 // int b62
        end local 11 // int b60
        end local 10 // int b52
        end local 9 // int b45
        end local 8 // int b37
        end local 7 // int b33
        end local 6 // int b28
        end local 5 // int b21
        end local 4 // int b15
        end local 3 // int b14
        end local 2 // int b9
        end local 1 // int b0
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   46     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            1   46     1    b0  I
            2   46     2    b9  I
            3   46     3   b14  I
            4   46     4   b15  I
            5   46     5   b21  I
            6   46     6   b28  I
            7   46     7   b33  I
            8   46     8   b37  I
            9   46     9   b45  I
           10   46    10   b52  I
           11   46    11   b60  I
           12   46    12   b62  I
           13   46    13   b63  I

  private int getOutputLFSR();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=7, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 145
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_0
            iaload
            istore 1 /* s0 */
        start local 1 // int s0
         1: .line 146
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_0
            iaload
            bipush 13
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_1
            iaload
            iconst_3
            ishl
            ior
            istore 2 /* s13 */
        start local 2 // int s13
         2: .line 147
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_1
            iaload
            bipush 7
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_2
            iaload
            bipush 9
            ishl
            ior
            istore 3 /* s23 */
        start local 3 // int s23
         3: .line 148
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_2
            iaload
            bipush 6
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_3
            iaload
            bipush 10
            ishl
            ior
            istore 4 /* s38 */
        start local 4 // int s38
         4: .line 149
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_3
            iaload
            iconst_3
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_4
            iaload
            bipush 13
            ishl
            ior
            istore 5 /* s51 */
        start local 5 // int s51
         5: .line 150
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_3
            iaload
            bipush 14
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_4
            iaload
            iconst_2
            ishl
            ior
            istore 6 /* s62 */
        start local 6 // int s62
         6: .line 152
            iload 1 /* s0 */
            iload 2 /* s13 */
            ixor
            iload 3 /* s23 */
            ixor
            iload 4 /* s38 */
            ixor
            iload 5 /* s51 */
            ixor
            iload 6 /* s62 */
            ixor
            ldc 65535
            iand
            ireturn
        end local 6 // int s62
        end local 5 // int s51
        end local 4 // int s38
        end local 3 // int s23
        end local 2 // int s13
        end local 1 // int s0
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            1    7     1    s0  I
            2    7     2   s13  I
            3    7     3   s23  I
            4    7     4   s38  I
            5    7     5   s51  I
            6    7     6   s62  I

  private int getOutput();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=13, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 162
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            iconst_1
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 15
            ishl
            ior
            istore 1 /* b1 */
        start local 1 // int b1
         1: .line 163
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            iconst_2
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 14
            ishl
            ior
            istore 2 /* b2 */
        start local 2 // int b2
         2: .line 164
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            iconst_4
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 12
            ishl
            ior
            istore 3 /* b4 */
        start local 3 // int b4
         3: .line 165
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_0
            iaload
            bipush 10
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 6
            ishl
            ior
            istore 4 /* b10 */
        start local 4 // int b10
         4: .line 166
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_1
            iaload
            bipush 15
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            iconst_1
            ishl
            ior
            istore 5 /* b31 */
        start local 5 // int b31
         5: .line 167
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_2
            iaload
            bipush 11
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            iconst_5
            ishl
            ior
            istore 6 /* b43 */
        start local 6 // int b43
         6: .line 168
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 8
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            bipush 8
            ishl
            ior
            istore 7 /* b56 */
        start local 7 // int b56
         7: .line 169
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_3
            iaload
            bipush 15
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iconst_4
            iaload
            iconst_1
            ishl
            ior
            istore 8 /* b63 */
        start local 8 // int b63
         8: .line 170
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_0
            iaload
            iconst_3
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_1
            iaload
            bipush 13
            ishl
            ior
            istore 9 /* s3 */
        start local 9 // int s3
         9: .line 171
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_1
            iaload
            bipush 9
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_2
            iaload
            bipush 7
            ishl
            ior
            istore 10 /* s25 */
        start local 10 // int s25
        10: .line 172
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_2
            iaload
            bipush 14
            iushr
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_3
            iaload
            iconst_2
            ishl
            ior
            istore 11 /* s46 */
        start local 11 // int s46
        11: .line 173
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_4
            iaload
            istore 12 /* s64 */
        start local 12 // int s64
        12: .line 175
            iload 10 /* s25 */
            iload 8 /* b63 */
            ixor
            iload 9 /* s3 */
            iload 12 /* s64 */
            iand
            ixor
            iload 11 /* s46 */
            iload 12 /* s64 */
            iand
            ixor
            iload 12 /* s64 */
            iload 8 /* b63 */
            iand
            ixor
            iload 9 /* s3 */
        13: .line 176
            iload 10 /* s25 */
            iand
            iload 11 /* s46 */
            iand
        14: .line 175
            ixor
        15: .line 176
            iload 9 /* s3 */
            iload 11 /* s46 */
            iand
            iload 12 /* s64 */
            iand
        16: .line 175
            ixor
        17: .line 176
            iload 9 /* s3 */
            iload 11 /* s46 */
            iand
            iload 8 /* b63 */
            iand
        18: .line 175
            ixor
        19: .line 176
            iload 10 /* s25 */
            iload 11 /* s46 */
            iand
            iload 8 /* b63 */
            iand
        20: .line 175
            ixor
        21: .line 176
            iload 11 /* s46 */
        22: .line 177
            iload 12 /* s64 */
        23: .line 176
            iand
        24: .line 177
            iload 8 /* b63 */
        25: .line 176
            iand
        26: .line 175
            ixor
        27: .line 177
            iload 1 /* b1 */
        28: .line 175
            ixor
        29: .line 177
            iload 2 /* b2 */
        30: .line 175
            ixor
        31: .line 177
            iload 3 /* b4 */
        32: .line 175
            ixor
        33: .line 177
            iload 4 /* b10 */
        34: .line 175
            ixor
        35: .line 177
            iload 5 /* b31 */
        36: .line 175
            ixor
        37: .line 177
            iload 6 /* b43 */
        38: .line 175
            ixor
        39: .line 177
            iload 7 /* b56 */
        40: .line 175
            ixor
        41: .line 177
            ldc 65535
        42: .line 175
            iand
            ireturn
        end local 12 // int s64
        end local 11 // int s46
        end local 10 // int s25
        end local 9 // int s3
        end local 8 // int b63
        end local 7 // int b56
        end local 6 // int b43
        end local 5 // int b31
        end local 4 // int b10
        end local 3 // int b4
        end local 2 // int b2
        end local 1 // int b1
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   43     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            1   43     1    b1  I
            2   43     2    b2  I
            3   43     3    b4  I
            4   43     4   b10  I
            5   43     5   b31  I
            6   43     6   b43  I
            7   43     7   b56  I
            8   43     8   b63  I
            9   43     9    s3  I
           10   43    10   s25  I
           11   43    11   s46  I
           12   43    12   s64  I

  private int[] shift(int[], int);
    descriptor: ([II)[I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
        start local 1 // int[] array
        start local 2 // int val
         0: .line 189
            aload 1 /* array */
            iconst_0
            aload 1 /* array */
            iconst_1
            iaload
            iastore
         1: .line 190
            aload 1 /* array */
            iconst_1
            aload 1 /* array */
            iconst_2
            iaload
            iastore
         2: .line 191
            aload 1 /* array */
            iconst_2
            aload 1 /* array */
            iconst_3
            iaload
            iastore
         3: .line 192
            aload 1 /* array */
            iconst_3
            aload 1 /* array */
            iconst_4
            iaload
            iastore
         4: .line 193
            aload 1 /* array */
            iconst_4
            iload 2 /* val */
            iastore
         5: .line 195
            aload 1 /* array */
            areturn
        end local 2 // int val
        end local 1 // int[] array
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            0    6     1  array  [I
            0    6     2    val  I
    MethodParameters:
       Name  Flags
      array  
      val    

  private void setKey(byte[], byte[]);
    descriptor: ([B[B)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
        start local 1 // byte[] keyBytes
        start local 2 // byte[] ivBytes
         0: .line 206
            aload 2 /* ivBytes */
            bipush 8
            iconst_m1
            bastore
         1: .line 207
            aload 2 /* ivBytes */
            bipush 9
            iconst_m1
            bastore
         2: .line 208
            aload 0 /* this */
            aload 1 /* keyBytes */
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
         3: .line 209
            aload 0 /* this */
            aload 2 /* ivBytes */
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
         4: .line 214
            iconst_0
            istore 3 /* j */
        start local 3 // int j
         5: .line 215
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         6: goto 11
         7: .line 217
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            iload 4 /* i */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
            iload 3 /* j */
            iconst_1
            iadd
            baload
            bipush 8
            ishl
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
            iload 3 /* j */
            baload
            sipush 255
            iand
            ior
            ldc 65535
            iand
            iastore
         8: .line 218
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iload 4 /* i */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
            iload 3 /* j */
            iconst_1
            iadd
            baload
            bipush 8
            ishl
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
            iload 3 /* j */
            baload
            sipush 255
            iand
            ior
            ldc 65535
            iand
            iastore
         9: .line 219
            iinc 3 /* j */ 2
        10: .line 215
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 4 /* i */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            arraylength
            if_icmplt 7
        end local 4 // int i
        12: .line 221
            return
        end local 3 // int j
        end local 2 // byte[] ivBytes
        end local 1 // byte[] keyBytes
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   13     0      this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            0   13     1  keyBytes  [B
            0   13     2   ivBytes  [B
            5   13     3         j  I
            6   12     4         i  I
    MethodParameters:
          Name  Flags
      keyBytes  
      ivBytes   

  public void processBytes(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=6
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int len
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 227
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.initialised:Z
            ifne 4
         1: .line 229
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getAlgorithmName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 230
            ldc " not initialised"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 229
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 233
      StackMap locals:
      StackMap stack:
            iload 2 /* inOff */
            iload 3 /* len */
            iadd
            aload 1 /* in */
            arraylength
            if_icmple 6
         5: .line 235
            new org.bouncycastle.crypto.DataLengthException
            dup
            ldc "input buffer too short"
            invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 238
      StackMap locals:
      StackMap stack:
            iload 5 /* outOff */
            iload 3 /* len */
            iadd
            aload 4 /* out */
            arraylength
            if_icmple 8
         7: .line 240
            new org.bouncycastle.crypto.DataLengthException
            dup
            ldc "output buffer too short"
            invokespecial org.bouncycastle.crypto.DataLengthException.<init>:(Ljava/lang/String;)V
            athrow
         8: .line 243
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* i */
        start local 6 // int i
         9: goto 12
        10: .line 245
      StackMap locals: int
      StackMap stack:
            aload 4 /* out */
            iload 5 /* outOff */
            iload 6 /* i */
            iadd
            aload 1 /* in */
            iload 2 /* inOff */
            iload 6 /* i */
            iadd
            baload
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getKeyStream:()B
            ixor
            i2b
            bastore
        11: .line 243
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 6 /* i */
            iload 3 /* len */
            if_icmplt 10
        end local 6 // int i
        13: .line 247
            return
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int len
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            0   14     1      in  [B
            0   14     2   inOff  I
            0   14     3     len  I
            0   14     4     out  [B
            0   14     5  outOff  I
            9   13     6       i  I
    Exceptions:
      throws org.bouncycastle.crypto.DataLengthException
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  

  public void reset();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 251
            aload 0 /* this */
            iconst_2
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
         1: .line 252
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingKey:[B
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.workingIV:[B
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.setKey:([B[B)V
         2: .line 253
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.initGrain:()V
         3: .line 254
            return
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;

  private void oneRound();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 261
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutput:()I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
         1: .line 262
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.out:[B
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
            i2b
            bastore
         2: .line 263
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.out:[B
            iconst_1
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.output:I
            bipush 8
            ishr
            i2b
            bastore
         3: .line 265
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutputNFSR:()I
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            iconst_0
            iaload
            ixor
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.shift:([II)[I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.nfsr:[I
         4: .line 266
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getOutputLFSR:()I
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.shift:([II)[I
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.lfsr:[I
         5: .line 267
            return
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;

  public byte returnByte(byte);
    descriptor: (B)B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
        start local 1 // byte in
         0: .line 271
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.initialised:Z
            ifne 4
         1: .line 273
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getAlgorithmName:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         2: .line 274
            ldc " not initialised"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         3: .line 273
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 276
      StackMap locals:
      StackMap stack:
            iload 1 /* in */
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.getKeyStream:()B
            ixor
            i2b
            ireturn
        end local 1 // byte in
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
            0    5     1    in  B
    MethodParameters:
      Name  Flags
      in    

  private byte getKeyStream();
    descriptor: ()B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
         0: .line 281
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
            iconst_1
            if_icmple 3
         1: .line 283
            aload 0 /* this */
            invokevirtual org.bouncycastle.crypto.engines.Grainv1Engine.oneRound:()V
         2: .line 284
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
         3: .line 286
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.out:[B
            aload 0 /* this */
            dup
            getfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
            dup_x1
            iconst_1
            iadd
            putfield org.bouncycastle.crypto.engines.Grainv1Engine.index:I
            baload
            ireturn
        end local 0 // org.bouncycastle.crypto.engines.Grainv1Engine this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/bouncycastle/crypto/engines/Grainv1Engine;
}
SourceFile: "Grainv1Engine.java"