// Lean compiler output
// Module: Lean.Compiler.IR.Format
// Imports: 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
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
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_formatCtorInfo___closed__2;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__23;
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__34;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__16;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__39;
lean_object* l_Lean_IR_instToStringIRType___lambda__1(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__4;
lean_object* l_Lean_IR_instToStringExpr(lean_object*);
lean_object* l_Lean_IR_formatArray___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__32;
lean_object* l_Lean_IR_formatFnBody_loop(lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatDecl___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__2;
LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__2(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__10;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__9;
lean_object* l_String_quote(lean_object*);
LEAN_EXPORT 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_Lean_Name_toString(lean_object*, uint8_t);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__25;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__13;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__22;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
uint8_t lean_usize_dec_eq(size_t, size_t);
lean_object* l_Lean_IR_formatAlt(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_instToFormatFnBody___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__4;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__35;
static lean_object* l_Lean_IR_formatDecl___closed__2;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__40;
lean_object* l_Lean_IR_formatParams___boxed(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__36;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__17;
static lean_object* l_Lean_IR_formatAlt___closed__2;
static lean_object* l_Lean_IR_instToFormatArg___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__2;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatIRType;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__6;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__3;
LEAN_EXPORT lean_object* lean_ir_format_fn_body_head(lean_object*);
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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__7;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
static lean_object* l_Lean_IR_instToFormatLitVal___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__11;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__6;
static lean_object* l_Lean_IR_formatFnBody_loop___closed__3;
LEAN_EXPORT 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_Lean_IR_formatFnBodyHead___closed__38;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__19;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__33;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatParam;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1(lean_object*, lean_object*);
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_formatIRType___closed__16;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___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__32;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__9;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__5;
LEAN_EXPORT 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*);
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatParams___spec__2(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_IR_formatFnBody_loop___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__1;
size_t lean_usize_of_nat(lean_object*);
static lean_object* l_Lean_IR_instToFormatCtorInfo___closed__1;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__20;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
static lean_object* l_Lean_IR_instToFormatExpr___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__13;
static lean_object* l_Lean_IR_instToStringIRType___closed__2;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__12;
uint8_t lean_nat_dec_eq(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___closed__1;
lean_object* l_Lean_IR_instToFormatDecl(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__31;
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30;
lean_object* l_Lean_IR_formatArray___at_Lean_IR_formatParams___spec__1(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15;
static lean_object* l_Lean_IR_formatFnBody_loop___closed__6;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__14;
lean_object* l_Lean_IR_instToStringFnBody(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__11;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__23;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__6;
lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1___boxed(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
lean_object* l_Lean_IR_formatParams(lean_object*);
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__1;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__2;
lean_object* lean_array_to_list(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
static lean_object* l_Lean_IR_formatAlt___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__13;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
lean_object* l_Lean_IR_formatDecl(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__3;
uint8_t lean_name_eq(lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__5;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__14;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__41;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam(lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToStringDecl;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
lean_object* l_Lean_formatKVMap(lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__31;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatLitVal;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8;
extern lean_object* l_Std_Format_defWidth;
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_formatIRType___closed__1;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatCtorInfo;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__29;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__7;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__21;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__1;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1(lean_object*);
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
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_formatIRType___closed__21;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
LEAN_EXPORT 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__2;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatArg;
static lean_object* l_Lean_IR_formatFnBody_loop___closed__5;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatFnBody;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__3;
lean_object* lean_string_length(lean_object*);
static lean_object* l_Lean_IR_instToFormatIRType___closed__1;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__4;
static lean_object* l_Lean_IR_formatAlt___closed__1;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__25;
lean_object* l_Lean_IR_formatArray___rarg___boxed(lean_object*, lean_object*);
lean_object* l_Lean_IR_formatArray(lean_object*);
static lean_object* l_Lean_IR_formatFnBody_loop___closed__2;
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_formatIRType___closed__23;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__18;
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__9;
LEAN_EXPORT lean_object* l_Lean_IR_instToFormatExpr;
static lean_object* l_Lean_IR_formatFnBody_loop___closed__4;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__3;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__28;
static lean_object* l_Lean_IR_formatAlt___closed__4;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__15;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__1;
static lean_object* l_Lean_IR_formatDecl___closed__4;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__1___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__12;
LEAN_EXPORT lean_object* l_Lean_IR_instToStringIRType;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__26;
lean_object* l_Lean_IR_formatFnBody(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__29;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__42;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__8;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__27;
lean_object* lean_ir_decl_to_string(lean_object*);
lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__30;
size_t lean_usize_add(size_t, size_t);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__3;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_IR_formatFnBodyHead___closed__43;
LEAN_EXPORT 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_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__7;
lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__10;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
LEAN_EXPORT 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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__5;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__8;
static lean_object* l_Lean_IR_instToStringDecl___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(lean_object*);
lean_object* l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(lean_object*);
lean_object* l_Lean_IR_formatFnBodyHead(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__2;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__6;
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__25;
static lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
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__17;
static lean_object* l_Lean_IR_instToStringIRType___closed__1;
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_formatExpr___closed__27;
static lean_object* l_Lean_IR_formatFnBodyHead___closed__1;
static lean_object* l_Lean_IR_formatDecl___closed__1;
static lean_object* l_Lean_IR_instToFormatParam___closed__1;
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_unchecked("x_", 2, 2);
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_unchecked("◾", 3, 1);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3);
x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_6 = lean_string_append(x_5, x_4);
lean_dec(x_4);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_6);
return x_1;
}
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_Init_Data_Repr_0__Nat_reprFast(x_7);
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
lean_object* x_12; 
x_12 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__3;
return x_12;
}
}
}
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_unchecked(" ", 1, 1);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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 = lean_usize_dec_eq(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(5, 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(5, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = 1;
x_13 = lean_usize_add(x_3, x_12);
x_3 = x_13;
x_5 = x_11;
goto _start;
}
else
{
lean_dec(x_1);
return x_5;
}
}
}
LEAN_EXPORT 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_EXPORT 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_EXPORT lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_4);
return x_1;
}
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___private_Init_Data_Repr_0__Nat_reprFast(x_5);
x_7 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
else
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_1);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = l_String_quote(x_9);
lean_dec(x_9);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_10);
return x_1;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = l_String_quote(x_11);
lean_dec(x_11);
x_13 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
}
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_EXPORT 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_unchecked("[", 1, 1);
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(3, 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_unchecked("]", 1, 1);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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; uint8_t 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_8 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = 1;
x_12 = l_Lean_Name_toString(x_1, x_11);
x_13 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_13, 0, x_12);
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_10);
lean_ctor_set(x_14, 1, x_13);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2___closed__5;
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_14);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_box(0);
x_18 = lean_apply_2(x_5, x_16, x_17);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; 
lean_dec(x_2);
lean_dec(x_1);
x_19 = lean_box(0);
x_20 = lean_apply_2(x_5, x_3, x_19);
return x_20;
}
}
}
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_unchecked("ctor_", 5, 5);
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(3, 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_unchecked("", 0, 0);
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(3, 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_unchecked(".", 1, 1);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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; lean_object* x_12; uint8_t x_13; 
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___private_Init_Data_Repr_0__Nat_reprFast(x_3);
x_7 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__2;
x_9 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_7);
x_10 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_nat_dec_lt(x_12, x_4);
if (x_13 == 0)
{
uint8_t x_14; 
x_14 = lean_nat_dec_lt(x_12, x_5);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_5);
lean_dec(x_4);
x_15 = lean_box(0);
x_16 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_10, x_11, x_15);
return x_16;
}
else
{
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; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_10);
lean_ctor_set(x_17, 1, x_11);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
x_20 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4);
x_21 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_21, 0, x_20);
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_19);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_18);
x_24 = l___private_Init_Data_Repr_0__Nat_reprFast(x_5);
x_25 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_26, 0, x_23);
lean_ctor_set(x_26, 1, x_25);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_10);
x_28 = lean_box(0);
x_29 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_10, x_27, x_28);
return x_29;
}
}
else
{
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; 
x_30 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_30, 0, x_10);
lean_ctor_set(x_30, 1, x_11);
x_31 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__6;
x_32 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4);
x_34 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_35, 0, x_32);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_31);
x_37 = l___private_Init_Data_Repr_0__Nat_reprFast(x_5);
x_38 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_38, 0, x_37);
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_36);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_10);
x_41 = lean_box(0);
x_42 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___lambda__2(x_2, x_10, x_40, x_41);
return x_42;
}
}
}
LEAN_EXPORT 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_EXPORT 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_EXPORT 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 = lean_usize_dec_eq(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(5, 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(5, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = 1;
x_12 = lean_usize_add(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_unchecked("reset[", 6, 6);
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(3, 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_unchecked("] ", 2, 2);
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(3, 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_unchecked("reuse", 5, 5);
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(3, 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_unchecked(" in ", 4, 4);
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; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__7;
x_2 = lean_alloc_ctor(3, 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__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__6;
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo___closed__4;
x_3 = lean_alloc_ctor(5, 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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10() {
_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__9;
x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
x_3 = lean_alloc_ctor(5, 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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("!", 1, 1);
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; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__11;
x_2 = lean_alloc_ctor(3, 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__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__6;
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__12;
x_3 = lean_alloc_ctor(5, 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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14() {
_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__13;
x_2 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatArray___spec__1___rarg___closed__2;
x_3 = lean_alloc_ctor(5, 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___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("proj[", 5, 5);
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(3, 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_unchecked("uproj[", 6, 6);
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(3, 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_unchecked("sproj[", 6, 6);
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(3, 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_unchecked(", ", 2, 2);
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(3, 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_unchecked("pap ", 4, 4);
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(3, 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_unchecked("app ", 4, 4);
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(3, 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_unchecked("box ", 4, 4);
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(3, 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_unchecked("unbox ", 6, 6);
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(3, 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_unchecked("isShared ", 9, 9);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_3);
x_6 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_4);
lean_dec(x_4);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_6);
lean_ctor_set(x_1, 0, x_5);
return x_1;
}
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);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_dec(x_1);
x_9 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_7);
x_10 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
return x_11;
}
}
case 1:
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_1);
if (x_12 == 0)
{
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; 
x_13 = lean_ctor_get(x_1, 0);
x_14 = lean_ctor_get(x_1, 1);
x_15 = l___private_Init_Data_Repr_0__Nat_reprFast(x_13);
x_16 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_16);
lean_ctor_set(x_1, 0, x_17);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_18);
x_20 = l___private_Init_Data_Repr_0__Nat_reprFast(x_14);
x_21 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_22 = lean_string_append(x_21, x_20);
lean_dec(x_20);
x_23 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_24, 0, x_19);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
else
{
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; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_25 = lean_ctor_get(x_1, 0);
x_26 = lean_ctor_get(x_1, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_dec(x_1);
x_27 = l___private_Init_Data_Repr_0__Nat_reprFast(x_25);
x_28 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__2;
x_30 = lean_alloc_ctor(5, 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_formatExpr___closed__4;
x_32 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = l___private_Init_Data_Repr_0__Nat_reprFast(x_26);
x_34 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
x_36 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_36);
return x_37;
}
}
case 2:
{
lean_object* x_38; lean_object* x_39; uint8_t 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; 
x_38 = lean_ctor_get(x_1, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_1, 1);
lean_inc(x_39);
x_40 = lean_ctor_get_uint8(x_1, sizeof(void*)*3);
x_41 = lean_ctor_get(x_1, 2);
lean_inc(x_41);
lean_dec(x_1);
x_42 = l___private_Init_Data_Repr_0__Nat_reprFast(x_38);
x_43 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_44 = lean_string_append(x_43, x_42);
lean_dec(x_42);
x_45 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_45, 0, x_44);
x_46 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatCtorInfo(x_39);
x_47 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_41);
lean_dec(x_41);
if (x_40 == 0)
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_48 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__10;
x_49 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_45);
x_50 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
x_51 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_46);
x_53 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_47);
return x_53;
}
else
{
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_54 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__14;
x_55 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_45);
x_56 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__8;
x_57 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_46);
x_59 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_59, 0, x_58);
lean_ctor_set(x_59, 1, x_47);
return x_59;
}
}
case 3:
{
uint8_t x_60; 
x_60 = !lean_is_exclusive(x_1);
if (x_60 == 0)
{
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; 
x_61 = lean_ctor_get(x_1, 0);
x_62 = lean_ctor_get(x_1, 1);
x_63 = l___private_Init_Data_Repr_0__Nat_reprFast(x_61);
x_64 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_64, 0, x_63);
x_65 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_64);
lean_ctor_set(x_1, 0, x_65);
x_66 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_67 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_67, 0, x_1);
lean_ctor_set(x_67, 1, x_66);
x_68 = l___private_Init_Data_Repr_0__Nat_reprFast(x_62);
x_69 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_70 = lean_string_append(x_69, x_68);
lean_dec(x_68);
x_71 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_71, 0, x_70);
x_72 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_72, 0, x_67);
lean_ctor_set(x_72, 1, x_71);
return x_72;
}
else
{
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; 
x_73 = lean_ctor_get(x_1, 0);
x_74 = lean_ctor_get(x_1, 1);
lean_inc(x_74);
lean_inc(x_73);
lean_dec(x_1);
x_75 = l___private_Init_Data_Repr_0__Nat_reprFast(x_73);
x_76 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_76, 0, x_75);
x_77 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__16;
x_78 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_78, 0, x_77);
lean_ctor_set(x_78, 1, x_76);
x_79 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_80 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_80, 0, x_78);
lean_ctor_set(x_80, 1, x_79);
x_81 = l___private_Init_Data_Repr_0__Nat_reprFast(x_74);
x_82 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_83 = lean_string_append(x_82, x_81);
lean_dec(x_81);
x_84 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_84, 0, x_83);
x_85 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_85, 0, x_80);
lean_ctor_set(x_85, 1, x_84);
return x_85;
}
}
case 4:
{
uint8_t x_86; 
x_86 = !lean_is_exclusive(x_1);
if (x_86 == 0)
{
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; 
x_87 = lean_ctor_get(x_1, 0);
x_88 = lean_ctor_get(x_1, 1);
x_89 = l___private_Init_Data_Repr_0__Nat_reprFast(x_87);
x_90 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_90, 0, x_89);
x_91 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_90);
lean_ctor_set(x_1, 0, x_91);
x_92 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_93 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_93, 0, x_1);
lean_ctor_set(x_93, 1, x_92);
x_94 = l___private_Init_Data_Repr_0__Nat_reprFast(x_88);
x_95 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_96 = lean_string_append(x_95, x_94);
lean_dec(x_94);
x_97 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_97, 0, x_96);
x_98 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_98, 0, x_93);
lean_ctor_set(x_98, 1, x_97);
return x_98;
}
else
{
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; 
x_99 = lean_ctor_get(x_1, 0);
x_100 = lean_ctor_get(x_1, 1);
lean_inc(x_100);
lean_inc(x_99);
lean_dec(x_1);
x_101 = l___private_Init_Data_Repr_0__Nat_reprFast(x_99);
x_102 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_102, 0, x_101);
x_103 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__18;
x_104 = lean_alloc_ctor(5, 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_formatExpr___closed__4;
x_106 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l___private_Init_Data_Repr_0__Nat_reprFast(x_100);
x_108 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_109 = lean_string_append(x_108, x_107);
lean_dec(x_107);
x_110 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_110, 0, x_109);
x_111 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_111, 0, x_106);
lean_ctor_set(x_111, 1, x_110);
return x_111;
}
}
case 5:
{
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; 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; 
x_112 = lean_ctor_get(x_1, 0);
lean_inc(x_112);
x_113 = lean_ctor_get(x_1, 1);
lean_inc(x_113);
x_114 = lean_ctor_get(x_1, 2);
lean_inc(x_114);
lean_dec(x_1);
x_115 = l___private_Init_Data_Repr_0__Nat_reprFast(x_112);
x_116 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_116, 0, x_115);
x_117 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__20;
x_118 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_118, 0, x_117);
lean_ctor_set(x_118, 1, x_116);
x_119 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_120 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_120, 0, x_118);
lean_ctor_set(x_120, 1, x_119);
x_121 = l___private_Init_Data_Repr_0__Nat_reprFast(x_113);
x_122 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_122, 0, x_121);
x_123 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_123, 0, x_120);
lean_ctor_set(x_123, 1, x_122);
x_124 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__4;
x_125 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_125, 0, x_123);
lean_ctor_set(x_125, 1, x_124);
x_126 = l___private_Init_Data_Repr_0__Nat_reprFast(x_114);
x_127 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_128 = lean_string_append(x_127, x_126);
lean_dec(x_126);
x_129 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_129, 0, x_128);
x_130 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_130, 0, x_125);
lean_ctor_set(x_130, 1, x_129);
return x_130;
}
case 6:
{
uint8_t x_131; 
x_131 = !lean_is_exclusive(x_1);
if (x_131 == 0)
{
lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; 
x_132 = lean_ctor_get(x_1, 0);
x_133 = lean_ctor_get(x_1, 1);
x_134 = 1;
x_135 = l_Lean_Name_toString(x_132, x_134);
x_136 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_136, 0, x_135);
x_137 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_133);
lean_dec(x_133);
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_137);
lean_ctor_set(x_1, 0, x_136);
return x_1;
}
else
{
lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 
x_138 = lean_ctor_get(x_1, 0);
x_139 = lean_ctor_get(x_1, 1);
lean_inc(x_139);
lean_inc(x_138);
lean_dec(x_1);
x_140 = 1;
x_141 = l_Lean_Name_toString(x_138, x_140);
x_142 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_142, 0, x_141);
x_143 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_139);
lean_dec(x_139);
x_144 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_144, 0, x_142);
lean_ctor_set(x_144, 1, x_143);
return x_144;
}
}
case 7:
{
uint8_t x_145; 
x_145 = !lean_is_exclusive(x_1);
if (x_145 == 0)
{
lean_object* x_146; lean_object* x_147; uint8_t x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 
x_146 = lean_ctor_get(x_1, 0);
x_147 = lean_ctor_get(x_1, 1);
x_148 = 1;
x_149 = l_Lean_Name_toString(x_146, x_148);
x_150 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_150, 0, x_149);
x_151 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_150);
lean_ctor_set(x_1, 0, x_151);
x_152 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_147);
lean_dec(x_147);
x_153 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_153, 0, x_1);
lean_ctor_set(x_153, 1, x_152);
return x_153;
}
else
{
lean_object* x_154; lean_object* x_155; uint8_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; 
x_154 = lean_ctor_get(x_1, 0);
x_155 = lean_ctor_get(x_1, 1);
lean_inc(x_155);
lean_inc(x_154);
lean_dec(x_1);
x_156 = 1;
x_157 = l_Lean_Name_toString(x_154, x_156);
x_158 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_158, 0, x_157);
x_159 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__24;
x_160 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_160, 0, x_159);
lean_ctor_set(x_160, 1, x_158);
x_161 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_155);
lean_dec(x_155);
x_162 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_162, 0, x_160);
lean_ctor_set(x_162, 1, x_161);
return x_162;
}
}
case 8:
{
uint8_t x_163; 
x_163 = !lean_is_exclusive(x_1);
if (x_163 == 0)
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; 
x_164 = lean_ctor_get(x_1, 0);
x_165 = lean_ctor_get(x_1, 1);
x_166 = l___private_Init_Data_Repr_0__Nat_reprFast(x_164);
x_167 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_168 = lean_string_append(x_167, x_166);
lean_dec(x_166);
x_169 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_169, 0, x_168);
x_170 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_169);
lean_ctor_set(x_1, 0, x_170);
x_171 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_165);
lean_dec(x_165);
x_172 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_172, 0, x_1);
lean_ctor_set(x_172, 1, x_171);
return x_172;
}
else
{
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; lean_object* x_181; lean_object* x_182; 
x_173 = lean_ctor_get(x_1, 0);
x_174 = lean_ctor_get(x_1, 1);
lean_inc(x_174);
lean_inc(x_173);
lean_dec(x_1);
x_175 = l___private_Init_Data_Repr_0__Nat_reprFast(x_173);
x_176 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_177 = lean_string_append(x_176, x_175);
lean_dec(x_175);
x_178 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_178, 0, x_177);
x_179 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__26;
x_180 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_180, 0, x_179);
lean_ctor_set(x_180, 1, x_178);
x_181 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_174);
lean_dec(x_174);
x_182 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_182, 0, x_180);
lean_ctor_set(x_182, 1, x_181);
return x_182;
}
}
case 9:
{
uint8_t x_183; 
x_183 = !lean_is_exclusive(x_1);
if (x_183 == 0)
{
lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_184 = lean_ctor_get(x_1, 1);
x_185 = lean_ctor_get(x_1, 0);
lean_dec(x_185);
x_186 = l___private_Init_Data_Repr_0__Nat_reprFast(x_184);
x_187 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_188 = lean_string_append(x_187, x_186);
lean_dec(x_186);
x_189 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_189, 0, x_188);
x_190 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_189);
lean_ctor_set(x_1, 0, x_190);
return x_1;
}
else
{
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_object* x_197; 
x_191 = lean_ctor_get(x_1, 1);
lean_inc(x_191);
lean_dec(x_1);
x_192 = l___private_Init_Data_Repr_0__Nat_reprFast(x_191);
x_193 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_194 = lean_string_append(x_193, x_192);
lean_dec(x_192);
x_195 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_195, 0, x_194);
x_196 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__28;
x_197 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_197, 0, x_196);
lean_ctor_set(x_197, 1, x_195);
return x_197;
}
}
case 10:
{
uint8_t x_198; 
x_198 = !lean_is_exclusive(x_1);
if (x_198 == 0)
{
lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; 
x_199 = lean_ctor_get(x_1, 0);
x_200 = l___private_Init_Data_Repr_0__Nat_reprFast(x_199);
x_201 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_202 = lean_string_append(x_201, x_200);
lean_dec(x_200);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_202);
x_203 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30;
x_204 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_204, 0, x_203);
lean_ctor_set(x_204, 1, x_1);
return x_204;
}
else
{
lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; 
x_205 = lean_ctor_get(x_1, 0);
lean_inc(x_205);
lean_dec(x_1);
x_206 = l___private_Init_Data_Repr_0__Nat_reprFast(x_205);
x_207 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_208 = lean_string_append(x_207, x_206);
lean_dec(x_206);
x_209 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_209, 0, x_208);
x_210 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__30;
x_211 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_211, 0, x_210);
lean_ctor_set(x_211, 1, x_209);
return x_211;
}
}
case 11:
{
lean_object* x_212; lean_object* x_213; 
x_212 = lean_ctor_get(x_1, 0);
lean_inc(x_212);
lean_dec(x_1);
x_213 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatLitVal(x_212);
return x_213;
}
default: 
{
uint8_t x_214; 
x_214 = !lean_is_exclusive(x_1);
if (x_214 == 0)
{
lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; 
x_215 = lean_ctor_get(x_1, 0);
x_216 = l___private_Init_Data_Repr_0__Nat_reprFast(x_215);
x_217 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_218 = lean_string_append(x_217, x_216);
lean_dec(x_216);
lean_ctor_set_tag(x_1, 3);
lean_ctor_set(x_1, 0, x_218);
x_219 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32;
x_220 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_220, 0, x_219);
lean_ctor_set(x_220, 1, x_1);
return x_220;
}
else
{
lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; 
x_221 = lean_ctor_get(x_1, 0);
lean_inc(x_221);
lean_dec(x_1);
x_222 = l___private_Init_Data_Repr_0__Nat_reprFast(x_221);
x_223 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_224 = lean_string_append(x_223, x_222);
lean_dec(x_222);
x_225 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_225, 0, x_224);
x_226 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__32;
x_227 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_227, 0, x_226);
lean_ctor_set(x_227, 1, x_225);
return x_227;
}
}
}
}
}
LEAN_EXPORT 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; lean_object* x_5; 
x_2 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr(x_1);
x_3 = l_Std_Format_defWidth;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_format_pretty(x_2, x_3, x_4, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_1);
lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 0, x_2);
x_7 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_5);
x_8 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_8, 0, x_3);
lean_ctor_set(x_8, 1, x_7);
x_2 = x_8;
x_3 = x_6;
goto _start;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_3, 0);
x_11 = lean_ctor_get(x_3, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_3);
lean_inc(x_1);
x_12 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_12, 0, x_2);
lean_ctor_set(x_12, 1, x_1);
x_13 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_10);
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_2 = x_14;
x_3 = x_11;
goto _start;
}
}
}
}
LEAN_EXPORT 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; 
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);
x_9 = l_List_foldl___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__2(x_2, x_8, x_4);
return x_9;
}
}
}
}
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_unchecked("float", 5, 5);
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(3, 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_unchecked("u8", 2, 2);
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(3, 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_unchecked("u16", 3, 3);
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(3, 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_unchecked("u32", 3, 3);
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(3, 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_unchecked("u64", 3, 3);
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(3, 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_unchecked("usize", 5, 5);
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(3, 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_unchecked("obj", 3, 3);
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(3, 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_unchecked("tobj", 4, 4);
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(3, 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_unchecked("struct ", 7, 7);
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_alloc_ctor(3, 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__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{", 1, 1);
return x_1;
}
}
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__19;
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__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__20;
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__22() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__19;
x_2 = lean_alloc_ctor(3, 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_unchecked("}", 1, 1);
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(3, 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_unchecked("union ", 6, 6);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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:
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_1);
if (x_11 == 0)
{
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; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_12 = lean_ctor_get(x_1, 1);
x_13 = lean_ctor_get(x_1, 0);
lean_dec(x_13);
x_14 = lean_array_to_list(lean_box(0), x_12);
x_15 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_16 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_14, x_15);
x_17 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_16);
lean_ctor_set(x_1, 0, x_17);
x_18 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_18);
x_20 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
x_21 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
x_22 = 0;
x_23 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_22);
x_24 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
return x_25;
}
else
{
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; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_26 = lean_ctor_get(x_1, 1);
lean_inc(x_26);
lean_dec(x_1);
x_27 = lean_array_to_list(lean_box(0), x_26);
x_28 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_29 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_27, x_28);
x_30 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
x_31 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_29);
x_32 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
x_33 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_33, 0, x_31);
lean_ctor_set(x_33, 1, x_32);
x_34 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
x_35 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
x_36 = 0;
x_37 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_36);
x_38 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18;
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
return x_39;
}
}
default: 
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_1);
if (x_40 == 0)
{
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; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_41 = lean_ctor_get(x_1, 1);
x_42 = lean_ctor_get(x_1, 0);
lean_dec(x_42);
x_43 = lean_array_to_list(lean_box(0), x_41);
x_44 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_45 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_43, x_44);
x_46 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_45);
lean_ctor_set(x_1, 0, x_46);
x_47 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__24;
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_1);
lean_ctor_set(x_48, 1, x_47);
x_49 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
x_50 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_48);
x_51 = 0;
x_52 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_52, 0, x_50);
lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51);
x_53 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
x_54 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_52);
return x_54;
}
else
{
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; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_55 = lean_ctor_get(x_1, 1);
lean_inc(x_55);
lean_dec(x_1);
x_56 = lean_array_to_list(lean_box(0), x_55);
x_57 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22;
x_58 = l_Std_Format_joinSep___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___spec__1(x_56, x_57);
x_59 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__22;
x_60 = lean_alloc_ctor(5, 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_formatIRType___closed__24;
x_62 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
x_63 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__21;
x_64 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_62);
x_65 = 0;
x_66 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_65);
x_67 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__26;
x_68 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_66);
return x_68;
}
}
}
}
}
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; lean_object* x_4; 
x_2 = l_Std_Format_defWidth;
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_format_pretty(x_1, x_2, x_3, x_3);
return x_4;
}
}
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;
}
}
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_unchecked("(", 1, 1);
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(3, 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_unchecked(" : ", 3, 3);
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(3, 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_unchecked(")", 1, 1);
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(3, 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_unchecked("@& ", 3, 3);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_15, 0, x_12);
lean_ctor_set(x_15, 1, x_14);
x_16 = lean_alloc_ctor(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_20, 0, x_12);
lean_ctor_set(x_20, 1, x_19);
x_21 = lean_alloc_ctor(5, 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(5, 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;
}
}
static lean_object* _init_l_Lean_IR_formatAlt___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" →", 4, 2);
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(3, 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_unchecked("default →", 11, 9);
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(3, 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)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t 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_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec(x_5);
x_8 = 1;
x_9 = l_Lean_Name_toString(x_7, x_8);
x_10 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Lean_IR_formatAlt___closed__2;
lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_11);
lean_ctor_set(x_3, 0, x_10);
x_12 = lean_nat_to_int(x_2);
x_13 = lean_apply_1(x_1, x_6);
x_14 = lean_box(1);
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
x_16 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_16, 0, x_12);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_3);
lean_ctor_set(x_17, 1, x_16);
return x_17;
}
else
{
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; 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; 
x_18 = lean_ctor_get(x_3, 0);
x_19 = lean_ctor_get(x_3, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_3);
x_20 = lean_ctor_get(x_18, 0);
lean_inc(x_20);
lean_dec(x_18);
x_21 = 1;
x_22 = l_Lean_Name_toString(x_20, x_21);
x_23 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = l_Lean_IR_formatAlt___closed__2;
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
x_26 = lean_nat_to_int(x_2);
x_27 = lean_apply_1(x_1, x_19);
x_28 = lean_box(1);
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_27);
x_30 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_30, 0, x_26);
lean_ctor_set(x_30, 1, x_29);
x_31 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_31, 0, x_25);
lean_ctor_set(x_31, 1, x_30);
return x_31;
}
}
else
{
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; 
x_32 = lean_ctor_get(x_3, 0);
lean_inc(x_32);
lean_dec(x_3);
x_33 = lean_nat_to_int(x_2);
x_34 = lean_apply_1(x_1, x_32);
x_35 = lean_box(1);
x_36 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_34);
x_37 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_37, 0, x_33);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_Lean_IR_formatAlt___closed__4;
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
return x_39;
}
}
}
LEAN_EXPORT 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 = lean_usize_dec_eq(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(5, 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(5, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = 1;
x_12 = lean_usize_add(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_EXPORT 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;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("let ", 4, 4);
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(3, 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_unchecked(" := ", 4, 4);
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(3, 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_unchecked("block_", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ...", 7, 7);
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(3, 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_unchecked("set ", 4, 4);
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(3, 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_unchecked("] := ", 5, 5);
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(3, 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_unchecked("setTag ", 7, 7);
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(3, 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_unchecked("uset ", 5, 5);
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(3, 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_unchecked("sset ", 5, 5);
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(3, 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_unchecked("] : ", 4, 4);
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(3, 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_unchecked("inc", 3, 3);
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(3, 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(5, 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(5, 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_unchecked("dec", 3, 3);
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(3, 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(5, 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(5, 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_unchecked("del ", 4, 4);
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(3, 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_unchecked("mdata ", 6, 6);
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(3, 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_unchecked("case ", 5, 5);
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(3, 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_unchecked(" of ...", 7, 7);
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(3, 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_unchecked("ret ", 4, 4);
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(3, 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_unchecked("jmp ", 4, 4);
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(3, 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_unchecked("⊥", 3, 1);
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(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* l_Lean_IR_formatFnBodyHead(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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_8, 0, x_7);
x_9 = l_Lean_IR_formatFnBodyHead___closed__2;
x_10 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = l_Lean_IR_formatFnBodyHead___closed__9;
x_37 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
x_40 = l___private_Init_Data_Repr_0__Nat_reprFast(x_30);
x_41 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_41, 0, x_40);
x_42 = lean_alloc_ctor(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_52, 0, x_51);
x_53 = l_Lean_IR_formatFnBodyHead___closed__13;
x_54 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
x_57 = l___private_Init_Data_Repr_0__Nat_reprFast(x_48);
x_58 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_58, 0, x_57);
x_59 = lean_alloc_ctor(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_66, 0, x_65);
x_67 = l_Lean_IR_formatFnBodyHead___closed__15;
x_68 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_70, 0, x_68);
lean_ctor_set(x_70, 1, x_69);
x_71 = l___private_Init_Data_Repr_0__Nat_reprFast(x_61);
x_72 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_72, 0, x_71);
x_73 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_75, 0, x_73);
lean_ctor_set(x_75, 1, x_74);
x_76 = l___private_Init_Data_Repr_0__Nat_reprFast(x_62);
x_77 = lean_string_append(x_64, x_76);
lean_dec(x_76);
x_78 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_78, 0, x_77);
x_79 = lean_alloc_ctor(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_88, 0, x_87);
x_89 = l_Lean_IR_formatFnBodyHead___closed__17;
x_90 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_92, 0, x_90);
lean_ctor_set(x_92, 1, x_91);
x_93 = l___private_Init_Data_Repr_0__Nat_reprFast(x_81);
x_94 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_94, 0, x_93);
x_95 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_97, 0, x_95);
lean_ctor_set(x_97, 1, x_96);
x_98 = l___private_Init_Data_Repr_0__Nat_reprFast(x_82);
x_99 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_99, 0, x_98);
x_100 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l___private_Init_Data_Repr_0__Nat_reprFast(x_83);
x_108 = lean_string_append(x_86, x_107);
lean_dec(x_107);
x_109 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_109, 0, x_108);
x_110 = lean_alloc_ctor(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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___private_Init_Data_Repr_0__Nat_reprFast(x_112);
x_120 = lean_alloc_ctor(3, 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(5, 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(5, 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(4, 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(6, 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(5, 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(5, 2, 0);
lean_ctor_set(x_132, 0, x_130);
lean_ctor_set(x_132, 1, x_131);
x_133 = lean_alloc_ctor(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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___private_Init_Data_Repr_0__Nat_reprFast(x_137);
x_145 = lean_alloc_ctor(3, 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(5, 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(5, 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(4, 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(6, 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(5, 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(5, 2, 0);
lean_ctor_set(x_157, 0, x_155);
lean_ctor_set(x_157, 1, x_156);
x_158 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_160, 0, x_159);
lean_ctor_set(x_160, 1, x_143);
return x_160;
}
}
case 8:
{
uint8_t x_161; 
x_161 = !lean_is_exclusive(x_1);
if (x_161 == 0)
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; 
x_162 = lean_ctor_get(x_1, 0);
x_163 = lean_ctor_get(x_1, 1);
lean_dec(x_163);
x_164 = l___private_Init_Data_Repr_0__Nat_reprFast(x_162);
x_165 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_166 = lean_string_append(x_165, x_164);
lean_dec(x_164);
x_167 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_167, 0, x_166);
x_168 = l_Lean_IR_formatFnBodyHead___closed__31;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_167);
lean_ctor_set(x_1, 0, x_168);
return x_1;
}
else
{
lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; 
x_169 = lean_ctor_get(x_1, 0);
lean_inc(x_169);
lean_dec(x_1);
x_170 = l___private_Init_Data_Repr_0__Nat_reprFast(x_169);
x_171 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_172 = lean_string_append(x_171, x_170);
lean_dec(x_170);
x_173 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_173, 0, x_172);
x_174 = l_Lean_IR_formatFnBodyHead___closed__31;
x_175 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_175, 0, x_174);
lean_ctor_set(x_175, 1, x_173);
return x_175;
}
}
case 9:
{
uint8_t x_176; 
x_176 = !lean_is_exclusive(x_1);
if (x_176 == 0)
{
lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; 
x_177 = lean_ctor_get(x_1, 0);
x_178 = lean_ctor_get(x_1, 1);
lean_dec(x_178);
x_179 = l_Lean_formatKVMap(x_177);
x_180 = l_Lean_IR_formatFnBodyHead___closed__33;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_179);
lean_ctor_set(x_1, 0, x_180);
return x_1;
}
else
{
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_Lean_formatKVMap(x_181);
x_183 = l_Lean_IR_formatFnBodyHead___closed__33;
x_184 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_184, 0, x_183);
lean_ctor_set(x_184, 1, x_182);
return x_184;
}
}
case 10:
{
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; 
x_185 = lean_ctor_get(x_1, 1);
lean_inc(x_185);
lean_dec(x_1);
x_186 = l___private_Init_Data_Repr_0__Nat_reprFast(x_185);
x_187 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_188 = lean_string_append(x_187, x_186);
lean_dec(x_186);
x_189 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_189, 0, x_188);
x_190 = l_Lean_IR_formatFnBodyHead___closed__35;
x_191 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_191, 0, x_190);
lean_ctor_set(x_191, 1, x_189);
x_192 = l_Lean_IR_formatFnBodyHead___closed__37;
x_193 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_193, 0, x_191);
lean_ctor_set(x_193, 1, x_192);
return x_193;
}
case 11:
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; 
x_194 = lean_ctor_get(x_1, 0);
lean_inc(x_194);
lean_dec(x_1);
x_195 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_194);
x_196 = l_Lean_IR_formatFnBodyHead___closed__39;
x_197 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_197, 0, x_196);
lean_ctor_set(x_197, 1, x_195);
return x_197;
}
case 12:
{
uint8_t x_198; 
x_198 = !lean_is_exclusive(x_1);
if (x_198 == 0)
{
lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
x_199 = lean_ctor_get(x_1, 0);
x_200 = lean_ctor_get(x_1, 1);
x_201 = l___private_Init_Data_Repr_0__Nat_reprFast(x_199);
x_202 = l_Lean_IR_formatFnBodyHead___closed__5;
x_203 = lean_string_append(x_202, x_201);
lean_dec(x_201);
x_204 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_204, 0, x_203);
x_205 = l_Lean_IR_formatFnBodyHead___closed__41;
lean_ctor_set_tag(x_1, 5);
lean_ctor_set(x_1, 1, x_204);
lean_ctor_set(x_1, 0, x_205);
x_206 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_200);
lean_dec(x_200);
x_207 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_207, 0, x_1);
lean_ctor_set(x_207, 1, x_206);
return x_207;
}
else
{
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; lean_object* x_215; lean_object* x_216; lean_object* x_217; 
x_208 = lean_ctor_get(x_1, 0);
x_209 = lean_ctor_get(x_1, 1);
lean_inc(x_209);
lean_inc(x_208);
lean_dec(x_1);
x_210 = l___private_Init_Data_Repr_0__Nat_reprFast(x_208);
x_211 = l_Lean_IR_formatFnBodyHead___closed__5;
x_212 = lean_string_append(x_211, x_210);
lean_dec(x_210);
x_213 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_213, 0, x_212);
x_214 = l_Lean_IR_formatFnBodyHead___closed__41;
x_215 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_215, 0, x_214);
lean_ctor_set(x_215, 1, x_213);
x_216 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_209);
lean_dec(x_209);
x_217 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_217, 0, x_215);
lean_ctor_set(x_217, 1, x_216);
return x_217;
}
}
default: 
{
lean_object* x_218; 
x_218 = l_Lean_IR_formatFnBodyHead___closed__43;
return x_218;
}
}
}
}
LEAN_EXPORT lean_object* lean_ir_format_fn_body_head(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_IR_formatFnBodyHead(x_1);
x_3 = l_Std_Format_defWidth;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_format_pretty(x_2, x_3, x_4, x_4);
return x_5;
}
}
LEAN_EXPORT 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 = lean_usize_dec_eq(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(5, 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(5, 2, 0);
lean_ctor_set(x_12, 0, x_9);
lean_ctor_set(x_12, 1, x_11);
x_13 = 1;
x_14 = lean_usize_add(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_unchecked(";", 1, 1);
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(3, 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_unchecked(" :=", 3, 3);
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(3, 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_unchecked(" of", 3, 3);
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(3, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Lean_IR_formatFnBodyHead___closed__2;
x_12 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_40);
x_43 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_43, 0, x_39);
lean_ctor_set(x_43, 1, x_42);
x_44 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_46, 0, x_44);
lean_ctor_set(x_46, 1, x_45);
x_47 = lean_alloc_ctor(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_57, 0, x_56);
x_58 = l_Lean_IR_formatFnBodyHead___closed__9;
x_59 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_61, 0, x_59);
lean_ctor_set(x_61, 1, x_60);
x_62 = l___private_Init_Data_Repr_0__Nat_reprFast(x_51);
x_63 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_63, 0, x_62);
x_64 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_81, 0, x_80);
x_82 = l_Lean_IR_formatFnBodyHead___closed__13;
x_83 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_85, 0, x_83);
lean_ctor_set(x_85, 1, x_84);
x_86 = l___private_Init_Data_Repr_0__Nat_reprFast(x_76);
x_87 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_87, 0, x_86);
x_88 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_102, 0, x_101);
x_103 = l_Lean_IR_formatFnBodyHead___closed__15;
x_104 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_106, 0, x_104);
lean_ctor_set(x_106, 1, x_105);
x_107 = l___private_Init_Data_Repr_0__Nat_reprFast(x_96);
x_108 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_108, 0, x_107);
x_109 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_111, 0, x_109);
lean_ctor_set(x_111, 1, x_110);
x_112 = l___private_Init_Data_Repr_0__Nat_reprFast(x_97);
x_113 = lean_string_append(x_100, x_112);
lean_dec(x_112);
x_114 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_114, 0, x_113);
x_115 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 1, 0);
lean_ctor_set(x_131, 0, x_130);
x_132 = l_Lean_IR_formatFnBodyHead___closed__17;
x_133 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_135, 0, x_133);
lean_ctor_set(x_135, 1, x_134);
x_136 = l___private_Init_Data_Repr_0__Nat_reprFast(x_123);
x_137 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_137, 0, x_136);
x_138 = lean_alloc_ctor(5, 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(5, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
x_141 = l___private_Init_Data_Repr_0__Nat_reprFast(x_124);
x_142 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_142, 0, x_141);
x_143 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_149, 0, x_147);
lean_ctor_set(x_149, 1, x_148);
x_150 = l___private_Init_Data_Repr_0__Nat_reprFast(x_125);
x_151 = lean_string_append(x_129, x_150);
lean_dec(x_150);
x_152 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_152, 0, x_151);
x_153 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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___private_Init_Data_Repr_0__Nat_reprFast(x_161);
x_171 = lean_alloc_ctor(3, 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(5, 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(5, 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(4, 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(6, 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(5, 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(5, 2, 0);
lean_ctor_set(x_183, 0, x_181);
lean_ctor_set(x_183, 1, x_182);
x_184 = lean_alloc_ctor(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_188, 0, x_186);
lean_ctor_set(x_188, 1, x_187);
x_189 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_195, 0, x_193);
lean_ctor_set(x_195, 1, x_194);
x_196 = lean_alloc_ctor(5, 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___private_Init_Data_Repr_0__Nat_reprFast(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(3, 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___private_Init_Data_Repr_0__Nat_reprFast(x_198);
x_208 = lean_alloc_ctor(3, 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(5, 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(5, 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(4, 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(6, 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(5, 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(5, 2, 0);
lean_ctor_set(x_220, 0, x_218);
lean_ctor_set(x_220, 1, x_219);
x_221 = lean_alloc_ctor(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_225, 0, x_223);
lean_ctor_set(x_225, 1, x_224);
x_226 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_232, 0, x_230);
lean_ctor_set(x_232, 1, x_231);
x_233 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_233, 0, x_232);
lean_ctor_set(x_233, 1, x_206);
return x_233;
}
}
case 8:
{
uint8_t x_234; 
x_234 = !lean_is_exclusive(x_2);
if (x_234 == 0)
{
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_235 = lean_ctor_get(x_2, 0);
x_236 = lean_ctor_get(x_2, 1);
x_237 = l___private_Init_Data_Repr_0__Nat_reprFast(x_235);
x_238 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_239 = lean_string_append(x_238, x_237);
lean_dec(x_237);
x_240 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_240, 0, x_239);
x_241 = l_Lean_IR_formatFnBodyHead___closed__31;
lean_ctor_set_tag(x_2, 5);
lean_ctor_set(x_2, 1, x_240);
lean_ctor_set(x_2, 0, x_241);
x_242 = l_Lean_IR_formatFnBody_loop___closed__2;
x_243 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_243, 0, x_2);
lean_ctor_set(x_243, 1, x_242);
x_244 = lean_box(1);
x_245 = lean_alloc_ctor(5, 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_236);
x_247 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_247, 0, x_245);
lean_ctor_set(x_247, 1, x_246);
return x_247;
}
else
{
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; lean_object* x_259; lean_object* x_260; lean_object* x_261; 
x_248 = lean_ctor_get(x_2, 0);
x_249 = lean_ctor_get(x_2, 1);
lean_inc(x_249);
lean_inc(x_248);
lean_dec(x_2);
x_250 = l___private_Init_Data_Repr_0__Nat_reprFast(x_248);
x_251 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_252 = lean_string_append(x_251, x_250);
lean_dec(x_250);
x_253 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_253, 0, x_252);
x_254 = l_Lean_IR_formatFnBodyHead___closed__31;
x_255 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_255, 0, x_254);
lean_ctor_set(x_255, 1, x_253);
x_256 = l_Lean_IR_formatFnBody_loop___closed__2;
x_257 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_257, 0, x_255);
lean_ctor_set(x_257, 1, x_256);
x_258 = lean_box(1);
x_259 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_259, 0, x_257);
lean_ctor_set(x_259, 1, x_258);
x_260 = l_Lean_IR_formatFnBody_loop(x_1, x_249);
x_261 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_261, 0, x_259);
lean_ctor_set(x_261, 1, x_260);
return x_261;
}
}
case 9:
{
uint8_t x_262; 
x_262 = !lean_is_exclusive(x_2);
if (x_262 == 0)
{
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; 
x_263 = lean_ctor_get(x_2, 0);
x_264 = lean_ctor_get(x_2, 1);
x_265 = l_Lean_formatKVMap(x_263);
x_266 = l_Lean_IR_formatFnBodyHead___closed__33;
lean_ctor_set_tag(x_2, 5);
lean_ctor_set(x_2, 1, x_265);
lean_ctor_set(x_2, 0, x_266);
x_267 = l_Lean_IR_formatFnBody_loop___closed__2;
x_268 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_268, 0, x_2);
lean_ctor_set(x_268, 1, x_267);
x_269 = lean_box(1);
x_270 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_270, 0, x_268);
lean_ctor_set(x_270, 1, x_269);
x_271 = l_Lean_IR_formatFnBody_loop(x_1, x_264);
x_272 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_272, 0, x_270);
lean_ctor_set(x_272, 1, x_271);
return x_272;
}
else
{
lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 
x_273 = lean_ctor_get(x_2, 0);
x_274 = lean_ctor_get(x_2, 1);
lean_inc(x_274);
lean_inc(x_273);
lean_dec(x_2);
x_275 = l_Lean_formatKVMap(x_273);
x_276 = l_Lean_IR_formatFnBodyHead___closed__33;
x_277 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_277, 0, x_276);
lean_ctor_set(x_277, 1, x_275);
x_278 = l_Lean_IR_formatFnBody_loop___closed__2;
x_279 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_279, 0, x_277);
lean_ctor_set(x_279, 1, x_278);
x_280 = lean_box(1);
x_281 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_281, 0, x_279);
lean_ctor_set(x_281, 1, x_280);
x_282 = l_Lean_IR_formatFnBody_loop(x_1, x_274);
x_283 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_283, 0, x_281);
lean_ctor_set(x_283, 1, x_282);
return x_283;
}
}
case 10:
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; 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; uint8_t x_301; 
x_284 = lean_ctor_get(x_2, 1);
lean_inc(x_284);
x_285 = lean_ctor_get(x_2, 2);
lean_inc(x_285);
x_286 = lean_ctor_get(x_2, 3);
lean_inc(x_286);
lean_dec(x_2);
x_287 = l___private_Init_Data_Repr_0__Nat_reprFast(x_284);
x_288 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg___closed__1;
x_289 = lean_string_append(x_288, x_287);
lean_dec(x_287);
x_290 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_290, 0, x_289);
x_291 = l_Lean_IR_formatFnBodyHead___closed__35;
x_292 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_292, 0, x_291);
lean_ctor_set(x_292, 1, x_290);
x_293 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatParam___closed__4;
x_294 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_294, 0, x_292);
lean_ctor_set(x_294, 1, x_293);
x_295 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType(x_285);
x_296 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_296, 0, x_294);
lean_ctor_set(x_296, 1, x_295);
x_297 = l_Lean_IR_formatFnBody_loop___closed__6;
x_298 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_298, 0, x_296);
lean_ctor_set(x_298, 1, x_297);
x_299 = lean_array_get_size(x_286);
x_300 = lean_unsigned_to_nat(0u);
x_301 = lean_nat_dec_lt(x_300, x_299);
if (x_301 == 0)
{
lean_object* x_302; lean_object* x_303; 
lean_dec(x_299);
lean_dec(x_286);
lean_dec(x_1);
x_302 = lean_box(0);
x_303 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_303, 0, x_298);
lean_ctor_set(x_303, 1, x_302);
return x_303;
}
else
{
uint8_t x_304; 
x_304 = lean_nat_dec_le(x_299, x_299);
if (x_304 == 0)
{
lean_object* x_305; lean_object* x_306; 
lean_dec(x_299);
lean_dec(x_286);
lean_dec(x_1);
x_305 = lean_box(0);
x_306 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_306, 0, x_298);
lean_ctor_set(x_306, 1, x_305);
return x_306;
}
else
{
size_t x_307; size_t x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; 
x_307 = 0;
x_308 = lean_usize_of_nat(x_299);
lean_dec(x_299);
x_309 = lean_box(0);
x_310 = l_Array_foldlMUnsafe_fold___at_Lean_IR_formatFnBody_loop___spec__1(x_1, x_286, x_307, x_308, x_309);
lean_dec(x_286);
x_311 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_311, 0, x_298);
lean_ctor_set(x_311, 1, x_310);
return x_311;
}
}
}
case 11:
{
lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; 
lean_dec(x_1);
x_312 = lean_ctor_get(x_2, 0);
lean_inc(x_312);
lean_dec(x_2);
x_313 = l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatArg(x_312);
x_314 = l_Lean_IR_formatFnBodyHead___closed__39;
x_315 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_315, 0, x_314);
lean_ctor_set(x_315, 1, x_313);
return x_315;
}
case 12:
{
uint8_t x_316; 
lean_dec(x_1);
x_316 = !lean_is_exclusive(x_2);
if (x_316 == 0)
{
lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; 
x_317 = lean_ctor_get(x_2, 0);
x_318 = lean_ctor_get(x_2, 1);
x_319 = l___private_Init_Data_Repr_0__Nat_reprFast(x_317);
x_320 = l_Lean_IR_formatFnBodyHead___closed__5;
x_321 = lean_string_append(x_320, x_319);
lean_dec(x_319);
x_322 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_322, 0, x_321);
x_323 = l_Lean_IR_formatFnBodyHead___closed__41;
lean_ctor_set_tag(x_2, 5);
lean_ctor_set(x_2, 1, x_322);
lean_ctor_set(x_2, 0, x_323);
x_324 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_318);
lean_dec(x_318);
x_325 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_325, 0, x_2);
lean_ctor_set(x_325, 1, x_324);
return x_325;
}
else
{
lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; 
x_326 = lean_ctor_get(x_2, 0);
x_327 = lean_ctor_get(x_2, 1);
lean_inc(x_327);
lean_inc(x_326);
lean_dec(x_2);
x_328 = l___private_Init_Data_Repr_0__Nat_reprFast(x_326);
x_329 = l_Lean_IR_formatFnBodyHead___closed__5;
x_330 = lean_string_append(x_329, x_328);
lean_dec(x_328);
x_331 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_331, 0, x_330);
x_332 = l_Lean_IR_formatFnBodyHead___closed__41;
x_333 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_333, 0, x_332);
lean_ctor_set(x_333, 1, x_331);
x_334 = l_Lean_IR_formatArray___at___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___spec__1(x_327);
lean_dec(x_327);
x_335 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_335, 0, x_333);
lean_ctor_set(x_335, 1, x_334);
return x_335;
}
}
default: 
{
lean_object* x_336; 
lean_dec(x_1);
x_336 = l_Lean_IR_formatFnBodyHead___closed__43;
return x_336;
}
}
}
}
LEAN_EXPORT 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; lean_object* x_6; 
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_unsigned_to_nat(0u);
x_6 = lean_format_pretty(x_3, x_4, x_5, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_IR_formatDecl___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("def ", 4, 4);
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(3, 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_unchecked("extern ", 7, 7);
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(3, 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(3, 1, 0);
lean_ctor_set(x_9, 0, x_8);
x_10 = l_Lean_IR_formatDecl___closed__2;
x_11 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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(5, 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(5, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_21);
x_24 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_ctor(5, 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(3, 1, 0);
lean_ctor_set(x_31, 0, x_30);
x_32 = l_Lean_IR_formatDecl___closed__4;
x_33 = lean_alloc_ctor(5, 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(5, 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(5, 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(5, 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; lean_object* x_6; 
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_unsigned_to_nat(0u);
x_6 = lean_format_pretty(x_3, x_4, x_5, x_5);
return x_6;
}
}
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_Lean_Compiler_IR_Basic(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Compiler_IR_Format(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Compiler_IR_Basic(builtin, 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_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
