public static void cppOutputIf(Cons tree) {
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("if (");
    Stella_Object.cppOutputStatement(tree.value);
    ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print(") ");
    if (Stella_Object.cppBlockP(tree.rest.value)) {
      Stella_Object.cppOutputStatement(tree.rest.value);
    }
    else {
      {
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println();
        Stella.cppBumpIndent();
        Stella.cppIndent();
        Stella_Object.cppOutputStatement(tree.rest.value);
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(";");
        Stella.cppUnbumpIndent();
      }
    }
    if (!(tree.rest.rest.value == null)) {
      Stella.cppIndent();
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("else ");
      if (Stella_Object.cppBlockP(tree.rest.rest.value)) {
        Stella_Object.cppOutputStatement(tree.rest.rest.value);
      }
      else {
        {
          ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println();
          Stella.cppBumpIndent();
          Stella.cppIndent();
          Stella_Object.cppOutputStatement(tree.rest.rest.value);
          ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(";");
          Stella.cppUnbumpIndent();
        }
      }
    }
  }