public static void cppOutputCond(Cons cond) {
    { Cons defaultcondition = ((Cons)(cond.value));
      Cons conditions = ((Cons)(cond.rest.value));
      Cons firstcondition = ((Cons)(conditions.value));
      Cons restconditions = conditions.rest;

      if ((defaultcondition != null) &&
          (conditions == Stella.NIL)) {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("if (TRUE) ");
        Stella_Object.cppOutputStatement(defaultcondition);
        return;
      }
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("if (");
      Stella_Object.cppOutputStatement(firstcondition.value);
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(") ");
      Stella_Object.cppOutputStatement(firstcondition.rest.value);
      { Stella_Object c = null;
        Cons iter000 = restconditions;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          c = iter000.value;
          { Cons condition = ((Cons)(c));

            Stella.cppIndent();
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("else if (");
            Stella_Object.cppOutputStatement(condition.value);
            ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(") ");
            Stella_Object.cppOutputStatement(condition.rest.value);
          }
        }
      }
      if (defaultcondition != null) {
        Stella.cppIndent();
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("else ");
        Stella_Object.cppOutputStatement(defaultcondition);
      }
    }
  }