// Path: src/org/jf/dexlib2/Opcodes.java
// public class Opcodes {
// 
//     /**
//      * Either the api level for dalvik opcodes, or the art version for art opcodes
//      */
//     public final int api;
//     public final int artVersion;
//     @Nonnull private final Opcode[] opcodesByValue = new Opcode[255];
//     @Nonnull private final EnumMap<Opcode, Short> opcodeValues;
//     @Nonnull private final HashMap<String, Opcode> opcodesByName;
// 
//     @Nonnull
//     public static Opcodes forApi(int api) {
//         return new Opcodes(api, VersionMap.mapApiToArtVersion(api), false);
//     }
// 
//     @Nonnull
//     public static Opcodes forApi(int api, boolean experimental) {
//         return new Opcodes(api, VersionMap.mapApiToArtVersion(api), experimental);
//     }
// 
//     @Nonnull
//     public static Opcodes forArtVersion(int artVersion) {
//         return forArtVersion(artVersion, false);
//     }
// 
//     @Nonnull
//     public static Opcodes forArtVersion(int artVersion, boolean experimental) {
//         return new Opcodes(VersionMap.mapArtVersionToApi(artVersion), artVersion, experimental);
//     }
// 
//     @Deprecated
//     public Opcodes(int api) {
//         this(api, false);
//     }
// 
//     @Deprecated
//     public Opcodes(int api, boolean experimental) {
//         this(api, VersionMap.mapApiToArtVersion(api), experimental);
//     }
// 
//     private Opcodes(int api, int artVersion, boolean experimental) {
//         this.api = api;
//         this.artVersion = artVersion;
// 
//         opcodeValues = new EnumMap<Opcode, Short>(Opcode.class);
//         opcodesByName = Maps.newHashMap();
// 
//         int version;
//         if (isArt()) {
//             version = artVersion;
//         } else {
//             version = api;
//         }
// 
//         for (Opcode opcode: Opcode.values()) {
//             RangeMap<Integer, Short> versionToValueMap;
// 
//             if (isArt()) {
//                 versionToValueMap = opcode.artVersionToValueMap;
//             } else {
//                 versionToValueMap = opcode.apiToValueMap;
//             }
// 
//             Short opcodeValue = versionToValueMap.get(version);
//             if (opcodeValue != null && (!opcode.isExperimental() || experimental)) {
//                 if (!opcode.format.isPayloadFormat) {
//                     opcodesByValue[opcodeValue] = opcode;
//                 }
//                 opcodeValues.put(opcode, opcodeValue);
//                 opcodesByName.put(opcode.name.toLowerCase(), opcode);
//             }
//         }
//     }
// 
//     @Nullable
//     public Opcode getOpcodeByName(@Nonnull String opcodeName) {
//         return opcodesByName.get(opcodeName.toLowerCase());
//     }
// 
//     @Nullable
//     public Opcode getOpcodeByValue(int opcodeValue) {
//         switch (opcodeValue) {
//             case 0x100:
//                 return Opcode.PACKED_SWITCH_PAYLOAD;
//             case 0x200:
//                 return Opcode.SPARSE_SWITCH_PAYLOAD;
//             case 0x300:
//                 return Opcode.ARRAY_PAYLOAD;
//             default:
//                 if (opcodeValue >= 0 && opcodeValue < opcodesByValue.length) {
//                     return opcodesByValue[opcodeValue];
//                 }
//                 return null;
//         }
//     }
// 
//     @Nullable
//     public Short getOpcodeValue(@Nonnull Opcode opcode) {
//         return opcodeValues.get(opcode);
//     }
// 
//     public boolean isArt() {
//         return artVersion != VersionMap.NO_VERSION;
//     }
// }


