// Lean compiler output
// Module: Lean.Widget.TaggedText
// Imports: Init Lean.Data.Json.FromToJson Lean.Server.Rpc.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendTag___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2(lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText___rarg(lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState;
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___boxed(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go___rarg(lean_object*, lean_object*);
static lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1;
LEAN_EXPORT lean_object* l_Std_Format_prettyM___at_Lean_Widget_TaggedText_prettyTagged___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedTaggedText___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__5(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_tagStack___default;
lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_repr___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__1(lean_object*);
lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine_x27(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1;
LEAN_EXPORT lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23;
static lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1;
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21;
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13;
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1;
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instInhabitedTaggedState;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_map(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400_(lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27;
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17;
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instReprTaggedText(lean_object*);
static lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__3;
lean_object* lean_array_fget(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendTag(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
uint8_t l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_17_(uint8_t, uint8_t);
LEAN_EXPORT lean_object* l_repr___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19;
lean_object* l_instInhabited___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedJson;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1;
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3(lean_object*);
lean_object* l_Array_back___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default;
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_column___default;
lean_object* l_Array_reverse___rarg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instBEqTaggedText___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go(lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26;
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_StateT_get___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__1(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3;
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
lean_object* l_Int_toNat(lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
lean_object* l_List_drop___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77_(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2;
static lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendText(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_stripTags___rarg___closed__1;
lean_object* l_String_posOfAux(lean_object*, uint32_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__4(lean_object*, lean_object*);
static lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_instBEqTaggedText(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewrite(lean_object*, lean_object*);
extern lean_object* l_Id_instMonadId;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
lean_object* l_String_quote(lean_object*);
lean_object* l_Nat_repeat_loop___at_String_pushn___spec__1(uint32_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Json_mkObj(lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1;
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7;
lean_object* lean_panic_fn(lean_object*, lean_object*);
lean_object* l_StateT_instMonadStateT___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24;
LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_pop(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16;
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText(lean_object*);
lean_object* lean_string_length(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4;
lean_object* lean_int_add(lean_object*, lean_object*);
lean_object* l_List_take___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedTaggedText___closed__1;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5;
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedTaggedText(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_map___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15;
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14;
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instReprTaggedText___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendText___rarg(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6;
extern lean_object* l_instInhabitedPUnit;
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10;
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__1(lean_object*, lean_object*);
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
static lean_object* _init_l_Lean_Widget_instInhabitedTaggedText___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("");
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedTaggedText___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedTaggedText___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedTaggedText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
return x_2;
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_array_get_size(x_5);
x_9 = lean_nat_dec_lt(x_7, x_8);
lean_dec(x_8);
if (x_9 == 0)
{
uint8_t x_10; 
lean_dec(x_7);
lean_dec(x_1);
x_10 = 1;
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_11 = lean_array_fget(x_5, x_7);
x_12 = lean_array_fget(x_6, x_7);
lean_inc(x_1);
x_13 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg(x_1, x_11, x_12);
if (x_13 == 0)
{
uint8_t x_14; 
lean_dec(x_7);
lean_dec(x_1);
x_14 = 0;
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_unsigned_to_nat(1u);
x_16 = lean_nat_add(x_7, x_15);
lean_dec(x_7);
x_4 = lean_box(0);
x_7 = x_16;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg___boxed), 7, 0);
return x_2;
}
}
LEAN_EXPORT uint8_t l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_dec(x_1);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_string_dec_eq(x_4, x_5);
lean_dec(x_5);
lean_dec(x_4);
return x_6;
}
else
{
uint8_t x_7; 
lean_dec(x_3);
lean_dec(x_2);
x_7 = 0;
return x_7;
}
}
case 1:
{
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_8 = lean_ctor_get(x_2, 0);
lean_inc(x_8);
lean_dec(x_2);
x_9 = lean_ctor_get(x_3, 0);
lean_inc(x_9);
lean_dec(x_3);
x_10 = lean_array_get_size(x_8);
x_11 = lean_array_get_size(x_9);
x_12 = lean_nat_dec_eq(x_10, x_11);
lean_dec(x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; 
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_1);
x_13 = 0;
return x_13;
}
else
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg(x_1, x_8, x_9, lean_box(0), x_8, x_9, x_14);
lean_dec(x_9);
lean_dec(x_8);
return x_15;
}
}
else
{
uint8_t x_16; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_16 = 0;
return x_16;
}
}
default: 
{
if (lean_obj_tag(x_3) == 2)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_17 = lean_ctor_get(x_2, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_2, 1);
lean_inc(x_18);
lean_dec(x_2);
x_19 = lean_ctor_get(x_3, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_3, 1);
lean_inc(x_20);
lean_dec(x_3);
lean_inc(x_1);
x_21 = lean_apply_2(x_1, x_17, x_19);
x_22 = lean_unbox(x_21);
lean_dec(x_21);
if (x_22 == 0)
{
uint8_t x_23; 
lean_dec(x_20);
lean_dec(x_18);
lean_dec(x_1);
x_23 = 0;
return x_23;
}
else
{
x_2 = x_18;
x_3 = x_20;
goto _start;
}
}
else
{
uint8_t x_25; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_25 = 0;
return x_25;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = l_Array_isEqvAux___at___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_box(x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg(x_1, x_2, x_3);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instBEqTaggedText___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_beqTaggedText____x40_Lean_Widget_TaggedText___hyg_77____rarg___boxed), 3, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instBEqTaggedText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instBEqTaggedText___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_repr___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__1___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_unsigned_to_nat(0u);
x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_repr___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_repr___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__1___rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_4; 
lean_dec(x_3);
lean_dec(x_1);
x_4 = lean_box(0);
return x_4;
}
else
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
lean_dec(x_3);
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_unsigned_to_nat(0u);
x_8 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_6, x_7);
return x_8;
}
else
{
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_9 = lean_ctor_get(x_2, 0);
lean_inc(x_9);
lean_dec(x_2);
x_10 = lean_unsigned_to_nat(0u);
lean_inc(x_1);
x_11 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_9, x_10);
lean_inc(x_3);
x_12 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_3);
x_13 = l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2___rarg(x_1, x_5, x_3);
x_14 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2___rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_4; 
lean_dec(x_3);
lean_dec(x_1);
x_4 = lean_box(0);
return x_4;
}
else
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
lean_dec(x_3);
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_unsigned_to_nat(0u);
x_8 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_6, x_7);
return x_8;
}
else
{
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_9 = lean_ctor_get(x_2, 0);
lean_inc(x_9);
lean_dec(x_2);
x_10 = lean_unsigned_to_nat(0u);
lean_inc(x_1);
x_11 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_9, x_10);
lean_inc(x_3);
x_12 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_3);
x_13 = l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3___rarg(x_1, x_5, x_3);
x_14 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3___rarg), 3, 0);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Lean.Widget.TaggedText.text");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Lean.Widget.TaggedText.append");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(",");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("#[");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13;
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("]");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("#[]");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8;
x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19;
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4;
x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20;
x_3 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21;
x_2 = 0;
x_3 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5;
x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20;
x_3 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23;
x_2 = 0;
x_3 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Lean.Widget.TaggedText.tag");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26;
x_2 = lean_box(1);
x_3 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
lean_dec(x_1);
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_unsigned_to_nat(1024u);
x_6 = lean_nat_dec_le(x_5, x_3);
x_7 = l_String_quote(x_4);
lean_dec(x_4);
x_8 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_8, 0, x_7);
x_9 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3;
x_10 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
if (x_6 == 0)
{
lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; 
x_11 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4;
x_12 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
x_13 = 0;
x_14 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13);
x_15 = l_Repr_addAppParen(x_14, x_3);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; 
x_16 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5;
x_17 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_10);
x_18 = 0;
x_19 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_18);
x_20 = l_Repr_addAppParen(x_19, x_3);
return x_20;
}
}
case 1:
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
x_21 = lean_ctor_get(x_2, 0);
lean_inc(x_21);
lean_dec(x_2);
x_22 = lean_unsigned_to_nat(1024u);
x_23 = lean_nat_dec_le(x_22, x_3);
x_24 = lean_array_get_size(x_21);
x_25 = lean_unsigned_to_nat(0u);
x_26 = lean_nat_dec_eq(x_24, x_25);
lean_dec(x_24);
if (x_23 == 0)
{
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; 
x_27 = lean_array_to_list(lean_box(0), x_21);
x_28 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11;
x_29 = l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__2___rarg(x_1, x_27, x_28);
x_30 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15;
x_31 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_29);
x_32 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17;
x_33 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_33, 0, x_31);
lean_ctor_set(x_33, 1, x_32);
x_34 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14;
x_35 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
x_36 = 1;
x_37 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_36);
x_38 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8;
x_39 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
x_40 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4;
x_41 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_41, 0, x_40);
lean_ctor_set(x_41, 1, x_39);
x_42 = 0;
x_43 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_43, 0, x_41);
lean_ctor_set_uint8(x_43, sizeof(void*)*1, x_42);
x_44 = l_Repr_addAppParen(x_43, x_3);
return x_44;
}
else
{
lean_object* x_45; lean_object* x_46; 
lean_dec(x_21);
lean_dec(x_1);
x_45 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22;
x_46 = l_Repr_addAppParen(x_45, x_3);
return x_46;
}
}
else
{
if (x_26 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; 
x_47 = lean_array_to_list(lean_box(0), x_21);
x_48 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11;
x_49 = l_Std_Format_joinSep___at___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____spec__3___rarg(x_1, x_47, x_48);
x_50 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15;
x_51 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_51, 1, x_49);
x_52 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17;
x_53 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
x_54 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14;
x_55 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_53);
x_56 = 1;
x_57 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56);
x_58 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8;
x_59 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_59, 0, x_58);
lean_ctor_set(x_59, 1, x_57);
x_60 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5;
x_61 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_59);
x_62 = 0;
x_63 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_62);
x_64 = l_Repr_addAppParen(x_63, x_3);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; 
lean_dec(x_21);
lean_dec(x_1);
x_65 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24;
x_66 = l_Repr_addAppParen(x_65, x_3);
return x_66;
}
}
}
default: 
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t 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; 
x_67 = lean_ctor_get(x_2, 0);
lean_inc(x_67);
x_68 = lean_ctor_get(x_2, 1);
lean_inc(x_68);
lean_dec(x_2);
x_69 = lean_unsigned_to_nat(1024u);
x_70 = lean_nat_dec_le(x_69, x_3);
lean_inc(x_1);
x_71 = lean_apply_2(x_1, x_67, x_69);
x_72 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27;
x_73 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_73, 0, x_72);
lean_ctor_set(x_73, 1, x_71);
x_74 = lean_box(1);
x_75 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_75, 0, x_73);
lean_ctor_set(x_75, 1, x_74);
x_76 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_68, x_69);
x_77 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_77, 0, x_75);
lean_ctor_set(x_77, 1, x_76);
if (x_70 == 0)
{
lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; 
x_78 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4;
x_79 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_79, 0, x_78);
lean_ctor_set(x_79, 1, x_77);
x_80 = 0;
x_81 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_81, 0, x_79);
lean_ctor_set_uint8(x_81, sizeof(void*)*1, x_80);
x_82 = l_Repr_addAppParen(x_81, x_3);
return x_82;
}
else
{
lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; 
x_83 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5;
x_84 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_77);
x_85 = 0;
x_86 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set_uint8(x_86, sizeof(void*)*1, x_85);
x_87 = l_Repr_addAppParen(x_86, x_3);
return x_87;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___boxed), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instReprTaggedText___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___boxed), 3, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instReprTaggedText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instReprTaggedText___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_1);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_4, x_3);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_4, x_3, x_8);
lean_inc(x_1);
x_10 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg(x_1, x_7);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_dec(x_9);
lean_dec(x_1);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_10;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = 1;
x_16 = lean_usize_add(x_3, x_15);
x_17 = lean_array_uset(x_9, x_3, x_14);
x_3 = x_16;
x_4 = x_17;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg___boxed), 4, 0);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("no inductive constructor matched");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2;
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("tag");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1;
x_6 = lean_unsigned_to_nat(2u);
x_7 = l_Lean_Json_parseTagged(x_1, x_5, x_6, x_2);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
lean_dec(x_3);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_10 = l_Except_orElseLazy___rarg(x_7, x_9);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_dec(x_7);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_14 = l_Except_orElseLazy___rarg(x_12, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_7, 0);
lean_inc(x_15);
lean_dec(x_7);
x_16 = l_Lean_instInhabitedJson;
x_17 = lean_unsigned_to_nat(0u);
x_18 = lean_array_get(x_16, x_15, x_17);
lean_inc(x_3);
x_19 = lean_apply_1(x_3, x_18);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
lean_dec(x_15);
lean_dec(x_3);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; 
x_21 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_22 = l_Except_orElseLazy___rarg(x_19, x_21);
return x_22;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_23 = lean_ctor_get(x_19, 0);
lean_inc(x_23);
lean_dec(x_19);
x_24 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_24, 0, x_23);
x_25 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_26 = l_Except_orElseLazy___rarg(x_24, x_25);
return x_26;
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_27 = lean_ctor_get(x_19, 0);
lean_inc(x_27);
lean_dec(x_19);
x_28 = lean_unsigned_to_nat(1u);
x_29 = lean_array_get(x_16, x_15, x_28);
lean_dec(x_15);
x_30 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg(x_3, x_29);
if (lean_obj_tag(x_30) == 0)
{
uint8_t x_31; 
lean_dec(x_27);
x_31 = !lean_is_exclusive(x_30);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; 
x_32 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_33 = l_Except_orElseLazy___rarg(x_30, x_32);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_34 = lean_ctor_get(x_30, 0);
lean_inc(x_34);
lean_dec(x_30);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_37 = l_Except_orElseLazy___rarg(x_35, x_36);
return x_37;
}
}
else
{
uint8_t x_38; 
x_38 = !lean_is_exclusive(x_30);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_39 = lean_ctor_get(x_30, 0);
x_40 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_40, 0, x_27);
lean_ctor_set(x_40, 1, x_39);
lean_ctor_set(x_30, 0, x_40);
x_41 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_42 = l_Except_orElseLazy___rarg(x_30, x_41);
return x_42;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_43 = lean_ctor_get(x_30, 0);
lean_inc(x_43);
lean_dec(x_30);
x_44 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_44, 0, x_27);
lean_ctor_set(x_44, 1, x_43);
x_45 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_45, 0, x_44);
x_46 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2;
x_47 = l_Except_orElseLazy___rarg(x_45, x_46);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("text");
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___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; lean_object* x_7; lean_object* x_8; 
x_5 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1;
x_6 = lean_unsigned_to_nat(1u);
x_7 = l_Lean_Json_parseTagged(x_1, x_5, x_6, x_2);
x_8 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___boxed), 4, 3);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, x_2);
lean_closure_set(x_8, 2, x_3);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_7);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = l_Except_orElseLazy___rarg(x_7, x_8);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_dec(x_7);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = l_Except_orElseLazy___rarg(x_12, x_8);
return x_13;
}
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_14 = lean_ctor_get(x_7, 0);
lean_inc(x_14);
lean_dec(x_7);
x_15 = l_Lean_instInhabitedJson;
x_16 = lean_unsigned_to_nat(0u);
x_17 = lean_array_get(x_15, x_14, x_16);
lean_dec(x_14);
x_18 = l_Lean_Json_getStr_x3f(x_17);
lean_dec(x_17);
if (lean_obj_tag(x_18) == 0)
{
uint8_t x_19; 
x_19 = !lean_is_exclusive(x_18);
if (x_19 == 0)
{
lean_object* x_20; 
x_20 = l_Except_orElseLazy___rarg(x_18, x_8);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_18, 0);
lean_inc(x_21);
lean_dec(x_18);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = l_Except_orElseLazy___rarg(x_22, x_8);
return x_23;
}
}
else
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_18);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_ctor_get(x_18, 0);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_18, 0, x_26);
x_27 = l_Except_orElseLazy___rarg(x_18, x_8);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_28 = lean_ctor_get(x_18, 0);
lean_inc(x_28);
lean_dec(x_18);
x_29 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_29, 0, x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = l_Except_orElseLazy___rarg(x_30, x_8);
return x_31;
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("append");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("expected JSON array, got '");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("'");
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = lean_box(0);
x_4 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1;
x_5 = lean_unsigned_to_nat(1u);
x_6 = l_Lean_Json_parseTagged(x_2, x_4, x_5, x_3);
lean_inc(x_1);
x_7 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___boxed), 4, 3);
lean_closure_set(x_7, 0, x_2);
lean_closure_set(x_7, 1, x_3);
lean_closure_set(x_7, 2, x_1);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_8; 
lean_dec(x_1);
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = l_Except_orElseLazy___rarg(x_11, x_7);
return x_12;
}
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_6);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_6, 0);
x_15 = l_Lean_instInhabitedJson;
x_16 = lean_unsigned_to_nat(0u);
x_17 = lean_array_get(x_15, x_14, x_16);
lean_dec(x_14);
if (lean_obj_tag(x_17) == 4)
{
lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; 
lean_free_object(x_6);
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_array_get_size(x_18);
x_20 = lean_usize_of_nat(x_19);
lean_dec(x_19);
x_21 = 0;
x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg(x_1, x_20, x_21, x_18);
if (lean_obj_tag(x_22) == 0)
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
lean_object* x_24; 
x_24 = l_Except_orElseLazy___rarg(x_22, x_7);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_ctor_get(x_22, 0);
lean_inc(x_25);
lean_dec(x_22);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_25);
x_27 = l_Except_orElseLazy___rarg(x_26, x_7);
return x_27;
}
}
else
{
uint8_t x_28; 
x_28 = !lean_is_exclusive(x_22);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_22, 0);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_22, 0, x_30);
x_31 = l_Except_orElseLazy___rarg(x_22, x_7);
return x_31;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_32 = lean_ctor_get(x_22, 0);
lean_inc(x_32);
lean_dec(x_22);
x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_33, 0, x_32);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = l_Except_orElseLazy___rarg(x_34, x_7);
return x_35;
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
lean_dec(x_1);
x_36 = lean_unsigned_to_nat(80u);
x_37 = l_Lean_Json_pretty(x_17, x_36);
x_38 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2;
x_39 = lean_string_append(x_38, x_37);
lean_dec(x_37);
x_40 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3;
x_41 = lean_string_append(x_39, x_40);
lean_ctor_set_tag(x_6, 0);
lean_ctor_set(x_6, 0, x_41);
x_42 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_42;
}
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_43 = lean_ctor_get(x_6, 0);
lean_inc(x_43);
lean_dec(x_6);
x_44 = l_Lean_instInhabitedJson;
x_45 = lean_unsigned_to_nat(0u);
x_46 = lean_array_get(x_44, x_43, x_45);
lean_dec(x_43);
if (lean_obj_tag(x_46) == 4)
{
lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; 
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
lean_dec(x_46);
x_48 = lean_array_get_size(x_47);
x_49 = lean_usize_of_nat(x_48);
lean_dec(x_48);
x_50 = 0;
x_51 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg(x_1, x_49, x_50, x_47);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_52 = lean_ctor_get(x_51, 0);
lean_inc(x_52);
if (lean_is_exclusive(x_51)) {
 lean_ctor_release(x_51, 0);
 x_53 = x_51;
} else {
 lean_dec_ref(x_51);
 x_53 = lean_box(0);
}
if (lean_is_scalar(x_53)) {
 x_54 = lean_alloc_ctor(0, 1, 0);
} else {
 x_54 = x_53;
}
lean_ctor_set(x_54, 0, x_52);
x_55 = l_Except_orElseLazy___rarg(x_54, x_7);
return x_55;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
x_56 = lean_ctor_get(x_51, 0);
lean_inc(x_56);
if (lean_is_exclusive(x_51)) {
 lean_ctor_release(x_51, 0);
 x_57 = x_51;
} else {
 lean_dec_ref(x_51);
 x_57 = lean_box(0);
}
x_58 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_58, 0, x_56);
if (lean_is_scalar(x_57)) {
 x_59 = lean_alloc_ctor(1, 1, 0);
} else {
 x_59 = x_57;
}
lean_ctor_set(x_59, 0, x_58);
x_60 = l_Except_orElseLazy___rarg(x_59, x_7);
return x_60;
}
}
else
{
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_dec(x_1);
x_61 = lean_unsigned_to_nat(80u);
x_62 = l_Lean_Json_pretty(x_46, x_61);
x_63 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2;
x_64 = lean_string_append(x_63, x_62);
lean_dec(x_62);
x_65 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3;
x_66 = lean_string_append(x_64, x_65);
x_67 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_67, 0, x_66);
x_68 = l_Except_orElseLazy___rarg(x_67, x_7);
return x_68;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____spec__1___rarg(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___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___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3(x_1, x_2, x_3, x_4);
lean_dec(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonTaggedText___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_dec(x_1);
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
lean_inc(x_1);
x_9 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg(x_1, x_6);
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_12 = lean_array_uset(x_8, x_3, x_9);
x_3 = x_11;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg___boxed), 4, 0);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_dec(x_1);
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
lean_dec(x_2);
x_4 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_4, 0, x_3);
x_5 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1;
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
x_9 = l_Lean_Json_mkObj(x_8);
return x_9;
}
case 1:
{
lean_object* x_10; lean_object* x_11; size_t x_12; size_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; 
x_10 = lean_ctor_get(x_2, 0);
lean_inc(x_10);
lean_dec(x_2);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg(x_1, x_12, x_13, x_10);
x_15 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_15, 0, x_14);
x_16 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1;
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
x_18 = lean_box(0);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
x_20 = l_Lean_Json_mkObj(x_19);
return x_20;
}
default: 
{
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; 
x_21 = lean_ctor_get(x_2, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_2, 1);
lean_inc(x_22);
lean_dec(x_2);
lean_inc(x_1);
x_23 = lean_apply_1(x_1, x_21);
x_24 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg(x_1, x_22);
x_25 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1;
x_26 = lean_array_push(x_25, x_23);
x_27 = lean_array_push(x_26, x_24);
x_28 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1;
x_30 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_28);
x_31 = lean_box(0);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = l_Lean_Json_mkObj(x_32);
return x_33;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____spec__1___rarg(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonTaggedText___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendText___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_string_append(x_4, x_1);
lean_dec(x_1);
lean_ctor_set(x_2, 0, x_5);
return x_2;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_string_append(x_6, x_1);
lean_dec(x_1);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
x_12 = l_Array_back___rarg(x_11, x_10);
switch (lean_obj_tag(x_12)) {
case 0:
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_14 = lean_ctor_get(x_12, 0);
x_15 = lean_array_get_size(x_10);
x_16 = lean_unsigned_to_nat(1u);
x_17 = lean_nat_sub(x_15, x_16);
lean_dec(x_15);
x_18 = lean_string_append(x_14, x_1);
lean_dec(x_1);
lean_ctor_set(x_12, 0, x_18);
x_19 = lean_array_set(x_10, x_17, x_12);
lean_dec(x_17);
lean_ctor_set(x_2, 0, x_19);
return x_2;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_20 = lean_ctor_get(x_12, 0);
lean_inc(x_20);
lean_dec(x_12);
x_21 = lean_array_get_size(x_10);
x_22 = lean_unsigned_to_nat(1u);
x_23 = lean_nat_sub(x_21, x_22);
lean_dec(x_21);
x_24 = lean_string_append(x_20, x_1);
lean_dec(x_1);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_array_set(x_10, x_23, x_25);
lean_dec(x_23);
lean_ctor_set(x_2, 0, x_26);
return x_2;
}
}
case 1:
{
uint8_t x_27; 
x_27 = !lean_is_exclusive(x_12);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; 
x_28 = lean_ctor_get(x_12, 0);
lean_dec(x_28);
lean_ctor_set_tag(x_12, 0);
lean_ctor_set(x_12, 0, x_1);
x_29 = lean_array_push(x_10, x_12);
lean_ctor_set(x_2, 0, x_29);
return x_2;
}
else
{
lean_object* x_30; lean_object* x_31; 
lean_dec(x_12);
x_30 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_30, 0, x_1);
x_31 = lean_array_push(x_10, x_30);
lean_ctor_set(x_2, 0, x_31);
return x_2;
}
}
default: 
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_12);
lean_ctor_set_tag(x_2, 0);
lean_ctor_set(x_2, 0, x_1);
x_32 = lean_array_push(x_10, x_2);
x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_33, 0, x_32);
return x_33;
}
}
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_34 = lean_ctor_get(x_2, 0);
lean_inc(x_34);
lean_dec(x_2);
x_35 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
x_36 = l_Array_back___rarg(x_35, x_34);
switch (lean_obj_tag(x_36)) {
case 0:
{
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; 
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
if (lean_is_exclusive(x_36)) {
 lean_ctor_release(x_36, 0);
 x_38 = x_36;
} else {
 lean_dec_ref(x_36);
 x_38 = lean_box(0);
}
x_39 = lean_array_get_size(x_34);
x_40 = lean_unsigned_to_nat(1u);
x_41 = lean_nat_sub(x_39, x_40);
lean_dec(x_39);
x_42 = lean_string_append(x_37, x_1);
lean_dec(x_1);
if (lean_is_scalar(x_38)) {
 x_43 = lean_alloc_ctor(0, 1, 0);
} else {
 x_43 = x_38;
}
lean_ctor_set(x_43, 0, x_42);
x_44 = lean_array_set(x_34, x_41, x_43);
lean_dec(x_41);
x_45 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_45, 0, x_44);
return x_45;
}
case 1:
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
if (lean_is_exclusive(x_36)) {
 lean_ctor_release(x_36, 0);
 x_46 = x_36;
} else {
 lean_dec_ref(x_36);
 x_46 = lean_box(0);
}
if (lean_is_scalar(x_46)) {
 x_47 = lean_alloc_ctor(0, 1, 0);
} else {
 x_47 = x_46;
 lean_ctor_set_tag(x_47, 0);
}
lean_ctor_set(x_47, 0, x_1);
x_48 = lean_array_push(x_34, x_47);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_48);
return x_49;
}
default: 
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; 
lean_dec(x_36);
x_50 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_50, 0, x_1);
x_51 = lean_array_push(x_34, x_50);
x_52 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_52, 0, x_51);
return x_52;
}
}
}
}
default: 
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_53 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_53, 0, x_1);
x_54 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1;
x_55 = lean_array_push(x_54, x_2);
x_56 = lean_array_push(x_55, x_53);
x_57 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_57, 0, x_56);
return x_57;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendText(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_appendText___rarg), 2, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendTag___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = l_Lean_Widget_instInhabitedTaggedText___closed__1;
x_6 = lean_string_dec_eq(x_4, x_5);
lean_dec(x_4);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_7 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
x_8 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1;
lean_inc(x_1);
x_9 = lean_array_push(x_8, x_1);
x_10 = !lean_is_exclusive(x_1);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_ctor_get(x_1, 0);
lean_dec(x_11);
x_12 = lean_array_push(x_9, x_7);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 0, x_12);
return x_1;
}
else
{
lean_object* x_13; lean_object* x_14; 
lean_dec(x_1);
x_13 = lean_array_push(x_9, x_7);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; 
lean_dec(x_1);
x_15 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_15, 0, x_2);
lean_ctor_set(x_15, 1, x_3);
return x_15;
}
}
case 1:
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_1);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_1, 0);
x_18 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_18, 0, x_2);
lean_ctor_set(x_18, 1, x_3);
x_19 = lean_array_push(x_17, x_18);
lean_ctor_set(x_1, 0, x_19);
return x_1;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_20 = lean_ctor_get(x_1, 0);
lean_inc(x_20);
lean_dec(x_1);
x_21 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_21, 0, x_2);
lean_ctor_set(x_21, 1, x_3);
x_22 = lean_array_push(x_20, x_21);
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_22);
return x_23;
}
}
default: 
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_24 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_24, 0, x_2);
lean_ctor_set(x_24, 1, x_3);
x_25 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1;
x_26 = lean_array_push(x_25, x_1);
x_27 = lean_array_push(x_26, x_24);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_appendTag(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_appendTag___rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_dec(x_1);
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
lean_inc(x_1);
x_9 = l_Lean_Widget_TaggedText_map___rarg(x_1, x_6);
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_12 = lean_array_uset(x_8, x_3, x_9);
x_3 = x_11;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg___boxed), 4, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_map___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_3; 
lean_dec(x_1);
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
return x_2;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
case 1:
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_2);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_array_get_size(x_7);
x_9 = lean_usize_of_nat(x_8);
lean_dec(x_8);
x_10 = 0;
x_11 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg(x_1, x_9, x_10, x_7);
lean_ctor_set(x_2, 0, x_11);
return x_2;
}
else
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; 
x_12 = lean_ctor_get(x_2, 0);
lean_inc(x_12);
lean_dec(x_2);
x_13 = lean_array_get_size(x_12);
x_14 = lean_usize_of_nat(x_13);
lean_dec(x_13);
x_15 = 0;
x_16 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg(x_1, x_14, x_15, x_12);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
default: 
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_2);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_19 = lean_ctor_get(x_2, 0);
x_20 = lean_ctor_get(x_2, 1);
lean_inc(x_1);
x_21 = lean_apply_1(x_1, x_19);
x_22 = l_Lean_Widget_TaggedText_map___rarg(x_1, x_20);
lean_ctor_set(x_2, 1, x_22);
lean_ctor_set(x_2, 0, x_21);
return x_2;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_23 = lean_ctor_get(x_2, 0);
x_24 = lean_ctor_get(x_2, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_2);
lean_inc(x_1);
x_25 = lean_apply_1(x_1, x_23);
x_26 = l_Lean_Widget_TaggedText_map___rarg(x_1, x_24);
x_27 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
return x_27;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_map(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_map___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_map___spec__1___rarg(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_7 = 1;
x_8 = lean_usize_add(x_1, x_7);
x_9 = lean_array_uset(x_2, x_1, x_6);
x_10 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg(x_3, x_4, x_5, x_8, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_10 = lean_array_uget(x_5, x_4);
x_11 = lean_unsigned_to_nat(0u);
x_12 = lean_array_uset(x_5, x_4, x_11);
x_13 = lean_ctor_get(x_1, 1);
lean_inc(x_13);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l_Lean_Widget_TaggedText_mapM___rarg(x_1, x_2, x_10);
x_15 = lean_box_usize(x_4);
x_16 = lean_box_usize(x_3);
x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1___boxed), 6, 5);
lean_closure_set(x_17, 0, x_15);
lean_closure_set(x_17, 1, x_12);
lean_closure_set(x_17, 2, x_1);
lean_closure_set(x_17, 3, x_2);
lean_closure_set(x_17, 4, x_16);
x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_14, x_17);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___boxed), 5, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
lean_dec(x_1);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
lean_dec(x_3);
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_2);
x_6 = lean_apply_2(x_4, lean_box(0), x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__2(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; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_6, 0, x_2);
lean_ctor_set(x_6, 1, x_3);
x_7 = lean_apply_2(x_5, lean_box(0), x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg___lambda__3(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_inc(x_1);
x_6 = l_Lean_Widget_TaggedText_mapM___rarg(x_1, x_2, x_3);
x_7 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___rarg___lambda__2), 3, 2);
lean_closure_set(x_7, 0, x_1);
lean_closure_set(x_7, 1, x_5);
x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_3)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_apply_2(x_6, lean_box(0), 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; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_8);
x_12 = lean_apply_2(x_10, lean_box(0), x_11);
return x_12;
}
}
case 1:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_ctor_get(x_1, 1);
lean_inc(x_14);
x_15 = lean_array_get_size(x_13);
x_16 = lean_usize_of_nat(x_15);
lean_dec(x_15);
x_17 = 0;
lean_inc(x_1);
x_18 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg(x_1, x_2, x_16, x_17, x_13);
x_19 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___rarg___lambda__1), 2, 1);
lean_closure_set(x_19, 0, x_1);
x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_18, x_19);
return x_20;
}
default: 
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_21 = lean_ctor_get(x_3, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_3, 1);
lean_inc(x_22);
lean_dec(x_3);
x_23 = lean_ctor_get(x_1, 1);
lean_inc(x_23);
lean_inc(x_2);
x_24 = lean_apply_1(x_2, x_21);
lean_inc(x_23);
x_25 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___rarg___lambda__3), 5, 4);
lean_closure_set(x_25, 0, x_1);
lean_closure_set(x_25, 1, x_2);
lean_closure_set(x_25, 2, x_22);
lean_closure_set(x_25, 3, x_23);
x_26 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_24, x_25);
return x_26;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_8 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_9 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_mapM___spec__1___rarg(x_1, x_2, x_6, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_dec(x_1);
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
lean_inc(x_1);
x_9 = l_Lean_Widget_TaggedText_rewrite___rarg(x_1, x_6);
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_12 = lean_array_uset(x_8, x_3, x_9);
x_3 = x_11;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg___boxed), 4, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_3; 
lean_dec(x_1);
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
return x_2;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
case 1:
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_2);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_array_get_size(x_7);
x_9 = lean_usize_of_nat(x_8);
lean_dec(x_8);
x_10 = 0;
x_11 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(x_1, x_9, x_10, x_7);
lean_ctor_set(x_2, 0, x_11);
return x_2;
}
else
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; 
x_12 = lean_ctor_get(x_2, 0);
lean_inc(x_12);
lean_dec(x_2);
x_13 = lean_array_get_size(x_12);
x_14 = lean_usize_of_nat(x_13);
lean_dec(x_13);
x_15 = 0;
x_16 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(x_1, x_14, x_15, x_12);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
default: 
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_ctor_get(x_2, 0);
lean_inc(x_18);
x_19 = lean_ctor_get(x_2, 1);
lean_inc(x_19);
lean_dec(x_2);
x_20 = lean_apply_2(x_1, x_18, x_19);
return x_20;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewrite(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_rewrite___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewrite___spec__1___rarg(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_7 = 1;
x_8 = lean_usize_add(x_1, x_7);
x_9 = lean_array_uset(x_2, x_1, x_6);
x_10 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg(x_3, x_4, x_5, x_8, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_10 = lean_array_uget(x_5, x_4);
x_11 = lean_unsigned_to_nat(0u);
x_12 = lean_array_uset(x_5, x_4, x_11);
x_13 = lean_ctor_get(x_1, 1);
lean_inc(x_13);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l_Lean_Widget_TaggedText_rewriteM___rarg(x_1, x_2, x_10);
x_15 = lean_box_usize(x_4);
x_16 = lean_box_usize(x_3);
x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1___boxed), 6, 5);
lean_closure_set(x_17, 0, x_15);
lean_closure_set(x_17, 1, x_12);
lean_closure_set(x_17, 2, x_1);
lean_closure_set(x_17, 3, x_2);
lean_closure_set(x_17, 4, x_16);
x_18 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_14, x_17);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___boxed), 5, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_3)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_apply_2(x_6, lean_box(0), 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; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_8);
x_12 = lean_apply_2(x_10, lean_box(0), x_11);
return x_12;
}
}
case 1:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_ctor_get(x_1, 1);
lean_inc(x_14);
x_15 = lean_array_get_size(x_13);
x_16 = lean_usize_of_nat(x_15);
lean_dec(x_15);
x_17 = 0;
lean_inc(x_1);
x_18 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg(x_1, x_2, x_16, x_17, x_13);
x_19 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___rarg___lambda__1), 2, 1);
lean_closure_set(x_19, 0, x_1);
x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_18, x_19);
return x_20;
}
default: 
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_1);
x_21 = lean_ctor_get(x_3, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_3, 1);
lean_inc(x_22);
lean_dec(x_3);
x_23 = lean_apply_2(x_2, x_21, x_22);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_rewriteM___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_8 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_9 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_rewriteM___spec__1___rarg(x_1, x_2, x_6, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
lean_dec(x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_10);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_1);
x_15 = lean_ctor_get(x_5, 0);
lean_inc(x_15);
lean_dec(x_5);
x_16 = lean_apply_1(x_4, x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3___rarg), 5, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; 
x_7 = 1;
x_8 = lean_usize_add(x_1, x_7);
x_9 = lean_array_uset(x_2, x_1, x_6);
x_10 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg(x_3, x_4, x_5, x_8, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
lean_dec(x_2);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_5);
x_10 = lean_apply_2(x_8, lean_box(0), x_9);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_11 = lean_array_uget(x_5, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_5, x_4, x_12);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg(x_1, x_2, x_11);
x_15 = lean_box_usize(x_4);
x_16 = lean_box_usize(x_3);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1___boxed), 6, 5);
lean_closure_set(x_17, 0, x_15);
lean_closure_set(x_17, 1, x_13);
lean_closure_set(x_17, 2, x_1);
lean_closure_set(x_17, 3, x_2);
lean_closure_set(x_17, 4, x_16);
x_18 = lean_ctor_get(x_1, 1);
lean_inc(x_18);
x_19 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__3___rarg), 5, 4);
lean_closure_set(x_19, 0, x_1);
lean_closure_set(x_19, 1, lean_box(0));
lean_closure_set(x_19, 2, lean_box(0));
lean_closure_set(x_19, 3, x_17);
x_20 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_14, x_19);
return x_20;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___boxed), 5, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
lean_dec(x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_10);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_1);
x_15 = lean_ctor_get(x_5, 0);
lean_inc(x_15);
lean_dec(x_5);
x_16 = lean_apply_1(x_4, x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4___rarg), 5, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
lean_dec(x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_10);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_1);
x_15 = lean_ctor_get(x_5, 0);
lean_inc(x_15);
lean_dec(x_5);
x_16 = lean_apply_1(x_4, x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5___rarg), 5, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
lean_dec(x_4);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_apply_2(x_8, lean_box(0), x_5);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_10);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_1);
x_15 = lean_ctor_get(x_5, 0);
lean_inc(x_15);
lean_dec(x_5);
x_16 = lean_apply_1(x_4, x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6___rarg), 5, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
x_7 = lean_apply_2(x_5, lean_box(0), x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__2(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; lean_object* x_7; lean_object* x_8; 
x_4 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_3);
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_4);
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___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; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_inc(x_1);
x_5 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg(x_1, x_2, x_3);
lean_inc(x_1);
x_6 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__2), 3, 2);
lean_closure_set(x_6, 0, x_4);
lean_closure_set(x_6, 1, x_1);
x_7 = lean_ctor_get(x_1, 1);
lean_inc(x_7);
x_8 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__5___rarg), 5, 4);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, lean_box(0));
lean_closure_set(x_8, 2, lean_box(0));
lean_closure_set(x_8, 3, x_6);
x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_5, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_3)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_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 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_3);
x_8 = lean_apply_2(x_6, lean_box(0), x_7);
return x_8;
}
else
{
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_9 = lean_ctor_get(x_3, 0);
lean_inc(x_9);
lean_dec(x_3);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_10);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
}
case 1:
{
lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec(x_3);
x_16 = lean_array_get_size(x_15);
x_17 = lean_usize_of_nat(x_16);
lean_dec(x_16);
x_18 = 0;
lean_inc(x_1);
x_19 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg(x_1, x_2, x_17, x_18, x_15);
lean_inc(x_1);
x_20 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__1), 2, 1);
lean_closure_set(x_20, 0, x_1);
x_21 = lean_ctor_get(x_1, 1);
lean_inc(x_21);
x_22 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__4___rarg), 5, 4);
lean_closure_set(x_22, 0, x_1);
lean_closure_set(x_22, 1, lean_box(0));
lean_closure_set(x_22, 2, lean_box(0));
lean_closure_set(x_22, 3, x_20);
x_23 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_19, x_22);
return x_23;
}
default: 
{
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; 
x_24 = lean_ctor_get(x_3, 0);
lean_inc(x_24);
x_25 = lean_ctor_get(x_3, 1);
lean_inc(x_25);
lean_dec(x_3);
lean_inc(x_2);
x_26 = lean_apply_1(x_2, x_24);
lean_inc(x_1);
x_27 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg___lambda__3), 4, 3);
lean_closure_set(x_27, 0, x_1);
lean_closure_set(x_27, 1, x_2);
lean_closure_set(x_27, 2, x_25);
x_28 = lean_ctor_get(x_1, 1);
lean_inc(x_28);
x_29 = lean_alloc_closure((void*)(l_ExceptT_bindCont___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__6___rarg), 5, 4);
lean_closure_set(x_29, 0, x_1);
lean_closure_set(x_29, 1, lean_box(0));
lean_closure_set(x_29, 2, lean_box(0));
lean_closure_set(x_29, 3, x_27);
x_30 = lean_apply_4(x_28, lean_box(0), lean_box(0), x_26, x_29);
return x_30;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___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; 
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec(x_1);
lean_inc(x_3);
x_7 = lean_apply_3(x_6, lean_box(0), x_3, x_4);
x_8 = l_Lean_Widget_TaggedText_mapM___rarg(x_3, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___lambda__2(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; 
x_6 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
lean_dec(x_1);
lean_inc(x_3);
x_7 = lean_apply_3(x_6, lean_box(0), x_3, x_4);
x_8 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__1___rarg(x_3, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
lean_inc(x_1);
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___lambda__1), 5, 1);
lean_closure_set(x_2, 0, x_1);
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg___lambda__2), 5, 1);
lean_closure_set(x_3, 0, x_1);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___rarg), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_8 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_9 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___lambda__1(x_7, x_2, x_3, x_4, x_8, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_TaggedText_instRpcEncodingTaggedTextTaggedText___spec__2___rarg(x_1, x_2, x_6, x_7, x_5);
return x_8;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_tagStack___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_column___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_unsigned_to_nat(0u);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1() {
_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_Widget_instInhabitedTaggedText___closed__2;
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_1);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instInhabitedTaggedState() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_StateT_get___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
lean_inc(x_1);
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2___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; lean_object* x_7; 
x_4 = lean_apply_1(x_1, x_3);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 1);
lean_inc(x_6);
lean_dec(x_4);
x_7 = lean_apply_2(x_2, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2___rarg), 3, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(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; uint8_t x_7; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
lean_dec(x_3);
x_7 = !lean_is_exclusive(x_4);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_8 = lean_ctor_get(x_4, 0);
x_9 = lean_ctor_get(x_4, 1);
lean_ctor_set(x_4, 1, x_8);
lean_ctor_set(x_4, 0, x_6);
x_10 = l_Lean_Widget_TaggedText_appendTag___rarg(x_9, x_4, x_1);
x_1 = x_10;
x_2 = x_5;
goto _start;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_ctor_get(x_4, 0);
x_13 = lean_ctor_get(x_4, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_4);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_6);
lean_ctor_set(x_14, 1, x_12);
x_15 = l_Lean_Widget_TaggedText_appendTag___rarg(x_13, x_14, x_1);
x_1 = x_15;
x_2 = x_5;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
lean_inc(x_1);
x_6 = l_Lean_Widget_TaggedText_appendText___rarg(x_1, x_4);
x_7 = lean_string_length(x_1);
lean_dec(x_1);
x_8 = lean_nat_add(x_5, x_7);
lean_dec(x_7);
lean_dec(x_5);
lean_ctor_set(x_2, 2, x_8);
lean_ctor_set(x_2, 0, x_6);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_2);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_11 = lean_ctor_get(x_2, 0);
x_12 = lean_ctor_get(x_2, 1);
x_13 = lean_ctor_get(x_2, 2);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_2);
lean_inc(x_1);
x_14 = l_Lean_Widget_TaggedText_appendText___rarg(x_1, x_11);
x_15 = lean_string_length(x_1);
lean_dec(x_1);
x_16 = lean_nat_add(x_13, x_15);
lean_dec(x_15);
lean_dec(x_13);
x_17 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_17, 0, x_14);
lean_ctor_set(x_17, 1, x_12);
lean_ctor_set(x_17, 2, x_16);
x_18 = lean_box(0);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_17);
return x_19;
}
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("\n");
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; uint32_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 2);
lean_dec(x_5);
x_6 = 32;
x_7 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_1);
x_8 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_6, x_1, x_7);
x_9 = l_Lean_Widget_TaggedText_appendText___rarg(x_8, x_4);
lean_ctor_set(x_2, 2, x_1);
lean_ctor_set(x_2, 0, x_9);
x_10 = lean_box(0);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_2);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; uint32_t 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; 
x_12 = lean_ctor_get(x_2, 0);
x_13 = lean_ctor_get(x_2, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_2);
x_14 = 32;
x_15 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_1);
x_16 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_14, x_1, x_15);
x_17 = l_Lean_Widget_TaggedText_appendText___rarg(x_16, x_12);
x_18 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_13);
lean_ctor_set(x_18, 2, x_1);
x_19 = lean_box(0);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
return x_20;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_1, 2);
lean_inc(x_3);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__4(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_2, 2);
lean_inc(x_6);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_4);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_7);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_5);
x_10 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
lean_ctor_set(x_2, 1, x_9);
lean_ctor_set(x_2, 0, x_10);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_2);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_13 = lean_ctor_get(x_2, 0);
x_14 = lean_ctor_get(x_2, 1);
x_15 = lean_ctor_get(x_2, 2);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_2);
lean_inc(x_15);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_13);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_1);
lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_14);
x_19 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
x_20 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
lean_ctor_set(x_20, 2, x_15);
x_21 = lean_box(0);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
return x_22;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__5(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
x_6 = l_List_take___rarg(x_1, x_5);
x_7 = l_List_drop___rarg(x_1, x_5);
lean_dec(x_5);
x_8 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_4, x_6);
lean_ctor_set(x_2, 1, x_7);
lean_ctor_set(x_2, 0, x_8);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_2);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_11 = lean_ctor_get(x_2, 0);
x_12 = lean_ctor_get(x_2, 1);
x_13 = lean_ctor_get(x_2, 2);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_2);
lean_inc(x_12);
x_14 = l_List_take___rarg(x_1, x_12);
x_15 = l_List_drop___rarg(x_1, x_12);
lean_dec(x_12);
x_16 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_11, x_14);
x_17 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
lean_ctor_set(x_17, 2, x_13);
x_18 = lean_box(0);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_17);
return x_19;
}
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_StateT_get___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__1), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__4), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__5), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_1 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1;
x_2 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2;
x_3 = lean_alloc_closure((void*)(l_StateT_bind___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__2___rarg), 3, 2);
lean_closure_set(x_3, 0, x_1);
lean_closure_set(x_3, 1, x_2);
x_4 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3;
x_5 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4;
x_6 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5;
x_7 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6;
x_8 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_5);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_6);
lean_ctor_set(x_8, 4, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__3(x_1, x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_6 = lean_ctor_get(x_5, 2);
lean_inc(x_6);
x_7 = 0;
x_8 = l___private_Init_Data_Format_Basic_0__Std_Format_beqFlattenBehavior____x40_Init_Data_Format_Basic___hyg_17_(x_1, x_7);
lean_inc(x_2);
x_9 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_9, 0, x_2);
lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8);
lean_ctor_set_uint8(x_9, sizeof(void*)*1 + 1, x_1);
x_10 = lean_box(0);
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = lean_nat_sub(x_4, x_6);
lean_dec(x_6);
x_13 = l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine_x27(x_11, x_12);
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_15 = lean_nat_dec_lt(x_12, x_14);
if (x_15 == 0)
{
uint8_t x_16; 
x_16 = lean_ctor_get_uint8(x_13, sizeof(void*)*1);
if (x_16 == 0)
{
uint8_t x_17; 
x_17 = lean_ctor_get_uint8(x_13, sizeof(void*)*1 + 1);
lean_dec(x_13);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_18 = lean_nat_sub(x_12, x_14);
lean_inc(x_3);
x_19 = l___private_Init_Data_Format_Basic_0__Std_Format_spaceUptoLine_x27(x_3, x_18);
lean_dec(x_18);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec(x_19);
x_21 = lean_nat_add(x_14, x_20);
lean_dec(x_20);
lean_dec(x_14);
x_22 = lean_nat_dec_le(x_21, x_12);
lean_dec(x_12);
lean_dec(x_21);
x_23 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_23, 0, x_2);
lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_22);
lean_ctor_set_uint8(x_23, sizeof(void*)*1 + 1, x_1);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_3);
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_5);
return x_25;
}
else
{
uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
lean_dec(x_14);
lean_dec(x_12);
x_26 = 0;
x_27 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_27, 0, x_2);
lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26);
lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 1, x_1);
x_28 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_3);
x_29 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_5);
return x_29;
}
}
else
{
uint8_t x_30; 
x_30 = lean_ctor_get_uint8(x_13, sizeof(void*)*1 + 1);
lean_dec(x_13);
if (x_30 == 0)
{
uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_31 = lean_nat_dec_le(x_14, x_12);
lean_dec(x_12);
lean_dec(x_14);
x_32 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_32, 0, x_2);
lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_31);
lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 1, x_1);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_3);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_5);
return x_34;
}
else
{
uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
lean_dec(x_14);
lean_dec(x_12);
x_35 = 0;
x_36 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_36, 0, x_2);
lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35);
lean_ctor_set_uint8(x_36, sizeof(void*)*1 + 1, x_1);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_3);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_5);
return x_38;
}
}
}
else
{
uint8_t x_39; 
x_39 = lean_ctor_get_uint8(x_13, sizeof(void*)*1 + 1);
lean_dec(x_13);
if (x_39 == 0)
{
uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_40 = lean_nat_dec_le(x_14, x_12);
lean_dec(x_12);
lean_dec(x_14);
x_41 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_41, 0, x_2);
lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_40);
lean_ctor_set_uint8(x_41, sizeof(void*)*1 + 1, x_1);
x_42 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_3);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_5);
return x_43;
}
else
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_14);
lean_dec(x_12);
x_44 = 0;
x_45 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_45, 0, x_2);
lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_44);
lean_ctor_set_uint8(x_45, sizeof(void*)*1 + 1, x_1);
x_46 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_3);
x_47 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_5);
return x_47;
}
}
}
}
static lean_object* _init_l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Id_instMonadId;
x_2 = l_StateT_instMonadStateT___rarg(x_1);
return x_2;
}
}
static lean_object* _init_l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1;
x_2 = l_instInhabitedPUnit;
x_3 = l_instInhabited___rarg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2;
x_4 = lean_panic_fn(x_3, x_1);
x_5 = lean_apply_1(x_4, x_2);
return x_5;
}
}
static lean_object* _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(" ");
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("unreachable");
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; 
lean_dec(x_6);
x_8 = lean_ctor_get(x_2, 1);
lean_inc(x_8);
lean_dec(x_2);
x_2 = x_8;
goto _start;
}
else
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_7, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
switch (lean_obj_tag(x_11)) {
case 0:
{
lean_object* x_12; uint8_t x_13; 
x_12 = lean_ctor_get(x_2, 1);
lean_inc(x_12);
lean_dec(x_2);
x_13 = !lean_is_exclusive(x_6);
if (x_13 == 0)
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_ctor_get(x_6, 0);
lean_dec(x_14);
x_15 = !lean_is_exclusive(x_7);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_16 = lean_ctor_get(x_7, 1);
x_17 = lean_ctor_get(x_7, 0);
lean_dec(x_17);
x_18 = lean_ctor_get(x_10, 2);
lean_inc(x_18);
lean_dec(x_10);
x_19 = !lean_is_exclusive(x_3);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_20 = lean_ctor_get(x_3, 0);
x_21 = lean_ctor_get(x_3, 1);
lean_inc(x_21);
x_22 = l_List_take___rarg(x_18, x_21);
x_23 = l_List_drop___rarg(x_18, x_21);
lean_dec(x_21);
x_24 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_20, x_22);
lean_ctor_set(x_3, 1, x_23);
lean_ctor_set(x_3, 0, x_24);
lean_ctor_set(x_6, 0, x_16);
lean_ctor_set(x_7, 1, x_12);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
goto _start;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_26 = lean_ctor_get(x_3, 0);
x_27 = lean_ctor_get(x_3, 1);
x_28 = lean_ctor_get(x_3, 2);
lean_inc(x_28);
lean_inc(x_27);
lean_inc(x_26);
lean_dec(x_3);
lean_inc(x_27);
x_29 = l_List_take___rarg(x_18, x_27);
x_30 = l_List_drop___rarg(x_18, x_27);
lean_dec(x_27);
x_31 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_26, x_29);
x_32 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_30);
lean_ctor_set(x_32, 2, x_28);
lean_ctor_set(x_6, 0, x_16);
lean_ctor_set(x_7, 1, x_12);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_32;
goto _start;
}
}
else
{
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; 
x_34 = lean_ctor_get(x_7, 1);
lean_inc(x_34);
lean_dec(x_7);
x_35 = lean_ctor_get(x_10, 2);
lean_inc(x_35);
lean_dec(x_10);
x_36 = lean_ctor_get(x_3, 0);
lean_inc(x_36);
x_37 = lean_ctor_get(x_3, 1);
lean_inc(x_37);
x_38 = lean_ctor_get(x_3, 2);
lean_inc(x_38);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_39 = x_3;
} else {
 lean_dec_ref(x_3);
 x_39 = lean_box(0);
}
lean_inc(x_37);
x_40 = l_List_take___rarg(x_35, x_37);
x_41 = l_List_drop___rarg(x_35, x_37);
lean_dec(x_37);
x_42 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_36, x_40);
if (lean_is_scalar(x_39)) {
 x_43 = lean_alloc_ctor(0, 3, 0);
} else {
 x_43 = x_39;
}
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_41);
lean_ctor_set(x_43, 2, x_38);
lean_ctor_set(x_6, 0, x_34);
x_44 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_44, 0, x_6);
lean_ctor_set(x_44, 1, x_12);
x_2 = x_44;
x_3 = x_43;
goto _start;
}
}
else
{
uint8_t x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
x_46 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_47 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_48 = lean_ctor_get(x_7, 1);
lean_inc(x_48);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_49 = x_7;
} else {
 lean_dec_ref(x_7);
 x_49 = lean_box(0);
}
x_50 = lean_ctor_get(x_10, 2);
lean_inc(x_50);
lean_dec(x_10);
x_51 = lean_ctor_get(x_3, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_3, 1);
lean_inc(x_52);
x_53 = lean_ctor_get(x_3, 2);
lean_inc(x_53);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_54 = x_3;
} else {
 lean_dec_ref(x_3);
 x_54 = lean_box(0);
}
lean_inc(x_52);
x_55 = l_List_take___rarg(x_50, x_52);
x_56 = l_List_drop___rarg(x_50, x_52);
lean_dec(x_52);
x_57 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_51, x_55);
if (lean_is_scalar(x_54)) {
 x_58 = lean_alloc_ctor(0, 3, 0);
} else {
 x_58 = x_54;
}
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_56);
lean_ctor_set(x_58, 2, x_53);
x_59 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_59, 0, x_48);
lean_ctor_set_uint8(x_59, sizeof(void*)*1, x_46);
lean_ctor_set_uint8(x_59, sizeof(void*)*1 + 1, x_47);
if (lean_is_scalar(x_49)) {
 x_60 = lean_alloc_ctor(1, 2, 0);
} else {
 x_60 = x_49;
}
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_12);
x_2 = x_60;
x_3 = x_58;
goto _start;
}
}
case 1:
{
uint8_t x_62; 
x_62 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (x_62 == 0)
{
uint8_t x_63; 
x_63 = !lean_is_exclusive(x_6);
if (x_63 == 0)
{
uint8_t x_64; lean_object* x_65; 
x_64 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_65 = lean_ctor_get(x_6, 0);
lean_dec(x_65);
if (x_64 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_2, 1);
lean_inc(x_66);
lean_dec(x_2);
x_67 = !lean_is_exclusive(x_7);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_68 = lean_ctor_get(x_7, 1);
x_69 = lean_ctor_get(x_7, 0);
lean_dec(x_69);
x_70 = lean_ctor_get(x_10, 1);
lean_inc(x_70);
x_71 = lean_ctor_get(x_10, 2);
lean_inc(x_71);
lean_dec(x_10);
x_72 = l_Int_toNat(x_70);
lean_dec(x_70);
x_73 = !lean_is_exclusive(x_3);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; uint32_t 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; 
x_74 = lean_ctor_get(x_3, 0);
x_75 = lean_ctor_get(x_3, 1);
x_76 = lean_ctor_get(x_3, 2);
lean_dec(x_76);
x_77 = 32;
x_78 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_72);
x_79 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_77, x_72, x_78);
x_80 = l_Lean_Widget_TaggedText_appendText___rarg(x_79, x_74);
lean_inc(x_75);
x_81 = l_List_take___rarg(x_71, x_75);
x_82 = l_List_drop___rarg(x_71, x_75);
lean_dec(x_75);
x_83 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_80, x_81);
lean_ctor_set(x_3, 2, x_72);
lean_ctor_set(x_3, 1, x_82);
lean_ctor_set(x_3, 0, x_83);
lean_ctor_set(x_6, 0, x_68);
lean_ctor_set(x_7, 1, x_66);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
goto _start;
}
else
{
lean_object* x_85; lean_object* x_86; uint32_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_85 = lean_ctor_get(x_3, 0);
x_86 = lean_ctor_get(x_3, 1);
lean_inc(x_86);
lean_inc(x_85);
lean_dec(x_3);
x_87 = 32;
x_88 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_72);
x_89 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_87, x_72, x_88);
x_90 = l_Lean_Widget_TaggedText_appendText___rarg(x_89, x_85);
lean_inc(x_86);
x_91 = l_List_take___rarg(x_71, x_86);
x_92 = l_List_drop___rarg(x_71, x_86);
lean_dec(x_86);
x_93 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_90, x_91);
x_94 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_94, 0, x_93);
lean_ctor_set(x_94, 1, x_92);
lean_ctor_set(x_94, 2, x_72);
lean_ctor_set(x_6, 0, x_68);
lean_ctor_set(x_7, 1, x_66);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_94;
goto _start;
}
}
else
{
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint32_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; 
x_96 = lean_ctor_get(x_7, 1);
lean_inc(x_96);
lean_dec(x_7);
x_97 = lean_ctor_get(x_10, 1);
lean_inc(x_97);
x_98 = lean_ctor_get(x_10, 2);
lean_inc(x_98);
lean_dec(x_10);
x_99 = l_Int_toNat(x_97);
lean_dec(x_97);
x_100 = lean_ctor_get(x_3, 0);
lean_inc(x_100);
x_101 = lean_ctor_get(x_3, 1);
lean_inc(x_101);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_102 = x_3;
} else {
 lean_dec_ref(x_3);
 x_102 = lean_box(0);
}
x_103 = 32;
x_104 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_99);
x_105 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_103, x_99, x_104);
x_106 = l_Lean_Widget_TaggedText_appendText___rarg(x_105, x_100);
lean_inc(x_101);
x_107 = l_List_take___rarg(x_98, x_101);
x_108 = l_List_drop___rarg(x_98, x_101);
lean_dec(x_101);
x_109 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_106, x_107);
if (lean_is_scalar(x_102)) {
 x_110 = lean_alloc_ctor(0, 3, 0);
} else {
 x_110 = x_102;
}
lean_ctor_set(x_110, 0, x_109);
lean_ctor_set(x_110, 1, x_108);
lean_ctor_set(x_110, 2, x_99);
lean_ctor_set(x_6, 0, x_96);
x_111 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_111, 0, x_6);
lean_ctor_set(x_111, 1, x_66);
x_2 = x_111;
x_3 = x_110;
goto _start;
}
}
else
{
lean_object* x_113; uint8_t x_114; 
x_113 = lean_ctor_get(x_2, 1);
lean_inc(x_113);
lean_dec(x_2);
x_114 = !lean_is_exclusive(x_7);
if (x_114 == 0)
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; 
x_115 = lean_ctor_get(x_7, 1);
x_116 = lean_ctor_get(x_7, 0);
lean_dec(x_116);
x_117 = lean_ctor_get(x_10, 2);
lean_inc(x_117);
lean_dec(x_10);
x_118 = !lean_is_exclusive(x_3);
if (x_118 == 0)
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_119 = lean_ctor_get(x_3, 0);
x_120 = lean_ctor_get(x_3, 1);
x_121 = lean_ctor_get(x_3, 2);
x_122 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_123 = l_Lean_Widget_TaggedText_appendText___rarg(x_122, x_119);
x_124 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
x_125 = lean_nat_add(x_121, x_124);
lean_dec(x_121);
lean_inc(x_120);
x_126 = l_List_take___rarg(x_117, x_120);
x_127 = l_List_drop___rarg(x_117, x_120);
lean_dec(x_120);
x_128 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_123, x_126);
lean_ctor_set(x_3, 2, x_125);
lean_ctor_set(x_3, 1, x_127);
lean_ctor_set(x_3, 0, x_128);
lean_ctor_set(x_6, 0, x_115);
lean_ctor_set(x_7, 1, x_113);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
goto _start;
}
else
{
lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; 
x_130 = lean_ctor_get(x_3, 0);
x_131 = lean_ctor_get(x_3, 1);
x_132 = lean_ctor_get(x_3, 2);
lean_inc(x_132);
lean_inc(x_131);
lean_inc(x_130);
lean_dec(x_3);
x_133 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_134 = l_Lean_Widget_TaggedText_appendText___rarg(x_133, x_130);
x_135 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
x_136 = lean_nat_add(x_132, x_135);
lean_dec(x_132);
lean_inc(x_131);
x_137 = l_List_take___rarg(x_117, x_131);
x_138 = l_List_drop___rarg(x_117, x_131);
lean_dec(x_131);
x_139 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_134, x_137);
x_140 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_140, 0, x_139);
lean_ctor_set(x_140, 1, x_138);
lean_ctor_set(x_140, 2, x_136);
lean_ctor_set(x_6, 0, x_115);
lean_ctor_set(x_7, 1, x_113);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_140;
goto _start;
}
}
else
{
lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
x_142 = lean_ctor_get(x_7, 1);
lean_inc(x_142);
lean_dec(x_7);
x_143 = lean_ctor_get(x_10, 2);
lean_inc(x_143);
lean_dec(x_10);
x_144 = lean_ctor_get(x_3, 0);
lean_inc(x_144);
x_145 = lean_ctor_get(x_3, 1);
lean_inc(x_145);
x_146 = lean_ctor_get(x_3, 2);
lean_inc(x_146);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_147 = x_3;
} else {
 lean_dec_ref(x_3);
 x_147 = lean_box(0);
}
x_148 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_149 = l_Lean_Widget_TaggedText_appendText___rarg(x_148, x_144);
x_150 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
x_151 = lean_nat_add(x_146, x_150);
lean_dec(x_146);
lean_inc(x_145);
x_152 = l_List_take___rarg(x_143, x_145);
x_153 = l_List_drop___rarg(x_143, x_145);
lean_dec(x_145);
x_154 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_149, x_152);
if (lean_is_scalar(x_147)) {
 x_155 = lean_alloc_ctor(0, 3, 0);
} else {
 x_155 = x_147;
}
lean_ctor_set(x_155, 0, x_154);
lean_ctor_set(x_155, 1, x_153);
lean_ctor_set(x_155, 2, x_151);
lean_ctor_set(x_6, 0, x_142);
x_156 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_156, 0, x_6);
lean_ctor_set(x_156, 1, x_113);
x_2 = x_156;
x_3 = x_155;
goto _start;
}
}
}
else
{
uint8_t x_158; 
x_158 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
lean_dec(x_6);
if (x_158 == 0)
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint32_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
x_159 = lean_ctor_get(x_2, 1);
lean_inc(x_159);
lean_dec(x_2);
x_160 = lean_ctor_get(x_7, 1);
lean_inc(x_160);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_161 = x_7;
} else {
 lean_dec_ref(x_7);
 x_161 = lean_box(0);
}
x_162 = lean_ctor_get(x_10, 1);
lean_inc(x_162);
x_163 = lean_ctor_get(x_10, 2);
lean_inc(x_163);
lean_dec(x_10);
x_164 = l_Int_toNat(x_162);
lean_dec(x_162);
x_165 = lean_ctor_get(x_3, 0);
lean_inc(x_165);
x_166 = lean_ctor_get(x_3, 1);
lean_inc(x_166);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_167 = x_3;
} else {
 lean_dec_ref(x_3);
 x_167 = lean_box(0);
}
x_168 = 32;
x_169 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_164);
x_170 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_168, x_164, x_169);
x_171 = l_Lean_Widget_TaggedText_appendText___rarg(x_170, x_165);
lean_inc(x_166);
x_172 = l_List_take___rarg(x_163, x_166);
x_173 = l_List_drop___rarg(x_163, x_166);
lean_dec(x_166);
x_174 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_171, x_172);
if (lean_is_scalar(x_167)) {
 x_175 = lean_alloc_ctor(0, 3, 0);
} else {
 x_175 = x_167;
}
lean_ctor_set(x_175, 0, x_174);
lean_ctor_set(x_175, 1, x_173);
lean_ctor_set(x_175, 2, x_164);
x_176 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_176, 0, x_160);
lean_ctor_set_uint8(x_176, sizeof(void*)*1, x_158);
lean_ctor_set_uint8(x_176, sizeof(void*)*1 + 1, x_62);
if (lean_is_scalar(x_161)) {
 x_177 = lean_alloc_ctor(1, 2, 0);
} else {
 x_177 = x_161;
}
lean_ctor_set(x_177, 0, x_176);
lean_ctor_set(x_177, 1, x_159);
x_2 = x_177;
x_3 = x_175;
goto _start;
}
else
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; 
x_179 = lean_ctor_get(x_2, 1);
lean_inc(x_179);
lean_dec(x_2);
x_180 = lean_ctor_get(x_7, 1);
lean_inc(x_180);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_181 = x_7;
} else {
 lean_dec_ref(x_7);
 x_181 = lean_box(0);
}
x_182 = lean_ctor_get(x_10, 2);
lean_inc(x_182);
lean_dec(x_10);
x_183 = lean_ctor_get(x_3, 0);
lean_inc(x_183);
x_184 = lean_ctor_get(x_3, 1);
lean_inc(x_184);
x_185 = lean_ctor_get(x_3, 2);
lean_inc(x_185);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_186 = x_3;
} else {
 lean_dec_ref(x_3);
 x_186 = lean_box(0);
}
x_187 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_188 = l_Lean_Widget_TaggedText_appendText___rarg(x_187, x_183);
x_189 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
x_190 = lean_nat_add(x_185, x_189);
lean_dec(x_185);
lean_inc(x_184);
x_191 = l_List_take___rarg(x_182, x_184);
x_192 = l_List_drop___rarg(x_182, x_184);
lean_dec(x_184);
x_193 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_188, x_191);
if (lean_is_scalar(x_186)) {
 x_194 = lean_alloc_ctor(0, 3, 0);
} else {
 x_194 = x_186;
}
lean_ctor_set(x_194, 0, x_193);
lean_ctor_set(x_194, 1, x_192);
lean_ctor_set(x_194, 2, x_190);
x_195 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_195, 0, x_180);
lean_ctor_set_uint8(x_195, sizeof(void*)*1, x_158);
lean_ctor_set_uint8(x_195, sizeof(void*)*1 + 1, x_62);
if (lean_is_scalar(x_181)) {
 x_196 = lean_alloc_ctor(1, 2, 0);
} else {
 x_196 = x_181;
}
lean_ctor_set(x_196, 0, x_195);
lean_ctor_set(x_196, 1, x_179);
x_2 = x_196;
x_3 = x_194;
goto _start;
}
}
}
else
{
lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; 
x_198 = lean_ctor_get(x_2, 1);
lean_inc(x_198);
lean_dec(x_2);
x_199 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
lean_dec(x_6);
x_200 = lean_ctor_get(x_7, 1);
lean_inc(x_200);
lean_dec(x_7);
x_201 = lean_ctor_get(x_10, 1);
lean_inc(x_201);
x_202 = lean_ctor_get(x_10, 2);
lean_inc(x_202);
lean_dec(x_10);
x_203 = l_Int_toNat(x_201);
lean_dec(x_201);
if (x_199 == 0)
{
uint8_t x_204; 
x_204 = !lean_is_exclusive(x_3);
if (x_204 == 0)
{
lean_object* x_205; lean_object* x_206; lean_object* x_207; uint32_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; 
x_205 = lean_ctor_get(x_3, 0);
x_206 = lean_ctor_get(x_3, 1);
x_207 = lean_ctor_get(x_3, 2);
lean_dec(x_207);
x_208 = 32;
x_209 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_203);
x_210 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_208, x_203, x_209);
x_211 = l_Lean_Widget_TaggedText_appendText___rarg(x_210, x_205);
lean_inc(x_206);
x_212 = l_List_take___rarg(x_202, x_206);
x_213 = l_List_drop___rarg(x_202, x_206);
lean_dec(x_206);
x_214 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_211, x_212);
lean_ctor_set(x_3, 2, x_203);
lean_ctor_set(x_3, 1, x_213);
lean_ctor_set(x_3, 0, x_214);
x_215 = 1;
x_216 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_215, x_200, x_198, x_1, x_3);
x_217 = lean_ctor_get(x_216, 0);
lean_inc(x_217);
x_218 = lean_ctor_get(x_216, 1);
lean_inc(x_218);
lean_dec(x_216);
x_2 = x_217;
x_3 = x_218;
goto _start;
}
else
{
lean_object* x_220; lean_object* x_221; uint32_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; 
x_220 = lean_ctor_get(x_3, 0);
x_221 = lean_ctor_get(x_3, 1);
lean_inc(x_221);
lean_inc(x_220);
lean_dec(x_3);
x_222 = 32;
x_223 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_203);
x_224 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_222, x_203, x_223);
x_225 = l_Lean_Widget_TaggedText_appendText___rarg(x_224, x_220);
lean_inc(x_221);
x_226 = l_List_take___rarg(x_202, x_221);
x_227 = l_List_drop___rarg(x_202, x_221);
lean_dec(x_221);
x_228 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_225, x_226);
x_229 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_229, 0, x_228);
lean_ctor_set(x_229, 1, x_227);
lean_ctor_set(x_229, 2, x_203);
x_230 = 1;
x_231 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_230, x_200, x_198, x_1, x_229);
x_232 = lean_ctor_get(x_231, 0);
lean_inc(x_232);
x_233 = lean_ctor_get(x_231, 1);
lean_inc(x_233);
lean_dec(x_231);
x_2 = x_232;
x_3 = x_233;
goto _start;
}
}
else
{
lean_object* x_235; lean_object* x_236; uint8_t x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; 
x_235 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2;
x_236 = lean_nat_sub(x_1, x_235);
x_237 = 1;
lean_inc(x_198);
lean_inc(x_200);
x_238 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_237, x_200, x_198, x_236, x_3);
lean_dec(x_236);
x_239 = lean_ctor_get(x_238, 0);
lean_inc(x_239);
x_240 = lean_ctor_get(x_239, 0);
lean_inc(x_240);
x_241 = lean_ctor_get_uint8(x_240, sizeof(void*)*1);
lean_dec(x_240);
if (x_241 == 0)
{
lean_object* x_242; uint8_t x_243; 
lean_dec(x_239);
x_242 = lean_ctor_get(x_238, 1);
lean_inc(x_242);
lean_dec(x_238);
x_243 = !lean_is_exclusive(x_242);
if (x_243 == 0)
{
lean_object* x_244; lean_object* x_245; lean_object* x_246; uint32_t x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; 
x_244 = lean_ctor_get(x_242, 0);
x_245 = lean_ctor_get(x_242, 1);
x_246 = lean_ctor_get(x_242, 2);
lean_dec(x_246);
x_247 = 32;
x_248 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_203);
x_249 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_247, x_203, x_248);
x_250 = l_Lean_Widget_TaggedText_appendText___rarg(x_249, x_244);
lean_inc(x_245);
x_251 = l_List_take___rarg(x_202, x_245);
x_252 = l_List_drop___rarg(x_202, x_245);
lean_dec(x_245);
x_253 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_250, x_251);
lean_ctor_set(x_242, 2, x_203);
lean_ctor_set(x_242, 1, x_252);
lean_ctor_set(x_242, 0, x_253);
x_254 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_237, x_200, x_198, x_1, x_242);
x_255 = lean_ctor_get(x_254, 0);
lean_inc(x_255);
x_256 = lean_ctor_get(x_254, 1);
lean_inc(x_256);
lean_dec(x_254);
x_2 = x_255;
x_3 = x_256;
goto _start;
}
else
{
lean_object* x_258; lean_object* x_259; uint32_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; 
x_258 = lean_ctor_get(x_242, 0);
x_259 = lean_ctor_get(x_242, 1);
lean_inc(x_259);
lean_inc(x_258);
lean_dec(x_242);
x_260 = 32;
x_261 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_203);
x_262 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_260, x_203, x_261);
x_263 = l_Lean_Widget_TaggedText_appendText___rarg(x_262, x_258);
lean_inc(x_259);
x_264 = l_List_take___rarg(x_202, x_259);
x_265 = l_List_drop___rarg(x_202, x_259);
lean_dec(x_259);
x_266 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_263, x_264);
x_267 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_267, 0, x_266);
lean_ctor_set(x_267, 1, x_265);
lean_ctor_set(x_267, 2, x_203);
x_268 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_237, x_200, x_198, x_1, x_267);
x_269 = lean_ctor_get(x_268, 0);
lean_inc(x_269);
x_270 = lean_ctor_get(x_268, 1);
lean_inc(x_270);
lean_dec(x_268);
x_2 = x_269;
x_3 = x_270;
goto _start;
}
}
else
{
lean_object* x_272; uint8_t x_273; 
lean_dec(x_203);
lean_dec(x_200);
lean_dec(x_198);
x_272 = lean_ctor_get(x_238, 1);
lean_inc(x_272);
lean_dec(x_238);
x_273 = !lean_is_exclusive(x_272);
if (x_273 == 0)
{
lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; 
x_274 = lean_ctor_get(x_272, 0);
x_275 = lean_ctor_get(x_272, 1);
x_276 = lean_ctor_get(x_272, 2);
x_277 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_278 = l_Lean_Widget_TaggedText_appendText___rarg(x_277, x_274);
x_279 = lean_nat_add(x_276, x_235);
lean_dec(x_276);
lean_inc(x_275);
x_280 = l_List_take___rarg(x_202, x_275);
x_281 = l_List_drop___rarg(x_202, x_275);
lean_dec(x_275);
x_282 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_278, x_280);
lean_ctor_set(x_272, 2, x_279);
lean_ctor_set(x_272, 1, x_281);
lean_ctor_set(x_272, 0, x_282);
x_2 = x_239;
x_3 = x_272;
goto _start;
}
else
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; 
x_284 = lean_ctor_get(x_272, 0);
x_285 = lean_ctor_get(x_272, 1);
x_286 = lean_ctor_get(x_272, 2);
lean_inc(x_286);
lean_inc(x_285);
lean_inc(x_284);
lean_dec(x_272);
x_287 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1;
x_288 = l_Lean_Widget_TaggedText_appendText___rarg(x_287, x_284);
x_289 = lean_nat_add(x_286, x_235);
lean_dec(x_286);
lean_inc(x_285);
x_290 = l_List_take___rarg(x_202, x_285);
x_291 = l_List_drop___rarg(x_202, x_285);
lean_dec(x_285);
x_292 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_288, x_290);
x_293 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_293, 0, x_292);
lean_ctor_set(x_293, 1, x_291);
lean_ctor_set(x_293, 2, x_289);
x_2 = x_239;
x_3 = x_293;
goto _start;
}
}
}
}
}
case 2:
{
lean_object* x_295; uint8_t x_296; 
x_295 = lean_ctor_get(x_2, 1);
lean_inc(x_295);
lean_dec(x_2);
x_296 = !lean_is_exclusive(x_6);
if (x_296 == 0)
{
uint8_t x_297; lean_object* x_298; uint8_t x_299; 
x_297 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
x_298 = lean_ctor_get(x_6, 0);
lean_dec(x_298);
x_299 = !lean_is_exclusive(x_7);
if (x_299 == 0)
{
lean_object* x_300; lean_object* x_301; uint8_t x_302; 
x_300 = lean_ctor_get(x_7, 1);
x_301 = lean_ctor_get(x_7, 0);
lean_dec(x_301);
x_302 = !lean_is_exclusive(x_10);
if (x_302 == 0)
{
lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; 
x_303 = lean_ctor_get(x_10, 1);
x_304 = lean_ctor_get(x_10, 2);
x_305 = lean_ctor_get(x_10, 0);
lean_dec(x_305);
x_306 = !lean_is_exclusive(x_11);
if (x_306 == 0)
{
lean_object* x_307; uint32_t x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; 
x_307 = lean_ctor_get(x_11, 0);
x_308 = 10;
x_309 = lean_string_utf8_byte_size(x_307);
x_310 = lean_unsigned_to_nat(0u);
x_311 = l_String_posOfAux(x_307, x_308, x_309, x_310);
x_312 = lean_nat_dec_eq(x_311, x_309);
if (x_312 == 0)
{
lean_object* x_313; uint8_t x_314; 
lean_free_object(x_6);
x_313 = lean_string_utf8_extract(x_307, x_310, x_311);
x_314 = !lean_is_exclusive(x_3);
if (x_314 == 0)
{
lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint32_t x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; 
x_315 = lean_ctor_get(x_3, 0);
x_316 = lean_ctor_get(x_3, 2);
lean_dec(x_316);
x_317 = l_Lean_Widget_TaggedText_appendText___rarg(x_313, x_315);
x_318 = l_Int_toNat(x_303);
x_319 = 32;
x_320 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_318);
x_321 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_319, x_318, x_320);
x_322 = l_Lean_Widget_TaggedText_appendText___rarg(x_321, x_317);
lean_ctor_set(x_3, 2, x_318);
lean_ctor_set(x_3, 0, x_322);
x_323 = lean_string_utf8_next(x_307, x_311);
lean_dec(x_311);
x_324 = lean_string_utf8_extract(x_307, x_323, x_309);
lean_dec(x_309);
lean_dec(x_323);
lean_dec(x_307);
lean_ctor_set(x_11, 0, x_324);
x_325 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_297, x_7, x_295, x_1, x_3);
x_326 = lean_ctor_get(x_325, 0);
lean_inc(x_326);
x_327 = lean_ctor_get(x_325, 1);
lean_inc(x_327);
lean_dec(x_325);
x_2 = x_326;
x_3 = x_327;
goto _start;
}
else
{
lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint32_t x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; 
x_329 = lean_ctor_get(x_3, 0);
x_330 = lean_ctor_get(x_3, 1);
lean_inc(x_330);
lean_inc(x_329);
lean_dec(x_3);
x_331 = l_Lean_Widget_TaggedText_appendText___rarg(x_313, x_329);
x_332 = l_Int_toNat(x_303);
x_333 = 32;
x_334 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_332);
x_335 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_333, x_332, x_334);
x_336 = l_Lean_Widget_TaggedText_appendText___rarg(x_335, x_331);
x_337 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_337, 0, x_336);
lean_ctor_set(x_337, 1, x_330);
lean_ctor_set(x_337, 2, x_332);
x_338 = lean_string_utf8_next(x_307, x_311);
lean_dec(x_311);
x_339 = lean_string_utf8_extract(x_307, x_338, x_309);
lean_dec(x_309);
lean_dec(x_338);
lean_dec(x_307);
lean_ctor_set(x_11, 0, x_339);
x_340 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_297, x_7, x_295, x_1, x_337);
x_341 = lean_ctor_get(x_340, 0);
lean_inc(x_341);
x_342 = lean_ctor_get(x_340, 1);
lean_inc(x_342);
lean_dec(x_340);
x_2 = x_341;
x_3 = x_342;
goto _start;
}
}
else
{
uint8_t x_344; 
lean_dec(x_311);
lean_dec(x_309);
lean_free_object(x_11);
lean_free_object(x_10);
lean_dec(x_303);
x_344 = !lean_is_exclusive(x_3);
if (x_344 == 0)
{
lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; 
x_345 = lean_ctor_get(x_3, 0);
x_346 = lean_ctor_get(x_3, 1);
x_347 = lean_ctor_get(x_3, 2);
lean_inc(x_307);
x_348 = l_Lean_Widget_TaggedText_appendText___rarg(x_307, x_345);
x_349 = lean_string_length(x_307);
lean_dec(x_307);
x_350 = lean_nat_add(x_347, x_349);
lean_dec(x_349);
lean_dec(x_347);
lean_inc(x_346);
x_351 = l_List_take___rarg(x_304, x_346);
x_352 = l_List_drop___rarg(x_304, x_346);
lean_dec(x_346);
x_353 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_348, x_351);
lean_ctor_set(x_3, 2, x_350);
lean_ctor_set(x_3, 1, x_352);
lean_ctor_set(x_3, 0, x_353);
lean_ctor_set(x_6, 0, x_300);
lean_ctor_set(x_7, 1, x_295);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
goto _start;
}
else
{
lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; 
x_355 = lean_ctor_get(x_3, 0);
x_356 = lean_ctor_get(x_3, 1);
x_357 = lean_ctor_get(x_3, 2);
lean_inc(x_357);
lean_inc(x_356);
lean_inc(x_355);
lean_dec(x_3);
lean_inc(x_307);
x_358 = l_Lean_Widget_TaggedText_appendText___rarg(x_307, x_355);
x_359 = lean_string_length(x_307);
lean_dec(x_307);
x_360 = lean_nat_add(x_357, x_359);
lean_dec(x_359);
lean_dec(x_357);
lean_inc(x_356);
x_361 = l_List_take___rarg(x_304, x_356);
x_362 = l_List_drop___rarg(x_304, x_356);
lean_dec(x_356);
x_363 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_358, x_361);
x_364 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_364, 0, x_363);
lean_ctor_set(x_364, 1, x_362);
lean_ctor_set(x_364, 2, x_360);
lean_ctor_set(x_6, 0, x_300);
lean_ctor_set(x_7, 1, x_295);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_364;
goto _start;
}
}
}
else
{
lean_object* x_366; uint32_t x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; 
x_366 = lean_ctor_get(x_11, 0);
lean_inc(x_366);
lean_dec(x_11);
x_367 = 10;
x_368 = lean_string_utf8_byte_size(x_366);
x_369 = lean_unsigned_to_nat(0u);
x_370 = l_String_posOfAux(x_366, x_367, x_368, x_369);
x_371 = lean_nat_dec_eq(x_370, x_368);
if (x_371 == 0)
{
lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; uint32_t x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; 
lean_free_object(x_6);
x_372 = lean_string_utf8_extract(x_366, x_369, x_370);
x_373 = lean_ctor_get(x_3, 0);
lean_inc(x_373);
x_374 = lean_ctor_get(x_3, 1);
lean_inc(x_374);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_375 = x_3;
} else {
 lean_dec_ref(x_3);
 x_375 = lean_box(0);
}
x_376 = l_Lean_Widget_TaggedText_appendText___rarg(x_372, x_373);
x_377 = l_Int_toNat(x_303);
x_378 = 32;
x_379 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_377);
x_380 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_378, x_377, x_379);
x_381 = l_Lean_Widget_TaggedText_appendText___rarg(x_380, x_376);
if (lean_is_scalar(x_375)) {
 x_382 = lean_alloc_ctor(0, 3, 0);
} else {
 x_382 = x_375;
}
lean_ctor_set(x_382, 0, x_381);
lean_ctor_set(x_382, 1, x_374);
lean_ctor_set(x_382, 2, x_377);
x_383 = lean_string_utf8_next(x_366, x_370);
lean_dec(x_370);
x_384 = lean_string_utf8_extract(x_366, x_383, x_368);
lean_dec(x_368);
lean_dec(x_383);
lean_dec(x_366);
x_385 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_385, 0, x_384);
lean_ctor_set(x_10, 0, x_385);
x_386 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_297, x_7, x_295, x_1, x_382);
x_387 = lean_ctor_get(x_386, 0);
lean_inc(x_387);
x_388 = lean_ctor_get(x_386, 1);
lean_inc(x_388);
lean_dec(x_386);
x_2 = x_387;
x_3 = x_388;
goto _start;
}
else
{
lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; 
lean_dec(x_370);
lean_dec(x_368);
lean_free_object(x_10);
lean_dec(x_303);
x_390 = lean_ctor_get(x_3, 0);
lean_inc(x_390);
x_391 = lean_ctor_get(x_3, 1);
lean_inc(x_391);
x_392 = lean_ctor_get(x_3, 2);
lean_inc(x_392);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_393 = x_3;
} else {
 lean_dec_ref(x_3);
 x_393 = lean_box(0);
}
lean_inc(x_366);
x_394 = l_Lean_Widget_TaggedText_appendText___rarg(x_366, x_390);
x_395 = lean_string_length(x_366);
lean_dec(x_366);
x_396 = lean_nat_add(x_392, x_395);
lean_dec(x_395);
lean_dec(x_392);
lean_inc(x_391);
x_397 = l_List_take___rarg(x_304, x_391);
x_398 = l_List_drop___rarg(x_304, x_391);
lean_dec(x_391);
x_399 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_394, x_397);
if (lean_is_scalar(x_393)) {
 x_400 = lean_alloc_ctor(0, 3, 0);
} else {
 x_400 = x_393;
}
lean_ctor_set(x_400, 0, x_399);
lean_ctor_set(x_400, 1, x_398);
lean_ctor_set(x_400, 2, x_396);
lean_ctor_set(x_6, 0, x_300);
lean_ctor_set(x_7, 1, x_295);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_400;
goto _start;
}
}
}
else
{
lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint32_t x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; 
x_402 = lean_ctor_get(x_10, 1);
x_403 = lean_ctor_get(x_10, 2);
lean_inc(x_403);
lean_inc(x_402);
lean_dec(x_10);
x_404 = lean_ctor_get(x_11, 0);
lean_inc(x_404);
if (lean_is_exclusive(x_11)) {
 lean_ctor_release(x_11, 0);
 x_405 = x_11;
} else {
 lean_dec_ref(x_11);
 x_405 = lean_box(0);
}
x_406 = 10;
x_407 = lean_string_utf8_byte_size(x_404);
x_408 = lean_unsigned_to_nat(0u);
x_409 = l_String_posOfAux(x_404, x_406, x_407, x_408);
x_410 = lean_nat_dec_eq(x_409, x_407);
if (x_410 == 0)
{
lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; uint32_t x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; 
lean_free_object(x_6);
x_411 = lean_string_utf8_extract(x_404, x_408, x_409);
x_412 = lean_ctor_get(x_3, 0);
lean_inc(x_412);
x_413 = lean_ctor_get(x_3, 1);
lean_inc(x_413);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_414 = x_3;
} else {
 lean_dec_ref(x_3);
 x_414 = lean_box(0);
}
x_415 = l_Lean_Widget_TaggedText_appendText___rarg(x_411, x_412);
x_416 = l_Int_toNat(x_402);
x_417 = 32;
x_418 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_416);
x_419 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_417, x_416, x_418);
x_420 = l_Lean_Widget_TaggedText_appendText___rarg(x_419, x_415);
if (lean_is_scalar(x_414)) {
 x_421 = lean_alloc_ctor(0, 3, 0);
} else {
 x_421 = x_414;
}
lean_ctor_set(x_421, 0, x_420);
lean_ctor_set(x_421, 1, x_413);
lean_ctor_set(x_421, 2, x_416);
x_422 = lean_string_utf8_next(x_404, x_409);
lean_dec(x_409);
x_423 = lean_string_utf8_extract(x_404, x_422, x_407);
lean_dec(x_407);
lean_dec(x_422);
lean_dec(x_404);
if (lean_is_scalar(x_405)) {
 x_424 = lean_alloc_ctor(2, 1, 0);
} else {
 x_424 = x_405;
}
lean_ctor_set(x_424, 0, x_423);
x_425 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_425, 0, x_424);
lean_ctor_set(x_425, 1, x_402);
lean_ctor_set(x_425, 2, x_403);
lean_ctor_set(x_7, 0, x_425);
x_426 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_297, x_7, x_295, x_1, x_421);
x_427 = lean_ctor_get(x_426, 0);
lean_inc(x_427);
x_428 = lean_ctor_get(x_426, 1);
lean_inc(x_428);
lean_dec(x_426);
x_2 = x_427;
x_3 = x_428;
goto _start;
}
else
{
lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; 
lean_dec(x_409);
lean_dec(x_407);
lean_dec(x_405);
lean_dec(x_402);
x_430 = lean_ctor_get(x_3, 0);
lean_inc(x_430);
x_431 = lean_ctor_get(x_3, 1);
lean_inc(x_431);
x_432 = lean_ctor_get(x_3, 2);
lean_inc(x_432);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_433 = x_3;
} else {
 lean_dec_ref(x_3);
 x_433 = lean_box(0);
}
lean_inc(x_404);
x_434 = l_Lean_Widget_TaggedText_appendText___rarg(x_404, x_430);
x_435 = lean_string_length(x_404);
lean_dec(x_404);
x_436 = lean_nat_add(x_432, x_435);
lean_dec(x_435);
lean_dec(x_432);
lean_inc(x_431);
x_437 = l_List_take___rarg(x_403, x_431);
x_438 = l_List_drop___rarg(x_403, x_431);
lean_dec(x_431);
x_439 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_434, x_437);
if (lean_is_scalar(x_433)) {
 x_440 = lean_alloc_ctor(0, 3, 0);
} else {
 x_440 = x_433;
}
lean_ctor_set(x_440, 0, x_439);
lean_ctor_set(x_440, 1, x_438);
lean_ctor_set(x_440, 2, x_436);
lean_ctor_set(x_6, 0, x_300);
lean_ctor_set(x_7, 1, x_295);
lean_ctor_set(x_7, 0, x_6);
x_2 = x_7;
x_3 = x_440;
goto _start;
}
}
}
else
{
lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; uint32_t x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; uint8_t x_452; 
x_442 = lean_ctor_get(x_7, 1);
lean_inc(x_442);
lean_dec(x_7);
x_443 = lean_ctor_get(x_10, 1);
lean_inc(x_443);
x_444 = lean_ctor_get(x_10, 2);
lean_inc(x_444);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_445 = x_10;
} else {
 lean_dec_ref(x_10);
 x_445 = lean_box(0);
}
x_446 = lean_ctor_get(x_11, 0);
lean_inc(x_446);
if (lean_is_exclusive(x_11)) {
 lean_ctor_release(x_11, 0);
 x_447 = x_11;
} else {
 lean_dec_ref(x_11);
 x_447 = lean_box(0);
}
x_448 = 10;
x_449 = lean_string_utf8_byte_size(x_446);
x_450 = lean_unsigned_to_nat(0u);
x_451 = l_String_posOfAux(x_446, x_448, x_449, x_450);
x_452 = lean_nat_dec_eq(x_451, x_449);
if (x_452 == 0)
{
lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; uint32_t x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; 
lean_free_object(x_6);
x_453 = lean_string_utf8_extract(x_446, x_450, x_451);
x_454 = lean_ctor_get(x_3, 0);
lean_inc(x_454);
x_455 = lean_ctor_get(x_3, 1);
lean_inc(x_455);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_456 = x_3;
} else {
 lean_dec_ref(x_3);
 x_456 = lean_box(0);
}
x_457 = l_Lean_Widget_TaggedText_appendText___rarg(x_453, x_454);
x_458 = l_Int_toNat(x_443);
x_459 = 32;
x_460 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_458);
x_461 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_459, x_458, x_460);
x_462 = l_Lean_Widget_TaggedText_appendText___rarg(x_461, x_457);
if (lean_is_scalar(x_456)) {
 x_463 = lean_alloc_ctor(0, 3, 0);
} else {
 x_463 = x_456;
}
lean_ctor_set(x_463, 0, x_462);
lean_ctor_set(x_463, 1, x_455);
lean_ctor_set(x_463, 2, x_458);
x_464 = lean_string_utf8_next(x_446, x_451);
lean_dec(x_451);
x_465 = lean_string_utf8_extract(x_446, x_464, x_449);
lean_dec(x_449);
lean_dec(x_464);
lean_dec(x_446);
if (lean_is_scalar(x_447)) {
 x_466 = lean_alloc_ctor(2, 1, 0);
} else {
 x_466 = x_447;
}
lean_ctor_set(x_466, 0, x_465);
if (lean_is_scalar(x_445)) {
 x_467 = lean_alloc_ctor(0, 3, 0);
} else {
 x_467 = x_445;
}
lean_ctor_set(x_467, 0, x_466);
lean_ctor_set(x_467, 1, x_443);
lean_ctor_set(x_467, 2, x_444);
x_468 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_468, 0, x_467);
lean_ctor_set(x_468, 1, x_442);
x_469 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_297, x_468, x_295, x_1, x_463);
x_470 = lean_ctor_get(x_469, 0);
lean_inc(x_470);
x_471 = lean_ctor_get(x_469, 1);
lean_inc(x_471);
lean_dec(x_469);
x_2 = x_470;
x_3 = x_471;
goto _start;
}
else
{
lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; 
lean_dec(x_451);
lean_dec(x_449);
lean_dec(x_447);
lean_dec(x_445);
lean_dec(x_443);
x_473 = lean_ctor_get(x_3, 0);
lean_inc(x_473);
x_474 = lean_ctor_get(x_3, 1);
lean_inc(x_474);
x_475 = lean_ctor_get(x_3, 2);
lean_inc(x_475);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_476 = x_3;
} else {
 lean_dec_ref(x_3);
 x_476 = lean_box(0);
}
lean_inc(x_446);
x_477 = l_Lean_Widget_TaggedText_appendText___rarg(x_446, x_473);
x_478 = lean_string_length(x_446);
lean_dec(x_446);
x_479 = lean_nat_add(x_475, x_478);
lean_dec(x_478);
lean_dec(x_475);
lean_inc(x_474);
x_480 = l_List_take___rarg(x_444, x_474);
x_481 = l_List_drop___rarg(x_444, x_474);
lean_dec(x_474);
x_482 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_477, x_480);
if (lean_is_scalar(x_476)) {
 x_483 = lean_alloc_ctor(0, 3, 0);
} else {
 x_483 = x_476;
}
lean_ctor_set(x_483, 0, x_482);
lean_ctor_set(x_483, 1, x_481);
lean_ctor_set(x_483, 2, x_479);
lean_ctor_set(x_6, 0, x_442);
x_484 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_484, 0, x_6);
lean_ctor_set(x_484, 1, x_295);
x_2 = x_484;
x_3 = x_483;
goto _start;
}
}
}
else
{
uint8_t x_486; uint8_t x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint32_t x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; 
x_486 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_487 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_488 = lean_ctor_get(x_7, 1);
lean_inc(x_488);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_489 = x_7;
} else {
 lean_dec_ref(x_7);
 x_489 = lean_box(0);
}
x_490 = lean_ctor_get(x_10, 1);
lean_inc(x_490);
x_491 = lean_ctor_get(x_10, 2);
lean_inc(x_491);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_492 = x_10;
} else {
 lean_dec_ref(x_10);
 x_492 = lean_box(0);
}
x_493 = lean_ctor_get(x_11, 0);
lean_inc(x_493);
if (lean_is_exclusive(x_11)) {
 lean_ctor_release(x_11, 0);
 x_494 = x_11;
} else {
 lean_dec_ref(x_11);
 x_494 = lean_box(0);
}
x_495 = 10;
x_496 = lean_string_utf8_byte_size(x_493);
x_497 = lean_unsigned_to_nat(0u);
x_498 = l_String_posOfAux(x_493, x_495, x_496, x_497);
x_499 = lean_nat_dec_eq(x_498, x_496);
if (x_499 == 0)
{
lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; uint32_t x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; 
x_500 = lean_string_utf8_extract(x_493, x_497, x_498);
x_501 = lean_ctor_get(x_3, 0);
lean_inc(x_501);
x_502 = lean_ctor_get(x_3, 1);
lean_inc(x_502);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_503 = x_3;
} else {
 lean_dec_ref(x_3);
 x_503 = lean_box(0);
}
x_504 = l_Lean_Widget_TaggedText_appendText___rarg(x_500, x_501);
x_505 = l_Int_toNat(x_490);
x_506 = 32;
x_507 = l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1;
lean_inc(x_505);
x_508 = l_Nat_repeat_loop___at_String_pushn___spec__1(x_506, x_505, x_507);
x_509 = l_Lean_Widget_TaggedText_appendText___rarg(x_508, x_504);
if (lean_is_scalar(x_503)) {
 x_510 = lean_alloc_ctor(0, 3, 0);
} else {
 x_510 = x_503;
}
lean_ctor_set(x_510, 0, x_509);
lean_ctor_set(x_510, 1, x_502);
lean_ctor_set(x_510, 2, x_505);
x_511 = lean_string_utf8_next(x_493, x_498);
lean_dec(x_498);
x_512 = lean_string_utf8_extract(x_493, x_511, x_496);
lean_dec(x_496);
lean_dec(x_511);
lean_dec(x_493);
if (lean_is_scalar(x_494)) {
 x_513 = lean_alloc_ctor(2, 1, 0);
} else {
 x_513 = x_494;
}
lean_ctor_set(x_513, 0, x_512);
if (lean_is_scalar(x_492)) {
 x_514 = lean_alloc_ctor(0, 3, 0);
} else {
 x_514 = x_492;
}
lean_ctor_set(x_514, 0, x_513);
lean_ctor_set(x_514, 1, x_490);
lean_ctor_set(x_514, 2, x_491);
if (lean_is_scalar(x_489)) {
 x_515 = lean_alloc_ctor(1, 2, 0);
} else {
 x_515 = x_489;
}
lean_ctor_set(x_515, 0, x_514);
lean_ctor_set(x_515, 1, x_488);
x_516 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_487, x_515, x_295, x_1, x_510);
x_517 = lean_ctor_get(x_516, 0);
lean_inc(x_517);
x_518 = lean_ctor_get(x_516, 1);
lean_inc(x_518);
lean_dec(x_516);
x_2 = x_517;
x_3 = x_518;
goto _start;
}
else
{
lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; 
lean_dec(x_498);
lean_dec(x_496);
lean_dec(x_494);
lean_dec(x_492);
lean_dec(x_490);
x_520 = lean_ctor_get(x_3, 0);
lean_inc(x_520);
x_521 = lean_ctor_get(x_3, 1);
lean_inc(x_521);
x_522 = lean_ctor_get(x_3, 2);
lean_inc(x_522);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_523 = x_3;
} else {
 lean_dec_ref(x_3);
 x_523 = lean_box(0);
}
lean_inc(x_493);
x_524 = l_Lean_Widget_TaggedText_appendText___rarg(x_493, x_520);
x_525 = lean_string_length(x_493);
lean_dec(x_493);
x_526 = lean_nat_add(x_522, x_525);
lean_dec(x_525);
lean_dec(x_522);
lean_inc(x_521);
x_527 = l_List_take___rarg(x_491, x_521);
x_528 = l_List_drop___rarg(x_491, x_521);
lean_dec(x_521);
x_529 = l_List_foldl___at_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___spec__3(x_524, x_527);
if (lean_is_scalar(x_523)) {
 x_530 = lean_alloc_ctor(0, 3, 0);
} else {
 x_530 = x_523;
}
lean_ctor_set(x_530, 0, x_529);
lean_ctor_set(x_530, 1, x_528);
lean_ctor_set(x_530, 2, x_526);
x_531 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_531, 0, x_488);
lean_ctor_set_uint8(x_531, sizeof(void*)*1, x_486);
lean_ctor_set_uint8(x_531, sizeof(void*)*1 + 1, x_487);
if (lean_is_scalar(x_489)) {
 x_532 = lean_alloc_ctor(1, 2, 0);
} else {
 x_532 = x_489;
}
lean_ctor_set(x_532, 0, x_531);
lean_ctor_set(x_532, 1, x_295);
x_2 = x_532;
x_3 = x_530;
goto _start;
}
}
}
case 3:
{
uint8_t x_534; 
x_534 = !lean_is_exclusive(x_2);
if (x_534 == 0)
{
lean_object* x_535; uint8_t x_536; 
x_535 = lean_ctor_get(x_2, 0);
lean_dec(x_535);
x_536 = !lean_is_exclusive(x_6);
if (x_536 == 0)
{
lean_object* x_537; uint8_t x_538; 
x_537 = lean_ctor_get(x_6, 0);
lean_dec(x_537);
x_538 = !lean_is_exclusive(x_7);
if (x_538 == 0)
{
lean_object* x_539; uint8_t x_540; 
x_539 = lean_ctor_get(x_7, 0);
lean_dec(x_539);
x_540 = !lean_is_exclusive(x_10);
if (x_540 == 0)
{
lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; 
x_541 = lean_ctor_get(x_10, 1);
x_542 = lean_ctor_get(x_10, 0);
lean_dec(x_542);
x_543 = lean_ctor_get(x_11, 0);
lean_inc(x_543);
x_544 = lean_ctor_get(x_11, 1);
lean_inc(x_544);
lean_dec(x_11);
x_545 = lean_int_add(x_541, x_543);
lean_dec(x_543);
lean_dec(x_541);
lean_ctor_set(x_10, 1, x_545);
lean_ctor_set(x_10, 0, x_544);
goto _start;
}
else
{
lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; 
x_547 = lean_ctor_get(x_10, 1);
x_548 = lean_ctor_get(x_10, 2);
lean_inc(x_548);
lean_inc(x_547);
lean_dec(x_10);
x_549 = lean_ctor_get(x_11, 0);
lean_inc(x_549);
x_550 = lean_ctor_get(x_11, 1);
lean_inc(x_550);
lean_dec(x_11);
x_551 = lean_int_add(x_547, x_549);
lean_dec(x_549);
lean_dec(x_547);
x_552 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_552, 0, x_550);
lean_ctor_set(x_552, 1, x_551);
lean_ctor_set(x_552, 2, x_548);
lean_ctor_set(x_7, 0, x_552);
goto _start;
}
}
else
{
lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; 
x_554 = lean_ctor_get(x_7, 1);
lean_inc(x_554);
lean_dec(x_7);
x_555 = lean_ctor_get(x_10, 1);
lean_inc(x_555);
x_556 = lean_ctor_get(x_10, 2);
lean_inc(x_556);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_557 = x_10;
} else {
 lean_dec_ref(x_10);
 x_557 = lean_box(0);
}
x_558 = lean_ctor_get(x_11, 0);
lean_inc(x_558);
x_559 = lean_ctor_get(x_11, 1);
lean_inc(x_559);
lean_dec(x_11);
x_560 = lean_int_add(x_555, x_558);
lean_dec(x_558);
lean_dec(x_555);
if (lean_is_scalar(x_557)) {
 x_561 = lean_alloc_ctor(0, 3, 0);
} else {
 x_561 = x_557;
}
lean_ctor_set(x_561, 0, x_559);
lean_ctor_set(x_561, 1, x_560);
lean_ctor_set(x_561, 2, x_556);
x_562 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_562, 0, x_561);
lean_ctor_set(x_562, 1, x_554);
lean_ctor_set(x_6, 0, x_562);
goto _start;
}
}
else
{
uint8_t x_564; uint8_t x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; 
x_564 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_565 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_566 = lean_ctor_get(x_7, 1);
lean_inc(x_566);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_567 = x_7;
} else {
 lean_dec_ref(x_7);
 x_567 = lean_box(0);
}
x_568 = lean_ctor_get(x_10, 1);
lean_inc(x_568);
x_569 = lean_ctor_get(x_10, 2);
lean_inc(x_569);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_570 = x_10;
} else {
 lean_dec_ref(x_10);
 x_570 = lean_box(0);
}
x_571 = lean_ctor_get(x_11, 0);
lean_inc(x_571);
x_572 = lean_ctor_get(x_11, 1);
lean_inc(x_572);
lean_dec(x_11);
x_573 = lean_int_add(x_568, x_571);
lean_dec(x_571);
lean_dec(x_568);
if (lean_is_scalar(x_570)) {
 x_574 = lean_alloc_ctor(0, 3, 0);
} else {
 x_574 = x_570;
}
lean_ctor_set(x_574, 0, x_572);
lean_ctor_set(x_574, 1, x_573);
lean_ctor_set(x_574, 2, x_569);
if (lean_is_scalar(x_567)) {
 x_575 = lean_alloc_ctor(1, 2, 0);
} else {
 x_575 = x_567;
}
lean_ctor_set(x_575, 0, x_574);
lean_ctor_set(x_575, 1, x_566);
x_576 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_576, 0, x_575);
lean_ctor_set_uint8(x_576, sizeof(void*)*1, x_564);
lean_ctor_set_uint8(x_576, sizeof(void*)*1 + 1, x_565);
lean_ctor_set(x_2, 0, x_576);
goto _start;
}
}
else
{
lean_object* x_578; uint8_t x_579; uint8_t x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; 
x_578 = lean_ctor_get(x_2, 1);
lean_inc(x_578);
lean_dec(x_2);
x_579 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_580 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_581 = x_6;
} else {
 lean_dec_ref(x_6);
 x_581 = lean_box(0);
}
x_582 = lean_ctor_get(x_7, 1);
lean_inc(x_582);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_583 = x_7;
} else {
 lean_dec_ref(x_7);
 x_583 = lean_box(0);
}
x_584 = lean_ctor_get(x_10, 1);
lean_inc(x_584);
x_585 = lean_ctor_get(x_10, 2);
lean_inc(x_585);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_586 = x_10;
} else {
 lean_dec_ref(x_10);
 x_586 = lean_box(0);
}
x_587 = lean_ctor_get(x_11, 0);
lean_inc(x_587);
x_588 = lean_ctor_get(x_11, 1);
lean_inc(x_588);
lean_dec(x_11);
x_589 = lean_int_add(x_584, x_587);
lean_dec(x_587);
lean_dec(x_584);
if (lean_is_scalar(x_586)) {
 x_590 = lean_alloc_ctor(0, 3, 0);
} else {
 x_590 = x_586;
}
lean_ctor_set(x_590, 0, x_588);
lean_ctor_set(x_590, 1, x_589);
lean_ctor_set(x_590, 2, x_585);
if (lean_is_scalar(x_583)) {
 x_591 = lean_alloc_ctor(1, 2, 0);
} else {
 x_591 = x_583;
}
lean_ctor_set(x_591, 0, x_590);
lean_ctor_set(x_591, 1, x_582);
if (lean_is_scalar(x_581)) {
 x_592 = lean_alloc_ctor(0, 1, 2);
} else {
 x_592 = x_581;
}
lean_ctor_set(x_592, 0, x_591);
lean_ctor_set_uint8(x_592, sizeof(void*)*1, x_579);
lean_ctor_set_uint8(x_592, sizeof(void*)*1 + 1, x_580);
x_593 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_593, 0, x_592);
lean_ctor_set(x_593, 1, x_578);
x_2 = x_593;
goto _start;
}
}
case 4:
{
uint8_t x_595; 
x_595 = !lean_is_exclusive(x_2);
if (x_595 == 0)
{
lean_object* x_596; lean_object* x_597; uint8_t x_598; 
x_596 = lean_ctor_get(x_2, 1);
x_597 = lean_ctor_get(x_2, 0);
lean_dec(x_597);
x_598 = !lean_is_exclusive(x_6);
if (x_598 == 0)
{
lean_object* x_599; uint8_t x_600; 
x_599 = lean_ctor_get(x_6, 0);
lean_dec(x_599);
x_600 = !lean_is_exclusive(x_7);
if (x_600 == 0)
{
lean_object* x_601; uint8_t x_602; 
x_601 = lean_ctor_get(x_7, 0);
lean_dec(x_601);
x_602 = !lean_is_exclusive(x_10);
if (x_602 == 0)
{
lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; 
x_603 = lean_ctor_get(x_10, 1);
x_604 = lean_ctor_get(x_10, 2);
x_605 = lean_ctor_get(x_10, 0);
lean_dec(x_605);
x_606 = lean_ctor_get(x_11, 0);
lean_inc(x_606);
x_607 = lean_ctor_get(x_11, 1);
lean_inc(x_607);
lean_dec(x_11);
x_608 = lean_unsigned_to_nat(0u);
lean_inc(x_603);
lean_ctor_set(x_10, 2, x_608);
lean_ctor_set(x_10, 0, x_606);
x_609 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_609, 0, x_607);
lean_ctor_set(x_609, 1, x_603);
lean_ctor_set(x_609, 2, x_604);
lean_ctor_set(x_7, 0, x_609);
lean_ctor_set(x_2, 1, x_7);
lean_ctor_set(x_2, 0, x_10);
lean_ctor_set(x_6, 0, x_2);
x_610 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_610, 0, x_6);
lean_ctor_set(x_610, 1, x_596);
x_2 = x_610;
goto _start;
}
else
{
lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; 
x_612 = lean_ctor_get(x_10, 1);
x_613 = lean_ctor_get(x_10, 2);
lean_inc(x_613);
lean_inc(x_612);
lean_dec(x_10);
x_614 = lean_ctor_get(x_11, 0);
lean_inc(x_614);
x_615 = lean_ctor_get(x_11, 1);
lean_inc(x_615);
lean_dec(x_11);
x_616 = lean_unsigned_to_nat(0u);
lean_inc(x_612);
x_617 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_617, 0, x_614);
lean_ctor_set(x_617, 1, x_612);
lean_ctor_set(x_617, 2, x_616);
x_618 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_618, 0, x_615);
lean_ctor_set(x_618, 1, x_612);
lean_ctor_set(x_618, 2, x_613);
lean_ctor_set(x_7, 0, x_618);
lean_ctor_set(x_2, 1, x_7);
lean_ctor_set(x_2, 0, x_617);
lean_ctor_set(x_6, 0, x_2);
x_619 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_619, 0, x_6);
lean_ctor_set(x_619, 1, x_596);
x_2 = x_619;
goto _start;
}
}
else
{
lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; 
x_621 = lean_ctor_get(x_7, 1);
lean_inc(x_621);
lean_dec(x_7);
x_622 = lean_ctor_get(x_10, 1);
lean_inc(x_622);
x_623 = lean_ctor_get(x_10, 2);
lean_inc(x_623);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_624 = x_10;
} else {
 lean_dec_ref(x_10);
 x_624 = lean_box(0);
}
x_625 = lean_ctor_get(x_11, 0);
lean_inc(x_625);
x_626 = lean_ctor_get(x_11, 1);
lean_inc(x_626);
lean_dec(x_11);
x_627 = lean_unsigned_to_nat(0u);
lean_inc(x_622);
if (lean_is_scalar(x_624)) {
 x_628 = lean_alloc_ctor(0, 3, 0);
} else {
 x_628 = x_624;
}
lean_ctor_set(x_628, 0, x_625);
lean_ctor_set(x_628, 1, x_622);
lean_ctor_set(x_628, 2, x_627);
x_629 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_629, 0, x_626);
lean_ctor_set(x_629, 1, x_622);
lean_ctor_set(x_629, 2, x_623);
x_630 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_630, 0, x_629);
lean_ctor_set(x_630, 1, x_621);
lean_ctor_set(x_2, 1, x_630);
lean_ctor_set(x_2, 0, x_628);
lean_ctor_set(x_6, 0, x_2);
x_631 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_631, 0, x_6);
lean_ctor_set(x_631, 1, x_596);
x_2 = x_631;
goto _start;
}
}
else
{
uint8_t x_633; uint8_t x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; 
x_633 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_634 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_635 = lean_ctor_get(x_7, 1);
lean_inc(x_635);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_636 = x_7;
} else {
 lean_dec_ref(x_7);
 x_636 = lean_box(0);
}
x_637 = lean_ctor_get(x_10, 1);
lean_inc(x_637);
x_638 = lean_ctor_get(x_10, 2);
lean_inc(x_638);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_639 = x_10;
} else {
 lean_dec_ref(x_10);
 x_639 = lean_box(0);
}
x_640 = lean_ctor_get(x_11, 0);
lean_inc(x_640);
x_641 = lean_ctor_get(x_11, 1);
lean_inc(x_641);
lean_dec(x_11);
x_642 = lean_unsigned_to_nat(0u);
lean_inc(x_637);
if (lean_is_scalar(x_639)) {
 x_643 = lean_alloc_ctor(0, 3, 0);
} else {
 x_643 = x_639;
}
lean_ctor_set(x_643, 0, x_640);
lean_ctor_set(x_643, 1, x_637);
lean_ctor_set(x_643, 2, x_642);
x_644 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_644, 0, x_641);
lean_ctor_set(x_644, 1, x_637);
lean_ctor_set(x_644, 2, x_638);
if (lean_is_scalar(x_636)) {
 x_645 = lean_alloc_ctor(1, 2, 0);
} else {
 x_645 = x_636;
}
lean_ctor_set(x_645, 0, x_644);
lean_ctor_set(x_645, 1, x_635);
lean_ctor_set(x_2, 1, x_645);
lean_ctor_set(x_2, 0, x_643);
x_646 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_646, 0, x_2);
lean_ctor_set_uint8(x_646, sizeof(void*)*1, x_633);
lean_ctor_set_uint8(x_646, sizeof(void*)*1 + 1, x_634);
x_647 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_647, 0, x_646);
lean_ctor_set(x_647, 1, x_596);
x_2 = x_647;
goto _start;
}
}
else
{
lean_object* x_649; uint8_t x_650; uint8_t x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; 
x_649 = lean_ctor_get(x_2, 1);
lean_inc(x_649);
lean_dec(x_2);
x_650 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_651 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_652 = x_6;
} else {
 lean_dec_ref(x_6);
 x_652 = lean_box(0);
}
x_653 = lean_ctor_get(x_7, 1);
lean_inc(x_653);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_654 = x_7;
} else {
 lean_dec_ref(x_7);
 x_654 = lean_box(0);
}
x_655 = lean_ctor_get(x_10, 1);
lean_inc(x_655);
x_656 = lean_ctor_get(x_10, 2);
lean_inc(x_656);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_657 = x_10;
} else {
 lean_dec_ref(x_10);
 x_657 = lean_box(0);
}
x_658 = lean_ctor_get(x_11, 0);
lean_inc(x_658);
x_659 = lean_ctor_get(x_11, 1);
lean_inc(x_659);
lean_dec(x_11);
x_660 = lean_unsigned_to_nat(0u);
lean_inc(x_655);
if (lean_is_scalar(x_657)) {
 x_661 = lean_alloc_ctor(0, 3, 0);
} else {
 x_661 = x_657;
}
lean_ctor_set(x_661, 0, x_658);
lean_ctor_set(x_661, 1, x_655);
lean_ctor_set(x_661, 2, x_660);
x_662 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_662, 0, x_659);
lean_ctor_set(x_662, 1, x_655);
lean_ctor_set(x_662, 2, x_656);
if (lean_is_scalar(x_654)) {
 x_663 = lean_alloc_ctor(1, 2, 0);
} else {
 x_663 = x_654;
}
lean_ctor_set(x_663, 0, x_662);
lean_ctor_set(x_663, 1, x_653);
x_664 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_664, 0, x_661);
lean_ctor_set(x_664, 1, x_663);
if (lean_is_scalar(x_652)) {
 x_665 = lean_alloc_ctor(0, 1, 2);
} else {
 x_665 = x_652;
}
lean_ctor_set(x_665, 0, x_664);
lean_ctor_set_uint8(x_665, sizeof(void*)*1, x_650);
lean_ctor_set_uint8(x_665, sizeof(void*)*1 + 1, x_651);
x_666 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_666, 0, x_665);
lean_ctor_set(x_666, 1, x_649);
x_2 = x_666;
goto _start;
}
}
case 5:
{
uint8_t x_668; 
x_668 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
if (x_668 == 0)
{
uint8_t x_669; 
x_669 = !lean_is_exclusive(x_2);
if (x_669 == 0)
{
lean_object* x_670; uint8_t x_671; 
x_670 = lean_ctor_get(x_2, 0);
lean_dec(x_670);
x_671 = !lean_is_exclusive(x_6);
if (x_671 == 0)
{
lean_object* x_672; uint8_t x_673; 
x_672 = lean_ctor_get(x_6, 0);
lean_dec(x_672);
x_673 = !lean_is_exclusive(x_7);
if (x_673 == 0)
{
lean_object* x_674; lean_object* x_675; uint8_t x_676; 
x_674 = lean_ctor_get(x_7, 1);
x_675 = lean_ctor_get(x_7, 0);
lean_dec(x_675);
x_676 = !lean_is_exclusive(x_10);
if (x_676 == 0)
{
lean_object* x_677; lean_object* x_678; uint8_t x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; 
x_677 = lean_ctor_get(x_10, 0);
lean_dec(x_677);
x_678 = lean_ctor_get(x_11, 0);
lean_inc(x_678);
x_679 = lean_ctor_get_uint8(x_11, sizeof(void*)*1);
lean_dec(x_11);
lean_ctor_set(x_10, 0, x_678);
x_680 = lean_box(0);
lean_ctor_set(x_7, 1, x_680);
lean_ctor_set(x_6, 0, x_674);
x_681 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_679, x_7, x_2, x_1, x_3);
x_682 = lean_ctor_get(x_681, 0);
lean_inc(x_682);
x_683 = lean_ctor_get(x_681, 1);
lean_inc(x_683);
lean_dec(x_681);
x_2 = x_682;
x_3 = x_683;
goto _start;
}
else
{
lean_object* x_685; lean_object* x_686; lean_object* x_687; uint8_t x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; 
x_685 = lean_ctor_get(x_10, 1);
x_686 = lean_ctor_get(x_10, 2);
lean_inc(x_686);
lean_inc(x_685);
lean_dec(x_10);
x_687 = lean_ctor_get(x_11, 0);
lean_inc(x_687);
x_688 = lean_ctor_get_uint8(x_11, sizeof(void*)*1);
lean_dec(x_11);
x_689 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_689, 0, x_687);
lean_ctor_set(x_689, 1, x_685);
lean_ctor_set(x_689, 2, x_686);
x_690 = lean_box(0);
lean_ctor_set(x_7, 1, x_690);
lean_ctor_set(x_7, 0, x_689);
lean_ctor_set(x_6, 0, x_674);
x_691 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_688, x_7, x_2, x_1, x_3);
x_692 = lean_ctor_get(x_691, 0);
lean_inc(x_692);
x_693 = lean_ctor_get(x_691, 1);
lean_inc(x_693);
lean_dec(x_691);
x_2 = x_692;
x_3 = x_693;
goto _start;
}
}
else
{
lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; uint8_t x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; 
x_695 = lean_ctor_get(x_7, 1);
lean_inc(x_695);
lean_dec(x_7);
x_696 = lean_ctor_get(x_10, 1);
lean_inc(x_696);
x_697 = lean_ctor_get(x_10, 2);
lean_inc(x_697);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_698 = x_10;
} else {
 lean_dec_ref(x_10);
 x_698 = lean_box(0);
}
x_699 = lean_ctor_get(x_11, 0);
lean_inc(x_699);
x_700 = lean_ctor_get_uint8(x_11, sizeof(void*)*1);
lean_dec(x_11);
if (lean_is_scalar(x_698)) {
 x_701 = lean_alloc_ctor(0, 3, 0);
} else {
 x_701 = x_698;
}
lean_ctor_set(x_701, 0, x_699);
lean_ctor_set(x_701, 1, x_696);
lean_ctor_set(x_701, 2, x_697);
x_702 = lean_box(0);
x_703 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_703, 0, x_701);
lean_ctor_set(x_703, 1, x_702);
lean_ctor_set(x_6, 0, x_695);
x_704 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_700, x_703, x_2, x_1, x_3);
x_705 = lean_ctor_get(x_704, 0);
lean_inc(x_705);
x_706 = lean_ctor_get(x_704, 1);
lean_inc(x_706);
lean_dec(x_704);
x_2 = x_705;
x_3 = x_706;
goto _start;
}
}
else
{
uint8_t x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; uint8_t x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; 
x_708 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_709 = lean_ctor_get(x_7, 1);
lean_inc(x_709);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_710 = x_7;
} else {
 lean_dec_ref(x_7);
 x_710 = lean_box(0);
}
x_711 = lean_ctor_get(x_10, 1);
lean_inc(x_711);
x_712 = lean_ctor_get(x_10, 2);
lean_inc(x_712);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_713 = x_10;
} else {
 lean_dec_ref(x_10);
 x_713 = lean_box(0);
}
x_714 = lean_ctor_get(x_11, 0);
lean_inc(x_714);
x_715 = lean_ctor_get_uint8(x_11, sizeof(void*)*1);
lean_dec(x_11);
if (lean_is_scalar(x_713)) {
 x_716 = lean_alloc_ctor(0, 3, 0);
} else {
 x_716 = x_713;
}
lean_ctor_set(x_716, 0, x_714);
lean_ctor_set(x_716, 1, x_711);
lean_ctor_set(x_716, 2, x_712);
x_717 = lean_box(0);
if (lean_is_scalar(x_710)) {
 x_718 = lean_alloc_ctor(1, 2, 0);
} else {
 x_718 = x_710;
}
lean_ctor_set(x_718, 0, x_716);
lean_ctor_set(x_718, 1, x_717);
x_719 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_719, 0, x_709);
lean_ctor_set_uint8(x_719, sizeof(void*)*1, x_668);
lean_ctor_set_uint8(x_719, sizeof(void*)*1 + 1, x_708);
lean_ctor_set(x_2, 0, x_719);
x_720 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_715, x_718, x_2, x_1, x_3);
x_721 = lean_ctor_get(x_720, 0);
lean_inc(x_721);
x_722 = lean_ctor_get(x_720, 1);
lean_inc(x_722);
lean_dec(x_720);
x_2 = x_721;
x_3 = x_722;
goto _start;
}
}
else
{
lean_object* x_724; uint8_t x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; uint8_t x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; 
x_724 = lean_ctor_get(x_2, 1);
lean_inc(x_724);
lean_dec(x_2);
x_725 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_726 = x_6;
} else {
 lean_dec_ref(x_6);
 x_726 = lean_box(0);
}
x_727 = lean_ctor_get(x_7, 1);
lean_inc(x_727);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_728 = x_7;
} else {
 lean_dec_ref(x_7);
 x_728 = lean_box(0);
}
x_729 = lean_ctor_get(x_10, 1);
lean_inc(x_729);
x_730 = lean_ctor_get(x_10, 2);
lean_inc(x_730);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_731 = x_10;
} else {
 lean_dec_ref(x_10);
 x_731 = lean_box(0);
}
x_732 = lean_ctor_get(x_11, 0);
lean_inc(x_732);
x_733 = lean_ctor_get_uint8(x_11, sizeof(void*)*1);
lean_dec(x_11);
if (lean_is_scalar(x_731)) {
 x_734 = lean_alloc_ctor(0, 3, 0);
} else {
 x_734 = x_731;
}
lean_ctor_set(x_734, 0, x_732);
lean_ctor_set(x_734, 1, x_729);
lean_ctor_set(x_734, 2, x_730);
x_735 = lean_box(0);
if (lean_is_scalar(x_728)) {
 x_736 = lean_alloc_ctor(1, 2, 0);
} else {
 x_736 = x_728;
}
lean_ctor_set(x_736, 0, x_734);
lean_ctor_set(x_736, 1, x_735);
if (lean_is_scalar(x_726)) {
 x_737 = lean_alloc_ctor(0, 1, 2);
} else {
 x_737 = x_726;
}
lean_ctor_set(x_737, 0, x_727);
lean_ctor_set_uint8(x_737, sizeof(void*)*1, x_668);
lean_ctor_set_uint8(x_737, sizeof(void*)*1 + 1, x_725);
x_738 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_738, 0, x_737);
lean_ctor_set(x_738, 1, x_724);
x_739 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_733, x_736, x_738, x_1, x_3);
x_740 = lean_ctor_get(x_739, 0);
lean_inc(x_740);
x_741 = lean_ctor_get(x_739, 1);
lean_inc(x_741);
lean_dec(x_739);
x_2 = x_740;
x_3 = x_741;
goto _start;
}
}
else
{
uint8_t x_743; 
x_743 = !lean_is_exclusive(x_2);
if (x_743 == 0)
{
lean_object* x_744; uint8_t x_745; 
x_744 = lean_ctor_get(x_2, 0);
lean_dec(x_744);
x_745 = !lean_is_exclusive(x_6);
if (x_745 == 0)
{
lean_object* x_746; uint8_t x_747; 
x_746 = lean_ctor_get(x_6, 0);
lean_dec(x_746);
x_747 = !lean_is_exclusive(x_7);
if (x_747 == 0)
{
lean_object* x_748; uint8_t x_749; 
x_748 = lean_ctor_get(x_7, 0);
lean_dec(x_748);
x_749 = !lean_is_exclusive(x_10);
if (x_749 == 0)
{
lean_object* x_750; lean_object* x_751; 
x_750 = lean_ctor_get(x_10, 0);
lean_dec(x_750);
x_751 = lean_ctor_get(x_11, 0);
lean_inc(x_751);
lean_dec(x_11);
lean_ctor_set(x_10, 0, x_751);
goto _start;
}
else
{
lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; 
x_753 = lean_ctor_get(x_10, 1);
x_754 = lean_ctor_get(x_10, 2);
lean_inc(x_754);
lean_inc(x_753);
lean_dec(x_10);
x_755 = lean_ctor_get(x_11, 0);
lean_inc(x_755);
lean_dec(x_11);
x_756 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_756, 0, x_755);
lean_ctor_set(x_756, 1, x_753);
lean_ctor_set(x_756, 2, x_754);
lean_ctor_set(x_7, 0, x_756);
goto _start;
}
}
else
{
lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; 
x_758 = lean_ctor_get(x_7, 1);
lean_inc(x_758);
lean_dec(x_7);
x_759 = lean_ctor_get(x_10, 1);
lean_inc(x_759);
x_760 = lean_ctor_get(x_10, 2);
lean_inc(x_760);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_761 = x_10;
} else {
 lean_dec_ref(x_10);
 x_761 = lean_box(0);
}
x_762 = lean_ctor_get(x_11, 0);
lean_inc(x_762);
lean_dec(x_11);
if (lean_is_scalar(x_761)) {
 x_763 = lean_alloc_ctor(0, 3, 0);
} else {
 x_763 = x_761;
}
lean_ctor_set(x_763, 0, x_762);
lean_ctor_set(x_763, 1, x_759);
lean_ctor_set(x_763, 2, x_760);
x_764 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_764, 0, x_763);
lean_ctor_set(x_764, 1, x_758);
lean_ctor_set(x_6, 0, x_764);
goto _start;
}
}
else
{
uint8_t x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; 
x_766 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_767 = lean_ctor_get(x_7, 1);
lean_inc(x_767);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_768 = x_7;
} else {
 lean_dec_ref(x_7);
 x_768 = lean_box(0);
}
x_769 = lean_ctor_get(x_10, 1);
lean_inc(x_769);
x_770 = lean_ctor_get(x_10, 2);
lean_inc(x_770);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_771 = x_10;
} else {
 lean_dec_ref(x_10);
 x_771 = lean_box(0);
}
x_772 = lean_ctor_get(x_11, 0);
lean_inc(x_772);
lean_dec(x_11);
if (lean_is_scalar(x_771)) {
 x_773 = lean_alloc_ctor(0, 3, 0);
} else {
 x_773 = x_771;
}
lean_ctor_set(x_773, 0, x_772);
lean_ctor_set(x_773, 1, x_769);
lean_ctor_set(x_773, 2, x_770);
if (lean_is_scalar(x_768)) {
 x_774 = lean_alloc_ctor(1, 2, 0);
} else {
 x_774 = x_768;
}
lean_ctor_set(x_774, 0, x_773);
lean_ctor_set(x_774, 1, x_767);
x_775 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_775, 0, x_774);
lean_ctor_set_uint8(x_775, sizeof(void*)*1, x_668);
lean_ctor_set_uint8(x_775, sizeof(void*)*1 + 1, x_766);
lean_ctor_set(x_2, 0, x_775);
goto _start;
}
}
else
{
lean_object* x_777; uint8_t x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; 
x_777 = lean_ctor_get(x_2, 1);
lean_inc(x_777);
lean_dec(x_2);
x_778 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_779 = x_6;
} else {
 lean_dec_ref(x_6);
 x_779 = lean_box(0);
}
x_780 = lean_ctor_get(x_7, 1);
lean_inc(x_780);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_781 = x_7;
} else {
 lean_dec_ref(x_7);
 x_781 = lean_box(0);
}
x_782 = lean_ctor_get(x_10, 1);
lean_inc(x_782);
x_783 = lean_ctor_get(x_10, 2);
lean_inc(x_783);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_784 = x_10;
} else {
 lean_dec_ref(x_10);
 x_784 = lean_box(0);
}
x_785 = lean_ctor_get(x_11, 0);
lean_inc(x_785);
lean_dec(x_11);
if (lean_is_scalar(x_784)) {
 x_786 = lean_alloc_ctor(0, 3, 0);
} else {
 x_786 = x_784;
}
lean_ctor_set(x_786, 0, x_785);
lean_ctor_set(x_786, 1, x_782);
lean_ctor_set(x_786, 2, x_783);
if (lean_is_scalar(x_781)) {
 x_787 = lean_alloc_ctor(1, 2, 0);
} else {
 x_787 = x_781;
}
lean_ctor_set(x_787, 0, x_786);
lean_ctor_set(x_787, 1, x_780);
if (lean_is_scalar(x_779)) {
 x_788 = lean_alloc_ctor(0, 1, 2);
} else {
 x_788 = x_779;
}
lean_ctor_set(x_788, 0, x_787);
lean_ctor_set_uint8(x_788, sizeof(void*)*1, x_668);
lean_ctor_set_uint8(x_788, sizeof(void*)*1 + 1, x_778);
x_789 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_789, 0, x_788);
lean_ctor_set(x_789, 1, x_777);
x_2 = x_789;
goto _start;
}
}
}
default: 
{
uint8_t x_791; 
x_791 = !lean_is_exclusive(x_2);
if (x_791 == 0)
{
lean_object* x_792; lean_object* x_793; uint8_t x_794; 
x_792 = lean_ctor_get(x_2, 1);
x_793 = lean_ctor_get(x_2, 0);
lean_dec(x_793);
x_794 = !lean_is_exclusive(x_6);
if (x_794 == 0)
{
lean_object* x_795; uint8_t x_796; 
x_795 = lean_ctor_get(x_6, 0);
lean_dec(x_795);
x_796 = !lean_is_exclusive(x_7);
if (x_796 == 0)
{
lean_object* x_797; lean_object* x_798; uint8_t x_799; 
x_797 = lean_ctor_get(x_7, 1);
x_798 = lean_ctor_get(x_7, 0);
lean_dec(x_798);
x_799 = !lean_is_exclusive(x_10);
if (x_799 == 0)
{
lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; uint8_t x_804; 
x_800 = lean_ctor_get(x_10, 2);
x_801 = lean_ctor_get(x_10, 0);
lean_dec(x_801);
x_802 = lean_ctor_get(x_11, 0);
lean_inc(x_802);
x_803 = lean_ctor_get(x_11, 1);
lean_inc(x_803);
lean_dec(x_11);
x_804 = !lean_is_exclusive(x_3);
if (x_804 == 0)
{
lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; 
x_805 = lean_ctor_get(x_3, 0);
x_806 = lean_ctor_get(x_3, 1);
x_807 = lean_ctor_get(x_3, 2);
lean_inc(x_807);
x_808 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_808, 0, x_807);
lean_ctor_set(x_808, 1, x_805);
x_809 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_809, 0, x_802);
lean_ctor_set(x_809, 1, x_808);
lean_ctor_set(x_7, 1, x_806);
lean_ctor_set(x_7, 0, x_809);
x_810 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
lean_ctor_set(x_3, 1, x_7);
lean_ctor_set(x_3, 0, x_810);
x_811 = lean_unsigned_to_nat(1u);
x_812 = lean_nat_add(x_800, x_811);
lean_dec(x_800);
lean_ctor_set(x_10, 2, x_812);
lean_ctor_set(x_10, 0, x_803);
lean_ctor_set(x_2, 1, x_797);
lean_ctor_set(x_2, 0, x_10);
lean_ctor_set(x_6, 0, x_2);
x_813 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_813, 0, x_6);
lean_ctor_set(x_813, 1, x_792);
x_2 = x_813;
goto _start;
}
else
{
lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; 
x_815 = lean_ctor_get(x_3, 0);
x_816 = lean_ctor_get(x_3, 1);
x_817 = lean_ctor_get(x_3, 2);
lean_inc(x_817);
lean_inc(x_816);
lean_inc(x_815);
lean_dec(x_3);
lean_inc(x_817);
x_818 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_818, 0, x_817);
lean_ctor_set(x_818, 1, x_815);
x_819 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_819, 0, x_802);
lean_ctor_set(x_819, 1, x_818);
lean_ctor_set(x_7, 1, x_816);
lean_ctor_set(x_7, 0, x_819);
x_820 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
x_821 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_821, 0, x_820);
lean_ctor_set(x_821, 1, x_7);
lean_ctor_set(x_821, 2, x_817);
x_822 = lean_unsigned_to_nat(1u);
x_823 = lean_nat_add(x_800, x_822);
lean_dec(x_800);
lean_ctor_set(x_10, 2, x_823);
lean_ctor_set(x_10, 0, x_803);
lean_ctor_set(x_2, 1, x_797);
lean_ctor_set(x_2, 0, x_10);
lean_ctor_set(x_6, 0, x_2);
x_824 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_824, 0, x_6);
lean_ctor_set(x_824, 1, x_792);
x_2 = x_824;
x_3 = x_821;
goto _start;
}
}
else
{
lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; 
x_826 = lean_ctor_get(x_10, 1);
x_827 = lean_ctor_get(x_10, 2);
lean_inc(x_827);
lean_inc(x_826);
lean_dec(x_10);
x_828 = lean_ctor_get(x_11, 0);
lean_inc(x_828);
x_829 = lean_ctor_get(x_11, 1);
lean_inc(x_829);
lean_dec(x_11);
x_830 = lean_ctor_get(x_3, 0);
lean_inc(x_830);
x_831 = lean_ctor_get(x_3, 1);
lean_inc(x_831);
x_832 = lean_ctor_get(x_3, 2);
lean_inc(x_832);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_833 = x_3;
} else {
 lean_dec_ref(x_3);
 x_833 = lean_box(0);
}
lean_inc(x_832);
x_834 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_834, 0, x_832);
lean_ctor_set(x_834, 1, x_830);
x_835 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_835, 0, x_828);
lean_ctor_set(x_835, 1, x_834);
lean_ctor_set(x_7, 1, x_831);
lean_ctor_set(x_7, 0, x_835);
x_836 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
if (lean_is_scalar(x_833)) {
 x_837 = lean_alloc_ctor(0, 3, 0);
} else {
 x_837 = x_833;
}
lean_ctor_set(x_837, 0, x_836);
lean_ctor_set(x_837, 1, x_7);
lean_ctor_set(x_837, 2, x_832);
x_838 = lean_unsigned_to_nat(1u);
x_839 = lean_nat_add(x_827, x_838);
lean_dec(x_827);
x_840 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_840, 0, x_829);
lean_ctor_set(x_840, 1, x_826);
lean_ctor_set(x_840, 2, x_839);
lean_ctor_set(x_2, 1, x_797);
lean_ctor_set(x_2, 0, x_840);
lean_ctor_set(x_6, 0, x_2);
x_841 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_841, 0, x_6);
lean_ctor_set(x_841, 1, x_792);
x_2 = x_841;
x_3 = x_837;
goto _start;
}
}
else
{
lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; 
x_843 = lean_ctor_get(x_7, 1);
lean_inc(x_843);
lean_dec(x_7);
x_844 = lean_ctor_get(x_10, 1);
lean_inc(x_844);
x_845 = lean_ctor_get(x_10, 2);
lean_inc(x_845);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_846 = x_10;
} else {
 lean_dec_ref(x_10);
 x_846 = lean_box(0);
}
x_847 = lean_ctor_get(x_11, 0);
lean_inc(x_847);
x_848 = lean_ctor_get(x_11, 1);
lean_inc(x_848);
lean_dec(x_11);
x_849 = lean_ctor_get(x_3, 0);
lean_inc(x_849);
x_850 = lean_ctor_get(x_3, 1);
lean_inc(x_850);
x_851 = lean_ctor_get(x_3, 2);
lean_inc(x_851);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_852 = x_3;
} else {
 lean_dec_ref(x_3);
 x_852 = lean_box(0);
}
lean_inc(x_851);
x_853 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_853, 0, x_851);
lean_ctor_set(x_853, 1, x_849);
x_854 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_854, 0, x_847);
lean_ctor_set(x_854, 1, x_853);
x_855 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_855, 0, x_854);
lean_ctor_set(x_855, 1, x_850);
x_856 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
if (lean_is_scalar(x_852)) {
 x_857 = lean_alloc_ctor(0, 3, 0);
} else {
 x_857 = x_852;
}
lean_ctor_set(x_857, 0, x_856);
lean_ctor_set(x_857, 1, x_855);
lean_ctor_set(x_857, 2, x_851);
x_858 = lean_unsigned_to_nat(1u);
x_859 = lean_nat_add(x_845, x_858);
lean_dec(x_845);
if (lean_is_scalar(x_846)) {
 x_860 = lean_alloc_ctor(0, 3, 0);
} else {
 x_860 = x_846;
}
lean_ctor_set(x_860, 0, x_848);
lean_ctor_set(x_860, 1, x_844);
lean_ctor_set(x_860, 2, x_859);
lean_ctor_set(x_2, 1, x_843);
lean_ctor_set(x_2, 0, x_860);
lean_ctor_set(x_6, 0, x_2);
x_861 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_861, 0, x_6);
lean_ctor_set(x_861, 1, x_792);
x_2 = x_861;
x_3 = x_857;
goto _start;
}
}
else
{
uint8_t x_863; uint8_t x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; 
x_863 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_864 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
lean_dec(x_6);
x_865 = lean_ctor_get(x_7, 1);
lean_inc(x_865);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_866 = x_7;
} else {
 lean_dec_ref(x_7);
 x_866 = lean_box(0);
}
x_867 = lean_ctor_get(x_10, 1);
lean_inc(x_867);
x_868 = lean_ctor_get(x_10, 2);
lean_inc(x_868);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_869 = x_10;
} else {
 lean_dec_ref(x_10);
 x_869 = lean_box(0);
}
x_870 = lean_ctor_get(x_11, 0);
lean_inc(x_870);
x_871 = lean_ctor_get(x_11, 1);
lean_inc(x_871);
lean_dec(x_11);
x_872 = lean_ctor_get(x_3, 0);
lean_inc(x_872);
x_873 = lean_ctor_get(x_3, 1);
lean_inc(x_873);
x_874 = lean_ctor_get(x_3, 2);
lean_inc(x_874);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_875 = x_3;
} else {
 lean_dec_ref(x_3);
 x_875 = lean_box(0);
}
lean_inc(x_874);
x_876 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_876, 0, x_874);
lean_ctor_set(x_876, 1, x_872);
x_877 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_877, 0, x_870);
lean_ctor_set(x_877, 1, x_876);
if (lean_is_scalar(x_866)) {
 x_878 = lean_alloc_ctor(1, 2, 0);
} else {
 x_878 = x_866;
}
lean_ctor_set(x_878, 0, x_877);
lean_ctor_set(x_878, 1, x_873);
x_879 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
if (lean_is_scalar(x_875)) {
 x_880 = lean_alloc_ctor(0, 3, 0);
} else {
 x_880 = x_875;
}
lean_ctor_set(x_880, 0, x_879);
lean_ctor_set(x_880, 1, x_878);
lean_ctor_set(x_880, 2, x_874);
x_881 = lean_unsigned_to_nat(1u);
x_882 = lean_nat_add(x_868, x_881);
lean_dec(x_868);
if (lean_is_scalar(x_869)) {
 x_883 = lean_alloc_ctor(0, 3, 0);
} else {
 x_883 = x_869;
}
lean_ctor_set(x_883, 0, x_871);
lean_ctor_set(x_883, 1, x_867);
lean_ctor_set(x_883, 2, x_882);
lean_ctor_set(x_2, 1, x_865);
lean_ctor_set(x_2, 0, x_883);
x_884 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_884, 0, x_2);
lean_ctor_set_uint8(x_884, sizeof(void*)*1, x_863);
lean_ctor_set_uint8(x_884, sizeof(void*)*1 + 1, x_864);
x_885 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_885, 0, x_884);
lean_ctor_set(x_885, 1, x_792);
x_2 = x_885;
x_3 = x_880;
goto _start;
}
}
else
{
lean_object* x_887; uint8_t x_888; uint8_t x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; 
x_887 = lean_ctor_get(x_2, 1);
lean_inc(x_887);
lean_dec(x_2);
x_888 = lean_ctor_get_uint8(x_6, sizeof(void*)*1);
x_889 = lean_ctor_get_uint8(x_6, sizeof(void*)*1 + 1);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_890 = x_6;
} else {
 lean_dec_ref(x_6);
 x_890 = lean_box(0);
}
x_891 = lean_ctor_get(x_7, 1);
lean_inc(x_891);
if (lean_is_exclusive(x_7)) {
 lean_ctor_release(x_7, 0);
 lean_ctor_release(x_7, 1);
 x_892 = x_7;
} else {
 lean_dec_ref(x_7);
 x_892 = lean_box(0);
}
x_893 = lean_ctor_get(x_10, 1);
lean_inc(x_893);
x_894 = lean_ctor_get(x_10, 2);
lean_inc(x_894);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 lean_ctor_release(x_10, 2);
 x_895 = x_10;
} else {
 lean_dec_ref(x_10);
 x_895 = lean_box(0);
}
x_896 = lean_ctor_get(x_11, 0);
lean_inc(x_896);
x_897 = lean_ctor_get(x_11, 1);
lean_inc(x_897);
lean_dec(x_11);
x_898 = lean_ctor_get(x_3, 0);
lean_inc(x_898);
x_899 = lean_ctor_get(x_3, 1);
lean_inc(x_899);
x_900 = lean_ctor_get(x_3, 2);
lean_inc(x_900);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_901 = x_3;
} else {
 lean_dec_ref(x_3);
 x_901 = lean_box(0);
}
lean_inc(x_900);
x_902 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_902, 0, x_900);
lean_ctor_set(x_902, 1, x_898);
x_903 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_903, 0, x_896);
lean_ctor_set(x_903, 1, x_902);
if (lean_is_scalar(x_892)) {
 x_904 = lean_alloc_ctor(1, 2, 0);
} else {
 x_904 = x_892;
}
lean_ctor_set(x_904, 0, x_903);
lean_ctor_set(x_904, 1, x_899);
x_905 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
if (lean_is_scalar(x_901)) {
 x_906 = lean_alloc_ctor(0, 3, 0);
} else {
 x_906 = x_901;
}
lean_ctor_set(x_906, 0, x_905);
lean_ctor_set(x_906, 1, x_904);
lean_ctor_set(x_906, 2, x_900);
x_907 = lean_unsigned_to_nat(1u);
x_908 = lean_nat_add(x_894, x_907);
lean_dec(x_894);
if (lean_is_scalar(x_895)) {
 x_909 = lean_alloc_ctor(0, 3, 0);
} else {
 x_909 = x_895;
}
lean_ctor_set(x_909, 0, x_897);
lean_ctor_set(x_909, 1, x_893);
lean_ctor_set(x_909, 2, x_908);
x_910 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_910, 0, x_909);
lean_ctor_set(x_910, 1, x_891);
if (lean_is_scalar(x_890)) {
 x_911 = lean_alloc_ctor(0, 1, 2);
} else {
 x_911 = x_890;
}
lean_ctor_set(x_911, 0, x_910);
lean_ctor_set_uint8(x_911, sizeof(void*)*1, x_888);
lean_ctor_set_uint8(x_911, sizeof(void*)*1 + 1, x_889);
x_912 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_912, 0, x_911);
lean_ctor_set(x_912, 1, x_887);
x_2 = x_912;
x_3 = x_906;
goto _start;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Format_prettyM___at_Lean_Widget_TaggedText_prettyTagged___spec__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; lean_object* x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_5 = lean_nat_to_int(x_3);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_5);
lean_ctor_set(x_7, 2, x_6);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
x_10 = 0;
x_11 = 0;
x_12 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_12, 0, x_9);
lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_10);
lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 1, x_11);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_8);
x_14 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2(x_2, x_13, x_4);
lean_dec(x_2);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_prettyTagged(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; lean_object* x_7; 
x_4 = l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1;
x_5 = l_Std_Format_prettyM___at_Lean_Widget_TaggedText_prettyTagged___spec__1(x_1, x_3, x_2, x_4);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = lean_unbox(x_1);
lean_dec(x_1);
x_7 = l___private_Init_Data_Format_Basic_0__Std_Format_pushGroup___at_Lean_Widget_TaggedText_prettyTagged___spec__3(x_6, x_2, x_3, x_4, x_5);
lean_dec(x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_array_get_size(x_2);
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
x_6 = l_Lean_Widget_instInhabitedTaggedText___closed__2;
x_7 = l_Array_back___rarg(x_6, x_2);
switch (lean_obj_tag(x_7)) {
case 0:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
lean_dec(x_3);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_string_append(x_1, x_8);
lean_dec(x_8);
x_10 = lean_array_pop(x_2);
x_1 = x_9;
x_2 = x_10;
goto _start;
}
case 1:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
lean_dec(x_3);
x_12 = lean_ctor_get(x_7, 0);
lean_inc(x_12);
lean_dec(x_7);
x_13 = lean_array_pop(x_2);
x_14 = l_Array_reverse___rarg(x_12);
x_15 = l_Array_append___rarg(x_13, x_14);
x_2 = x_15;
goto _start;
}
default: 
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_17 = lean_ctor_get(x_7, 1);
lean_inc(x_17);
lean_dec(x_7);
x_18 = lean_unsigned_to_nat(1u);
x_19 = lean_nat_sub(x_3, x_18);
lean_dec(x_3);
x_20 = lean_array_set(x_2, x_19, x_17);
lean_dec(x_19);
x_2 = x_20;
goto _start;
}
}
}
else
{
lean_dec(x_3);
lean_dec(x_2);
return x_1;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags_go(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_stripTags_go___rarg), 2, 0);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_TaggedText_stripTags___rarg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Widget_TaggedText_stripTags___rarg___closed__1;
x_3 = lean_array_push(x_2, x_1);
x_4 = l_Lean_Widget_instInhabitedTaggedText___closed__1;
x_5 = l_Lean_Widget_TaggedText_stripTags_go___rarg(x_4, x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_stripTags(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_TaggedText_stripTags___rarg), 1, 0);
return x_2;
}
}
lean_object* initialize_Init(lean_object*);
lean_object* initialize_Lean_Data_Json_FromToJson(lean_object*);
lean_object* initialize_Lean_Server_Rpc_Basic(lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Widget_TaggedText(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Json_FromToJson(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Server_Rpc_Basic(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Widget_instInhabitedTaggedText___closed__1 = _init_l_Lean_Widget_instInhabitedTaggedText___closed__1();
lean_mark_persistent(l_Lean_Widget_instInhabitedTaggedText___closed__1);
l_Lean_Widget_instInhabitedTaggedText___closed__2 = _init_l_Lean_Widget_instInhabitedTaggedText___closed__2();
lean_mark_persistent(l_Lean_Widget_instInhabitedTaggedText___closed__2);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__2);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__3);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__4);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__5);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__6);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__7);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__8);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__9);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__10);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__11);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__12);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__13);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__14);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__15);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__16);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__17);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__18);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__19);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__20);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__21);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__22);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__23);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__24);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__25);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__26);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_reprTaggedText____x40_Lean_Widget_TaggedText___hyg_222____rarg___closed__27);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__1___closed__2);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__2___closed__2);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___lambda__3___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__2);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_400____rarg___closed__3);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1 = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_578____rarg___closed__1);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_out___default);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_tagStack___default = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_tagStack___default();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_tagStack___default);
l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_column___default = _init_l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_column___default();
lean_mark_persistent(l___private_Lean_Widget_TaggedText_0__Lean_Widget_TaggedText_TaggedState_column___default);
l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1 = _init_l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1();
lean_mark_persistent(l_Lean_Widget_TaggedText_instInhabitedTaggedState___closed__1);
l_Lean_Widget_TaggedText_instInhabitedTaggedState = _init_l_Lean_Widget_TaggedText_instInhabitedTaggedState();
lean_mark_persistent(l_Lean_Widget_TaggedText_instInhabitedTaggedState);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___lambda__2___closed__1);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__1);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__2);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__3);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__4);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__5);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6 = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState___closed__6);
l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState = _init_l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState();
lean_mark_persistent(l_Lean_Widget_TaggedText_instMonadPrettyFormatStateMTaggedState);
l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1 = _init_l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1();
lean_mark_persistent(l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__1);
l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2 = _init_l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2();
lean_mark_persistent(l_panic___at_Lean_Widget_TaggedText_prettyTagged___spec__4___closed__2);
l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1 = _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1();
lean_mark_persistent(l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__1);
l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2 = _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2();
lean_mark_persistent(l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__2);
l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__3 = _init_l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__3();
lean_mark_persistent(l___private_Init_Data_Format_Basic_0__Std_Format_be___at_Lean_Widget_TaggedText_prettyTagged___spec__2___closed__3);
l_Lean_Widget_TaggedText_stripTags___rarg___closed__1 = _init_l_Lean_Widget_TaggedText_stripTags___rarg___closed__1();
lean_mark_persistent(l_Lean_Widget_TaggedText_stripTags___rarg___closed__1);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
