class Insn22x extends AbstractInsn implements TwoRegInsn {

  public Insn22x(Opcode opc, Register regA, Register regB) {
    super(opc);
    regs.add(regA);
    regs.add(regB);
  }

  public Register getRegA() {
    return regs.get(REG_A_IDX);
  }

  public Register getRegB() {
    return regs.get(REG_B_IDX);
  }

  protected BuilderInstruction getRealInsn0(LabelAssigner assigner) {
    return new BuilderInstruction22x(opc, (short) getRegA().getNumber(), getRegB().getNumber());
  }

  @Override
  public BitSet getIncompatibleRegs() {<FILL_FUNCTION_BODY>}
}

    BitSet incompatRegs = new BitSet(2);
    if (!getRegA().fitsShort()) {
      incompatRegs.set(REG_A_IDX);
    }
    if (!getRegB().fitsUnconstrained()) {
      incompatRegs.set(REG_B_IDX);
    }
    return incompatRegs;
  
<methods>public void <init>(org.jf.dexlib2.Opcode) ,public java.util.BitSet getIncompatibleRegs() ,public int getMinimumRegsNeeded() ,public org.jf.dexlib2.Opcode getOpcode() ,public org.jf.dexlib2.builder.BuilderInstruction getRealInsn(soot.toDex.LabelAssigner) ,public List<soot.toDex.Register> getRegs() ,public int getSize() ,public boolean hasIncompatibleRegs() ,public java.lang.String toString() <variables>protected org.jf.dexlib2.Opcode opc,protected List<soot.toDex.Register> regs