import org.jf.dexlib2.iface.instruction.Instruction;
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction;
import org.jf.dexlib2.iface.instruction.WideLiteralInstruction;
import org.jf.dexlib2.Opcodes;
import java.util.List;
    public static final int USHR = SyntheticAccessorResolver.USHR_ASSIGNMENT;

    public static final int INT = 0;
    public static final int LONG = 1;
    public static final int FLOAT = 2;
    public static final int DOUBLE = 3;

    public static final int POSITIVE_ONE = 1;
    public static final int NEGATIVE_ONE = -1;
    public static final int OTHER = 0;

    public static int test(List<? extends Instruction> instructions) {
        int accessorType = -1;
        int cs, p = 0;
        int pe = instructions.size();

        // one of the math type constants representing the type of math operation being performed
        int mathOp = -1;

        // for increments an decrements, the type of value the math operation is on
        int mathType = -1;

        // for increments and decrements, the value of the constant that is used
        long constantValue = 0;

        // The source register for the put instruction
        int putRegister = -1;
        // The return register;
        int returnRegister = -1;

// Path: src/org/jf/dexlib2/Opcodes.java
// public class Opcodes {
// 
//     /**
//      * Either the api level for dalvik opcodes, or the art version for art opcodes
//      */
//     public final int api;
//     public final int artVersion;
//     @Nonnull private final Opcode[] opcodesByValue = new Opcode[255];
//     @Nonnull private final EnumMap<Opcode, Short> opcodeValues;
//     @Nonnull private final HashMap<String, Opcode> opcodesByName;
// 
//     @Nonnull
//     public static Opcodes forApi(int api) {
//         return new Opcodes(api, VersionMap.mapApiToArtVersion(api), false);
//     }
// 
//     @Nonnull
//     public static Opcodes forApi(int api, boolean experimental) {
//         return new Opcodes(api, VersionMap.mapApiToArtVersion(api), experimental);
//     }
// 
//     @Nonnull
//     public static Opcodes forArtVersion(int artVersion) {
//         return forArtVersion(artVersion, false);
//     }
// 
//     @Nonnull
//     public static Opcodes forArtVersion(int artVersion, boolean experimental) {
//         return new Opcodes(VersionMap.mapArtVersionToApi(artVersion), artVersion, experimental);
//     }
// 
//     @Deprecated
//     public Opcodes(int api) {
//         this(api, false);
//     }
// 
//     @Deprecated
//     public Opcodes(int api, boolean experimental) {
//         this(api, VersionMap.mapApiToArtVersion(api), experimental);
//     }
// 
//     private Opcodes(int api, int artVersion, boolean experimental) {
//         this.api = api;
//         this.artVersion = artVersion;
// 
//         opcodeValues = new EnumMap<Opcode, Short>(Opcode.class);
//         opcodesByName = Maps.newHashMap();
// 
//         int version;
//         if (isArt()) {
//             version = artVersion;
//         } else {
//             version = api;
//         }
// 
//         for (Opcode opcode: Opcode.values()) {
//             RangeMap<Integer, Short> versionToValueMap;
// 
//             if (isArt()) {
//                 versionToValueMap = opcode.artVersionToValueMap;
//             } else {
//                 versionToValueMap = opcode.apiToValueMap;
//             }
// 
//             Short opcodeValue = versionToValueMap.get(version);
//             if (opcodeValue != null && (!opcode.isExperimental() || experimental)) {
//                 if (!opcode.format.isPayloadFormat) {
//                     opcodesByValue[opcodeValue] = opcode;
//                 }
//                 opcodeValues.put(opcode, opcodeValue);
//                 opcodesByName.put(opcode.name.toLowerCase(), opcode);
//             }
//         }
//     }
// 
//     @Nullable
//     public Opcode getOpcodeByName(@Nonnull String opcodeName) {
//         return opcodesByName.get(opcodeName.toLowerCase());
//     }
// 
//     @Nullable
//     public Opcode getOpcodeByValue(int opcodeValue) {
//         switch (opcodeValue) {
//             case 0x100:
//                 return Opcode.PACKED_SWITCH_PAYLOAD;
//             case 0x200:
//                 return Opcode.SPARSE_SWITCH_PAYLOAD;
//             case 0x300:
//                 return Opcode.ARRAY_PAYLOAD;
//             default:
//                 if (opcodeValue >= 0 && opcodeValue < opcodesByValue.length) {
//                     return opcodesByValue[opcodeValue];
//                 }
//                 return null;
//         }
//     }
// 
//     @Nullable
//     public Short getOpcodeValue(@Nonnull Opcode opcode) {
//         return opcodeValues.get(opcode);
//     }
// 
//     public boolean isArt() {
//         return artVersion != VersionMap.NO_VERSION;
//     }
// }


// Path: src/org/jf/dexlib2/util/SyntheticAccessorFSM.java
import org.jf.dexlib2.iface.instruction.Instruction;
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction;
import org.jf.dexlib2.iface.instruction.WideLiteralInstruction;
import org.jf.dexlib2.Opcodes;
import java.util.List;

    public static final int USHR = SyntheticAccessorResolver.USHR_ASSIGNMENT;

    public static final int INT = 0;
    public static final int LONG = 1;
    public static final int FLOAT = 2;
    public static final int DOUBLE = 3;

    public static final int POSITIVE_ONE = 1;
    public static final int NEGATIVE_ONE = -1;
    public static final int OTHER = 0;

    public static int test(List<? extends Instruction> instructions) {
        int accessorType = -1;
        int cs, p = 0;
        int pe = instructions.size();

        // one of the math type constants representing the type of math operation being performed
        int mathOp = -1;

        // for increments an decrements, the type of value the math operation is on
        int mathType = -1;

        // for increments and decrements, the value of the constant that is used
        long constantValue = 0;

        // The source register for the put instruction
        int putRegister = -1;
        // The return register;
        int returnRegister = -1;

        Opcodes opcodes = Opcodes.forApi(20);