public static StorageSlot recycleSlot(Stella_Class renamed_Class) {
    { Surrogate instancetype = renamed_Class.classType;
      StorageSlot recycleslot = null;

      { Slot slot = null;
        Iterator iter000 = renamed_Class.classSlots();

        while (iter000.nextP()) {
          slot = ((Slot)(iter000.value));
          if (Surrogate.subtypeOfStorageSlotP(Stella_Object.safePrimaryType(slot))) {
            { StorageSlot slot000 = ((StorageSlot)(slot));

              if ((!(slot000.slotName == Stella.SYM_STELLA_NEXT_SWEEP_LIST_OBJECT)) &&
                  StorageSlot.nativeSlotP(slot000)) {
                if (instancetype == slot000.slotBaseType) {
                  return (slot000);
                }
                if ((((Stella_Class)(slot000.slotBaseType.surrogateValue)) != null) &&
                    Surrogate.subtypeOfP(instancetype, slot000.slotBaseType)) {
                  recycleslot = slot000;
                }
              }
            }
          }
          else {
          }
        }
      }
      return (recycleslot);
    }
  }