private void doCtr(byte[] p8, int p9, int p10, byte[] p11, int p12, byte[] p13, boolean p14)
    {
        int v14_1;
        javax.crypto.Cipher v1_1 = ((javax.crypto.Cipher) com.google.crypto.tink.subtle.AesCtrJceCipher.localCipher.get());
        javax.crypto.spec.SecretKeySpec v0_4 = new byte[this.blockSize];
        System.arraycopy(p13, 0, v0_4, 0, this.ivSize);
        javax.crypto.spec.IvParameterSpec v13_2 = new javax.crypto.spec.IvParameterSpec(v0_4);
        if (p14 == 0) {
            v14_1 = 2;
        } else {
            v14_1 = 1;
        }
        v1_1.init(v14_1, this.keySpec, v13_2);
        if (v1_1.doFinal(p8, p9, p10, p11, p12) != p10) {
            throw new java.security.GeneralSecurityException(stored output's length does not match input's length);
        } else {
            return;
        }
    }