// Lean compiler output
// Module: Lean.Elab.Macro
// Imports: Lean.Elab.MacroArgUtil
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2;
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___closed__1;
lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__46;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__51;
lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__52;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__32;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__18;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__53;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__43;
lean_object* l_Lean_Syntax_getId(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArgs(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__57;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__55;
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__19;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7;
lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___boxed(lean_object**);
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__60;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__35;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__37;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
static lean_object* l_Lean_Elab_Command_elabMacro___closed__4;
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___closed__5;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__56;
extern lean_object* l_Lean_Elab_Command_commandElabAttribute;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_object* l_Array_unzip___rarg(lean_object*);
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_object* l_Lean_quoteNameMk(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__42;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(size_t, size_t, lean_object*);
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__34;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4;
lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__38;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__6___closed__1;
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__39;
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___closed__1;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_object* l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__26;
lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__33;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__40;
static lean_object* l_Lean_Elab_Command_elabMacro___closed__3;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__41;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__6___closed__2;
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__31;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__24;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__8;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__21;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__58;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__49;
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__23;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__62;
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___closed__4;
static lean_object* l_Lean_Elab_Command_elabMacro___closed__2;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4;
lean_object* l_Array_mkArray1___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__27;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_erase_macro_scopes(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
lean_object* l_String_intercalate(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro(lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__10;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__13;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__45;
lean_object* lean_array_uget(lean_object*, size_t);
size_t lean_array_size(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__44;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__22;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__36;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__63;
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(lean_object*);
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__28;
lean_object* l_String_toSubstring_x27(lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___closed__3;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5;
lean_object* l_Lean_Elab_Command_expandMacroArg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = lean_usize_dec_lt(x_2, x_1);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec(x_5);
lean_dec(x_4);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_3);
lean_ctor_set(x_8, 1, x_6);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_array_uget(x_3, x_2);
x_10 = lean_unsigned_to_nat(0u);
x_11 = lean_array_uset(x_3, x_2, x_10);
lean_inc(x_5);
lean_inc(x_4);
x_12 = l_Lean_Elab_Command_expandMacroArg(x_9, x_4, x_5, x_6);
if (lean_obj_tag(x_12) == 0)
{
lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; 
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 1);
lean_inc(x_14);
lean_dec(x_12);
x_15 = 1;
x_16 = lean_usize_add(x_2, x_15);
x_17 = lean_array_uset(x_11, x_2, x_13);
x_2 = x_16;
x_3 = x_17;
x_6 = x_14;
goto _start;
}
else
{
uint8_t x_19; 
lean_dec(x_11);
lean_dec(x_5);
lean_dec(x_4);
x_19 = !lean_is_exclusive(x_12);
if (x_19 == 0)
{
return x_12;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = lean_ctor_get(x_12, 0);
x_21 = lean_ctor_get(x_12, 1);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_12);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
return x_22;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
x_10 = lean_array_uset(x_7, x_2, x_5);
x_2 = x_9;
x_3 = x_10;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_8 = lean_array_push(x_1, x_2);
x_9 = lean_array_push(x_8, x_4);
x_10 = lean_box(2);
x_11 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_3);
lean_ctor_set(x_11, 2, x_9);
x_12 = l_Lean_Elab_Command_elabCommand(x_11, x_5, x_6, x_7);
return x_12;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("macro_rules", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("matchAlts", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__8;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("matchAlt", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__10;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("|", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("quot", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__13;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`(", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("=>", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
x_2 = l_Array_append___rarg(x_1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("app", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__19;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Functor.map", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__21;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Functor", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("map", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__23;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__24;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__26;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("paren", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__28;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("explicit", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__31;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("@", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("TSyntax.raw", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__34;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("TSyntax", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("raw", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__36;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__37;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__36;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__37;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__39;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__40;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__42() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("quotedName", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__42;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__44() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__45() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__46() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__47() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("syntax", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__49() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("namedName", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__49;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__51() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("name", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":=", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__53() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("namedPrio", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__54() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__53;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__55() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("priority", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__56() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(10u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__58() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("precedence", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__58;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__60() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attributes", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__60;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__62() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("@[", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__63() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t 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) {
_start:
{
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; lean_object* x_565; uint8_t x_566; 
x_20 = l_Lean_Elab_Command_getScope___rarg(x_18, x_19);
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_20, 1);
lean_inc(x_22);
if (lean_is_exclusive(x_20)) {
 lean_ctor_release(x_20, 0);
 lean_ctor_release(x_20, 1);
 x_23 = x_20;
} else {
 lean_dec_ref(x_20);
 x_23 = lean_box(0);
}
x_24 = lean_ctor_get(x_21, 2);
lean_inc(x_24);
lean_dec(x_21);
lean_inc(x_16);
x_25 = l_Lean_Name_append(x_24, x_16);
x_26 = lean_box(2);
x_27 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
lean_ctor_set(x_27, 2, x_1);
x_565 = l_Lean_Elab_Command_getRef(x_17, x_18, x_22);
x_566 = !lean_is_exclusive(x_565);
if (x_566 == 0)
{
lean_object* x_567; lean_object* x_568; uint8_t x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; 
x_567 = lean_ctor_get(x_565, 0);
x_568 = lean_ctor_get(x_565, 1);
x_569 = 0;
x_570 = l_Lean_SourceInfo_fromRef(x_567, x_569);
lean_dec(x_567);
x_571 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_568);
x_572 = !lean_is_exclusive(x_571);
if (x_572 == 0)
{
lean_object* x_573; lean_object* x_574; lean_object* x_575; uint8_t x_576; 
x_573 = lean_ctor_get(x_571, 1);
x_574 = lean_ctor_get(x_571, 0);
lean_dec(x_574);
x_575 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_573);
x_576 = !lean_is_exclusive(x_575);
if (x_576 == 0)
{
lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; size_t x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; 
x_577 = lean_ctor_get(x_575, 1);
x_578 = lean_ctor_get(x_575, 0);
lean_dec(x_578);
x_579 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
lean_inc(x_570);
lean_ctor_set_tag(x_575, 2);
lean_ctor_set(x_575, 1, x_579);
lean_ctor_set(x_575, 0, x_570);
x_580 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_570);
lean_ctor_set_tag(x_571, 2);
lean_ctor_set(x_571, 1, x_580);
lean_ctor_set(x_571, 0, x_570);
x_581 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__51;
lean_inc(x_570);
lean_ctor_set_tag(x_565, 2);
lean_ctor_set(x_565, 1, x_581);
lean_ctor_set(x_565, 0, x_570);
x_582 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__52;
lean_inc(x_570);
x_583 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_583, 0, x_570);
lean_ctor_set(x_583, 1, x_582);
x_584 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_570);
x_585 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_585, 0, x_570);
lean_ctor_set(x_585, 1, x_584);
x_586 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__55;
lean_inc(x_570);
x_587 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_587, 0, x_570);
lean_ctor_set(x_587, 1, x_586);
x_588 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8);
x_589 = l_Lean_Syntax_mkNumLit(x_588, x_26);
x_590 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
lean_inc(x_585);
lean_inc(x_583);
lean_inc(x_571);
lean_inc(x_570);
x_591 = l_Lean_Syntax_node5(x_570, x_590, x_571, x_587, x_583, x_589, x_585);
lean_inc(x_3);
lean_inc(x_570);
x_592 = l_Lean_Syntax_node1(x_570, x_3, x_591);
x_593 = lean_array_size(x_9);
x_594 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_593, x_10, x_9);
x_595 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
x_596 = l_Array_append___rarg(x_595, x_594);
lean_dec(x_594);
lean_inc(x_3);
lean_inc(x_570);
x_597 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_597, 0, x_570);
lean_ctor_set(x_597, 1, x_3);
lean_ctor_set(x_597, 2, x_596);
x_598 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__56;
lean_inc(x_570);
x_599 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_599, 0, x_570);
lean_ctor_set(x_599, 1, x_598);
if (lean_obj_tag(x_6) == 0)
{
x_600 = x_595;
goto block_654;
}
else
{
lean_object* x_655; lean_object* x_656; 
x_655 = lean_ctor_get(x_6, 0);
lean_inc(x_655);
x_656 = l_Array_mkArray1___rarg(x_655);
x_600 = x_656;
goto block_654;
}
block_654:
{
lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; 
x_601 = l_Array_append___rarg(x_595, x_600);
lean_dec(x_600);
lean_inc(x_3);
lean_inc(x_570);
x_602 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_602, 0, x_570);
lean_ctor_set(x_602, 1, x_3);
lean_ctor_set(x_602, 2, x_601);
x_603 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__57;
x_604 = lean_array_push(x_603, x_602);
if (lean_obj_tag(x_15) == 0)
{
x_605 = x_595;
goto block_643;
}
else
{
lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; 
x_644 = lean_ctor_get(x_15, 0);
x_645 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__62;
lean_inc(x_570);
x_646 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_646, 0, x_570);
lean_ctor_set(x_646, 1, x_645);
x_647 = l_Array_append___rarg(x_595, x_644);
lean_inc(x_3);
lean_inc(x_570);
x_648 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_648, 0, x_570);
lean_ctor_set(x_648, 1, x_3);
lean_ctor_set(x_648, 2, x_647);
x_649 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__63;
lean_inc(x_570);
x_650 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_650, 0, x_570);
lean_ctor_set(x_650, 1, x_649);
x_651 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_inc(x_570);
x_652 = l_Lean_Syntax_node3(x_570, x_651, x_646, x_648, x_650);
x_653 = l_Array_mkArray1___rarg(x_652);
x_605 = x_653;
goto block_643;
}
block_643:
{
lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; 
x_606 = l_Array_append___rarg(x_595, x_605);
lean_dec(x_605);
lean_inc(x_3);
lean_inc(x_570);
x_607 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_607, 0, x_570);
lean_ctor_set(x_607, 1, x_3);
lean_ctor_set(x_607, 2, x_606);
x_608 = lean_array_push(x_604, x_607);
x_609 = lean_array_push(x_608, x_11);
x_610 = lean_array_push(x_609, x_575);
if (lean_obj_tag(x_14) == 0)
{
x_611 = x_595;
goto block_638;
}
else
{
lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; 
x_639 = lean_ctor_get(x_14, 0);
lean_inc(x_639);
lean_dec(x_14);
x_640 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
lean_inc(x_599);
lean_inc(x_570);
x_641 = l_Lean_Syntax_node2(x_570, x_640, x_599, x_639);
x_642 = l_Array_mkArray1___rarg(x_641);
x_611 = x_642;
goto block_638;
}
block_638:
{
lean_object* x_612; lean_object* x_613; lean_object* x_614; 
x_612 = l_Array_append___rarg(x_595, x_611);
lean_dec(x_611);
lean_inc(x_3);
lean_inc(x_570);
x_613 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_613, 0, x_570);
lean_ctor_set(x_613, 1, x_3);
lean_ctor_set(x_613, 2, x_612);
x_614 = lean_array_push(x_610, x_613);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; 
x_615 = 1;
x_616 = l_Lean_mkIdentFrom(x_13, x_16, x_615);
x_617 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_618 = l_Lean_Syntax_node5(x_570, x_617, x_571, x_565, x_583, x_616, x_585);
lean_inc(x_3);
lean_inc(x_570);
x_619 = l_Lean_Syntax_node1(x_570, x_3, x_618);
x_620 = lean_array_push(x_614, x_619);
x_621 = lean_array_push(x_620, x_592);
x_622 = lean_array_push(x_621, x_597);
x_623 = lean_array_push(x_622, x_599);
lean_inc(x_7);
x_624 = lean_array_push(x_623, x_7);
x_625 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_626 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_626, 0, x_570);
lean_ctor_set(x_626, 1, x_625);
lean_ctor_set(x_626, 2, x_624);
x_28 = x_626;
x_29 = x_577;
goto block_564;
}
else
{
lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; 
lean_dec(x_16);
x_627 = lean_ctor_get(x_12, 0);
lean_inc(x_627);
lean_dec(x_12);
x_628 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_629 = l_Lean_Syntax_node5(x_570, x_628, x_571, x_565, x_583, x_627, x_585);
lean_inc(x_3);
lean_inc(x_570);
x_630 = l_Lean_Syntax_node1(x_570, x_3, x_629);
x_631 = lean_array_push(x_614, x_630);
x_632 = lean_array_push(x_631, x_592);
x_633 = lean_array_push(x_632, x_597);
x_634 = lean_array_push(x_633, x_599);
lean_inc(x_7);
x_635 = lean_array_push(x_634, x_7);
x_636 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_637 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_637, 0, x_570);
lean_ctor_set(x_637, 1, x_636);
lean_ctor_set(x_637, 2, x_635);
x_28 = x_637;
x_29 = x_577;
goto block_564;
}
}
}
}
}
else
{
lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; size_t x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; 
x_657 = lean_ctor_get(x_575, 1);
lean_inc(x_657);
lean_dec(x_575);
x_658 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
lean_inc(x_570);
x_659 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_659, 0, x_570);
lean_ctor_set(x_659, 1, x_658);
x_660 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_570);
lean_ctor_set_tag(x_571, 2);
lean_ctor_set(x_571, 1, x_660);
lean_ctor_set(x_571, 0, x_570);
x_661 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__51;
lean_inc(x_570);
lean_ctor_set_tag(x_565, 2);
lean_ctor_set(x_565, 1, x_661);
lean_ctor_set(x_565, 0, x_570);
x_662 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__52;
lean_inc(x_570);
x_663 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_663, 0, x_570);
lean_ctor_set(x_663, 1, x_662);
x_664 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_570);
x_665 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_665, 0, x_570);
lean_ctor_set(x_665, 1, x_664);
x_666 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__55;
lean_inc(x_570);
x_667 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_667, 0, x_570);
lean_ctor_set(x_667, 1, x_666);
x_668 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8);
x_669 = l_Lean_Syntax_mkNumLit(x_668, x_26);
x_670 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
lean_inc(x_665);
lean_inc(x_663);
lean_inc(x_571);
lean_inc(x_570);
x_671 = l_Lean_Syntax_node5(x_570, x_670, x_571, x_667, x_663, x_669, x_665);
lean_inc(x_3);
lean_inc(x_570);
x_672 = l_Lean_Syntax_node1(x_570, x_3, x_671);
x_673 = lean_array_size(x_9);
x_674 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_673, x_10, x_9);
x_675 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
x_676 = l_Array_append___rarg(x_675, x_674);
lean_dec(x_674);
lean_inc(x_3);
lean_inc(x_570);
x_677 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_677, 0, x_570);
lean_ctor_set(x_677, 1, x_3);
lean_ctor_set(x_677, 2, x_676);
x_678 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__56;
lean_inc(x_570);
x_679 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_679, 0, x_570);
lean_ctor_set(x_679, 1, x_678);
if (lean_obj_tag(x_6) == 0)
{
x_680 = x_675;
goto block_734;
}
else
{
lean_object* x_735; lean_object* x_736; 
x_735 = lean_ctor_get(x_6, 0);
lean_inc(x_735);
x_736 = l_Array_mkArray1___rarg(x_735);
x_680 = x_736;
goto block_734;
}
block_734:
{
lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; 
x_681 = l_Array_append___rarg(x_675, x_680);
lean_dec(x_680);
lean_inc(x_3);
lean_inc(x_570);
x_682 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_682, 0, x_570);
lean_ctor_set(x_682, 1, x_3);
lean_ctor_set(x_682, 2, x_681);
x_683 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__57;
x_684 = lean_array_push(x_683, x_682);
if (lean_obj_tag(x_15) == 0)
{
x_685 = x_675;
goto block_723;
}
else
{
lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; 
x_724 = lean_ctor_get(x_15, 0);
x_725 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__62;
lean_inc(x_570);
x_726 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_726, 0, x_570);
lean_ctor_set(x_726, 1, x_725);
x_727 = l_Array_append___rarg(x_675, x_724);
lean_inc(x_3);
lean_inc(x_570);
x_728 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_728, 0, x_570);
lean_ctor_set(x_728, 1, x_3);
lean_ctor_set(x_728, 2, x_727);
x_729 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__63;
lean_inc(x_570);
x_730 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_730, 0, x_570);
lean_ctor_set(x_730, 1, x_729);
x_731 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_inc(x_570);
x_732 = l_Lean_Syntax_node3(x_570, x_731, x_726, x_728, x_730);
x_733 = l_Array_mkArray1___rarg(x_732);
x_685 = x_733;
goto block_723;
}
block_723:
{
lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; 
x_686 = l_Array_append___rarg(x_675, x_685);
lean_dec(x_685);
lean_inc(x_3);
lean_inc(x_570);
x_687 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_687, 0, x_570);
lean_ctor_set(x_687, 1, x_3);
lean_ctor_set(x_687, 2, x_686);
x_688 = lean_array_push(x_684, x_687);
x_689 = lean_array_push(x_688, x_11);
x_690 = lean_array_push(x_689, x_659);
if (lean_obj_tag(x_14) == 0)
{
x_691 = x_675;
goto block_718;
}
else
{
lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; 
x_719 = lean_ctor_get(x_14, 0);
lean_inc(x_719);
lean_dec(x_14);
x_720 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
lean_inc(x_679);
lean_inc(x_570);
x_721 = l_Lean_Syntax_node2(x_570, x_720, x_679, x_719);
x_722 = l_Array_mkArray1___rarg(x_721);
x_691 = x_722;
goto block_718;
}
block_718:
{
lean_object* x_692; lean_object* x_693; lean_object* x_694; 
x_692 = l_Array_append___rarg(x_675, x_691);
lean_dec(x_691);
lean_inc(x_3);
lean_inc(x_570);
x_693 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_693, 0, x_570);
lean_ctor_set(x_693, 1, x_3);
lean_ctor_set(x_693, 2, x_692);
x_694 = lean_array_push(x_690, x_693);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; 
x_695 = 1;
x_696 = l_Lean_mkIdentFrom(x_13, x_16, x_695);
x_697 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_698 = l_Lean_Syntax_node5(x_570, x_697, x_571, x_565, x_663, x_696, x_665);
lean_inc(x_3);
lean_inc(x_570);
x_699 = l_Lean_Syntax_node1(x_570, x_3, x_698);
x_700 = lean_array_push(x_694, x_699);
x_701 = lean_array_push(x_700, x_672);
x_702 = lean_array_push(x_701, x_677);
x_703 = lean_array_push(x_702, x_679);
lean_inc(x_7);
x_704 = lean_array_push(x_703, x_7);
x_705 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_706 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_706, 0, x_570);
lean_ctor_set(x_706, 1, x_705);
lean_ctor_set(x_706, 2, x_704);
x_28 = x_706;
x_29 = x_657;
goto block_564;
}
else
{
lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; 
lean_dec(x_16);
x_707 = lean_ctor_get(x_12, 0);
lean_inc(x_707);
lean_dec(x_12);
x_708 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_709 = l_Lean_Syntax_node5(x_570, x_708, x_571, x_565, x_663, x_707, x_665);
lean_inc(x_3);
lean_inc(x_570);
x_710 = l_Lean_Syntax_node1(x_570, x_3, x_709);
x_711 = lean_array_push(x_694, x_710);
x_712 = lean_array_push(x_711, x_672);
x_713 = lean_array_push(x_712, x_677);
x_714 = lean_array_push(x_713, x_679);
lean_inc(x_7);
x_715 = lean_array_push(x_714, x_7);
x_716 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_717 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_717, 0, x_570);
lean_ctor_set(x_717, 1, x_716);
lean_ctor_set(x_717, 2, x_715);
x_28 = x_717;
x_29 = x_657;
goto block_564;
}
}
}
}
}
}
else
{
lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; size_t x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; 
x_737 = lean_ctor_get(x_571, 1);
lean_inc(x_737);
lean_dec(x_571);
x_738 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_737);
x_739 = lean_ctor_get(x_738, 1);
lean_inc(x_739);
if (lean_is_exclusive(x_738)) {
 lean_ctor_release(x_738, 0);
 lean_ctor_release(x_738, 1);
 x_740 = x_738;
} else {
 lean_dec_ref(x_738);
 x_740 = lean_box(0);
}
x_741 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
lean_inc(x_570);
if (lean_is_scalar(x_740)) {
 x_742 = lean_alloc_ctor(2, 2, 0);
} else {
 x_742 = x_740;
 lean_ctor_set_tag(x_742, 2);
}
lean_ctor_set(x_742, 0, x_570);
lean_ctor_set(x_742, 1, x_741);
x_743 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_570);
x_744 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_744, 0, x_570);
lean_ctor_set(x_744, 1, x_743);
x_745 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__51;
lean_inc(x_570);
lean_ctor_set_tag(x_565, 2);
lean_ctor_set(x_565, 1, x_745);
lean_ctor_set(x_565, 0, x_570);
x_746 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__52;
lean_inc(x_570);
x_747 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_747, 0, x_570);
lean_ctor_set(x_747, 1, x_746);
x_748 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_570);
x_749 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_749, 0, x_570);
lean_ctor_set(x_749, 1, x_748);
x_750 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__55;
lean_inc(x_570);
x_751 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_751, 0, x_570);
lean_ctor_set(x_751, 1, x_750);
x_752 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8);
x_753 = l_Lean_Syntax_mkNumLit(x_752, x_26);
x_754 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
lean_inc(x_749);
lean_inc(x_747);
lean_inc(x_744);
lean_inc(x_570);
x_755 = l_Lean_Syntax_node5(x_570, x_754, x_744, x_751, x_747, x_753, x_749);
lean_inc(x_3);
lean_inc(x_570);
x_756 = l_Lean_Syntax_node1(x_570, x_3, x_755);
x_757 = lean_array_size(x_9);
x_758 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_757, x_10, x_9);
x_759 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
x_760 = l_Array_append___rarg(x_759, x_758);
lean_dec(x_758);
lean_inc(x_3);
lean_inc(x_570);
x_761 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_761, 0, x_570);
lean_ctor_set(x_761, 1, x_3);
lean_ctor_set(x_761, 2, x_760);
x_762 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__56;
lean_inc(x_570);
x_763 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_763, 0, x_570);
lean_ctor_set(x_763, 1, x_762);
if (lean_obj_tag(x_6) == 0)
{
x_764 = x_759;
goto block_818;
}
else
{
lean_object* x_819; lean_object* x_820; 
x_819 = lean_ctor_get(x_6, 0);
lean_inc(x_819);
x_820 = l_Array_mkArray1___rarg(x_819);
x_764 = x_820;
goto block_818;
}
block_818:
{
lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; 
x_765 = l_Array_append___rarg(x_759, x_764);
lean_dec(x_764);
lean_inc(x_3);
lean_inc(x_570);
x_766 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_766, 0, x_570);
lean_ctor_set(x_766, 1, x_3);
lean_ctor_set(x_766, 2, x_765);
x_767 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__57;
x_768 = lean_array_push(x_767, x_766);
if (lean_obj_tag(x_15) == 0)
{
x_769 = x_759;
goto block_807;
}
else
{
lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; 
x_808 = lean_ctor_get(x_15, 0);
x_809 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__62;
lean_inc(x_570);
x_810 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_810, 0, x_570);
lean_ctor_set(x_810, 1, x_809);
x_811 = l_Array_append___rarg(x_759, x_808);
lean_inc(x_3);
lean_inc(x_570);
x_812 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_812, 0, x_570);
lean_ctor_set(x_812, 1, x_3);
lean_ctor_set(x_812, 2, x_811);
x_813 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__63;
lean_inc(x_570);
x_814 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_814, 0, x_570);
lean_ctor_set(x_814, 1, x_813);
x_815 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_inc(x_570);
x_816 = l_Lean_Syntax_node3(x_570, x_815, x_810, x_812, x_814);
x_817 = l_Array_mkArray1___rarg(x_816);
x_769 = x_817;
goto block_807;
}
block_807:
{
lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; 
x_770 = l_Array_append___rarg(x_759, x_769);
lean_dec(x_769);
lean_inc(x_3);
lean_inc(x_570);
x_771 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_771, 0, x_570);
lean_ctor_set(x_771, 1, x_3);
lean_ctor_set(x_771, 2, x_770);
x_772 = lean_array_push(x_768, x_771);
x_773 = lean_array_push(x_772, x_11);
x_774 = lean_array_push(x_773, x_742);
if (lean_obj_tag(x_14) == 0)
{
x_775 = x_759;
goto block_802;
}
else
{
lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; 
x_803 = lean_ctor_get(x_14, 0);
lean_inc(x_803);
lean_dec(x_14);
x_804 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
lean_inc(x_763);
lean_inc(x_570);
x_805 = l_Lean_Syntax_node2(x_570, x_804, x_763, x_803);
x_806 = l_Array_mkArray1___rarg(x_805);
x_775 = x_806;
goto block_802;
}
block_802:
{
lean_object* x_776; lean_object* x_777; lean_object* x_778; 
x_776 = l_Array_append___rarg(x_759, x_775);
lean_dec(x_775);
lean_inc(x_3);
lean_inc(x_570);
x_777 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_777, 0, x_570);
lean_ctor_set(x_777, 1, x_3);
lean_ctor_set(x_777, 2, x_776);
x_778 = lean_array_push(x_774, x_777);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; 
x_779 = 1;
x_780 = l_Lean_mkIdentFrom(x_13, x_16, x_779);
x_781 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_782 = l_Lean_Syntax_node5(x_570, x_781, x_744, x_565, x_747, x_780, x_749);
lean_inc(x_3);
lean_inc(x_570);
x_783 = l_Lean_Syntax_node1(x_570, x_3, x_782);
x_784 = lean_array_push(x_778, x_783);
x_785 = lean_array_push(x_784, x_756);
x_786 = lean_array_push(x_785, x_761);
x_787 = lean_array_push(x_786, x_763);
lean_inc(x_7);
x_788 = lean_array_push(x_787, x_7);
x_789 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_790 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_790, 0, x_570);
lean_ctor_set(x_790, 1, x_789);
lean_ctor_set(x_790, 2, x_788);
x_28 = x_790;
x_29 = x_739;
goto block_564;
}
else
{
lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; 
lean_dec(x_16);
x_791 = lean_ctor_get(x_12, 0);
lean_inc(x_791);
lean_dec(x_12);
x_792 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_570);
x_793 = l_Lean_Syntax_node5(x_570, x_792, x_744, x_565, x_747, x_791, x_749);
lean_inc(x_3);
lean_inc(x_570);
x_794 = l_Lean_Syntax_node1(x_570, x_3, x_793);
x_795 = lean_array_push(x_778, x_794);
x_796 = lean_array_push(x_795, x_756);
x_797 = lean_array_push(x_796, x_761);
x_798 = lean_array_push(x_797, x_763);
lean_inc(x_7);
x_799 = lean_array_push(x_798, x_7);
x_800 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_801 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_801, 0, x_570);
lean_ctor_set(x_801, 1, x_800);
lean_ctor_set(x_801, 2, x_799);
x_28 = x_801;
x_29 = x_739;
goto block_564;
}
}
}
}
}
}
else
{
lean_object* x_821; lean_object* x_822; uint8_t x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; size_t x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; 
x_821 = lean_ctor_get(x_565, 0);
x_822 = lean_ctor_get(x_565, 1);
lean_inc(x_822);
lean_inc(x_821);
lean_dec(x_565);
x_823 = 0;
x_824 = l_Lean_SourceInfo_fromRef(x_821, x_823);
lean_dec(x_821);
x_825 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_822);
x_826 = lean_ctor_get(x_825, 1);
lean_inc(x_826);
if (lean_is_exclusive(x_825)) {
 lean_ctor_release(x_825, 0);
 lean_ctor_release(x_825, 1);
 x_827 = x_825;
} else {
 lean_dec_ref(x_825);
 x_827 = lean_box(0);
}
x_828 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_826);
x_829 = lean_ctor_get(x_828, 1);
lean_inc(x_829);
if (lean_is_exclusive(x_828)) {
 lean_ctor_release(x_828, 0);
 lean_ctor_release(x_828, 1);
 x_830 = x_828;
} else {
 lean_dec_ref(x_828);
 x_830 = lean_box(0);
}
x_831 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__47;
lean_inc(x_824);
if (lean_is_scalar(x_830)) {
 x_832 = lean_alloc_ctor(2, 2, 0);
} else {
 x_832 = x_830;
 lean_ctor_set_tag(x_832, 2);
}
lean_ctor_set(x_832, 0, x_824);
lean_ctor_set(x_832, 1, x_831);
x_833 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_824);
if (lean_is_scalar(x_827)) {
 x_834 = lean_alloc_ctor(2, 2, 0);
} else {
 x_834 = x_827;
 lean_ctor_set_tag(x_834, 2);
}
lean_ctor_set(x_834, 0, x_824);
lean_ctor_set(x_834, 1, x_833);
x_835 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__51;
lean_inc(x_824);
x_836 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_836, 0, x_824);
lean_ctor_set(x_836, 1, x_835);
x_837 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__52;
lean_inc(x_824);
x_838 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_838, 0, x_824);
lean_ctor_set(x_838, 1, x_837);
x_839 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_824);
x_840 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_840, 0, x_824);
lean_ctor_set(x_840, 1, x_839);
x_841 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__55;
lean_inc(x_824);
x_842 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_842, 0, x_824);
lean_ctor_set(x_842, 1, x_841);
x_843 = l___private_Init_Data_Repr_0__Nat_reprFast(x_8);
x_844 = l_Lean_Syntax_mkNumLit(x_843, x_26);
x_845 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
lean_inc(x_840);
lean_inc(x_838);
lean_inc(x_834);
lean_inc(x_824);
x_846 = l_Lean_Syntax_node5(x_824, x_845, x_834, x_842, x_838, x_844, x_840);
lean_inc(x_3);
lean_inc(x_824);
x_847 = l_Lean_Syntax_node1(x_824, x_3, x_846);
x_848 = lean_array_size(x_9);
x_849 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_848, x_10, x_9);
x_850 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
x_851 = l_Array_append___rarg(x_850, x_849);
lean_dec(x_849);
lean_inc(x_3);
lean_inc(x_824);
x_852 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_852, 0, x_824);
lean_ctor_set(x_852, 1, x_3);
lean_ctor_set(x_852, 2, x_851);
x_853 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__56;
lean_inc(x_824);
x_854 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_854, 0, x_824);
lean_ctor_set(x_854, 1, x_853);
if (lean_obj_tag(x_6) == 0)
{
x_855 = x_850;
goto block_909;
}
else
{
lean_object* x_910; lean_object* x_911; 
x_910 = lean_ctor_get(x_6, 0);
lean_inc(x_910);
x_911 = l_Array_mkArray1___rarg(x_910);
x_855 = x_911;
goto block_909;
}
block_909:
{
lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; 
x_856 = l_Array_append___rarg(x_850, x_855);
lean_dec(x_855);
lean_inc(x_3);
lean_inc(x_824);
x_857 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_857, 0, x_824);
lean_ctor_set(x_857, 1, x_3);
lean_ctor_set(x_857, 2, x_856);
x_858 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__57;
x_859 = lean_array_push(x_858, x_857);
if (lean_obj_tag(x_15) == 0)
{
x_860 = x_850;
goto block_898;
}
else
{
lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; 
x_899 = lean_ctor_get(x_15, 0);
x_900 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__62;
lean_inc(x_824);
x_901 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_901, 0, x_824);
lean_ctor_set(x_901, 1, x_900);
x_902 = l_Array_append___rarg(x_850, x_899);
lean_inc(x_3);
lean_inc(x_824);
x_903 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_903, 0, x_824);
lean_ctor_set(x_903, 1, x_3);
lean_ctor_set(x_903, 2, x_902);
x_904 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__63;
lean_inc(x_824);
x_905 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_905, 0, x_824);
lean_ctor_set(x_905, 1, x_904);
x_906 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_inc(x_824);
x_907 = l_Lean_Syntax_node3(x_824, x_906, x_901, x_903, x_905);
x_908 = l_Array_mkArray1___rarg(x_907);
x_860 = x_908;
goto block_898;
}
block_898:
{
lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; 
x_861 = l_Array_append___rarg(x_850, x_860);
lean_dec(x_860);
lean_inc(x_3);
lean_inc(x_824);
x_862 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_862, 0, x_824);
lean_ctor_set(x_862, 1, x_3);
lean_ctor_set(x_862, 2, x_861);
x_863 = lean_array_push(x_859, x_862);
x_864 = lean_array_push(x_863, x_11);
x_865 = lean_array_push(x_864, x_832);
if (lean_obj_tag(x_14) == 0)
{
x_866 = x_850;
goto block_893;
}
else
{
lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; 
x_894 = lean_ctor_get(x_14, 0);
lean_inc(x_894);
lean_dec(x_14);
x_895 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
lean_inc(x_854);
lean_inc(x_824);
x_896 = l_Lean_Syntax_node2(x_824, x_895, x_854, x_894);
x_897 = l_Array_mkArray1___rarg(x_896);
x_866 = x_897;
goto block_893;
}
block_893:
{
lean_object* x_867; lean_object* x_868; lean_object* x_869; 
x_867 = l_Array_append___rarg(x_850, x_866);
lean_dec(x_866);
lean_inc(x_3);
lean_inc(x_824);
x_868 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_868, 0, x_824);
lean_ctor_set(x_868, 1, x_3);
lean_ctor_set(x_868, 2, x_867);
x_869 = lean_array_push(x_865, x_868);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; 
x_870 = 1;
x_871 = l_Lean_mkIdentFrom(x_13, x_16, x_870);
x_872 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_824);
x_873 = l_Lean_Syntax_node5(x_824, x_872, x_834, x_836, x_838, x_871, x_840);
lean_inc(x_3);
lean_inc(x_824);
x_874 = l_Lean_Syntax_node1(x_824, x_3, x_873);
x_875 = lean_array_push(x_869, x_874);
x_876 = lean_array_push(x_875, x_847);
x_877 = lean_array_push(x_876, x_852);
x_878 = lean_array_push(x_877, x_854);
lean_inc(x_7);
x_879 = lean_array_push(x_878, x_7);
x_880 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_881 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_881, 0, x_824);
lean_ctor_set(x_881, 1, x_880);
lean_ctor_set(x_881, 2, x_879);
x_28 = x_881;
x_29 = x_829;
goto block_564;
}
else
{
lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; 
lean_dec(x_16);
x_882 = lean_ctor_get(x_12, 0);
lean_inc(x_882);
lean_dec(x_12);
x_883 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_824);
x_884 = l_Lean_Syntax_node5(x_824, x_883, x_834, x_836, x_838, x_882, x_840);
lean_inc(x_3);
lean_inc(x_824);
x_885 = l_Lean_Syntax_node1(x_824, x_3, x_884);
x_886 = lean_array_push(x_869, x_885);
x_887 = lean_array_push(x_886, x_847);
x_888 = lean_array_push(x_887, x_852);
x_889 = lean_array_push(x_888, x_854);
lean_inc(x_7);
x_890 = lean_array_push(x_889, x_7);
x_891 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__48;
x_892 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_892, 0, x_824);
lean_ctor_set(x_892, 1, x_891);
lean_ctor_set(x_892, 2, x_890);
x_28 = x_892;
x_29 = x_829;
goto block_564;
}
}
}
}
}
block_564:
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_30 = l_Lean_Syntax_getArgs(x_4);
x_31 = lean_array_get_size(x_30);
lean_dec(x_30);
x_32 = lean_unsigned_to_nat(1u);
x_33 = lean_nat_dec_eq(x_31, x_32);
lean_dec(x_31);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; uint8_t x_36; 
lean_dec(x_7);
x_34 = l_Lean_Syntax_getArg(x_4, x_32);
x_35 = l_Lean_Elab_Command_getRef(x_17, x_18, x_29);
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; 
x_37 = lean_ctor_get(x_35, 0);
x_38 = lean_ctor_get(x_35, 1);
x_39 = 0;
x_40 = l_Lean_SourceInfo_fromRef(x_37, x_39);
lean_dec(x_37);
x_41 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_38);
x_42 = !lean_is_exclusive(x_41);
if (x_42 == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; 
x_43 = lean_ctor_get(x_41, 1);
x_44 = lean_ctor_get(x_41, 0);
lean_dec(x_44);
x_45 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_43);
x_46 = !lean_is_exclusive(x_45);
if (x_46 == 0)
{
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; 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; 
x_47 = lean_ctor_get(x_45, 1);
x_48 = lean_ctor_get(x_45, 0);
lean_dec(x_48);
x_49 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_40);
x_50 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_50, 0, x_40);
lean_ctor_set(x_50, 1, x_3);
lean_ctor_set(x_50, 2, x_49);
lean_inc(x_50);
lean_inc(x_40);
x_51 = l_Lean_Syntax_node1(x_40, x_5, x_50);
x_52 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_40);
lean_ctor_set_tag(x_45, 2);
lean_ctor_set(x_45, 1, x_52);
lean_ctor_set(x_45, 0, x_40);
x_53 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_40);
lean_ctor_set_tag(x_41, 2);
lean_ctor_set(x_41, 1, x_53);
lean_ctor_set(x_41, 0, x_40);
x_54 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_40);
lean_ctor_set_tag(x_35, 2);
lean_ctor_set(x_35, 1, x_54);
lean_ctor_set(x_35, 0, x_40);
x_55 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_40);
if (lean_is_scalar(x_23)) {
 x_56 = lean_alloc_ctor(2, 2, 0);
} else {
 x_56 = x_23;
 lean_ctor_set_tag(x_56, 2);
}
lean_ctor_set(x_56, 0, x_40);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_56);
lean_inc(x_35);
lean_inc(x_40);
x_58 = l_Lean_Syntax_node3(x_40, x_57, x_35, x_27, x_56);
lean_inc(x_3);
lean_inc(x_40);
x_59 = l_Lean_Syntax_node1(x_40, x_3, x_58);
lean_inc(x_3);
lean_inc(x_40);
x_60 = l_Lean_Syntax_node1(x_40, x_3, x_59);
x_61 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_40);
x_62 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_62, 0, x_40);
lean_ctor_set(x_62, 1, x_61);
lean_inc(x_40);
x_63 = l_Lean_Syntax_node3(x_40, x_57, x_35, x_34, x_56);
x_64 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_40);
x_65 = l_Lean_Syntax_node4(x_40, x_64, x_41, x_60, x_62, x_63);
lean_inc(x_3);
lean_inc(x_40);
x_66 = l_Lean_Syntax_node1(x_40, x_3, x_65);
x_67 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_40);
x_68 = l_Lean_Syntax_node1(x_40, x_67, x_66);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_69 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__18;
lean_inc(x_3);
lean_inc(x_40);
x_70 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_70, 0, x_40);
lean_ctor_set(x_70, 1, x_3);
lean_ctor_set(x_70, 2, x_69);
x_71 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_50);
x_72 = l_Lean_Syntax_node6(x_40, x_71, x_70, x_50, x_51, x_45, x_50, x_68);
x_73 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_72, x_17, x_18, x_47);
return x_73;
}
else
{
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; 
x_74 = lean_ctor_get(x_6, 0);
lean_inc(x_74);
lean_dec(x_6);
x_75 = l_Array_mkArray1___rarg(x_74);
x_76 = l_Array_append___rarg(x_49, x_75);
lean_dec(x_75);
lean_inc(x_3);
lean_inc(x_40);
x_77 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_77, 0, x_40);
lean_ctor_set(x_77, 1, x_3);
lean_ctor_set(x_77, 2, x_76);
x_78 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_50);
x_79 = l_Lean_Syntax_node6(x_40, x_78, x_77, x_50, x_51, x_45, x_50, x_68);
x_80 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_79, x_17, x_18, x_47);
return x_80;
}
}
else
{
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; 
x_81 = lean_ctor_get(x_45, 1);
lean_inc(x_81);
lean_dec(x_45);
x_82 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_40);
x_83 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_83, 0, x_40);
lean_ctor_set(x_83, 1, x_3);
lean_ctor_set(x_83, 2, x_82);
lean_inc(x_83);
lean_inc(x_40);
x_84 = l_Lean_Syntax_node1(x_40, x_5, x_83);
x_85 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_40);
x_86 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_86, 0, x_40);
lean_ctor_set(x_86, 1, x_85);
x_87 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_40);
lean_ctor_set_tag(x_41, 2);
lean_ctor_set(x_41, 1, x_87);
lean_ctor_set(x_41, 0, x_40);
x_88 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_40);
lean_ctor_set_tag(x_35, 2);
lean_ctor_set(x_35, 1, x_88);
lean_ctor_set(x_35, 0, x_40);
x_89 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_40);
if (lean_is_scalar(x_23)) {
 x_90 = lean_alloc_ctor(2, 2, 0);
} else {
 x_90 = x_23;
 lean_ctor_set_tag(x_90, 2);
}
lean_ctor_set(x_90, 0, x_40);
lean_ctor_set(x_90, 1, x_89);
x_91 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_90);
lean_inc(x_35);
lean_inc(x_40);
x_92 = l_Lean_Syntax_node3(x_40, x_91, x_35, x_27, x_90);
lean_inc(x_3);
lean_inc(x_40);
x_93 = l_Lean_Syntax_node1(x_40, x_3, x_92);
lean_inc(x_3);
lean_inc(x_40);
x_94 = l_Lean_Syntax_node1(x_40, x_3, x_93);
x_95 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_40);
x_96 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_96, 0, x_40);
lean_ctor_set(x_96, 1, x_95);
lean_inc(x_40);
x_97 = l_Lean_Syntax_node3(x_40, x_91, x_35, x_34, x_90);
x_98 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_40);
x_99 = l_Lean_Syntax_node4(x_40, x_98, x_41, x_94, x_96, x_97);
lean_inc(x_3);
lean_inc(x_40);
x_100 = l_Lean_Syntax_node1(x_40, x_3, x_99);
x_101 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_40);
x_102 = l_Lean_Syntax_node1(x_40, x_101, x_100);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
x_103 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__18;
lean_inc(x_3);
lean_inc(x_40);
x_104 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_104, 0, x_40);
lean_ctor_set(x_104, 1, x_3);
lean_ctor_set(x_104, 2, x_103);
x_105 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_83);
x_106 = l_Lean_Syntax_node6(x_40, x_105, x_104, x_83, x_84, x_86, x_83, x_102);
x_107 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_106, x_17, x_18, x_81);
return x_107;
}
else
{
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; 
x_108 = lean_ctor_get(x_6, 0);
lean_inc(x_108);
lean_dec(x_6);
x_109 = l_Array_mkArray1___rarg(x_108);
x_110 = l_Array_append___rarg(x_82, x_109);
lean_dec(x_109);
lean_inc(x_3);
lean_inc(x_40);
x_111 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_111, 0, x_40);
lean_ctor_set(x_111, 1, x_3);
lean_ctor_set(x_111, 2, x_110);
x_112 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_83);
x_113 = l_Lean_Syntax_node6(x_40, x_112, x_111, x_83, x_84, x_86, x_83, x_102);
x_114 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_113, x_17, x_18, x_81);
return x_114;
}
}
}
else
{
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; 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; 
x_115 = lean_ctor_get(x_41, 1);
lean_inc(x_115);
lean_dec(x_41);
x_116 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_115);
x_117 = lean_ctor_get(x_116, 1);
lean_inc(x_117);
if (lean_is_exclusive(x_116)) {
 lean_ctor_release(x_116, 0);
 lean_ctor_release(x_116, 1);
 x_118 = x_116;
} else {
 lean_dec_ref(x_116);
 x_118 = lean_box(0);
}
x_119 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_40);
x_120 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_120, 0, x_40);
lean_ctor_set(x_120, 1, x_3);
lean_ctor_set(x_120, 2, x_119);
lean_inc(x_120);
lean_inc(x_40);
x_121 = l_Lean_Syntax_node1(x_40, x_5, x_120);
x_122 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_40);
if (lean_is_scalar(x_118)) {
 x_123 = lean_alloc_ctor(2, 2, 0);
} else {
 x_123 = x_118;
 lean_ctor_set_tag(x_123, 2);
}
lean_ctor_set(x_123, 0, x_40);
lean_ctor_set(x_123, 1, x_122);
x_124 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_40);
x_125 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_125, 0, x_40);
lean_ctor_set(x_125, 1, x_124);
x_126 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_40);
lean_ctor_set_tag(x_35, 2);
lean_ctor_set(x_35, 1, x_126);
lean_ctor_set(x_35, 0, x_40);
x_127 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_40);
if (lean_is_scalar(x_23)) {
 x_128 = lean_alloc_ctor(2, 2, 0);
} else {
 x_128 = x_23;
 lean_ctor_set_tag(x_128, 2);
}
lean_ctor_set(x_128, 0, x_40);
lean_ctor_set(x_128, 1, x_127);
x_129 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_128);
lean_inc(x_35);
lean_inc(x_40);
x_130 = l_Lean_Syntax_node3(x_40, x_129, x_35, x_27, x_128);
lean_inc(x_3);
lean_inc(x_40);
x_131 = l_Lean_Syntax_node1(x_40, x_3, x_130);
lean_inc(x_3);
lean_inc(x_40);
x_132 = l_Lean_Syntax_node1(x_40, x_3, x_131);
x_133 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_40);
x_134 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_134, 0, x_40);
lean_ctor_set(x_134, 1, x_133);
lean_inc(x_40);
x_135 = l_Lean_Syntax_node3(x_40, x_129, x_35, x_34, x_128);
x_136 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_40);
x_137 = l_Lean_Syntax_node4(x_40, x_136, x_125, x_132, x_134, x_135);
lean_inc(x_3);
lean_inc(x_40);
x_138 = l_Lean_Syntax_node1(x_40, x_3, x_137);
x_139 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_40);
x_140 = l_Lean_Syntax_node1(x_40, x_139, x_138);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; 
x_141 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__18;
lean_inc(x_3);
lean_inc(x_40);
x_142 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_142, 0, x_40);
lean_ctor_set(x_142, 1, x_3);
lean_ctor_set(x_142, 2, x_141);
x_143 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_120);
x_144 = l_Lean_Syntax_node6(x_40, x_143, x_142, x_120, x_121, x_123, x_120, x_140);
x_145 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_144, x_17, x_18, x_117);
return x_145;
}
else
{
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; 
x_146 = lean_ctor_get(x_6, 0);
lean_inc(x_146);
lean_dec(x_6);
x_147 = l_Array_mkArray1___rarg(x_146);
x_148 = l_Array_append___rarg(x_119, x_147);
lean_dec(x_147);
lean_inc(x_3);
lean_inc(x_40);
x_149 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_149, 0, x_40);
lean_ctor_set(x_149, 1, x_3);
lean_ctor_set(x_149, 2, x_148);
x_150 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_120);
x_151 = l_Lean_Syntax_node6(x_40, x_150, x_149, x_120, x_121, x_123, x_120, x_140);
x_152 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_151, x_17, x_18, x_117);
return x_152;
}
}
}
else
{
lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* 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; lean_object* x_163; 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; 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; lean_object* x_183; lean_object* x_184; lean_object* x_185; 
x_153 = lean_ctor_get(x_35, 0);
x_154 = lean_ctor_get(x_35, 1);
lean_inc(x_154);
lean_inc(x_153);
lean_dec(x_35);
x_155 = 0;
x_156 = l_Lean_SourceInfo_fromRef(x_153, x_155);
lean_dec(x_153);
x_157 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_154);
x_158 = lean_ctor_get(x_157, 1);
lean_inc(x_158);
if (lean_is_exclusive(x_157)) {
 lean_ctor_release(x_157, 0);
 lean_ctor_release(x_157, 1);
 x_159 = x_157;
} else {
 lean_dec_ref(x_157);
 x_159 = lean_box(0);
}
x_160 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_158);
x_161 = lean_ctor_get(x_160, 1);
lean_inc(x_161);
if (lean_is_exclusive(x_160)) {
 lean_ctor_release(x_160, 0);
 lean_ctor_release(x_160, 1);
 x_162 = x_160;
} else {
 lean_dec_ref(x_160);
 x_162 = lean_box(0);
}
x_163 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_156);
x_164 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_164, 0, x_156);
lean_ctor_set(x_164, 1, x_3);
lean_ctor_set(x_164, 2, x_163);
lean_inc(x_164);
lean_inc(x_156);
x_165 = l_Lean_Syntax_node1(x_156, x_5, x_164);
x_166 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_156);
if (lean_is_scalar(x_162)) {
 x_167 = lean_alloc_ctor(2, 2, 0);
} else {
 x_167 = x_162;
 lean_ctor_set_tag(x_167, 2);
}
lean_ctor_set(x_167, 0, x_156);
lean_ctor_set(x_167, 1, x_166);
x_168 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_156);
if (lean_is_scalar(x_159)) {
 x_169 = lean_alloc_ctor(2, 2, 0);
} else {
 x_169 = x_159;
 lean_ctor_set_tag(x_169, 2);
}
lean_ctor_set(x_169, 0, x_156);
lean_ctor_set(x_169, 1, x_168);
x_170 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_156);
x_171 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_171, 0, x_156);
lean_ctor_set(x_171, 1, x_170);
x_172 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_156);
if (lean_is_scalar(x_23)) {
 x_173 = lean_alloc_ctor(2, 2, 0);
} else {
 x_173 = x_23;
 lean_ctor_set_tag(x_173, 2);
}
lean_ctor_set(x_173, 0, x_156);
lean_ctor_set(x_173, 1, x_172);
x_174 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_173);
lean_inc(x_171);
lean_inc(x_156);
x_175 = l_Lean_Syntax_node3(x_156, x_174, x_171, x_27, x_173);
lean_inc(x_3);
lean_inc(x_156);
x_176 = l_Lean_Syntax_node1(x_156, x_3, x_175);
lean_inc(x_3);
lean_inc(x_156);
x_177 = l_Lean_Syntax_node1(x_156, x_3, x_176);
x_178 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_156);
x_179 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_179, 0, x_156);
lean_ctor_set(x_179, 1, x_178);
lean_inc(x_156);
x_180 = l_Lean_Syntax_node3(x_156, x_174, x_171, x_34, x_173);
x_181 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_156);
x_182 = l_Lean_Syntax_node4(x_156, x_181, x_169, x_177, x_179, x_180);
lean_inc(x_3);
lean_inc(x_156);
x_183 = l_Lean_Syntax_node1(x_156, x_3, x_182);
x_184 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_156);
x_185 = l_Lean_Syntax_node1(x_156, x_184, x_183);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_186 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__18;
lean_inc(x_3);
lean_inc(x_156);
x_187 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_187, 0, x_156);
lean_ctor_set(x_187, 1, x_3);
lean_ctor_set(x_187, 2, x_186);
x_188 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_164);
x_189 = l_Lean_Syntax_node6(x_156, x_188, x_187, x_164, x_165, x_167, x_164, x_185);
x_190 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_189, x_17, x_18, x_161);
return x_190;
}
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_6, 0);
lean_inc(x_191);
lean_dec(x_6);
x_192 = l_Array_mkArray1___rarg(x_191);
x_193 = l_Array_append___rarg(x_163, x_192);
lean_dec(x_192);
lean_inc(x_3);
lean_inc(x_156);
x_194 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_194, 0, x_156);
lean_ctor_set(x_194, 1, x_3);
lean_ctor_set(x_194, 2, x_193);
x_195 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_164);
x_196 = l_Lean_Syntax_node6(x_156, x_195, x_194, x_164, x_165, x_167, x_164, x_185);
x_197 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_196, x_17, x_18, x_161);
return x_197;
}
}
}
else
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; 
x_198 = lean_unsigned_to_nat(0u);
x_199 = l_Lean_Syntax_getArg(x_4, x_198);
x_200 = l_Lean_Elab_Command_getRef(x_17, x_18, x_29);
x_201 = !lean_is_exclusive(x_200);
if (x_201 == 0)
{
lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; 
x_202 = lean_ctor_get(x_200, 0);
x_203 = lean_ctor_get(x_200, 1);
x_204 = 0;
x_205 = l_Lean_SourceInfo_fromRef(x_202, x_204);
lean_dec(x_202);
x_206 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_203);
x_207 = !lean_is_exclusive(x_206);
if (x_207 == 0)
{
lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; 
x_208 = lean_ctor_get(x_206, 0);
x_209 = lean_ctor_get(x_206, 1);
x_210 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_209);
x_211 = !lean_is_exclusive(x_210);
if (x_211 == 0)
{
lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* 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; 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_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; 
x_212 = lean_ctor_get(x_210, 0);
x_213 = lean_ctor_get(x_210, 1);
x_214 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_205);
x_215 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_215, 0, x_205);
lean_ctor_set(x_215, 1, x_3);
lean_ctor_set(x_215, 2, x_214);
lean_inc(x_215);
lean_inc(x_205);
x_216 = l_Lean_Syntax_node1(x_205, x_5, x_215);
x_217 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_205);
lean_ctor_set_tag(x_210, 2);
lean_ctor_set(x_210, 1, x_217);
lean_ctor_set(x_210, 0, x_205);
x_218 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_205);
lean_ctor_set_tag(x_206, 2);
lean_ctor_set(x_206, 1, x_218);
lean_ctor_set(x_206, 0, x_205);
x_219 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_205);
lean_ctor_set_tag(x_200, 2);
lean_ctor_set(x_200, 1, x_219);
lean_ctor_set(x_200, 0, x_205);
x_220 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_205);
if (lean_is_scalar(x_23)) {
 x_221 = lean_alloc_ctor(2, 2, 0);
} else {
 x_221 = x_23;
 lean_ctor_set_tag(x_221, 2);
}
lean_ctor_set(x_221, 0, x_205);
lean_ctor_set(x_221, 1, x_220);
x_222 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_221);
lean_inc(x_205);
x_223 = l_Lean_Syntax_node3(x_205, x_222, x_200, x_27, x_221);
lean_inc(x_3);
lean_inc(x_205);
x_224 = l_Lean_Syntax_node1(x_205, x_3, x_223);
lean_inc(x_3);
lean_inc(x_205);
x_225 = l_Lean_Syntax_node1(x_205, x_3, x_224);
x_226 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_205);
x_227 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_227, 0, x_205);
lean_ctor_set(x_227, 1, x_226);
x_228 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
lean_inc(x_208);
lean_inc(x_212);
x_229 = l_Lean_addMacroScope(x_212, x_228, x_208);
x_230 = lean_box(0);
x_231 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22;
x_232 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27;
lean_inc(x_205);
x_233 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_233, 0, x_205);
lean_ctor_set(x_233, 1, x_231);
lean_ctor_set(x_233, 2, x_229);
lean_ctor_set(x_233, 3, x_232);
x_234 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_205);
x_235 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_235, 0, x_205);
lean_ctor_set(x_235, 1, x_234);
x_236 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__33;
lean_inc(x_205);
x_237 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_237, 0, x_205);
lean_ctor_set(x_237, 1, x_236);
x_238 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__38;
x_239 = l_Lean_addMacroScope(x_212, x_238, x_208);
x_240 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__35;
x_241 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__41;
lean_inc(x_205);
x_242 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_242, 0, x_205);
lean_ctor_set(x_242, 1, x_240);
lean_ctor_set(x_242, 2, x_239);
lean_ctor_set(x_242, 3, x_241);
x_243 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__32;
lean_inc(x_205);
x_244 = l_Lean_Syntax_node2(x_205, x_243, x_237, x_242);
x_245 = l_Lean_Syntax_getId(x_7);
lean_dec(x_7);
x_246 = lean_erase_macro_scopes(x_245);
lean_inc(x_246);
x_247 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_230, x_246);
if (lean_obj_tag(x_6) == 0)
{
x_248 = x_214;
goto block_292;
}
else
{
lean_object* x_293; lean_object* x_294; 
x_293 = lean_ctor_get(x_6, 0);
lean_inc(x_293);
lean_dec(x_6);
x_294 = l_Array_mkArray1___rarg(x_293);
x_248 = x_294;
goto block_292;
}
block_292:
{
lean_object* x_249; lean_object* x_250; 
x_249 = l_Array_append___rarg(x_214, x_248);
lean_dec(x_248);
lean_inc(x_3);
lean_inc(x_205);
x_250 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_250, 0, x_205);
lean_ctor_set(x_250, 1, x_3);
lean_ctor_set(x_250, 2, x_249);
if (lean_obj_tag(x_247) == 0)
{
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; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; 
x_251 = l_Lean_quoteNameMk(x_246);
lean_inc(x_3);
lean_inc(x_205);
x_252 = l_Lean_Syntax_node1(x_205, x_3, x_251);
x_253 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_254 = l_Lean_Syntax_node2(x_205, x_253, x_244, x_252);
x_255 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_256 = l_Lean_Syntax_node3(x_205, x_255, x_235, x_254, x_221);
lean_inc(x_3);
lean_inc(x_205);
x_257 = l_Lean_Syntax_node2(x_205, x_3, x_256, x_199);
lean_inc(x_205);
x_258 = l_Lean_Syntax_node2(x_205, x_253, x_233, x_257);
x_259 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_260 = l_Lean_Syntax_node4(x_205, x_259, x_206, x_225, x_227, x_258);
lean_inc(x_3);
lean_inc(x_205);
x_261 = l_Lean_Syntax_node1(x_205, x_3, x_260);
x_262 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_263 = l_Lean_Syntax_node1(x_205, x_262, x_261);
x_264 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_215);
x_265 = l_Lean_Syntax_node6(x_205, x_264, x_250, x_215, x_216, x_210, x_215, x_263);
x_266 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_265, x_17, x_18, x_213);
return x_266;
}
else
{
lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; 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; 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_dec(x_246);
x_267 = lean_ctor_get(x_247, 0);
lean_inc(x_267);
lean_dec(x_247);
x_268 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__44;
x_269 = l_String_intercalate(x_268, x_267);
x_270 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__45;
x_271 = lean_string_append(x_270, x_269);
lean_dec(x_269);
x_272 = l_Lean_Syntax_mkNameLit(x_271, x_26);
x_273 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__46;
x_274 = lean_array_push(x_273, x_272);
x_275 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__43;
x_276 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_276, 0, x_26);
lean_ctor_set(x_276, 1, x_275);
lean_ctor_set(x_276, 2, x_274);
lean_inc(x_3);
lean_inc(x_205);
x_277 = l_Lean_Syntax_node1(x_205, x_3, x_276);
x_278 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_279 = l_Lean_Syntax_node2(x_205, x_278, x_244, x_277);
x_280 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_281 = l_Lean_Syntax_node3(x_205, x_280, x_235, x_279, x_221);
lean_inc(x_3);
lean_inc(x_205);
x_282 = l_Lean_Syntax_node2(x_205, x_3, x_281, x_199);
lean_inc(x_205);
x_283 = l_Lean_Syntax_node2(x_205, x_278, x_233, x_282);
x_284 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_285 = l_Lean_Syntax_node4(x_205, x_284, x_206, x_225, x_227, x_283);
lean_inc(x_3);
lean_inc(x_205);
x_286 = l_Lean_Syntax_node1(x_205, x_3, x_285);
x_287 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_288 = l_Lean_Syntax_node1(x_205, x_287, x_286);
x_289 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_215);
x_290 = l_Lean_Syntax_node6(x_205, x_289, x_250, x_215, x_216, x_210, x_215, x_288);
x_291 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_290, x_17, x_18, x_213);
return x_291;
}
}
}
else
{
lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; 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; 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; 
x_295 = lean_ctor_get(x_210, 0);
x_296 = lean_ctor_get(x_210, 1);
lean_inc(x_296);
lean_inc(x_295);
lean_dec(x_210);
x_297 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_205);
x_298 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_298, 0, x_205);
lean_ctor_set(x_298, 1, x_3);
lean_ctor_set(x_298, 2, x_297);
lean_inc(x_298);
lean_inc(x_205);
x_299 = l_Lean_Syntax_node1(x_205, x_5, x_298);
x_300 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_205);
x_301 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_301, 0, x_205);
lean_ctor_set(x_301, 1, x_300);
x_302 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_205);
lean_ctor_set_tag(x_206, 2);
lean_ctor_set(x_206, 1, x_302);
lean_ctor_set(x_206, 0, x_205);
x_303 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_205);
lean_ctor_set_tag(x_200, 2);
lean_ctor_set(x_200, 1, x_303);
lean_ctor_set(x_200, 0, x_205);
x_304 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_205);
if (lean_is_scalar(x_23)) {
 x_305 = lean_alloc_ctor(2, 2, 0);
} else {
 x_305 = x_23;
 lean_ctor_set_tag(x_305, 2);
}
lean_ctor_set(x_305, 0, x_205);
lean_ctor_set(x_305, 1, x_304);
x_306 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_305);
lean_inc(x_205);
x_307 = l_Lean_Syntax_node3(x_205, x_306, x_200, x_27, x_305);
lean_inc(x_3);
lean_inc(x_205);
x_308 = l_Lean_Syntax_node1(x_205, x_3, x_307);
lean_inc(x_3);
lean_inc(x_205);
x_309 = l_Lean_Syntax_node1(x_205, x_3, x_308);
x_310 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_205);
x_311 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_311, 0, x_205);
lean_ctor_set(x_311, 1, x_310);
x_312 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
lean_inc(x_208);
lean_inc(x_295);
x_313 = l_Lean_addMacroScope(x_295, x_312, x_208);
x_314 = lean_box(0);
x_315 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22;
x_316 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27;
lean_inc(x_205);
x_317 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_317, 0, x_205);
lean_ctor_set(x_317, 1, x_315);
lean_ctor_set(x_317, 2, x_313);
lean_ctor_set(x_317, 3, x_316);
x_318 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_205);
x_319 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_319, 0, x_205);
lean_ctor_set(x_319, 1, x_318);
x_320 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__33;
lean_inc(x_205);
x_321 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_321, 0, x_205);
lean_ctor_set(x_321, 1, x_320);
x_322 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__38;
x_323 = l_Lean_addMacroScope(x_295, x_322, x_208);
x_324 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__35;
x_325 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__41;
lean_inc(x_205);
x_326 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_326, 0, x_205);
lean_ctor_set(x_326, 1, x_324);
lean_ctor_set(x_326, 2, x_323);
lean_ctor_set(x_326, 3, x_325);
x_327 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__32;
lean_inc(x_205);
x_328 = l_Lean_Syntax_node2(x_205, x_327, x_321, x_326);
x_329 = l_Lean_Syntax_getId(x_7);
lean_dec(x_7);
x_330 = lean_erase_macro_scopes(x_329);
lean_inc(x_330);
x_331 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_314, x_330);
if (lean_obj_tag(x_6) == 0)
{
x_332 = x_297;
goto block_376;
}
else
{
lean_object* x_377; lean_object* x_378; 
x_377 = lean_ctor_get(x_6, 0);
lean_inc(x_377);
lean_dec(x_6);
x_378 = l_Array_mkArray1___rarg(x_377);
x_332 = x_378;
goto block_376;
}
block_376:
{
lean_object* x_333; lean_object* x_334; 
x_333 = l_Array_append___rarg(x_297, x_332);
lean_dec(x_332);
lean_inc(x_3);
lean_inc(x_205);
x_334 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_334, 0, x_205);
lean_ctor_set(x_334, 1, x_3);
lean_ctor_set(x_334, 2, x_333);
if (lean_obj_tag(x_331) == 0)
{
lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; 
x_335 = l_Lean_quoteNameMk(x_330);
lean_inc(x_3);
lean_inc(x_205);
x_336 = l_Lean_Syntax_node1(x_205, x_3, x_335);
x_337 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_338 = l_Lean_Syntax_node2(x_205, x_337, x_328, x_336);
x_339 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_340 = l_Lean_Syntax_node3(x_205, x_339, x_319, x_338, x_305);
lean_inc(x_3);
lean_inc(x_205);
x_341 = l_Lean_Syntax_node2(x_205, x_3, x_340, x_199);
lean_inc(x_205);
x_342 = l_Lean_Syntax_node2(x_205, x_337, x_317, x_341);
x_343 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_344 = l_Lean_Syntax_node4(x_205, x_343, x_206, x_309, x_311, x_342);
lean_inc(x_3);
lean_inc(x_205);
x_345 = l_Lean_Syntax_node1(x_205, x_3, x_344);
x_346 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_347 = l_Lean_Syntax_node1(x_205, x_346, x_345);
x_348 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_298);
x_349 = l_Lean_Syntax_node6(x_205, x_348, x_334, x_298, x_299, x_301, x_298, x_347);
x_350 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_349, x_17, x_18, x_296);
return x_350;
}
else
{
lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; 
lean_dec(x_330);
x_351 = lean_ctor_get(x_331, 0);
lean_inc(x_351);
lean_dec(x_331);
x_352 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__44;
x_353 = l_String_intercalate(x_352, x_351);
x_354 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__45;
x_355 = lean_string_append(x_354, x_353);
lean_dec(x_353);
x_356 = l_Lean_Syntax_mkNameLit(x_355, x_26);
x_357 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__46;
x_358 = lean_array_push(x_357, x_356);
x_359 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__43;
x_360 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_360, 0, x_26);
lean_ctor_set(x_360, 1, x_359);
lean_ctor_set(x_360, 2, x_358);
lean_inc(x_3);
lean_inc(x_205);
x_361 = l_Lean_Syntax_node1(x_205, x_3, x_360);
x_362 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_363 = l_Lean_Syntax_node2(x_205, x_362, x_328, x_361);
x_364 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_365 = l_Lean_Syntax_node3(x_205, x_364, x_319, x_363, x_305);
lean_inc(x_3);
lean_inc(x_205);
x_366 = l_Lean_Syntax_node2(x_205, x_3, x_365, x_199);
lean_inc(x_205);
x_367 = l_Lean_Syntax_node2(x_205, x_362, x_317, x_366);
x_368 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_369 = l_Lean_Syntax_node4(x_205, x_368, x_206, x_309, x_311, x_367);
lean_inc(x_3);
lean_inc(x_205);
x_370 = l_Lean_Syntax_node1(x_205, x_3, x_369);
x_371 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_372 = l_Lean_Syntax_node1(x_205, x_371, x_370);
x_373 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_298);
x_374 = l_Lean_Syntax_node6(x_205, x_373, x_334, x_298, x_299, x_301, x_298, x_372);
x_375 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_374, x_17, x_18, x_296);
return x_375;
}
}
}
}
else
{
lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; 
x_379 = lean_ctor_get(x_206, 0);
x_380 = lean_ctor_get(x_206, 1);
lean_inc(x_380);
lean_inc(x_379);
lean_dec(x_206);
x_381 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_380);
x_382 = lean_ctor_get(x_381, 0);
lean_inc(x_382);
x_383 = lean_ctor_get(x_381, 1);
lean_inc(x_383);
if (lean_is_exclusive(x_381)) {
 lean_ctor_release(x_381, 0);
 lean_ctor_release(x_381, 1);
 x_384 = x_381;
} else {
 lean_dec_ref(x_381);
 x_384 = lean_box(0);
}
x_385 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_205);
x_386 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_386, 0, x_205);
lean_ctor_set(x_386, 1, x_3);
lean_ctor_set(x_386, 2, x_385);
lean_inc(x_386);
lean_inc(x_205);
x_387 = l_Lean_Syntax_node1(x_205, x_5, x_386);
x_388 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_205);
if (lean_is_scalar(x_384)) {
 x_389 = lean_alloc_ctor(2, 2, 0);
} else {
 x_389 = x_384;
 lean_ctor_set_tag(x_389, 2);
}
lean_ctor_set(x_389, 0, x_205);
lean_ctor_set(x_389, 1, x_388);
x_390 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_205);
x_391 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_391, 0, x_205);
lean_ctor_set(x_391, 1, x_390);
x_392 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_205);
lean_ctor_set_tag(x_200, 2);
lean_ctor_set(x_200, 1, x_392);
lean_ctor_set(x_200, 0, x_205);
x_393 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_205);
if (lean_is_scalar(x_23)) {
 x_394 = lean_alloc_ctor(2, 2, 0);
} else {
 x_394 = x_23;
 lean_ctor_set_tag(x_394, 2);
}
lean_ctor_set(x_394, 0, x_205);
lean_ctor_set(x_394, 1, x_393);
x_395 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_394);
lean_inc(x_205);
x_396 = l_Lean_Syntax_node3(x_205, x_395, x_200, x_27, x_394);
lean_inc(x_3);
lean_inc(x_205);
x_397 = l_Lean_Syntax_node1(x_205, x_3, x_396);
lean_inc(x_3);
lean_inc(x_205);
x_398 = l_Lean_Syntax_node1(x_205, x_3, x_397);
x_399 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_205);
x_400 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_400, 0, x_205);
lean_ctor_set(x_400, 1, x_399);
x_401 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
lean_inc(x_379);
lean_inc(x_382);
x_402 = l_Lean_addMacroScope(x_382, x_401, x_379);
x_403 = lean_box(0);
x_404 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22;
x_405 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27;
lean_inc(x_205);
x_406 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_406, 0, x_205);
lean_ctor_set(x_406, 1, x_404);
lean_ctor_set(x_406, 2, x_402);
lean_ctor_set(x_406, 3, x_405);
x_407 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_205);
x_408 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_408, 0, x_205);
lean_ctor_set(x_408, 1, x_407);
x_409 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__33;
lean_inc(x_205);
x_410 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_410, 0, x_205);
lean_ctor_set(x_410, 1, x_409);
x_411 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__38;
x_412 = l_Lean_addMacroScope(x_382, x_411, x_379);
x_413 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__35;
x_414 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__41;
lean_inc(x_205);
x_415 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_415, 0, x_205);
lean_ctor_set(x_415, 1, x_413);
lean_ctor_set(x_415, 2, x_412);
lean_ctor_set(x_415, 3, x_414);
x_416 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__32;
lean_inc(x_205);
x_417 = l_Lean_Syntax_node2(x_205, x_416, x_410, x_415);
x_418 = l_Lean_Syntax_getId(x_7);
lean_dec(x_7);
x_419 = lean_erase_macro_scopes(x_418);
lean_inc(x_419);
x_420 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_403, x_419);
if (lean_obj_tag(x_6) == 0)
{
x_421 = x_385;
goto block_465;
}
else
{
lean_object* x_466; lean_object* x_467; 
x_466 = lean_ctor_get(x_6, 0);
lean_inc(x_466);
lean_dec(x_6);
x_467 = l_Array_mkArray1___rarg(x_466);
x_421 = x_467;
goto block_465;
}
block_465:
{
lean_object* x_422; lean_object* x_423; 
x_422 = l_Array_append___rarg(x_385, x_421);
lean_dec(x_421);
lean_inc(x_3);
lean_inc(x_205);
x_423 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_423, 0, x_205);
lean_ctor_set(x_423, 1, x_3);
lean_ctor_set(x_423, 2, x_422);
if (lean_obj_tag(x_420) == 0)
{
lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; 
x_424 = l_Lean_quoteNameMk(x_419);
lean_inc(x_3);
lean_inc(x_205);
x_425 = l_Lean_Syntax_node1(x_205, x_3, x_424);
x_426 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_427 = l_Lean_Syntax_node2(x_205, x_426, x_417, x_425);
x_428 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_429 = l_Lean_Syntax_node3(x_205, x_428, x_408, x_427, x_394);
lean_inc(x_3);
lean_inc(x_205);
x_430 = l_Lean_Syntax_node2(x_205, x_3, x_429, x_199);
lean_inc(x_205);
x_431 = l_Lean_Syntax_node2(x_205, x_426, x_406, x_430);
x_432 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_433 = l_Lean_Syntax_node4(x_205, x_432, x_391, x_398, x_400, x_431);
lean_inc(x_3);
lean_inc(x_205);
x_434 = l_Lean_Syntax_node1(x_205, x_3, x_433);
x_435 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_436 = l_Lean_Syntax_node1(x_205, x_435, x_434);
x_437 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_386);
x_438 = l_Lean_Syntax_node6(x_205, x_437, x_423, x_386, x_387, x_389, x_386, x_436);
x_439 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_438, x_17, x_18, x_383);
return x_439;
}
else
{
lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; 
lean_dec(x_419);
x_440 = lean_ctor_get(x_420, 0);
lean_inc(x_440);
lean_dec(x_420);
x_441 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__44;
x_442 = l_String_intercalate(x_441, x_440);
x_443 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__45;
x_444 = lean_string_append(x_443, x_442);
lean_dec(x_442);
x_445 = l_Lean_Syntax_mkNameLit(x_444, x_26);
x_446 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__46;
x_447 = lean_array_push(x_446, x_445);
x_448 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__43;
x_449 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_449, 0, x_26);
lean_ctor_set(x_449, 1, x_448);
lean_ctor_set(x_449, 2, x_447);
lean_inc(x_3);
lean_inc(x_205);
x_450 = l_Lean_Syntax_node1(x_205, x_3, x_449);
x_451 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_205);
x_452 = l_Lean_Syntax_node2(x_205, x_451, x_417, x_450);
x_453 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_205);
x_454 = l_Lean_Syntax_node3(x_205, x_453, x_408, x_452, x_394);
lean_inc(x_3);
lean_inc(x_205);
x_455 = l_Lean_Syntax_node2(x_205, x_3, x_454, x_199);
lean_inc(x_205);
x_456 = l_Lean_Syntax_node2(x_205, x_451, x_406, x_455);
x_457 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_205);
x_458 = l_Lean_Syntax_node4(x_205, x_457, x_391, x_398, x_400, x_456);
lean_inc(x_3);
lean_inc(x_205);
x_459 = l_Lean_Syntax_node1(x_205, x_3, x_458);
x_460 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_205);
x_461 = l_Lean_Syntax_node1(x_205, x_460, x_459);
x_462 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_386);
x_463 = l_Lean_Syntax_node6(x_205, x_462, x_423, x_386, x_387, x_389, x_386, x_461);
x_464 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_463, x_17, x_18, x_383);
return x_464;
}
}
}
}
else
{
lean_object* x_468; lean_object* x_469; uint8_t x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; 
x_468 = lean_ctor_get(x_200, 0);
x_469 = lean_ctor_get(x_200, 1);
lean_inc(x_469);
lean_inc(x_468);
lean_dec(x_200);
x_470 = 0;
x_471 = l_Lean_SourceInfo_fromRef(x_468, x_470);
lean_dec(x_468);
x_472 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_469);
x_473 = lean_ctor_get(x_472, 0);
lean_inc(x_473);
x_474 = lean_ctor_get(x_472, 1);
lean_inc(x_474);
if (lean_is_exclusive(x_472)) {
 lean_ctor_release(x_472, 0);
 lean_ctor_release(x_472, 1);
 x_475 = x_472;
} else {
 lean_dec_ref(x_472);
 x_475 = lean_box(0);
}
x_476 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_474);
x_477 = lean_ctor_get(x_476, 0);
lean_inc(x_477);
x_478 = lean_ctor_get(x_476, 1);
lean_inc(x_478);
if (lean_is_exclusive(x_476)) {
 lean_ctor_release(x_476, 0);
 lean_ctor_release(x_476, 1);
 x_479 = x_476;
} else {
 lean_dec_ref(x_476);
 x_479 = lean_box(0);
}
x_480 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__6;
lean_inc(x_3);
lean_inc(x_471);
x_481 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_481, 0, x_471);
lean_ctor_set(x_481, 1, x_3);
lean_ctor_set(x_481, 2, x_480);
lean_inc(x_481);
lean_inc(x_471);
x_482 = l_Lean_Syntax_node1(x_471, x_5, x_481);
x_483 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__4;
lean_inc(x_471);
if (lean_is_scalar(x_479)) {
 x_484 = lean_alloc_ctor(2, 2, 0);
} else {
 x_484 = x_479;
 lean_ctor_set_tag(x_484, 2);
}
lean_ctor_set(x_484, 0, x_471);
lean_ctor_set(x_484, 1, x_483);
x_485 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__12;
lean_inc(x_471);
if (lean_is_scalar(x_475)) {
 x_486 = lean_alloc_ctor(2, 2, 0);
} else {
 x_486 = x_475;
 lean_ctor_set_tag(x_486, 2);
}
lean_ctor_set(x_486, 0, x_471);
lean_ctor_set(x_486, 1, x_485);
x_487 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__15;
lean_inc(x_471);
x_488 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_488, 0, x_471);
lean_ctor_set(x_488, 1, x_487);
x_489 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__16;
lean_inc(x_471);
if (lean_is_scalar(x_23)) {
 x_490 = lean_alloc_ctor(2, 2, 0);
} else {
 x_490 = x_23;
 lean_ctor_set_tag(x_490, 2);
}
lean_ctor_set(x_490, 0, x_471);
lean_ctor_set(x_490, 1, x_489);
x_491 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__14;
lean_inc(x_490);
lean_inc(x_471);
x_492 = l_Lean_Syntax_node3(x_471, x_491, x_488, x_27, x_490);
lean_inc(x_3);
lean_inc(x_471);
x_493 = l_Lean_Syntax_node1(x_471, x_3, x_492);
lean_inc(x_3);
lean_inc(x_471);
x_494 = l_Lean_Syntax_node1(x_471, x_3, x_493);
x_495 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__17;
lean_inc(x_471);
x_496 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_496, 0, x_471);
lean_ctor_set(x_496, 1, x_495);
x_497 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25;
lean_inc(x_473);
lean_inc(x_477);
x_498 = l_Lean_addMacroScope(x_477, x_497, x_473);
x_499 = lean_box(0);
x_500 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22;
x_501 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27;
lean_inc(x_471);
x_502 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_502, 0, x_471);
lean_ctor_set(x_502, 1, x_500);
lean_ctor_set(x_502, 2, x_498);
lean_ctor_set(x_502, 3, x_501);
x_503 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__30;
lean_inc(x_471);
x_504 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_504, 0, x_471);
lean_ctor_set(x_504, 1, x_503);
x_505 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__33;
lean_inc(x_471);
x_506 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_506, 0, x_471);
lean_ctor_set(x_506, 1, x_505);
x_507 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__38;
x_508 = l_Lean_addMacroScope(x_477, x_507, x_473);
x_509 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__35;
x_510 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__41;
lean_inc(x_471);
x_511 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_511, 0, x_471);
lean_ctor_set(x_511, 1, x_509);
lean_ctor_set(x_511, 2, x_508);
lean_ctor_set(x_511, 3, x_510);
x_512 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__32;
lean_inc(x_471);
x_513 = l_Lean_Syntax_node2(x_471, x_512, x_506, x_511);
x_514 = l_Lean_Syntax_getId(x_7);
lean_dec(x_7);
x_515 = lean_erase_macro_scopes(x_514);
lean_inc(x_515);
x_516 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_499, x_515);
if (lean_obj_tag(x_6) == 0)
{
x_517 = x_480;
goto block_561;
}
else
{
lean_object* x_562; lean_object* x_563; 
x_562 = lean_ctor_get(x_6, 0);
lean_inc(x_562);
lean_dec(x_6);
x_563 = l_Array_mkArray1___rarg(x_562);
x_517 = x_563;
goto block_561;
}
block_561:
{
lean_object* x_518; lean_object* x_519; 
x_518 = l_Array_append___rarg(x_480, x_517);
lean_dec(x_517);
lean_inc(x_3);
lean_inc(x_471);
x_519 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_519, 0, x_471);
lean_ctor_set(x_519, 1, x_3);
lean_ctor_set(x_519, 2, x_518);
if (lean_obj_tag(x_516) == 0)
{
lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; 
x_520 = l_Lean_quoteNameMk(x_515);
lean_inc(x_3);
lean_inc(x_471);
x_521 = l_Lean_Syntax_node1(x_471, x_3, x_520);
x_522 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_471);
x_523 = l_Lean_Syntax_node2(x_471, x_522, x_513, x_521);
x_524 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_471);
x_525 = l_Lean_Syntax_node3(x_471, x_524, x_504, x_523, x_490);
lean_inc(x_3);
lean_inc(x_471);
x_526 = l_Lean_Syntax_node2(x_471, x_3, x_525, x_199);
lean_inc(x_471);
x_527 = l_Lean_Syntax_node2(x_471, x_522, x_502, x_526);
x_528 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_471);
x_529 = l_Lean_Syntax_node4(x_471, x_528, x_486, x_494, x_496, x_527);
lean_inc(x_3);
lean_inc(x_471);
x_530 = l_Lean_Syntax_node1(x_471, x_3, x_529);
x_531 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_471);
x_532 = l_Lean_Syntax_node1(x_471, x_531, x_530);
x_533 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_481);
x_534 = l_Lean_Syntax_node6(x_471, x_533, x_519, x_481, x_482, x_484, x_481, x_532);
x_535 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_534, x_17, x_18, x_478);
return x_535;
}
else
{
lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; 
lean_dec(x_515);
x_536 = lean_ctor_get(x_516, 0);
lean_inc(x_536);
lean_dec(x_516);
x_537 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__44;
x_538 = l_String_intercalate(x_537, x_536);
x_539 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__45;
x_540 = lean_string_append(x_539, x_538);
lean_dec(x_538);
x_541 = l_Lean_Syntax_mkNameLit(x_540, x_26);
x_542 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__46;
x_543 = lean_array_push(x_542, x_541);
x_544 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__43;
x_545 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_545, 0, x_26);
lean_ctor_set(x_545, 1, x_544);
lean_ctor_set(x_545, 2, x_543);
lean_inc(x_3);
lean_inc(x_471);
x_546 = l_Lean_Syntax_node1(x_471, x_3, x_545);
x_547 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20;
lean_inc(x_471);
x_548 = l_Lean_Syntax_node2(x_471, x_547, x_513, x_546);
x_549 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__29;
lean_inc(x_471);
x_550 = l_Lean_Syntax_node3(x_471, x_549, x_504, x_548, x_490);
lean_inc(x_3);
lean_inc(x_471);
x_551 = l_Lean_Syntax_node2(x_471, x_3, x_550, x_199);
lean_inc(x_471);
x_552 = l_Lean_Syntax_node2(x_471, x_547, x_502, x_551);
x_553 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__11;
lean_inc(x_471);
x_554 = l_Lean_Syntax_node4(x_471, x_553, x_486, x_494, x_496, x_552);
lean_inc(x_3);
lean_inc(x_471);
x_555 = l_Lean_Syntax_node1(x_471, x_3, x_554);
x_556 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9;
lean_inc(x_471);
x_557 = l_Lean_Syntax_node1(x_471, x_556, x_555);
x_558 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__5;
lean_inc(x_481);
x_559 = l_Lean_Syntax_node6(x_471, x_558, x_519, x_481, x_482, x_484, x_481, x_557);
x_560 = l_Lean_Elab_Command_elabMacro___lambda__1(x_2, x_28, x_3, x_559, x_17, x_18, x_478);
return x_560;
}
}
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("macroTail", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__3___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Command_elabMacro___lambda__3___closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_14 = lean_unsigned_to_nat(7u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(8u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = l_Lean_Elab_Command_elabMacro___lambda__3___closed__2;
lean_inc(x_17);
x_19 = l_Lean_Syntax_isOfKind(x_17, x_18);
if (x_19 == 0)
{
lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_13);
return x_20;
}
else
{
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; 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; uint8_t x_37; 
x_21 = lean_unsigned_to_nat(1u);
x_22 = l_Lean_Syntax_getArg(x_17, x_21);
x_23 = lean_unsigned_to_nat(3u);
x_24 = l_Lean_Syntax_getArg(x_17, x_23);
lean_dec(x_17);
x_25 = l_Lean_Syntax_getArgs(x_15);
lean_dec(x_15);
x_26 = l_Lean_Elab_Command_elabMacro___lambda__3___closed__3;
lean_inc(x_2);
x_27 = lean_array_push(x_26, x_2);
lean_inc(x_24);
x_28 = lean_array_push(x_27, x_24);
x_29 = lean_box(2);
x_30 = l_Lean_Elab_Command_elabMacro___lambda__3___closed__5;
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_31, 2, x_28);
x_32 = lean_alloc_closure((void*)(l_Lean_evalOptPrio), 3, 1);
lean_closure_set(x_32, 0, x_10);
x_33 = l_Lean_Elab_Command_getRef(x_11, x_12, x_13);
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_33, 1);
lean_inc(x_35);
lean_dec(x_33);
x_36 = l_Lean_replaceRef(x_31, x_34);
lean_dec(x_34);
lean_dec(x_31);
x_37 = !lean_is_exclusive(x_11);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_11, 6);
lean_dec(x_38);
lean_ctor_set(x_11, 6, x_36);
lean_inc(x_11);
x_39 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__4(x_32, x_11, x_12, x_35);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; 
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
x_41 = lean_ctor_get(x_39, 1);
lean_inc(x_41);
lean_dec(x_39);
x_42 = lean_array_size(x_25);
x_43 = 0;
lean_inc(x_12);
lean_inc(x_11);
x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1(x_42, x_43, x_25, x_11, x_12, x_41);
if (lean_obj_tag(x_44) == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
x_46 = lean_ctor_get(x_44, 1);
lean_inc(x_46);
lean_dec(x_44);
x_47 = l_Array_unzip___rarg(x_45);
lean_dec(x_45);
if (lean_obj_tag(x_6) == 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 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_47, 1);
lean_inc(x_49);
lean_dec(x_47);
x_50 = l_Lean_Syntax_getId(x_22);
lean_inc(x_48);
x_51 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_51, 0, x_29);
lean_ctor_set(x_51, 1, x_30);
lean_ctor_set(x_51, 2, x_48);
x_52 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkNameFromParserSyntax___boxed), 4, 2);
lean_closure_set(x_52, 0, x_50);
lean_closure_set(x_52, 1, x_51);
lean_inc(x_11);
x_53 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__9(x_52, x_11, x_12, x_46);
if (lean_obj_tag(x_53) == 0)
{
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 = lean_ctor_get(x_53, 0);
lean_inc(x_54);
x_55 = lean_ctor_get(x_53, 1);
lean_inc(x_55);
lean_dec(x_53);
lean_inc(x_5);
x_56 = l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__13(x_54, x_5, x_11, x_12, x_55);
x_57 = lean_ctor_get(x_56, 0);
lean_inc(x_57);
x_58 = lean_ctor_get(x_56, 1);
lean_inc(x_58);
lean_dec(x_56);
x_59 = l_Lean_Elab_Command_elabMacro___lambda__2(x_49, x_26, x_30, x_24, x_3, x_4, x_22, x_40, x_48, x_43, x_5, x_6, x_2, x_7, x_8, x_57, x_11, x_12, x_58);
lean_dec(x_2);
lean_dec(x_24);
return x_59;
}
else
{
uint8_t x_60; 
lean_dec(x_49);
lean_dec(x_48);
lean_dec(x_40);
lean_dec(x_11);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_60 = !lean_is_exclusive(x_53);
if (x_60 == 0)
{
return x_53;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_61 = lean_ctor_get(x_53, 0);
x_62 = lean_ctor_get(x_53, 1);
lean_inc(x_62);
lean_inc(x_61);
lean_dec(x_53);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
return x_63;
}
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_64 = lean_ctor_get(x_47, 0);
lean_inc(x_64);
x_65 = lean_ctor_get(x_47, 1);
lean_inc(x_65);
lean_dec(x_47);
x_66 = lean_ctor_get(x_6, 0);
lean_inc(x_66);
x_67 = l_Lean_Syntax_getId(x_66);
lean_dec(x_66);
x_68 = l_Lean_Elab_Command_elabMacro___lambda__2(x_65, x_26, x_30, x_24, x_3, x_4, x_22, x_40, x_64, x_43, x_5, x_6, x_2, x_7, x_8, x_67, x_11, x_12, x_46);
lean_dec(x_2);
lean_dec(x_24);
return x_68;
}
}
else
{
uint8_t x_69; 
lean_dec(x_40);
lean_dec(x_11);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_69 = !lean_is_exclusive(x_44);
if (x_69 == 0)
{
return x_44;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_70 = lean_ctor_get(x_44, 0);
x_71 = lean_ctor_get(x_44, 1);
lean_inc(x_71);
lean_inc(x_70);
lean_dec(x_44);
x_72 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_71);
return x_72;
}
}
}
else
{
uint8_t x_73; 
lean_dec(x_11);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_73 = !lean_is_exclusive(x_39);
if (x_73 == 0)
{
return x_39;
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
x_74 = lean_ctor_get(x_39, 0);
x_75 = lean_ctor_get(x_39, 1);
lean_inc(x_75);
lean_inc(x_74);
lean_dec(x_39);
x_76 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
return x_76;
}
}
}
else
{
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; uint8_t x_86; lean_object* x_87; lean_object* x_88; 
x_77 = lean_ctor_get(x_11, 0);
x_78 = lean_ctor_get(x_11, 1);
x_79 = lean_ctor_get(x_11, 2);
x_80 = lean_ctor_get(x_11, 3);
x_81 = lean_ctor_get(x_11, 4);
x_82 = lean_ctor_get(x_11, 5);
x_83 = lean_ctor_get(x_11, 7);
x_84 = lean_ctor_get(x_11, 8);
x_85 = lean_ctor_get(x_11, 9);
x_86 = lean_ctor_get_uint8(x_11, sizeof(void*)*10);
lean_inc(x_85);
lean_inc(x_84);
lean_inc(x_83);
lean_inc(x_82);
lean_inc(x_81);
lean_inc(x_80);
lean_inc(x_79);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_11);
x_87 = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(x_87, 0, x_77);
lean_ctor_set(x_87, 1, x_78);
lean_ctor_set(x_87, 2, x_79);
lean_ctor_set(x_87, 3, x_80);
lean_ctor_set(x_87, 4, x_81);
lean_ctor_set(x_87, 5, x_82);
lean_ctor_set(x_87, 6, x_36);
lean_ctor_set(x_87, 7, x_83);
lean_ctor_set(x_87, 8, x_84);
lean_ctor_set(x_87, 9, x_85);
lean_ctor_set_uint8(x_87, sizeof(void*)*10, x_86);
lean_inc(x_87);
x_88 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__4(x_32, x_87, x_12, x_35);
if (lean_obj_tag(x_88) == 0)
{
lean_object* x_89; lean_object* x_90; size_t x_91; size_t x_92; lean_object* x_93; 
x_89 = lean_ctor_get(x_88, 0);
lean_inc(x_89);
x_90 = lean_ctor_get(x_88, 1);
lean_inc(x_90);
lean_dec(x_88);
x_91 = lean_array_size(x_25);
x_92 = 0;
lean_inc(x_12);
lean_inc(x_87);
x_93 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1(x_91, x_92, x_25, x_87, x_12, x_90);
if (lean_obj_tag(x_93) == 0)
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_94 = lean_ctor_get(x_93, 0);
lean_inc(x_94);
x_95 = lean_ctor_get(x_93, 1);
lean_inc(x_95);
lean_dec(x_93);
x_96 = l_Array_unzip___rarg(x_94);
lean_dec(x_94);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_97 = lean_ctor_get(x_96, 0);
lean_inc(x_97);
x_98 = lean_ctor_get(x_96, 1);
lean_inc(x_98);
lean_dec(x_96);
x_99 = l_Lean_Syntax_getId(x_22);
lean_inc(x_97);
x_100 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_100, 0, x_29);
lean_ctor_set(x_100, 1, x_30);
lean_ctor_set(x_100, 2, x_97);
x_101 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkNameFromParserSyntax___boxed), 4, 2);
lean_closure_set(x_101, 0, x_99);
lean_closure_set(x_101, 1, x_100);
lean_inc(x_87);
x_102 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__9(x_101, x_87, x_12, x_95);
if (lean_obj_tag(x_102) == 0)
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 
x_103 = lean_ctor_get(x_102, 0);
lean_inc(x_103);
x_104 = lean_ctor_get(x_102, 1);
lean_inc(x_104);
lean_dec(x_102);
lean_inc(x_5);
x_105 = l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__13(x_103, x_5, x_87, x_12, x_104);
x_106 = lean_ctor_get(x_105, 0);
lean_inc(x_106);
x_107 = lean_ctor_get(x_105, 1);
lean_inc(x_107);
lean_dec(x_105);
x_108 = l_Lean_Elab_Command_elabMacro___lambda__2(x_98, x_26, x_30, x_24, x_3, x_4, x_22, x_89, x_97, x_92, x_5, x_6, x_2, x_7, x_8, x_106, x_87, x_12, x_107);
lean_dec(x_2);
lean_dec(x_24);
return x_108;
}
else
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; 
lean_dec(x_98);
lean_dec(x_97);
lean_dec(x_89);
lean_dec(x_87);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_109 = lean_ctor_get(x_102, 0);
lean_inc(x_109);
x_110 = lean_ctor_get(x_102, 1);
lean_inc(x_110);
if (lean_is_exclusive(x_102)) {
 lean_ctor_release(x_102, 0);
 lean_ctor_release(x_102, 1);
 x_111 = x_102;
} else {
 lean_dec_ref(x_102);
 x_111 = lean_box(0);
}
if (lean_is_scalar(x_111)) {
 x_112 = lean_alloc_ctor(1, 2, 0);
} else {
 x_112 = x_111;
}
lean_ctor_set(x_112, 0, x_109);
lean_ctor_set(x_112, 1, x_110);
return x_112;
}
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; 
x_113 = lean_ctor_get(x_96, 0);
lean_inc(x_113);
x_114 = lean_ctor_get(x_96, 1);
lean_inc(x_114);
lean_dec(x_96);
x_115 = lean_ctor_get(x_6, 0);
lean_inc(x_115);
x_116 = l_Lean_Syntax_getId(x_115);
lean_dec(x_115);
x_117 = l_Lean_Elab_Command_elabMacro___lambda__2(x_114, x_26, x_30, x_24, x_3, x_4, x_22, x_89, x_113, x_92, x_5, x_6, x_2, x_7, x_8, x_116, x_87, x_12, x_95);
lean_dec(x_2);
lean_dec(x_24);
return x_117;
}
}
else
{
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
lean_dec(x_89);
lean_dec(x_87);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_118 = lean_ctor_get(x_93, 0);
lean_inc(x_118);
x_119 = lean_ctor_get(x_93, 1);
lean_inc(x_119);
if (lean_is_exclusive(x_93)) {
 lean_ctor_release(x_93, 0);
 lean_ctor_release(x_93, 1);
 x_120 = x_93;
} else {
 lean_dec_ref(x_93);
 x_120 = lean_box(0);
}
if (lean_is_scalar(x_120)) {
 x_121 = lean_alloc_ctor(1, 2, 0);
} else {
 x_121 = x_120;
}
lean_ctor_set(x_121, 0, x_118);
lean_ctor_set(x_121, 1, x_119);
return x_121;
}
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; 
lean_dec(x_87);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_122 = lean_ctor_get(x_88, 0);
lean_inc(x_122);
x_123 = lean_ctor_get(x_88, 1);
lean_inc(x_123);
if (lean_is_exclusive(x_88)) {
 lean_ctor_release(x_88, 0);
 lean_ctor_release(x_88, 1);
 x_124 = x_88;
} else {
 lean_dec_ref(x_88);
 x_124 = lean_box(0);
}
if (lean_is_scalar(x_124)) {
 x_125 = lean_alloc_ctor(1, 2, 0);
} else {
 x_125 = x_124;
}
lean_ctor_set(x_125, 0, x_122);
lean_ctor_set(x_125, 1, x_123);
return x_125;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_13 = lean_unsigned_to_nat(6u);
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
x_15 = l_Lean_Syntax_isNone(x_14);
if (x_15 == 0)
{
lean_object* x_16; uint8_t x_17; 
x_16 = lean_unsigned_to_nat(1u);
lean_inc(x_14);
x_17 = l_Lean_Syntax_matchesNull(x_14, x_16);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_14);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_12);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_19 = lean_unsigned_to_nat(0u);
x_20 = l_Lean_Syntax_getArg(x_14, x_19);
lean_dec(x_14);
x_21 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__54;
lean_inc(x_20);
x_22 = l_Lean_Syntax_isOfKind(x_20, x_21);
if (x_22 == 0)
{
lean_object* x_23; 
lean_dec(x_20);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_23 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_12);
return x_23;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_24 = lean_unsigned_to_nat(3u);
x_25 = l_Lean_Syntax_getArg(x_20, x_24);
lean_dec(x_20);
x_26 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_26, 0, x_25);
x_27 = lean_box(0);
x_28 = l_Lean_Elab_Command_elabMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_27, x_26, x_10, x_11, x_12);
return x_28;
}
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
lean_dec(x_14);
x_29 = lean_box(0);
x_30 = lean_box(0);
x_31 = l_Lean_Elab_Command_elabMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_9, x_6, x_7, x_30, x_29, x_10, x_11, x_12);
return x_31;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_12 = lean_unsigned_to_nat(5u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = l_Lean_Syntax_isNone(x_13);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = lean_unsigned_to_nat(1u);
lean_inc(x_13);
x_16 = l_Lean_Syntax_matchesNull(x_13, x_15);
if (x_16 == 0)
{
lean_object* x_17; 
lean_dec(x_13);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_11);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_18 = lean_unsigned_to_nat(0u);
x_19 = l_Lean_Syntax_getArg(x_13, x_18);
lean_dec(x_13);
x_20 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__50;
lean_inc(x_19);
x_21 = l_Lean_Syntax_isOfKind(x_19, x_20);
if (x_21 == 0)
{
lean_object* x_22; 
lean_dec(x_19);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_11);
return x_22;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = lean_unsigned_to_nat(3u);
x_24 = l_Lean_Syntax_getArg(x_19, x_23);
lean_dec(x_19);
x_25 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_box(0);
x_27 = l_Lean_Elab_Command_elabMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_8, x_6, x_26, x_25, x_9, x_10, x_11);
return x_27;
}
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
lean_dec(x_13);
x_28 = lean_box(0);
x_29 = lean_box(0);
x_30 = l_Lean_Elab_Command_elabMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_8, x_6, x_29, x_28, x_9, x_10, x_11);
return x_30;
}
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attrKind", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___lambda__6___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__7;
x_4 = l_Lean_Elab_Command_elabMacro___lambda__6___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = lean_unsigned_to_nat(2u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Elab_Command_elabMacro___lambda__6___closed__2;
lean_inc(x_9);
x_11 = l_Lean_Syntax_isOfKind(x_9, x_10);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_12 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_7);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_13 = lean_unsigned_to_nat(3u);
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
x_15 = lean_unsigned_to_nat(4u);
x_16 = l_Lean_Syntax_getArg(x_1, x_15);
x_17 = l_Lean_Syntax_isNone(x_16);
if (x_17 == 0)
{
lean_object* x_18; uint8_t x_19; 
x_18 = lean_unsigned_to_nat(1u);
lean_inc(x_16);
x_19 = l_Lean_Syntax_matchesNull(x_16, x_18);
if (x_19 == 0)
{
lean_object* x_20; 
lean_dec(x_16);
lean_dec(x_14);
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_7);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_21 = lean_unsigned_to_nat(0u);
x_22 = l_Lean_Syntax_getArg(x_16, x_21);
lean_dec(x_16);
x_23 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__59;
lean_inc(x_22);
x_24 = l_Lean_Syntax_isOfKind(x_22, x_23);
if (x_24 == 0)
{
lean_object* x_25; 
lean_dec(x_22);
lean_dec(x_14);
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_25 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_7);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_26 = l_Lean_Syntax_getArg(x_22, x_18);
lean_dec(x_22);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
x_28 = lean_box(0);
x_29 = l_Lean_Elab_Command_elabMacro___lambda__5(x_1, x_14, x_10, x_2, x_9, x_4, x_28, x_27, x_5, x_6, x_7);
return x_29;
}
}
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
lean_dec(x_16);
x_30 = lean_box(0);
x_31 = lean_box(0);
x_32 = l_Lean_Elab_Command_elabMacro___lambda__5(x_1, x_14, x_10, x_2, x_9, x_4, x_31, x_30, x_5, x_6, x_7);
return x_32;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_7 = lean_unsigned_to_nat(1u);
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
x_9 = l_Lean_Syntax_isNone(x_8);
if (x_9 == 0)
{
uint8_t x_10; 
lean_inc(x_8);
x_10 = l_Lean_Syntax_matchesNull(x_8, x_7);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_11 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_6);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_12 = lean_unsigned_to_nat(0u);
x_13 = l_Lean_Syntax_getArg(x_8, x_12);
lean_dec(x_8);
x_14 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__61;
lean_inc(x_13);
x_15 = l_Lean_Syntax_isOfKind(x_13, x_14);
if (x_15 == 0)
{
lean_object* x_16; 
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_16 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_6);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_17 = l_Lean_Syntax_getArg(x_13, x_7);
lean_dec(x_13);
x_18 = l_Lean_Syntax_getArgs(x_17);
lean_dec(x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
x_20 = lean_box(0);
x_21 = l_Lean_Elab_Command_elabMacro___lambda__6(x_1, x_3, x_20, x_19, x_4, x_5, x_6);
lean_dec(x_19);
return x_21;
}
}
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
lean_dec(x_8);
x_22 = lean_box(0);
x_23 = lean_box(0);
x_24 = l_Lean_Elab_Command_elabMacro___lambda__6(x_1, x_3, x_23, x_22, x_4, x_5, x_6);
return x_24;
}
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("macro", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("docComment", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Command_elabMacro___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l_Lean_Elab_Command_elabMacro___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = l_Lean_Elab_Command_elabMacro___closed__2;
lean_inc(x_1);
x_6 = l_Lean_Syntax_isOfKind(x_1, x_5);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_4);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Syntax_isNone(x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_unsigned_to_nat(1u);
lean_inc(x_9);
x_12 = l_Lean_Syntax_matchesNull(x_9, x_11);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_4);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_14 = l_Lean_Syntax_getArg(x_9, x_8);
lean_dec(x_9);
x_15 = l_Lean_Elab_Command_elabMacro___closed__4;
lean_inc(x_14);
x_16 = l_Lean_Syntax_isOfKind(x_14, x_15);
if (x_16 == 0)
{
lean_object* x_17; 
lean_dec(x_14);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__1___rarg(x_4);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_14);
x_19 = lean_box(0);
x_20 = l_Lean_Elab_Command_elabMacro___lambda__7(x_1, x_19, x_18, x_2, x_3, x_4);
lean_dec(x_1);
return x_20;
}
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_9);
x_21 = lean_box(0);
x_22 = lean_box(0);
x_23 = l_Lean_Elab_Command_elabMacro___lambda__7(x_1, x_22, x_21, x_2, x_3, x_4);
lean_dec(x_1);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_8 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__1(x_7, x_8, x_3, x_4, x_5, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
_start:
{
size_t x_20; lean_object* x_21; 
x_20 = lean_unbox_usize(x_10);
lean_dec(x_10);
x_21 = l_Lean_Elab_Command_elabMacro___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_4);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Command_elabMacro___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_1);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Elab_Command_elabMacro___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Command_elabMacro___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Elab_Command_elabMacro___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Elab_Command_elabMacro___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Elab", 4, 4);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("elabMacro", 9, 9);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1;
x_3 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3;
x_4 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_Command_commandElabAttribute;
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacro), 4, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro__1(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 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4;
x_3 = l_Lean_Elab_Command_elabMacro___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3;
x_5 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5;
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
return x_6;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(14u);
x_2 = lean_unsigned_to_nat(50u);
x_3 = lean_alloc_ctor(0, 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___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(44u);
x_2 = lean_unsigned_to_nat(31u);
x_3 = lean_alloc_ctor(0, 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___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1;
x_2 = lean_unsigned_to_nat(50u);
x_3 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2;
x_4 = lean_unsigned_to_nat(31u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(14u);
x_2 = lean_unsigned_to_nat(54u);
x_3 = lean_alloc_ctor(0, 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___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(14u);
x_2 = lean_unsigned_to_nat(63u);
x_3 = lean_alloc_ctor(0, 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___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4;
x_2 = lean_unsigned_to_nat(54u);
x_3 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5;
x_4 = lean_unsigned_to_nat(63u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3;
x_2 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3;
x_3 = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7;
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
return x_4;
}
}
lean_object* initialize_Lean_Elab_MacroArgUtil(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Macro(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_Elab_MacroArgUtil(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__1);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__2);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__3();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__3);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__4();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__4);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__5 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__5();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__5);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__6 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__6();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__6);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__7 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__7();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__7);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__8 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__8();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__8);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__9 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__9();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__9);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__10 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__10();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__10);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__11 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__11();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__11);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__12 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__12();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__12);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__13 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__13();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__13);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__14 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__14();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__14);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__15 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__15();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__15);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__16 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__16();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__16);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__17 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__17();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__17);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__18 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__18();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__18);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__19 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__19();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__19);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__20 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__20();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__20);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__21 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__21();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__21);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__22 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__22();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__22);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__23 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__23();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__23);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__24 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__24();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__24);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__25 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__25();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__25);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__26 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__26();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__26);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__27 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__27();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__27);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__28 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__28();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__28);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__29 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__29();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__29);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__30 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__30();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__30);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__31 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__31();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__31);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__32 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__32();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__32);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__33 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__33();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__33);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__34 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__34();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__34);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__35 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__35();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__35);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__36 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__36();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__36);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__37 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__37();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__37);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__38 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__38();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__38);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__39 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__39();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__39);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__40 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__40();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__40);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__41 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__41();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__41);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__42 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__42();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__42);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__43 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__43();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__43);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__44 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__44();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__44);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__45 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__45();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__45);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__46 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__46();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__46);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__47 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__47();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__47);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__48 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__48();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__48);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__49 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__49();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__49);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__50 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__50();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__50);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__51 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__51();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__51);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__52 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__52();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__52);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__53 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__53();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__53);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__54 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__54();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__54);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__55 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__55();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__55);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__56 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__56();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__56);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__57 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__57();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__57);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__58 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__58();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__58);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__59 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__59();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__59);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__60 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__60();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__60);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__61 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__61();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__61);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__62 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__62();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__62);
l_Lean_Elab_Command_elabMacro___lambda__2___closed__63 = _init_l_Lean_Elab_Command_elabMacro___lambda__2___closed__63();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__2___closed__63);
l_Lean_Elab_Command_elabMacro___lambda__3___closed__1 = _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__1();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__3___closed__1);
l_Lean_Elab_Command_elabMacro___lambda__3___closed__2 = _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__2();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__3___closed__2);
l_Lean_Elab_Command_elabMacro___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__3();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__3___closed__3);
l_Lean_Elab_Command_elabMacro___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__4();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__3___closed__4);
l_Lean_Elab_Command_elabMacro___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabMacro___lambda__3___closed__5();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__3___closed__5);
l_Lean_Elab_Command_elabMacro___lambda__6___closed__1 = _init_l_Lean_Elab_Command_elabMacro___lambda__6___closed__1();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__6___closed__1);
l_Lean_Elab_Command_elabMacro___lambda__6___closed__2 = _init_l_Lean_Elab_Command_elabMacro___lambda__6___closed__2();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___lambda__6___closed__2);
l_Lean_Elab_Command_elabMacro___closed__1 = _init_l_Lean_Elab_Command_elabMacro___closed__1();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___closed__1);
l_Lean_Elab_Command_elabMacro___closed__2 = _init_l_Lean_Elab_Command_elabMacro___closed__2();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___closed__2);
l_Lean_Elab_Command_elabMacro___closed__3 = _init_l_Lean_Elab_Command_elabMacro___closed__3();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___closed__3);
l_Lean_Elab_Command_elabMacro___closed__4 = _init_l_Lean_Elab_Command_elabMacro___closed__4();
lean_mark_persistent(l_Lean_Elab_Command_elabMacro___closed__4);
l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__1);
l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__2);
l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__3);
l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__4);
l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro__1___closed__5);
if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabMacro__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__1);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__2);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__3);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__4);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__5);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__6);
l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7 = _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1___closed__7);
if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
