public static void cppOutputCase(Cons renamed_Case) {
    { Stella_Object keyform = renamed_Case.value;
      Stella_Object defaultcase = renamed_Case.rest.value;
      Stella_Object conditions = renamed_Case.rest.rest.value;

      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("switch (");
      Stella_Object.cppOutputStatement(keyform);
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(") {");
      Stella.cppBumpIndent();
      { Cons c = null;
        Cons iter000 = ((Cons)(conditions));

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

            { Stella_Object cond = null;
              Cons iter001 = ((Cons)((Stella_Object.consP(((Cons)(condition.value)).value) ? condition.value : Cons.cons(condition.value, Stella.NIL))));

              for (;!(iter001 == Stella.NIL); iter001 = iter001.rest) {
                cond = iter001.value;
                Stella.cppIndent();
                ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.print("case ");
                Stella_Object.cppOutputStatement(cond);
                ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println(": ");
              }
            }
            Stella.cppBumpIndent();
            Stella_Object.cppOutputStatement(condition.rest.value);
            Stella.cppUnbumpIndent();
            if (!(Cons.cppLastStatementIsReturnP(((Cons)(condition.rest.value))))) {
              Stella.cppIndent();
              ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("break;");
            }
          }
        }
      }
      if (!(defaultcase != null)) {
        System.err.print("Safety violation: INTERNAL ERROR: `cpp-output-case' expects an `otherwise' clause.");
      }
      Stella.cppIndent();
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("default:");
      Stella.cppBumpIndent();
      Stella_Object.cppOutputStatement(defaultcase);
      Stella.cppUnbumpIndent();
      if (!(Cons.cppLastStatementIsReturnP(((Cons)(defaultcase))))) {
        Stella.cppIndent();
        ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("break;");
      }
      Stella.cppUnbumpIndent();
      Stella.cppIndent();
      ((OutputStream)(Stella.$CURRENT_STREAM$.get())).nativeStream.println("}");
    }
  }