text: // Lean compiler output
  // Module: Lean.Compiler.IR.Format
  // Imports: Init Lean.Compiler.IR.Basic
  #include <lean/lean.h>
  #if defined(__clang__)
  #pragma clang diagnostic ignored "-Wunused-parameter"
  #pragma clang diagnostic ignored "-Wunused-label"
  #elif defined(__GNUC__) && !defined(__CLANG__)
  #pragma GCC diagnostic ignored "-Wunused-parameter"
  #pragma GCC diagnostic ignored "-Wunused-label"
  #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
  #endif
  #ifdef __cplusplus
  extern "C" {
  #endif
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__15;
  lean_object* l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__3;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
  size_t l_USize_add(size_t, size_t);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30;
  static lean_object* l_Lean_IR_instToFormatIRType___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__29;
  lean_object* l_Lean_IR_instToFormatDecl(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
  lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
  uint8_t l_USize_decEq(size_t, size_t);
  lean_object* lean_array_uget(lean_object*, size_t);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__33;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__22;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2;
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2(lean_object*, size_t, size_t, lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
  extern lean_object* l_Std_Format_defWidth;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__7;
  lean_object* l_Lean_IR_instToFormatArg;
  static lean_object* l_Lean_IR_formatAlt___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__24;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  static lean_object* l_Lean_IR_instToStringIRType___closed__1;
  lean_object* l_Lean_IR_formatFnBody_loop(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
  uint8_t lean_name_eq(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
  lean_object* l_Lean_IR_instToFormatFnBody;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
  static lean_object* l_Lean_IR_formatAlt___closed__4;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
  lean_object* lean_array_get_size(lean_object*);
  lean_object* lean_string_append(lean_object*, lean_object*);
  lean_object* l_Lean_IR_instToFormatParam;
  static lean_object* l_Lean_IR_instToStringIRType___closed__2;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(lean_object*);
  static lean_object* l_Lean_IR_formatAlt___closed__2;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
  lean_object* l_Lean_IR_instToStringIRType___lambda__1(lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__11;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__8;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object*);
  lean_object* l_Lean_IR_formatArray___rarg(lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__23;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__17;
  lean_object* l_Lean_IR_instToFormatLitVal;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__6;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
  uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__6;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34;
  lean_object* l_Lean_IR_formatDecl_match__1___rarg(lean_object*, lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatParams___boxed(lean_object*);
  lean_object* l_Lean_IR_instToStringDecl;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__16;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27;
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1(lean_object*);
  lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
  lean_object* l_Lean_IR_instToStringExpr(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9;
  static lean_object* l_Lean_IR_instToFormatFnBody___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__42;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
  static lean_object* l_Lean_IR_formatDecl___closed__3;
  lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2(lean_object*, size_t, size_t, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10;
  lean_object* l_Lean_IR_formatArray(lean_object*);
  lean_object* l_Lean_IR_instToFormatCtorInfo;
  lean_object* l_Nat_repr(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
  lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
  lean_object* lean_format_pretty(lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__37;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  static lean_object* l_Lean_IR_formatDecl___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__43;
  static lean_object* l_Lean_IR_formatDecl___closed__2;
  lean_object* l_Lean_formatKVMap(lean_object*);
  lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
  lean_object* lean_array_to_list(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__20;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
  static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  static lean_object* l_Lean_IR_instToStringDecl___closed__1;
  lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(lean_object*);
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__2;
  lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1___boxed(lean_object*);
  lean_object* l_Lean_IR_instToStringIRType;
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__1;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal_match__1___rarg(lean_object*, lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatDecl_match__1(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__26;
  lean_object* l_Lean_IR_instToStringFnBody(lean_object*);
  size_t lean_usize_of_nat(lean_object*);
  static lean_object* l_Lean_IR_instToFormatParam___closed__1;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__31;
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__4;
  lean_object* lean_ir_decl_to_string(lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__27;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1___boxed(lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__40;
  lean_object* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__41;
  lean_object* l_Lean_IR_instToFormatIRType;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__25;
  lean_object* l_Lean_IR_formatFnBodyHead_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2;
  lean_object* lean_ir_format_fn_body_head(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1(lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg_match__1___rarg(lean_object*, lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatAlt___closed__3;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__34;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
  static lean_object* l_Lean_IR_instToFormatCtorInfo___closed__1;
  uint8_t lean_nat_dec_le(lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatDecl(lean_object*, lean_object*);
  lean_object* l_String_quote(lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__13;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
  static lean_object* l_Lean_IR_instToFormatArg___closed__1;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(lean_object*);
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal_match__1(lean_object*);
  static lean_object* l_Lean_IR_instToFormatExpr___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__18;
  static lean_object* l_Lean_IR_instToFormatLitVal___closed__1;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__30;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
  static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__28;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__14;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1___rarg(lean_object*, lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1(lean_object*);
  static lean_object* l_Lean_IR_formatDecl___closed__4;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1(lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1___boxed(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29;
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatParams(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1(lean_object*);
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1(lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__10;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__32;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object*);
  lean_object* lean_string_length(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
  lean_object* l_Lean_IR_formatFnBodyHead_match__1(lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__12;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__4;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1___rarg(lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__9;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__39;
  lean_object* l_Lean_IR_formatAlt_match__1(lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1;
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__5;
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__19;
  lean_object* l_Lean_IR_formatAlt_match__1___rarg(lean_object*, lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__36;
  lean_object* lean_nat_to_int(lean_object*);
  static lean_object* l_Lean_IR_formatFnBody_loop___closed__3;
  lean_object* l_Lean_IR_instToFormatExpr;
  lean_object* l_Lean_IR_formatFnBody(lean_object*, lean_object*);
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__35;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__21;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__38;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg_match__1(lean_object*);
  lean_object* l_Lean_IR_formatArray___rarg___boxed(lean_object*, lean_object*);
  lean_object* l_Lean_IR_formatAlt(lean_object*, lean_object*, lean_object*);
  uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
  static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
  static lean_object* l_Lean_IR_formatFnBodyHead___closed__2;
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_4; lean_object* x_5; 
  lean_dec(x_3);
  x_4 = lean_ctor_get(x_1, 0);
  lean_inc(x_4);
  lean_dec(x_1);
  x_5 = lean_apply_1(x_2, x_4);
  return x_5;
  }
  else
  {
  lean_object* x_6; lean_object* x_7; 
  lean_dec(x_2);
  x_6 = lean_box(0);
  x_7 = lean_apply_1(x_3, x_6);
  return x_7;
  }
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg_match__1___rarg), 3, 0);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("x_");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("◾");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object* x_1) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  lean_dec(x_1);
  x_3 = l_Nat_repr(x_2);
  x_4 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_5 = lean_string_append(x_4, x_3);
  lean_dec(x_3);
  x_6 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_6, 0, x_5);
  return x_6;
  }
  else
  {
  lean_object* x_7; 
  x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3;
  return x_7;
  }
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatArg___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatArg() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatArg___closed__1;
  return x_1;
  }
  }
  static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" ");
  return x_1;
  }
  }
  static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
  _start:
  {
  uint8_t x_6; 
  x_6 = x_3 == x_4;
  if (x_6 == 0)
  {
  lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; 
  x_7 = lean_array_uget(x_2, x_3);
  x_8 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_9 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_9, 0, x_5);
  lean_ctor_set(x_9, 1, x_8);
  lean_inc(x_1);
  x_10 = lean_apply_1(x_1, x_7);
  x_11 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_11, 0, x_9);
  lean_ctor_set(x_11, 1, x_10);
  x_12 = 1;
  x_13 = x_3 + x_12;
  x_3 = x_13;
  x_5 = x_11;
  goto _start;
  }
  else
  {
  lean_dec(x_1);
  return x_5;
  }
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___boxed), 5, 0);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatArray___rarg(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; lean_object* x_4; uint8_t x_5; 
  x_3 = lean_array_get_size(x_2);
  x_4 = lean_unsigned_to_nat(0u);
  x_5 = lean_nat_dec_lt(x_4, x_3);
  if (x_5 == 0)
  {
  lean_object* x_6; 
  lean_dec(x_3);
  lean_dec(x_1);
  x_6 = lean_box(0);
  return x_6;
  }
  else
  {
  uint8_t x_7; 
  x_7 = lean_nat_dec_le(x_3, x_3);
  if (x_7 == 0)
  {
  lean_object* x_8; 
  lean_dec(x_3);
  lean_dec(x_1);
  x_8 = lean_box(0);
  return x_8;
  }
  else
  {
  size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; 
  x_9 = 0;
  x_10 = lean_usize_of_nat(x_3);
  lean_dec(x_3);
  x_11 = lean_box(0);
  x_12 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg(x_1, x_2, x_9, x_10, x_11);
  return x_12;
  }
  }
  }
  }
  lean_object* l_Lean_IR_formatArray(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l_Lean_IR_formatArray___rarg___boxed), 2, 0);
  return x_2;
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
  _start:
  {
  size_t x_6; size_t x_7; lean_object* x_8; 
  x_6 = lean_unbox_usize(x_3);
  lean_dec(x_3);
  x_7 = lean_unbox_usize(x_4);
  lean_dec(x_4);
  x_8 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg(x_1, x_2, x_6, x_7, x_5);
  lean_dec(x_2);
  return x_8;
  }
  }
  lean_object* l_Lean_IR_formatArray___rarg___boxed(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; 
  x_3 = l_Lean_IR_formatArray___rarg(x_1, x_2);
  lean_dec(x_2);
  return x_3;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_4; lean_object* x_5; 
  lean_dec(x_3);
  x_4 = lean_ctor_get(x_1, 0);
  lean_inc(x_4);
  lean_dec(x_1);
  x_5 = lean_apply_1(x_2, x_4);
  return x_5;
  }
  else
  {
  lean_object* x_6; lean_object* x_7; 
  lean_dec(x_2);
  x_6 = lean_ctor_get(x_1, 0);
  lean_inc(x_6);
  lean_dec(x_1);
  x_7 = lean_apply_1(x_3, x_6);
  return x_7;
  }
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal_match__1___rarg), 3, 0);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object* x_1) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  lean_dec(x_1);
  x_3 = l_Nat_repr(x_2);
  x_4 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_4, 0, x_3);
  return x_4;
  }
  else
  {
  lean_object* x_5; lean_object* x_6; lean_object* x_7; 
  x_5 = lean_ctor_get(x_1, 0);
  lean_inc(x_5);
  lean_dec(x_1);
  x_6 = l_String_quote(x_5);
  lean_dec(x_5);
  x_7 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_7, 0, x_6);
  return x_7;
  }
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatLitVal___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatLitVal() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatLitVal___closed__1;
  return x_1;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1___rarg(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
  x_3 = lean_ctor_get(x_1, 0);
  lean_inc(x_3);
  x_4 = lean_ctor_get(x_1, 1);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_1, 2);
  lean_inc(x_5);
  x_6 = lean_ctor_get(x_1, 3);
  lean_inc(x_6);
  x_7 = lean_ctor_get(x_1, 4);
  lean_inc(x_7);
  lean_dec(x_1);
  x_8 = lean_apply_5(x_2, x_3, x_4, x_6, x_7, x_5);
  return x_8;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo_match__1___rarg), 2, 0);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_inc(x_1);
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1___boxed), 2, 0);
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("[");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("]");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
  _start:
  {
  lean_object* x_5; lean_object* x_6; uint8_t x_7; 
  x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1;
  x_6 = lean_box(0);
  x_7 = lean_name_eq(x_1, x_6);
  if (x_7 == 0)
  {
  lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
  x_8 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_8, 0, x_2);
  lean_ctor_set(x_8, 1, x_3);
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_8);
  lean_ctor_set(x_10, 1, x_9);
  x_11 = l_Std_fmt___at_Lean_Level_PP_Result_format___spec__1(x_1);
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_10);
  lean_ctor_set(x_12, 1, x_11);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  x_14 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_14, 0, x_12);
  lean_ctor_set(x_14, 1, x_13);
  x_15 = lean_box(0);
  x_16 = lean_apply_2(x_5, x_14, x_15);
  return x_16;
  }
  else
  {
  lean_object* x_17; lean_object* x_18; 
  lean_dec(x_2);
  lean_dec(x_1);
  x_17 = lean_box(0);
  x_18 = lean_apply_2(x_5, x_3, x_17);
  return x_18;
  }
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("ctor_");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(".");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  x_3 = lean_ctor_get(x_1, 1);
  lean_inc(x_3);
  x_4 = lean_ctor_get(x_1, 3);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_1, 4);
  lean_inc(x_5);
  lean_dec(x_1);
  x_6 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_3);
  x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2;
  x_8 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_8, 0, x_7);
  lean_ctor_set(x_8, 1, x_6);
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_8);
  lean_ctor_set(x_10, 1, x_9);
  x_11 = lean_unsigned_to_nat(0u);
  x_12 = lean_nat_dec_lt(x_11, x_4);
  if (x_12 == 0)
  {
  uint8_t x_13; 
  x_13 = lean_nat_dec_lt(x_11, x_5);
  if (x_13 == 0)
  {
  lean_object* x_14; lean_object* x_15; 
  lean_dec(x_5);
  lean_dec(x_4);
  x_14 = lean_box(0);
  x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_9, x_10, x_14);
  return x_15;
  }
  else
  {
  lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
  x_16 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_16, 0, x_9);
  lean_ctor_set(x_16, 1, x_10);
  x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
  x_18 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_18, 0, x_16);
  lean_ctor_set(x_18, 1, x_17);
  x_19 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_4);
  x_20 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_20, 0, x_18);
  lean_ctor_set(x_20, 1, x_19);
  x_21 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_21, 0, x_20);
  lean_ctor_set(x_21, 1, x_17);
  x_22 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_5);
  x_23 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_23, 0, x_21);
  lean_ctor_set(x_23, 1, x_22);
  x_24 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_24, 0, x_23);
  lean_ctor_set(x_24, 1, x_9);
  x_25 = lean_box(0);
  x_26 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_9, x_24, x_25);
  return x_26;
  }
  }
  else
  {
  lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
  x_27 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_27, 0, x_9);
  lean_ctor_set(x_27, 1, x_10);
  x_28 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
  x_29 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_29, 0, x_27);
  lean_ctor_set(x_29, 1, x_28);
  x_30 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_4);
  x_31 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_31, 0, x_29);
  lean_ctor_set(x_31, 1, x_30);
  x_32 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_32, 0, x_31);
  lean_ctor_set(x_32, 1, x_28);
  x_33 = l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_5);
  x_34 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_34, 0, x_32);
  lean_ctor_set(x_34, 1, x_33);
  x_35 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_35, 0, x_34);
  lean_ctor_set(x_35, 1, x_9);
  x_36 = lean_box(0);
  x_37 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_9, x_35, x_36);
  return x_37;
  }
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; 
  x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1(x_1, x_2);
  lean_dec(x_2);
  lean_dec(x_1);
  return x_3;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
  _start:
  {
  lean_object* x_5; 
  x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_1, x_2, x_3, x_4);
  lean_dec(x_4);
  return x_5;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatCtorInfo___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatCtorInfo() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatCtorInfo___closed__1;
  return x_1;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_16; lean_object* x_17; lean_object* x_18; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  x_16 = lean_ctor_get(x_1, 0);
  lean_inc(x_16);
  x_17 = lean_ctor_get(x_1, 1);
  lean_inc(x_17);
  lean_dec(x_1);
  x_18 = lean_apply_2(x_2, x_16, x_17);
  return x_18;
  }
  case 1:
  {
  lean_object* x_19; lean_object* x_20; lean_object* x_21; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_2);
  x_19 = lean_ctor_get(x_1, 0);
  lean_inc(x_19);
  x_20 = lean_ctor_get(x_1, 1);
  lean_inc(x_20);
  lean_dec(x_1);
  x_21 = lean_apply_2(x_3, x_19, x_20);
  return x_21;
  }
  case 2:
  {
  lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_3);
  lean_dec(x_2);
  x_22 = lean_ctor_get(x_1, 0);
  lean_inc(x_22);
  x_23 = lean_ctor_get(x_1, 1);
  lean_inc(x_23);
  x_24 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
  x_25 = lean_ctor_get(x_1, 2);
  lean_inc(x_25);
  lean_dec(x_1);
  x_26 = lean_box(x_24);
  x_27 = lean_apply_4(x_4, x_22, x_23, x_26, x_25);
  return x_27;
  }
  case 3:
  {
  lean_object* x_28; lean_object* x_29; lean_object* x_30; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_28 = lean_ctor_get(x_1, 0);
  lean_inc(x_28);
  x_29 = lean_ctor_get(x_1, 1);
  lean_inc(x_29);
  lean_dec(x_1);
  x_30 = lean_apply_2(x_5, x_28, x_29);
  return x_30;
  }
  case 4:
  {
  lean_object* x_31; lean_object* x_32; lean_object* x_33; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_31 = lean_ctor_get(x_1, 0);
  lean_inc(x_31);
  x_32 = lean_ctor_get(x_1, 1);
  lean_inc(x_32);
  lean_dec(x_1);
  x_33 = lean_apply_2(x_6, x_31, x_32);
  return x_33;
  }
  case 5:
  {
  lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_34 = lean_ctor_get(x_1, 0);
  lean_inc(x_34);
  x_35 = lean_ctor_get(x_1, 1);
  lean_inc(x_35);
  x_36 = lean_ctor_get(x_1, 2);
  lean_inc(x_36);
  lean_dec(x_1);
  x_37 = lean_apply_3(x_7, x_34, x_35, x_36);
  return x_37;
  }
  case 6:
  {
  lean_object* x_38; lean_object* x_39; lean_object* x_40; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_38 = lean_ctor_get(x_1, 0);
  lean_inc(x_38);
  x_39 = lean_ctor_get(x_1, 1);
  lean_inc(x_39);
  lean_dec(x_1);
  x_40 = lean_apply_2(x_8, x_38, x_39);
  return x_40;
  }
  case 7:
  {
  lean_object* x_41; lean_object* x_42; lean_object* x_43; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_41 = lean_ctor_get(x_1, 0);
  lean_inc(x_41);
  x_42 = lean_ctor_get(x_1, 1);
  lean_inc(x_42);
  lean_dec(x_1);
  x_43 = lean_apply_2(x_9, x_41, x_42);
  return x_43;
  }
  case 8:
  {
  lean_object* x_44; lean_object* x_45; lean_object* x_46; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_44 = lean_ctor_get(x_1, 0);
  lean_inc(x_44);
  x_45 = lean_ctor_get(x_1, 1);
  lean_inc(x_45);
  lean_dec(x_1);
  x_46 = lean_apply_2(x_10, x_44, x_45);
  return x_46;
  }
  case 9:
  {
  lean_object* x_47; lean_object* x_48; lean_object* x_49; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_47 = lean_ctor_get(x_1, 0);
  lean_inc(x_47);
  x_48 = lean_ctor_get(x_1, 1);
  lean_inc(x_48);
  lean_dec(x_1);
  x_49 = lean_apply_2(x_11, x_47, x_48);
  return x_49;
  }
  case 10:
  {
  lean_object* x_50; lean_object* x_51; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_50 = lean_ctor_get(x_1, 0);
  lean_inc(x_50);
  lean_dec(x_1);
  x_51 = lean_apply_1(x_12, x_50);
  return x_51;
  }
  case 11:
  {
  lean_object* x_52; lean_object* x_53; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_52 = lean_ctor_get(x_1, 0);
  lean_inc(x_52);
  lean_dec(x_1);
  x_53 = lean_apply_1(x_13, x_52);
  return x_53;
  }
  case 12:
  {
  lean_object* x_54; lean_object* x_55; 
  lean_dec(x_15);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_54 = lean_ctor_get(x_1, 0);
  lean_inc(x_54);
  lean_dec(x_1);
  x_55 = lean_apply_1(x_14, x_54);
  return x_55;
  }
  default: 
  {
  lean_object* x_56; lean_object* x_57; 
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_56 = lean_ctor_get(x_1, 0);
  lean_inc(x_56);
  lean_dec(x_1);
  x_57 = lean_apply_1(x_15, x_56);
  return x_57;
  }
  }
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1___rarg), 15, 0);
  return x_2;
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
  _start:
  {
  uint8_t x_5; 
  x_5 = x_2 == x_3;
  if (x_5 == 0)
  {
  lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; 
  x_6 = lean_array_uget(x_1, x_2);
  x_7 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_8 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_8, 0, x_4);
  lean_ctor_set(x_8, 1, x_7);
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_6);
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_8);
  lean_ctor_set(x_10, 1, x_9);
  x_11 = 1;
  x_12 = x_2 + x_11;
  x_2 = x_12;
  x_4 = x_10;
  goto _start;
  }
  else
  {
  return x_4;
  }
  }
  }
  lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; uint8_t x_4; 
  x_2 = lean_array_get_size(x_1);
  x_3 = lean_unsigned_to_nat(0u);
  x_4 = lean_nat_dec_lt(x_3, x_2);
  if (x_4 == 0)
  {
  lean_object* x_5; 
  lean_dec(x_2);
  x_5 = lean_box(0);
  return x_5;
  }
  else
  {
  uint8_t x_6; 
  x_6 = lean_nat_dec_le(x_2, x_2);
  if (x_6 == 0)
  {
  lean_object* x_7; 
  lean_dec(x_2);
  x_7 = lean_box(0);
  return x_7;
  }
  else
  {
  size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; 
  x_8 = 0;
  x_9 = lean_usize_of_nat(x_2);
  lean_dec(x_2);
  x_10 = lean_box(0);
  x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2(x_1, x_8, x_9, x_10);
  return x_11;
  }
  }
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("reset[");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("] ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" in ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("reuse");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
  x_3 = lean_string_append(x_1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
  x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1;
  x_3 = lean_string_append(x_1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("!");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
  x_3 = lean_string_append(x_1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
  x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1;
  x_3 = lean_string_append(x_1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("proj[");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("uproj[");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("sproj[");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(", ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("pap ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("app ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("box ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("unbox ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("isShared ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("isTaggedPtr ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object* x_1) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  x_3 = lean_ctor_get(x_1, 1);
  lean_inc(x_3);
  lean_dec(x_1);
  x_4 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_2);
  x_5 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_3);
  lean_dec(x_3);
  x_6 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_6, 0, x_4);
  lean_ctor_set(x_6, 1, x_5);
  return x_6;
  }
  case 1:
  {
  lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
  x_7 = lean_ctor_get(x_1, 0);
  lean_inc(x_7);
  x_8 = lean_ctor_get(x_1, 1);
  lean_inc(x_8);
  lean_dec(x_1);
  x_9 = l_Nat_repr(x_7);
  x_10 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_10, 0, x_9);
  x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_11);
  lean_ctor_set(x_12, 1, x_10);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
  x_14 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_14, 0, x_12);
  lean_ctor_set(x_14, 1, x_13);
  x_15 = l_Nat_repr(x_8);
  x_16 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_17 = lean_string_append(x_16, x_15);
  lean_dec(x_15);
  x_18 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_18, 0, x_17);
  x_19 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_19, 0, x_14);
  lean_ctor_set(x_19, 1, x_18);
  return x_19;
  }
  case 2:
  {
  lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
  x_20 = lean_ctor_get(x_1, 0);
  lean_inc(x_20);
  x_21 = lean_ctor_get(x_1, 1);
  lean_inc(x_21);
  x_22 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
  x_23 = lean_ctor_get(x_1, 2);
  lean_inc(x_23);
  lean_dec(x_1);
  x_24 = l_Nat_repr(x_20);
  x_25 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_26 = lean_string_append(x_25, x_24);
  lean_dec(x_24);
  x_27 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_27, 0, x_26);
  x_28 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_21);
  x_29 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_23);
  lean_dec(x_23);
  if (x_22 == 0)
  {
  lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
  x_30 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
  x_31 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_31, 0, x_30);
  lean_ctor_set(x_31, 1, x_27);
  x_32 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
  x_33 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_33, 0, x_31);
  lean_ctor_set(x_33, 1, x_32);
  x_34 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_34, 0, x_33);
  lean_ctor_set(x_34, 1, x_28);
  x_35 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_35, 0, x_34);
  lean_ctor_set(x_35, 1, x_29);
  return x_35;
  }
  else
  {
  lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
  x_36 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
  x_37 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_37, 0, x_36);
  lean_ctor_set(x_37, 1, x_27);
  x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
  x_39 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_39, 0, x_37);
  lean_ctor_set(x_39, 1, x_38);
  x_40 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_40, 0, x_39);
  lean_ctor_set(x_40, 1, x_28);
  x_41 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_41, 0, x_40);
  lean_ctor_set(x_41, 1, x_29);
  return x_41;
  }
  }
  case 3:
  {
  lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
  x_42 = lean_ctor_get(x_1, 0);
  lean_inc(x_42);
  x_43 = lean_ctor_get(x_1, 1);
  lean_inc(x_43);
  lean_dec(x_1);
  x_44 = l_Nat_repr(x_42);
  x_45 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_45, 0, x_44);
  x_46 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
  x_47 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_47, 0, x_46);
  lean_ctor_set(x_47, 1, x_45);
  x_48 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
  x_49 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_49, 0, x_47);
  lean_ctor_set(x_49, 1, x_48);
  x_50 = l_Nat_repr(x_43);
  x_51 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_52 = lean_string_append(x_51, x_50);
  lean_dec(x_50);
  x_53 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_53, 0, x_52);
  x_54 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_54, 0, x_49);
  lean_ctor_set(x_54, 1, x_53);
  return x_54;
  }
  case 4:
  {
  lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 
  x_55 = lean_ctor_get(x_1, 0);
  lean_inc(x_55);
  x_56 = lean_ctor_get(x_1, 1);
  lean_inc(x_56);
  lean_dec(x_1);
  x_57 = l_Nat_repr(x_55);
  x_58 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_58, 0, x_57);
  x_59 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
  x_60 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_60, 0, x_59);
  lean_ctor_set(x_60, 1, x_58);
  x_61 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
  x_62 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_62, 0, x_60);
  lean_ctor_set(x_62, 1, x_61);
  x_63 = l_Nat_repr(x_56);
  x_64 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_65 = lean_string_append(x_64, x_63);
  lean_dec(x_63);
  x_66 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_66, 0, x_65);
  x_67 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_67, 0, x_62);
  lean_ctor_set(x_67, 1, x_66);
  return x_67;
  }
  case 5:
  {
  lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
  x_68 = lean_ctor_get(x_1, 0);
  lean_inc(x_68);
  x_69 = lean_ctor_get(x_1, 1);
  lean_inc(x_69);
  x_70 = lean_ctor_get(x_1, 2);
  lean_inc(x_70);
  lean_dec(x_1);
  x_71 = l_Nat_repr(x_68);
  x_72 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_72, 0, x_71);
  x_73 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
  x_74 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_74, 0, x_73);
  lean_ctor_set(x_74, 1, x_72);
  x_75 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  x_76 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_76, 0, x_74);
  lean_ctor_set(x_76, 1, x_75);
  x_77 = l_Nat_repr(x_69);
  x_78 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_78, 0, x_77);
  x_79 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_79, 0, x_76);
  lean_ctor_set(x_79, 1, x_78);
  x_80 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
  x_81 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_81, 0, x_79);
  lean_ctor_set(x_81, 1, x_80);
  x_82 = l_Nat_repr(x_70);
  x_83 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_84 = lean_string_append(x_83, x_82);
  lean_dec(x_82);
  x_85 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_85, 0, x_84);
  x_86 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_86, 0, x_81);
  lean_ctor_set(x_86, 1, x_85);
  return x_86;
  }
  case 6:
  {
  lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 
  x_87 = lean_ctor_get(x_1, 0);
  lean_inc(x_87);
  x_88 = lean_ctor_get(x_1, 1);
  lean_inc(x_88);
  lean_dec(x_1);
  x_89 = 1;
  x_90 = l_Lean_Name_toString(x_87, x_89);
  x_91 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_91, 0, x_90);
  x_92 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_88);
  lean_dec(x_88);
  x_93 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_93, 0, x_91);
  lean_ctor_set(x_93, 1, x_92);
  return x_93;
  }
  case 7:
  {
  lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
  x_94 = lean_ctor_get(x_1, 0);
  lean_inc(x_94);
  x_95 = lean_ctor_get(x_1, 1);
  lean_inc(x_95);
  lean_dec(x_1);
  x_96 = 1;
  x_97 = l_Lean_Name_toString(x_94, x_96);
  x_98 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_98, 0, x_97);
  x_99 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
  x_100 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_100, 0, x_99);
  lean_ctor_set(x_100, 1, x_98);
  x_101 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_95);
  lean_dec(x_95);
  x_102 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_102, 0, x_100);
  lean_ctor_set(x_102, 1, x_101);
  return x_102;
  }
  case 8:
  {
  lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; 
  x_103 = lean_ctor_get(x_1, 0);
  lean_inc(x_103);
  x_104 = lean_ctor_get(x_1, 1);
  lean_inc(x_104);
  lean_dec(x_1);
  x_105 = l_Nat_repr(x_103);
  x_106 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_107 = lean_string_append(x_106, x_105);
  lean_dec(x_105);
  x_108 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_108, 0, x_107);
  x_109 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
  x_110 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_110, 0, x_109);
  lean_ctor_set(x_110, 1, x_108);
  x_111 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_104);
  lean_dec(x_104);
  x_112 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_112, 0, x_110);
  lean_ctor_set(x_112, 1, x_111);
  return x_112;
  }
  case 9:
  {
  lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 
  x_113 = lean_ctor_get(x_1, 1);
  lean_inc(x_113);
  lean_dec(x_1);
  x_114 = l_Nat_repr(x_113);
  x_115 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_116 = lean_string_append(x_115, x_114);
  lean_dec(x_114);
  x_117 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_117, 0, x_116);
  x_118 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
  x_119 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_119, 0, x_118);
  lean_ctor_set(x_119, 1, x_117);
  return x_119;
  }
  case 10:
  {
  lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 
  x_120 = lean_ctor_get(x_1, 0);
  lean_inc(x_120);
  lean_dec(x_1);
  x_121 = l_Nat_repr(x_120);
  x_122 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_123 = lean_string_append(x_122, x_121);
  lean_dec(x_121);
  x_124 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_124, 0, x_123);
  x_125 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30;
  x_126 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_126, 0, x_125);
  lean_ctor_set(x_126, 1, x_124);
  return x_126;
  }
  case 11:
  {
  lean_object* x_127; lean_object* x_128; 
  x_127 = lean_ctor_get(x_1, 0);
  lean_inc(x_127);
  lean_dec(x_1);
  x_128 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(x_127);
  return x_128;
  }
  case 12:
  {
  lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; 
  x_129 = lean_ctor_get(x_1, 0);
  lean_inc(x_129);
  lean_dec(x_1);
  x_130 = l_Nat_repr(x_129);
  x_131 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_132 = lean_string_append(x_131, x_130);
  lean_dec(x_130);
  x_133 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_133, 0, x_132);
  x_134 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32;
  x_135 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_135, 0, x_134);
  lean_ctor_set(x_135, 1, x_133);
  return x_135;
  }
  default: 
  {
  lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 
  x_136 = lean_ctor_get(x_1, 0);
  lean_inc(x_136);
  lean_dec(x_1);
  x_137 = l_Nat_repr(x_136);
  x_138 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_139 = lean_string_append(x_138, x_137);
  lean_dec(x_137);
  x_140 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_140, 0, x_139);
  x_141 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34;
  x_142 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_142, 0, x_141);
  lean_ctor_set(x_142, 1, x_140);
  return x_142;
  }
  }
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
  _start:
  {
  size_t x_5; size_t x_6; lean_object* x_7; 
  x_5 = lean_unbox_usize(x_2);
  lean_dec(x_2);
  x_6 = lean_unbox_usize(x_3);
  lean_dec(x_3);
  x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__2(x_1, x_5, x_6, x_4);
  lean_dec(x_1);
  return x_7;
  }
  }
  lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1___boxed(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_1);
  lean_dec(x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatExpr___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatExpr() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatExpr___closed__1;
  return x_1;
  }
  }
  lean_object* l_Lean_IR_instToStringExpr(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; 
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_1);
  x_3 = l_Std_Format_defWidth;
  x_4 = lean_format_pretty(x_2, x_3);
  return x_4;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_13; lean_object* x_14; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  x_13 = lean_box(0);
  x_14 = lean_apply_1(x_2, x_13);
  return x_14;
  }
  case 1:
  {
  lean_object* x_15; lean_object* x_16; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_2);
  x_15 = lean_box(0);
  x_16 = lean_apply_1(x_3, x_15);
  return x_16;
  }
  case 2:
  {
  lean_object* x_17; lean_object* x_18; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_3);
  lean_dec(x_2);
  x_17 = lean_box(0);
  x_18 = lean_apply_1(x_4, x_17);
  return x_18;
  }
  case 3:
  {
  lean_object* x_19; lean_object* x_20; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_19 = lean_box(0);
  x_20 = lean_apply_1(x_5, x_19);
  return x_20;
  }
  case 4:
  {
  lean_object* x_21; lean_object* x_22; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_21 = lean_box(0);
  x_22 = lean_apply_1(x_6, x_21);
  return x_22;
  }
  case 5:
  {
  lean_object* x_23; lean_object* x_24; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_23 = lean_box(0);
  x_24 = lean_apply_1(x_7, x_23);
  return x_24;
  }
  case 6:
  {
  lean_object* x_25; lean_object* x_26; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_25 = lean_box(0);
  x_26 = lean_apply_1(x_8, x_25);
  return x_26;
  }
  case 7:
  {
  lean_object* x_27; lean_object* x_28; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_27 = lean_box(0);
  x_28 = lean_apply_1(x_9, x_27);
  return x_28;
  }
  case 8:
  {
  lean_object* x_29; lean_object* x_30; 
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_29 = lean_box(0);
  x_30 = lean_apply_1(x_10, x_29);
  return x_30;
  }
  case 9:
  {
  lean_object* x_31; lean_object* x_32; lean_object* x_33; 
  lean_dec(x_12);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_31 = lean_ctor_get(x_1, 0);
  lean_inc(x_31);
  x_32 = lean_ctor_get(x_1, 1);
  lean_inc(x_32);
  lean_dec(x_1);
  x_33 = lean_apply_2(x_11, x_31, x_32);
  return x_33;
  }
  default: 
  {
  lean_object* x_34; lean_object* x_35; lean_object* x_36; 
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_34 = lean_ctor_get(x_1, 0);
  lean_inc(x_34);
  x_35 = lean_ctor_get(x_1, 1);
  lean_inc(x_35);
  lean_dec(x_1);
  x_36 = lean_apply_2(x_12, x_34, x_35);
  return x_36;
  }
  }
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1___rarg), 12, 0);
  return x_2;
  }
  }
  lean_object* l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_3; 
  lean_dec(x_2);
  x_3 = lean_box(0);
  return x_3;
  }
  else
  {
  lean_object* x_4; 
  x_4 = lean_ctor_get(x_1, 1);
  lean_inc(x_4);
  if (lean_obj_tag(x_4) == 0)
  {
  lean_object* x_5; lean_object* x_6; 
  lean_dec(x_2);
  x_5 = lean_ctor_get(x_1, 0);
  lean_inc(x_5);
  lean_dec(x_1);
  x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
  return x_6;
  }
  else
  {
  lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
  x_7 = lean_ctor_get(x_1, 0);
  lean_inc(x_7);
  lean_dec(x_1);
  x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_7);
  lean_inc(x_2);
  x_9 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_9, 0, x_8);
  lean_ctor_set(x_9, 1, x_2);
  x_10 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_4, x_2);
  x_11 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_11, 0, x_9);
  lean_ctor_set(x_11, 1, x_10);
  return x_11;
  }
  }
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("float");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("u8");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("u16");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("u32");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("u64");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("usize");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("obj");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("tobj");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("{");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
  x_2 = lean_string_length(x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
  x_2 = lean_nat_to_int(x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("}");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("struct ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("union ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(lean_object* x_1) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_2; 
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2;
  return x_2;
  }
  case 1:
  {
  lean_object* x_3; 
  x_3 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4;
  return x_3;
  }
  case 2:
  {
  lean_object* x_4; 
  x_4 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
  return x_4;
  }
  case 3:
  {
  lean_object* x_5; 
  x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8;
  return x_5;
  }
  case 4:
  {
  lean_object* x_6; 
  x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10;
  return x_6;
  }
  case 5:
  {
  lean_object* x_7; 
  x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12;
  return x_7;
  }
  case 6:
  {
  lean_object* x_8; 
  x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3;
  return x_8;
  }
  case 7:
  {
  lean_object* x_9; 
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14;
  return x_9;
  }
  case 8:
  {
  lean_object* x_10; 
  x_10 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16;
  return x_10;
  }
  case 9:
  {
  lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
  x_11 = lean_ctor_get(x_1, 1);
  lean_inc(x_11);
  lean_dec(x_1);
  x_12 = lean_array_to_list(lean_box(0), x_11);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  x_14 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_12, x_13);
  x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
  x_16 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_16, 0, x_15);
  lean_ctor_set(x_16, 1, x_14);
  x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
  x_18 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_18, 0, x_16);
  lean_ctor_set(x_18, 1, x_17);
  x_19 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
  x_20 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_20, 0, x_19);
  lean_ctor_set(x_20, 1, x_18);
  x_21 = 0;
  x_22 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_22, 0, x_20);
  lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21);
  x_23 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
  x_24 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_24, 0, x_23);
  lean_ctor_set(x_24, 1, x_22);
  return x_24;
  }
  default: 
  {
  lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
  x_25 = lean_ctor_get(x_1, 1);
  lean_inc(x_25);
  lean_dec(x_1);
  x_26 = lean_array_to_list(lean_box(0), x_25);
  x_27 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  x_28 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_26, x_27);
  x_29 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
  x_30 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_30, 0, x_29);
  lean_ctor_set(x_30, 1, x_28);
  x_31 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
  x_32 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_32, 0, x_30);
  lean_ctor_set(x_32, 1, x_31);
  x_33 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
  x_34 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_34, 0, x_33);
  lean_ctor_set(x_34, 1, x_32);
  x_35 = 0;
  x_36 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_36, 0, x_34);
  lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35);
  x_37 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
  x_38 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_38, 0, x_37);
  lean_ctor_set(x_38, 1, x_36);
  return x_38;
  }
  }
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatIRType___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatIRType() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatIRType___closed__1;
  return x_1;
  }
  }
  lean_object* l_Lean_IR_instToStringIRType___lambda__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; 
  x_2 = l_Std_Format_defWidth;
  x_3 = lean_format_pretty(x_1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_instToStringIRType___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l_Lean_IR_instToStringIRType___lambda__1), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToStringIRType___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l_Lean_IR_instToStringIRType___closed__1;
  x_2 = l_Lean_IR_instToFormatIRType___closed__1;
  x_3 = lean_alloc_closure((void*)(l_Function_comp___rarg), 3, 2);
  lean_closure_set(x_3, 0, x_1);
  lean_closure_set(x_3, 1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_instToStringIRType() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToStringIRType___closed__2;
  return x_1;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1___rarg(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
  x_3 = lean_ctor_get(x_1, 0);
  lean_inc(x_3);
  x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
  x_5 = lean_ctor_get(x_1, 1);
  lean_inc(x_5);
  lean_dec(x_1);
  x_6 = lean_box(x_4);
  x_7 = lean_apply_3(x_2, x_3, x_6, x_5);
  return x_7;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam_match__1___rarg), 2, 0);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("(");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" : ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(")");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("@& ");
  return x_1;
  }
  }
  static lean_object* _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
  x_4 = lean_ctor_get(x_1, 1);
  lean_inc(x_4);
  lean_dec(x_1);
  x_5 = l_Nat_repr(x_2);
  x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_7 = lean_string_append(x_6, x_5);
  lean_dec(x_5);
  x_8 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_8, 0, x_7);
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2;
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_9);
  lean_ctor_set(x_10, 1, x_8);
  x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_10);
  lean_ctor_set(x_12, 1, x_11);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4);
  if (x_3 == 0)
  {
  lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
  x_14 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
  x_15 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_15, 0, x_12);
  lean_ctor_set(x_15, 1, x_14);
  x_16 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_16, 0, x_15);
  lean_ctor_set(x_16, 1, x_13);
  x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
  x_18 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_18, 0, x_16);
  lean_ctor_set(x_18, 1, x_17);
  return x_18;
  }
  else
  {
  lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
  x_19 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8;
  x_20 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_20, 0, x_12);
  lean_ctor_set(x_20, 1, x_19);
  x_21 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_21, 0, x_20);
  lean_ctor_set(x_21, 1, x_13);
  x_22 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
  x_23 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_23, 0, x_21);
  lean_ctor_set(x_23, 1, x_22);
  return x_23;
  }
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatParam___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatParam() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatParam___closed__1;
  return x_1;
  }
  }
  lean_object* l_Lean_IR_formatAlt_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_4; lean_object* x_5; lean_object* x_6; 
  lean_dec(x_3);
  x_4 = lean_ctor_get(x_1, 0);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_1, 1);
  lean_inc(x_5);
  lean_dec(x_1);
  x_6 = lean_apply_2(x_2, x_4, x_5);
  return x_6;
  }
  else
  {
  lean_object* x_7; lean_object* x_8; 
  lean_dec(x_2);
  x_7 = lean_ctor_get(x_1, 0);
  lean_inc(x_7);
  lean_dec(x_1);
  x_8 = lean_apply_1(x_3, x_7);
  return x_8;
  }
  }
  }
  lean_object* l_Lean_IR_formatAlt_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l_Lean_IR_formatAlt_match__1___rarg), 3, 0);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatAlt___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" →");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatAlt___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatAlt___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatAlt___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("default →");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatAlt___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatAlt___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
  _start:
  {
  if (lean_obj_tag(x_3) == 0)
  {
  lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
  x_4 = lean_ctor_get(x_3, 0);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_3, 1);
  lean_inc(x_5);
  lean_dec(x_3);
  x_6 = lean_ctor_get(x_4, 0);
  lean_inc(x_6);
  lean_dec(x_4);
  x_7 = 1;
  x_8 = l_Lean_Name_toString(x_6, x_7);
  x_9 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_9, 0, x_8);
  x_10 = l_Lean_IR_formatAlt___closed__2;
  x_11 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_11, 0, x_9);
  lean_ctor_set(x_11, 1, x_10);
  x_12 = lean_nat_to_int(x_2);
  x_13 = lean_apply_1(x_1, x_5);
  x_14 = lean_box(1);
  x_15 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_15, 0, x_14);
  lean_ctor_set(x_15, 1, x_13);
  x_16 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_16, 0, x_12);
  lean_ctor_set(x_16, 1, x_15);
  x_17 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_17, 0, x_11);
  lean_ctor_set(x_17, 1, x_16);
  return x_17;
  }
  else
  {
  lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
  x_18 = lean_ctor_get(x_3, 0);
  lean_inc(x_18);
  lean_dec(x_3);
  x_19 = lean_nat_to_int(x_2);
  x_20 = lean_apply_1(x_1, x_18);
  x_21 = lean_box(1);
  x_22 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_22, 0, x_21);
  lean_ctor_set(x_22, 1, x_20);
  x_23 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_23, 0, x_19);
  lean_ctor_set(x_23, 1, x_22);
  x_24 = l_Lean_IR_formatAlt___closed__4;
  x_25 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_25, 0, x_24);
  lean_ctor_set(x_25, 1, x_23);
  return x_25;
  }
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
  _start:
  {
  uint8_t x_5; 
  x_5 = x_2 == x_3;
  if (x_5 == 0)
  {
  lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; 
  x_6 = lean_array_uget(x_1, x_2);
  x_7 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_8 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_8, 0, x_4);
  lean_ctor_set(x_8, 1, x_7);
  x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(x_6);
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_8);
  lean_ctor_set(x_10, 1, x_9);
  x_11 = 1;
  x_12 = x_2 + x_11;
  x_2 = x_12;
  x_4 = x_10;
  goto _start;
  }
  else
  {
  return x_4;
  }
  }
  }
  lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; uint8_t x_4; 
  x_2 = lean_array_get_size(x_1);
  x_3 = lean_unsigned_to_nat(0u);
  x_4 = lean_nat_dec_lt(x_3, x_2);
  if (x_4 == 0)
  {
  lean_object* x_5; 
  lean_dec(x_2);
  x_5 = lean_box(0);
  return x_5;
  }
  else
  {
  uint8_t x_6; 
  x_6 = lean_nat_dec_le(x_2, x_2);
  if (x_6 == 0)
  {
  lean_object* x_7; 
  lean_dec(x_2);
  x_7 = lean_box(0);
  return x_7;
  }
  else
  {
  size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; 
  x_8 = 0;
  x_9 = lean_usize_of_nat(x_2);
  lean_dec(x_2);
  x_10 = lean_box(0);
  x_11 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2(x_1, x_8, x_9, x_10);
  return x_11;
  }
  }
  }
  }
  lean_object* l_Lean_IR_formatParams(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_1);
  return x_2;
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
  _start:
  {
  size_t x_5; size_t x_6; lean_object* x_7; 
  x_5 = lean_unbox_usize(x_2);
  lean_dec(x_2);
  x_6 = lean_unbox_usize(x_3);
  lean_dec(x_3);
  x_7 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2(x_1, x_5, x_6, x_4);
  lean_dec(x_1);
  return x_7;
  }
  }
  lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1___boxed(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_1);
  lean_dec(x_1);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatParams___boxed(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = l_Lean_IR_formatParams(x_1);
  lean_dec(x_1);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatFnBodyHead_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  x_16 = lean_ctor_get(x_1, 0);
  lean_inc(x_16);
  x_17 = lean_ctor_get(x_1, 1);
  lean_inc(x_17);
  x_18 = lean_ctor_get(x_1, 2);
  lean_inc(x_18);
  x_19 = lean_ctor_get(x_1, 3);
  lean_inc(x_19);
  lean_dec(x_1);
  x_20 = lean_apply_4(x_2, x_16, x_17, x_18, x_19);
  return x_20;
  }
  case 1:
  {
  lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_2);
  x_21 = lean_ctor_get(x_1, 0);
  lean_inc(x_21);
  x_22 = lean_ctor_get(x_1, 1);
  lean_inc(x_22);
  x_23 = lean_ctor_get(x_1, 2);
  lean_inc(x_23);
  x_24 = lean_ctor_get(x_1, 3);
  lean_inc(x_24);
  lean_dec(x_1);
  x_25 = lean_apply_4(x_3, x_21, x_22, x_23, x_24);
  return x_25;
  }
  case 2:
  {
  lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_3);
  lean_dec(x_2);
  x_26 = lean_ctor_get(x_1, 0);
  lean_inc(x_26);
  x_27 = lean_ctor_get(x_1, 1);
  lean_inc(x_27);
  x_28 = lean_ctor_get(x_1, 2);
  lean_inc(x_28);
  x_29 = lean_ctor_get(x_1, 3);
  lean_inc(x_29);
  lean_dec(x_1);
  x_30 = lean_apply_4(x_4, x_26, x_27, x_28, x_29);
  return x_30;
  }
  case 3:
  {
  lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_31 = lean_ctor_get(x_1, 0);
  lean_inc(x_31);
  x_32 = lean_ctor_get(x_1, 1);
  lean_inc(x_32);
  x_33 = lean_ctor_get(x_1, 2);
  lean_inc(x_33);
  lean_dec(x_1);
  x_34 = lean_apply_3(x_7, x_31, x_32, x_33);
  return x_34;
  }
  case 4:
  {
  lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_35 = lean_ctor_get(x_1, 0);
  lean_inc(x_35);
  x_36 = lean_ctor_get(x_1, 1);
  lean_inc(x_36);
  x_37 = lean_ctor_get(x_1, 2);
  lean_inc(x_37);
  x_38 = lean_ctor_get(x_1, 3);
  lean_inc(x_38);
  lean_dec(x_1);
  x_39 = lean_apply_4(x_5, x_35, x_36, x_37, x_38);
  return x_39;
  }
  case 5:
  {
  lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_40 = lean_ctor_get(x_1, 0);
  lean_inc(x_40);
  x_41 = lean_ctor_get(x_1, 1);
  lean_inc(x_41);
  x_42 = lean_ctor_get(x_1, 2);
  lean_inc(x_42);
  x_43 = lean_ctor_get(x_1, 3);
  lean_inc(x_43);
  x_44 = lean_ctor_get(x_1, 4);
  lean_inc(x_44);
  x_45 = lean_ctor_get(x_1, 5);
  lean_inc(x_45);
  lean_dec(x_1);
  x_46 = lean_apply_6(x_6, x_40, x_41, x_42, x_43, x_44, x_45);
  return x_46;
  }
  case 6:
  {
  lean_object* x_47; lean_object* x_48; uint8_t x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_47 = lean_ctor_get(x_1, 0);
  lean_inc(x_47);
  x_48 = lean_ctor_get(x_1, 1);
  lean_inc(x_48);
  x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
  x_50 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1);
  x_51 = lean_ctor_get(x_1, 2);
  lean_inc(x_51);
  lean_dec(x_1);
  x_52 = lean_box(x_49);
  x_53 = lean_box(x_50);
  x_54 = lean_apply_5(x_8, x_47, x_48, x_52, x_53, x_51);
  return x_54;
  }
  case 7:
  {
  lean_object* x_55; lean_object* x_56; uint8_t x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_55 = lean_ctor_get(x_1, 0);
  lean_inc(x_55);
  x_56 = lean_ctor_get(x_1, 1);
  lean_inc(x_56);
  x_57 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
  x_58 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1);
  x_59 = lean_ctor_get(x_1, 2);
  lean_inc(x_59);
  lean_dec(x_1);
  x_60 = lean_box(x_57);
  x_61 = lean_box(x_58);
  x_62 = lean_apply_5(x_9, x_55, x_56, x_60, x_61, x_59);
  return x_62;
  }
  case 8:
  {
  lean_object* x_63; lean_object* x_64; lean_object* x_65; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_63 = lean_ctor_get(x_1, 0);
  lean_inc(x_63);
  x_64 = lean_ctor_get(x_1, 1);
  lean_inc(x_64);
  lean_dec(x_1);
  x_65 = lean_apply_2(x_10, x_63, x_64);
  return x_65;
  }
  case 9:
  {
  lean_object* x_66; lean_object* x_67; lean_object* x_68; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_66 = lean_ctor_get(x_1, 0);
  lean_inc(x_66);
  x_67 = lean_ctor_get(x_1, 1);
  lean_inc(x_67);
  lean_dec(x_1);
  x_68 = lean_apply_2(x_11, x_66, x_67);
  return x_68;
  }
  case 10:
  {
  lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_69 = lean_ctor_get(x_1, 0);
  lean_inc(x_69);
  x_70 = lean_ctor_get(x_1, 1);
  lean_inc(x_70);
  x_71 = lean_ctor_get(x_1, 2);
  lean_inc(x_71);
  x_72 = lean_ctor_get(x_1, 3);
  lean_inc(x_72);
  lean_dec(x_1);
  x_73 = lean_apply_4(x_12, x_69, x_70, x_71, x_72);
  return x_73;
  }
  case 11:
  {
  lean_object* x_74; lean_object* x_75; 
  lean_dec(x_15);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_74 = lean_ctor_get(x_1, 0);
  lean_inc(x_74);
  lean_dec(x_1);
  x_75 = lean_apply_1(x_14, x_74);
  return x_75;
  }
  case 12:
  {
  lean_object* x_76; lean_object* x_77; lean_object* x_78; 
  lean_dec(x_15);
  lean_dec(x_14);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_76 = lean_ctor_get(x_1, 0);
  lean_inc(x_76);
  x_77 = lean_ctor_get(x_1, 1);
  lean_inc(x_77);
  lean_dec(x_1);
  x_78 = lean_apply_2(x_13, x_76, x_77);
  return x_78;
  }
  default: 
  {
  lean_object* x_79; lean_object* x_80; 
  lean_dec(x_14);
  lean_dec(x_13);
  lean_dec(x_12);
  lean_dec(x_11);
  lean_dec(x_10);
  lean_dec(x_9);
  lean_dec(x_8);
  lean_dec(x_7);
  lean_dec(x_6);
  lean_dec(x_5);
  lean_dec(x_4);
  lean_dec(x_3);
  lean_dec(x_2);
  x_79 = lean_box(0);
  x_80 = lean_apply_1(x_15, x_79);
  return x_80;
  }
  }
  }
  }
  lean_object* l_Lean_IR_formatFnBodyHead_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l_Lean_IR_formatFnBodyHead_match__1___rarg), 15, 0);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("let ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" := ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("block_");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__6() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" := ...");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__7() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__6;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__8() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("set ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__9() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__8;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__10() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("] := ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__11() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__10;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__12() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("setTag ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__13() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__12;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__14() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("uset ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__15() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__14;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__16() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("sset ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__17() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__16;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__18() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("] : ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__19() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__18;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__20() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("inc");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__21() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__20;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__22() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2;
  x_2 = lean_string_length(x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__23() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__22;
  x_2 = lean_nat_to_int(x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__24() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__21;
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
  x_3 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_3, 0, x_1);
  lean_ctor_set(x_3, 1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__25() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__24;
  x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_3 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_3, 0, x_1);
  lean_ctor_set(x_3, 1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__26() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("dec");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__27() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__26;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__28() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__27;
  x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
  x_3 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_3, 0, x_1);
  lean_ctor_set(x_3, 1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__29() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; lean_object* x_3; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__28;
  x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_3 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_3, 0, x_1);
  lean_ctor_set(x_3, 1, x_2);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__30() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("del ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__31() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__30;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__32() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("mdata ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__33() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__32;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__34() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("case ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__35() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__34;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__36() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" of ...");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__37() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__36;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__38() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("ret ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__39() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__38;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__40() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("jmp ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__41() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__40;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__42() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("⊥");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__43() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBodyHead___closed__42;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* lean_ir_format_fn_body_head(lean_object* x_1) {
  _start:
  {
  switch (lean_obj_tag(x_1)) {
  case 0:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
  x_2 = lean_ctor_get(x_1, 0);
  lean_inc(x_2);
  x_3 = lean_ctor_get(x_1, 1);
  lean_inc(x_3);
  x_4 = lean_ctor_get(x_1, 2);
  lean_inc(x_4);
  lean_dec(x_1);
  x_5 = l_Nat_repr(x_2);
  x_6 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_7 = lean_string_append(x_6, x_5);
  lean_dec(x_5);
  x_8 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_8, 0, x_7);
  x_9 = l_Lean_IR_formatFnBodyHead___closed__2;
  x_10 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_10, 0, x_9);
  lean_ctor_set(x_10, 1, x_8);
  x_11 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_10);
  lean_ctor_set(x_12, 1, x_11);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_3);
  x_14 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_14, 0, x_12);
  lean_ctor_set(x_14, 1, x_13);
  x_15 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_16 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_16, 0, x_14);
  lean_ctor_set(x_16, 1, x_15);
  x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_4);
  x_18 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_18, 0, x_16);
  lean_ctor_set(x_18, 1, x_17);
  return x_18;
  }
  case 1:
  {
  lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
  x_19 = lean_ctor_get(x_1, 0);
  lean_inc(x_19);
  x_20 = lean_ctor_get(x_1, 1);
  lean_inc(x_20);
  lean_dec(x_1);
  x_21 = l_Nat_repr(x_19);
  x_22 = l_Lean_IR_formatFnBodyHead___closed__5;
  x_23 = lean_string_append(x_22, x_21);
  lean_dec(x_21);
  x_24 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_24, 0, x_23);
  x_25 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_20);
  lean_dec(x_20);
  x_26 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_26, 0, x_24);
  lean_ctor_set(x_26, 1, x_25);
  x_27 = l_Lean_IR_formatFnBodyHead___closed__7;
  x_28 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_28, 0, x_26);
  lean_ctor_set(x_28, 1, x_27);
  return x_28;
  }
  case 2:
  {
  lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
  x_29 = lean_ctor_get(x_1, 0);
  lean_inc(x_29);
  x_30 = lean_ctor_get(x_1, 1);
  lean_inc(x_30);
  x_31 = lean_ctor_get(x_1, 2);
  lean_inc(x_31);
  lean_dec(x_1);
  x_32 = l_Nat_repr(x_29);
  x_33 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_34 = lean_string_append(x_33, x_32);
  lean_dec(x_32);
  x_35 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_35, 0, x_34);
  x_36 = l_Lean_IR_formatFnBodyHead___closed__9;
  x_37 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_37, 0, x_36);
  lean_ctor_set(x_37, 1, x_35);
  x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_39 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_39, 0, x_37);
  lean_ctor_set(x_39, 1, x_38);
  x_40 = l_Nat_repr(x_30);
  x_41 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_41, 0, x_40);
  x_42 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_42, 0, x_39);
  lean_ctor_set(x_42, 1, x_41);
  x_43 = l_Lean_IR_formatFnBodyHead___closed__11;
  x_44 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_44, 0, x_42);
  lean_ctor_set(x_44, 1, x_43);
  x_45 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_31);
  x_46 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_46, 0, x_44);
  lean_ctor_set(x_46, 1, x_45);
  return x_46;
  }
  case 3:
  {
  lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
  x_47 = lean_ctor_get(x_1, 0);
  lean_inc(x_47);
  x_48 = lean_ctor_get(x_1, 1);
  lean_inc(x_48);
  lean_dec(x_1);
  x_49 = l_Nat_repr(x_47);
  x_50 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_51 = lean_string_append(x_50, x_49);
  lean_dec(x_49);
  x_52 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_52, 0, x_51);
  x_53 = l_Lean_IR_formatFnBodyHead___closed__13;
  x_54 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_54, 0, x_53);
  lean_ctor_set(x_54, 1, x_52);
  x_55 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_56 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_56, 0, x_54);
  lean_ctor_set(x_56, 1, x_55);
  x_57 = l_Nat_repr(x_48);
  x_58 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_58, 0, x_57);
  x_59 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_59, 0, x_56);
  lean_ctor_set(x_59, 1, x_58);
  return x_59;
  }
  case 4:
  {
  lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 
  x_60 = lean_ctor_get(x_1, 0);
  lean_inc(x_60);
  x_61 = lean_ctor_get(x_1, 1);
  lean_inc(x_61);
  x_62 = lean_ctor_get(x_1, 2);
  lean_inc(x_62);
  lean_dec(x_1);
  x_63 = l_Nat_repr(x_60);
  x_64 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_65 = lean_string_append(x_64, x_63);
  lean_dec(x_63);
  x_66 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_66, 0, x_65);
  x_67 = l_Lean_IR_formatFnBodyHead___closed__15;
  x_68 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_68, 0, x_67);
  lean_ctor_set(x_68, 1, x_66);
  x_69 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_70 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_70, 0, x_68);
  lean_ctor_set(x_70, 1, x_69);
  x_71 = l_Nat_repr(x_61);
  x_72 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_72, 0, x_71);
  x_73 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_73, 0, x_70);
  lean_ctor_set(x_73, 1, x_72);
  x_74 = l_Lean_IR_formatFnBodyHead___closed__11;
  x_75 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_75, 0, x_73);
  lean_ctor_set(x_75, 1, x_74);
  x_76 = l_Nat_repr(x_62);
  x_77 = lean_string_append(x_64, x_76);
  lean_dec(x_76);
  x_78 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_78, 0, x_77);
  x_79 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_79, 0, x_75);
  lean_ctor_set(x_79, 1, x_78);
  return x_79;
  }
  case 5:
  {
  lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; 
  x_80 = lean_ctor_get(x_1, 0);
  lean_inc(x_80);
  x_81 = lean_ctor_get(x_1, 1);
  lean_inc(x_81);
  x_82 = lean_ctor_get(x_1, 2);
  lean_inc(x_82);
  x_83 = lean_ctor_get(x_1, 3);
  lean_inc(x_83);
  x_84 = lean_ctor_get(x_1, 4);
  lean_inc(x_84);
  lean_dec(x_1);
  x_85 = l_Nat_repr(x_80);
  x_86 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_87 = lean_string_append(x_86, x_85);
  lean_dec(x_85);
  x_88 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_88, 0, x_87);
  x_89 = l_Lean_IR_formatFnBodyHead___closed__17;
  x_90 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_90, 0, x_89);
  lean_ctor_set(x_90, 1, x_88);
  x_91 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_92 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_92, 0, x_90);
  lean_ctor_set(x_92, 1, x_91);
  x_93 = l_Nat_repr(x_81);
  x_94 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_94, 0, x_93);
  x_95 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_95, 0, x_92);
  lean_ctor_set(x_95, 1, x_94);
  x_96 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  x_97 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_97, 0, x_95);
  lean_ctor_set(x_97, 1, x_96);
  x_98 = l_Nat_repr(x_82);
  x_99 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_99, 0, x_98);
  x_100 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_100, 0, x_97);
  lean_ctor_set(x_100, 1, x_99);
  x_101 = l_Lean_IR_formatFnBodyHead___closed__19;
  x_102 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_102, 0, x_100);
  lean_ctor_set(x_102, 1, x_101);
  x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_84);
  x_104 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_104, 0, x_102);
  lean_ctor_set(x_104, 1, x_103);
  x_105 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_106 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_106, 0, x_104);
  lean_ctor_set(x_106, 1, x_105);
  x_107 = l_Nat_repr(x_83);
  x_108 = lean_string_append(x_86, x_107);
  lean_dec(x_107);
  x_109 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_109, 0, x_108);
  x_110 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_110, 0, x_106);
  lean_ctor_set(x_110, 1, x_109);
  return x_110;
  }
  case 6:
  {
  lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; 
  x_111 = lean_ctor_get(x_1, 0);
  lean_inc(x_111);
  x_112 = lean_ctor_get(x_1, 1);
  lean_inc(x_112);
  lean_dec(x_1);
  x_113 = lean_unsigned_to_nat(1u);
  x_114 = lean_nat_dec_eq(x_112, x_113);
  x_115 = l_Nat_repr(x_111);
  x_116 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_117 = lean_string_append(x_116, x_115);
  lean_dec(x_115);
  x_118 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_118, 0, x_117);
  if (x_114 == 0)
  {
  lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 
  x_119 = l_Nat_repr(x_112);
  x_120 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_120, 0, x_119);
  x_121 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_122 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_122, 0, x_121);
  lean_ctor_set(x_122, 1, x_120);
  x_123 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  x_124 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_124, 0, x_122);
  lean_ctor_set(x_124, 1, x_123);
  x_125 = l_Lean_IR_formatFnBodyHead___closed__23;
  x_126 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_126, 0, x_125);
  lean_ctor_set(x_126, 1, x_124);
  x_127 = 0;
  x_128 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_128, 0, x_126);
  lean_ctor_set_uint8(x_128, sizeof(void*)*1, x_127);
  x_129 = l_Lean_IR_formatFnBodyHead___closed__21;
  x_130 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_130, 0, x_129);
  lean_ctor_set(x_130, 1, x_128);
  x_131 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_132 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_132, 0, x_130);
  lean_ctor_set(x_132, 1, x_131);
  x_133 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_133, 0, x_132);
  lean_ctor_set(x_133, 1, x_118);
  return x_133;
  }
  else
  {
  lean_object* x_134; lean_object* x_135; 
  lean_dec(x_112);
  x_134 = l_Lean_IR_formatFnBodyHead___closed__25;
  x_135 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_135, 0, x_134);
  lean_ctor_set(x_135, 1, x_118);
  return x_135;
  }
  }
  case 7:
  {
  lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; 
  x_136 = lean_ctor_get(x_1, 0);
  lean_inc(x_136);
  x_137 = lean_ctor_get(x_1, 1);
  lean_inc(x_137);
  lean_dec(x_1);
  x_138 = lean_unsigned_to_nat(1u);
  x_139 = lean_nat_dec_eq(x_137, x_138);
  x_140 = l_Nat_repr(x_136);
  x_141 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_142 = lean_string_append(x_141, x_140);
  lean_dec(x_140);
  x_143 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_143, 0, x_142);
  if (x_139 == 0)
  {
  lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; 
  x_144 = l_Nat_repr(x_137);
  x_145 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_145, 0, x_144);
  x_146 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_147 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_147, 0, x_146);
  lean_ctor_set(x_147, 1, x_145);
  x_148 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  x_149 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_149, 0, x_147);
  lean_ctor_set(x_149, 1, x_148);
  x_150 = l_Lean_IR_formatFnBodyHead___closed__23;
  x_151 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_151, 0, x_150);
  lean_ctor_set(x_151, 1, x_149);
  x_152 = 0;
  x_153 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_153, 0, x_151);
  lean_ctor_set_uint8(x_153, sizeof(void*)*1, x_152);
  x_154 = l_Lean_IR_formatFnBodyHead___closed__27;
  x_155 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_155, 0, x_154);
  lean_ctor_set(x_155, 1, x_153);
  x_156 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_157 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_157, 0, x_155);
  lean_ctor_set(x_157, 1, x_156);
  x_158 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_158, 0, x_157);
  lean_ctor_set(x_158, 1, x_143);
  return x_158;
  }
  else
  {
  lean_object* x_159; lean_object* x_160; 
  lean_dec(x_137);
  x_159 = l_Lean_IR_formatFnBodyHead___closed__29;
  x_160 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_160, 0, x_159);
  lean_ctor_set(x_160, 1, x_143);
  return x_160;
  }
  }
  case 8:
  {
  lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; 
  x_161 = lean_ctor_get(x_1, 0);
  lean_inc(x_161);
  lean_dec(x_1);
  x_162 = l_Nat_repr(x_161);
  x_163 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_164 = lean_string_append(x_163, x_162);
  lean_dec(x_162);
  x_165 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_165, 0, x_164);
  x_166 = l_Lean_IR_formatFnBodyHead___closed__31;
  x_167 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_167, 0, x_166);
  lean_ctor_set(x_167, 1, x_165);
  return x_167;
  }
  case 9:
  {
  lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; 
  x_168 = lean_ctor_get(x_1, 0);
  lean_inc(x_168);
  lean_dec(x_1);
  x_169 = l_Lean_formatKVMap(x_168);
  x_170 = l_Lean_IR_formatFnBodyHead___closed__33;
  x_171 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_171, 0, x_170);
  lean_ctor_set(x_171, 1, x_169);
  return x_171;
  }
  case 10:
  {
  lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; 
  x_172 = lean_ctor_get(x_1, 1);
  lean_inc(x_172);
  lean_dec(x_1);
  x_173 = l_Nat_repr(x_172);
  x_174 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_175 = lean_string_append(x_174, x_173);
  lean_dec(x_173);
  x_176 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_176, 0, x_175);
  x_177 = l_Lean_IR_formatFnBodyHead___closed__35;
  x_178 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_178, 0, x_177);
  lean_ctor_set(x_178, 1, x_176);
  x_179 = l_Lean_IR_formatFnBodyHead___closed__37;
  x_180 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_180, 0, x_178);
  lean_ctor_set(x_180, 1, x_179);
  return x_180;
  }
  case 11:
  {
  lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; 
  x_181 = lean_ctor_get(x_1, 0);
  lean_inc(x_181);
  lean_dec(x_1);
  x_182 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_181);
  x_183 = l_Lean_IR_formatFnBodyHead___closed__39;
  x_184 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_184, 0, x_183);
  lean_ctor_set(x_184, 1, x_182);
  return x_184;
  }
  case 12:
  {
  lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; 
  x_185 = lean_ctor_get(x_1, 0);
  lean_inc(x_185);
  x_186 = lean_ctor_get(x_1, 1);
  lean_inc(x_186);
  lean_dec(x_1);
  x_187 = l_Nat_repr(x_185);
  x_188 = l_Lean_IR_formatFnBodyHead___closed__5;
  x_189 = lean_string_append(x_188, x_187);
  lean_dec(x_187);
  x_190 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_190, 0, x_189);
  x_191 = l_Lean_IR_formatFnBodyHead___closed__41;
  x_192 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_192, 0, x_191);
  lean_ctor_set(x_192, 1, x_190);
  x_193 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_186);
  lean_dec(x_186);
  x_194 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_194, 0, x_192);
  lean_ctor_set(x_194, 1, x_193);
  return x_194;
  }
  default: 
  {
  lean_object* x_195; 
  x_195 = l_Lean_IR_formatFnBodyHead___closed__43;
  return x_195;
  }
  }
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
  _start:
  {
  uint8_t x_6; 
  x_6 = x_3 == x_4;
  if (x_6 == 0)
  {
  lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; 
  x_7 = lean_array_uget(x_2, x_3);
  x_8 = lean_box(1);
  x_9 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_9, 0, x_5);
  lean_ctor_set(x_9, 1, x_8);
  lean_inc(x_1);
  x_10 = lean_alloc_closure((void*)(l_Lean_IR_formatFnBody_loop), 2, 1);
  lean_closure_set(x_10, 0, x_1);
  lean_inc(x_1);
  x_11 = l_Lean_IR_formatAlt(x_10, x_1, x_7);
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_9);
  lean_ctor_set(x_12, 1, x_11);
  x_13 = 1;
  x_14 = x_3 + x_13;
  x_3 = x_14;
  x_5 = x_12;
  goto _start;
  }
  else
  {
  lean_dec(x_1);
  return x_5;
  }
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(";");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBody_loop___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" :=");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBody_loop___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__5() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string(" of");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__6() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatFnBody_loop___closed__5;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatFnBody_loop(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  switch (lean_obj_tag(x_2)) {
  case 0:
  {
  lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
  x_3 = lean_ctor_get(x_2, 0);
  lean_inc(x_3);
  x_4 = lean_ctor_get(x_2, 1);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_2, 2);
  lean_inc(x_5);
  x_6 = lean_ctor_get(x_2, 3);
  lean_inc(x_6);
  lean_dec(x_2);
  x_7 = l_Nat_repr(x_3);
  x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_9 = lean_string_append(x_8, x_7);
  lean_dec(x_7);
  x_10 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_10, 0, x_9);
  x_11 = l_Lean_IR_formatFnBodyHead___closed__2;
  x_12 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_12, 0, x_11);
  lean_ctor_set(x_12, 1, x_10);
  x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_14 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_14, 0, x_12);
  lean_ctor_set(x_14, 1, x_13);
  x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_4);
  x_16 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_16, 0, x_14);
  lean_ctor_set(x_16, 1, x_15);
  x_17 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_18 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_18, 0, x_16);
  lean_ctor_set(x_18, 1, x_17);
  x_19 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_5);
  x_20 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_20, 0, x_18);
  lean_ctor_set(x_20, 1, x_19);
  x_21 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_22 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_22, 0, x_20);
  lean_ctor_set(x_22, 1, x_21);
  x_23 = lean_box(1);
  x_24 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_24, 0, x_22);
  lean_ctor_set(x_24, 1, x_23);
  x_25 = l_Lean_IR_formatFnBody_loop(x_1, x_6);
  x_26 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_26, 0, x_24);
  lean_ctor_set(x_26, 1, x_25);
  return x_26;
  }
  case 1:
  {
  lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
  x_27 = lean_ctor_get(x_2, 0);
  lean_inc(x_27);
  x_28 = lean_ctor_get(x_2, 1);
  lean_inc(x_28);
  x_29 = lean_ctor_get(x_2, 2);
  lean_inc(x_29);
  x_30 = lean_ctor_get(x_2, 3);
  lean_inc(x_30);
  lean_dec(x_2);
  x_31 = l_Nat_repr(x_27);
  x_32 = l_Lean_IR_formatFnBodyHead___closed__5;
  x_33 = lean_string_append(x_32, x_31);
  lean_dec(x_31);
  x_34 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_34, 0, x_33);
  x_35 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_28);
  lean_dec(x_28);
  x_36 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_36, 0, x_34);
  lean_ctor_set(x_36, 1, x_35);
  x_37 = l_Lean_IR_formatFnBody_loop___closed__4;
  x_38 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_38, 0, x_36);
  lean_ctor_set(x_38, 1, x_37);
  lean_inc(x_1);
  x_39 = lean_nat_to_int(x_1);
  lean_inc(x_1);
  x_40 = l_Lean_IR_formatFnBody_loop(x_1, x_29);
  x_41 = lean_box(1);
  x_42 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_42, 0, x_41);
  lean_ctor_set(x_42, 1, x_40);
  x_43 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_43, 0, x_39);
  lean_ctor_set(x_43, 1, x_42);
  x_44 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_44, 0, x_38);
  lean_ctor_set(x_44, 1, x_43);
  x_45 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_46 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_46, 0, x_44);
  lean_ctor_set(x_46, 1, x_45);
  x_47 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_47, 0, x_46);
  lean_ctor_set(x_47, 1, x_41);
  x_48 = l_Lean_IR_formatFnBody_loop(x_1, x_30);
  x_49 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_49, 0, x_47);
  lean_ctor_set(x_49, 1, x_48);
  return x_49;
  }
  case 2:
  {
  lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
  x_50 = lean_ctor_get(x_2, 0);
  lean_inc(x_50);
  x_51 = lean_ctor_get(x_2, 1);
  lean_inc(x_51);
  x_52 = lean_ctor_get(x_2, 2);
  lean_inc(x_52);
  x_53 = lean_ctor_get(x_2, 3);
  lean_inc(x_53);
  lean_dec(x_2);
  x_54 = l_Nat_repr(x_50);
  x_55 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_56 = lean_string_append(x_55, x_54);
  lean_dec(x_54);
  x_57 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_57, 0, x_56);
  x_58 = l_Lean_IR_formatFnBodyHead___closed__9;
  x_59 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_59, 0, x_58);
  lean_ctor_set(x_59, 1, x_57);
  x_60 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_61 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_61, 0, x_59);
  lean_ctor_set(x_61, 1, x_60);
  x_62 = l_Nat_repr(x_51);
  x_63 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_63, 0, x_62);
  x_64 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_64, 0, x_61);
  lean_ctor_set(x_64, 1, x_63);
  x_65 = l_Lean_IR_formatFnBodyHead___closed__11;
  x_66 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_66, 0, x_64);
  lean_ctor_set(x_66, 1, x_65);
  x_67 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_52);
  x_68 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_68, 0, x_66);
  lean_ctor_set(x_68, 1, x_67);
  x_69 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_70 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_70, 0, x_68);
  lean_ctor_set(x_70, 1, x_69);
  x_71 = lean_box(1);
  x_72 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_72, 0, x_70);
  lean_ctor_set(x_72, 1, x_71);
  x_73 = l_Lean_IR_formatFnBody_loop(x_1, x_53);
  x_74 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_74, 0, x_72);
  lean_ctor_set(x_74, 1, x_73);
  return x_74;
  }
  case 3:
  {
  lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
  x_75 = lean_ctor_get(x_2, 0);
  lean_inc(x_75);
  x_76 = lean_ctor_get(x_2, 1);
  lean_inc(x_76);
  x_77 = lean_ctor_get(x_2, 2);
  lean_inc(x_77);
  lean_dec(x_2);
  x_78 = l_Nat_repr(x_75);
  x_79 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_80 = lean_string_append(x_79, x_78);
  lean_dec(x_78);
  x_81 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_81, 0, x_80);
  x_82 = l_Lean_IR_formatFnBodyHead___closed__13;
  x_83 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_83, 0, x_82);
  lean_ctor_set(x_83, 1, x_81);
  x_84 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_85 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_85, 0, x_83);
  lean_ctor_set(x_85, 1, x_84);
  x_86 = l_Nat_repr(x_76);
  x_87 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_87, 0, x_86);
  x_88 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_88, 0, x_85);
  lean_ctor_set(x_88, 1, x_87);
  x_89 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_90 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_90, 0, x_88);
  lean_ctor_set(x_90, 1, x_89);
  x_91 = lean_box(1);
  x_92 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_92, 0, x_90);
  lean_ctor_set(x_92, 1, x_91);
  x_93 = l_Lean_IR_formatFnBody_loop(x_1, x_77);
  x_94 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_94, 0, x_92);
  lean_ctor_set(x_94, 1, x_93);
  return x_94;
  }
  case 4:
  {
  lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
  x_95 = lean_ctor_get(x_2, 0);
  lean_inc(x_95);
  x_96 = lean_ctor_get(x_2, 1);
  lean_inc(x_96);
  x_97 = lean_ctor_get(x_2, 2);
  lean_inc(x_97);
  x_98 = lean_ctor_get(x_2, 3);
  lean_inc(x_98);
  lean_dec(x_2);
  x_99 = l_Nat_repr(x_95);
  x_100 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_101 = lean_string_append(x_100, x_99);
  lean_dec(x_99);
  x_102 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_102, 0, x_101);
  x_103 = l_Lean_IR_formatFnBodyHead___closed__15;
  x_104 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_104, 0, x_103);
  lean_ctor_set(x_104, 1, x_102);
  x_105 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_106 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_106, 0, x_104);
  lean_ctor_set(x_106, 1, x_105);
  x_107 = l_Nat_repr(x_96);
  x_108 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_108, 0, x_107);
  x_109 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_109, 0, x_106);
  lean_ctor_set(x_109, 1, x_108);
  x_110 = l_Lean_IR_formatFnBodyHead___closed__11;
  x_111 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_111, 0, x_109);
  lean_ctor_set(x_111, 1, x_110);
  x_112 = l_Nat_repr(x_97);
  x_113 = lean_string_append(x_100, x_112);
  lean_dec(x_112);
  x_114 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_114, 0, x_113);
  x_115 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_115, 0, x_111);
  lean_ctor_set(x_115, 1, x_114);
  x_116 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_117 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_117, 0, x_115);
  lean_ctor_set(x_117, 1, x_116);
  x_118 = lean_box(1);
  x_119 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_119, 0, x_117);
  lean_ctor_set(x_119, 1, x_118);
  x_120 = l_Lean_IR_formatFnBody_loop(x_1, x_98);
  x_121 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_121, 0, x_119);
  lean_ctor_set(x_121, 1, x_120);
  return x_121;
  }
  case 5:
  {
  lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; 
  x_122 = lean_ctor_get(x_2, 0);
  lean_inc(x_122);
  x_123 = lean_ctor_get(x_2, 1);
  lean_inc(x_123);
  x_124 = lean_ctor_get(x_2, 2);
  lean_inc(x_124);
  x_125 = lean_ctor_get(x_2, 3);
  lean_inc(x_125);
  x_126 = lean_ctor_get(x_2, 4);
  lean_inc(x_126);
  x_127 = lean_ctor_get(x_2, 5);
  lean_inc(x_127);
  lean_dec(x_2);
  x_128 = l_Nat_repr(x_122);
  x_129 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_130 = lean_string_append(x_129, x_128);
  lean_dec(x_128);
  x_131 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_131, 0, x_130);
  x_132 = l_Lean_IR_formatFnBodyHead___closed__17;
  x_133 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_133, 0, x_132);
  lean_ctor_set(x_133, 1, x_131);
  x_134 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_135 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_135, 0, x_133);
  lean_ctor_set(x_135, 1, x_134);
  x_136 = l_Nat_repr(x_123);
  x_137 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_137, 0, x_136);
  x_138 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_138, 0, x_135);
  lean_ctor_set(x_138, 1, x_137);
  x_139 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
  x_140 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_140, 0, x_138);
  lean_ctor_set(x_140, 1, x_139);
  x_141 = l_Nat_repr(x_124);
  x_142 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_142, 0, x_141);
  x_143 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_143, 0, x_140);
  lean_ctor_set(x_143, 1, x_142);
  x_144 = l_Lean_IR_formatFnBodyHead___closed__19;
  x_145 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_145, 0, x_143);
  lean_ctor_set(x_145, 1, x_144);
  x_146 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_126);
  x_147 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_147, 0, x_145);
  lean_ctor_set(x_147, 1, x_146);
  x_148 = l_Lean_IR_formatFnBodyHead___closed__4;
  x_149 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_149, 0, x_147);
  lean_ctor_set(x_149, 1, x_148);
  x_150 = l_Nat_repr(x_125);
  x_151 = lean_string_append(x_129, x_150);
  lean_dec(x_150);
  x_152 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_152, 0, x_151);
  x_153 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_153, 0, x_149);
  lean_ctor_set(x_153, 1, x_152);
  x_154 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_155 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_155, 0, x_153);
  lean_ctor_set(x_155, 1, x_154);
  x_156 = lean_box(1);
  x_157 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_157, 0, x_155);
  lean_ctor_set(x_157, 1, x_156);
  x_158 = l_Lean_IR_formatFnBody_loop(x_1, x_127);
  x_159 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_159, 0, x_157);
  lean_ctor_set(x_159, 1, x_158);
  return x_159;
  }
  case 6:
  {
  lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; 
  x_160 = lean_ctor_get(x_2, 0);
  lean_inc(x_160);
  x_161 = lean_ctor_get(x_2, 1);
  lean_inc(x_161);
  x_162 = lean_ctor_get(x_2, 2);
  lean_inc(x_162);
  lean_dec(x_2);
  x_163 = lean_unsigned_to_nat(1u);
  x_164 = lean_nat_dec_eq(x_161, x_163);
  x_165 = l_Nat_repr(x_160);
  x_166 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_167 = lean_string_append(x_166, x_165);
  lean_dec(x_165);
  x_168 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_168, 0, x_167);
  x_169 = l_Lean_IR_formatFnBody_loop(x_1, x_162);
  if (x_164 == 0)
  {
  lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 
  x_170 = l_Nat_repr(x_161);
  x_171 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_171, 0, x_170);
  x_172 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_173 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_173, 0, x_172);
  lean_ctor_set(x_173, 1, x_171);
  x_174 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  x_175 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_175, 0, x_173);
  lean_ctor_set(x_175, 1, x_174);
  x_176 = l_Lean_IR_formatFnBodyHead___closed__23;
  x_177 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_177, 0, x_176);
  lean_ctor_set(x_177, 1, x_175);
  x_178 = 0;
  x_179 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_179, 0, x_177);
  lean_ctor_set_uint8(x_179, sizeof(void*)*1, x_178);
  x_180 = l_Lean_IR_formatFnBodyHead___closed__21;
  x_181 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_181, 0, x_180);
  lean_ctor_set(x_181, 1, x_179);
  x_182 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_183 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_183, 0, x_181);
  lean_ctor_set(x_183, 1, x_182);
  x_184 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_184, 0, x_183);
  lean_ctor_set(x_184, 1, x_168);
  x_185 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_186 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_186, 0, x_184);
  lean_ctor_set(x_186, 1, x_185);
  x_187 = lean_box(1);
  x_188 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_188, 0, x_186);
  lean_ctor_set(x_188, 1, x_187);
  x_189 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_189, 0, x_188);
  lean_ctor_set(x_189, 1, x_169);
  return x_189;
  }
  else
  {
  lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; 
  lean_dec(x_161);
  x_190 = l_Lean_IR_formatFnBodyHead___closed__25;
  x_191 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_191, 0, x_190);
  lean_ctor_set(x_191, 1, x_168);
  x_192 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_193 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_193, 0, x_191);
  lean_ctor_set(x_193, 1, x_192);
  x_194 = lean_box(1);
  x_195 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_195, 0, x_193);
  lean_ctor_set(x_195, 1, x_194);
  x_196 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_196, 0, x_195);
  lean_ctor_set(x_196, 1, x_169);
  return x_196;
  }
  }
  case 7:
  {
  lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; 
  x_197 = lean_ctor_get(x_2, 0);
  lean_inc(x_197);
  x_198 = lean_ctor_get(x_2, 1);
  lean_inc(x_198);
  x_199 = lean_ctor_get(x_2, 2);
  lean_inc(x_199);
  lean_dec(x_2);
  x_200 = lean_unsigned_to_nat(1u);
  x_201 = lean_nat_dec_eq(x_198, x_200);
  x_202 = l_Nat_repr(x_197);
  x_203 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_204 = lean_string_append(x_203, x_202);
  lean_dec(x_202);
  x_205 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_205, 0, x_204);
  x_206 = l_Lean_IR_formatFnBody_loop(x_1, x_199);
  if (x_201 == 0)
  {
  lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; 
  x_207 = l_Nat_repr(x_198);
  x_208 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_208, 0, x_207);
  x_209 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
  x_210 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_210, 0, x_209);
  lean_ctor_set(x_210, 1, x_208);
  x_211 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
  x_212 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_212, 0, x_210);
  lean_ctor_set(x_212, 1, x_211);
  x_213 = l_Lean_IR_formatFnBodyHead___closed__23;
  x_214 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_214, 0, x_213);
  lean_ctor_set(x_214, 1, x_212);
  x_215 = 0;
  x_216 = lean_alloc_ctor(5, 1, 1);
  lean_ctor_set(x_216, 0, x_214);
  lean_ctor_set_uint8(x_216, sizeof(void*)*1, x_215);
  x_217 = l_Lean_IR_formatFnBodyHead___closed__27;
  x_218 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_218, 0, x_217);
  lean_ctor_set(x_218, 1, x_216);
  x_219 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
  x_220 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_220, 0, x_218);
  lean_ctor_set(x_220, 1, x_219);
  x_221 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_221, 0, x_220);
  lean_ctor_set(x_221, 1, x_205);
  x_222 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_223 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_223, 0, x_221);
  lean_ctor_set(x_223, 1, x_222);
  x_224 = lean_box(1);
  x_225 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_225, 0, x_223);
  lean_ctor_set(x_225, 1, x_224);
  x_226 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_226, 0, x_225);
  lean_ctor_set(x_226, 1, x_206);
  return x_226;
  }
  else
  {
  lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; 
  lean_dec(x_198);
  x_227 = l_Lean_IR_formatFnBodyHead___closed__29;
  x_228 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_228, 0, x_227);
  lean_ctor_set(x_228, 1, x_205);
  x_229 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_230 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_230, 0, x_228);
  lean_ctor_set(x_230, 1, x_229);
  x_231 = lean_box(1);
  x_232 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_232, 0, x_230);
  lean_ctor_set(x_232, 1, x_231);
  x_233 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_233, 0, x_232);
  lean_ctor_set(x_233, 1, x_206);
  return x_233;
  }
  }
  case 8:
  {
  lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; 
  x_234 = lean_ctor_get(x_2, 0);
  lean_inc(x_234);
  x_235 = lean_ctor_get(x_2, 1);
  lean_inc(x_235);
  lean_dec(x_2);
  x_236 = l_Nat_repr(x_234);
  x_237 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_238 = lean_string_append(x_237, x_236);
  lean_dec(x_236);
  x_239 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_239, 0, x_238);
  x_240 = l_Lean_IR_formatFnBodyHead___closed__31;
  x_241 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_241, 0, x_240);
  lean_ctor_set(x_241, 1, x_239);
  x_242 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_243 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_243, 0, x_241);
  lean_ctor_set(x_243, 1, x_242);
  x_244 = lean_box(1);
  x_245 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_245, 0, x_243);
  lean_ctor_set(x_245, 1, x_244);
  x_246 = l_Lean_IR_formatFnBody_loop(x_1, x_235);
  x_247 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_247, 0, x_245);
  lean_ctor_set(x_247, 1, x_246);
  return x_247;
  }
  case 9:
  {
  lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; 
  x_248 = lean_ctor_get(x_2, 0);
  lean_inc(x_248);
  x_249 = lean_ctor_get(x_2, 1);
  lean_inc(x_249);
  lean_dec(x_2);
  x_250 = l_Lean_formatKVMap(x_248);
  x_251 = l_Lean_IR_formatFnBodyHead___closed__33;
  x_252 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_252, 0, x_251);
  lean_ctor_set(x_252, 1, x_250);
  x_253 = l_Lean_IR_formatFnBody_loop___closed__2;
  x_254 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_254, 0, x_252);
  lean_ctor_set(x_254, 1, x_253);
  x_255 = lean_box(1);
  x_256 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_256, 0, x_254);
  lean_ctor_set(x_256, 1, x_255);
  x_257 = l_Lean_IR_formatFnBody_loop(x_1, x_249);
  x_258 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_258, 0, x_256);
  lean_ctor_set(x_258, 1, x_257);
  return x_258;
  }
  case 10:
  {
  lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; 
  x_259 = lean_ctor_get(x_2, 1);
  lean_inc(x_259);
  x_260 = lean_ctor_get(x_2, 2);
  lean_inc(x_260);
  x_261 = lean_ctor_get(x_2, 3);
  lean_inc(x_261);
  lean_dec(x_2);
  x_262 = l_Nat_repr(x_259);
  x_263 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
  x_264 = lean_string_append(x_263, x_262);
  lean_dec(x_262);
  x_265 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_265, 0, x_264);
  x_266 = l_Lean_IR_formatFnBodyHead___closed__35;
  x_267 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_267, 0, x_266);
  lean_ctor_set(x_267, 1, x_265);
  x_268 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_269 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_269, 0, x_267);
  lean_ctor_set(x_269, 1, x_268);
  x_270 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_260);
  x_271 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_271, 0, x_269);
  lean_ctor_set(x_271, 1, x_270);
  x_272 = l_Lean_IR_formatFnBody_loop___closed__6;
  x_273 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_273, 0, x_271);
  lean_ctor_set(x_273, 1, x_272);
  x_274 = lean_array_get_size(x_261);
  x_275 = lean_unsigned_to_nat(0u);
  x_276 = lean_nat_dec_lt(x_275, x_274);
  if (x_276 == 0)
  {
  lean_object* x_277; lean_object* x_278; 
  lean_dec(x_274);
  lean_dec(x_261);
  lean_dec(x_1);
  x_277 = lean_box(0);
  x_278 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_278, 0, x_273);
  lean_ctor_set(x_278, 1, x_277);
  return x_278;
  }
  else
  {
  uint8_t x_279; 
  x_279 = lean_nat_dec_le(x_274, x_274);
  if (x_279 == 0)
  {
  lean_object* x_280; lean_object* x_281; 
  lean_dec(x_274);
  lean_dec(x_261);
  lean_dec(x_1);
  x_280 = lean_box(0);
  x_281 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_281, 0, x_273);
  lean_ctor_set(x_281, 1, x_280);
  return x_281;
  }
  else
  {
  size_t x_282; size_t x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; 
  x_282 = 0;
  x_283 = lean_usize_of_nat(x_274);
  lean_dec(x_274);
  x_284 = lean_box(0);
  x_285 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1(x_1, x_261, x_282, x_283, x_284);
  lean_dec(x_261);
  x_286 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_286, 0, x_273);
  lean_ctor_set(x_286, 1, x_285);
  return x_286;
  }
  }
  }
  case 11:
  {
  lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; 
  lean_dec(x_1);
  x_287 = lean_ctor_get(x_2, 0);
  lean_inc(x_287);
  lean_dec(x_2);
  x_288 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_287);
  x_289 = l_Lean_IR_formatFnBodyHead___closed__39;
  x_290 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_290, 0, x_289);
  lean_ctor_set(x_290, 1, x_288);
  return x_290;
  }
  case 12:
  {
  lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; 
  lean_dec(x_1);
  x_291 = lean_ctor_get(x_2, 0);
  lean_inc(x_291);
  x_292 = lean_ctor_get(x_2, 1);
  lean_inc(x_292);
  lean_dec(x_2);
  x_293 = l_Nat_repr(x_291);
  x_294 = l_Lean_IR_formatFnBodyHead___closed__5;
  x_295 = lean_string_append(x_294, x_293);
  lean_dec(x_293);
  x_296 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_296, 0, x_295);
  x_297 = l_Lean_IR_formatFnBodyHead___closed__41;
  x_298 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_298, 0, x_297);
  lean_ctor_set(x_298, 1, x_296);
  x_299 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_292);
  lean_dec(x_292);
  x_300 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_300, 0, x_298);
  lean_ctor_set(x_300, 1, x_299);
  return x_300;
  }
  default: 
  {
  lean_object* x_301; 
  lean_dec(x_1);
  x_301 = l_Lean_IR_formatFnBodyHead___closed__43;
  return x_301;
  }
  }
  }
  }
  lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
  _start:
  {
  size_t x_6; size_t x_7; lean_object* x_8; 
  x_6 = lean_unbox_usize(x_3);
  lean_dec(x_3);
  x_7 = lean_unbox_usize(x_4);
  lean_dec(x_4);
  x_8 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1(x_1, x_2, x_6, x_7, x_5);
  lean_dec(x_2);
  return x_8;
  }
  }
  lean_object* l_Lean_IR_formatFnBody(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  lean_object* x_3; 
  x_3 = l_Lean_IR_formatFnBody_loop(x_2, x_1);
  return x_3;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatFnBody___closed__1() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = lean_unsigned_to_nat(2u);
  x_2 = lean_alloc_closure((void*)(l_Lean_IR_formatFnBody_loop), 2, 1);
  lean_closure_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_instToFormatFnBody() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToFormatFnBody___closed__1;
  return x_1;
  }
  }
  lean_object* l_Lean_IR_instToStringFnBody(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
  x_2 = lean_unsigned_to_nat(2u);
  x_3 = l_Lean_IR_formatFnBody_loop(x_2, x_1);
  x_4 = l_Std_Format_defWidth;
  x_5 = lean_format_pretty(x_3, x_4);
  return x_5;
  }
  }
  lean_object* l_Lean_IR_formatDecl_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
  lean_dec(x_3);
  x_4 = lean_ctor_get(x_1, 0);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_1, 1);
  lean_inc(x_5);
  x_6 = lean_ctor_get(x_1, 2);
  lean_inc(x_6);
  x_7 = lean_ctor_get(x_1, 3);
  lean_inc(x_7);
  x_8 = lean_ctor_get(x_1, 4);
  lean_inc(x_8);
  lean_dec(x_1);
  x_9 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_8);
  return x_9;
  }
  else
  {
  lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
  lean_dec(x_2);
  x_10 = lean_ctor_get(x_1, 0);
  lean_inc(x_10);
  x_11 = lean_ctor_get(x_1, 1);
  lean_inc(x_11);
  x_12 = lean_ctor_get(x_1, 2);
  lean_inc(x_12);
  x_13 = lean_ctor_get(x_1, 3);
  lean_inc(x_13);
  lean_dec(x_1);
  x_14 = lean_apply_4(x_3, x_10, x_11, x_12, x_13);
  return x_14;
  }
  }
  }
  lean_object* l_Lean_IR_formatDecl_match__1(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; 
  x_2 = lean_alloc_closure((void*)(l_Lean_IR_formatDecl_match__1___rarg), 3, 0);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatDecl___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("def ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatDecl___closed__2() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatDecl___closed__1;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  static lean_object* _init_l_Lean_IR_formatDecl___closed__3() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_mk_string("extern ");
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_formatDecl___closed__4() {
  _start:
  {
  lean_object* x_1; lean_object* x_2; 
  x_1 = l_Lean_IR_formatDecl___closed__3;
  x_2 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_2, 0, x_1);
  return x_2;
  }
  }
  lean_object* l_Lean_IR_formatDecl(lean_object* x_1, lean_object* x_2) {
  _start:
  {
  if (lean_obj_tag(x_1) == 0)
  {
  lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
  x_3 = lean_ctor_get(x_1, 0);
  lean_inc(x_3);
  x_4 = lean_ctor_get(x_1, 1);
  lean_inc(x_4);
  x_5 = lean_ctor_get(x_1, 2);
  lean_inc(x_5);
  x_6 = lean_ctor_get(x_1, 3);
  lean_inc(x_6);
  lean_dec(x_1);
  x_7 = 1;
  x_8 = l_Lean_Name_toString(x_3, x_7);
  x_9 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_9, 0, x_8);
  x_10 = l_Lean_IR_formatDecl___closed__2;
  x_11 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_11, 0, x_10);
  lean_ctor_set(x_11, 1, x_9);
  x_12 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_4);
  lean_dec(x_4);
  x_13 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_13, 0, x_11);
  lean_ctor_set(x_13, 1, x_12);
  x_14 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_15 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_15, 0, x_13);
  lean_ctor_set(x_15, 1, x_14);
  x_16 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
  x_17 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_17, 0, x_15);
  lean_ctor_set(x_17, 1, x_16);
  x_18 = l_Lean_IR_formatFnBody_loop___closed__4;
  x_19 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_19, 0, x_17);
  lean_ctor_set(x_19, 1, x_18);
  lean_inc(x_2);
  x_20 = lean_nat_to_int(x_2);
  x_21 = l_Lean_IR_formatFnBody_loop(x_2, x_6);
  x_22 = lean_box(1);
  x_23 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_23, 0, x_22);
  lean_ctor_set(x_23, 1, x_21);
  x_24 = lean_alloc_ctor(3, 2, 0);
  lean_ctor_set(x_24, 0, x_20);
  lean_ctor_set(x_24, 1, x_23);
  x_25 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_25, 0, x_19);
  lean_ctor_set(x_25, 1, x_24);
  return x_25;
  }
  else
  {
  lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
  lean_dec(x_2);
  x_26 = lean_ctor_get(x_1, 0);
  lean_inc(x_26);
  x_27 = lean_ctor_get(x_1, 1);
  lean_inc(x_27);
  x_28 = lean_ctor_get(x_1, 2);
  lean_inc(x_28);
  lean_dec(x_1);
  x_29 = 1;
  x_30 = l_Lean_Name_toString(x_26, x_29);
  x_31 = lean_alloc_ctor(2, 1, 0);
  lean_ctor_set(x_31, 0, x_30);
  x_32 = l_Lean_IR_formatDecl___closed__4;
  x_33 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_33, 0, x_32);
  lean_ctor_set(x_33, 1, x_31);
  x_34 = l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(x_27);
  lean_dec(x_27);
  x_35 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_35, 0, x_33);
  lean_ctor_set(x_35, 1, x_34);
  x_36 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
  x_37 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_37, 0, x_35);
  lean_ctor_set(x_37, 1, x_36);
  x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_28);
  x_39 = lean_alloc_ctor(4, 2, 0);
  lean_ctor_set(x_39, 0, x_37);
  lean_ctor_set(x_39, 1, x_38);
  return x_39;
  }
  }
  }
  lean_object* l_Lean_IR_instToFormatDecl(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; 
  x_2 = lean_unsigned_to_nat(2u);
  x_3 = l_Lean_IR_formatDecl(x_1, x_2);
  return x_3;
  }
  }
  lean_object* lean_ir_decl_to_string(lean_object* x_1) {
  _start:
  {
  lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
  x_2 = lean_unsigned_to_nat(2u);
  x_3 = l_Lean_IR_formatDecl(x_1, x_2);
  x_4 = l_Std_Format_defWidth;
  x_5 = lean_format_pretty(x_3, x_4);
  return x_5;
  }
  }
  static lean_object* _init_l_Lean_IR_instToStringDecl___closed__1() {
  _start:
  {
  lean_object* x_1; 
  x_1 = lean_alloc_closure((void*)(lean_ir_decl_to_string), 1, 0);
  return x_1;
  }
  }
  static lean_object* _init_l_Lean_IR_instToStringDecl() {
  _start:
  {
  lean_object* x_1; 
  x_1 = l_Lean_IR_instToStringDecl___closed__1;
  return x_1;
  }
  }
  lean_object* initialize_Init(lean_object*);
  lean_object* initialize_Lean_Compiler_IR_Basic(lean_object*);
  static bool _G_initialized = false;
  lean_object* initialize_Lean_Compiler_IR_Format(lean_object* w) {
  lean_object * res;
  if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
  _G_initialized = true;
  res = initialize_Init(lean_io_mk_world());
  if (lean_io_result_is_error(res)) return res;
  lean_dec_ref(res);
  res = initialize_Lean_Compiler_IR_Basic(lean_io_mk_world());
  if (lean_io_result_is_error(res)) return res;
  lean_dec_ref(res);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3);
  l_Lean_IR_instToFormatArg___closed__1 = _init_l_Lean_IR_instToFormatArg___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatArg___closed__1);
  l_Lean_IR_instToFormatArg = _init_l_Lean_IR_instToFormatArg();
  lean_mark_persistent(l_Lean_IR_instToFormatArg);
  l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1();
  lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1);
  l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2();
  lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2);
  l_Lean_IR_instToFormatLitVal___closed__1 = _init_l_Lean_IR_instToFormatLitVal___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatLitVal___closed__1);
  l_Lean_IR_instToFormatLitVal = _init_l_Lean_IR_instToFormatLitVal();
  lean_mark_persistent(l_Lean_IR_instToFormatLitVal);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6);
  l_Lean_IR_instToFormatCtorInfo___closed__1 = _init_l_Lean_IR_instToFormatCtorInfo___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatCtorInfo___closed__1);
  l_Lean_IR_instToFormatCtorInfo = _init_l_Lean_IR_instToFormatCtorInfo();
  lean_mark_persistent(l_Lean_IR_instToFormatCtorInfo);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__17);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__19);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__21);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__27);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__33);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__34);
  l_Lean_IR_instToFormatExpr___closed__1 = _init_l_Lean_IR_instToFormatExpr___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatExpr___closed__1);
  l_Lean_IR_instToFormatExpr = _init_l_Lean_IR_instToFormatExpr();
  lean_mark_persistent(l_Lean_IR_instToFormatExpr);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__16);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__23);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26);
  l_Lean_IR_instToFormatIRType___closed__1 = _init_l_Lean_IR_instToFormatIRType___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatIRType___closed__1);
  l_Lean_IR_instToFormatIRType = _init_l_Lean_IR_instToFormatIRType();
  lean_mark_persistent(l_Lean_IR_instToFormatIRType);
  l_Lean_IR_instToStringIRType___closed__1 = _init_l_Lean_IR_instToStringIRType___closed__1();
  lean_mark_persistent(l_Lean_IR_instToStringIRType___closed__1);
  l_Lean_IR_instToStringIRType___closed__2 = _init_l_Lean_IR_instToStringIRType___closed__2();
  lean_mark_persistent(l_Lean_IR_instToStringIRType___closed__2);
  l_Lean_IR_instToStringIRType = _init_l_Lean_IR_instToStringIRType();
  lean_mark_persistent(l_Lean_IR_instToStringIRType);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__5);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7);
  l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8 = _init_l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8();
  lean_mark_persistent(l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8);
  l_Lean_IR_instToFormatParam___closed__1 = _init_l_Lean_IR_instToFormatParam___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatParam___closed__1);
  l_Lean_IR_instToFormatParam = _init_l_Lean_IR_instToFormatParam();
  lean_mark_persistent(l_Lean_IR_instToFormatParam);
  l_Lean_IR_formatAlt___closed__1 = _init_l_Lean_IR_formatAlt___closed__1();
  lean_mark_persistent(l_Lean_IR_formatAlt___closed__1);
  l_Lean_IR_formatAlt___closed__2 = _init_l_Lean_IR_formatAlt___closed__2();
  lean_mark_persistent(l_Lean_IR_formatAlt___closed__2);
  l_Lean_IR_formatAlt___closed__3 = _init_l_Lean_IR_formatAlt___closed__3();
  lean_mark_persistent(l_Lean_IR_formatAlt___closed__3);
  l_Lean_IR_formatAlt___closed__4 = _init_l_Lean_IR_formatAlt___closed__4();
  lean_mark_persistent(l_Lean_IR_formatAlt___closed__4);
  l_Lean_IR_formatFnBodyHead___closed__1 = _init_l_Lean_IR_formatFnBodyHead___closed__1();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__1);
  l_Lean_IR_formatFnBodyHead___closed__2 = _init_l_Lean_IR_formatFnBodyHead___closed__2();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__2);
  l_Lean_IR_formatFnBodyHead___closed__3 = _init_l_Lean_IR_formatFnBodyHead___closed__3();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__3);
  l_Lean_IR_formatFnBodyHead___closed__4 = _init_l_Lean_IR_formatFnBodyHead___closed__4();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__4);
  l_Lean_IR_formatFnBodyHead___closed__5 = _init_l_Lean_IR_formatFnBodyHead___closed__5();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__5);
  l_Lean_IR_formatFnBodyHead___closed__6 = _init_l_Lean_IR_formatFnBodyHead___closed__6();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__6);
  l_Lean_IR_formatFnBodyHead___closed__7 = _init_l_Lean_IR_formatFnBodyHead___closed__7();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__7);
  l_Lean_IR_formatFnBodyHead___closed__8 = _init_l_Lean_IR_formatFnBodyHead___closed__8();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__8);
  l_Lean_IR_formatFnBodyHead___closed__9 = _init_l_Lean_IR_formatFnBodyHead___closed__9();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__9);
  l_Lean_IR_formatFnBodyHead___closed__10 = _init_l_Lean_IR_formatFnBodyHead___closed__10();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__10);
  l_Lean_IR_formatFnBodyHead___closed__11 = _init_l_Lean_IR_formatFnBodyHead___closed__11();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__11);
  l_Lean_IR_formatFnBodyHead___closed__12 = _init_l_Lean_IR_formatFnBodyHead___closed__12();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__12);
  l_Lean_IR_formatFnBodyHead___closed__13 = _init_l_Lean_IR_formatFnBodyHead___closed__13();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__13);
  l_Lean_IR_formatFnBodyHead___closed__14 = _init_l_Lean_IR_formatFnBodyHead___closed__14();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__14);
  l_Lean_IR_formatFnBodyHead___closed__15 = _init_l_Lean_IR_formatFnBodyHead___closed__15();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__15);
  l_Lean_IR_formatFnBodyHead___closed__16 = _init_l_Lean_IR_formatFnBodyHead___closed__16();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__16);
  l_Lean_IR_formatFnBodyHead___closed__17 = _init_l_Lean_IR_formatFnBodyHead___closed__17();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__17);
  l_Lean_IR_formatFnBodyHead___closed__18 = _init_l_Lean_IR_formatFnBodyHead___closed__18();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__18);
  l_Lean_IR_formatFnBodyHead___closed__19 = _init_l_Lean_IR_formatFnBodyHead___closed__19();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__19);
  l_Lean_IR_formatFnBodyHead___closed__20 = _init_l_Lean_IR_formatFnBodyHead___closed__20();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__20);
  l_Lean_IR_formatFnBodyHead___closed__21 = _init_l_Lean_IR_formatFnBodyHead___closed__21();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__21);
  l_Lean_IR_formatFnBodyHead___closed__22 = _init_l_Lean_IR_formatFnBodyHead___closed__22();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__22);
  l_Lean_IR_formatFnBodyHead___closed__23 = _init_l_Lean_IR_formatFnBodyHead___closed__23();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__23);
  l_Lean_IR_formatFnBodyHead___closed__24 = _init_l_Lean_IR_formatFnBodyHead___closed__24();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__24);
  l_Lean_IR_formatFnBodyHead___closed__25 = _init_l_Lean_IR_formatFnBodyHead___closed__25();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__25);
  l_Lean_IR_formatFnBodyHead___closed__26 = _init_l_Lean_IR_formatFnBodyHead___closed__26();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__26);
  l_Lean_IR_formatFnBodyHead___closed__27 = _init_l_Lean_IR_formatFnBodyHead___closed__27();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__27);
  l_Lean_IR_formatFnBodyHead___closed__28 = _init_l_Lean_IR_formatFnBodyHead___closed__28();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__28);
  l_Lean_IR_formatFnBodyHead___closed__29 = _init_l_Lean_IR_formatFnBodyHead___closed__29();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__29);
  l_Lean_IR_formatFnBodyHead___closed__30 = _init_l_Lean_IR_formatFnBodyHead___closed__30();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__30);
  l_Lean_IR_formatFnBodyHead___closed__31 = _init_l_Lean_IR_formatFnBodyHead___closed__31();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__31);
  l_Lean_IR_formatFnBodyHead___closed__32 = _init_l_Lean_IR_formatFnBodyHead___closed__32();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__32);
  l_Lean_IR_formatFnBodyHead___closed__33 = _init_l_Lean_IR_formatFnBodyHead___closed__33();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__33);
  l_Lean_IR_formatFnBodyHead___closed__34 = _init_l_Lean_IR_formatFnBodyHead___closed__34();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__34);
  l_Lean_IR_formatFnBodyHead___closed__35 = _init_l_Lean_IR_formatFnBodyHead___closed__35();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__35);
  l_Lean_IR_formatFnBodyHead___closed__36 = _init_l_Lean_IR_formatFnBodyHead___closed__36();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__36);
  l_Lean_IR_formatFnBodyHead___closed__37 = _init_l_Lean_IR_formatFnBodyHead___closed__37();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__37);
  l_Lean_IR_formatFnBodyHead___closed__38 = _init_l_Lean_IR_formatFnBodyHead___closed__38();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__38);
  l_Lean_IR_formatFnBodyHead___closed__39 = _init_l_Lean_IR_formatFnBodyHead___closed__39();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__39);
  l_Lean_IR_formatFnBodyHead___closed__40 = _init_l_Lean_IR_formatFnBodyHead___closed__40();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__40);
  l_Lean_IR_formatFnBodyHead___closed__41 = _init_l_Lean_IR_formatFnBodyHead___closed__41();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__41);
  l_Lean_IR_formatFnBodyHead___closed__42 = _init_l_Lean_IR_formatFnBodyHead___closed__42();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__42);
  l_Lean_IR_formatFnBodyHead___closed__43 = _init_l_Lean_IR_formatFnBodyHead___closed__43();
  lean_mark_persistent(l_Lean_IR_formatFnBodyHead___closed__43);
  l_Lean_IR_formatFnBody_loop___closed__1 = _init_l_Lean_IR_formatFnBody_loop___closed__1();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__1);
  l_Lean_IR_formatFnBody_loop___closed__2 = _init_l_Lean_IR_formatFnBody_loop___closed__2();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__2);
  l_Lean_IR_formatFnBody_loop___closed__3 = _init_l_Lean_IR_formatFnBody_loop___closed__3();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__3);
  l_Lean_IR_formatFnBody_loop___closed__4 = _init_l_Lean_IR_formatFnBody_loop___closed__4();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__4);
  l_Lean_IR_formatFnBody_loop___closed__5 = _init_l_Lean_IR_formatFnBody_loop___closed__5();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__5);
  l_Lean_IR_formatFnBody_loop___closed__6 = _init_l_Lean_IR_formatFnBody_loop___closed__6();
  lean_mark_persistent(l_Lean_IR_formatFnBody_loop___closed__6);
  l_Lean_IR_instToFormatFnBody___closed__1 = _init_l_Lean_IR_instToFormatFnBody___closed__1();
  lean_mark_persistent(l_Lean_IR_instToFormatFnBody___closed__1);
  l_Lean_IR_instToFormatFnBody = _init_l_Lean_IR_instToFormatFnBody();
  lean_mark_persistent(l_Lean_IR_instToFormatFnBody);
  l_Lean_IR_formatDecl___closed__1 = _init_l_Lean_IR_formatDecl___closed__1();
  lean_mark_persistent(l_Lean_IR_formatDecl___closed__1);
  l_Lean_IR_formatDecl___closed__2 = _init_l_Lean_IR_formatDecl___closed__2();
  lean_mark_persistent(l_Lean_IR_formatDecl___closed__2);
  l_Lean_IR_formatDecl___closed__3 = _init_l_Lean_IR_formatDecl___closed__3();
  lean_mark_persistent(l_Lean_IR_formatDecl___closed__3);
  l_Lean_IR_formatDecl___closed__4 = _init_l_Lean_IR_formatDecl___closed__4();
  lean_mark_persistent(l_Lean_IR_formatDecl___closed__4);
  l_Lean_IR_instToStringDecl___closed__1 = _init_l_Lean_IR_instToStringDecl___closed__1();
  lean_mark_persistent(l_Lean_IR_instToStringDecl___closed__1);
  l_Lean_IR_instToStringDecl = _init_l_Lean_IR_instToStringDecl();
  lean_mark_persistent(l_Lean_IR_instToStringDecl);
  return lean_io_result_mk_ok(lean_box(0));
  }
  #ifdef __cplusplus
  }
  #endif
  