// Lean compiler output
// Module: Lean.Data.Options
// Imports: Lean.ImportingFlag Lean.Data.KVMap Lean.Data.NameMap
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__1;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__16;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__6;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__10;
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__14;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__21;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30;
LEAN_EXPORT uint8_t l_Lean_Options_getInPattern(lean_object*);
static lean_object* l_Lean_registerOption___closed__1;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_156_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__21;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__29;
lean_object* l_Lean_Syntax_getId(lean_object*);
static lean_object* l_Lean_instInhabitedOptionDecl___closed__2;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19;
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerOption__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__7;
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__2___boxed(lean_object*);
lean_object* l_Lean_KVMap_getNat(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__1;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__27;
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor(lean_object*, lean_object*);
static lean_object* l_Lean_registerOption___lambda__3___closed__2;
LEAN_EXPORT lean_object* l_Lean_Option_registerOption;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__11;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__4;
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__18;
lean_object* l_Lean_KVMap_instForInProdNameDataValue(lean_object*, lean_object*);
lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__15;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__8;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__12;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__5;
LEAN_EXPORT lean_object* l_Lean_Option_set(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instToStringOptions;
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__19;
lean_object* l_Lean_initializing(lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__11;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28;
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__8;
extern lean_object* l_Lean_KVMap_instBEq;
LEAN_EXPORT lean_object* l_Lean_instMonadOptionsOfMonadLift(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instForInOptionsProdNameDataValue(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_registerBuiltinOption;
static lean_object* l_Lean_registerOption___lambda__1___closed__1;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__23;
static lean_object* l_Lean_registerOption___lambda__3___closed__1;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17;
lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__6;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__23;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__7;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__14;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__16;
LEAN_EXPORT lean_object* l_Lean_getNatOption(lean_object*);
uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___rarg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__18;
static lean_object* l_Lean_Option_registerOption___closed__3;
static lean_object* l_Lean_registerOption___lambda__3___closed__3;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25;
lean_object* l_Lean_quoteNameMk(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__17;
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__28;
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__20;
LEAN_EXPORT lean_object* l_Lean_getOptionDecls(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__26;
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36;
static lean_object* l_Lean_withInPattern___rarg___closed__1;
LEAN_EXPORT lean_object* l_Lean_getBoolOption(lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23;
static lean_object* l_Lean_Option_registerOption___closed__4;
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10;
LEAN_EXPORT lean_object* l_Lean_instMonadOptionsOfMonadLift___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Lean_Data_Options___hyg_1109_;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg(lean_object*, lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__24;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__10;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__29;
LEAN_EXPORT lean_object* l_Lean_instInhabitedOptionDecls;
static lean_object* l_Lean_Option_registerOption___closed__5;
static lean_object* l_Lean_registerOption___closed__2;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__4;
LEAN_EXPORT lean_object* l_Lean_withInPattern(lean_object*, lean_object*);
lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__30;
lean_object* l_Lean_KVMap_instToString(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7;
LEAN_EXPORT lean_object* lean_register_option(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f(lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33;
static lean_object* l_Lean_Option_registerOption___closed__11;
LEAN_EXPORT lean_object* l_Lean_withInPattern___rarg___lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_register(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35;
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__22;
LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet(lean_object*);
static lean_object* l_Lean_withInPattern___rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__17;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Options_getInPattern___boxed(lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__22;
static lean_object* l_Lean_withInPattern___rarg___lambda__1___closed__2;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9;
LEAN_EXPORT lean_object* l_Lean_Option_register___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__15;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__2;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13;
LEAN_EXPORT lean_object* l_Lean_Option_set___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instInhabitedOption(lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__5;
LEAN_EXPORT lean_object* l_Lean_instInhabitedOptionDecl;
LEAN_EXPORT uint8_t l_Lean_registerOption___lambda__2(lean_object*);
static lean_object* l_Lean_instInhabitedOptionDecl___closed__1;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__26;
LEAN_EXPORT lean_object* l_Lean_instInhabitedOptions;
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__9;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__3;
static lean_object* l_Lean_instForInOptionsProdNameDataValue___closed__1;
LEAN_EXPORT lean_object* lean_get_option_decls_array(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getOptionDefaultValue(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instBEqOptions;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__19;
static lean_object* l_Lean_Option_registerOption___closed__8;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12;
lean_object* l_Array_mkArray1___rarg(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20;
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__25;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__27;
LEAN_EXPORT lean_object* l_Lean_instInhabitedOption___rarg(lean_object*);
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__13;
static lean_object* l_Lean_Option_registerOption___closed__9;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__4;
lean_object* l_String_intercalate(lean_object*, lean_object*);
lean_object* lean_array_mk(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__9;
LEAN_EXPORT lean_object* l_Lean_OptionDecl_declName___autoParam;
LEAN_EXPORT lean_object* l___private_Lean_Data_Options_0__Lean_optionDeclsRef;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__24;
lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getOptionDecl___closed__1;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withInPattern___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerBuiltinOption___closed__28;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15;
static lean_object* l_Lean_instInhabitedOptionDecl___closed__3;
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26;
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__20;
lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerOption___closed__2;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__3;
static lean_object* l_Lean_Option_registerOption___closed__1;
LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*);
static lean_object* l_Lean_Option_registerOption___closed__7;
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__2;
LEAN_EXPORT lean_object* l_Lean_getOptionDescr(lean_object*, lean_object*);
static lean_object* l_Lean_getOptionDeclsArray___closed__1;
static lean_object* l_Lean_OptionDecl_declName___autoParam___closed__25;
lean_object* l_String_toSubstring_x27(lean_object*);
static lean_object* l_Lean_getOptionDecl___closed__2;
static lean_object* l_Lean_Option_registerOption___closed__10;
LEAN_EXPORT lean_object* l_Lean_Options_empty;
static lean_object* l_Lean_Option_registerOption___closed__6;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2;
static lean_object* l_Lean_instToStringOptions___closed__1;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__13;
static lean_object* l_Lean_Option_registerBuiltinOption___closed__12;
static lean_object* _init_l_Lean_Options_empty() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedOptions() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_instToStringOptions___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_KVMap_instToString), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_instToStringOptions() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instToStringOptions___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lean_instForInOptionsProdNameDataValue___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_KVMap_instForInProdNameDataValue), 2, 1);
lean_closure_set(x_1, 0, lean_box(0));
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_instForInOptionsProdNameDataValue(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_instForInOptionsProdNameDataValue___closed__1;
return x_2;
}
}
static lean_object* _init_l_Lean_instBEqOptions() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_KVMap_instBEq;
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___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_OptionDecl_declName___autoParam___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_OptionDecl_declName___autoParam___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__3;
x_4 = l_Lean_OptionDecl_declName___autoParam___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_OptionDecl_declName___autoParam___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_OptionDecl_declName___autoParam___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__8() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__3;
x_4 = l_Lean_OptionDecl_declName___autoParam___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("exact", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__12() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__3;
x_4 = l_Lean_OptionDecl_declName___autoParam___closed__11;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__11;
x_3 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__6;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__13;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declName", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__17() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_OptionDecl_declName___autoParam___closed__16;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("decl_name%", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__18;
x_3 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__6;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__19;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__17;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__20;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__14;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__21;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__12;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__22;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__6;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__23;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__10;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__24;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__6;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__25;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__8;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__26;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__6;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__27;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(2);
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__5;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__28;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_OptionDecl_declName___autoParam() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__29;
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedOptionDecl___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedOptionDecl___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_instInhabitedOptionDecl___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_instInhabitedOptionDecl___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(0);
x_2 = l_Lean_instInhabitedOptionDecl___closed__2;
x_3 = l_Lean_instInhabitedOptionDecl___closed__1;
x_4 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
lean_ctor_set(x_4, 3, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_instInhabitedOptionDecl() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedOptionDecl___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedOptionDecls() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_156_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = lean_box(0);
x_3 = lean_st_mk_ref(x_2, x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
}
static lean_object* _init_l_Lean_registerOption___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lean_Data_Options_0__Lean_optionDeclsRef;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_6 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_2, x_3);
x_7 = l_Lean_registerOption___lambda__1___closed__1;
x_8 = lean_st_ref_set(x_7, x_6, x_5);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
return x_8;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = lean_ctor_get(x_8, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_8);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
return x_12;
}
}
}
LEAN_EXPORT uint8_t l_Lean_registerOption___lambda__2(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = 0;
return x_2;
}
}
static lean_object* _init_l_Lean_registerOption___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_registerOption___lambda__2___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_registerOption___lambda__3___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("invalid option declaration '", 28, 28);
return x_1;
}
}
static lean_object* _init_l_Lean_registerOption___lambda__3___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("', option already exists", 24, 24);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = l_Lean_registerOption___lambda__1___closed__1;
x_6 = lean_st_ref_get(x_5, x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = lean_ctor_get(x_6, 1);
x_10 = l_Lean_NameMap_contains___rarg(x_8, x_1);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
lean_free_object(x_6);
x_11 = lean_box(0);
x_12 = l_Lean_registerOption___lambda__1(x_8, x_1, x_2, x_11, x_9);
return x_12;
}
else
{
uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_dec(x_8);
lean_dec(x_2);
x_13 = 1;
x_14 = l_Lean_registerOption___lambda__3___closed__1;
x_15 = l_Lean_Name_toString(x_1, x_13, x_14);
x_16 = l_Lean_registerOption___lambda__3___closed__2;
x_17 = lean_string_append(x_16, x_15);
lean_dec(x_15);
x_18 = l_Lean_registerOption___lambda__3___closed__3;
x_19 = lean_string_append(x_17, x_18);
x_20 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set_tag(x_6, 1);
lean_ctor_set(x_6, 0, x_20);
return x_6;
}
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = lean_ctor_get(x_6, 0);
x_22 = lean_ctor_get(x_6, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_6);
x_23 = l_Lean_NameMap_contains___rarg(x_21, x_1);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_box(0);
x_25 = l_Lean_registerOption___lambda__1(x_21, x_1, x_2, x_24, x_22);
return x_25;
}
else
{
uint8_t 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_dec(x_21);
lean_dec(x_2);
x_26 = 1;
x_27 = l_Lean_registerOption___lambda__3___closed__1;
x_28 = l_Lean_Name_toString(x_1, x_26, x_27);
x_29 = l_Lean_registerOption___lambda__3___closed__2;
x_30 = lean_string_append(x_29, x_28);
lean_dec(x_28);
x_31 = l_Lean_registerOption___lambda__3___closed__3;
x_32 = lean_string_append(x_30, x_31);
x_33 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_33, 0, x_32);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_22);
return x_34;
}
}
}
}
static lean_object* _init_l_Lean_registerOption___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("failed to register option, options can only be registered during initialization", 79, 79);
return x_1;
}
}
static lean_object* _init_l_Lean_registerOption___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_registerOption___closed__1;
x_2 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* lean_register_option(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = l_Lean_initializing(x_3);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_unbox(x_5);
lean_dec(x_5);
if (x_6 == 0)
{
uint8_t x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_7 = !lean_is_exclusive(x_4);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_4, 0);
lean_dec(x_8);
x_9 = l_Lean_registerOption___closed__2;
lean_ctor_set_tag(x_4, 1);
lean_ctor_set(x_4, 0, x_9);
return x_4;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_4, 1);
lean_inc(x_10);
lean_dec(x_4);
x_11 = l_Lean_registerOption___closed__2;
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
return x_12;
}
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_4, 1);
lean_inc(x_13);
lean_dec(x_4);
x_14 = lean_box(0);
x_15 = l_Lean_registerOption___lambda__3(x_1, x_2, x_14, x_13);
return x_15;
}
}
}
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_registerOption___lambda__1(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__2___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_registerOption___lambda__2(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_registerOption___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_registerOption___lambda__3(x_1, x_2, x_3, x_4);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_getOptionDecls(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = l_Lean_registerOption___lambda__1___closed__1;
x_3 = lean_st_ref_get(x_2, x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
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; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_ctor_get(x_2, 3);
x_7 = l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(x_1, x_3);
lean_inc(x_5);
lean_inc(x_4);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_5);
x_9 = lean_array_push(x_7, x_8);
x_1 = x_9;
x_2 = x_6;
goto _start;
}
}
}
static lean_object* _init_l_Lean_getOptionDeclsArray___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_array_mk(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* lean_get_option_decls_array(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Lean_getOptionDecls(x_1);
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_getOptionDeclsArray___closed__1;
x_6 = l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(x_5, x_4);
lean_dec(x_4);
lean_ctor_set(x_2, 0, x_6);
return x_2;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_ctor_get(x_2, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_dec(x_2);
x_9 = l_Lean_getOptionDeclsArray___closed__1;
x_10 = l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(x_9, x_7);
lean_dec(x_7);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_8);
return x_11;
}
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_RBNode_fold___at_Lean_getOptionDeclsArray___spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_getOptionDecl___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown option '", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_getOptionDecl___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_getOptionDecl(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l_Lean_getOptionDecls(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(x_5, x_1);
lean_dec(x_5);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_7 = 1;
x_8 = l_Lean_registerOption___lambda__3___closed__1;
x_9 = l_Lean_Name_toString(x_1, x_7, x_8);
x_10 = l_Lean_getOptionDecl___closed__1;
x_11 = lean_string_append(x_10, x_9);
lean_dec(x_9);
x_12 = l_Lean_getOptionDecl___closed__2;
x_13 = lean_string_append(x_11, x_12);
x_14 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set_tag(x_3, 1);
lean_ctor_set(x_3, 0, x_14);
return x_3;
}
else
{
lean_object* x_15; 
lean_dec(x_1);
x_15 = lean_ctor_get(x_6, 0);
lean_inc(x_15);
lean_dec(x_6);
lean_ctor_set(x_3, 0, x_15);
return x_3;
}
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_16 = lean_ctor_get(x_3, 0);
x_17 = lean_ctor_get(x_3, 1);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_3);
x_18 = l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(x_16, x_1);
lean_dec(x_16);
if (lean_obj_tag(x_18) == 0)
{
uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_19 = 1;
x_20 = l_Lean_registerOption___lambda__3___closed__1;
x_21 = l_Lean_Name_toString(x_1, x_19, x_20);
x_22 = l_Lean_getOptionDecl___closed__1;
x_23 = lean_string_append(x_22, x_21);
lean_dec(x_21);
x_24 = l_Lean_getOptionDecl___closed__2;
x_25 = lean_string_append(x_23, x_24);
x_26 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_26, 0, x_25);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_17);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; 
lean_dec(x_1);
x_28 = lean_ctor_get(x_18, 0);
lean_inc(x_28);
lean_dec(x_18);
x_29 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_17);
return x_29;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_getOptionDefaultValue(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_getOptionDecl(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_6);
return x_3;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_ctor_get(x_3, 0);
x_8 = lean_ctor_get(x_3, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_dec(x_3);
x_9 = lean_ctor_get(x_7, 1);
lean_inc(x_9);
lean_dec(x_7);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
return x_10;
}
}
else
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_3);
if (x_11 == 0)
{
return x_3;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_3, 0);
x_13 = lean_ctor_get(x_3, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_3);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_getOptionDescr(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_getOptionDecl(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_5, 3);
lean_inc(x_6);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_6);
return x_3;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_ctor_get(x_3, 0);
x_8 = lean_ctor_get(x_3, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_dec(x_3);
x_9 = lean_ctor_get(x_7, 3);
lean_inc(x_9);
lean_dec(x_7);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
return x_10;
}
}
else
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_3);
if (x_11 == 0)
{
return x_3;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_3, 0);
x_13 = lean_ctor_get(x_3, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_3);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_instMonadOptionsOfMonadLift___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_2(x_1, lean_box(0), x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_instMonadOptionsOfMonadLift(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_instMonadOptionsOfMonadLift___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = l_Lean_KVMap_getBool(x_4, x_2, x_3);
x_8 = lean_box(x_7);
x_9 = lean_apply_2(x_6, lean_box(0), x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
x_6 = lean_box(x_4);
x_7 = lean_alloc_closure((void*)(l_Lean_getBoolOption___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_7, 0, x_1);
lean_closure_set(x_7, 1, x_3);
lean_closure_set(x_7, 2, x_6);
x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_2, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_getBoolOption(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_getBoolOption___rarg___boxed), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_3);
lean_dec(x_3);
x_6 = l_Lean_getBoolOption___rarg___lambda__1(x_1, x_2, x_5, x_4);
lean_dec(x_4);
lean_dec(x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_getBoolOption___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_4);
lean_dec(x_4);
x_6 = l_Lean_getBoolOption___rarg(x_1, x_2, x_3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = l_Lean_KVMap_getNat(x_4, x_2, x_3);
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
x_6 = lean_alloc_closure((void*)(l_Lean_getNatOption___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_6, 0, x_1);
lean_closure_set(x_6, 1, x_3);
lean_closure_set(x_6, 2, x_4);
x_7 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_2, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_getNatOption(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_getNatOption___rarg), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_getNatOption___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_getNatOption___rarg___lambda__1(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_apply_3(x_1, lean_box(0), x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_alloc_closure((void*)(l_Lean_instMonadWithOptionsOfMonadFunctor___rarg___lambda__1), 4, 2);
lean_closure_set(x_6, 0, x_2);
lean_closure_set(x_6, 1, x_4);
x_7 = lean_apply_3(x_1, lean_box(0), x_6, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_instMonadWithOptionsOfMonadFunctor(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_instMonadWithOptionsOfMonadFunctor___rarg), 5, 0);
return x_3;
}
}
static lean_object* _init_l_Lean_withInPattern___rarg___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_inPattern", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_withInPattern___rarg___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_withInPattern___rarg___lambda__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_withInPattern___rarg___lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; lean_object* x_4; 
x_2 = l_Lean_withInPattern___rarg___lambda__1___closed__2;
x_3 = 1;
x_4 = l_Lean_KVMap_setBool(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_withInPattern___rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_withInPattern___rarg___lambda__1), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_withInPattern___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_withInPattern___rarg___closed__1;
x_4 = lean_apply_3(x_1, lean_box(0), x_3, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_withInPattern(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_withInPattern___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT uint8_t l_Lean_Options_getInPattern(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; uint8_t x_4; 
x_2 = l_Lean_withInPattern___rarg___lambda__1___closed__2;
x_3 = 0;
x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Options_getInPattern___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_Options_getInPattern(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_instInhabitedOption___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_box(0);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_instInhabitedOption(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_instInhabitedOption___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_3, 0);
x_5 = l_Lean_KVMap_findCore(x_2, x_4);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; 
lean_dec(x_1);
x_6 = lean_box(0);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec(x_5);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_dec(x_1);
x_9 = lean_apply_1(x_8, x_7);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Option_get_x3f___rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Option_get_x3f___rarg(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_3, 0);
x_5 = lean_ctor_get(x_3, 1);
x_6 = l_Lean_KVMap_findCore(x_2, x_4);
if (lean_obj_tag(x_6) == 0)
{
lean_dec(x_1);
lean_inc(x_5);
return x_5;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_dec(x_1);
x_9 = lean_apply_1(x_8, x_7);
if (lean_obj_tag(x_9) == 0)
{
lean_inc(x_5);
return x_5;
}
else
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
return x_10;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Option_get___rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Option_get___rarg(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_set___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec(x_1);
x_7 = lean_apply_1(x_6, x_4);
x_8 = l_Lean_KVMap_insertCore(x_2, x_5, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_set(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Option_set___rarg), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet___rarg(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 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
x_6 = l_Lean_KVMap_contains(x_2, x_5);
lean_dec(x_5);
if (x_6 == 0)
{
lean_object* x_7; 
x_7 = l_Lean_Option_set___rarg(x_1, x_2, x_3, x_4);
return x_7;
}
else
{
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_2;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Option_setIfNotSet___rarg), 4, 0);
return x_2;
}
}
static lean_object* _init_l___auto____x40_Lean_Data_Options___hyg_1109_() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__29;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_register___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
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; 
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec(x_1);
x_7 = lean_ctor_get(x_3, 0);
lean_inc(x_7);
lean_inc(x_7);
x_8 = lean_apply_1(x_6, x_7);
x_9 = lean_ctor_get(x_3, 1);
lean_inc(x_9);
x_10 = lean_ctor_get(x_3, 2);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_11, 0, x_4);
lean_ctor_set(x_11, 1, x_8);
lean_ctor_set(x_11, 2, x_9);
lean_ctor_set(x_11, 3, x_10);
lean_inc(x_2);
x_12 = lean_register_option(x_2, x_11, x_5);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_dec(x_14);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_2);
lean_ctor_set(x_15, 1, x_7);
lean_ctor_set(x_12, 0, x_15);
return x_12;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_16 = lean_ctor_get(x_12, 1);
lean_inc(x_16);
lean_dec(x_12);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_2);
lean_ctor_set(x_17, 1, x_7);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_16);
return x_18;
}
}
else
{
uint8_t x_19; 
lean_dec(x_7);
lean_dec(x_2);
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_Lean_Option_register(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Option_register___rarg), 5, 0);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Option", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("registerBuiltinOption", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_Option_registerBuiltinOption___closed__1;
x_3 = l_Lean_Option_registerBuiltinOption___closed__2;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("andthen", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option_registerBuiltinOption___closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optional", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option_registerBuiltinOption___closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("docComment", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option_registerBuiltinOption___closed__8;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__9;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__7;
x_2 = l_Lean_Option_registerBuiltinOption___closed__10;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("register_builtin_option", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__12;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__11;
x_3 = l_Lean_Option_registerBuiltinOption___closed__13;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ident", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option_registerBuiltinOption___closed__15;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__16;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__14;
x_3 = l_Lean_Option_registerBuiltinOption___closed__17;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" : ", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__19;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__18;
x_3 = l_Lean_Option_registerBuiltinOption___closed__20;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("term", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option_registerBuiltinOption___closed__22;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__23;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__21;
x_3 = l_Lean_Option_registerBuiltinOption___closed__24;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__26;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__25;
x_3 = l_Lean_Option_registerBuiltinOption___closed__27;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__28;
x_3 = l_Lean_Option_registerBuiltinOption___closed__24;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__3;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Option_registerBuiltinOption___closed__29;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerBuiltinOption() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__30;
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initialize", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__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_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declModifiers", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___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_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initializeKeyword", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("builtin_initialize", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeSpec", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("app", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.Option", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_Option_registerBuiltinOption___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16;
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_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18;
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_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17;
x_2 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("←", 3, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("doSeqIndent", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("doSeqItem", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("doExpr", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.Option.register", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28;
x_2 = l_String_toSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("register", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_Option_registerBuiltinOption___closed__1;
x_3 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31;
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_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32;
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_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("quotedName", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35() {
_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_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_OptionDecl_declName___autoParam___closed__2;
x_3 = l_Lean_OptionDecl_declName___autoParam___closed__15;
x_4 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Option_registerBuiltinOption___closed__3;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_97; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = lean_unsigned_to_nat(4u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = lean_unsigned_to_nat(6u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
lean_dec(x_1);
x_97 = l_Lean_Syntax_getOptional_x3f(x_9);
lean_dec(x_9);
if (lean_obj_tag(x_97) == 0)
{
lean_object* x_98; 
x_98 = lean_box(0);
x_16 = x_98;
goto block_96;
}
else
{
uint8_t x_99; 
x_99 = !lean_is_exclusive(x_97);
if (x_99 == 0)
{
x_16 = x_97;
goto block_96;
}
else
{
lean_object* x_100; lean_object* x_101; 
x_100 = lean_ctor_get(x_97, 0);
lean_inc(x_100);
lean_dec(x_97);
x_101 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_101, 0, x_100);
x_16 = x_101;
goto block_96;
}
}
block_96:
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_17 = lean_ctor_get(x_2, 5);
lean_inc(x_17);
x_18 = 0;
x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18);
lean_dec(x_17);
x_20 = lean_ctor_get(x_2, 2);
lean_inc(x_20);
x_21 = lean_ctor_get(x_2, 1);
lean_inc(x_21);
lean_dec(x_2);
x_22 = l_Lean_OptionDecl_declName___autoParam___closed__10;
x_23 = l_Lean_OptionDecl_declName___autoParam___closed__6;
lean_inc(x_19);
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_19);
lean_ctor_set(x_24, 1, x_22);
lean_ctor_set(x_24, 2, x_23);
x_25 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8;
lean_inc(x_19);
x_26 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_26, 0, x_19);
lean_ctor_set(x_26, 1, x_25);
x_27 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7;
lean_inc(x_19);
x_28 = l_Lean_Syntax_node1(x_19, x_27, x_26);
x_29 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11;
lean_inc(x_19);
x_30 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_30, 0, x_19);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16;
lean_inc(x_20);
lean_inc(x_21);
x_32 = l_Lean_addMacroScope(x_21, x_31, x_20);
x_33 = lean_box(0);
x_34 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15;
x_35 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20;
lean_inc(x_19);
x_36 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_36, 0, x_19);
lean_ctor_set(x_36, 1, x_34);
lean_ctor_set(x_36, 2, x_32);
lean_ctor_set(x_36, 3, x_35);
lean_inc(x_19);
x_37 = l_Lean_Syntax_node1(x_19, x_22, x_13);
x_38 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13;
lean_inc(x_19);
x_39 = l_Lean_Syntax_node2(x_19, x_38, x_36, x_37);
x_40 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10;
lean_inc(x_19);
x_41 = l_Lean_Syntax_node2(x_19, x_40, x_30, x_39);
x_42 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21;
lean_inc(x_19);
x_43 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_43, 0, x_19);
lean_ctor_set(x_43, 1, x_42);
lean_inc(x_11);
lean_inc(x_19);
x_44 = l_Lean_Syntax_node3(x_19, x_22, x_11, x_41, x_43);
x_45 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31;
x_46 = l_Lean_addMacroScope(x_21, x_45, x_20);
x_47 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29;
x_48 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33;
lean_inc(x_19);
x_49 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_49, 0, x_19);
lean_ctor_set(x_49, 1, x_47);
lean_ctor_set(x_49, 2, x_46);
lean_ctor_set(x_49, 3, x_48);
x_50 = l_Lean_Syntax_getId(x_11);
lean_dec(x_11);
lean_inc(x_50);
x_51 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_33, x_50);
if (lean_obj_tag(x_16) == 0)
{
x_52 = x_23;
goto block_93;
}
else
{
lean_object* x_94; lean_object* x_95; 
x_94 = lean_ctor_get(x_16, 0);
lean_inc(x_94);
lean_dec(x_16);
x_95 = l_Array_mkArray1___rarg(x_94);
x_52 = x_95;
goto block_93;
}
block_93:
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_53 = l_Array_append___rarg(x_23, x_52);
lean_dec(x_52);
lean_inc(x_19);
x_54 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_54, 0, x_19);
lean_ctor_set(x_54, 1, x_22);
lean_ctor_set(x_54, 2, x_53);
x_55 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5;
lean_inc_n(x_24, 5);
lean_inc(x_19);
x_56 = l_Lean_Syntax_node6(x_19, x_55, x_54, x_24, x_24, x_24, x_24, x_24);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_57 = l_Lean_quoteNameMk(x_50);
lean_inc(x_19);
x_58 = l_Lean_Syntax_node2(x_19, x_22, x_57, x_15);
lean_inc(x_19);
x_59 = l_Lean_Syntax_node2(x_19, x_38, x_49, x_58);
x_60 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27;
lean_inc(x_19);
x_61 = l_Lean_Syntax_node1(x_19, x_60, x_59);
x_62 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25;
lean_inc(x_19);
x_63 = l_Lean_Syntax_node2(x_19, x_62, x_61, x_24);
lean_inc(x_19);
x_64 = l_Lean_Syntax_node1(x_19, x_22, x_63);
x_65 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23;
lean_inc(x_19);
x_66 = l_Lean_Syntax_node1(x_19, x_65, x_64);
x_67 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3;
x_68 = l_Lean_Syntax_node4(x_19, x_67, x_56, x_28, x_44, x_66);
x_69 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_69, 0, x_68);
lean_ctor_set(x_69, 1, x_3);
return x_69;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 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_dec(x_50);
x_70 = lean_ctor_get(x_51, 0);
lean_inc(x_70);
lean_dec(x_51);
x_71 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36;
x_72 = l_String_intercalate(x_71, x_70);
x_73 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37;
x_74 = lean_string_append(x_73, x_72);
lean_dec(x_72);
x_75 = lean_box(2);
x_76 = l_Lean_Syntax_mkNameLit(x_74, x_75);
x_77 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_77, 0, x_76);
lean_ctor_set(x_77, 1, x_33);
x_78 = lean_array_mk(x_77);
x_79 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35;
x_80 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_80, 0, x_75);
lean_ctor_set(x_80, 1, x_79);
lean_ctor_set(x_80, 2, x_78);
lean_inc(x_19);
x_81 = l_Lean_Syntax_node2(x_19, x_22, x_80, x_15);
lean_inc(x_19);
x_82 = l_Lean_Syntax_node2(x_19, x_38, x_49, x_81);
x_83 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27;
lean_inc(x_19);
x_84 = l_Lean_Syntax_node1(x_19, x_83, x_82);
x_85 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25;
lean_inc(x_19);
x_86 = l_Lean_Syntax_node2(x_19, x_85, x_84, x_24);
lean_inc(x_19);
x_87 = l_Lean_Syntax_node1(x_19, x_22, x_86);
x_88 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23;
lean_inc(x_19);
x_89 = l_Lean_Syntax_node1(x_19, x_88, x_87);
x_90 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3;
x_91 = l_Lean_Syntax_node4(x_19, x_90, x_56, x_28, x_44, x_89);
x_92 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_3);
return x_92;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("registerOption", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_OptionDecl_declName___autoParam___closed__1;
x_2 = l_Lean_Option_registerBuiltinOption___closed__1;
x_3 = l_Lean_Option_registerOption___closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("register_option", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Option_registerOption___closed__3;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerBuiltinOption___closed__11;
x_3 = l_Lean_Option_registerOption___closed__4;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerOption___closed__5;
x_3 = l_Lean_Option_registerBuiltinOption___closed__17;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerOption___closed__6;
x_3 = l_Lean_Option_registerBuiltinOption___closed__20;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerOption___closed__7;
x_3 = l_Lean_Option_registerBuiltinOption___closed__24;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerOption___closed__8;
x_3 = l_Lean_Option_registerBuiltinOption___closed__27;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerBuiltinOption___closed__5;
x_2 = l_Lean_Option_registerOption___closed__9;
x_3 = l_Lean_Option_registerBuiltinOption___closed__24;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Option_registerOption___closed__2;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = l_Lean_Option_registerOption___closed__10;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Option_registerOption() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Option_registerOption___closed__11;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerOption__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_Lean_Option_registerOption___closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_97; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = lean_unsigned_to_nat(2u);
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
x_12 = lean_unsigned_to_nat(4u);
x_13 = l_Lean_Syntax_getArg(x_1, x_12);
x_14 = lean_unsigned_to_nat(6u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
lean_dec(x_1);
x_97 = l_Lean_Syntax_getOptional_x3f(x_9);
lean_dec(x_9);
if (lean_obj_tag(x_97) == 0)
{
lean_object* x_98; 
x_98 = lean_box(0);
x_16 = x_98;
goto block_96;
}
else
{
uint8_t x_99; 
x_99 = !lean_is_exclusive(x_97);
if (x_99 == 0)
{
x_16 = x_97;
goto block_96;
}
else
{
lean_object* x_100; lean_object* x_101; 
x_100 = lean_ctor_get(x_97, 0);
lean_inc(x_100);
lean_dec(x_97);
x_101 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_101, 0, x_100);
x_16 = x_101;
goto block_96;
}
}
block_96:
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_17 = lean_ctor_get(x_2, 5);
lean_inc(x_17);
x_18 = 0;
x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18);
lean_dec(x_17);
x_20 = lean_ctor_get(x_2, 2);
lean_inc(x_20);
x_21 = lean_ctor_get(x_2, 1);
lean_inc(x_21);
lean_dec(x_2);
x_22 = l_Lean_OptionDecl_declName___autoParam___closed__10;
x_23 = l_Lean_OptionDecl_declName___autoParam___closed__6;
lean_inc(x_19);
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_19);
lean_ctor_set(x_24, 1, x_22);
lean_ctor_set(x_24, 2, x_23);
x_25 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2;
lean_inc(x_19);
x_26 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_26, 0, x_19);
lean_ctor_set(x_26, 1, x_25);
x_27 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7;
lean_inc(x_19);
x_28 = l_Lean_Syntax_node1(x_19, x_27, x_26);
x_29 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11;
lean_inc(x_19);
x_30 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_30, 0, x_19);
lean_ctor_set(x_30, 1, x_29);
x_31 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16;
lean_inc(x_20);
lean_inc(x_21);
x_32 = l_Lean_addMacroScope(x_21, x_31, x_20);
x_33 = lean_box(0);
x_34 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15;
x_35 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20;
lean_inc(x_19);
x_36 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_36, 0, x_19);
lean_ctor_set(x_36, 1, x_34);
lean_ctor_set(x_36, 2, x_32);
lean_ctor_set(x_36, 3, x_35);
lean_inc(x_19);
x_37 = l_Lean_Syntax_node1(x_19, x_22, x_13);
x_38 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13;
lean_inc(x_19);
x_39 = l_Lean_Syntax_node2(x_19, x_38, x_36, x_37);
x_40 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10;
lean_inc(x_19);
x_41 = l_Lean_Syntax_node2(x_19, x_40, x_30, x_39);
x_42 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21;
lean_inc(x_19);
x_43 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_43, 0, x_19);
lean_ctor_set(x_43, 1, x_42);
lean_inc(x_11);
lean_inc(x_19);
x_44 = l_Lean_Syntax_node3(x_19, x_22, x_11, x_41, x_43);
x_45 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31;
x_46 = l_Lean_addMacroScope(x_21, x_45, x_20);
x_47 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29;
x_48 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33;
lean_inc(x_19);
x_49 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_49, 0, x_19);
lean_ctor_set(x_49, 1, x_47);
lean_ctor_set(x_49, 2, x_46);
lean_ctor_set(x_49, 3, x_48);
x_50 = l_Lean_Syntax_getId(x_11);
lean_dec(x_11);
lean_inc(x_50);
x_51 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_33, x_50);
if (lean_obj_tag(x_16) == 0)
{
x_52 = x_23;
goto block_93;
}
else
{
lean_object* x_94; lean_object* x_95; 
x_94 = lean_ctor_get(x_16, 0);
lean_inc(x_94);
lean_dec(x_16);
x_95 = l_Array_mkArray1___rarg(x_94);
x_52 = x_95;
goto block_93;
}
block_93:
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_53 = l_Array_append___rarg(x_23, x_52);
lean_dec(x_52);
lean_inc(x_19);
x_54 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_54, 0, x_19);
lean_ctor_set(x_54, 1, x_22);
lean_ctor_set(x_54, 2, x_53);
x_55 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5;
lean_inc_n(x_24, 5);
lean_inc(x_19);
x_56 = l_Lean_Syntax_node6(x_19, x_55, x_54, x_24, x_24, x_24, x_24, x_24);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_57 = l_Lean_quoteNameMk(x_50);
lean_inc(x_19);
x_58 = l_Lean_Syntax_node2(x_19, x_22, x_57, x_15);
lean_inc(x_19);
x_59 = l_Lean_Syntax_node2(x_19, x_38, x_49, x_58);
x_60 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27;
lean_inc(x_19);
x_61 = l_Lean_Syntax_node1(x_19, x_60, x_59);
x_62 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25;
lean_inc(x_19);
x_63 = l_Lean_Syntax_node2(x_19, x_62, x_61, x_24);
lean_inc(x_19);
x_64 = l_Lean_Syntax_node1(x_19, x_22, x_63);
x_65 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23;
lean_inc(x_19);
x_66 = l_Lean_Syntax_node1(x_19, x_65, x_64);
x_67 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3;
x_68 = l_Lean_Syntax_node4(x_19, x_67, x_56, x_28, x_44, x_66);
x_69 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_69, 0, x_68);
lean_ctor_set(x_69, 1, x_3);
return x_69;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 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_dec(x_50);
x_70 = lean_ctor_get(x_51, 0);
lean_inc(x_70);
lean_dec(x_51);
x_71 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36;
x_72 = l_String_intercalate(x_71, x_70);
x_73 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37;
x_74 = lean_string_append(x_73, x_72);
lean_dec(x_72);
x_75 = lean_box(2);
x_76 = l_Lean_Syntax_mkNameLit(x_74, x_75);
x_77 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_77, 0, x_76);
lean_ctor_set(x_77, 1, x_33);
x_78 = lean_array_mk(x_77);
x_79 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35;
x_80 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_80, 0, x_75);
lean_ctor_set(x_80, 1, x_79);
lean_ctor_set(x_80, 2, x_78);
lean_inc(x_19);
x_81 = l_Lean_Syntax_node2(x_19, x_22, x_80, x_15);
lean_inc(x_19);
x_82 = l_Lean_Syntax_node2(x_19, x_38, x_49, x_81);
x_83 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27;
lean_inc(x_19);
x_84 = l_Lean_Syntax_node1(x_19, x_83, x_82);
x_85 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25;
lean_inc(x_19);
x_86 = l_Lean_Syntax_node2(x_19, x_85, x_84, x_24);
lean_inc(x_19);
x_87 = l_Lean_Syntax_node1(x_19, x_22, x_86);
x_88 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23;
lean_inc(x_19);
x_89 = l_Lean_Syntax_node1(x_19, x_88, x_87);
x_90 = l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3;
x_91 = l_Lean_Syntax_node4(x_19, x_90, x_56, x_28, x_44, x_89);
x_92 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_3);
return x_92;
}
}
}
}
}
}
lean_object* initialize_Lean_ImportingFlag(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Data_KVMap(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Data_NameMap(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Data_Options(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_ImportingFlag(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_KVMap(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_NameMap(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Options_empty = _init_l_Lean_Options_empty();
lean_mark_persistent(l_Lean_Options_empty);
l_Lean_instInhabitedOptions = _init_l_Lean_instInhabitedOptions();
lean_mark_persistent(l_Lean_instInhabitedOptions);
l_Lean_instToStringOptions___closed__1 = _init_l_Lean_instToStringOptions___closed__1();
lean_mark_persistent(l_Lean_instToStringOptions___closed__1);
l_Lean_instToStringOptions = _init_l_Lean_instToStringOptions();
lean_mark_persistent(l_Lean_instToStringOptions);
l_Lean_instForInOptionsProdNameDataValue___closed__1 = _init_l_Lean_instForInOptionsProdNameDataValue___closed__1();
lean_mark_persistent(l_Lean_instForInOptionsProdNameDataValue___closed__1);
l_Lean_instBEqOptions = _init_l_Lean_instBEqOptions();
lean_mark_persistent(l_Lean_instBEqOptions);
l_Lean_OptionDecl_declName___autoParam___closed__1 = _init_l_Lean_OptionDecl_declName___autoParam___closed__1();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__1);
l_Lean_OptionDecl_declName___autoParam___closed__2 = _init_l_Lean_OptionDecl_declName___autoParam___closed__2();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__2);
l_Lean_OptionDecl_declName___autoParam___closed__3 = _init_l_Lean_OptionDecl_declName___autoParam___closed__3();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__3);
l_Lean_OptionDecl_declName___autoParam___closed__4 = _init_l_Lean_OptionDecl_declName___autoParam___closed__4();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__4);
l_Lean_OptionDecl_declName___autoParam___closed__5 = _init_l_Lean_OptionDecl_declName___autoParam___closed__5();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__5);
l_Lean_OptionDecl_declName___autoParam___closed__6 = _init_l_Lean_OptionDecl_declName___autoParam___closed__6();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__6);
l_Lean_OptionDecl_declName___autoParam___closed__7 = _init_l_Lean_OptionDecl_declName___autoParam___closed__7();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__7);
l_Lean_OptionDecl_declName___autoParam___closed__8 = _init_l_Lean_OptionDecl_declName___autoParam___closed__8();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__8);
l_Lean_OptionDecl_declName___autoParam___closed__9 = _init_l_Lean_OptionDecl_declName___autoParam___closed__9();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__9);
l_Lean_OptionDecl_declName___autoParam___closed__10 = _init_l_Lean_OptionDecl_declName___autoParam___closed__10();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__10);
l_Lean_OptionDecl_declName___autoParam___closed__11 = _init_l_Lean_OptionDecl_declName___autoParam___closed__11();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__11);
l_Lean_OptionDecl_declName___autoParam___closed__12 = _init_l_Lean_OptionDecl_declName___autoParam___closed__12();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__12);
l_Lean_OptionDecl_declName___autoParam___closed__13 = _init_l_Lean_OptionDecl_declName___autoParam___closed__13();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__13);
l_Lean_OptionDecl_declName___autoParam___closed__14 = _init_l_Lean_OptionDecl_declName___autoParam___closed__14();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__14);
l_Lean_OptionDecl_declName___autoParam___closed__15 = _init_l_Lean_OptionDecl_declName___autoParam___closed__15();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__15);
l_Lean_OptionDecl_declName___autoParam___closed__16 = _init_l_Lean_OptionDecl_declName___autoParam___closed__16();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__16);
l_Lean_OptionDecl_declName___autoParam___closed__17 = _init_l_Lean_OptionDecl_declName___autoParam___closed__17();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__17);
l_Lean_OptionDecl_declName___autoParam___closed__18 = _init_l_Lean_OptionDecl_declName___autoParam___closed__18();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__18);
l_Lean_OptionDecl_declName___autoParam___closed__19 = _init_l_Lean_OptionDecl_declName___autoParam___closed__19();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__19);
l_Lean_OptionDecl_declName___autoParam___closed__20 = _init_l_Lean_OptionDecl_declName___autoParam___closed__20();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__20);
l_Lean_OptionDecl_declName___autoParam___closed__21 = _init_l_Lean_OptionDecl_declName___autoParam___closed__21();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__21);
l_Lean_OptionDecl_declName___autoParam___closed__22 = _init_l_Lean_OptionDecl_declName___autoParam___closed__22();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__22);
l_Lean_OptionDecl_declName___autoParam___closed__23 = _init_l_Lean_OptionDecl_declName___autoParam___closed__23();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__23);
l_Lean_OptionDecl_declName___autoParam___closed__24 = _init_l_Lean_OptionDecl_declName___autoParam___closed__24();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__24);
l_Lean_OptionDecl_declName___autoParam___closed__25 = _init_l_Lean_OptionDecl_declName___autoParam___closed__25();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__25);
l_Lean_OptionDecl_declName___autoParam___closed__26 = _init_l_Lean_OptionDecl_declName___autoParam___closed__26();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__26);
l_Lean_OptionDecl_declName___autoParam___closed__27 = _init_l_Lean_OptionDecl_declName___autoParam___closed__27();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__27);
l_Lean_OptionDecl_declName___autoParam___closed__28 = _init_l_Lean_OptionDecl_declName___autoParam___closed__28();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__28);
l_Lean_OptionDecl_declName___autoParam___closed__29 = _init_l_Lean_OptionDecl_declName___autoParam___closed__29();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam___closed__29);
l_Lean_OptionDecl_declName___autoParam = _init_l_Lean_OptionDecl_declName___autoParam();
lean_mark_persistent(l_Lean_OptionDecl_declName___autoParam);
l_Lean_instInhabitedOptionDecl___closed__1 = _init_l_Lean_instInhabitedOptionDecl___closed__1();
lean_mark_persistent(l_Lean_instInhabitedOptionDecl___closed__1);
l_Lean_instInhabitedOptionDecl___closed__2 = _init_l_Lean_instInhabitedOptionDecl___closed__2();
lean_mark_persistent(l_Lean_instInhabitedOptionDecl___closed__2);
l_Lean_instInhabitedOptionDecl___closed__3 = _init_l_Lean_instInhabitedOptionDecl___closed__3();
lean_mark_persistent(l_Lean_instInhabitedOptionDecl___closed__3);
l_Lean_instInhabitedOptionDecl = _init_l_Lean_instInhabitedOptionDecl();
lean_mark_persistent(l_Lean_instInhabitedOptionDecl);
l_Lean_instInhabitedOptionDecls = _init_l_Lean_instInhabitedOptionDecls();
lean_mark_persistent(l_Lean_instInhabitedOptionDecls);
if (builtin) {res = l_Lean_initFn____x40_Lean_Data_Options___hyg_156_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l___private_Lean_Data_Options_0__Lean_optionDeclsRef = lean_io_result_get_value(res);
lean_mark_persistent(l___private_Lean_Data_Options_0__Lean_optionDeclsRef);
lean_dec_ref(res);
}l_Lean_registerOption___lambda__1___closed__1 = _init_l_Lean_registerOption___lambda__1___closed__1();
lean_mark_persistent(l_Lean_registerOption___lambda__1___closed__1);
l_Lean_registerOption___lambda__3___closed__1 = _init_l_Lean_registerOption___lambda__3___closed__1();
lean_mark_persistent(l_Lean_registerOption___lambda__3___closed__1);
l_Lean_registerOption___lambda__3___closed__2 = _init_l_Lean_registerOption___lambda__3___closed__2();
lean_mark_persistent(l_Lean_registerOption___lambda__3___closed__2);
l_Lean_registerOption___lambda__3___closed__3 = _init_l_Lean_registerOption___lambda__3___closed__3();
lean_mark_persistent(l_Lean_registerOption___lambda__3___closed__3);
l_Lean_registerOption___closed__1 = _init_l_Lean_registerOption___closed__1();
lean_mark_persistent(l_Lean_registerOption___closed__1);
l_Lean_registerOption___closed__2 = _init_l_Lean_registerOption___closed__2();
lean_mark_persistent(l_Lean_registerOption___closed__2);
l_Lean_getOptionDeclsArray___closed__1 = _init_l_Lean_getOptionDeclsArray___closed__1();
lean_mark_persistent(l_Lean_getOptionDeclsArray___closed__1);
l_Lean_getOptionDecl___closed__1 = _init_l_Lean_getOptionDecl___closed__1();
lean_mark_persistent(l_Lean_getOptionDecl___closed__1);
l_Lean_getOptionDecl___closed__2 = _init_l_Lean_getOptionDecl___closed__2();
lean_mark_persistent(l_Lean_getOptionDecl___closed__2);
l_Lean_withInPattern___rarg___lambda__1___closed__1 = _init_l_Lean_withInPattern___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_withInPattern___rarg___lambda__1___closed__1);
l_Lean_withInPattern___rarg___lambda__1___closed__2 = _init_l_Lean_withInPattern___rarg___lambda__1___closed__2();
lean_mark_persistent(l_Lean_withInPattern___rarg___lambda__1___closed__2);
l_Lean_withInPattern___rarg___closed__1 = _init_l_Lean_withInPattern___rarg___closed__1();
lean_mark_persistent(l_Lean_withInPattern___rarg___closed__1);
l___auto____x40_Lean_Data_Options___hyg_1109_ = _init_l___auto____x40_Lean_Data_Options___hyg_1109_();
lean_mark_persistent(l___auto____x40_Lean_Data_Options___hyg_1109_);
l_Lean_Option_registerBuiltinOption___closed__1 = _init_l_Lean_Option_registerBuiltinOption___closed__1();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__1);
l_Lean_Option_registerBuiltinOption___closed__2 = _init_l_Lean_Option_registerBuiltinOption___closed__2();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__2);
l_Lean_Option_registerBuiltinOption___closed__3 = _init_l_Lean_Option_registerBuiltinOption___closed__3();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__3);
l_Lean_Option_registerBuiltinOption___closed__4 = _init_l_Lean_Option_registerBuiltinOption___closed__4();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__4);
l_Lean_Option_registerBuiltinOption___closed__5 = _init_l_Lean_Option_registerBuiltinOption___closed__5();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__5);
l_Lean_Option_registerBuiltinOption___closed__6 = _init_l_Lean_Option_registerBuiltinOption___closed__6();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__6);
l_Lean_Option_registerBuiltinOption___closed__7 = _init_l_Lean_Option_registerBuiltinOption___closed__7();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__7);
l_Lean_Option_registerBuiltinOption___closed__8 = _init_l_Lean_Option_registerBuiltinOption___closed__8();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__8);
l_Lean_Option_registerBuiltinOption___closed__9 = _init_l_Lean_Option_registerBuiltinOption___closed__9();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__9);
l_Lean_Option_registerBuiltinOption___closed__10 = _init_l_Lean_Option_registerBuiltinOption___closed__10();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__10);
l_Lean_Option_registerBuiltinOption___closed__11 = _init_l_Lean_Option_registerBuiltinOption___closed__11();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__11);
l_Lean_Option_registerBuiltinOption___closed__12 = _init_l_Lean_Option_registerBuiltinOption___closed__12();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__12);
l_Lean_Option_registerBuiltinOption___closed__13 = _init_l_Lean_Option_registerBuiltinOption___closed__13();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__13);
l_Lean_Option_registerBuiltinOption___closed__14 = _init_l_Lean_Option_registerBuiltinOption___closed__14();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__14);
l_Lean_Option_registerBuiltinOption___closed__15 = _init_l_Lean_Option_registerBuiltinOption___closed__15();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__15);
l_Lean_Option_registerBuiltinOption___closed__16 = _init_l_Lean_Option_registerBuiltinOption___closed__16();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__16);
l_Lean_Option_registerBuiltinOption___closed__17 = _init_l_Lean_Option_registerBuiltinOption___closed__17();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__17);
l_Lean_Option_registerBuiltinOption___closed__18 = _init_l_Lean_Option_registerBuiltinOption___closed__18();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__18);
l_Lean_Option_registerBuiltinOption___closed__19 = _init_l_Lean_Option_registerBuiltinOption___closed__19();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__19);
l_Lean_Option_registerBuiltinOption___closed__20 = _init_l_Lean_Option_registerBuiltinOption___closed__20();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__20);
l_Lean_Option_registerBuiltinOption___closed__21 = _init_l_Lean_Option_registerBuiltinOption___closed__21();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__21);
l_Lean_Option_registerBuiltinOption___closed__22 = _init_l_Lean_Option_registerBuiltinOption___closed__22();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__22);
l_Lean_Option_registerBuiltinOption___closed__23 = _init_l_Lean_Option_registerBuiltinOption___closed__23();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__23);
l_Lean_Option_registerBuiltinOption___closed__24 = _init_l_Lean_Option_registerBuiltinOption___closed__24();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__24);
l_Lean_Option_registerBuiltinOption___closed__25 = _init_l_Lean_Option_registerBuiltinOption___closed__25();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__25);
l_Lean_Option_registerBuiltinOption___closed__26 = _init_l_Lean_Option_registerBuiltinOption___closed__26();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__26);
l_Lean_Option_registerBuiltinOption___closed__27 = _init_l_Lean_Option_registerBuiltinOption___closed__27();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__27);
l_Lean_Option_registerBuiltinOption___closed__28 = _init_l_Lean_Option_registerBuiltinOption___closed__28();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__28);
l_Lean_Option_registerBuiltinOption___closed__29 = _init_l_Lean_Option_registerBuiltinOption___closed__29();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__29);
l_Lean_Option_registerBuiltinOption___closed__30 = _init_l_Lean_Option_registerBuiltinOption___closed__30();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption___closed__30);
l_Lean_Option_registerBuiltinOption = _init_l_Lean_Option_registerBuiltinOption();
lean_mark_persistent(l_Lean_Option_registerBuiltinOption);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__1);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__2);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__3);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__4 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__4();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__4);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__5);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__6);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__7);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__8);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__9);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__10);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__11);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__12);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__13);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__14);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__15);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__16);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__17);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__18);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__19);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__20);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__21);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__22);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__23);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__24);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__25);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__26);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__27);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__28);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__29);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__30);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__31);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__32);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__33);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__34);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__35);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__36);
l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37 = _init_l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37();
lean_mark_persistent(l_Lean_Option___aux__Lean__Data__Options______macroRules__Lean__Option__registerBuiltinOption__1___closed__37);
l_Lean_Option_registerOption___closed__1 = _init_l_Lean_Option_registerOption___closed__1();
lean_mark_persistent(l_Lean_Option_registerOption___closed__1);
l_Lean_Option_registerOption___closed__2 = _init_l_Lean_Option_registerOption___closed__2();
lean_mark_persistent(l_Lean_Option_registerOption___closed__2);
l_Lean_Option_registerOption___closed__3 = _init_l_Lean_Option_registerOption___closed__3();
lean_mark_persistent(l_Lean_Option_registerOption___closed__3);
l_Lean_Option_registerOption___closed__4 = _init_l_Lean_Option_registerOption___closed__4();
lean_mark_persistent(l_Lean_Option_registerOption___closed__4);
l_Lean_Option_registerOption___closed__5 = _init_l_Lean_Option_registerOption___closed__5();
lean_mark_persistent(l_Lean_Option_registerOption___closed__5);
l_Lean_Option_registerOption___closed__6 = _init_l_Lean_Option_registerOption___closed__6();
lean_mark_persistent(l_Lean_Option_registerOption___closed__6);
l_Lean_Option_registerOption___closed__7 = _init_l_Lean_Option_registerOption___closed__7();
lean_mark_persistent(l_Lean_Option_registerOption___closed__7);
l_Lean_Option_registerOption___closed__8 = _init_l_Lean_Option_registerOption___closed__8();
lean_mark_persistent(l_Lean_Option_registerOption___closed__8);
l_Lean_Option_registerOption___closed__9 = _init_l_Lean_Option_registerOption___closed__9();
lean_mark_persistent(l_Lean_Option_registerOption___closed__9);
l_Lean_Option_registerOption___closed__10 = _init_l_Lean_Option_registerOption___closed__10();
lean_mark_persistent(l_Lean_Option_registerOption___closed__10);
l_Lean_Option_registerOption___closed__11 = _init_l_Lean_Option_registerOption___closed__11();
lean_mark_persistent(l_Lean_Option_registerOption___closed__11);
l_Lean_Option_registerOption = _init_l_Lean_Option_registerOption();
lean_mark_persistent(l_Lean_Option_registerOption);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
