public static Cons makeMemoizedValueEntry(Stella_Object value, Stella_Object arg1, Stella_Object arg2, Stella_Object arg3, Stella_Object arg4) {
    { Cons entry = Stella.NIL;
      Cons cursor = Stella.NIL;
      Cons cell = Stella.NIL;

      entry = new Cons();
      entry.value = value;
      cell = new Cons();
      entry.rest = cell;
      cell.value = arg1;
      if (arg2 == Stella.MEMOIZED_NULL_VALUE) {
        cell.rest = Stella.NIL;
        return (entry);
      }
      cursor = cell;
      cell = new Cons();
      cursor.rest = cell;
      cell.value = arg2;
      if (arg3 == Stella.MEMOIZED_NULL_VALUE) {
        cell.rest = Stella.NIL;
        return (entry);
      }
      cursor = cell;
      cell = new Cons();
      cursor.rest = cell;
      cell.value = arg3;
      if (arg4 == Stella.MEMOIZED_NULL_VALUE) {
        cell.rest = Stella.NIL;
        return (entry);
      }
      cursor = cell;
      cell = new Cons();
      cursor.rest = cell;
      cell.value = arg4;
      cell.rest = Stella.NIL;
      return (entry);
    }
  }