// Lean compiler output
// Module: Lean.Util.Profiler
// Imports: public import Lean.Util.Trace import Init.Data.Range.Polymorphic.Iterators
#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
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
lean_object* lean_mk_array(lean_object*, lean_object*);
size_t lean_array_size(lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* lean_array_uget(lean_object*, size_t);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
size_t lean_usize_add(size_t, size_t);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
lean_object* lean_array_uget_borrowed(lean_object*, size_t);
lean_object* l_Lean_Json_getInt_x3f(lean_object*);
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr1(lean_object*);
lean_object* l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(lean_object*, uint8_t);
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
uint8_t lean_uint64_dec_eq(uint64_t, uint64_t);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* lean_array_get_size(lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
double lean_float_of_nat(lean_object*);
uint8_t lean_float_beq(double, double);
uint64_t lean_string_hash(lean_object*);
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
uint64_t lean_uint64_xor(uint64_t, uint64_t);
size_t lean_uint64_to_usize(uint64_t);
size_t lean_usize_of_nat(lean_object*);
size_t lean_usize_sub(size_t, size_t);
size_t lean_usize_land(size_t, size_t);
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* lean_nat_div(lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lean_JsonNumber_fromNat(lean_object*);
uint64_t lean_uint64_of_nat(lean_object*);
uint64_t lean_uint64_mix_hash(uint64_t, uint64_t);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_Json_getBool_x3f(lean_object*);
lean_object* l_Float_fromJson_x3f(lean_object*);
lean_object* lean_array_to_list(lean_object*);
lean_object* l_List_foldl___at___00Array_appendList_spec__0___redArg(lean_object*, lean_object*);
lean_object* l_Lean_Json_mkObj(lean_object*);
lean_object* l_Float_add___boxed(lean_object*, lean_object*);
lean_object* l_Float_toJson(double);
lean_object* l_Float_toJson___boxed(lean_object*);
lean_object* l_Lean_Name_fromJson_x3f(lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
uint8_t lean_float_decLt(double, double);
lean_object* l_Array_qpartition___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* l_Lean_JsonNumber_fromInt(lean_object*);
double lean_float_mul(double, double);
lean_object* lean_nat_to_int(lean_object*);
lean_object* lean_int_neg(lean_object*);
lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
lean_object* l_Array_append___redArg(lean_object*, lean_object*);
lean_object* l_Float_ofScientific___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_trace_profiler_output_pp;
uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*);
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
double lean_float_sub(double, double);
lean_object* l_Array_findIdx_x3f_loop___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_format(lean_object*, lean_object*);
extern lean_object* l_Std_Format_defWidth;
lean_object* l_Std_Format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
lean_object* lean_string_utf8_byte_size(lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
lean_object* l_Lean_PersistentArray_toArray___redArg(lean_object*);
lean_object* lean_uint64_to_nat(uint64_t);
lean_object* l_Nat_reprFast(lean_object*);
uint8_t lean_uint64_dec_lt(uint64_t, uint64_t);
lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
double lean_uint64_to_float(uint64_t);
double lean_float_add(double, double);
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
lean_object* lean_io_mono_nanos_now();
double lean_float_div(double, double);
static lean_once_cell_t l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static double l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0;
LEAN_EXPORT double l_Lean_Firefox_instInhabitedMilliseconds_default;
LEAN_EXPORT double l_Lean_Firefox_instInhabitedMilliseconds;
static lean_once_cell_t l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static double l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0;
LEAN_EXPORT double l_Lean_Firefox_instCoeFloatMilliseconds___lam__0(double);
LEAN_EXPORT lean_object* l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___boxed(lean_object*);
static const lean_closure_object l_Lean_Firefox_instCoeFloatMilliseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instCoeFloatMilliseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instCoeFloatMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instCoeFloatMilliseconds = (const lean_object*)&l_Lean_Firefox_instCoeFloatMilliseconds___closed__0_value;
static const lean_closure_object l_Lean_Firefox_instOfScientificMilliseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Float_ofScientific___boxed, .m_arity = 3, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instOfScientificMilliseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instOfScientificMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instOfScientificMilliseconds = (const lean_object*)&l_Lean_Firefox_instOfScientificMilliseconds___closed__0_value;
static const lean_closure_object l_Lean_Firefox_instToJsonMilliseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Float_toJson___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonMilliseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonMilliseconds = (const lean_object*)&l_Lean_Firefox_instToJsonMilliseconds___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonMilliseconds___lam__0(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonMilliseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonMilliseconds___lam__0, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonMilliseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonMilliseconds = (const lean_object*)&l_Lean_Firefox_instFromJsonMilliseconds___closed__0_value;
static const lean_closure_object l_Lean_Firefox_instAddMilliseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Float_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instAddMilliseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instAddMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instAddMilliseconds = (const lean_object*)&l_Lean_Firefox_instAddMilliseconds___closed__0_value;
static lean_once_cell_t l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static double l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0;
LEAN_EXPORT double l_Lean_Firefox_instCoeFloatMicroseconds___lam__0(double);
LEAN_EXPORT lean_object* l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___boxed(lean_object*);
static const lean_closure_object l_Lean_Firefox_instCoeFloatMicroseconds___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instCoeFloatMicroseconds___closed__0 = (const lean_object*)&l_Lean_Firefox_instCoeFloatMicroseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instCoeFloatMicroseconds = (const lean_object*)&l_Lean_Firefox_instCoeFloatMicroseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instOfScientificMicroseconds = (const lean_object*)&l_Lean_Firefox_instOfScientificMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonMicroseconds = (const lean_object*)&l_Lean_Firefox_instToJsonMilliseconds___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonMicroseconds = (const lean_object*)&l_Lean_Firefox_instFromJsonMilliseconds___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*);
static const lean_string_object l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "expected JSON array, got '"};
static const lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0 = (const lean_object*)&l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0_value;
static const lean_string_object l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "'"};
static const lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1 = (const lean_object*)&l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1_value;
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "name"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "Firefox"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "Category"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__3 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__3_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__3_value),LEAN_SCALAR_PTR_LITERAL(218, 120, 30, 24, 139, 24, 153, 254)}};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "."};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7;
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(84, 246, 234, 130, 97, 205, 144, 82)}};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__8 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__8_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = ": "};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "color"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13_value),LEAN_SCALAR_PTR_LITERAL(203, 195, 165, 168, 25, 61, 235, 188)}};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__14_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17;
static const lean_string_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "subcategories"};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonCategory_fromJson___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18_value),LEAN_SCALAR_PTR_LITERAL(185, 42, 176, 165, 28, 119, 142, 51)}};
static const lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__19 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__19_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonCategory___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonCategory_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonCategory___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonCategory = (const lean_object*)&l_Lean_Firefox_instFromJsonCategory___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(lean_object*, lean_object*);
static const lean_array_object l_Lean_Firefox_instToJsonCategory_toJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Lean_Firefox_instToJsonCategory_toJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonCategory_toJson___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonCategory_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonCategory___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonCategory_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonCategory___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonCategory___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonCategory = (const lean_object*)&l_Lean_Firefox_instToJsonCategory___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "time"};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "SampleUnits"};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(97, 0, 104, 60, 59, 103, 69, 138)}};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(56, 112, 168, 204, 144, 87, 251, 76)}};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8;
static const lean_string_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "eventDelay"};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9_value),LEAN_SCALAR_PTR_LITERAL(54, 151, 14, 109, 104, 160, 110, 2)}};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__10 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__10_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13;
static const lean_string_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "threadCPUDelta"};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14_value),LEAN_SCALAR_PTR_LITERAL(51, 96, 195, 43, 254, 127, 7, 124)}};
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__15 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__15_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonSampleUnits___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonSampleUnits_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonSampleUnits___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonSampleUnits = (const lean_object*)&l_Lean_Firefox_instFromJsonSampleUnits___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSampleUnits_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSampleUnits_toJson___boxed(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonSampleUnits___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonSampleUnits_toJson___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonSampleUnits___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonSampleUnits___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonSampleUnits = (const lean_object*)&l_Lean_Firefox_instToJsonSampleUnits___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "interval"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "ProfileMeta"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(148, 18, 28, 145, 40, 39, 105, 36)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(21, 2, 108, 181, 46, 130, 183, 240)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "startTime"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9_value),LEAN_SCALAR_PTR_LITERAL(130, 175, 170, 8, 182, 39, 106, 12)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__10 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__10_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "categories"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14_value),LEAN_SCALAR_PTR_LITERAL(193, 246, 48, 243, 86, 12, 99, 82)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__15 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__15_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "processType"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19_value),LEAN_SCALAR_PTR_LITERAL(137, 102, 121, 51, 14, 126, 128, 169)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__20 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__20_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "product"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24_value),LEAN_SCALAR_PTR_LITERAL(237, 49, 235, 171, 3, 189, 139, 77)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__25 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__25_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "preprocessedProfileVersion"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__30_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29_value),LEAN_SCALAR_PTR_LITERAL(22, 49, 187, 208, 115, 222, 145, 76)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__30 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__30_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "markerSchema"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__35_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34_value),LEAN_SCALAR_PTR_LITERAL(28, 255, 227, 193, 2, 100, 254, 75)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__35 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__35_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38;
static const lean_string_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "sampleUnits"};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__40_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39_value),LEAN_SCALAR_PTR_LITERAL(7, 111, 95, 112, 159, 182, 115, 44)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__40 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__40_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonProfileMeta___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonProfileMeta_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonProfileMeta___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonProfileMeta = (const lean_object*)&l_Lean_Firefox_instFromJsonProfileMeta___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonProfileMeta_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonProfileMeta___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonProfileMeta_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonProfileMeta___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonProfileMeta___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonProfileMeta = (const lean_object*)&l_Lean_Firefox_instToJsonProfileMeta___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0___boxed(lean_object*, lean_object*);
static const lean_ctor_object l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4___closed__0 = (const lean_object*)&l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4___closed__0_value;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "frame"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "StackTable"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(158, 161, 145, 27, 82, 18, 188, 76)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(106, 118, 70, 30, 4, 236, 86, 167)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8;
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "category"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9_value),LEAN_SCALAR_PTR_LITERAL(76, 206, 219, 5, 172, 192, 191, 198)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__10 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__10_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13;
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "subcategory"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14_value),LEAN_SCALAR_PTR_LITERAL(19, 41, 37, 173, 49, 225, 74, 139)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__15 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__15_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18;
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "prefix"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19_value),LEAN_SCALAR_PTR_LITERAL(230, 205, 224, 142, 140, 162, 83, 182)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__20 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__20_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23;
static const lean_string_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "length"};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24_value),LEAN_SCALAR_PTR_LITERAL(69, 96, 6, 102, 8, 206, 152, 82)}};
static const lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__25 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__25_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27;
static lean_once_cell_t l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonStackTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonStackTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonStackTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonStackTable = (const lean_object*)&l_Lean_Firefox_instFromJsonStackTable___closed__0_value;
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__2(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonStackTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonStackTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonStackTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonStackTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonStackTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonStackTable = (const lean_object*)&l_Lean_Firefox_instToJsonStackTable___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "stack"};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "SamplesTable"};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(215, 187, 138, 176, 228, 207, 154, 117)}};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(208, 89, 157, 61, 238, 50, 135, 16)}};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10;
static const lean_string_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "weight"};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11_value),LEAN_SCALAR_PTR_LITERAL(10, 75, 125, 35, 37, 138, 19, 132)}};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__12 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__12_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15;
static const lean_string_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "weightType"};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16_value),LEAN_SCALAR_PTR_LITERAL(21, 163, 213, 144, 102, 150, 168, 101)}};
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__17 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__17_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23;
static lean_once_cell_t l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonSamplesTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonSamplesTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonSamplesTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonSamplesTable = (const lean_object*)&l_Lean_Firefox_instFromJsonSamplesTable___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSamplesTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonSamplesTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonSamplesTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonSamplesTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonSamplesTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonSamplesTable = (const lean_object*)&l_Lean_Firefox_instToJsonSamplesTable___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "FuncTable"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__0_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(214, 233, 34, 52, 182, 124, 102, 23)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "isJS"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6_value),LEAN_SCALAR_PTR_LITERAL(130, 83, 250, 199, 244, 244, 102, 159)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__7 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__7_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "relevantForJS"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11_value),LEAN_SCALAR_PTR_LITERAL(64, 11, 154, 43, 140, 238, 177, 24)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__12 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__12_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "resource"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16_value),LEAN_SCALAR_PTR_LITERAL(162, 161, 163, 104, 166, 98, 163, 194)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__17 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__17_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "fileName"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21_value),LEAN_SCALAR_PTR_LITERAL(67, 201, 140, 230, 1, 55, 95, 217)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__22 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__22_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "lineNumber"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__27_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26_value),LEAN_SCALAR_PTR_LITERAL(183, 13, 154, 50, 174, 163, 169, 40)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__27 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__27_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30;
static const lean_string_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "columnNumber"};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__32_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31_value),LEAN_SCALAR_PTR_LITERAL(120, 32, 111, 252, 150, 51, 74, 187)}};
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__32 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__32_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonFuncTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonFuncTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonFuncTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonFuncTable = (const lean_object*)&l_Lean_Firefox_instFromJsonFuncTable___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonFuncTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonFuncTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonFuncTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonFuncTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonFuncTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonFuncTable = (const lean_object*)&l_Lean_Firefox_instToJsonFuncTable___closed__0_value;
static const lean_ctor_object l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1___closed__0 = (const lean_object*)&l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1___closed__0_value;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "address"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "FrameTable"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(65, 156, 69, 76, 30, 113, 79, 38)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(99, 127, 29, 74, 107, 134, 8, 23)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "inlineDepth"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9_value),LEAN_SCALAR_PTR_LITERAL(185, 130, 4, 176, 140, 3, 27, 251)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__10 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__10_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "func"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18_value),LEAN_SCALAR_PTR_LITERAL(126, 207, 36, 56, 147, 187, 96, 81)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__19 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__19_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "nativeSymbol"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23_value),LEAN_SCALAR_PTR_LITERAL(84, 184, 220, 224, 193, 85, 192, 101)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__24 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__24_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "innerWindowID"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__29_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28_value),LEAN_SCALAR_PTR_LITERAL(97, 40, 5, 206, 248, 148, 179, 42)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__29 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__29_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "implementation"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33_value),LEAN_SCALAR_PTR_LITERAL(186, 135, 102, 9, 143, 52, 86, 15)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__34 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__34_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "line"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__39_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38_value),LEAN_SCALAR_PTR_LITERAL(45, 20, 170, 234, 25, 144, 248, 101)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__39 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__39_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42;
static const lean_string_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "column"};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__44_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43_value),LEAN_SCALAR_PTR_LITERAL(177, 41, 36, 97, 84, 61, 112, 119)}};
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__44 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__44_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48;
static lean_once_cell_t l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonFrameTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonFrameTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonFrameTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonFrameTable = (const lean_object*)&l_Lean_Firefox_instFromJsonFrameTable___closed__0_value;
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonFrameTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonFrameTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonFrameTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonFrameTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonFrameTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonFrameTable = (const lean_object*)&l_Lean_Firefox_instToJsonFrameTable___closed__0_value;
static const lean_array_object l_Lean_Firefox_instInhabitedFrameTable_default___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Lean_Firefox_instInhabitedFrameTable_default___closed__0 = (const lean_object*)&l_Lean_Firefox_instInhabitedFrameTable_default___closed__0_value;
static lean_once_cell_t l_Lean_Firefox_instInhabitedFrameTable_default___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instInhabitedFrameTable_default___closed__1;
LEAN_EXPORT lean_object* l_Lean_Firefox_instInhabitedFrameTable_default;
LEAN_EXPORT lean_object* l_Lean_Firefox_instInhabitedFrameTable;
LEAN_EXPORT lean_object* l_Lean_Firefox_FrameTable_push(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "data"};
static const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "RawMarkerTable"};
static const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(217, 129, 183, 157, 11, 43, 22, 62)}};
static const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(157, 185, 242, 82, 251, 25, 14, 198)}};
static const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonRawMarkerTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable = (const lean_object*)&l_Lean_Firefox_instFromJsonRawMarkerTable___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonRawMarkerTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonRawMarkerTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonRawMarkerTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonRawMarkerTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonRawMarkerTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonRawMarkerTable = (const lean_object*)&l_Lean_Firefox_instToJsonRawMarkerTable___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "type"};
static const lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "ResourceTable"};
static const lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(247, 23, 36, 141, 162, 189, 23, 177)}};
static const lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(112, 109, 54, 158, 248, 169, 165, 159)}};
static const lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9;
static lean_once_cell_t l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonResourceTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonResourceTable_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonResourceTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonResourceTable = (const lean_object*)&l_Lean_Firefox_instFromJsonResourceTable___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonResourceTable_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonResourceTable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonResourceTable_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonResourceTable___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonResourceTable___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonResourceTable = (const lean_object*)&l_Lean_Firefox_instToJsonResourceTable___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "Thread"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__0_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(2, 102, 6, 129, 193, 205, 127, 161)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__1_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__2_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__2;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__4;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__5_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__5;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__7;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "isMainThread"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__8 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__8_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__8_value),LEAN_SCALAR_PTR_LITERAL(111, 97, 248, 33, 147, 201, 64, 71)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__9_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__10_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__10;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__12;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "samples"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__13 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__13_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__13_value),LEAN_SCALAR_PTR_LITERAL(126, 40, 150, 76, 5, 209, 190, 90)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__14_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__15_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__15;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__17;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "markers"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__18 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__18_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__18_value),LEAN_SCALAR_PTR_LITERAL(131, 132, 127, 199, 77, 56, 4, 153)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__19 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__19_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__20_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__20;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__21_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__21;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__22_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__22;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "stackTable"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__23 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__23_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__23_value),LEAN_SCALAR_PTR_LITERAL(43, 131, 212, 86, 108, 53, 35, 9)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__24 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__24_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__25_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__25;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__26_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__26;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__27_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__27;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__28_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "frameTable"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__28 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__28_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__29_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__28_value),LEAN_SCALAR_PTR_LITERAL(220, 91, 176, 170, 52, 10, 14, 104)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__29 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__29_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__30_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__30;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__31_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__31;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__32_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__32;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__33_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "resourceTable"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__33 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__33_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__33_value),LEAN_SCALAR_PTR_LITERAL(254, 105, 116, 50, 84, 52, 124, 155)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__34 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__34_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__35_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__35;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__36_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__36;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__37_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__37;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__38_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "nativeSymbols"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__38 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__38_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__39_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__38_value),LEAN_SCALAR_PTR_LITERAL(136, 149, 38, 186, 185, 69, 38, 51)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__39 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__39_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__40_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__40;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__41_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__41;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__42_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__42;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__43_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "stringArray"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__43 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__43_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__44_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__43_value),LEAN_SCALAR_PTR_LITERAL(148, 127, 137, 97, 195, 143, 28, 68)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__44 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__44_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__45_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__45;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__46_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__46;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__47_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__47;
static const lean_string_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__48_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "funcTable"};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__48 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__48_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonThread_fromJson___closed__49_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__48_value),LEAN_SCALAR_PTR_LITERAL(140, 176, 103, 103, 70, 114, 135, 204)}};
static const lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__49 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread_fromJson___closed__49_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__50_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__50;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__51_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__51;
static lean_once_cell_t l_Lean_Firefox_instFromJsonThread_fromJson___closed__52_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonThread_fromJson___closed__52;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonThread_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonThread___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonThread_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonThread___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonThread___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonThread = (const lean_object*)&l_Lean_Firefox_instFromJsonThread___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonThread_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonThread___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonThread_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonThread___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonThread___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonThread = (const lean_object*)&l_Lean_Firefox_instToJsonThread___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1___boxed(lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "meta"};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0_value;
static const lean_string_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "Profile"};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__1 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__1_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value_aux_0),((lean_object*)&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__2_value),LEAN_SCALAR_PTR_LITERAL(1, 221, 142, 98, 103, 73, 209, 133)}};
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value_aux_1),((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__1_value),LEAN_SCALAR_PTR_LITERAL(154, 231, 246, 101, 43, 72, 102, 2)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0_value),LEAN_SCALAR_PTR_LITERAL(245, 159, 21, 79, 192, 127, 97, 20)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__5 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8;
static const lean_string_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "libs"};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9_value),LEAN_SCALAR_PTR_LITERAL(49, 117, 173, 12, 162, 111, 95, 96)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__10 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__10_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13;
static const lean_string_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "threads"};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14_value;
static const lean_ctor_object l_Lean_Firefox_instFromJsonProfile_fromJson___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14_value),LEAN_SCALAR_PTR_LITERAL(201, 78, 72, 66, 196, 97, 111, 153)}};
static const lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__15 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__15_value;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17;
static lean_once_cell_t l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18;
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instFromJsonProfile___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instFromJsonProfile_fromJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instFromJsonProfile___closed__0 = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instFromJsonProfile = (const lean_object*)&l_Lean_Firefox_instFromJsonProfile___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonProfile_toJson(lean_object*);
static const lean_closure_object l_Lean_Firefox_instToJsonProfile___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_instToJsonProfile_toJson, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_instToJsonProfile___closed__0 = (const lean_object*)&l_Lean_Firefox_instToJsonProfile___closed__0_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_instToJsonProfile = (const lean_object*)&l_Lean_Firefox_instToJsonProfile___closed__0_value;
static const lean_string_object l_Lean_Firefox_categories___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "Other"};
static const lean_object* l_Lean_Firefox_categories___closed__0 = (const lean_object*)&l_Lean_Firefox_categories___closed__0_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__0_value),LEAN_SCALAR_PTR_LITERAL(118, 176, 148, 210, 57, 145, 59, 135)}};
static const lean_object* l_Lean_Firefox_categories___closed__1 = (const lean_object*)&l_Lean_Firefox_categories___closed__1_value;
static const lean_string_object l_Lean_Firefox_categories___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "gray"};
static const lean_object* l_Lean_Firefox_categories___closed__2 = (const lean_object*)&l_Lean_Firefox_categories___closed__2_value;
static const lean_array_object l_Lean_Firefox_categories___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Lean_Firefox_categories___closed__3 = (const lean_object*)&l_Lean_Firefox_categories___closed__3_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__1_value),((lean_object*)&l_Lean_Firefox_categories___closed__2_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__4 = (const lean_object*)&l_Lean_Firefox_categories___closed__4_value;
static const lean_string_object l_Lean_Firefox_categories___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Elab"};
static const lean_object* l_Lean_Firefox_categories___closed__5 = (const lean_object*)&l_Lean_Firefox_categories___closed__5_value;
static const lean_string_object l_Lean_Firefox_categories___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "async"};
static const lean_object* l_Lean_Firefox_categories___closed__6 = (const lean_object*)&l_Lean_Firefox_categories___closed__6_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__7_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__5_value),LEAN_SCALAR_PTR_LITERAL(13, 84, 199, 228, 250, 36, 60, 178)}};
static const lean_ctor_object l_Lean_Firefox_categories___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__7_value_aux_0),((lean_object*)&l_Lean_Firefox_categories___closed__6_value),LEAN_SCALAR_PTR_LITERAL(6, 0, 36, 68, 138, 2, 151, 20)}};
static const lean_object* l_Lean_Firefox_categories___closed__7 = (const lean_object*)&l_Lean_Firefox_categories___closed__7_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__7_value),((lean_object*)&l_Lean_Firefox_categories___closed__2_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__8 = (const lean_object*)&l_Lean_Firefox_categories___closed__8_value;
static const lean_string_object l_Lean_Firefox_categories___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "block"};
static const lean_object* l_Lean_Firefox_categories___closed__9 = (const lean_object*)&l_Lean_Firefox_categories___closed__9_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__10_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__5_value),LEAN_SCALAR_PTR_LITERAL(13, 84, 199, 228, 250, 36, 60, 178)}};
static const lean_ctor_object l_Lean_Firefox_categories___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__10_value_aux_0),((lean_object*)&l_Lean_Firefox_categories___closed__9_value),LEAN_SCALAR_PTR_LITERAL(93, 203, 205, 48, 20, 104, 179, 229)}};
static const lean_object* l_Lean_Firefox_categories___closed__10 = (const lean_object*)&l_Lean_Firefox_categories___closed__10_value;
static const lean_string_object l_Lean_Firefox_categories___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "brown"};
static const lean_object* l_Lean_Firefox_categories___closed__11 = (const lean_object*)&l_Lean_Firefox_categories___closed__11_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__10_value),((lean_object*)&l_Lean_Firefox_categories___closed__11_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__12 = (const lean_object*)&l_Lean_Firefox_categories___closed__12_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__5_value),LEAN_SCALAR_PTR_LITERAL(13, 84, 199, 228, 250, 36, 60, 178)}};
static const lean_object* l_Lean_Firefox_categories___closed__13 = (const lean_object*)&l_Lean_Firefox_categories___closed__13_value;
static const lean_string_object l_Lean_Firefox_categories___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 3, .m_data = "red"};
static const lean_object* l_Lean_Firefox_categories___closed__14 = (const lean_object*)&l_Lean_Firefox_categories___closed__14_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__13_value),((lean_object*)&l_Lean_Firefox_categories___closed__14_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__15 = (const lean_object*)&l_Lean_Firefox_categories___closed__15_value;
static const lean_string_object l_Lean_Firefox_categories___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Meta"};
static const lean_object* l_Lean_Firefox_categories___closed__16 = (const lean_object*)&l_Lean_Firefox_categories___closed__16_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__16_value),LEAN_SCALAR_PTR_LITERAL(211, 174, 49, 251, 64, 24, 251, 1)}};
static const lean_object* l_Lean_Firefox_categories___closed__17 = (const lean_object*)&l_Lean_Firefox_categories___closed__17_value;
static const lean_string_object l_Lean_Firefox_categories___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "yellow"};
static const lean_object* l_Lean_Firefox_categories___closed__18 = (const lean_object*)&l_Lean_Firefox_categories___closed__18_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__17_value),((lean_object*)&l_Lean_Firefox_categories___closed__18_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__19 = (const lean_object*)&l_Lean_Firefox_categories___closed__19_value;
static const lean_string_object l_Lean_Firefox_categories___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "Kernel"};
static const lean_object* l_Lean_Firefox_categories___closed__20 = (const lean_object*)&l_Lean_Firefox_categories___closed__20_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Firefox_categories___closed__20_value),LEAN_SCALAR_PTR_LITERAL(213, 59, 86, 63, 192, 192, 9, 44)}};
static const lean_object* l_Lean_Firefox_categories___closed__21 = (const lean_object*)&l_Lean_Firefox_categories___closed__21_value;
static const lean_string_object l_Lean_Firefox_categories___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "green"};
static const lean_object* l_Lean_Firefox_categories___closed__22 = (const lean_object*)&l_Lean_Firefox_categories___closed__22_value;
static const lean_ctor_object l_Lean_Firefox_categories___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_categories___closed__21_value),((lean_object*)&l_Lean_Firefox_categories___closed__22_value),((lean_object*)&l_Lean_Firefox_categories___closed__3_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__23 = (const lean_object*)&l_Lean_Firefox_categories___closed__23_value;
static const lean_array_object l_Lean_Firefox_categories___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*6, .m_other = 0, .m_tag = 246}, .m_size = 6, .m_capacity = 6, .m_data = {((lean_object*)&l_Lean_Firefox_categories___closed__4_value),((lean_object*)&l_Lean_Firefox_categories___closed__8_value),((lean_object*)&l_Lean_Firefox_categories___closed__12_value),((lean_object*)&l_Lean_Firefox_categories___closed__15_value),((lean_object*)&l_Lean_Firefox_categories___closed__19_value),((lean_object*)&l_Lean_Firefox_categories___closed__23_value)}};
static const lean_object* l_Lean_Firefox_categories___closed__24 = (const lean_object*)&l_Lean_Firefox_categories___closed__24_value;
LEAN_EXPORT const lean_object* l_Lean_Firefox_categories = (const lean_object*)&l_Lean_Firefox_categories___closed__24_value;
static const lean_ctor_object l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___closed__0 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___closed__0_value;
static lean_once_cell_t l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static double l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___boxed(lean_object*);
LEAN_EXPORT uint8_t l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4___redArg(lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10___redArg(lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(lean_object*, lean_object*, lean_object*);
static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "tracing-ms"};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0_value;
static lean_once_cell_t l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static double l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1;
static lean_once_cell_t l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1;
static lean_once_cell_t l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2;
static const lean_array_object l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__3 = (const lean_object*)&l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__3_value;
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace(uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_Thread_new___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "default"};
static const lean_object* l_Lean_Firefox_Thread_new___closed__0 = (const lean_object*)&l_Lean_Firefox_Thread_new___closed__0_value;
static const lean_array_object l_Lean_Firefox_Thread_new___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Lean_Firefox_Thread_new___closed__1 = (const lean_object*)&l_Lean_Firefox_Thread_new___closed__1_value;
static lean_once_cell_t l_Lean_Firefox_Thread_new___closed__2_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Thread_new___closed__2;
static lean_once_cell_t l_Lean_Firefox_Thread_new___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Thread_new___closed__3;
static lean_once_cell_t l_Lean_Firefox_Thread_new___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Thread_new___closed__4;
static const lean_ctor_object l_Lean_Firefox_Thread_new___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Firefox_Thread_new___closed__1_value),((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l_Lean_Firefox_Thread_new___closed__5 = (const lean_object*)&l_Lean_Firefox_Thread_new___closed__5_value;
static lean_once_cell_t l_Lean_Firefox_Thread_new___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Thread_new___closed__6;
LEAN_EXPORT lean_object* l_Lean_Firefox_Thread_new(lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint64_t l_Lean_Firefox_Profile_export___lam__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export___lam__0___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT double l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0(lean_object*, double, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1;
static lean_once_cell_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0;
static lean_once_cell_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "runFrontend"};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__0 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__0_value;
static const lean_ctor_object l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__0_value),LEAN_SCALAR_PTR_LITERAL(29, 26, 219, 1, 125, 130, 35, 132)}};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__1 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__1_value;
static const lean_string_object l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2_value;
static const lean_ctor_object l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2_value)}};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__3 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__3_value;
static lean_once_cell_t l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4;
static const lean_array_object l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__5 = (const lean_object*)&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__5_value;
static lean_once_cell_t l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6;
static lean_once_cell_t l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7(lean_object*, double, double, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(uint64_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*);
static const lean_array_object l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0___closed__0 = (const lean_object*)&l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0___closed__0_value;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(lean_object*, uint64_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg(lean_object*, lean_object*, uint64_t);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_once_cell_t l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0;
static lean_once_cell_t l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1;
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0___boxed(lean_object*, lean_object*);
static const lean_closure_object l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___closed__0 = (const lean_object*)&l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___closed__0_value;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8___boxed(lean_object*, lean_object*, lean_object*);
static const lean_closure_object l_Lean_Firefox_Profile_export___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Firefox_Profile_export___lam__0___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lean_Firefox_Profile_export___closed__0 = (const lean_object*)&l_Lean_Firefox_Profile_export___closed__0_value;
static lean_once_cell_t l_Lean_Firefox_Profile_export___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static double l_Lean_Firefox_Profile_export___closed__1;
static const lean_string_object l_Lean_Firefox_Profile_export___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "lean"};
static const lean_object* l_Lean_Firefox_Profile_export___closed__2 = (const lean_object*)&l_Lean_Firefox_Profile_export___closed__2_value;
static const lean_string_object l_Lean_Firefox_Profile_export___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "ms"};
static const lean_object* l_Lean_Firefox_Profile_export___closed__3 = (const lean_object*)&l_Lean_Firefox_Profile_export___closed__3_value;
static const lean_string_object l_Lean_Firefox_Profile_export___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 2, .m_data = "µs"};
static const lean_object* l_Lean_Firefox_Profile_export___closed__4 = (const lean_object*)&l_Lean_Firefox_Profile_export___closed__4_value;
static lean_once_cell_t l_Lean_Firefox_Profile_export___closed__5_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Profile_export___closed__5;
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export(lean_object*, double, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0(lean_object*, lean_object*, lean_object*, uint64_t);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2(lean_object*, uint64_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4(lean_object*, lean_object*, uint64_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_getStrIdx(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1;
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static const lean_string_object l_Lean_Firefox_Profile_collide___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "collided"};
static const lean_object* l_Lean_Firefox_Profile_collide___closed__0 = (const lean_object*)&l_Lean_Firefox_Profile_collide___closed__0_value;
static lean_once_cell_t l_Lean_Firefox_Profile_collide___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Profile_collide___closed__1;
static lean_once_cell_t l_Lean_Firefox_Profile_collide___closed__2_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Profile_collide___closed__2;
static lean_once_cell_t l_Lean_Firefox_Profile_collide___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
static lean_object* l_Lean_Firefox_Profile_collide___closed__3;
static const lean_array_object l_Lean_Firefox_Profile_collide___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}};
static const lean_object* l_Lean_Firefox_Profile_collide___closed__4 = (const lean_object*)&l_Lean_Firefox_Profile_collide___closed__4_value;
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_collide(lean_object*);
static double _init_l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0(void){
_start:
{
uint64_t v___x_1_; double v___x_2_; 
v___x_1_ = 0ULL;
v___x_2_ = lean_uint64_to_float(v___x_1_);
return v___x_2_;
}
}
static double _init_l_Lean_Firefox_instInhabitedMilliseconds_default(void){
_start:
{
double v___x_3_; 
v___x_3_ = lean_float_once(&l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0, &l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0_once, _init_l_Lean_Firefox_instInhabitedMilliseconds_default___closed__0);
return v___x_3_;
}
}
static double _init_l_Lean_Firefox_instInhabitedMilliseconds(void){
_start:
{
double v___x_4_; 
v___x_4_ = l_Lean_Firefox_instInhabitedMilliseconds_default;
return v___x_4_;
}
}
static double _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0(void){
_start:
{
lean_object* v___x_5_; double v___x_6_; 
v___x_5_ = lean_unsigned_to_nat(1000u);
v___x_6_ = lean_float_of_nat(v___x_5_);
return v___x_6_;
}
}
LEAN_EXPORT double l_Lean_Firefox_instCoeFloatMilliseconds___lam__0(double v_s_7_){
_start:
{
double v___x_8_; double v___x_9_; 
v___x_8_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_9_ = lean_float_mul(v_s_7_, v___x_8_);
return v___x_9_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___boxed(lean_object* v_s_10_){
_start:
{
double v_s_boxed_11_; double v_res_12_; lean_object* v_r_13_; 
v_s_boxed_11_ = lean_unbox_float(v_s_10_);
lean_dec_ref(v_s_10_);
v_res_12_ = l_Lean_Firefox_instCoeFloatMilliseconds___lam__0(v_s_boxed_11_);
v_r_13_ = lean_box_float(v_res_12_);
return v_r_13_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonMilliseconds___lam__0(lean_object* v_j_20_){
_start:
{
lean_object* v___x_21_; 
v___x_21_ = l_Float_fromJson_x3f(v_j_20_);
if (lean_obj_tag(v___x_21_) == 0)
{
lean_object* v_a_22_; lean_object* v___x_24_; uint8_t v_isShared_25_; uint8_t v_isSharedCheck_29_; 
v_a_22_ = lean_ctor_get(v___x_21_, 0);
v_isSharedCheck_29_ = !lean_is_exclusive(v___x_21_);
if (v_isSharedCheck_29_ == 0)
{
v___x_24_ = v___x_21_;
v_isShared_25_ = v_isSharedCheck_29_;
goto v_resetjp_23_;
}
else
{
lean_inc(v_a_22_);
lean_dec(v___x_21_);
v___x_24_ = lean_box(0);
v_isShared_25_ = v_isSharedCheck_29_;
goto v_resetjp_23_;
}
v_resetjp_23_:
{
lean_object* v___x_27_; 
if (v_isShared_25_ == 0)
{
v___x_27_ = v___x_24_;
goto v_reusejp_26_;
}
else
{
lean_object* v_reuseFailAlloc_28_; 
v_reuseFailAlloc_28_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_28_, 0, v_a_22_);
v___x_27_ = v_reuseFailAlloc_28_;
goto v_reusejp_26_;
}
v_reusejp_26_:
{
return v___x_27_;
}
}
}
else
{
lean_object* v_a_30_; lean_object* v___x_32_; uint8_t v_isShared_33_; uint8_t v_isSharedCheck_37_; 
v_a_30_ = lean_ctor_get(v___x_21_, 0);
v_isSharedCheck_37_ = !lean_is_exclusive(v___x_21_);
if (v_isSharedCheck_37_ == 0)
{
v___x_32_ = v___x_21_;
v_isShared_33_ = v_isSharedCheck_37_;
goto v_resetjp_31_;
}
else
{
lean_inc(v_a_30_);
lean_dec(v___x_21_);
v___x_32_ = lean_box(0);
v_isShared_33_ = v_isSharedCheck_37_;
goto v_resetjp_31_;
}
v_resetjp_31_:
{
lean_object* v___x_35_; 
if (v_isShared_33_ == 0)
{
v___x_35_ = v___x_32_;
goto v_reusejp_34_;
}
else
{
lean_object* v_reuseFailAlloc_36_; 
v_reuseFailAlloc_36_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_36_, 0, v_a_30_);
v___x_35_ = v_reuseFailAlloc_36_;
goto v_reusejp_34_;
}
v_reusejp_34_:
{
return v___x_35_;
}
}
}
}
}
static double _init_l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0(void){
_start:
{
lean_object* v___x_42_; double v___x_43_; 
v___x_42_ = lean_unsigned_to_nat(1000000u);
v___x_43_ = lean_float_of_nat(v___x_42_);
return v___x_43_;
}
}
LEAN_EXPORT double l_Lean_Firefox_instCoeFloatMicroseconds___lam__0(double v_s_44_){
_start:
{
double v___x_45_; double v___x_46_; 
v___x_45_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0);
v___x_46_ = lean_float_mul(v_s_44_, v___x_45_);
return v___x_46_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___boxed(lean_object* v_s_47_){
_start:
{
double v_s_boxed_48_; double v_res_49_; lean_object* v_r_50_; 
v_s_boxed_48_ = lean_unbox_float(v_s_47_);
lean_dec_ref(v_s_47_);
v_res_49_ = l_Lean_Firefox_instCoeFloatMicroseconds___lam__0(v_s_boxed_48_);
v_r_50_ = lean_box_float(v_res_49_);
return v_r_50_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0(lean_object* v_j_56_, lean_object* v_k_57_){
_start:
{
lean_object* v___x_58_; lean_object* v___x_59_; 
v___x_58_ = l_Lean_Json_getObjValD(v_j_56_, v_k_57_);
v___x_59_ = l_Lean_Name_fromJson_x3f(v___x_58_);
return v___x_59_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0___boxed(lean_object* v_j_60_, lean_object* v_k_61_){
_start:
{
lean_object* v_res_62_; 
v_res_62_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0(v_j_60_, v_k_61_);
lean_dec_ref(v_k_61_);
return v_res_62_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(lean_object* v_j_63_, lean_object* v_k_64_){
_start:
{
lean_object* v___x_65_; lean_object* v___x_66_; 
v___x_65_ = l_Lean_Json_getObjValD(v_j_63_, v_k_64_);
v___x_66_ = l_Lean_Json_getStr_x3f(v___x_65_);
return v___x_66_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1___boxed(lean_object* v_j_67_, lean_object* v_k_68_){
_start:
{
lean_object* v_res_69_; 
v_res_69_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_j_67_, v_k_68_);
lean_dec_ref(v_k_68_);
return v_res_69_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3(size_t v_sz_70_, size_t v_i_71_, lean_object* v_bs_72_){
_start:
{
uint8_t v___x_73_; 
v___x_73_ = lean_usize_dec_lt(v_i_71_, v_sz_70_);
if (v___x_73_ == 0)
{
lean_object* v___x_74_; 
v___x_74_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_74_, 0, v_bs_72_);
return v___x_74_;
}
else
{
lean_object* v_v_75_; lean_object* v___x_76_; 
v_v_75_ = lean_array_uget_borrowed(v_bs_72_, v_i_71_);
lean_inc(v_v_75_);
v___x_76_ = l_Lean_Json_getStr_x3f(v_v_75_);
if (lean_obj_tag(v___x_76_) == 0)
{
lean_object* v_a_77_; lean_object* v___x_79_; uint8_t v_isShared_80_; uint8_t v_isSharedCheck_84_; 
lean_dec_ref(v_bs_72_);
v_a_77_ = lean_ctor_get(v___x_76_, 0);
v_isSharedCheck_84_ = !lean_is_exclusive(v___x_76_);
if (v_isSharedCheck_84_ == 0)
{
v___x_79_ = v___x_76_;
v_isShared_80_ = v_isSharedCheck_84_;
goto v_resetjp_78_;
}
else
{
lean_inc(v_a_77_);
lean_dec(v___x_76_);
v___x_79_ = lean_box(0);
v_isShared_80_ = v_isSharedCheck_84_;
goto v_resetjp_78_;
}
v_resetjp_78_:
{
lean_object* v___x_82_; 
if (v_isShared_80_ == 0)
{
v___x_82_ = v___x_79_;
goto v_reusejp_81_;
}
else
{
lean_object* v_reuseFailAlloc_83_; 
v_reuseFailAlloc_83_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_83_, 0, v_a_77_);
v___x_82_ = v_reuseFailAlloc_83_;
goto v_reusejp_81_;
}
v_reusejp_81_:
{
return v___x_82_;
}
}
}
else
{
lean_object* v_a_85_; lean_object* v___x_86_; lean_object* v_bs_x27_87_; size_t v___x_88_; size_t v___x_89_; lean_object* v___x_90_; 
v_a_85_ = lean_ctor_get(v___x_76_, 0);
lean_inc(v_a_85_);
lean_dec_ref(v___x_76_);
v___x_86_ = lean_unsigned_to_nat(0u);
v_bs_x27_87_ = lean_array_uset(v_bs_72_, v_i_71_, v___x_86_);
v___x_88_ = ((size_t)1ULL);
v___x_89_ = lean_usize_add(v_i_71_, v___x_88_);
v___x_90_ = lean_array_uset(v_bs_x27_87_, v_i_71_, v_a_85_);
v_i_71_ = v___x_89_;
v_bs_72_ = v___x_90_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3___boxed(lean_object* v_sz_92_, lean_object* v_i_93_, lean_object* v_bs_94_){
_start:
{
size_t v_sz_boxed_95_; size_t v_i_boxed_96_; lean_object* v_res_97_; 
v_sz_boxed_95_ = lean_unbox_usize(v_sz_92_);
lean_dec(v_sz_92_);
v_i_boxed_96_ = lean_unbox_usize(v_i_93_);
lean_dec(v_i_93_);
v_res_97_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3(v_sz_boxed_95_, v_i_boxed_96_, v_bs_94_);
return v_res_97_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2(lean_object* v_x_100_){
_start:
{
if (lean_obj_tag(v_x_100_) == 4)
{
lean_object* v_elems_101_; size_t v_sz_102_; size_t v___x_103_; lean_object* v___x_104_; 
v_elems_101_ = lean_ctor_get(v_x_100_, 0);
lean_inc_ref(v_elems_101_);
lean_dec_ref(v_x_100_);
v_sz_102_ = lean_array_size(v_elems_101_);
v___x_103_ = ((size_t)0ULL);
v___x_104_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2_spec__3(v_sz_102_, v___x_103_, v_elems_101_);
return v___x_104_;
}
else
{
lean_object* v___x_105_; lean_object* v___x_106_; lean_object* v___x_107_; lean_object* v___x_108_; lean_object* v___x_109_; lean_object* v___x_110_; lean_object* v___x_111_; 
v___x_105_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_106_ = lean_unsigned_to_nat(80u);
v___x_107_ = l_Lean_Json_pretty(v_x_100_, v___x_106_);
v___x_108_ = lean_string_append(v___x_105_, v___x_107_);
lean_dec_ref(v___x_107_);
v___x_109_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_110_ = lean_string_append(v___x_108_, v___x_109_);
v___x_111_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_111_, 0, v___x_110_);
return v___x_111_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2(lean_object* v_j_112_, lean_object* v_k_113_){
_start:
{
lean_object* v___x_114_; lean_object* v___x_115_; 
v___x_114_ = l_Lean_Json_getObjValD(v_j_112_, v_k_113_);
v___x_115_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2(v___x_114_);
return v___x_115_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2___boxed(lean_object* v_j_116_, lean_object* v_k_117_){
_start:
{
lean_object* v_res_118_; 
v_res_118_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2(v_j_116_, v_k_117_);
lean_dec_ref(v_k_117_);
return v_res_118_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5(void){
_start:
{
uint8_t v___x_127_; lean_object* v___x_128_; lean_object* v___x_129_; 
v___x_127_ = 1;
v___x_128_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__4));
v___x_129_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_128_, v___x_127_);
return v___x_129_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7(void){
_start:
{
lean_object* v___x_131_; lean_object* v___x_132_; lean_object* v___x_133_; 
v___x_131_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_132_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__5);
v___x_133_ = lean_string_append(v___x_132_, v___x_131_);
return v___x_133_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9(void){
_start:
{
uint8_t v___x_136_; lean_object* v___x_137_; lean_object* v___x_138_; 
v___x_136_ = 1;
v___x_137_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__8));
v___x_138_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_137_, v___x_136_);
return v___x_138_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10(void){
_start:
{
lean_object* v___x_139_; lean_object* v___x_140_; lean_object* v___x_141_; 
v___x_139_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9);
v___x_140_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7);
v___x_141_ = lean_string_append(v___x_140_, v___x_139_);
return v___x_141_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12(void){
_start:
{
lean_object* v___x_143_; lean_object* v___x_144_; lean_object* v___x_145_; 
v___x_143_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_144_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__10);
v___x_145_ = lean_string_append(v___x_144_, v___x_143_);
return v___x_145_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15(void){
_start:
{
uint8_t v___x_149_; lean_object* v___x_150_; lean_object* v___x_151_; 
v___x_149_ = 1;
v___x_150_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__14));
v___x_151_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_150_, v___x_149_);
return v___x_151_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16(void){
_start:
{
lean_object* v___x_152_; lean_object* v___x_153_; lean_object* v___x_154_; 
v___x_152_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__15);
v___x_153_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7);
v___x_154_ = lean_string_append(v___x_153_, v___x_152_);
return v___x_154_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17(void){
_start:
{
lean_object* v___x_155_; lean_object* v___x_156_; lean_object* v___x_157_; 
v___x_155_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_156_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__16);
v___x_157_ = lean_string_append(v___x_156_, v___x_155_);
return v___x_157_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20(void){
_start:
{
uint8_t v___x_161_; lean_object* v___x_162_; lean_object* v___x_163_; 
v___x_161_ = 1;
v___x_162_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__19));
v___x_163_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_162_, v___x_161_);
return v___x_163_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21(void){
_start:
{
lean_object* v___x_164_; lean_object* v___x_165_; lean_object* v___x_166_; 
v___x_164_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__20);
v___x_165_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__7);
v___x_166_ = lean_string_append(v___x_165_, v___x_164_);
return v___x_166_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22(void){
_start:
{
lean_object* v___x_167_; lean_object* v___x_168_; lean_object* v___x_169_; 
v___x_167_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_168_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__21);
v___x_169_ = lean_string_append(v___x_168_, v___x_167_);
return v___x_169_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonCategory_fromJson(lean_object* v_json_170_){
_start:
{
lean_object* v___x_171_; lean_object* v___x_172_; 
v___x_171_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
lean_inc(v_json_170_);
v___x_172_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__0(v_json_170_, v___x_171_);
if (lean_obj_tag(v___x_172_) == 0)
{
lean_object* v_a_173_; lean_object* v___x_175_; uint8_t v_isShared_176_; uint8_t v_isSharedCheck_182_; 
lean_dec(v_json_170_);
v_a_173_ = lean_ctor_get(v___x_172_, 0);
v_isSharedCheck_182_ = !lean_is_exclusive(v___x_172_);
if (v_isSharedCheck_182_ == 0)
{
v___x_175_ = v___x_172_;
v_isShared_176_ = v_isSharedCheck_182_;
goto v_resetjp_174_;
}
else
{
lean_inc(v_a_173_);
lean_dec(v___x_172_);
v___x_175_ = lean_box(0);
v_isShared_176_ = v_isSharedCheck_182_;
goto v_resetjp_174_;
}
v_resetjp_174_:
{
lean_object* v___x_177_; lean_object* v___x_178_; lean_object* v___x_180_; 
v___x_177_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__12);
v___x_178_ = lean_string_append(v___x_177_, v_a_173_);
lean_dec(v_a_173_);
if (v_isShared_176_ == 0)
{
lean_ctor_set(v___x_175_, 0, v___x_178_);
v___x_180_ = v___x_175_;
goto v_reusejp_179_;
}
else
{
lean_object* v_reuseFailAlloc_181_; 
v_reuseFailAlloc_181_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_181_, 0, v___x_178_);
v___x_180_ = v_reuseFailAlloc_181_;
goto v_reusejp_179_;
}
v_reusejp_179_:
{
return v___x_180_;
}
}
}
else
{
if (lean_obj_tag(v___x_172_) == 0)
{
lean_object* v_a_183_; lean_object* v___x_185_; uint8_t v_isShared_186_; uint8_t v_isSharedCheck_190_; 
lean_dec(v_json_170_);
v_a_183_ = lean_ctor_get(v___x_172_, 0);
v_isSharedCheck_190_ = !lean_is_exclusive(v___x_172_);
if (v_isSharedCheck_190_ == 0)
{
v___x_185_ = v___x_172_;
v_isShared_186_ = v_isSharedCheck_190_;
goto v_resetjp_184_;
}
else
{
lean_inc(v_a_183_);
lean_dec(v___x_172_);
v___x_185_ = lean_box(0);
v_isShared_186_ = v_isSharedCheck_190_;
goto v_resetjp_184_;
}
v_resetjp_184_:
{
lean_object* v___x_188_; 
if (v_isShared_186_ == 0)
{
lean_ctor_set_tag(v___x_185_, 0);
v___x_188_ = v___x_185_;
goto v_reusejp_187_;
}
else
{
lean_object* v_reuseFailAlloc_189_; 
v_reuseFailAlloc_189_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_189_, 0, v_a_183_);
v___x_188_ = v_reuseFailAlloc_189_;
goto v_reusejp_187_;
}
v_reusejp_187_:
{
return v___x_188_;
}
}
}
else
{
lean_object* v_a_191_; lean_object* v___x_192_; lean_object* v___x_193_; 
v_a_191_ = lean_ctor_get(v___x_172_, 0);
lean_inc(v_a_191_);
lean_dec_ref(v___x_172_);
v___x_192_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13));
lean_inc(v_json_170_);
v___x_193_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_170_, v___x_192_);
if (lean_obj_tag(v___x_193_) == 0)
{
lean_object* v_a_194_; lean_object* v___x_196_; uint8_t v_isShared_197_; uint8_t v_isSharedCheck_203_; 
lean_dec(v_a_191_);
lean_dec(v_json_170_);
v_a_194_ = lean_ctor_get(v___x_193_, 0);
v_isSharedCheck_203_ = !lean_is_exclusive(v___x_193_);
if (v_isSharedCheck_203_ == 0)
{
v___x_196_ = v___x_193_;
v_isShared_197_ = v_isSharedCheck_203_;
goto v_resetjp_195_;
}
else
{
lean_inc(v_a_194_);
lean_dec(v___x_193_);
v___x_196_ = lean_box(0);
v_isShared_197_ = v_isSharedCheck_203_;
goto v_resetjp_195_;
}
v_resetjp_195_:
{
lean_object* v___x_198_; lean_object* v___x_199_; lean_object* v___x_201_; 
v___x_198_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__17);
v___x_199_ = lean_string_append(v___x_198_, v_a_194_);
lean_dec(v_a_194_);
if (v_isShared_197_ == 0)
{
lean_ctor_set(v___x_196_, 0, v___x_199_);
v___x_201_ = v___x_196_;
goto v_reusejp_200_;
}
else
{
lean_object* v_reuseFailAlloc_202_; 
v_reuseFailAlloc_202_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_202_, 0, v___x_199_);
v___x_201_ = v_reuseFailAlloc_202_;
goto v_reusejp_200_;
}
v_reusejp_200_:
{
return v___x_201_;
}
}
}
else
{
if (lean_obj_tag(v___x_193_) == 0)
{
lean_object* v_a_204_; lean_object* v___x_206_; uint8_t v_isShared_207_; uint8_t v_isSharedCheck_211_; 
lean_dec(v_a_191_);
lean_dec(v_json_170_);
v_a_204_ = lean_ctor_get(v___x_193_, 0);
v_isSharedCheck_211_ = !lean_is_exclusive(v___x_193_);
if (v_isSharedCheck_211_ == 0)
{
v___x_206_ = v___x_193_;
v_isShared_207_ = v_isSharedCheck_211_;
goto v_resetjp_205_;
}
else
{
lean_inc(v_a_204_);
lean_dec(v___x_193_);
v___x_206_ = lean_box(0);
v_isShared_207_ = v_isSharedCheck_211_;
goto v_resetjp_205_;
}
v_resetjp_205_:
{
lean_object* v___x_209_; 
if (v_isShared_207_ == 0)
{
lean_ctor_set_tag(v___x_206_, 0);
v___x_209_ = v___x_206_;
goto v_reusejp_208_;
}
else
{
lean_object* v_reuseFailAlloc_210_; 
v_reuseFailAlloc_210_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_210_, 0, v_a_204_);
v___x_209_ = v_reuseFailAlloc_210_;
goto v_reusejp_208_;
}
v_reusejp_208_:
{
return v___x_209_;
}
}
}
else
{
lean_object* v_a_212_; lean_object* v___x_213_; lean_object* v___x_214_; 
v_a_212_ = lean_ctor_get(v___x_193_, 0);
lean_inc(v_a_212_);
lean_dec_ref(v___x_193_);
v___x_213_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18));
v___x_214_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2(v_json_170_, v___x_213_);
if (lean_obj_tag(v___x_214_) == 0)
{
lean_object* v_a_215_; lean_object* v___x_217_; uint8_t v_isShared_218_; uint8_t v_isSharedCheck_224_; 
lean_dec(v_a_212_);
lean_dec(v_a_191_);
v_a_215_ = lean_ctor_get(v___x_214_, 0);
v_isSharedCheck_224_ = !lean_is_exclusive(v___x_214_);
if (v_isSharedCheck_224_ == 0)
{
v___x_217_ = v___x_214_;
v_isShared_218_ = v_isSharedCheck_224_;
goto v_resetjp_216_;
}
else
{
lean_inc(v_a_215_);
lean_dec(v___x_214_);
v___x_217_ = lean_box(0);
v_isShared_218_ = v_isSharedCheck_224_;
goto v_resetjp_216_;
}
v_resetjp_216_:
{
lean_object* v___x_219_; lean_object* v___x_220_; lean_object* v___x_222_; 
v___x_219_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__22);
v___x_220_ = lean_string_append(v___x_219_, v_a_215_);
lean_dec(v_a_215_);
if (v_isShared_218_ == 0)
{
lean_ctor_set(v___x_217_, 0, v___x_220_);
v___x_222_ = v___x_217_;
goto v_reusejp_221_;
}
else
{
lean_object* v_reuseFailAlloc_223_; 
v_reuseFailAlloc_223_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_223_, 0, v___x_220_);
v___x_222_ = v_reuseFailAlloc_223_;
goto v_reusejp_221_;
}
v_reusejp_221_:
{
return v___x_222_;
}
}
}
else
{
if (lean_obj_tag(v___x_214_) == 0)
{
lean_object* v_a_225_; lean_object* v___x_227_; uint8_t v_isShared_228_; uint8_t v_isSharedCheck_232_; 
lean_dec(v_a_212_);
lean_dec(v_a_191_);
v_a_225_ = lean_ctor_get(v___x_214_, 0);
v_isSharedCheck_232_ = !lean_is_exclusive(v___x_214_);
if (v_isSharedCheck_232_ == 0)
{
v___x_227_ = v___x_214_;
v_isShared_228_ = v_isSharedCheck_232_;
goto v_resetjp_226_;
}
else
{
lean_inc(v_a_225_);
lean_dec(v___x_214_);
v___x_227_ = lean_box(0);
v_isShared_228_ = v_isSharedCheck_232_;
goto v_resetjp_226_;
}
v_resetjp_226_:
{
lean_object* v___x_230_; 
if (v_isShared_228_ == 0)
{
lean_ctor_set_tag(v___x_227_, 0);
v___x_230_ = v___x_227_;
goto v_reusejp_229_;
}
else
{
lean_object* v_reuseFailAlloc_231_; 
v_reuseFailAlloc_231_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_231_, 0, v_a_225_);
v___x_230_ = v_reuseFailAlloc_231_;
goto v_reusejp_229_;
}
v_reusejp_229_:
{
return v___x_230_;
}
}
}
else
{
lean_object* v_a_233_; lean_object* v___x_235_; uint8_t v_isShared_236_; uint8_t v_isSharedCheck_241_; 
v_a_233_ = lean_ctor_get(v___x_214_, 0);
v_isSharedCheck_241_ = !lean_is_exclusive(v___x_214_);
if (v_isSharedCheck_241_ == 0)
{
v___x_235_ = v___x_214_;
v_isShared_236_ = v_isSharedCheck_241_;
goto v_resetjp_234_;
}
else
{
lean_inc(v_a_233_);
lean_dec(v___x_214_);
v___x_235_ = lean_box(0);
v_isShared_236_ = v_isSharedCheck_241_;
goto v_resetjp_234_;
}
v_resetjp_234_:
{
lean_object* v___x_237_; lean_object* v___x_239_; 
v___x_237_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_237_, 0, v_a_191_);
lean_ctor_set(v___x_237_, 1, v_a_212_);
lean_ctor_set(v___x_237_, 2, v_a_233_);
if (v_isShared_236_ == 0)
{
lean_ctor_set(v___x_235_, 0, v___x_237_);
v___x_239_ = v___x_235_;
goto v_reusejp_238_;
}
else
{
lean_object* v_reuseFailAlloc_240_; 
v_reuseFailAlloc_240_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_240_, 0, v___x_237_);
v___x_239_ = v_reuseFailAlloc_240_;
goto v_reusejp_238_;
}
v_reusejp_238_:
{
return v___x_239_;
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0(size_t v_sz_244_, size_t v_i_245_, lean_object* v_bs_246_){
_start:
{
uint8_t v___x_247_; 
v___x_247_ = lean_usize_dec_lt(v_i_245_, v_sz_244_);
if (v___x_247_ == 0)
{
return v_bs_246_;
}
else
{
lean_object* v_v_248_; lean_object* v___x_249_; lean_object* v_bs_x27_250_; lean_object* v___x_251_; size_t v___x_252_; size_t v___x_253_; lean_object* v___x_254_; 
v_v_248_ = lean_array_uget(v_bs_246_, v_i_245_);
v___x_249_ = lean_unsigned_to_nat(0u);
v_bs_x27_250_ = lean_array_uset(v_bs_246_, v_i_245_, v___x_249_);
v___x_251_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_251_, 0, v_v_248_);
v___x_252_ = ((size_t)1ULL);
v___x_253_ = lean_usize_add(v_i_245_, v___x_252_);
v___x_254_ = lean_array_uset(v_bs_x27_250_, v_i_245_, v___x_251_);
v_i_245_ = v___x_253_;
v_bs_246_ = v___x_254_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0___boxed(lean_object* v_sz_256_, lean_object* v_i_257_, lean_object* v_bs_258_){
_start:
{
size_t v_sz_boxed_259_; size_t v_i_boxed_260_; lean_object* v_res_261_; 
v_sz_boxed_259_ = lean_unbox_usize(v_sz_256_);
lean_dec(v_sz_256_);
v_i_boxed_260_ = lean_unbox_usize(v_i_257_);
lean_dec(v_i_257_);
v_res_261_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0(v_sz_boxed_259_, v_i_boxed_260_, v_bs_258_);
return v_res_261_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0(lean_object* v_a_262_){
_start:
{
size_t v_sz_263_; size_t v___x_264_; lean_object* v___x_265_; lean_object* v___x_266_; 
v_sz_263_ = lean_array_size(v_a_262_);
v___x_264_ = ((size_t)0ULL);
v___x_265_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0_spec__0(v_sz_263_, v___x_264_, v_a_262_);
v___x_266_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_266_, 0, v___x_265_);
return v___x_266_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(lean_object* v_a_267_, lean_object* v_a_268_){
_start:
{
if (lean_obj_tag(v_a_267_) == 0)
{
lean_object* v___x_269_; 
v___x_269_ = lean_array_to_list(v_a_268_);
return v___x_269_;
}
else
{
lean_object* v_head_270_; lean_object* v_tail_271_; lean_object* v___x_272_; 
v_head_270_ = lean_ctor_get(v_a_267_, 0);
lean_inc(v_head_270_);
v_tail_271_ = lean_ctor_get(v_a_267_, 1);
lean_inc(v_tail_271_);
lean_dec_ref(v_a_267_);
v___x_272_ = l_List_foldl___at___00Array_appendList_spec__0___redArg(v_a_268_, v_head_270_);
v_a_267_ = v_tail_271_;
v_a_268_ = v___x_272_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonCategory_toJson(lean_object* v_x_276_){
_start:
{
lean_object* v_name_277_; lean_object* v_color_278_; lean_object* v_subcategories_279_; lean_object* v___x_280_; uint8_t v___x_281_; lean_object* v___x_282_; lean_object* v___x_283_; lean_object* v___x_284_; lean_object* v___x_285_; lean_object* v___x_286_; lean_object* v___x_287_; lean_object* v___x_288_; lean_object* v___x_289_; lean_object* v___x_290_; lean_object* v___x_291_; lean_object* v___x_292_; lean_object* v___x_293_; lean_object* v___x_294_; lean_object* v___x_295_; lean_object* v___x_296_; lean_object* v___x_297_; lean_object* v___x_298_; lean_object* v___x_299_; lean_object* v___x_300_; 
v_name_277_ = lean_ctor_get(v_x_276_, 0);
lean_inc(v_name_277_);
v_color_278_ = lean_ctor_get(v_x_276_, 1);
lean_inc_ref(v_color_278_);
v_subcategories_279_ = lean_ctor_get(v_x_276_, 2);
lean_inc_ref(v_subcategories_279_);
lean_dec_ref(v_x_276_);
v___x_280_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
v___x_281_ = 1;
v___x_282_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v_name_277_, v___x_281_);
v___x_283_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_283_, 0, v___x_282_);
v___x_284_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_284_, 0, v___x_280_);
lean_ctor_set(v___x_284_, 1, v___x_283_);
v___x_285_ = lean_box(0);
v___x_286_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_286_, 0, v___x_284_);
lean_ctor_set(v___x_286_, 1, v___x_285_);
v___x_287_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__13));
v___x_288_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_288_, 0, v_color_278_);
v___x_289_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_289_, 0, v___x_287_);
lean_ctor_set(v___x_289_, 1, v___x_288_);
v___x_290_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_290_, 0, v___x_289_);
lean_ctor_set(v___x_290_, 1, v___x_285_);
v___x_291_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__18));
v___x_292_ = l_Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0(v_subcategories_279_);
v___x_293_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_293_, 0, v___x_291_);
lean_ctor_set(v___x_293_, 1, v___x_292_);
v___x_294_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_294_, 0, v___x_293_);
lean_ctor_set(v___x_294_, 1, v___x_285_);
v___x_295_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_295_, 0, v___x_294_);
lean_ctor_set(v___x_295_, 1, v___x_285_);
v___x_296_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_296_, 0, v___x_290_);
lean_ctor_set(v___x_296_, 1, v___x_295_);
v___x_297_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_297_, 0, v___x_286_);
lean_ctor_set(v___x_297_, 1, v___x_296_);
v___x_298_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_299_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_297_, v___x_298_);
v___x_300_ = l_Lean_Json_mkObj(v___x_299_);
return v___x_300_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3(void){
_start:
{
uint8_t v___x_309_; lean_object* v___x_310_; lean_object* v___x_311_; 
v___x_309_ = 1;
v___x_310_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__2));
v___x_311_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_310_, v___x_309_);
return v___x_311_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4(void){
_start:
{
lean_object* v___x_312_; lean_object* v___x_313_; lean_object* v___x_314_; 
v___x_312_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_313_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__3);
v___x_314_ = lean_string_append(v___x_313_, v___x_312_);
return v___x_314_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6(void){
_start:
{
uint8_t v___x_317_; lean_object* v___x_318_; lean_object* v___x_319_; 
v___x_317_ = 1;
v___x_318_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__5));
v___x_319_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_318_, v___x_317_);
return v___x_319_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7(void){
_start:
{
lean_object* v___x_320_; lean_object* v___x_321_; lean_object* v___x_322_; 
v___x_320_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6);
v___x_321_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4);
v___x_322_ = lean_string_append(v___x_321_, v___x_320_);
return v___x_322_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8(void){
_start:
{
lean_object* v___x_323_; lean_object* v___x_324_; lean_object* v___x_325_; 
v___x_323_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_324_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__7);
v___x_325_ = lean_string_append(v___x_324_, v___x_323_);
return v___x_325_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11(void){
_start:
{
uint8_t v___x_329_; lean_object* v___x_330_; lean_object* v___x_331_; 
v___x_329_ = 1;
v___x_330_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__10));
v___x_331_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_330_, v___x_329_);
return v___x_331_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12(void){
_start:
{
lean_object* v___x_332_; lean_object* v___x_333_; lean_object* v___x_334_; 
v___x_332_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__11);
v___x_333_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4);
v___x_334_ = lean_string_append(v___x_333_, v___x_332_);
return v___x_334_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13(void){
_start:
{
lean_object* v___x_335_; lean_object* v___x_336_; lean_object* v___x_337_; 
v___x_335_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_336_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__12);
v___x_337_ = lean_string_append(v___x_336_, v___x_335_);
return v___x_337_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16(void){
_start:
{
uint8_t v___x_341_; lean_object* v___x_342_; lean_object* v___x_343_; 
v___x_341_ = 1;
v___x_342_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__15));
v___x_343_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_342_, v___x_341_);
return v___x_343_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17(void){
_start:
{
lean_object* v___x_344_; lean_object* v___x_345_; lean_object* v___x_346_; 
v___x_344_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16);
v___x_345_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__4);
v___x_346_ = lean_string_append(v___x_345_, v___x_344_);
return v___x_346_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18(void){
_start:
{
lean_object* v___x_347_; lean_object* v___x_348_; lean_object* v___x_349_; 
v___x_347_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_348_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__17);
v___x_349_ = lean_string_append(v___x_348_, v___x_347_);
return v___x_349_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonSampleUnits_fromJson(lean_object* v_json_350_){
_start:
{
lean_object* v___x_351_; lean_object* v___x_352_; 
v___x_351_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0));
lean_inc(v_json_350_);
v___x_352_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_350_, v___x_351_);
if (lean_obj_tag(v___x_352_) == 0)
{
lean_object* v_a_353_; lean_object* v___x_355_; uint8_t v_isShared_356_; uint8_t v_isSharedCheck_362_; 
lean_dec(v_json_350_);
v_a_353_ = lean_ctor_get(v___x_352_, 0);
v_isSharedCheck_362_ = !lean_is_exclusive(v___x_352_);
if (v_isSharedCheck_362_ == 0)
{
v___x_355_ = v___x_352_;
v_isShared_356_ = v_isSharedCheck_362_;
goto v_resetjp_354_;
}
else
{
lean_inc(v_a_353_);
lean_dec(v___x_352_);
v___x_355_ = lean_box(0);
v_isShared_356_ = v_isSharedCheck_362_;
goto v_resetjp_354_;
}
v_resetjp_354_:
{
lean_object* v___x_357_; lean_object* v___x_358_; lean_object* v___x_360_; 
v___x_357_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__8);
v___x_358_ = lean_string_append(v___x_357_, v_a_353_);
lean_dec(v_a_353_);
if (v_isShared_356_ == 0)
{
lean_ctor_set(v___x_355_, 0, v___x_358_);
v___x_360_ = v___x_355_;
goto v_reusejp_359_;
}
else
{
lean_object* v_reuseFailAlloc_361_; 
v_reuseFailAlloc_361_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_361_, 0, v___x_358_);
v___x_360_ = v_reuseFailAlloc_361_;
goto v_reusejp_359_;
}
v_reusejp_359_:
{
return v___x_360_;
}
}
}
else
{
if (lean_obj_tag(v___x_352_) == 0)
{
lean_object* v_a_363_; lean_object* v___x_365_; uint8_t v_isShared_366_; uint8_t v_isSharedCheck_370_; 
lean_dec(v_json_350_);
v_a_363_ = lean_ctor_get(v___x_352_, 0);
v_isSharedCheck_370_ = !lean_is_exclusive(v___x_352_);
if (v_isSharedCheck_370_ == 0)
{
v___x_365_ = v___x_352_;
v_isShared_366_ = v_isSharedCheck_370_;
goto v_resetjp_364_;
}
else
{
lean_inc(v_a_363_);
lean_dec(v___x_352_);
v___x_365_ = lean_box(0);
v_isShared_366_ = v_isSharedCheck_370_;
goto v_resetjp_364_;
}
v_resetjp_364_:
{
lean_object* v___x_368_; 
if (v_isShared_366_ == 0)
{
lean_ctor_set_tag(v___x_365_, 0);
v___x_368_ = v___x_365_;
goto v_reusejp_367_;
}
else
{
lean_object* v_reuseFailAlloc_369_; 
v_reuseFailAlloc_369_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_369_, 0, v_a_363_);
v___x_368_ = v_reuseFailAlloc_369_;
goto v_reusejp_367_;
}
v_reusejp_367_:
{
return v___x_368_;
}
}
}
else
{
lean_object* v_a_371_; lean_object* v___x_372_; lean_object* v___x_373_; 
v_a_371_ = lean_ctor_get(v___x_352_, 0);
lean_inc(v_a_371_);
lean_dec_ref(v___x_352_);
v___x_372_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9));
lean_inc(v_json_350_);
v___x_373_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_350_, v___x_372_);
if (lean_obj_tag(v___x_373_) == 0)
{
lean_object* v_a_374_; lean_object* v___x_376_; uint8_t v_isShared_377_; uint8_t v_isSharedCheck_383_; 
lean_dec(v_a_371_);
lean_dec(v_json_350_);
v_a_374_ = lean_ctor_get(v___x_373_, 0);
v_isSharedCheck_383_ = !lean_is_exclusive(v___x_373_);
if (v_isSharedCheck_383_ == 0)
{
v___x_376_ = v___x_373_;
v_isShared_377_ = v_isSharedCheck_383_;
goto v_resetjp_375_;
}
else
{
lean_inc(v_a_374_);
lean_dec(v___x_373_);
v___x_376_ = lean_box(0);
v_isShared_377_ = v_isSharedCheck_383_;
goto v_resetjp_375_;
}
v_resetjp_375_:
{
lean_object* v___x_378_; lean_object* v___x_379_; lean_object* v___x_381_; 
v___x_378_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__13);
v___x_379_ = lean_string_append(v___x_378_, v_a_374_);
lean_dec(v_a_374_);
if (v_isShared_377_ == 0)
{
lean_ctor_set(v___x_376_, 0, v___x_379_);
v___x_381_ = v___x_376_;
goto v_reusejp_380_;
}
else
{
lean_object* v_reuseFailAlloc_382_; 
v_reuseFailAlloc_382_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_382_, 0, v___x_379_);
v___x_381_ = v_reuseFailAlloc_382_;
goto v_reusejp_380_;
}
v_reusejp_380_:
{
return v___x_381_;
}
}
}
else
{
if (lean_obj_tag(v___x_373_) == 0)
{
lean_object* v_a_384_; lean_object* v___x_386_; uint8_t v_isShared_387_; uint8_t v_isSharedCheck_391_; 
lean_dec(v_a_371_);
lean_dec(v_json_350_);
v_a_384_ = lean_ctor_get(v___x_373_, 0);
v_isSharedCheck_391_ = !lean_is_exclusive(v___x_373_);
if (v_isSharedCheck_391_ == 0)
{
v___x_386_ = v___x_373_;
v_isShared_387_ = v_isSharedCheck_391_;
goto v_resetjp_385_;
}
else
{
lean_inc(v_a_384_);
lean_dec(v___x_373_);
v___x_386_ = lean_box(0);
v_isShared_387_ = v_isSharedCheck_391_;
goto v_resetjp_385_;
}
v_resetjp_385_:
{
lean_object* v___x_389_; 
if (v_isShared_387_ == 0)
{
lean_ctor_set_tag(v___x_386_, 0);
v___x_389_ = v___x_386_;
goto v_reusejp_388_;
}
else
{
lean_object* v_reuseFailAlloc_390_; 
v_reuseFailAlloc_390_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_390_, 0, v_a_384_);
v___x_389_ = v_reuseFailAlloc_390_;
goto v_reusejp_388_;
}
v_reusejp_388_:
{
return v___x_389_;
}
}
}
else
{
lean_object* v_a_392_; lean_object* v___x_393_; lean_object* v___x_394_; 
v_a_392_ = lean_ctor_get(v___x_373_, 0);
lean_inc(v_a_392_);
lean_dec_ref(v___x_373_);
v___x_393_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14));
v___x_394_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_350_, v___x_393_);
if (lean_obj_tag(v___x_394_) == 0)
{
lean_object* v_a_395_; lean_object* v___x_397_; uint8_t v_isShared_398_; uint8_t v_isSharedCheck_404_; 
lean_dec(v_a_392_);
lean_dec(v_a_371_);
v_a_395_ = lean_ctor_get(v___x_394_, 0);
v_isSharedCheck_404_ = !lean_is_exclusive(v___x_394_);
if (v_isSharedCheck_404_ == 0)
{
v___x_397_ = v___x_394_;
v_isShared_398_ = v_isSharedCheck_404_;
goto v_resetjp_396_;
}
else
{
lean_inc(v_a_395_);
lean_dec(v___x_394_);
v___x_397_ = lean_box(0);
v_isShared_398_ = v_isSharedCheck_404_;
goto v_resetjp_396_;
}
v_resetjp_396_:
{
lean_object* v___x_399_; lean_object* v___x_400_; lean_object* v___x_402_; 
v___x_399_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__18);
v___x_400_ = lean_string_append(v___x_399_, v_a_395_);
lean_dec(v_a_395_);
if (v_isShared_398_ == 0)
{
lean_ctor_set(v___x_397_, 0, v___x_400_);
v___x_402_ = v___x_397_;
goto v_reusejp_401_;
}
else
{
lean_object* v_reuseFailAlloc_403_; 
v_reuseFailAlloc_403_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_403_, 0, v___x_400_);
v___x_402_ = v_reuseFailAlloc_403_;
goto v_reusejp_401_;
}
v_reusejp_401_:
{
return v___x_402_;
}
}
}
else
{
if (lean_obj_tag(v___x_394_) == 0)
{
lean_object* v_a_405_; lean_object* v___x_407_; uint8_t v_isShared_408_; uint8_t v_isSharedCheck_412_; 
lean_dec(v_a_392_);
lean_dec(v_a_371_);
v_a_405_ = lean_ctor_get(v___x_394_, 0);
v_isSharedCheck_412_ = !lean_is_exclusive(v___x_394_);
if (v_isSharedCheck_412_ == 0)
{
v___x_407_ = v___x_394_;
v_isShared_408_ = v_isSharedCheck_412_;
goto v_resetjp_406_;
}
else
{
lean_inc(v_a_405_);
lean_dec(v___x_394_);
v___x_407_ = lean_box(0);
v_isShared_408_ = v_isSharedCheck_412_;
goto v_resetjp_406_;
}
v_resetjp_406_:
{
lean_object* v___x_410_; 
if (v_isShared_408_ == 0)
{
lean_ctor_set_tag(v___x_407_, 0);
v___x_410_ = v___x_407_;
goto v_reusejp_409_;
}
else
{
lean_object* v_reuseFailAlloc_411_; 
v_reuseFailAlloc_411_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_411_, 0, v_a_405_);
v___x_410_ = v_reuseFailAlloc_411_;
goto v_reusejp_409_;
}
v_reusejp_409_:
{
return v___x_410_;
}
}
}
else
{
lean_object* v_a_413_; lean_object* v___x_415_; uint8_t v_isShared_416_; uint8_t v_isSharedCheck_421_; 
v_a_413_ = lean_ctor_get(v___x_394_, 0);
v_isSharedCheck_421_ = !lean_is_exclusive(v___x_394_);
if (v_isSharedCheck_421_ == 0)
{
v___x_415_ = v___x_394_;
v_isShared_416_ = v_isSharedCheck_421_;
goto v_resetjp_414_;
}
else
{
lean_inc(v_a_413_);
lean_dec(v___x_394_);
v___x_415_ = lean_box(0);
v_isShared_416_ = v_isSharedCheck_421_;
goto v_resetjp_414_;
}
v_resetjp_414_:
{
lean_object* v___x_417_; lean_object* v___x_419_; 
v___x_417_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_417_, 0, v_a_371_);
lean_ctor_set(v___x_417_, 1, v_a_392_);
lean_ctor_set(v___x_417_, 2, v_a_413_);
if (v_isShared_416_ == 0)
{
lean_ctor_set(v___x_415_, 0, v___x_417_);
v___x_419_ = v___x_415_;
goto v_reusejp_418_;
}
else
{
lean_object* v_reuseFailAlloc_420_; 
v_reuseFailAlloc_420_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_420_, 0, v___x_417_);
v___x_419_ = v_reuseFailAlloc_420_;
goto v_reusejp_418_;
}
v_reusejp_418_:
{
return v___x_419_;
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSampleUnits_toJson(lean_object* v_x_424_){
_start:
{
lean_object* v_time_425_; lean_object* v_eventDelay_426_; lean_object* v_threadCPUDelta_427_; lean_object* v___x_428_; lean_object* v___x_429_; lean_object* v___x_430_; lean_object* v___x_431_; lean_object* v___x_432_; lean_object* v___x_433_; lean_object* v___x_434_; lean_object* v___x_435_; lean_object* v___x_436_; lean_object* v___x_437_; lean_object* v___x_438_; lean_object* v___x_439_; lean_object* v___x_440_; lean_object* v___x_441_; lean_object* v___x_442_; lean_object* v___x_443_; lean_object* v___x_444_; lean_object* v___x_445_; lean_object* v___x_446_; 
v_time_425_ = lean_ctor_get(v_x_424_, 0);
v_eventDelay_426_ = lean_ctor_get(v_x_424_, 1);
v_threadCPUDelta_427_ = lean_ctor_get(v_x_424_, 2);
v___x_428_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0));
lean_inc_ref(v_time_425_);
v___x_429_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_429_, 0, v_time_425_);
v___x_430_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_430_, 0, v___x_428_);
lean_ctor_set(v___x_430_, 1, v___x_429_);
v___x_431_ = lean_box(0);
v___x_432_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_432_, 0, v___x_430_);
lean_ctor_set(v___x_432_, 1, v___x_431_);
v___x_433_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__9));
lean_inc_ref(v_eventDelay_426_);
v___x_434_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_434_, 0, v_eventDelay_426_);
v___x_435_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_435_, 0, v___x_433_);
lean_ctor_set(v___x_435_, 1, v___x_434_);
v___x_436_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_436_, 0, v___x_435_);
lean_ctor_set(v___x_436_, 1, v___x_431_);
v___x_437_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14));
lean_inc_ref(v_threadCPUDelta_427_);
v___x_438_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_438_, 0, v_threadCPUDelta_427_);
v___x_439_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_439_, 0, v___x_437_);
lean_ctor_set(v___x_439_, 1, v___x_438_);
v___x_440_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_440_, 0, v___x_439_);
lean_ctor_set(v___x_440_, 1, v___x_431_);
v___x_441_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_441_, 0, v___x_440_);
lean_ctor_set(v___x_441_, 1, v___x_431_);
v___x_442_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_442_, 0, v___x_436_);
lean_ctor_set(v___x_442_, 1, v___x_441_);
v___x_443_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_443_, 0, v___x_432_);
lean_ctor_set(v___x_443_, 1, v___x_442_);
v___x_444_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_445_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_443_, v___x_444_);
v___x_446_ = l_Lean_Json_mkObj(v___x_445_);
return v___x_446_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSampleUnits_toJson___boxed(lean_object* v_x_447_){
_start:
{
lean_object* v_res_448_; 
v_res_448_ = l_Lean_Firefox_instToJsonSampleUnits_toJson(v_x_447_);
lean_dec_ref(v_x_447_);
return v_res_448_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0(lean_object* v_j_451_, lean_object* v_k_452_){
_start:
{
lean_object* v___x_453_; lean_object* v___x_454_; 
v___x_453_ = l_Lean_Json_getObjValD(v_j_451_, v_k_452_);
v___x_454_ = l_Float_fromJson_x3f(v___x_453_);
if (lean_obj_tag(v___x_454_) == 0)
{
lean_object* v_a_455_; lean_object* v___x_457_; uint8_t v_isShared_458_; uint8_t v_isSharedCheck_462_; 
v_a_455_ = lean_ctor_get(v___x_454_, 0);
v_isSharedCheck_462_ = !lean_is_exclusive(v___x_454_);
if (v_isSharedCheck_462_ == 0)
{
v___x_457_ = v___x_454_;
v_isShared_458_ = v_isSharedCheck_462_;
goto v_resetjp_456_;
}
else
{
lean_inc(v_a_455_);
lean_dec(v___x_454_);
v___x_457_ = lean_box(0);
v_isShared_458_ = v_isSharedCheck_462_;
goto v_resetjp_456_;
}
v_resetjp_456_:
{
lean_object* v___x_460_; 
if (v_isShared_458_ == 0)
{
v___x_460_ = v___x_457_;
goto v_reusejp_459_;
}
else
{
lean_object* v_reuseFailAlloc_461_; 
v_reuseFailAlloc_461_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_461_, 0, v_a_455_);
v___x_460_ = v_reuseFailAlloc_461_;
goto v_reusejp_459_;
}
v_reusejp_459_:
{
return v___x_460_;
}
}
}
else
{
lean_object* v_a_463_; lean_object* v___x_465_; uint8_t v_isShared_466_; uint8_t v_isSharedCheck_470_; 
v_a_463_ = lean_ctor_get(v___x_454_, 0);
v_isSharedCheck_470_ = !lean_is_exclusive(v___x_454_);
if (v_isSharedCheck_470_ == 0)
{
v___x_465_ = v___x_454_;
v_isShared_466_ = v_isSharedCheck_470_;
goto v_resetjp_464_;
}
else
{
lean_inc(v_a_463_);
lean_dec(v___x_454_);
v___x_465_ = lean_box(0);
v_isShared_466_ = v_isSharedCheck_470_;
goto v_resetjp_464_;
}
v_resetjp_464_:
{
lean_object* v___x_468_; 
if (v_isShared_466_ == 0)
{
v___x_468_ = v___x_465_;
goto v_reusejp_467_;
}
else
{
lean_object* v_reuseFailAlloc_469_; 
v_reuseFailAlloc_469_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_469_, 0, v_a_463_);
v___x_468_ = v_reuseFailAlloc_469_;
goto v_reusejp_467_;
}
v_reusejp_467_:
{
return v___x_468_;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0___boxed(lean_object* v_j_471_, lean_object* v_k_472_){
_start:
{
lean_object* v_res_473_; 
v_res_473_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0(v_j_471_, v_k_472_);
lean_dec_ref(v_k_472_);
return v_res_473_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(lean_object* v_j_474_, lean_object* v_k_475_){
_start:
{
lean_object* v___x_476_; lean_object* v___x_477_; 
v___x_476_ = l_Lean_Json_getObjValD(v_j_474_, v_k_475_);
v___x_477_ = l_Lean_Json_getNat_x3f(v___x_476_);
return v___x_477_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2___boxed(lean_object* v_j_478_, lean_object* v_k_479_){
_start:
{
lean_object* v_res_480_; 
v_res_480_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_j_478_, v_k_479_);
lean_dec_ref(v_k_479_);
return v_res_480_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4(lean_object* v_j_481_, lean_object* v_k_482_){
_start:
{
lean_object* v___x_483_; lean_object* v___x_484_; 
v___x_483_ = l_Lean_Json_getObjValD(v_j_481_, v_k_482_);
v___x_484_ = l_Lean_Firefox_instFromJsonSampleUnits_fromJson(v___x_483_);
return v___x_484_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4___boxed(lean_object* v_j_485_, lean_object* v_k_486_){
_start:
{
lean_object* v_res_487_; 
v_res_487_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4(v_j_485_, v_k_486_);
lean_dec_ref(v_k_486_);
return v_res_487_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4(size_t v_sz_488_, size_t v_i_489_, lean_object* v_bs_490_){
_start:
{
uint8_t v___x_491_; 
v___x_491_ = lean_usize_dec_lt(v_i_489_, v_sz_488_);
if (v___x_491_ == 0)
{
lean_object* v___x_492_; 
v___x_492_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_492_, 0, v_bs_490_);
return v___x_492_;
}
else
{
lean_object* v_v_493_; lean_object* v___x_494_; 
v_v_493_ = lean_array_uget_borrowed(v_bs_490_, v_i_489_);
lean_inc(v_v_493_);
v___x_494_ = l_Lean_Firefox_instFromJsonCategory_fromJson(v_v_493_);
if (lean_obj_tag(v___x_494_) == 0)
{
lean_object* v_a_495_; lean_object* v___x_497_; uint8_t v_isShared_498_; uint8_t v_isSharedCheck_502_; 
lean_dec_ref(v_bs_490_);
v_a_495_ = lean_ctor_get(v___x_494_, 0);
v_isSharedCheck_502_ = !lean_is_exclusive(v___x_494_);
if (v_isSharedCheck_502_ == 0)
{
v___x_497_ = v___x_494_;
v_isShared_498_ = v_isSharedCheck_502_;
goto v_resetjp_496_;
}
else
{
lean_inc(v_a_495_);
lean_dec(v___x_494_);
v___x_497_ = lean_box(0);
v_isShared_498_ = v_isSharedCheck_502_;
goto v_resetjp_496_;
}
v_resetjp_496_:
{
lean_object* v___x_500_; 
if (v_isShared_498_ == 0)
{
v___x_500_ = v___x_497_;
goto v_reusejp_499_;
}
else
{
lean_object* v_reuseFailAlloc_501_; 
v_reuseFailAlloc_501_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_501_, 0, v_a_495_);
v___x_500_ = v_reuseFailAlloc_501_;
goto v_reusejp_499_;
}
v_reusejp_499_:
{
return v___x_500_;
}
}
}
else
{
lean_object* v_a_503_; lean_object* v___x_504_; lean_object* v_bs_x27_505_; size_t v___x_506_; size_t v___x_507_; lean_object* v___x_508_; 
v_a_503_ = lean_ctor_get(v___x_494_, 0);
lean_inc(v_a_503_);
lean_dec_ref(v___x_494_);
v___x_504_ = lean_unsigned_to_nat(0u);
v_bs_x27_505_ = lean_array_uset(v_bs_490_, v_i_489_, v___x_504_);
v___x_506_ = ((size_t)1ULL);
v___x_507_ = lean_usize_add(v_i_489_, v___x_506_);
v___x_508_ = lean_array_uset(v_bs_x27_505_, v_i_489_, v_a_503_);
v_i_489_ = v___x_507_;
v_bs_490_ = v___x_508_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4___boxed(lean_object* v_sz_510_, lean_object* v_i_511_, lean_object* v_bs_512_){
_start:
{
size_t v_sz_boxed_513_; size_t v_i_boxed_514_; lean_object* v_res_515_; 
v_sz_boxed_513_ = lean_unbox_usize(v_sz_510_);
lean_dec(v_sz_510_);
v_i_boxed_514_ = lean_unbox_usize(v_i_511_);
lean_dec(v_i_511_);
v_res_515_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4(v_sz_boxed_513_, v_i_boxed_514_, v_bs_512_);
return v_res_515_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1(lean_object* v_x_516_){
_start:
{
if (lean_obj_tag(v_x_516_) == 4)
{
lean_object* v_elems_517_; size_t v_sz_518_; size_t v___x_519_; lean_object* v___x_520_; 
v_elems_517_ = lean_ctor_get(v_x_516_, 0);
lean_inc_ref(v_elems_517_);
lean_dec_ref(v_x_516_);
v_sz_518_ = lean_array_size(v_elems_517_);
v___x_519_ = ((size_t)0ULL);
v___x_520_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1_spec__4(v_sz_518_, v___x_519_, v_elems_517_);
return v___x_520_;
}
else
{
lean_object* v___x_521_; lean_object* v___x_522_; lean_object* v___x_523_; lean_object* v___x_524_; lean_object* v___x_525_; lean_object* v___x_526_; lean_object* v___x_527_; 
v___x_521_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_522_ = lean_unsigned_to_nat(80u);
v___x_523_ = l_Lean_Json_pretty(v_x_516_, v___x_522_);
v___x_524_ = lean_string_append(v___x_521_, v___x_523_);
lean_dec_ref(v___x_523_);
v___x_525_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_526_ = lean_string_append(v___x_524_, v___x_525_);
v___x_527_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_527_, 0, v___x_526_);
return v___x_527_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1(lean_object* v_j_528_, lean_object* v_k_529_){
_start:
{
lean_object* v___x_530_; lean_object* v___x_531_; 
v___x_530_ = l_Lean_Json_getObjValD(v_j_528_, v_k_529_);
v___x_531_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1_spec__1(v___x_530_);
return v___x_531_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1___boxed(lean_object* v_j_532_, lean_object* v_k_533_){
_start:
{
lean_object* v_res_534_; 
v_res_534_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1(v_j_532_, v_k_533_);
lean_dec_ref(v_k_533_);
return v_res_534_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7(size_t v_sz_535_, size_t v_i_536_, lean_object* v_bs_537_){
_start:
{
uint8_t v___x_538_; 
v___x_538_ = lean_usize_dec_lt(v_i_536_, v_sz_535_);
if (v___x_538_ == 0)
{
lean_object* v___x_539_; 
v___x_539_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_539_, 0, v_bs_537_);
return v___x_539_;
}
else
{
lean_object* v_v_540_; lean_object* v___x_541_; lean_object* v_bs_x27_542_; size_t v___x_543_; size_t v___x_544_; lean_object* v___x_545_; 
v_v_540_ = lean_array_uget(v_bs_537_, v_i_536_);
v___x_541_ = lean_unsigned_to_nat(0u);
v_bs_x27_542_ = lean_array_uset(v_bs_537_, v_i_536_, v___x_541_);
v___x_543_ = ((size_t)1ULL);
v___x_544_ = lean_usize_add(v_i_536_, v___x_543_);
v___x_545_ = lean_array_uset(v_bs_x27_542_, v_i_536_, v_v_540_);
v_i_536_ = v___x_544_;
v_bs_537_ = v___x_545_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7___boxed(lean_object* v_sz_547_, lean_object* v_i_548_, lean_object* v_bs_549_){
_start:
{
size_t v_sz_boxed_550_; size_t v_i_boxed_551_; lean_object* v_res_552_; 
v_sz_boxed_550_ = lean_unbox_usize(v_sz_547_);
lean_dec(v_sz_547_);
v_i_boxed_551_ = lean_unbox_usize(v_i_548_);
lean_dec(v_i_548_);
v_res_552_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7(v_sz_boxed_550_, v_i_boxed_551_, v_bs_549_);
return v_res_552_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4(lean_object* v_x_553_){
_start:
{
if (lean_obj_tag(v_x_553_) == 4)
{
lean_object* v_elems_554_; size_t v_sz_555_; size_t v___x_556_; lean_object* v___x_557_; 
v_elems_554_ = lean_ctor_get(v_x_553_, 0);
lean_inc_ref(v_elems_554_);
lean_dec_ref(v_x_553_);
v_sz_555_ = lean_array_size(v_elems_554_);
v___x_556_ = ((size_t)0ULL);
v___x_557_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4_spec__7(v_sz_555_, v___x_556_, v_elems_554_);
return v___x_557_;
}
else
{
lean_object* v___x_558_; lean_object* v___x_559_; lean_object* v___x_560_; lean_object* v___x_561_; lean_object* v___x_562_; lean_object* v___x_563_; lean_object* v___x_564_; 
v___x_558_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_559_ = lean_unsigned_to_nat(80u);
v___x_560_ = l_Lean_Json_pretty(v_x_553_, v___x_559_);
v___x_561_ = lean_string_append(v___x_558_, v___x_560_);
lean_dec_ref(v___x_560_);
v___x_562_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_563_ = lean_string_append(v___x_561_, v___x_562_);
v___x_564_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_564_, 0, v___x_563_);
return v___x_564_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(lean_object* v_j_565_, lean_object* v_k_566_){
_start:
{
lean_object* v___x_567_; lean_object* v___x_568_; 
v___x_567_ = l_Lean_Json_getObjValD(v_j_565_, v_k_566_);
v___x_568_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3_spec__4(v___x_567_);
return v___x_568_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3___boxed(lean_object* v_j_569_, lean_object* v_k_570_){
_start:
{
lean_object* v_res_571_; 
v_res_571_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_j_569_, v_k_570_);
lean_dec_ref(v_k_570_);
return v_res_571_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3(void){
_start:
{
uint8_t v___x_578_; lean_object* v___x_579_; lean_object* v___x_580_; 
v___x_578_ = 1;
v___x_579_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__2));
v___x_580_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_579_, v___x_578_);
return v___x_580_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4(void){
_start:
{
lean_object* v___x_581_; lean_object* v___x_582_; lean_object* v___x_583_; 
v___x_581_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_582_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__3);
v___x_583_ = lean_string_append(v___x_582_, v___x_581_);
return v___x_583_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6(void){
_start:
{
uint8_t v___x_586_; lean_object* v___x_587_; lean_object* v___x_588_; 
v___x_586_ = 1;
v___x_587_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__5));
v___x_588_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_587_, v___x_586_);
return v___x_588_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7(void){
_start:
{
lean_object* v___x_589_; lean_object* v___x_590_; lean_object* v___x_591_; 
v___x_589_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__6);
v___x_590_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_591_ = lean_string_append(v___x_590_, v___x_589_);
return v___x_591_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8(void){
_start:
{
lean_object* v___x_592_; lean_object* v___x_593_; lean_object* v___x_594_; 
v___x_592_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_593_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__7);
v___x_594_ = lean_string_append(v___x_593_, v___x_592_);
return v___x_594_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11(void){
_start:
{
uint8_t v___x_598_; lean_object* v___x_599_; lean_object* v___x_600_; 
v___x_598_ = 1;
v___x_599_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__10));
v___x_600_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_599_, v___x_598_);
return v___x_600_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12(void){
_start:
{
lean_object* v___x_601_; lean_object* v___x_602_; lean_object* v___x_603_; 
v___x_601_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__11);
v___x_602_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_603_ = lean_string_append(v___x_602_, v___x_601_);
return v___x_603_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13(void){
_start:
{
lean_object* v___x_604_; lean_object* v___x_605_; lean_object* v___x_606_; 
v___x_604_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_605_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__12);
v___x_606_ = lean_string_append(v___x_605_, v___x_604_);
return v___x_606_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16(void){
_start:
{
uint8_t v___x_610_; lean_object* v___x_611_; lean_object* v___x_612_; 
v___x_610_ = 1;
v___x_611_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__15));
v___x_612_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_611_, v___x_610_);
return v___x_612_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17(void){
_start:
{
lean_object* v___x_613_; lean_object* v___x_614_; lean_object* v___x_615_; 
v___x_613_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__16);
v___x_614_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_615_ = lean_string_append(v___x_614_, v___x_613_);
return v___x_615_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18(void){
_start:
{
lean_object* v___x_616_; lean_object* v___x_617_; lean_object* v___x_618_; 
v___x_616_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_617_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__17);
v___x_618_ = lean_string_append(v___x_617_, v___x_616_);
return v___x_618_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21(void){
_start:
{
uint8_t v___x_622_; lean_object* v___x_623_; lean_object* v___x_624_; 
v___x_622_ = 1;
v___x_623_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__20));
v___x_624_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_623_, v___x_622_);
return v___x_624_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22(void){
_start:
{
lean_object* v___x_625_; lean_object* v___x_626_; lean_object* v___x_627_; 
v___x_625_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21);
v___x_626_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_627_ = lean_string_append(v___x_626_, v___x_625_);
return v___x_627_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23(void){
_start:
{
lean_object* v___x_628_; lean_object* v___x_629_; lean_object* v___x_630_; 
v___x_628_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_629_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__22);
v___x_630_ = lean_string_append(v___x_629_, v___x_628_);
return v___x_630_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26(void){
_start:
{
uint8_t v___x_634_; lean_object* v___x_635_; lean_object* v___x_636_; 
v___x_634_ = 1;
v___x_635_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__25));
v___x_636_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_635_, v___x_634_);
return v___x_636_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27(void){
_start:
{
lean_object* v___x_637_; lean_object* v___x_638_; lean_object* v___x_639_; 
v___x_637_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__26);
v___x_638_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_639_ = lean_string_append(v___x_638_, v___x_637_);
return v___x_639_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28(void){
_start:
{
lean_object* v___x_640_; lean_object* v___x_641_; lean_object* v___x_642_; 
v___x_640_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_641_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__27);
v___x_642_ = lean_string_append(v___x_641_, v___x_640_);
return v___x_642_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31(void){
_start:
{
uint8_t v___x_646_; lean_object* v___x_647_; lean_object* v___x_648_; 
v___x_646_ = 1;
v___x_647_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__30));
v___x_648_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_647_, v___x_646_);
return v___x_648_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32(void){
_start:
{
lean_object* v___x_649_; lean_object* v___x_650_; lean_object* v___x_651_; 
v___x_649_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__31);
v___x_650_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_651_ = lean_string_append(v___x_650_, v___x_649_);
return v___x_651_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33(void){
_start:
{
lean_object* v___x_652_; lean_object* v___x_653_; lean_object* v___x_654_; 
v___x_652_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_653_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__32);
v___x_654_ = lean_string_append(v___x_653_, v___x_652_);
return v___x_654_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36(void){
_start:
{
uint8_t v___x_658_; lean_object* v___x_659_; lean_object* v___x_660_; 
v___x_658_ = 1;
v___x_659_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__35));
v___x_660_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_659_, v___x_658_);
return v___x_660_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37(void){
_start:
{
lean_object* v___x_661_; lean_object* v___x_662_; lean_object* v___x_663_; 
v___x_661_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__36);
v___x_662_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_663_ = lean_string_append(v___x_662_, v___x_661_);
return v___x_663_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38(void){
_start:
{
lean_object* v___x_664_; lean_object* v___x_665_; lean_object* v___x_666_; 
v___x_664_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_665_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__37);
v___x_666_ = lean_string_append(v___x_665_, v___x_664_);
return v___x_666_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41(void){
_start:
{
uint8_t v___x_670_; lean_object* v___x_671_; lean_object* v___x_672_; 
v___x_670_ = 1;
v___x_671_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__40));
v___x_672_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_671_, v___x_670_);
return v___x_672_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42(void){
_start:
{
lean_object* v___x_673_; lean_object* v___x_674_; lean_object* v___x_675_; 
v___x_673_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__41);
v___x_674_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__4);
v___x_675_ = lean_string_append(v___x_674_, v___x_673_);
return v___x_675_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43(void){
_start:
{
lean_object* v___x_676_; lean_object* v___x_677_; lean_object* v___x_678_; 
v___x_676_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_677_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__42);
v___x_678_ = lean_string_append(v___x_677_, v___x_676_);
return v___x_678_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonProfileMeta_fromJson(lean_object* v_json_679_){
_start:
{
lean_object* v___x_680_; lean_object* v___x_681_; 
v___x_680_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0));
lean_inc(v_json_679_);
v___x_681_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0(v_json_679_, v___x_680_);
if (lean_obj_tag(v___x_681_) == 0)
{
lean_object* v_a_682_; lean_object* v___x_684_; uint8_t v_isShared_685_; uint8_t v_isSharedCheck_691_; 
lean_dec(v_json_679_);
v_a_682_ = lean_ctor_get(v___x_681_, 0);
v_isSharedCheck_691_ = !lean_is_exclusive(v___x_681_);
if (v_isSharedCheck_691_ == 0)
{
v___x_684_ = v___x_681_;
v_isShared_685_ = v_isSharedCheck_691_;
goto v_resetjp_683_;
}
else
{
lean_inc(v_a_682_);
lean_dec(v___x_681_);
v___x_684_ = lean_box(0);
v_isShared_685_ = v_isSharedCheck_691_;
goto v_resetjp_683_;
}
v_resetjp_683_:
{
lean_object* v___x_686_; lean_object* v___x_687_; lean_object* v___x_689_; 
v___x_686_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__8);
v___x_687_ = lean_string_append(v___x_686_, v_a_682_);
lean_dec(v_a_682_);
if (v_isShared_685_ == 0)
{
lean_ctor_set(v___x_684_, 0, v___x_687_);
v___x_689_ = v___x_684_;
goto v_reusejp_688_;
}
else
{
lean_object* v_reuseFailAlloc_690_; 
v_reuseFailAlloc_690_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_690_, 0, v___x_687_);
v___x_689_ = v_reuseFailAlloc_690_;
goto v_reusejp_688_;
}
v_reusejp_688_:
{
return v___x_689_;
}
}
}
else
{
if (lean_obj_tag(v___x_681_) == 0)
{
lean_object* v_a_692_; lean_object* v___x_694_; uint8_t v_isShared_695_; uint8_t v_isSharedCheck_699_; 
lean_dec(v_json_679_);
v_a_692_ = lean_ctor_get(v___x_681_, 0);
v_isSharedCheck_699_ = !lean_is_exclusive(v___x_681_);
if (v_isSharedCheck_699_ == 0)
{
v___x_694_ = v___x_681_;
v_isShared_695_ = v_isSharedCheck_699_;
goto v_resetjp_693_;
}
else
{
lean_inc(v_a_692_);
lean_dec(v___x_681_);
v___x_694_ = lean_box(0);
v_isShared_695_ = v_isSharedCheck_699_;
goto v_resetjp_693_;
}
v_resetjp_693_:
{
lean_object* v___x_697_; 
if (v_isShared_695_ == 0)
{
lean_ctor_set_tag(v___x_694_, 0);
v___x_697_ = v___x_694_;
goto v_reusejp_696_;
}
else
{
lean_object* v_reuseFailAlloc_698_; 
v_reuseFailAlloc_698_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_698_, 0, v_a_692_);
v___x_697_ = v_reuseFailAlloc_698_;
goto v_reusejp_696_;
}
v_reusejp_696_:
{
return v___x_697_;
}
}
}
else
{
lean_object* v_a_700_; lean_object* v___x_701_; lean_object* v___x_702_; 
v_a_700_ = lean_ctor_get(v___x_681_, 0);
lean_inc(v_a_700_);
lean_dec_ref(v___x_681_);
v___x_701_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9));
lean_inc(v_json_679_);
v___x_702_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__0(v_json_679_, v___x_701_);
if (lean_obj_tag(v___x_702_) == 0)
{
lean_object* v_a_703_; lean_object* v___x_705_; uint8_t v_isShared_706_; uint8_t v_isSharedCheck_712_; 
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_703_ = lean_ctor_get(v___x_702_, 0);
v_isSharedCheck_712_ = !lean_is_exclusive(v___x_702_);
if (v_isSharedCheck_712_ == 0)
{
v___x_705_ = v___x_702_;
v_isShared_706_ = v_isSharedCheck_712_;
goto v_resetjp_704_;
}
else
{
lean_inc(v_a_703_);
lean_dec(v___x_702_);
v___x_705_ = lean_box(0);
v_isShared_706_ = v_isSharedCheck_712_;
goto v_resetjp_704_;
}
v_resetjp_704_:
{
lean_object* v___x_707_; lean_object* v___x_708_; lean_object* v___x_710_; 
v___x_707_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__13);
v___x_708_ = lean_string_append(v___x_707_, v_a_703_);
lean_dec(v_a_703_);
if (v_isShared_706_ == 0)
{
lean_ctor_set(v___x_705_, 0, v___x_708_);
v___x_710_ = v___x_705_;
goto v_reusejp_709_;
}
else
{
lean_object* v_reuseFailAlloc_711_; 
v_reuseFailAlloc_711_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_711_, 0, v___x_708_);
v___x_710_ = v_reuseFailAlloc_711_;
goto v_reusejp_709_;
}
v_reusejp_709_:
{
return v___x_710_;
}
}
}
else
{
if (lean_obj_tag(v___x_702_) == 0)
{
lean_object* v_a_713_; lean_object* v___x_715_; uint8_t v_isShared_716_; uint8_t v_isSharedCheck_720_; 
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_713_ = lean_ctor_get(v___x_702_, 0);
v_isSharedCheck_720_ = !lean_is_exclusive(v___x_702_);
if (v_isSharedCheck_720_ == 0)
{
v___x_715_ = v___x_702_;
v_isShared_716_ = v_isSharedCheck_720_;
goto v_resetjp_714_;
}
else
{
lean_inc(v_a_713_);
lean_dec(v___x_702_);
v___x_715_ = lean_box(0);
v_isShared_716_ = v_isSharedCheck_720_;
goto v_resetjp_714_;
}
v_resetjp_714_:
{
lean_object* v___x_718_; 
if (v_isShared_716_ == 0)
{
lean_ctor_set_tag(v___x_715_, 0);
v___x_718_ = v___x_715_;
goto v_reusejp_717_;
}
else
{
lean_object* v_reuseFailAlloc_719_; 
v_reuseFailAlloc_719_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_719_, 0, v_a_713_);
v___x_718_ = v_reuseFailAlloc_719_;
goto v_reusejp_717_;
}
v_reusejp_717_:
{
return v___x_718_;
}
}
}
else
{
lean_object* v_a_721_; lean_object* v___x_722_; lean_object* v___x_723_; 
v_a_721_ = lean_ctor_get(v___x_702_, 0);
lean_inc(v_a_721_);
lean_dec_ref(v___x_702_);
v___x_722_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14));
lean_inc(v_json_679_);
v___x_723_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__1(v_json_679_, v___x_722_);
if (lean_obj_tag(v___x_723_) == 0)
{
lean_object* v_a_724_; lean_object* v___x_726_; uint8_t v_isShared_727_; uint8_t v_isSharedCheck_733_; 
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_724_ = lean_ctor_get(v___x_723_, 0);
v_isSharedCheck_733_ = !lean_is_exclusive(v___x_723_);
if (v_isSharedCheck_733_ == 0)
{
v___x_726_ = v___x_723_;
v_isShared_727_ = v_isSharedCheck_733_;
goto v_resetjp_725_;
}
else
{
lean_inc(v_a_724_);
lean_dec(v___x_723_);
v___x_726_ = lean_box(0);
v_isShared_727_ = v_isSharedCheck_733_;
goto v_resetjp_725_;
}
v_resetjp_725_:
{
lean_object* v___x_728_; lean_object* v___x_729_; lean_object* v___x_731_; 
v___x_728_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__18);
v___x_729_ = lean_string_append(v___x_728_, v_a_724_);
lean_dec(v_a_724_);
if (v_isShared_727_ == 0)
{
lean_ctor_set(v___x_726_, 0, v___x_729_);
v___x_731_ = v___x_726_;
goto v_reusejp_730_;
}
else
{
lean_object* v_reuseFailAlloc_732_; 
v_reuseFailAlloc_732_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_732_, 0, v___x_729_);
v___x_731_ = v_reuseFailAlloc_732_;
goto v_reusejp_730_;
}
v_reusejp_730_:
{
return v___x_731_;
}
}
}
else
{
if (lean_obj_tag(v___x_723_) == 0)
{
lean_object* v_a_734_; lean_object* v___x_736_; uint8_t v_isShared_737_; uint8_t v_isSharedCheck_741_; 
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_734_ = lean_ctor_get(v___x_723_, 0);
v_isSharedCheck_741_ = !lean_is_exclusive(v___x_723_);
if (v_isSharedCheck_741_ == 0)
{
v___x_736_ = v___x_723_;
v_isShared_737_ = v_isSharedCheck_741_;
goto v_resetjp_735_;
}
else
{
lean_inc(v_a_734_);
lean_dec(v___x_723_);
v___x_736_ = lean_box(0);
v_isShared_737_ = v_isSharedCheck_741_;
goto v_resetjp_735_;
}
v_resetjp_735_:
{
lean_object* v___x_739_; 
if (v_isShared_737_ == 0)
{
lean_ctor_set_tag(v___x_736_, 0);
v___x_739_ = v___x_736_;
goto v_reusejp_738_;
}
else
{
lean_object* v_reuseFailAlloc_740_; 
v_reuseFailAlloc_740_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_740_, 0, v_a_734_);
v___x_739_ = v_reuseFailAlloc_740_;
goto v_reusejp_738_;
}
v_reusejp_738_:
{
return v___x_739_;
}
}
}
else
{
lean_object* v_a_742_; lean_object* v___x_743_; lean_object* v___x_744_; 
v_a_742_ = lean_ctor_get(v___x_723_, 0);
lean_inc(v_a_742_);
lean_dec_ref(v___x_723_);
v___x_743_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19));
lean_inc(v_json_679_);
v___x_744_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_679_, v___x_743_);
if (lean_obj_tag(v___x_744_) == 0)
{
lean_object* v_a_745_; lean_object* v___x_747_; uint8_t v_isShared_748_; uint8_t v_isSharedCheck_754_; 
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_745_ = lean_ctor_get(v___x_744_, 0);
v_isSharedCheck_754_ = !lean_is_exclusive(v___x_744_);
if (v_isSharedCheck_754_ == 0)
{
v___x_747_ = v___x_744_;
v_isShared_748_ = v_isSharedCheck_754_;
goto v_resetjp_746_;
}
else
{
lean_inc(v_a_745_);
lean_dec(v___x_744_);
v___x_747_ = lean_box(0);
v_isShared_748_ = v_isSharedCheck_754_;
goto v_resetjp_746_;
}
v_resetjp_746_:
{
lean_object* v___x_749_; lean_object* v___x_750_; lean_object* v___x_752_; 
v___x_749_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__23);
v___x_750_ = lean_string_append(v___x_749_, v_a_745_);
lean_dec(v_a_745_);
if (v_isShared_748_ == 0)
{
lean_ctor_set(v___x_747_, 0, v___x_750_);
v___x_752_ = v___x_747_;
goto v_reusejp_751_;
}
else
{
lean_object* v_reuseFailAlloc_753_; 
v_reuseFailAlloc_753_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_753_, 0, v___x_750_);
v___x_752_ = v_reuseFailAlloc_753_;
goto v_reusejp_751_;
}
v_reusejp_751_:
{
return v___x_752_;
}
}
}
else
{
if (lean_obj_tag(v___x_744_) == 0)
{
lean_object* v_a_755_; lean_object* v___x_757_; uint8_t v_isShared_758_; uint8_t v_isSharedCheck_762_; 
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_755_ = lean_ctor_get(v___x_744_, 0);
v_isSharedCheck_762_ = !lean_is_exclusive(v___x_744_);
if (v_isSharedCheck_762_ == 0)
{
v___x_757_ = v___x_744_;
v_isShared_758_ = v_isSharedCheck_762_;
goto v_resetjp_756_;
}
else
{
lean_inc(v_a_755_);
lean_dec(v___x_744_);
v___x_757_ = lean_box(0);
v_isShared_758_ = v_isSharedCheck_762_;
goto v_resetjp_756_;
}
v_resetjp_756_:
{
lean_object* v___x_760_; 
if (v_isShared_758_ == 0)
{
lean_ctor_set_tag(v___x_757_, 0);
v___x_760_ = v___x_757_;
goto v_reusejp_759_;
}
else
{
lean_object* v_reuseFailAlloc_761_; 
v_reuseFailAlloc_761_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_761_, 0, v_a_755_);
v___x_760_ = v_reuseFailAlloc_761_;
goto v_reusejp_759_;
}
v_reusejp_759_:
{
return v___x_760_;
}
}
}
else
{
lean_object* v_a_763_; lean_object* v___x_764_; lean_object* v___x_765_; 
v_a_763_ = lean_ctor_get(v___x_744_, 0);
lean_inc(v_a_763_);
lean_dec_ref(v___x_744_);
v___x_764_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24));
lean_inc(v_json_679_);
v___x_765_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_679_, v___x_764_);
if (lean_obj_tag(v___x_765_) == 0)
{
lean_object* v_a_766_; lean_object* v___x_768_; uint8_t v_isShared_769_; uint8_t v_isSharedCheck_775_; 
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_766_ = lean_ctor_get(v___x_765_, 0);
v_isSharedCheck_775_ = !lean_is_exclusive(v___x_765_);
if (v_isSharedCheck_775_ == 0)
{
v___x_768_ = v___x_765_;
v_isShared_769_ = v_isSharedCheck_775_;
goto v_resetjp_767_;
}
else
{
lean_inc(v_a_766_);
lean_dec(v___x_765_);
v___x_768_ = lean_box(0);
v_isShared_769_ = v_isSharedCheck_775_;
goto v_resetjp_767_;
}
v_resetjp_767_:
{
lean_object* v___x_770_; lean_object* v___x_771_; lean_object* v___x_773_; 
v___x_770_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__28);
v___x_771_ = lean_string_append(v___x_770_, v_a_766_);
lean_dec(v_a_766_);
if (v_isShared_769_ == 0)
{
lean_ctor_set(v___x_768_, 0, v___x_771_);
v___x_773_ = v___x_768_;
goto v_reusejp_772_;
}
else
{
lean_object* v_reuseFailAlloc_774_; 
v_reuseFailAlloc_774_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_774_, 0, v___x_771_);
v___x_773_ = v_reuseFailAlloc_774_;
goto v_reusejp_772_;
}
v_reusejp_772_:
{
return v___x_773_;
}
}
}
else
{
if (lean_obj_tag(v___x_765_) == 0)
{
lean_object* v_a_776_; lean_object* v___x_778_; uint8_t v_isShared_779_; uint8_t v_isSharedCheck_783_; 
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_776_ = lean_ctor_get(v___x_765_, 0);
v_isSharedCheck_783_ = !lean_is_exclusive(v___x_765_);
if (v_isSharedCheck_783_ == 0)
{
v___x_778_ = v___x_765_;
v_isShared_779_ = v_isSharedCheck_783_;
goto v_resetjp_777_;
}
else
{
lean_inc(v_a_776_);
lean_dec(v___x_765_);
v___x_778_ = lean_box(0);
v_isShared_779_ = v_isSharedCheck_783_;
goto v_resetjp_777_;
}
v_resetjp_777_:
{
lean_object* v___x_781_; 
if (v_isShared_779_ == 0)
{
lean_ctor_set_tag(v___x_778_, 0);
v___x_781_ = v___x_778_;
goto v_reusejp_780_;
}
else
{
lean_object* v_reuseFailAlloc_782_; 
v_reuseFailAlloc_782_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_782_, 0, v_a_776_);
v___x_781_ = v_reuseFailAlloc_782_;
goto v_reusejp_780_;
}
v_reusejp_780_:
{
return v___x_781_;
}
}
}
else
{
lean_object* v_a_784_; lean_object* v___x_785_; lean_object* v___x_786_; 
v_a_784_ = lean_ctor_get(v___x_765_, 0);
lean_inc(v_a_784_);
lean_dec_ref(v___x_765_);
v___x_785_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29));
lean_inc(v_json_679_);
v___x_786_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_679_, v___x_785_);
if (lean_obj_tag(v___x_786_) == 0)
{
lean_object* v_a_787_; lean_object* v___x_789_; uint8_t v_isShared_790_; uint8_t v_isSharedCheck_796_; 
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_787_ = lean_ctor_get(v___x_786_, 0);
v_isSharedCheck_796_ = !lean_is_exclusive(v___x_786_);
if (v_isSharedCheck_796_ == 0)
{
v___x_789_ = v___x_786_;
v_isShared_790_ = v_isSharedCheck_796_;
goto v_resetjp_788_;
}
else
{
lean_inc(v_a_787_);
lean_dec(v___x_786_);
v___x_789_ = lean_box(0);
v_isShared_790_ = v_isSharedCheck_796_;
goto v_resetjp_788_;
}
v_resetjp_788_:
{
lean_object* v___x_791_; lean_object* v___x_792_; lean_object* v___x_794_; 
v___x_791_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__33);
v___x_792_ = lean_string_append(v___x_791_, v_a_787_);
lean_dec(v_a_787_);
if (v_isShared_790_ == 0)
{
lean_ctor_set(v___x_789_, 0, v___x_792_);
v___x_794_ = v___x_789_;
goto v_reusejp_793_;
}
else
{
lean_object* v_reuseFailAlloc_795_; 
v_reuseFailAlloc_795_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_795_, 0, v___x_792_);
v___x_794_ = v_reuseFailAlloc_795_;
goto v_reusejp_793_;
}
v_reusejp_793_:
{
return v___x_794_;
}
}
}
else
{
if (lean_obj_tag(v___x_786_) == 0)
{
lean_object* v_a_797_; lean_object* v___x_799_; uint8_t v_isShared_800_; uint8_t v_isSharedCheck_804_; 
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_797_ = lean_ctor_get(v___x_786_, 0);
v_isSharedCheck_804_ = !lean_is_exclusive(v___x_786_);
if (v_isSharedCheck_804_ == 0)
{
v___x_799_ = v___x_786_;
v_isShared_800_ = v_isSharedCheck_804_;
goto v_resetjp_798_;
}
else
{
lean_inc(v_a_797_);
lean_dec(v___x_786_);
v___x_799_ = lean_box(0);
v_isShared_800_ = v_isSharedCheck_804_;
goto v_resetjp_798_;
}
v_resetjp_798_:
{
lean_object* v___x_802_; 
if (v_isShared_800_ == 0)
{
lean_ctor_set_tag(v___x_799_, 0);
v___x_802_ = v___x_799_;
goto v_reusejp_801_;
}
else
{
lean_object* v_reuseFailAlloc_803_; 
v_reuseFailAlloc_803_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_803_, 0, v_a_797_);
v___x_802_ = v_reuseFailAlloc_803_;
goto v_reusejp_801_;
}
v_reusejp_801_:
{
return v___x_802_;
}
}
}
else
{
lean_object* v_a_805_; lean_object* v___x_806_; lean_object* v___x_807_; 
v_a_805_ = lean_ctor_get(v___x_786_, 0);
lean_inc(v_a_805_);
lean_dec_ref(v___x_786_);
v___x_806_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34));
lean_inc(v_json_679_);
v___x_807_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_679_, v___x_806_);
if (lean_obj_tag(v___x_807_) == 0)
{
lean_object* v_a_808_; lean_object* v___x_810_; uint8_t v_isShared_811_; uint8_t v_isSharedCheck_817_; 
lean_dec(v_a_805_);
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_808_ = lean_ctor_get(v___x_807_, 0);
v_isSharedCheck_817_ = !lean_is_exclusive(v___x_807_);
if (v_isSharedCheck_817_ == 0)
{
v___x_810_ = v___x_807_;
v_isShared_811_ = v_isSharedCheck_817_;
goto v_resetjp_809_;
}
else
{
lean_inc(v_a_808_);
lean_dec(v___x_807_);
v___x_810_ = lean_box(0);
v_isShared_811_ = v_isSharedCheck_817_;
goto v_resetjp_809_;
}
v_resetjp_809_:
{
lean_object* v___x_812_; lean_object* v___x_813_; lean_object* v___x_815_; 
v___x_812_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__38);
v___x_813_ = lean_string_append(v___x_812_, v_a_808_);
lean_dec(v_a_808_);
if (v_isShared_811_ == 0)
{
lean_ctor_set(v___x_810_, 0, v___x_813_);
v___x_815_ = v___x_810_;
goto v_reusejp_814_;
}
else
{
lean_object* v_reuseFailAlloc_816_; 
v_reuseFailAlloc_816_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_816_, 0, v___x_813_);
v___x_815_ = v_reuseFailAlloc_816_;
goto v_reusejp_814_;
}
v_reusejp_814_:
{
return v___x_815_;
}
}
}
else
{
if (lean_obj_tag(v___x_807_) == 0)
{
lean_object* v_a_818_; lean_object* v___x_820_; uint8_t v_isShared_821_; uint8_t v_isSharedCheck_825_; 
lean_dec(v_a_805_);
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
lean_dec(v_json_679_);
v_a_818_ = lean_ctor_get(v___x_807_, 0);
v_isSharedCheck_825_ = !lean_is_exclusive(v___x_807_);
if (v_isSharedCheck_825_ == 0)
{
v___x_820_ = v___x_807_;
v_isShared_821_ = v_isSharedCheck_825_;
goto v_resetjp_819_;
}
else
{
lean_inc(v_a_818_);
lean_dec(v___x_807_);
v___x_820_ = lean_box(0);
v_isShared_821_ = v_isSharedCheck_825_;
goto v_resetjp_819_;
}
v_resetjp_819_:
{
lean_object* v___x_823_; 
if (v_isShared_821_ == 0)
{
lean_ctor_set_tag(v___x_820_, 0);
v___x_823_ = v___x_820_;
goto v_reusejp_822_;
}
else
{
lean_object* v_reuseFailAlloc_824_; 
v_reuseFailAlloc_824_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_824_, 0, v_a_818_);
v___x_823_ = v_reuseFailAlloc_824_;
goto v_reusejp_822_;
}
v_reusejp_822_:
{
return v___x_823_;
}
}
}
else
{
lean_object* v_a_826_; lean_object* v___x_827_; lean_object* v___x_828_; 
v_a_826_ = lean_ctor_get(v___x_807_, 0);
lean_inc(v_a_826_);
lean_dec_ref(v___x_807_);
v___x_827_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39));
v___x_828_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__4(v_json_679_, v___x_827_);
if (lean_obj_tag(v___x_828_) == 0)
{
lean_object* v_a_829_; lean_object* v___x_831_; uint8_t v_isShared_832_; uint8_t v_isSharedCheck_838_; 
lean_dec(v_a_826_);
lean_dec(v_a_805_);
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
v_a_829_ = lean_ctor_get(v___x_828_, 0);
v_isSharedCheck_838_ = !lean_is_exclusive(v___x_828_);
if (v_isSharedCheck_838_ == 0)
{
v___x_831_ = v___x_828_;
v_isShared_832_ = v_isSharedCheck_838_;
goto v_resetjp_830_;
}
else
{
lean_inc(v_a_829_);
lean_dec(v___x_828_);
v___x_831_ = lean_box(0);
v_isShared_832_ = v_isSharedCheck_838_;
goto v_resetjp_830_;
}
v_resetjp_830_:
{
lean_object* v___x_833_; lean_object* v___x_834_; lean_object* v___x_836_; 
v___x_833_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__43);
v___x_834_ = lean_string_append(v___x_833_, v_a_829_);
lean_dec(v_a_829_);
if (v_isShared_832_ == 0)
{
lean_ctor_set(v___x_831_, 0, v___x_834_);
v___x_836_ = v___x_831_;
goto v_reusejp_835_;
}
else
{
lean_object* v_reuseFailAlloc_837_; 
v_reuseFailAlloc_837_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_837_, 0, v___x_834_);
v___x_836_ = v_reuseFailAlloc_837_;
goto v_reusejp_835_;
}
v_reusejp_835_:
{
return v___x_836_;
}
}
}
else
{
if (lean_obj_tag(v___x_828_) == 0)
{
lean_object* v_a_839_; lean_object* v___x_841_; uint8_t v_isShared_842_; uint8_t v_isSharedCheck_846_; 
lean_dec(v_a_826_);
lean_dec(v_a_805_);
lean_dec(v_a_784_);
lean_dec(v_a_763_);
lean_dec(v_a_742_);
lean_dec(v_a_721_);
lean_dec(v_a_700_);
v_a_839_ = lean_ctor_get(v___x_828_, 0);
v_isSharedCheck_846_ = !lean_is_exclusive(v___x_828_);
if (v_isSharedCheck_846_ == 0)
{
v___x_841_ = v___x_828_;
v_isShared_842_ = v_isSharedCheck_846_;
goto v_resetjp_840_;
}
else
{
lean_inc(v_a_839_);
lean_dec(v___x_828_);
v___x_841_ = lean_box(0);
v_isShared_842_ = v_isSharedCheck_846_;
goto v_resetjp_840_;
}
v_resetjp_840_:
{
lean_object* v___x_844_; 
if (v_isShared_842_ == 0)
{
lean_ctor_set_tag(v___x_841_, 0);
v___x_844_ = v___x_841_;
goto v_reusejp_843_;
}
else
{
lean_object* v_reuseFailAlloc_845_; 
v_reuseFailAlloc_845_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_845_, 0, v_a_839_);
v___x_844_ = v_reuseFailAlloc_845_;
goto v_reusejp_843_;
}
v_reusejp_843_:
{
return v___x_844_;
}
}
}
else
{
lean_object* v_a_847_; lean_object* v___x_849_; uint8_t v_isShared_850_; uint8_t v_isSharedCheck_857_; 
v_a_847_ = lean_ctor_get(v___x_828_, 0);
v_isSharedCheck_857_ = !lean_is_exclusive(v___x_828_);
if (v_isSharedCheck_857_ == 0)
{
v___x_849_ = v___x_828_;
v_isShared_850_ = v_isSharedCheck_857_;
goto v_resetjp_848_;
}
else
{
lean_inc(v_a_847_);
lean_dec(v___x_828_);
v___x_849_ = lean_box(0);
v_isShared_850_ = v_isSharedCheck_857_;
goto v_resetjp_848_;
}
v_resetjp_848_:
{
lean_object* v___x_851_; double v___x_852_; double v___x_853_; lean_object* v___x_855_; 
v___x_851_ = lean_alloc_ctor(0, 6, 16);
lean_ctor_set(v___x_851_, 0, v_a_742_);
lean_ctor_set(v___x_851_, 1, v_a_763_);
lean_ctor_set(v___x_851_, 2, v_a_784_);
lean_ctor_set(v___x_851_, 3, v_a_805_);
lean_ctor_set(v___x_851_, 4, v_a_826_);
lean_ctor_set(v___x_851_, 5, v_a_847_);
v___x_852_ = lean_unbox_float(v_a_700_);
lean_dec(v_a_700_);
lean_ctor_set_float(v___x_851_, sizeof(void*)*6, v___x_852_);
v___x_853_ = lean_unbox_float(v_a_721_);
lean_dec(v_a_721_);
lean_ctor_set_float(v___x_851_, sizeof(void*)*6 + 8, v___x_853_);
if (v_isShared_850_ == 0)
{
lean_ctor_set(v___x_849_, 0, v___x_851_);
v___x_855_ = v___x_849_;
goto v_reusejp_854_;
}
else
{
lean_object* v_reuseFailAlloc_856_; 
v_reuseFailAlloc_856_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_856_, 0, v___x_851_);
v___x_855_ = v_reuseFailAlloc_856_;
goto v_reusejp_854_;
}
v_reusejp_854_:
{
return v___x_855_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2(size_t v_sz_860_, size_t v_i_861_, lean_object* v_bs_862_){
_start:
{
uint8_t v___x_863_; 
v___x_863_ = lean_usize_dec_lt(v_i_861_, v_sz_860_);
if (v___x_863_ == 0)
{
return v_bs_862_;
}
else
{
lean_object* v_v_864_; lean_object* v___x_865_; lean_object* v_bs_x27_866_; size_t v___x_867_; size_t v___x_868_; lean_object* v___x_869_; 
v_v_864_ = lean_array_uget(v_bs_862_, v_i_861_);
v___x_865_ = lean_unsigned_to_nat(0u);
v_bs_x27_866_ = lean_array_uset(v_bs_862_, v_i_861_, v___x_865_);
v___x_867_ = ((size_t)1ULL);
v___x_868_ = lean_usize_add(v_i_861_, v___x_867_);
v___x_869_ = lean_array_uset(v_bs_x27_866_, v_i_861_, v_v_864_);
v_i_861_ = v___x_868_;
v_bs_862_ = v___x_869_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2___boxed(lean_object* v_sz_871_, lean_object* v_i_872_, lean_object* v_bs_873_){
_start:
{
size_t v_sz_boxed_874_; size_t v_i_boxed_875_; lean_object* v_res_876_; 
v_sz_boxed_874_ = lean_unbox_usize(v_sz_871_);
lean_dec(v_sz_871_);
v_i_boxed_875_ = lean_unbox_usize(v_i_872_);
lean_dec(v_i_872_);
v_res_876_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2(v_sz_boxed_874_, v_i_boxed_875_, v_bs_873_);
return v_res_876_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(lean_object* v_a_877_){
_start:
{
size_t v_sz_878_; size_t v___x_879_; lean_object* v___x_880_; lean_object* v___x_881_; 
v_sz_878_ = lean_array_size(v_a_877_);
v___x_879_ = ((size_t)0ULL);
v___x_880_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1_spec__2(v_sz_878_, v___x_879_, v_a_877_);
v___x_881_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_881_, 0, v___x_880_);
return v___x_881_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0(size_t v_sz_882_, size_t v_i_883_, lean_object* v_bs_884_){
_start:
{
uint8_t v___x_885_; 
v___x_885_ = lean_usize_dec_lt(v_i_883_, v_sz_882_);
if (v___x_885_ == 0)
{
return v_bs_884_;
}
else
{
lean_object* v_v_886_; lean_object* v___x_887_; lean_object* v_bs_x27_888_; lean_object* v___x_889_; size_t v___x_890_; size_t v___x_891_; lean_object* v___x_892_; 
v_v_886_ = lean_array_uget(v_bs_884_, v_i_883_);
v___x_887_ = lean_unsigned_to_nat(0u);
v_bs_x27_888_ = lean_array_uset(v_bs_884_, v_i_883_, v___x_887_);
v___x_889_ = l_Lean_Firefox_instToJsonCategory_toJson(v_v_886_);
v___x_890_ = ((size_t)1ULL);
v___x_891_ = lean_usize_add(v_i_883_, v___x_890_);
v___x_892_ = lean_array_uset(v_bs_x27_888_, v_i_883_, v___x_889_);
v_i_883_ = v___x_891_;
v_bs_884_ = v___x_892_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0___boxed(lean_object* v_sz_894_, lean_object* v_i_895_, lean_object* v_bs_896_){
_start:
{
size_t v_sz_boxed_897_; size_t v_i_boxed_898_; lean_object* v_res_899_; 
v_sz_boxed_897_ = lean_unbox_usize(v_sz_894_);
lean_dec(v_sz_894_);
v_i_boxed_898_ = lean_unbox_usize(v_i_895_);
lean_dec(v_i_895_);
v_res_899_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0(v_sz_boxed_897_, v_i_boxed_898_, v_bs_896_);
return v_res_899_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0(lean_object* v_a_900_){
_start:
{
size_t v_sz_901_; size_t v___x_902_; lean_object* v___x_903_; lean_object* v___x_904_; 
v_sz_901_ = lean_array_size(v_a_900_);
v___x_902_ = ((size_t)0ULL);
v___x_903_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0_spec__0(v_sz_901_, v___x_902_, v_a_900_);
v___x_904_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_904_, 0, v___x_903_);
return v___x_904_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonProfileMeta_toJson(lean_object* v_x_905_){
_start:
{
double v_interval_906_; double v_startTime_907_; lean_object* v_categories_908_; lean_object* v_processType_909_; lean_object* v_product_910_; lean_object* v_preprocessedProfileVersion_911_; lean_object* v_markerSchema_912_; lean_object* v_sampleUnits_913_; lean_object* v___x_914_; lean_object* v___x_915_; lean_object* v___x_916_; lean_object* v___x_917_; lean_object* v___x_918_; lean_object* v___x_919_; lean_object* v___x_920_; lean_object* v___x_921_; lean_object* v___x_922_; lean_object* v___x_923_; lean_object* v___x_924_; lean_object* v___x_925_; lean_object* v___x_926_; lean_object* v___x_927_; lean_object* v___x_928_; lean_object* v___x_929_; lean_object* v___x_930_; lean_object* v___x_931_; lean_object* v___x_932_; lean_object* v___x_933_; lean_object* v___x_934_; lean_object* v___x_935_; lean_object* v___x_936_; lean_object* v___x_937_; lean_object* v___x_938_; lean_object* v___x_939_; lean_object* v___x_940_; lean_object* v___x_941_; lean_object* v___x_942_; lean_object* v___x_943_; lean_object* v___x_944_; lean_object* v___x_945_; lean_object* v___x_946_; lean_object* v___x_947_; lean_object* v___x_948_; lean_object* v___x_949_; lean_object* v___x_950_; lean_object* v___x_951_; lean_object* v___x_952_; lean_object* v___x_953_; lean_object* v___x_954_; lean_object* v___x_955_; lean_object* v___x_956_; lean_object* v___x_957_; lean_object* v___x_958_; lean_object* v___x_959_; 
v_interval_906_ = lean_ctor_get_float(v_x_905_, sizeof(void*)*6);
v_startTime_907_ = lean_ctor_get_float(v_x_905_, sizeof(void*)*6 + 8);
v_categories_908_ = lean_ctor_get(v_x_905_, 0);
lean_inc_ref(v_categories_908_);
v_processType_909_ = lean_ctor_get(v_x_905_, 1);
lean_inc(v_processType_909_);
v_product_910_ = lean_ctor_get(v_x_905_, 2);
lean_inc_ref(v_product_910_);
v_preprocessedProfileVersion_911_ = lean_ctor_get(v_x_905_, 3);
lean_inc(v_preprocessedProfileVersion_911_);
v_markerSchema_912_ = lean_ctor_get(v_x_905_, 4);
lean_inc_ref(v_markerSchema_912_);
v_sampleUnits_913_ = lean_ctor_get(v_x_905_, 5);
lean_inc_ref(v_sampleUnits_913_);
lean_dec_ref(v_x_905_);
v___x_914_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__0));
v___x_915_ = l_Float_toJson(v_interval_906_);
v___x_916_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_916_, 0, v___x_914_);
lean_ctor_set(v___x_916_, 1, v___x_915_);
v___x_917_ = lean_box(0);
v___x_918_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_918_, 0, v___x_916_);
lean_ctor_set(v___x_918_, 1, v___x_917_);
v___x_919_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__9));
v___x_920_ = l_Float_toJson(v_startTime_907_);
v___x_921_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_921_, 0, v___x_919_);
lean_ctor_set(v___x_921_, 1, v___x_920_);
v___x_922_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_922_, 0, v___x_921_);
lean_ctor_set(v___x_922_, 1, v___x_917_);
v___x_923_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__14));
v___x_924_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__0(v_categories_908_);
v___x_925_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_925_, 0, v___x_923_);
lean_ctor_set(v___x_925_, 1, v___x_924_);
v___x_926_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_926_, 0, v___x_925_);
lean_ctor_set(v___x_926_, 1, v___x_917_);
v___x_927_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19));
v___x_928_ = l_Lean_JsonNumber_fromNat(v_processType_909_);
v___x_929_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_929_, 0, v___x_928_);
v___x_930_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_930_, 0, v___x_927_);
lean_ctor_set(v___x_930_, 1, v___x_929_);
v___x_931_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_931_, 0, v___x_930_);
lean_ctor_set(v___x_931_, 1, v___x_917_);
v___x_932_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__24));
v___x_933_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_933_, 0, v_product_910_);
v___x_934_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_934_, 0, v___x_932_);
lean_ctor_set(v___x_934_, 1, v___x_933_);
v___x_935_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_935_, 0, v___x_934_);
lean_ctor_set(v___x_935_, 1, v___x_917_);
v___x_936_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__29));
v___x_937_ = l_Lean_JsonNumber_fromNat(v_preprocessedProfileVersion_911_);
v___x_938_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_938_, 0, v___x_937_);
v___x_939_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_939_, 0, v___x_936_);
lean_ctor_set(v___x_939_, 1, v___x_938_);
v___x_940_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_940_, 0, v___x_939_);
lean_ctor_set(v___x_940_, 1, v___x_917_);
v___x_941_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__34));
v___x_942_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_markerSchema_912_);
v___x_943_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_943_, 0, v___x_941_);
lean_ctor_set(v___x_943_, 1, v___x_942_);
v___x_944_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_944_, 0, v___x_943_);
lean_ctor_set(v___x_944_, 1, v___x_917_);
v___x_945_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__39));
v___x_946_ = l_Lean_Firefox_instToJsonSampleUnits_toJson(v_sampleUnits_913_);
lean_dec_ref(v_sampleUnits_913_);
v___x_947_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_947_, 0, v___x_945_);
lean_ctor_set(v___x_947_, 1, v___x_946_);
v___x_948_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_948_, 0, v___x_947_);
lean_ctor_set(v___x_948_, 1, v___x_917_);
v___x_949_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_949_, 0, v___x_948_);
lean_ctor_set(v___x_949_, 1, v___x_917_);
v___x_950_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_950_, 0, v___x_944_);
lean_ctor_set(v___x_950_, 1, v___x_949_);
v___x_951_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_951_, 0, v___x_940_);
lean_ctor_set(v___x_951_, 1, v___x_950_);
v___x_952_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_952_, 0, v___x_935_);
lean_ctor_set(v___x_952_, 1, v___x_951_);
v___x_953_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_953_, 0, v___x_931_);
lean_ctor_set(v___x_953_, 1, v___x_952_);
v___x_954_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_954_, 0, v___x_926_);
lean_ctor_set(v___x_954_, 1, v___x_953_);
v___x_955_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_955_, 0, v___x_922_);
lean_ctor_set(v___x_955_, 1, v___x_954_);
v___x_956_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_956_, 0, v___x_918_);
lean_ctor_set(v___x_956_, 1, v___x_955_);
v___x_957_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_958_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_956_, v___x_957_);
v___x_959_ = l_Lean_Json_mkObj(v___x_958_);
return v___x_959_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1(size_t v_sz_962_, size_t v_i_963_, lean_object* v_bs_964_){
_start:
{
uint8_t v___x_965_; 
v___x_965_ = lean_usize_dec_lt(v_i_963_, v_sz_962_);
if (v___x_965_ == 0)
{
lean_object* v___x_966_; 
v___x_966_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_966_, 0, v_bs_964_);
return v___x_966_;
}
else
{
lean_object* v_v_967_; lean_object* v___x_968_; 
v_v_967_ = lean_array_uget_borrowed(v_bs_964_, v_i_963_);
lean_inc(v_v_967_);
v___x_968_ = l_Lean_Json_getNat_x3f(v_v_967_);
if (lean_obj_tag(v___x_968_) == 0)
{
lean_object* v_a_969_; lean_object* v___x_971_; uint8_t v_isShared_972_; uint8_t v_isSharedCheck_976_; 
lean_dec_ref(v_bs_964_);
v_a_969_ = lean_ctor_get(v___x_968_, 0);
v_isSharedCheck_976_ = !lean_is_exclusive(v___x_968_);
if (v_isSharedCheck_976_ == 0)
{
v___x_971_ = v___x_968_;
v_isShared_972_ = v_isSharedCheck_976_;
goto v_resetjp_970_;
}
else
{
lean_inc(v_a_969_);
lean_dec(v___x_968_);
v___x_971_ = lean_box(0);
v_isShared_972_ = v_isSharedCheck_976_;
goto v_resetjp_970_;
}
v_resetjp_970_:
{
lean_object* v___x_974_; 
if (v_isShared_972_ == 0)
{
v___x_974_ = v___x_971_;
goto v_reusejp_973_;
}
else
{
lean_object* v_reuseFailAlloc_975_; 
v_reuseFailAlloc_975_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_975_, 0, v_a_969_);
v___x_974_ = v_reuseFailAlloc_975_;
goto v_reusejp_973_;
}
v_reusejp_973_:
{
return v___x_974_;
}
}
}
else
{
lean_object* v_a_977_; lean_object* v___x_978_; lean_object* v_bs_x27_979_; size_t v___x_980_; size_t v___x_981_; lean_object* v___x_982_; 
v_a_977_ = lean_ctor_get(v___x_968_, 0);
lean_inc(v_a_977_);
lean_dec_ref(v___x_968_);
v___x_978_ = lean_unsigned_to_nat(0u);
v_bs_x27_979_ = lean_array_uset(v_bs_964_, v_i_963_, v___x_978_);
v___x_980_ = ((size_t)1ULL);
v___x_981_ = lean_usize_add(v_i_963_, v___x_980_);
v___x_982_ = lean_array_uset(v_bs_x27_979_, v_i_963_, v_a_977_);
v_i_963_ = v___x_981_;
v_bs_964_ = v___x_982_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object* v_sz_984_, lean_object* v_i_985_, lean_object* v_bs_986_){
_start:
{
size_t v_sz_boxed_987_; size_t v_i_boxed_988_; lean_object* v_res_989_; 
v_sz_boxed_987_ = lean_unbox_usize(v_sz_984_);
lean_dec(v_sz_984_);
v_i_boxed_988_ = lean_unbox_usize(v_i_985_);
lean_dec(v_i_985_);
v_res_989_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1(v_sz_boxed_987_, v_i_boxed_988_, v_bs_986_);
return v_res_989_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0(lean_object* v_x_990_){
_start:
{
if (lean_obj_tag(v_x_990_) == 4)
{
lean_object* v_elems_991_; size_t v_sz_992_; size_t v___x_993_; lean_object* v___x_994_; 
v_elems_991_ = lean_ctor_get(v_x_990_, 0);
lean_inc_ref(v_elems_991_);
lean_dec_ref(v_x_990_);
v_sz_992_ = lean_array_size(v_elems_991_);
v___x_993_ = ((size_t)0ULL);
v___x_994_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0_spec__1(v_sz_992_, v___x_993_, v_elems_991_);
return v___x_994_;
}
else
{
lean_object* v___x_995_; lean_object* v___x_996_; lean_object* v___x_997_; lean_object* v___x_998_; lean_object* v___x_999_; lean_object* v___x_1000_; lean_object* v___x_1001_; 
v___x_995_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_996_ = lean_unsigned_to_nat(80u);
v___x_997_ = l_Lean_Json_pretty(v_x_990_, v___x_996_);
v___x_998_ = lean_string_append(v___x_995_, v___x_997_);
lean_dec_ref(v___x_997_);
v___x_999_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_1000_ = lean_string_append(v___x_998_, v___x_999_);
v___x_1001_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_1001_, 0, v___x_1000_);
return v___x_1001_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(lean_object* v_j_1002_, lean_object* v_k_1003_){
_start:
{
lean_object* v___x_1004_; lean_object* v___x_1005_; 
v___x_1004_ = l_Lean_Json_getObjValD(v_j_1002_, v_k_1003_);
v___x_1005_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0_spec__0(v___x_1004_);
return v___x_1005_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0___boxed(lean_object* v_j_1006_, lean_object* v_k_1007_){
_start:
{
lean_object* v_res_1008_; 
v_res_1008_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_j_1006_, v_k_1007_);
lean_dec_ref(v_k_1007_);
return v_res_1008_;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4(lean_object* v_x_1011_){
_start:
{
if (lean_obj_tag(v_x_1011_) == 0)
{
lean_object* v___x_1012_; 
v___x_1012_ = ((lean_object*)(l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4___closed__0));
return v___x_1012_;
}
else
{
lean_object* v___x_1013_; 
v___x_1013_ = l_Lean_Json_getNat_x3f(v_x_1011_);
if (lean_obj_tag(v___x_1013_) == 0)
{
lean_object* v_a_1014_; lean_object* v___x_1016_; uint8_t v_isShared_1017_; uint8_t v_isSharedCheck_1021_; 
v_a_1014_ = lean_ctor_get(v___x_1013_, 0);
v_isSharedCheck_1021_ = !lean_is_exclusive(v___x_1013_);
if (v_isSharedCheck_1021_ == 0)
{
v___x_1016_ = v___x_1013_;
v_isShared_1017_ = v_isSharedCheck_1021_;
goto v_resetjp_1015_;
}
else
{
lean_inc(v_a_1014_);
lean_dec(v___x_1013_);
v___x_1016_ = lean_box(0);
v_isShared_1017_ = v_isSharedCheck_1021_;
goto v_resetjp_1015_;
}
v_resetjp_1015_:
{
lean_object* v___x_1019_; 
if (v_isShared_1017_ == 0)
{
v___x_1019_ = v___x_1016_;
goto v_reusejp_1018_;
}
else
{
lean_object* v_reuseFailAlloc_1020_; 
v_reuseFailAlloc_1020_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1020_, 0, v_a_1014_);
v___x_1019_ = v_reuseFailAlloc_1020_;
goto v_reusejp_1018_;
}
v_reusejp_1018_:
{
return v___x_1019_;
}
}
}
else
{
lean_object* v_a_1022_; lean_object* v___x_1024_; uint8_t v_isShared_1025_; uint8_t v_isSharedCheck_1030_; 
v_a_1022_ = lean_ctor_get(v___x_1013_, 0);
v_isSharedCheck_1030_ = !lean_is_exclusive(v___x_1013_);
if (v_isSharedCheck_1030_ == 0)
{
v___x_1024_ = v___x_1013_;
v_isShared_1025_ = v_isSharedCheck_1030_;
goto v_resetjp_1023_;
}
else
{
lean_inc(v_a_1022_);
lean_dec(v___x_1013_);
v___x_1024_ = lean_box(0);
v_isShared_1025_ = v_isSharedCheck_1030_;
goto v_resetjp_1023_;
}
v_resetjp_1023_:
{
lean_object* v___x_1026_; lean_object* v___x_1028_; 
v___x_1026_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_1026_, 0, v_a_1022_);
if (v_isShared_1025_ == 0)
{
lean_ctor_set(v___x_1024_, 0, v___x_1026_);
v___x_1028_ = v___x_1024_;
goto v_reusejp_1027_;
}
else
{
lean_object* v_reuseFailAlloc_1029_; 
v_reuseFailAlloc_1029_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1029_, 0, v___x_1026_);
v___x_1028_ = v_reuseFailAlloc_1029_;
goto v_reusejp_1027_;
}
v_reusejp_1027_:
{
return v___x_1028_;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5(size_t v_sz_1031_, size_t v_i_1032_, lean_object* v_bs_1033_){
_start:
{
uint8_t v___x_1034_; 
v___x_1034_ = lean_usize_dec_lt(v_i_1032_, v_sz_1031_);
if (v___x_1034_ == 0)
{
lean_object* v___x_1035_; 
v___x_1035_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_1035_, 0, v_bs_1033_);
return v___x_1035_;
}
else
{
lean_object* v_v_1036_; lean_object* v___x_1037_; 
v_v_1036_ = lean_array_uget_borrowed(v_bs_1033_, v_i_1032_);
lean_inc(v_v_1036_);
v___x_1037_ = l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__4(v_v_1036_);
if (lean_obj_tag(v___x_1037_) == 0)
{
lean_object* v_a_1038_; lean_object* v___x_1040_; uint8_t v_isShared_1041_; uint8_t v_isSharedCheck_1045_; 
lean_dec_ref(v_bs_1033_);
v_a_1038_ = lean_ctor_get(v___x_1037_, 0);
v_isSharedCheck_1045_ = !lean_is_exclusive(v___x_1037_);
if (v_isSharedCheck_1045_ == 0)
{
v___x_1040_ = v___x_1037_;
v_isShared_1041_ = v_isSharedCheck_1045_;
goto v_resetjp_1039_;
}
else
{
lean_inc(v_a_1038_);
lean_dec(v___x_1037_);
v___x_1040_ = lean_box(0);
v_isShared_1041_ = v_isSharedCheck_1045_;
goto v_resetjp_1039_;
}
v_resetjp_1039_:
{
lean_object* v___x_1043_; 
if (v_isShared_1041_ == 0)
{
v___x_1043_ = v___x_1040_;
goto v_reusejp_1042_;
}
else
{
lean_object* v_reuseFailAlloc_1044_; 
v_reuseFailAlloc_1044_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1044_, 0, v_a_1038_);
v___x_1043_ = v_reuseFailAlloc_1044_;
goto v_reusejp_1042_;
}
v_reusejp_1042_:
{
return v___x_1043_;
}
}
}
else
{
lean_object* v_a_1046_; lean_object* v___x_1047_; lean_object* v_bs_x27_1048_; size_t v___x_1049_; size_t v___x_1050_; lean_object* v___x_1051_; 
v_a_1046_ = lean_ctor_get(v___x_1037_, 0);
lean_inc(v_a_1046_);
lean_dec_ref(v___x_1037_);
v___x_1047_ = lean_unsigned_to_nat(0u);
v_bs_x27_1048_ = lean_array_uset(v_bs_1033_, v_i_1032_, v___x_1047_);
v___x_1049_ = ((size_t)1ULL);
v___x_1050_ = lean_usize_add(v_i_1032_, v___x_1049_);
v___x_1051_ = lean_array_uset(v_bs_x27_1048_, v_i_1032_, v_a_1046_);
v_i_1032_ = v___x_1050_;
v_bs_1033_ = v___x_1051_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5___boxed(lean_object* v_sz_1053_, lean_object* v_i_1054_, lean_object* v_bs_1055_){
_start:
{
size_t v_sz_boxed_1056_; size_t v_i_boxed_1057_; lean_object* v_res_1058_; 
v_sz_boxed_1056_ = lean_unbox_usize(v_sz_1053_);
lean_dec(v_sz_1053_);
v_i_boxed_1057_ = lean_unbox_usize(v_i_1054_);
lean_dec(v_i_1054_);
v_res_1058_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5(v_sz_boxed_1056_, v_i_boxed_1057_, v_bs_1055_);
return v_res_1058_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2(lean_object* v_x_1059_){
_start:
{
if (lean_obj_tag(v_x_1059_) == 4)
{
lean_object* v_elems_1060_; size_t v_sz_1061_; size_t v___x_1062_; lean_object* v___x_1063_; 
v_elems_1060_ = lean_ctor_get(v_x_1059_, 0);
lean_inc_ref(v_elems_1060_);
lean_dec_ref(v_x_1059_);
v_sz_1061_ = lean_array_size(v_elems_1060_);
v___x_1062_ = ((size_t)0ULL);
v___x_1063_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2_spec__5(v_sz_1061_, v___x_1062_, v_elems_1060_);
return v___x_1063_;
}
else
{
lean_object* v___x_1064_; lean_object* v___x_1065_; lean_object* v___x_1066_; lean_object* v___x_1067_; lean_object* v___x_1068_; lean_object* v___x_1069_; lean_object* v___x_1070_; 
v___x_1064_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_1065_ = lean_unsigned_to_nat(80u);
v___x_1066_ = l_Lean_Json_pretty(v_x_1059_, v___x_1065_);
v___x_1067_ = lean_string_append(v___x_1064_, v___x_1066_);
lean_dec_ref(v___x_1066_);
v___x_1068_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_1069_ = lean_string_append(v___x_1067_, v___x_1068_);
v___x_1070_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_1070_, 0, v___x_1069_);
return v___x_1070_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(lean_object* v_j_1071_, lean_object* v_k_1072_){
_start:
{
lean_object* v___x_1073_; lean_object* v___x_1074_; 
v___x_1073_ = l_Lean_Json_getObjValD(v_j_1071_, v_k_1072_);
v___x_1074_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1_spec__2(v___x_1073_);
return v___x_1074_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1___boxed(lean_object* v_j_1075_, lean_object* v_k_1076_){
_start:
{
lean_object* v_res_1077_; 
v_res_1077_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_j_1075_, v_k_1076_);
lean_dec_ref(v_k_1076_);
return v_res_1077_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3(void){
_start:
{
uint8_t v___x_1084_; lean_object* v___x_1085_; lean_object* v___x_1086_; 
v___x_1084_ = 1;
v___x_1085_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__2));
v___x_1086_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1085_, v___x_1084_);
return v___x_1086_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_1087_; lean_object* v___x_1088_; lean_object* v___x_1089_; 
v___x_1087_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_1088_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__3);
v___x_1089_ = lean_string_append(v___x_1088_, v___x_1087_);
return v___x_1089_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6(void){
_start:
{
uint8_t v___x_1092_; lean_object* v___x_1093_; lean_object* v___x_1094_; 
v___x_1092_ = 1;
v___x_1093_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__5));
v___x_1094_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1093_, v___x_1092_);
return v___x_1094_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7(void){
_start:
{
lean_object* v___x_1095_; lean_object* v___x_1096_; lean_object* v___x_1097_; 
v___x_1095_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__6);
v___x_1096_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4);
v___x_1097_ = lean_string_append(v___x_1096_, v___x_1095_);
return v___x_1097_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8(void){
_start:
{
lean_object* v___x_1098_; lean_object* v___x_1099_; lean_object* v___x_1100_; 
v___x_1098_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1099_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__7);
v___x_1100_ = lean_string_append(v___x_1099_, v___x_1098_);
return v___x_1100_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11(void){
_start:
{
uint8_t v___x_1104_; lean_object* v___x_1105_; lean_object* v___x_1106_; 
v___x_1104_ = 1;
v___x_1105_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__10));
v___x_1106_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1105_, v___x_1104_);
return v___x_1106_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12(void){
_start:
{
lean_object* v___x_1107_; lean_object* v___x_1108_; lean_object* v___x_1109_; 
v___x_1107_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11);
v___x_1108_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4);
v___x_1109_ = lean_string_append(v___x_1108_, v___x_1107_);
return v___x_1109_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13(void){
_start:
{
lean_object* v___x_1110_; lean_object* v___x_1111_; lean_object* v___x_1112_; 
v___x_1110_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1111_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__12);
v___x_1112_ = lean_string_append(v___x_1111_, v___x_1110_);
return v___x_1112_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16(void){
_start:
{
uint8_t v___x_1116_; lean_object* v___x_1117_; lean_object* v___x_1118_; 
v___x_1116_ = 1;
v___x_1117_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__15));
v___x_1118_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1117_, v___x_1116_);
return v___x_1118_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17(void){
_start:
{
lean_object* v___x_1119_; lean_object* v___x_1120_; lean_object* v___x_1121_; 
v___x_1119_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16);
v___x_1120_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4);
v___x_1121_ = lean_string_append(v___x_1120_, v___x_1119_);
return v___x_1121_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18(void){
_start:
{
lean_object* v___x_1122_; lean_object* v___x_1123_; lean_object* v___x_1124_; 
v___x_1122_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1123_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__17);
v___x_1124_ = lean_string_append(v___x_1123_, v___x_1122_);
return v___x_1124_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21(void){
_start:
{
uint8_t v___x_1128_; lean_object* v___x_1129_; lean_object* v___x_1130_; 
v___x_1128_ = 1;
v___x_1129_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__20));
v___x_1130_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1129_, v___x_1128_);
return v___x_1130_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22(void){
_start:
{
lean_object* v___x_1131_; lean_object* v___x_1132_; lean_object* v___x_1133_; 
v___x_1131_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__21);
v___x_1132_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4);
v___x_1133_ = lean_string_append(v___x_1132_, v___x_1131_);
return v___x_1133_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23(void){
_start:
{
lean_object* v___x_1134_; lean_object* v___x_1135_; lean_object* v___x_1136_; 
v___x_1134_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1135_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__22);
v___x_1136_ = lean_string_append(v___x_1135_, v___x_1134_);
return v___x_1136_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26(void){
_start:
{
uint8_t v___x_1140_; lean_object* v___x_1141_; lean_object* v___x_1142_; 
v___x_1140_ = 1;
v___x_1141_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__25));
v___x_1142_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1141_, v___x_1140_);
return v___x_1142_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27(void){
_start:
{
lean_object* v___x_1143_; lean_object* v___x_1144_; lean_object* v___x_1145_; 
v___x_1143_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_1144_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__4);
v___x_1145_ = lean_string_append(v___x_1144_, v___x_1143_);
return v___x_1145_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28(void){
_start:
{
lean_object* v___x_1146_; lean_object* v___x_1147_; lean_object* v___x_1148_; 
v___x_1146_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1147_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__27);
v___x_1148_ = lean_string_append(v___x_1147_, v___x_1146_);
return v___x_1148_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonStackTable_fromJson(lean_object* v_json_1149_){
_start:
{
lean_object* v___x_1150_; lean_object* v___x_1151_; 
v___x_1150_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0));
lean_inc(v_json_1149_);
v___x_1151_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_1149_, v___x_1150_);
if (lean_obj_tag(v___x_1151_) == 0)
{
lean_object* v_a_1152_; lean_object* v___x_1154_; uint8_t v_isShared_1155_; uint8_t v_isSharedCheck_1161_; 
lean_dec(v_json_1149_);
v_a_1152_ = lean_ctor_get(v___x_1151_, 0);
v_isSharedCheck_1161_ = !lean_is_exclusive(v___x_1151_);
if (v_isSharedCheck_1161_ == 0)
{
v___x_1154_ = v___x_1151_;
v_isShared_1155_ = v_isSharedCheck_1161_;
goto v_resetjp_1153_;
}
else
{
lean_inc(v_a_1152_);
lean_dec(v___x_1151_);
v___x_1154_ = lean_box(0);
v_isShared_1155_ = v_isSharedCheck_1161_;
goto v_resetjp_1153_;
}
v_resetjp_1153_:
{
lean_object* v___x_1156_; lean_object* v___x_1157_; lean_object* v___x_1159_; 
v___x_1156_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__8);
v___x_1157_ = lean_string_append(v___x_1156_, v_a_1152_);
lean_dec(v_a_1152_);
if (v_isShared_1155_ == 0)
{
lean_ctor_set(v___x_1154_, 0, v___x_1157_);
v___x_1159_ = v___x_1154_;
goto v_reusejp_1158_;
}
else
{
lean_object* v_reuseFailAlloc_1160_; 
v_reuseFailAlloc_1160_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1160_, 0, v___x_1157_);
v___x_1159_ = v_reuseFailAlloc_1160_;
goto v_reusejp_1158_;
}
v_reusejp_1158_:
{
return v___x_1159_;
}
}
}
else
{
if (lean_obj_tag(v___x_1151_) == 0)
{
lean_object* v_a_1162_; lean_object* v___x_1164_; uint8_t v_isShared_1165_; uint8_t v_isSharedCheck_1169_; 
lean_dec(v_json_1149_);
v_a_1162_ = lean_ctor_get(v___x_1151_, 0);
v_isSharedCheck_1169_ = !lean_is_exclusive(v___x_1151_);
if (v_isSharedCheck_1169_ == 0)
{
v___x_1164_ = v___x_1151_;
v_isShared_1165_ = v_isSharedCheck_1169_;
goto v_resetjp_1163_;
}
else
{
lean_inc(v_a_1162_);
lean_dec(v___x_1151_);
v___x_1164_ = lean_box(0);
v_isShared_1165_ = v_isSharedCheck_1169_;
goto v_resetjp_1163_;
}
v_resetjp_1163_:
{
lean_object* v___x_1167_; 
if (v_isShared_1165_ == 0)
{
lean_ctor_set_tag(v___x_1164_, 0);
v___x_1167_ = v___x_1164_;
goto v_reusejp_1166_;
}
else
{
lean_object* v_reuseFailAlloc_1168_; 
v_reuseFailAlloc_1168_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1168_, 0, v_a_1162_);
v___x_1167_ = v_reuseFailAlloc_1168_;
goto v_reusejp_1166_;
}
v_reusejp_1166_:
{
return v___x_1167_;
}
}
}
else
{
lean_object* v_a_1170_; lean_object* v___x_1171_; lean_object* v___x_1172_; 
v_a_1170_ = lean_ctor_get(v___x_1151_, 0);
lean_inc(v_a_1170_);
lean_dec_ref(v___x_1151_);
v___x_1171_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9));
lean_inc(v_json_1149_);
v___x_1172_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_1149_, v___x_1171_);
if (lean_obj_tag(v___x_1172_) == 0)
{
lean_object* v_a_1173_; lean_object* v___x_1175_; uint8_t v_isShared_1176_; uint8_t v_isSharedCheck_1182_; 
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1173_ = lean_ctor_get(v___x_1172_, 0);
v_isSharedCheck_1182_ = !lean_is_exclusive(v___x_1172_);
if (v_isSharedCheck_1182_ == 0)
{
v___x_1175_ = v___x_1172_;
v_isShared_1176_ = v_isSharedCheck_1182_;
goto v_resetjp_1174_;
}
else
{
lean_inc(v_a_1173_);
lean_dec(v___x_1172_);
v___x_1175_ = lean_box(0);
v_isShared_1176_ = v_isSharedCheck_1182_;
goto v_resetjp_1174_;
}
v_resetjp_1174_:
{
lean_object* v___x_1177_; lean_object* v___x_1178_; lean_object* v___x_1180_; 
v___x_1177_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__13);
v___x_1178_ = lean_string_append(v___x_1177_, v_a_1173_);
lean_dec(v_a_1173_);
if (v_isShared_1176_ == 0)
{
lean_ctor_set(v___x_1175_, 0, v___x_1178_);
v___x_1180_ = v___x_1175_;
goto v_reusejp_1179_;
}
else
{
lean_object* v_reuseFailAlloc_1181_; 
v_reuseFailAlloc_1181_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1181_, 0, v___x_1178_);
v___x_1180_ = v_reuseFailAlloc_1181_;
goto v_reusejp_1179_;
}
v_reusejp_1179_:
{
return v___x_1180_;
}
}
}
else
{
if (lean_obj_tag(v___x_1172_) == 0)
{
lean_object* v_a_1183_; lean_object* v___x_1185_; uint8_t v_isShared_1186_; uint8_t v_isSharedCheck_1190_; 
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1183_ = lean_ctor_get(v___x_1172_, 0);
v_isSharedCheck_1190_ = !lean_is_exclusive(v___x_1172_);
if (v_isSharedCheck_1190_ == 0)
{
v___x_1185_ = v___x_1172_;
v_isShared_1186_ = v_isSharedCheck_1190_;
goto v_resetjp_1184_;
}
else
{
lean_inc(v_a_1183_);
lean_dec(v___x_1172_);
v___x_1185_ = lean_box(0);
v_isShared_1186_ = v_isSharedCheck_1190_;
goto v_resetjp_1184_;
}
v_resetjp_1184_:
{
lean_object* v___x_1188_; 
if (v_isShared_1186_ == 0)
{
lean_ctor_set_tag(v___x_1185_, 0);
v___x_1188_ = v___x_1185_;
goto v_reusejp_1187_;
}
else
{
lean_object* v_reuseFailAlloc_1189_; 
v_reuseFailAlloc_1189_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1189_, 0, v_a_1183_);
v___x_1188_ = v_reuseFailAlloc_1189_;
goto v_reusejp_1187_;
}
v_reusejp_1187_:
{
return v___x_1188_;
}
}
}
else
{
lean_object* v_a_1191_; lean_object* v___x_1192_; lean_object* v___x_1193_; 
v_a_1191_ = lean_ctor_get(v___x_1172_, 0);
lean_inc(v_a_1191_);
lean_dec_ref(v___x_1172_);
v___x_1192_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14));
lean_inc(v_json_1149_);
v___x_1193_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_1149_, v___x_1192_);
if (lean_obj_tag(v___x_1193_) == 0)
{
lean_object* v_a_1194_; lean_object* v___x_1196_; uint8_t v_isShared_1197_; uint8_t v_isSharedCheck_1203_; 
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1194_ = lean_ctor_get(v___x_1193_, 0);
v_isSharedCheck_1203_ = !lean_is_exclusive(v___x_1193_);
if (v_isSharedCheck_1203_ == 0)
{
v___x_1196_ = v___x_1193_;
v_isShared_1197_ = v_isSharedCheck_1203_;
goto v_resetjp_1195_;
}
else
{
lean_inc(v_a_1194_);
lean_dec(v___x_1193_);
v___x_1196_ = lean_box(0);
v_isShared_1197_ = v_isSharedCheck_1203_;
goto v_resetjp_1195_;
}
v_resetjp_1195_:
{
lean_object* v___x_1198_; lean_object* v___x_1199_; lean_object* v___x_1201_; 
v___x_1198_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__18);
v___x_1199_ = lean_string_append(v___x_1198_, v_a_1194_);
lean_dec(v_a_1194_);
if (v_isShared_1197_ == 0)
{
lean_ctor_set(v___x_1196_, 0, v___x_1199_);
v___x_1201_ = v___x_1196_;
goto v_reusejp_1200_;
}
else
{
lean_object* v_reuseFailAlloc_1202_; 
v_reuseFailAlloc_1202_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1202_, 0, v___x_1199_);
v___x_1201_ = v_reuseFailAlloc_1202_;
goto v_reusejp_1200_;
}
v_reusejp_1200_:
{
return v___x_1201_;
}
}
}
else
{
if (lean_obj_tag(v___x_1193_) == 0)
{
lean_object* v_a_1204_; lean_object* v___x_1206_; uint8_t v_isShared_1207_; uint8_t v_isSharedCheck_1211_; 
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1204_ = lean_ctor_get(v___x_1193_, 0);
v_isSharedCheck_1211_ = !lean_is_exclusive(v___x_1193_);
if (v_isSharedCheck_1211_ == 0)
{
v___x_1206_ = v___x_1193_;
v_isShared_1207_ = v_isSharedCheck_1211_;
goto v_resetjp_1205_;
}
else
{
lean_inc(v_a_1204_);
lean_dec(v___x_1193_);
v___x_1206_ = lean_box(0);
v_isShared_1207_ = v_isSharedCheck_1211_;
goto v_resetjp_1205_;
}
v_resetjp_1205_:
{
lean_object* v___x_1209_; 
if (v_isShared_1207_ == 0)
{
lean_ctor_set_tag(v___x_1206_, 0);
v___x_1209_ = v___x_1206_;
goto v_reusejp_1208_;
}
else
{
lean_object* v_reuseFailAlloc_1210_; 
v_reuseFailAlloc_1210_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1210_, 0, v_a_1204_);
v___x_1209_ = v_reuseFailAlloc_1210_;
goto v_reusejp_1208_;
}
v_reusejp_1208_:
{
return v___x_1209_;
}
}
}
else
{
lean_object* v_a_1212_; lean_object* v___x_1213_; lean_object* v___x_1214_; 
v_a_1212_ = lean_ctor_get(v___x_1193_, 0);
lean_inc(v_a_1212_);
lean_dec_ref(v___x_1193_);
v___x_1213_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19));
lean_inc(v_json_1149_);
v___x_1214_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_1149_, v___x_1213_);
if (lean_obj_tag(v___x_1214_) == 0)
{
lean_object* v_a_1215_; lean_object* v___x_1217_; uint8_t v_isShared_1218_; uint8_t v_isSharedCheck_1224_; 
lean_dec(v_a_1212_);
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1215_ = lean_ctor_get(v___x_1214_, 0);
v_isSharedCheck_1224_ = !lean_is_exclusive(v___x_1214_);
if (v_isSharedCheck_1224_ == 0)
{
v___x_1217_ = v___x_1214_;
v_isShared_1218_ = v_isSharedCheck_1224_;
goto v_resetjp_1216_;
}
else
{
lean_inc(v_a_1215_);
lean_dec(v___x_1214_);
v___x_1217_ = lean_box(0);
v_isShared_1218_ = v_isSharedCheck_1224_;
goto v_resetjp_1216_;
}
v_resetjp_1216_:
{
lean_object* v___x_1219_; lean_object* v___x_1220_; lean_object* v___x_1222_; 
v___x_1219_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__23);
v___x_1220_ = lean_string_append(v___x_1219_, v_a_1215_);
lean_dec(v_a_1215_);
if (v_isShared_1218_ == 0)
{
lean_ctor_set(v___x_1217_, 0, v___x_1220_);
v___x_1222_ = v___x_1217_;
goto v_reusejp_1221_;
}
else
{
lean_object* v_reuseFailAlloc_1223_; 
v_reuseFailAlloc_1223_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1223_, 0, v___x_1220_);
v___x_1222_ = v_reuseFailAlloc_1223_;
goto v_reusejp_1221_;
}
v_reusejp_1221_:
{
return v___x_1222_;
}
}
}
else
{
if (lean_obj_tag(v___x_1214_) == 0)
{
lean_object* v_a_1225_; lean_object* v___x_1227_; uint8_t v_isShared_1228_; uint8_t v_isSharedCheck_1232_; 
lean_dec(v_a_1212_);
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
lean_dec(v_json_1149_);
v_a_1225_ = lean_ctor_get(v___x_1214_, 0);
v_isSharedCheck_1232_ = !lean_is_exclusive(v___x_1214_);
if (v_isSharedCheck_1232_ == 0)
{
v___x_1227_ = v___x_1214_;
v_isShared_1228_ = v_isSharedCheck_1232_;
goto v_resetjp_1226_;
}
else
{
lean_inc(v_a_1225_);
lean_dec(v___x_1214_);
v___x_1227_ = lean_box(0);
v_isShared_1228_ = v_isSharedCheck_1232_;
goto v_resetjp_1226_;
}
v_resetjp_1226_:
{
lean_object* v___x_1230_; 
if (v_isShared_1228_ == 0)
{
lean_ctor_set_tag(v___x_1227_, 0);
v___x_1230_ = v___x_1227_;
goto v_reusejp_1229_;
}
else
{
lean_object* v_reuseFailAlloc_1231_; 
v_reuseFailAlloc_1231_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1231_, 0, v_a_1225_);
v___x_1230_ = v_reuseFailAlloc_1231_;
goto v_reusejp_1229_;
}
v_reusejp_1229_:
{
return v___x_1230_;
}
}
}
else
{
lean_object* v_a_1233_; lean_object* v___x_1234_; lean_object* v___x_1235_; 
v_a_1233_ = lean_ctor_get(v___x_1214_, 0);
lean_inc(v_a_1233_);
lean_dec_ref(v___x_1214_);
v___x_1234_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_1235_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_1149_, v___x_1234_);
if (lean_obj_tag(v___x_1235_) == 0)
{
lean_object* v_a_1236_; lean_object* v___x_1238_; uint8_t v_isShared_1239_; uint8_t v_isSharedCheck_1245_; 
lean_dec(v_a_1233_);
lean_dec(v_a_1212_);
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
v_a_1236_ = lean_ctor_get(v___x_1235_, 0);
v_isSharedCheck_1245_ = !lean_is_exclusive(v___x_1235_);
if (v_isSharedCheck_1245_ == 0)
{
v___x_1238_ = v___x_1235_;
v_isShared_1239_ = v_isSharedCheck_1245_;
goto v_resetjp_1237_;
}
else
{
lean_inc(v_a_1236_);
lean_dec(v___x_1235_);
v___x_1238_ = lean_box(0);
v_isShared_1239_ = v_isSharedCheck_1245_;
goto v_resetjp_1237_;
}
v_resetjp_1237_:
{
lean_object* v___x_1240_; lean_object* v___x_1241_; lean_object* v___x_1243_; 
v___x_1240_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__28);
v___x_1241_ = lean_string_append(v___x_1240_, v_a_1236_);
lean_dec(v_a_1236_);
if (v_isShared_1239_ == 0)
{
lean_ctor_set(v___x_1238_, 0, v___x_1241_);
v___x_1243_ = v___x_1238_;
goto v_reusejp_1242_;
}
else
{
lean_object* v_reuseFailAlloc_1244_; 
v_reuseFailAlloc_1244_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1244_, 0, v___x_1241_);
v___x_1243_ = v_reuseFailAlloc_1244_;
goto v_reusejp_1242_;
}
v_reusejp_1242_:
{
return v___x_1243_;
}
}
}
else
{
if (lean_obj_tag(v___x_1235_) == 0)
{
lean_object* v_a_1246_; lean_object* v___x_1248_; uint8_t v_isShared_1249_; uint8_t v_isSharedCheck_1253_; 
lean_dec(v_a_1233_);
lean_dec(v_a_1212_);
lean_dec(v_a_1191_);
lean_dec(v_a_1170_);
v_a_1246_ = lean_ctor_get(v___x_1235_, 0);
v_isSharedCheck_1253_ = !lean_is_exclusive(v___x_1235_);
if (v_isSharedCheck_1253_ == 0)
{
v___x_1248_ = v___x_1235_;
v_isShared_1249_ = v_isSharedCheck_1253_;
goto v_resetjp_1247_;
}
else
{
lean_inc(v_a_1246_);
lean_dec(v___x_1235_);
v___x_1248_ = lean_box(0);
v_isShared_1249_ = v_isSharedCheck_1253_;
goto v_resetjp_1247_;
}
v_resetjp_1247_:
{
lean_object* v___x_1251_; 
if (v_isShared_1249_ == 0)
{
lean_ctor_set_tag(v___x_1248_, 0);
v___x_1251_ = v___x_1248_;
goto v_reusejp_1250_;
}
else
{
lean_object* v_reuseFailAlloc_1252_; 
v_reuseFailAlloc_1252_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1252_, 0, v_a_1246_);
v___x_1251_ = v_reuseFailAlloc_1252_;
goto v_reusejp_1250_;
}
v_reusejp_1250_:
{
return v___x_1251_;
}
}
}
else
{
lean_object* v_a_1254_; lean_object* v___x_1256_; uint8_t v_isShared_1257_; uint8_t v_isSharedCheck_1262_; 
v_a_1254_ = lean_ctor_get(v___x_1235_, 0);
v_isSharedCheck_1262_ = !lean_is_exclusive(v___x_1235_);
if (v_isSharedCheck_1262_ == 0)
{
v___x_1256_ = v___x_1235_;
v_isShared_1257_ = v_isSharedCheck_1262_;
goto v_resetjp_1255_;
}
else
{
lean_inc(v_a_1254_);
lean_dec(v___x_1235_);
v___x_1256_ = lean_box(0);
v_isShared_1257_ = v_isSharedCheck_1262_;
goto v_resetjp_1255_;
}
v_resetjp_1255_:
{
lean_object* v___x_1258_; lean_object* v___x_1260_; 
v___x_1258_ = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(v___x_1258_, 0, v_a_1170_);
lean_ctor_set(v___x_1258_, 1, v_a_1191_);
lean_ctor_set(v___x_1258_, 2, v_a_1212_);
lean_ctor_set(v___x_1258_, 3, v_a_1233_);
lean_ctor_set(v___x_1258_, 4, v_a_1254_);
if (v_isShared_1257_ == 0)
{
lean_ctor_set(v___x_1256_, 0, v___x_1258_);
v___x_1260_ = v___x_1256_;
goto v_reusejp_1259_;
}
else
{
lean_object* v_reuseFailAlloc_1261_; 
v_reuseFailAlloc_1261_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1261_, 0, v___x_1258_);
v___x_1260_ = v_reuseFailAlloc_1261_;
goto v_reusejp_1259_;
}
v_reusejp_1259_:
{
return v___x_1260_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__2(lean_object* v_x_1265_){
_start:
{
if (lean_obj_tag(v_x_1265_) == 0)
{
lean_object* v___x_1266_; 
v___x_1266_ = lean_box(0);
return v___x_1266_;
}
else
{
lean_object* v_val_1267_; lean_object* v___x_1269_; uint8_t v_isShared_1270_; uint8_t v_isSharedCheck_1275_; 
v_val_1267_ = lean_ctor_get(v_x_1265_, 0);
v_isSharedCheck_1275_ = !lean_is_exclusive(v_x_1265_);
if (v_isSharedCheck_1275_ == 0)
{
v___x_1269_ = v_x_1265_;
v_isShared_1270_ = v_isSharedCheck_1275_;
goto v_resetjp_1268_;
}
else
{
lean_inc(v_val_1267_);
lean_dec(v_x_1265_);
v___x_1269_ = lean_box(0);
v_isShared_1270_ = v_isSharedCheck_1275_;
goto v_resetjp_1268_;
}
v_resetjp_1268_:
{
lean_object* v___x_1271_; lean_object* v___x_1273_; 
v___x_1271_ = l_Lean_JsonNumber_fromNat(v_val_1267_);
if (v_isShared_1270_ == 0)
{
lean_ctor_set_tag(v___x_1269_, 2);
lean_ctor_set(v___x_1269_, 0, v___x_1271_);
v___x_1273_ = v___x_1269_;
goto v_reusejp_1272_;
}
else
{
lean_object* v_reuseFailAlloc_1274_; 
v_reuseFailAlloc_1274_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1274_, 0, v___x_1271_);
v___x_1273_ = v_reuseFailAlloc_1274_;
goto v_reusejp_1272_;
}
v_reusejp_1272_:
{
return v___x_1273_;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3(size_t v_sz_1276_, size_t v_i_1277_, lean_object* v_bs_1278_){
_start:
{
uint8_t v___x_1279_; 
v___x_1279_ = lean_usize_dec_lt(v_i_1277_, v_sz_1276_);
if (v___x_1279_ == 0)
{
return v_bs_1278_;
}
else
{
lean_object* v_v_1280_; lean_object* v___x_1281_; lean_object* v_bs_x27_1282_; lean_object* v___x_1283_; size_t v___x_1284_; size_t v___x_1285_; lean_object* v___x_1286_; 
v_v_1280_ = lean_array_uget(v_bs_1278_, v_i_1277_);
v___x_1281_ = lean_unsigned_to_nat(0u);
v_bs_x27_1282_ = lean_array_uset(v_bs_1278_, v_i_1277_, v___x_1281_);
v___x_1283_ = l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__2(v_v_1280_);
v___x_1284_ = ((size_t)1ULL);
v___x_1285_ = lean_usize_add(v_i_1277_, v___x_1284_);
v___x_1286_ = lean_array_uset(v_bs_x27_1282_, v_i_1277_, v___x_1283_);
v_i_1277_ = v___x_1285_;
v_bs_1278_ = v___x_1286_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3___boxed(lean_object* v_sz_1288_, lean_object* v_i_1289_, lean_object* v_bs_1290_){
_start:
{
size_t v_sz_boxed_1291_; size_t v_i_boxed_1292_; lean_object* v_res_1293_; 
v_sz_boxed_1291_ = lean_unbox_usize(v_sz_1288_);
lean_dec(v_sz_1288_);
v_i_boxed_1292_ = lean_unbox_usize(v_i_1289_);
lean_dec(v_i_1289_);
v_res_1293_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3(v_sz_boxed_1291_, v_i_boxed_1292_, v_bs_1290_);
return v_res_1293_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(lean_object* v_a_1294_){
_start:
{
size_t v_sz_1295_; size_t v___x_1296_; lean_object* v___x_1297_; lean_object* v___x_1298_; 
v_sz_1295_ = lean_array_size(v_a_1294_);
v___x_1296_ = ((size_t)0ULL);
v___x_1297_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1_spec__3(v_sz_1295_, v___x_1296_, v_a_1294_);
v___x_1298_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_1298_, 0, v___x_1297_);
return v___x_1298_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0(size_t v_sz_1299_, size_t v_i_1300_, lean_object* v_bs_1301_){
_start:
{
uint8_t v___x_1302_; 
v___x_1302_ = lean_usize_dec_lt(v_i_1300_, v_sz_1299_);
if (v___x_1302_ == 0)
{
return v_bs_1301_;
}
else
{
lean_object* v_v_1303_; lean_object* v___x_1304_; lean_object* v_bs_x27_1305_; lean_object* v___x_1306_; lean_object* v___x_1307_; size_t v___x_1308_; size_t v___x_1309_; lean_object* v___x_1310_; 
v_v_1303_ = lean_array_uget(v_bs_1301_, v_i_1300_);
v___x_1304_ = lean_unsigned_to_nat(0u);
v_bs_x27_1305_ = lean_array_uset(v_bs_1301_, v_i_1300_, v___x_1304_);
v___x_1306_ = l_Lean_JsonNumber_fromNat(v_v_1303_);
v___x_1307_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_1307_, 0, v___x_1306_);
v___x_1308_ = ((size_t)1ULL);
v___x_1309_ = lean_usize_add(v_i_1300_, v___x_1308_);
v___x_1310_ = lean_array_uset(v_bs_x27_1305_, v_i_1300_, v___x_1307_);
v_i_1300_ = v___x_1309_;
v_bs_1301_ = v___x_1310_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0___boxed(lean_object* v_sz_1312_, lean_object* v_i_1313_, lean_object* v_bs_1314_){
_start:
{
size_t v_sz_boxed_1315_; size_t v_i_boxed_1316_; lean_object* v_res_1317_; 
v_sz_boxed_1315_ = lean_unbox_usize(v_sz_1312_);
lean_dec(v_sz_1312_);
v_i_boxed_1316_ = lean_unbox_usize(v_i_1313_);
lean_dec(v_i_1313_);
v_res_1317_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0(v_sz_boxed_1315_, v_i_boxed_1316_, v_bs_1314_);
return v_res_1317_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(lean_object* v_a_1318_){
_start:
{
size_t v_sz_1319_; size_t v___x_1320_; lean_object* v___x_1321_; lean_object* v___x_1322_; 
v_sz_1319_ = lean_array_size(v_a_1318_);
v___x_1320_ = ((size_t)0ULL);
v___x_1321_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0_spec__0(v_sz_1319_, v___x_1320_, v_a_1318_);
v___x_1322_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_1322_, 0, v___x_1321_);
return v___x_1322_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonStackTable_toJson(lean_object* v_x_1323_){
_start:
{
lean_object* v_frame_1324_; lean_object* v_category_1325_; lean_object* v_subcategory_1326_; lean_object* v_prefix_1327_; lean_object* v_length_1328_; lean_object* v___x_1329_; lean_object* v___x_1330_; lean_object* v___x_1331_; lean_object* v___x_1332_; lean_object* v___x_1333_; lean_object* v___x_1334_; lean_object* v___x_1335_; lean_object* v___x_1336_; lean_object* v___x_1337_; lean_object* v___x_1338_; lean_object* v___x_1339_; lean_object* v___x_1340_; lean_object* v___x_1341_; lean_object* v___x_1342_; lean_object* v___x_1343_; lean_object* v___x_1344_; lean_object* v___x_1345_; lean_object* v___x_1346_; lean_object* v___x_1347_; lean_object* v___x_1348_; lean_object* v___x_1349_; lean_object* v___x_1350_; lean_object* v___x_1351_; lean_object* v___x_1352_; lean_object* v___x_1353_; lean_object* v___x_1354_; lean_object* v___x_1355_; lean_object* v___x_1356_; lean_object* v___x_1357_; lean_object* v___x_1358_; 
v_frame_1324_ = lean_ctor_get(v_x_1323_, 0);
lean_inc_ref(v_frame_1324_);
v_category_1325_ = lean_ctor_get(v_x_1323_, 1);
lean_inc_ref(v_category_1325_);
v_subcategory_1326_ = lean_ctor_get(v_x_1323_, 2);
lean_inc_ref(v_subcategory_1326_);
v_prefix_1327_ = lean_ctor_get(v_x_1323_, 3);
lean_inc_ref(v_prefix_1327_);
v_length_1328_ = lean_ctor_get(v_x_1323_, 4);
lean_inc(v_length_1328_);
lean_dec_ref(v_x_1323_);
v___x_1329_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__0));
v___x_1330_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_frame_1324_);
v___x_1331_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1331_, 0, v___x_1329_);
lean_ctor_set(v___x_1331_, 1, v___x_1330_);
v___x_1332_ = lean_box(0);
v___x_1333_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1333_, 0, v___x_1331_);
lean_ctor_set(v___x_1333_, 1, v___x_1332_);
v___x_1334_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9));
v___x_1335_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_category_1325_);
v___x_1336_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1336_, 0, v___x_1334_);
lean_ctor_set(v___x_1336_, 1, v___x_1335_);
v___x_1337_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1337_, 0, v___x_1336_);
lean_ctor_set(v___x_1337_, 1, v___x_1332_);
v___x_1338_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14));
v___x_1339_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_subcategory_1326_);
v___x_1340_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1340_, 0, v___x_1338_);
lean_ctor_set(v___x_1340_, 1, v___x_1339_);
v___x_1341_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1341_, 0, v___x_1340_);
lean_ctor_set(v___x_1341_, 1, v___x_1332_);
v___x_1342_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__19));
v___x_1343_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_prefix_1327_);
v___x_1344_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1344_, 0, v___x_1342_);
lean_ctor_set(v___x_1344_, 1, v___x_1343_);
v___x_1345_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1345_, 0, v___x_1344_);
lean_ctor_set(v___x_1345_, 1, v___x_1332_);
v___x_1346_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_1347_ = l_Lean_JsonNumber_fromNat(v_length_1328_);
v___x_1348_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_1348_, 0, v___x_1347_);
v___x_1349_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1349_, 0, v___x_1346_);
lean_ctor_set(v___x_1349_, 1, v___x_1348_);
v___x_1350_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1350_, 0, v___x_1349_);
lean_ctor_set(v___x_1350_, 1, v___x_1332_);
v___x_1351_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1351_, 0, v___x_1350_);
lean_ctor_set(v___x_1351_, 1, v___x_1332_);
v___x_1352_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1352_, 0, v___x_1345_);
lean_ctor_set(v___x_1352_, 1, v___x_1351_);
v___x_1353_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1353_, 0, v___x_1341_);
lean_ctor_set(v___x_1353_, 1, v___x_1352_);
v___x_1354_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1354_, 0, v___x_1337_);
lean_ctor_set(v___x_1354_, 1, v___x_1353_);
v___x_1355_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1355_, 0, v___x_1333_);
lean_ctor_set(v___x_1355_, 1, v___x_1354_);
v___x_1356_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_1357_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_1355_, v___x_1356_);
v___x_1358_ = l_Lean_Json_mkObj(v___x_1357_);
return v___x_1358_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1(size_t v_sz_1361_, size_t v_i_1362_, lean_object* v_bs_1363_){
_start:
{
uint8_t v___x_1364_; 
v___x_1364_ = lean_usize_dec_lt(v_i_1362_, v_sz_1361_);
if (v___x_1364_ == 0)
{
lean_object* v___x_1365_; 
v___x_1365_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_1365_, 0, v_bs_1363_);
return v___x_1365_;
}
else
{
lean_object* v_v_1366_; lean_object* v___x_1367_; 
v_v_1366_ = lean_array_uget_borrowed(v_bs_1363_, v_i_1362_);
lean_inc(v_v_1366_);
v___x_1367_ = l_Float_fromJson_x3f(v_v_1366_);
if (lean_obj_tag(v___x_1367_) == 0)
{
lean_object* v_a_1368_; lean_object* v___x_1370_; uint8_t v_isShared_1371_; uint8_t v_isSharedCheck_1375_; 
lean_dec_ref(v_bs_1363_);
v_a_1368_ = lean_ctor_get(v___x_1367_, 0);
v_isSharedCheck_1375_ = !lean_is_exclusive(v___x_1367_);
if (v_isSharedCheck_1375_ == 0)
{
v___x_1370_ = v___x_1367_;
v_isShared_1371_ = v_isSharedCheck_1375_;
goto v_resetjp_1369_;
}
else
{
lean_inc(v_a_1368_);
lean_dec(v___x_1367_);
v___x_1370_ = lean_box(0);
v_isShared_1371_ = v_isSharedCheck_1375_;
goto v_resetjp_1369_;
}
v_resetjp_1369_:
{
lean_object* v___x_1373_; 
if (v_isShared_1371_ == 0)
{
v___x_1373_ = v___x_1370_;
goto v_reusejp_1372_;
}
else
{
lean_object* v_reuseFailAlloc_1374_; 
v_reuseFailAlloc_1374_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1374_, 0, v_a_1368_);
v___x_1373_ = v_reuseFailAlloc_1374_;
goto v_reusejp_1372_;
}
v_reusejp_1372_:
{
return v___x_1373_;
}
}
}
else
{
lean_object* v_a_1376_; lean_object* v___x_1377_; lean_object* v_bs_x27_1378_; size_t v___x_1379_; size_t v___x_1380_; lean_object* v___x_1381_; 
v_a_1376_ = lean_ctor_get(v___x_1367_, 0);
lean_inc(v_a_1376_);
lean_dec_ref(v___x_1367_);
v___x_1377_ = lean_unsigned_to_nat(0u);
v_bs_x27_1378_ = lean_array_uset(v_bs_1363_, v_i_1362_, v___x_1377_);
v___x_1379_ = ((size_t)1ULL);
v___x_1380_ = lean_usize_add(v_i_1362_, v___x_1379_);
v___x_1381_ = lean_array_uset(v_bs_x27_1378_, v_i_1362_, v_a_1376_);
v_i_1362_ = v___x_1380_;
v_bs_1363_ = v___x_1381_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object* v_sz_1383_, lean_object* v_i_1384_, lean_object* v_bs_1385_){
_start:
{
size_t v_sz_boxed_1386_; size_t v_i_boxed_1387_; lean_object* v_res_1388_; 
v_sz_boxed_1386_ = lean_unbox_usize(v_sz_1383_);
lean_dec(v_sz_1383_);
v_i_boxed_1387_ = lean_unbox_usize(v_i_1384_);
lean_dec(v_i_1384_);
v_res_1388_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1(v_sz_boxed_1386_, v_i_boxed_1387_, v_bs_1385_);
return v_res_1388_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0(lean_object* v_x_1389_){
_start:
{
if (lean_obj_tag(v_x_1389_) == 4)
{
lean_object* v_elems_1390_; size_t v_sz_1391_; size_t v___x_1392_; lean_object* v___x_1393_; 
v_elems_1390_ = lean_ctor_get(v_x_1389_, 0);
lean_inc_ref(v_elems_1390_);
lean_dec_ref(v_x_1389_);
v_sz_1391_ = lean_array_size(v_elems_1390_);
v___x_1392_ = ((size_t)0ULL);
v___x_1393_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0_spec__1(v_sz_1391_, v___x_1392_, v_elems_1390_);
return v___x_1393_;
}
else
{
lean_object* v___x_1394_; lean_object* v___x_1395_; lean_object* v___x_1396_; lean_object* v___x_1397_; lean_object* v___x_1398_; lean_object* v___x_1399_; lean_object* v___x_1400_; 
v___x_1394_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_1395_ = lean_unsigned_to_nat(80u);
v___x_1396_ = l_Lean_Json_pretty(v_x_1389_, v___x_1395_);
v___x_1397_ = lean_string_append(v___x_1394_, v___x_1396_);
lean_dec_ref(v___x_1396_);
v___x_1398_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_1399_ = lean_string_append(v___x_1397_, v___x_1398_);
v___x_1400_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_1400_, 0, v___x_1399_);
return v___x_1400_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0(lean_object* v_j_1401_, lean_object* v_k_1402_){
_start:
{
lean_object* v___x_1403_; lean_object* v___x_1404_; 
v___x_1403_ = l_Lean_Json_getObjValD(v_j_1401_, v_k_1402_);
v___x_1404_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0_spec__0(v___x_1403_);
return v___x_1404_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0___boxed(lean_object* v_j_1405_, lean_object* v_k_1406_){
_start:
{
lean_object* v_res_1407_; 
v_res_1407_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0(v_j_1405_, v_k_1406_);
lean_dec_ref(v_k_1406_);
return v_res_1407_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4(size_t v_sz_1408_, size_t v_i_1409_, lean_object* v_bs_1410_){
_start:
{
uint8_t v___x_1411_; 
v___x_1411_ = lean_usize_dec_lt(v_i_1409_, v_sz_1408_);
if (v___x_1411_ == 0)
{
lean_object* v___x_1412_; 
v___x_1412_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_1412_, 0, v_bs_1410_);
return v___x_1412_;
}
else
{
lean_object* v_v_1413_; lean_object* v___x_1414_; 
v_v_1413_ = lean_array_uget_borrowed(v_bs_1410_, v_i_1409_);
lean_inc(v_v_1413_);
v___x_1414_ = l_Float_fromJson_x3f(v_v_1413_);
if (lean_obj_tag(v___x_1414_) == 0)
{
lean_object* v_a_1415_; lean_object* v___x_1417_; uint8_t v_isShared_1418_; uint8_t v_isSharedCheck_1422_; 
lean_dec_ref(v_bs_1410_);
v_a_1415_ = lean_ctor_get(v___x_1414_, 0);
v_isSharedCheck_1422_ = !lean_is_exclusive(v___x_1414_);
if (v_isSharedCheck_1422_ == 0)
{
v___x_1417_ = v___x_1414_;
v_isShared_1418_ = v_isSharedCheck_1422_;
goto v_resetjp_1416_;
}
else
{
lean_inc(v_a_1415_);
lean_dec(v___x_1414_);
v___x_1417_ = lean_box(0);
v_isShared_1418_ = v_isSharedCheck_1422_;
goto v_resetjp_1416_;
}
v_resetjp_1416_:
{
lean_object* v___x_1420_; 
if (v_isShared_1418_ == 0)
{
v___x_1420_ = v___x_1417_;
goto v_reusejp_1419_;
}
else
{
lean_object* v_reuseFailAlloc_1421_; 
v_reuseFailAlloc_1421_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1421_, 0, v_a_1415_);
v___x_1420_ = v_reuseFailAlloc_1421_;
goto v_reusejp_1419_;
}
v_reusejp_1419_:
{
return v___x_1420_;
}
}
}
else
{
lean_object* v_a_1423_; lean_object* v___x_1424_; lean_object* v_bs_x27_1425_; size_t v___x_1426_; size_t v___x_1427_; lean_object* v___x_1428_; 
v_a_1423_ = lean_ctor_get(v___x_1414_, 0);
lean_inc(v_a_1423_);
lean_dec_ref(v___x_1414_);
v___x_1424_ = lean_unsigned_to_nat(0u);
v_bs_x27_1425_ = lean_array_uset(v_bs_1410_, v_i_1409_, v___x_1424_);
v___x_1426_ = ((size_t)1ULL);
v___x_1427_ = lean_usize_add(v_i_1409_, v___x_1426_);
v___x_1428_ = lean_array_uset(v_bs_x27_1425_, v_i_1409_, v_a_1423_);
v_i_1409_ = v___x_1427_;
v_bs_1410_ = v___x_1428_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4___boxed(lean_object* v_sz_1430_, lean_object* v_i_1431_, lean_object* v_bs_1432_){
_start:
{
size_t v_sz_boxed_1433_; size_t v_i_boxed_1434_; lean_object* v_res_1435_; 
v_sz_boxed_1433_ = lean_unbox_usize(v_sz_1430_);
lean_dec(v_sz_1430_);
v_i_boxed_1434_ = lean_unbox_usize(v_i_1431_);
lean_dec(v_i_1431_);
v_res_1435_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4(v_sz_boxed_1433_, v_i_boxed_1434_, v_bs_1432_);
return v_res_1435_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2(lean_object* v_x_1436_){
_start:
{
if (lean_obj_tag(v_x_1436_) == 4)
{
lean_object* v_elems_1437_; size_t v_sz_1438_; size_t v___x_1439_; lean_object* v___x_1440_; 
v_elems_1437_ = lean_ctor_get(v_x_1436_, 0);
lean_inc_ref(v_elems_1437_);
lean_dec_ref(v_x_1436_);
v_sz_1438_ = lean_array_size(v_elems_1437_);
v___x_1439_ = ((size_t)0ULL);
v___x_1440_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2_spec__4(v_sz_1438_, v___x_1439_, v_elems_1437_);
return v___x_1440_;
}
else
{
lean_object* v___x_1441_; lean_object* v___x_1442_; lean_object* v___x_1443_; lean_object* v___x_1444_; lean_object* v___x_1445_; lean_object* v___x_1446_; lean_object* v___x_1447_; 
v___x_1441_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_1442_ = lean_unsigned_to_nat(80u);
v___x_1443_ = l_Lean_Json_pretty(v_x_1436_, v___x_1442_);
v___x_1444_ = lean_string_append(v___x_1441_, v___x_1443_);
lean_dec_ref(v___x_1443_);
v___x_1445_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_1446_ = lean_string_append(v___x_1444_, v___x_1445_);
v___x_1447_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_1447_, 0, v___x_1446_);
return v___x_1447_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1(lean_object* v_j_1448_, lean_object* v_k_1449_){
_start:
{
lean_object* v___x_1450_; lean_object* v___x_1451_; 
v___x_1450_ = l_Lean_Json_getObjValD(v_j_1448_, v_k_1449_);
v___x_1451_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1_spec__2(v___x_1450_);
return v___x_1451_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1___boxed(lean_object* v_j_1452_, lean_object* v_k_1453_){
_start:
{
lean_object* v_res_1454_; 
v_res_1454_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1(v_j_1452_, v_k_1453_);
lean_dec_ref(v_k_1453_);
return v_res_1454_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3(void){
_start:
{
uint8_t v___x_1461_; lean_object* v___x_1462_; lean_object* v___x_1463_; 
v___x_1461_ = 1;
v___x_1462_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__2));
v___x_1463_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1462_, v___x_1461_);
return v___x_1463_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_1464_; lean_object* v___x_1465_; lean_object* v___x_1466_; 
v___x_1464_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_1465_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__3);
v___x_1466_ = lean_string_append(v___x_1465_, v___x_1464_);
return v___x_1466_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6(void){
_start:
{
uint8_t v___x_1469_; lean_object* v___x_1470_; lean_object* v___x_1471_; 
v___x_1469_ = 1;
v___x_1470_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__5));
v___x_1471_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1470_, v___x_1469_);
return v___x_1471_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7(void){
_start:
{
lean_object* v___x_1472_; lean_object* v___x_1473_; lean_object* v___x_1474_; 
v___x_1472_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__6);
v___x_1473_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1474_ = lean_string_append(v___x_1473_, v___x_1472_);
return v___x_1474_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8(void){
_start:
{
lean_object* v___x_1475_; lean_object* v___x_1476_; lean_object* v___x_1477_; 
v___x_1475_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1476_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__7);
v___x_1477_ = lean_string_append(v___x_1476_, v___x_1475_);
return v___x_1477_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9(void){
_start:
{
lean_object* v___x_1478_; lean_object* v___x_1479_; lean_object* v___x_1480_; 
v___x_1478_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__6);
v___x_1479_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1480_ = lean_string_append(v___x_1479_, v___x_1478_);
return v___x_1480_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10(void){
_start:
{
lean_object* v___x_1481_; lean_object* v___x_1482_; lean_object* v___x_1483_; 
v___x_1481_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1482_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__9);
v___x_1483_ = lean_string_append(v___x_1482_, v___x_1481_);
return v___x_1483_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13(void){
_start:
{
uint8_t v___x_1487_; lean_object* v___x_1488_; lean_object* v___x_1489_; 
v___x_1487_ = 1;
v___x_1488_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__12));
v___x_1489_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1488_, v___x_1487_);
return v___x_1489_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14(void){
_start:
{
lean_object* v___x_1490_; lean_object* v___x_1491_; lean_object* v___x_1492_; 
v___x_1490_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__13);
v___x_1491_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1492_ = lean_string_append(v___x_1491_, v___x_1490_);
return v___x_1492_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15(void){
_start:
{
lean_object* v___x_1493_; lean_object* v___x_1494_; lean_object* v___x_1495_; 
v___x_1493_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1494_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__14);
v___x_1495_ = lean_string_append(v___x_1494_, v___x_1493_);
return v___x_1495_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18(void){
_start:
{
uint8_t v___x_1499_; lean_object* v___x_1500_; lean_object* v___x_1501_; 
v___x_1499_ = 1;
v___x_1500_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__17));
v___x_1501_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1500_, v___x_1499_);
return v___x_1501_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19(void){
_start:
{
lean_object* v___x_1502_; lean_object* v___x_1503_; lean_object* v___x_1504_; 
v___x_1502_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__18);
v___x_1503_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1504_ = lean_string_append(v___x_1503_, v___x_1502_);
return v___x_1504_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20(void){
_start:
{
lean_object* v___x_1505_; lean_object* v___x_1506_; lean_object* v___x_1507_; 
v___x_1505_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1506_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__19);
v___x_1507_ = lean_string_append(v___x_1506_, v___x_1505_);
return v___x_1507_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21(void){
_start:
{
lean_object* v___x_1508_; lean_object* v___x_1509_; lean_object* v___x_1510_; 
v___x_1508_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16, &l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__16);
v___x_1509_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1510_ = lean_string_append(v___x_1509_, v___x_1508_);
return v___x_1510_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22(void){
_start:
{
lean_object* v___x_1511_; lean_object* v___x_1512_; lean_object* v___x_1513_; 
v___x_1511_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1512_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__21);
v___x_1513_ = lean_string_append(v___x_1512_, v___x_1511_);
return v___x_1513_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23(void){
_start:
{
lean_object* v___x_1514_; lean_object* v___x_1515_; lean_object* v___x_1516_; 
v___x_1514_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_1515_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__4);
v___x_1516_ = lean_string_append(v___x_1515_, v___x_1514_);
return v___x_1516_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24(void){
_start:
{
lean_object* v___x_1517_; lean_object* v___x_1518_; lean_object* v___x_1519_; 
v___x_1517_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1518_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__23);
v___x_1519_ = lean_string_append(v___x_1518_, v___x_1517_);
return v___x_1519_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonSamplesTable_fromJson(lean_object* v_json_1520_){
_start:
{
lean_object* v___x_1521_; lean_object* v___x_1522_; 
v___x_1521_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0));
lean_inc(v_json_1520_);
v___x_1522_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_1520_, v___x_1521_);
if (lean_obj_tag(v___x_1522_) == 0)
{
lean_object* v_a_1523_; lean_object* v___x_1525_; uint8_t v_isShared_1526_; uint8_t v_isSharedCheck_1532_; 
lean_dec(v_json_1520_);
v_a_1523_ = lean_ctor_get(v___x_1522_, 0);
v_isSharedCheck_1532_ = !lean_is_exclusive(v___x_1522_);
if (v_isSharedCheck_1532_ == 0)
{
v___x_1525_ = v___x_1522_;
v_isShared_1526_ = v_isSharedCheck_1532_;
goto v_resetjp_1524_;
}
else
{
lean_inc(v_a_1523_);
lean_dec(v___x_1522_);
v___x_1525_ = lean_box(0);
v_isShared_1526_ = v_isSharedCheck_1532_;
goto v_resetjp_1524_;
}
v_resetjp_1524_:
{
lean_object* v___x_1527_; lean_object* v___x_1528_; lean_object* v___x_1530_; 
v___x_1527_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__8);
v___x_1528_ = lean_string_append(v___x_1527_, v_a_1523_);
lean_dec(v_a_1523_);
if (v_isShared_1526_ == 0)
{
lean_ctor_set(v___x_1525_, 0, v___x_1528_);
v___x_1530_ = v___x_1525_;
goto v_reusejp_1529_;
}
else
{
lean_object* v_reuseFailAlloc_1531_; 
v_reuseFailAlloc_1531_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1531_, 0, v___x_1528_);
v___x_1530_ = v_reuseFailAlloc_1531_;
goto v_reusejp_1529_;
}
v_reusejp_1529_:
{
return v___x_1530_;
}
}
}
else
{
if (lean_obj_tag(v___x_1522_) == 0)
{
lean_object* v_a_1533_; lean_object* v___x_1535_; uint8_t v_isShared_1536_; uint8_t v_isSharedCheck_1540_; 
lean_dec(v_json_1520_);
v_a_1533_ = lean_ctor_get(v___x_1522_, 0);
v_isSharedCheck_1540_ = !lean_is_exclusive(v___x_1522_);
if (v_isSharedCheck_1540_ == 0)
{
v___x_1535_ = v___x_1522_;
v_isShared_1536_ = v_isSharedCheck_1540_;
goto v_resetjp_1534_;
}
else
{
lean_inc(v_a_1533_);
lean_dec(v___x_1522_);
v___x_1535_ = lean_box(0);
v_isShared_1536_ = v_isSharedCheck_1540_;
goto v_resetjp_1534_;
}
v_resetjp_1534_:
{
lean_object* v___x_1538_; 
if (v_isShared_1536_ == 0)
{
lean_ctor_set_tag(v___x_1535_, 0);
v___x_1538_ = v___x_1535_;
goto v_reusejp_1537_;
}
else
{
lean_object* v_reuseFailAlloc_1539_; 
v_reuseFailAlloc_1539_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1539_, 0, v_a_1533_);
v___x_1538_ = v_reuseFailAlloc_1539_;
goto v_reusejp_1537_;
}
v_reusejp_1537_:
{
return v___x_1538_;
}
}
}
else
{
lean_object* v_a_1541_; lean_object* v___x_1542_; lean_object* v___x_1543_; 
v_a_1541_ = lean_ctor_get(v___x_1522_, 0);
lean_inc(v_a_1541_);
lean_dec_ref(v___x_1522_);
v___x_1542_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0));
lean_inc(v_json_1520_);
v___x_1543_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0(v_json_1520_, v___x_1542_);
if (lean_obj_tag(v___x_1543_) == 0)
{
lean_object* v_a_1544_; lean_object* v___x_1546_; uint8_t v_isShared_1547_; uint8_t v_isSharedCheck_1553_; 
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1544_ = lean_ctor_get(v___x_1543_, 0);
v_isSharedCheck_1553_ = !lean_is_exclusive(v___x_1543_);
if (v_isSharedCheck_1553_ == 0)
{
v___x_1546_ = v___x_1543_;
v_isShared_1547_ = v_isSharedCheck_1553_;
goto v_resetjp_1545_;
}
else
{
lean_inc(v_a_1544_);
lean_dec(v___x_1543_);
v___x_1546_ = lean_box(0);
v_isShared_1547_ = v_isSharedCheck_1553_;
goto v_resetjp_1545_;
}
v_resetjp_1545_:
{
lean_object* v___x_1548_; lean_object* v___x_1549_; lean_object* v___x_1551_; 
v___x_1548_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__10);
v___x_1549_ = lean_string_append(v___x_1548_, v_a_1544_);
lean_dec(v_a_1544_);
if (v_isShared_1547_ == 0)
{
lean_ctor_set(v___x_1546_, 0, v___x_1549_);
v___x_1551_ = v___x_1546_;
goto v_reusejp_1550_;
}
else
{
lean_object* v_reuseFailAlloc_1552_; 
v_reuseFailAlloc_1552_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1552_, 0, v___x_1549_);
v___x_1551_ = v_reuseFailAlloc_1552_;
goto v_reusejp_1550_;
}
v_reusejp_1550_:
{
return v___x_1551_;
}
}
}
else
{
if (lean_obj_tag(v___x_1543_) == 0)
{
lean_object* v_a_1554_; lean_object* v___x_1556_; uint8_t v_isShared_1557_; uint8_t v_isSharedCheck_1561_; 
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1554_ = lean_ctor_get(v___x_1543_, 0);
v_isSharedCheck_1561_ = !lean_is_exclusive(v___x_1543_);
if (v_isSharedCheck_1561_ == 0)
{
v___x_1556_ = v___x_1543_;
v_isShared_1557_ = v_isSharedCheck_1561_;
goto v_resetjp_1555_;
}
else
{
lean_inc(v_a_1554_);
lean_dec(v___x_1543_);
v___x_1556_ = lean_box(0);
v_isShared_1557_ = v_isSharedCheck_1561_;
goto v_resetjp_1555_;
}
v_resetjp_1555_:
{
lean_object* v___x_1559_; 
if (v_isShared_1557_ == 0)
{
lean_ctor_set_tag(v___x_1556_, 0);
v___x_1559_ = v___x_1556_;
goto v_reusejp_1558_;
}
else
{
lean_object* v_reuseFailAlloc_1560_; 
v_reuseFailAlloc_1560_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1560_, 0, v_a_1554_);
v___x_1559_ = v_reuseFailAlloc_1560_;
goto v_reusejp_1558_;
}
v_reusejp_1558_:
{
return v___x_1559_;
}
}
}
else
{
lean_object* v_a_1562_; lean_object* v___x_1563_; lean_object* v___x_1564_; 
v_a_1562_ = lean_ctor_get(v___x_1543_, 0);
lean_inc(v_a_1562_);
lean_dec_ref(v___x_1543_);
v___x_1563_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11));
lean_inc(v_json_1520_);
v___x_1564_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__0(v_json_1520_, v___x_1563_);
if (lean_obj_tag(v___x_1564_) == 0)
{
lean_object* v_a_1565_; lean_object* v___x_1567_; uint8_t v_isShared_1568_; uint8_t v_isSharedCheck_1574_; 
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1565_ = lean_ctor_get(v___x_1564_, 0);
v_isSharedCheck_1574_ = !lean_is_exclusive(v___x_1564_);
if (v_isSharedCheck_1574_ == 0)
{
v___x_1567_ = v___x_1564_;
v_isShared_1568_ = v_isSharedCheck_1574_;
goto v_resetjp_1566_;
}
else
{
lean_inc(v_a_1565_);
lean_dec(v___x_1564_);
v___x_1567_ = lean_box(0);
v_isShared_1568_ = v_isSharedCheck_1574_;
goto v_resetjp_1566_;
}
v_resetjp_1566_:
{
lean_object* v___x_1569_; lean_object* v___x_1570_; lean_object* v___x_1572_; 
v___x_1569_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__15);
v___x_1570_ = lean_string_append(v___x_1569_, v_a_1565_);
lean_dec(v_a_1565_);
if (v_isShared_1568_ == 0)
{
lean_ctor_set(v___x_1567_, 0, v___x_1570_);
v___x_1572_ = v___x_1567_;
goto v_reusejp_1571_;
}
else
{
lean_object* v_reuseFailAlloc_1573_; 
v_reuseFailAlloc_1573_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1573_, 0, v___x_1570_);
v___x_1572_ = v_reuseFailAlloc_1573_;
goto v_reusejp_1571_;
}
v_reusejp_1571_:
{
return v___x_1572_;
}
}
}
else
{
if (lean_obj_tag(v___x_1564_) == 0)
{
lean_object* v_a_1575_; lean_object* v___x_1577_; uint8_t v_isShared_1578_; uint8_t v_isSharedCheck_1582_; 
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1575_ = lean_ctor_get(v___x_1564_, 0);
v_isSharedCheck_1582_ = !lean_is_exclusive(v___x_1564_);
if (v_isSharedCheck_1582_ == 0)
{
v___x_1577_ = v___x_1564_;
v_isShared_1578_ = v_isSharedCheck_1582_;
goto v_resetjp_1576_;
}
else
{
lean_inc(v_a_1575_);
lean_dec(v___x_1564_);
v___x_1577_ = lean_box(0);
v_isShared_1578_ = v_isSharedCheck_1582_;
goto v_resetjp_1576_;
}
v_resetjp_1576_:
{
lean_object* v___x_1580_; 
if (v_isShared_1578_ == 0)
{
lean_ctor_set_tag(v___x_1577_, 0);
v___x_1580_ = v___x_1577_;
goto v_reusejp_1579_;
}
else
{
lean_object* v_reuseFailAlloc_1581_; 
v_reuseFailAlloc_1581_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1581_, 0, v_a_1575_);
v___x_1580_ = v_reuseFailAlloc_1581_;
goto v_reusejp_1579_;
}
v_reusejp_1579_:
{
return v___x_1580_;
}
}
}
else
{
lean_object* v_a_1583_; lean_object* v___x_1584_; lean_object* v___x_1585_; 
v_a_1583_ = lean_ctor_get(v___x_1564_, 0);
lean_inc(v_a_1583_);
lean_dec_ref(v___x_1564_);
v___x_1584_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16));
lean_inc(v_json_1520_);
v___x_1585_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_1520_, v___x_1584_);
if (lean_obj_tag(v___x_1585_) == 0)
{
lean_object* v_a_1586_; lean_object* v___x_1588_; uint8_t v_isShared_1589_; uint8_t v_isSharedCheck_1595_; 
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1586_ = lean_ctor_get(v___x_1585_, 0);
v_isSharedCheck_1595_ = !lean_is_exclusive(v___x_1585_);
if (v_isSharedCheck_1595_ == 0)
{
v___x_1588_ = v___x_1585_;
v_isShared_1589_ = v_isSharedCheck_1595_;
goto v_resetjp_1587_;
}
else
{
lean_inc(v_a_1586_);
lean_dec(v___x_1585_);
v___x_1588_ = lean_box(0);
v_isShared_1589_ = v_isSharedCheck_1595_;
goto v_resetjp_1587_;
}
v_resetjp_1587_:
{
lean_object* v___x_1590_; lean_object* v___x_1591_; lean_object* v___x_1593_; 
v___x_1590_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__20);
v___x_1591_ = lean_string_append(v___x_1590_, v_a_1586_);
lean_dec(v_a_1586_);
if (v_isShared_1589_ == 0)
{
lean_ctor_set(v___x_1588_, 0, v___x_1591_);
v___x_1593_ = v___x_1588_;
goto v_reusejp_1592_;
}
else
{
lean_object* v_reuseFailAlloc_1594_; 
v_reuseFailAlloc_1594_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1594_, 0, v___x_1591_);
v___x_1593_ = v_reuseFailAlloc_1594_;
goto v_reusejp_1592_;
}
v_reusejp_1592_:
{
return v___x_1593_;
}
}
}
else
{
if (lean_obj_tag(v___x_1585_) == 0)
{
lean_object* v_a_1596_; lean_object* v___x_1598_; uint8_t v_isShared_1599_; uint8_t v_isSharedCheck_1603_; 
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1596_ = lean_ctor_get(v___x_1585_, 0);
v_isSharedCheck_1603_ = !lean_is_exclusive(v___x_1585_);
if (v_isSharedCheck_1603_ == 0)
{
v___x_1598_ = v___x_1585_;
v_isShared_1599_ = v_isSharedCheck_1603_;
goto v_resetjp_1597_;
}
else
{
lean_inc(v_a_1596_);
lean_dec(v___x_1585_);
v___x_1598_ = lean_box(0);
v_isShared_1599_ = v_isSharedCheck_1603_;
goto v_resetjp_1597_;
}
v_resetjp_1597_:
{
lean_object* v___x_1601_; 
if (v_isShared_1599_ == 0)
{
lean_ctor_set_tag(v___x_1598_, 0);
v___x_1601_ = v___x_1598_;
goto v_reusejp_1600_;
}
else
{
lean_object* v_reuseFailAlloc_1602_; 
v_reuseFailAlloc_1602_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1602_, 0, v_a_1596_);
v___x_1601_ = v_reuseFailAlloc_1602_;
goto v_reusejp_1600_;
}
v_reusejp_1600_:
{
return v___x_1601_;
}
}
}
else
{
lean_object* v_a_1604_; lean_object* v___x_1605_; lean_object* v___x_1606_; 
v_a_1604_ = lean_ctor_get(v___x_1585_, 0);
lean_inc(v_a_1604_);
lean_dec_ref(v___x_1585_);
v___x_1605_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14));
lean_inc(v_json_1520_);
v___x_1606_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonSamplesTable_fromJson_spec__1(v_json_1520_, v___x_1605_);
if (lean_obj_tag(v___x_1606_) == 0)
{
lean_object* v_a_1607_; lean_object* v___x_1609_; uint8_t v_isShared_1610_; uint8_t v_isSharedCheck_1616_; 
lean_dec(v_a_1604_);
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1607_ = lean_ctor_get(v___x_1606_, 0);
v_isSharedCheck_1616_ = !lean_is_exclusive(v___x_1606_);
if (v_isSharedCheck_1616_ == 0)
{
v___x_1609_ = v___x_1606_;
v_isShared_1610_ = v_isSharedCheck_1616_;
goto v_resetjp_1608_;
}
else
{
lean_inc(v_a_1607_);
lean_dec(v___x_1606_);
v___x_1609_ = lean_box(0);
v_isShared_1610_ = v_isSharedCheck_1616_;
goto v_resetjp_1608_;
}
v_resetjp_1608_:
{
lean_object* v___x_1611_; lean_object* v___x_1612_; lean_object* v___x_1614_; 
v___x_1611_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__22);
v___x_1612_ = lean_string_append(v___x_1611_, v_a_1607_);
lean_dec(v_a_1607_);
if (v_isShared_1610_ == 0)
{
lean_ctor_set(v___x_1609_, 0, v___x_1612_);
v___x_1614_ = v___x_1609_;
goto v_reusejp_1613_;
}
else
{
lean_object* v_reuseFailAlloc_1615_; 
v_reuseFailAlloc_1615_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1615_, 0, v___x_1612_);
v___x_1614_ = v_reuseFailAlloc_1615_;
goto v_reusejp_1613_;
}
v_reusejp_1613_:
{
return v___x_1614_;
}
}
}
else
{
if (lean_obj_tag(v___x_1606_) == 0)
{
lean_object* v_a_1617_; lean_object* v___x_1619_; uint8_t v_isShared_1620_; uint8_t v_isSharedCheck_1624_; 
lean_dec(v_a_1604_);
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
lean_dec(v_json_1520_);
v_a_1617_ = lean_ctor_get(v___x_1606_, 0);
v_isSharedCheck_1624_ = !lean_is_exclusive(v___x_1606_);
if (v_isSharedCheck_1624_ == 0)
{
v___x_1619_ = v___x_1606_;
v_isShared_1620_ = v_isSharedCheck_1624_;
goto v_resetjp_1618_;
}
else
{
lean_inc(v_a_1617_);
lean_dec(v___x_1606_);
v___x_1619_ = lean_box(0);
v_isShared_1620_ = v_isSharedCheck_1624_;
goto v_resetjp_1618_;
}
v_resetjp_1618_:
{
lean_object* v___x_1622_; 
if (v_isShared_1620_ == 0)
{
lean_ctor_set_tag(v___x_1619_, 0);
v___x_1622_ = v___x_1619_;
goto v_reusejp_1621_;
}
else
{
lean_object* v_reuseFailAlloc_1623_; 
v_reuseFailAlloc_1623_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1623_, 0, v_a_1617_);
v___x_1622_ = v_reuseFailAlloc_1623_;
goto v_reusejp_1621_;
}
v_reusejp_1621_:
{
return v___x_1622_;
}
}
}
else
{
lean_object* v_a_1625_; lean_object* v___x_1626_; lean_object* v___x_1627_; 
v_a_1625_ = lean_ctor_get(v___x_1606_, 0);
lean_inc(v_a_1625_);
lean_dec_ref(v___x_1606_);
v___x_1626_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_1627_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_1520_, v___x_1626_);
if (lean_obj_tag(v___x_1627_) == 0)
{
lean_object* v_a_1628_; lean_object* v___x_1630_; uint8_t v_isShared_1631_; uint8_t v_isSharedCheck_1637_; 
lean_dec(v_a_1625_);
lean_dec(v_a_1604_);
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
v_a_1628_ = lean_ctor_get(v___x_1627_, 0);
v_isSharedCheck_1637_ = !lean_is_exclusive(v___x_1627_);
if (v_isSharedCheck_1637_ == 0)
{
v___x_1630_ = v___x_1627_;
v_isShared_1631_ = v_isSharedCheck_1637_;
goto v_resetjp_1629_;
}
else
{
lean_inc(v_a_1628_);
lean_dec(v___x_1627_);
v___x_1630_ = lean_box(0);
v_isShared_1631_ = v_isSharedCheck_1637_;
goto v_resetjp_1629_;
}
v_resetjp_1629_:
{
lean_object* v___x_1632_; lean_object* v___x_1633_; lean_object* v___x_1635_; 
v___x_1632_ = lean_obj_once(&l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24, &l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24_once, _init_l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__24);
v___x_1633_ = lean_string_append(v___x_1632_, v_a_1628_);
lean_dec(v_a_1628_);
if (v_isShared_1631_ == 0)
{
lean_ctor_set(v___x_1630_, 0, v___x_1633_);
v___x_1635_ = v___x_1630_;
goto v_reusejp_1634_;
}
else
{
lean_object* v_reuseFailAlloc_1636_; 
v_reuseFailAlloc_1636_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1636_, 0, v___x_1633_);
v___x_1635_ = v_reuseFailAlloc_1636_;
goto v_reusejp_1634_;
}
v_reusejp_1634_:
{
return v___x_1635_;
}
}
}
else
{
if (lean_obj_tag(v___x_1627_) == 0)
{
lean_object* v_a_1638_; lean_object* v___x_1640_; uint8_t v_isShared_1641_; uint8_t v_isSharedCheck_1645_; 
lean_dec(v_a_1625_);
lean_dec(v_a_1604_);
lean_dec(v_a_1583_);
lean_dec(v_a_1562_);
lean_dec(v_a_1541_);
v_a_1638_ = lean_ctor_get(v___x_1627_, 0);
v_isSharedCheck_1645_ = !lean_is_exclusive(v___x_1627_);
if (v_isSharedCheck_1645_ == 0)
{
v___x_1640_ = v___x_1627_;
v_isShared_1641_ = v_isSharedCheck_1645_;
goto v_resetjp_1639_;
}
else
{
lean_inc(v_a_1638_);
lean_dec(v___x_1627_);
v___x_1640_ = lean_box(0);
v_isShared_1641_ = v_isSharedCheck_1645_;
goto v_resetjp_1639_;
}
v_resetjp_1639_:
{
lean_object* v___x_1643_; 
if (v_isShared_1641_ == 0)
{
lean_ctor_set_tag(v___x_1640_, 0);
v___x_1643_ = v___x_1640_;
goto v_reusejp_1642_;
}
else
{
lean_object* v_reuseFailAlloc_1644_; 
v_reuseFailAlloc_1644_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1644_, 0, v_a_1638_);
v___x_1643_ = v_reuseFailAlloc_1644_;
goto v_reusejp_1642_;
}
v_reusejp_1642_:
{
return v___x_1643_;
}
}
}
else
{
lean_object* v_a_1646_; lean_object* v___x_1648_; uint8_t v_isShared_1649_; uint8_t v_isSharedCheck_1654_; 
v_a_1646_ = lean_ctor_get(v___x_1627_, 0);
v_isSharedCheck_1654_ = !lean_is_exclusive(v___x_1627_);
if (v_isSharedCheck_1654_ == 0)
{
v___x_1648_ = v___x_1627_;
v_isShared_1649_ = v_isSharedCheck_1654_;
goto v_resetjp_1647_;
}
else
{
lean_inc(v_a_1646_);
lean_dec(v___x_1627_);
v___x_1648_ = lean_box(0);
v_isShared_1649_ = v_isSharedCheck_1654_;
goto v_resetjp_1647_;
}
v_resetjp_1647_:
{
lean_object* v___x_1650_; lean_object* v___x_1652_; 
v___x_1650_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v___x_1650_, 0, v_a_1541_);
lean_ctor_set(v___x_1650_, 1, v_a_1562_);
lean_ctor_set(v___x_1650_, 2, v_a_1583_);
lean_ctor_set(v___x_1650_, 3, v_a_1604_);
lean_ctor_set(v___x_1650_, 4, v_a_1625_);
lean_ctor_set(v___x_1650_, 5, v_a_1646_);
if (v_isShared_1649_ == 0)
{
lean_ctor_set(v___x_1648_, 0, v___x_1650_);
v___x_1652_ = v___x_1648_;
goto v_reusejp_1651_;
}
else
{
lean_object* v_reuseFailAlloc_1653_; 
v_reuseFailAlloc_1653_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1653_, 0, v___x_1650_);
v___x_1652_ = v_reuseFailAlloc_1653_;
goto v_reusejp_1651_;
}
v_reusejp_1651_:
{
return v___x_1652_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2(size_t v_sz_1657_, size_t v_i_1658_, lean_object* v_bs_1659_){
_start:
{
uint8_t v___x_1660_; 
v___x_1660_ = lean_usize_dec_lt(v_i_1658_, v_sz_1657_);
if (v___x_1660_ == 0)
{
return v_bs_1659_;
}
else
{
lean_object* v_v_1661_; lean_object* v___x_1662_; lean_object* v_bs_x27_1663_; double v___x_1664_; lean_object* v___x_1665_; size_t v___x_1666_; size_t v___x_1667_; lean_object* v___x_1668_; 
v_v_1661_ = lean_array_uget(v_bs_1659_, v_i_1658_);
v___x_1662_ = lean_unsigned_to_nat(0u);
v_bs_x27_1663_ = lean_array_uset(v_bs_1659_, v_i_1658_, v___x_1662_);
v___x_1664_ = lean_unbox_float(v_v_1661_);
lean_dec(v_v_1661_);
v___x_1665_ = l_Float_toJson(v___x_1664_);
v___x_1666_ = ((size_t)1ULL);
v___x_1667_ = lean_usize_add(v_i_1658_, v___x_1666_);
v___x_1668_ = lean_array_uset(v_bs_x27_1663_, v_i_1658_, v___x_1665_);
v_i_1658_ = v___x_1667_;
v_bs_1659_ = v___x_1668_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2___boxed(lean_object* v_sz_1670_, lean_object* v_i_1671_, lean_object* v_bs_1672_){
_start:
{
size_t v_sz_boxed_1673_; size_t v_i_boxed_1674_; lean_object* v_res_1675_; 
v_sz_boxed_1673_ = lean_unbox_usize(v_sz_1670_);
lean_dec(v_sz_1670_);
v_i_boxed_1674_ = lean_unbox_usize(v_i_1671_);
lean_dec(v_i_1671_);
v_res_1675_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2(v_sz_boxed_1673_, v_i_boxed_1674_, v_bs_1672_);
return v_res_1675_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1(lean_object* v_a_1676_){
_start:
{
size_t v_sz_1677_; size_t v___x_1678_; lean_object* v___x_1679_; lean_object* v___x_1680_; 
v_sz_1677_ = lean_array_size(v_a_1676_);
v___x_1678_ = ((size_t)0ULL);
v___x_1679_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1_spec__2(v_sz_1677_, v___x_1678_, v_a_1676_);
v___x_1680_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_1680_, 0, v___x_1679_);
return v___x_1680_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0(size_t v_sz_1681_, size_t v_i_1682_, lean_object* v_bs_1683_){
_start:
{
uint8_t v___x_1684_; 
v___x_1684_ = lean_usize_dec_lt(v_i_1682_, v_sz_1681_);
if (v___x_1684_ == 0)
{
return v_bs_1683_;
}
else
{
lean_object* v_v_1685_; lean_object* v___x_1686_; lean_object* v_bs_x27_1687_; double v___x_1688_; lean_object* v___x_1689_; size_t v___x_1690_; size_t v___x_1691_; lean_object* v___x_1692_; 
v_v_1685_ = lean_array_uget(v_bs_1683_, v_i_1682_);
v___x_1686_ = lean_unsigned_to_nat(0u);
v_bs_x27_1687_ = lean_array_uset(v_bs_1683_, v_i_1682_, v___x_1686_);
v___x_1688_ = lean_unbox_float(v_v_1685_);
lean_dec(v_v_1685_);
v___x_1689_ = l_Float_toJson(v___x_1688_);
v___x_1690_ = ((size_t)1ULL);
v___x_1691_ = lean_usize_add(v_i_1682_, v___x_1690_);
v___x_1692_ = lean_array_uset(v_bs_x27_1687_, v_i_1682_, v___x_1689_);
v_i_1682_ = v___x_1691_;
v_bs_1683_ = v___x_1692_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0___boxed(lean_object* v_sz_1694_, lean_object* v_i_1695_, lean_object* v_bs_1696_){
_start:
{
size_t v_sz_boxed_1697_; size_t v_i_boxed_1698_; lean_object* v_res_1699_; 
v_sz_boxed_1697_ = lean_unbox_usize(v_sz_1694_);
lean_dec(v_sz_1694_);
v_i_boxed_1698_ = lean_unbox_usize(v_i_1695_);
lean_dec(v_i_1695_);
v_res_1699_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0(v_sz_boxed_1697_, v_i_boxed_1698_, v_bs_1696_);
return v_res_1699_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0(lean_object* v_a_1700_){
_start:
{
size_t v_sz_1701_; size_t v___x_1702_; lean_object* v___x_1703_; lean_object* v___x_1704_; 
v_sz_1701_ = lean_array_size(v_a_1700_);
v___x_1702_ = ((size_t)0ULL);
v___x_1703_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0_spec__0(v_sz_1701_, v___x_1702_, v_a_1700_);
v___x_1704_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_1704_, 0, v___x_1703_);
return v___x_1704_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonSamplesTable_toJson(lean_object* v_x_1705_){
_start:
{
lean_object* v_stack_1706_; lean_object* v_time_1707_; lean_object* v_weight_1708_; lean_object* v_weightType_1709_; lean_object* v_threadCPUDelta_1710_; lean_object* v_length_1711_; lean_object* v___x_1712_; lean_object* v___x_1713_; lean_object* v___x_1714_; lean_object* v___x_1715_; lean_object* v___x_1716_; lean_object* v___x_1717_; lean_object* v___x_1718_; lean_object* v___x_1719_; lean_object* v___x_1720_; lean_object* v___x_1721_; lean_object* v___x_1722_; lean_object* v___x_1723_; lean_object* v___x_1724_; lean_object* v___x_1725_; lean_object* v___x_1726_; lean_object* v___x_1727_; lean_object* v___x_1728_; lean_object* v___x_1729_; lean_object* v___x_1730_; lean_object* v___x_1731_; lean_object* v___x_1732_; lean_object* v___x_1733_; lean_object* v___x_1734_; lean_object* v___x_1735_; lean_object* v___x_1736_; lean_object* v___x_1737_; lean_object* v___x_1738_; lean_object* v___x_1739_; lean_object* v___x_1740_; lean_object* v___x_1741_; lean_object* v___x_1742_; lean_object* v___x_1743_; lean_object* v___x_1744_; lean_object* v___x_1745_; lean_object* v___x_1746_; 
v_stack_1706_ = lean_ctor_get(v_x_1705_, 0);
lean_inc_ref(v_stack_1706_);
v_time_1707_ = lean_ctor_get(v_x_1705_, 1);
lean_inc_ref(v_time_1707_);
v_weight_1708_ = lean_ctor_get(v_x_1705_, 2);
lean_inc_ref(v_weight_1708_);
v_weightType_1709_ = lean_ctor_get(v_x_1705_, 3);
lean_inc_ref(v_weightType_1709_);
v_threadCPUDelta_1710_ = lean_ctor_get(v_x_1705_, 4);
lean_inc_ref(v_threadCPUDelta_1710_);
v_length_1711_ = lean_ctor_get(v_x_1705_, 5);
lean_inc(v_length_1711_);
lean_dec_ref(v_x_1705_);
v___x_1712_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__0));
v___x_1713_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_stack_1706_);
v___x_1714_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1714_, 0, v___x_1712_);
lean_ctor_set(v___x_1714_, 1, v___x_1713_);
v___x_1715_ = lean_box(0);
v___x_1716_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1716_, 0, v___x_1714_);
lean_ctor_set(v___x_1716_, 1, v___x_1715_);
v___x_1717_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__0));
v___x_1718_ = l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0(v_time_1707_);
v___x_1719_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1719_, 0, v___x_1717_);
lean_ctor_set(v___x_1719_, 1, v___x_1718_);
v___x_1720_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1720_, 0, v___x_1719_);
lean_ctor_set(v___x_1720_, 1, v___x_1715_);
v___x_1721_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__11));
v___x_1722_ = l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__0(v_weight_1708_);
v___x_1723_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1723_, 0, v___x_1721_);
lean_ctor_set(v___x_1723_, 1, v___x_1722_);
v___x_1724_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1724_, 0, v___x_1723_);
lean_ctor_set(v___x_1724_, 1, v___x_1715_);
v___x_1725_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSamplesTable_fromJson___closed__16));
v___x_1726_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_1726_, 0, v_weightType_1709_);
v___x_1727_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1727_, 0, v___x_1725_);
lean_ctor_set(v___x_1727_, 1, v___x_1726_);
v___x_1728_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1728_, 0, v___x_1727_);
lean_ctor_set(v___x_1728_, 1, v___x_1715_);
v___x_1729_ = ((lean_object*)(l_Lean_Firefox_instFromJsonSampleUnits_fromJson___closed__14));
v___x_1730_ = l_Array_toJson___at___00Lean_Firefox_instToJsonSamplesTable_toJson_spec__1(v_threadCPUDelta_1710_);
v___x_1731_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1731_, 0, v___x_1729_);
lean_ctor_set(v___x_1731_, 1, v___x_1730_);
v___x_1732_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1732_, 0, v___x_1731_);
lean_ctor_set(v___x_1732_, 1, v___x_1715_);
v___x_1733_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_1734_ = l_Lean_JsonNumber_fromNat(v_length_1711_);
v___x_1735_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_1735_, 0, v___x_1734_);
v___x_1736_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_1736_, 0, v___x_1733_);
lean_ctor_set(v___x_1736_, 1, v___x_1735_);
v___x_1737_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1737_, 0, v___x_1736_);
lean_ctor_set(v___x_1737_, 1, v___x_1715_);
v___x_1738_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1738_, 0, v___x_1737_);
lean_ctor_set(v___x_1738_, 1, v___x_1715_);
v___x_1739_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1739_, 0, v___x_1732_);
lean_ctor_set(v___x_1739_, 1, v___x_1738_);
v___x_1740_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1740_, 0, v___x_1728_);
lean_ctor_set(v___x_1740_, 1, v___x_1739_);
v___x_1741_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1741_, 0, v___x_1724_);
lean_ctor_set(v___x_1741_, 1, v___x_1740_);
v___x_1742_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1742_, 0, v___x_1720_);
lean_ctor_set(v___x_1742_, 1, v___x_1741_);
v___x_1743_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_1743_, 0, v___x_1716_);
lean_ctor_set(v___x_1743_, 1, v___x_1742_);
v___x_1744_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_1745_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_1743_, v___x_1744_);
v___x_1746_ = l_Lean_Json_mkObj(v___x_1745_);
return v___x_1746_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1(size_t v_sz_1749_, size_t v_i_1750_, lean_object* v_bs_1751_){
_start:
{
uint8_t v___x_1752_; 
v___x_1752_ = lean_usize_dec_lt(v_i_1750_, v_sz_1749_);
if (v___x_1752_ == 0)
{
lean_object* v___x_1753_; 
v___x_1753_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_1753_, 0, v_bs_1751_);
return v___x_1753_;
}
else
{
lean_object* v_v_1754_; lean_object* v___x_1755_; 
v_v_1754_ = lean_array_uget_borrowed(v_bs_1751_, v_i_1750_);
lean_inc(v_v_1754_);
v___x_1755_ = l_Lean_Json_getInt_x3f(v_v_1754_);
if (lean_obj_tag(v___x_1755_) == 0)
{
lean_object* v_a_1756_; lean_object* v___x_1758_; uint8_t v_isShared_1759_; uint8_t v_isSharedCheck_1763_; 
lean_dec_ref(v_bs_1751_);
v_a_1756_ = lean_ctor_get(v___x_1755_, 0);
v_isSharedCheck_1763_ = !lean_is_exclusive(v___x_1755_);
if (v_isSharedCheck_1763_ == 0)
{
v___x_1758_ = v___x_1755_;
v_isShared_1759_ = v_isSharedCheck_1763_;
goto v_resetjp_1757_;
}
else
{
lean_inc(v_a_1756_);
lean_dec(v___x_1755_);
v___x_1758_ = lean_box(0);
v_isShared_1759_ = v_isSharedCheck_1763_;
goto v_resetjp_1757_;
}
v_resetjp_1757_:
{
lean_object* v___x_1761_; 
if (v_isShared_1759_ == 0)
{
v___x_1761_ = v___x_1758_;
goto v_reusejp_1760_;
}
else
{
lean_object* v_reuseFailAlloc_1762_; 
v_reuseFailAlloc_1762_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1762_, 0, v_a_1756_);
v___x_1761_ = v_reuseFailAlloc_1762_;
goto v_reusejp_1760_;
}
v_reusejp_1760_:
{
return v___x_1761_;
}
}
}
else
{
lean_object* v_a_1764_; lean_object* v___x_1765_; lean_object* v_bs_x27_1766_; size_t v___x_1767_; size_t v___x_1768_; lean_object* v___x_1769_; 
v_a_1764_ = lean_ctor_get(v___x_1755_, 0);
lean_inc(v_a_1764_);
lean_dec_ref(v___x_1755_);
v___x_1765_ = lean_unsigned_to_nat(0u);
v_bs_x27_1766_ = lean_array_uset(v_bs_1751_, v_i_1750_, v___x_1765_);
v___x_1767_ = ((size_t)1ULL);
v___x_1768_ = lean_usize_add(v_i_1750_, v___x_1767_);
v___x_1769_ = lean_array_uset(v_bs_x27_1766_, v_i_1750_, v_a_1764_);
v_i_1750_ = v___x_1768_;
v_bs_1751_ = v___x_1769_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1___boxed(lean_object* v_sz_1771_, lean_object* v_i_1772_, lean_object* v_bs_1773_){
_start:
{
size_t v_sz_boxed_1774_; size_t v_i_boxed_1775_; lean_object* v_res_1776_; 
v_sz_boxed_1774_ = lean_unbox_usize(v_sz_1771_);
lean_dec(v_sz_1771_);
v_i_boxed_1775_ = lean_unbox_usize(v_i_1772_);
lean_dec(v_i_1772_);
v_res_1776_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1(v_sz_boxed_1774_, v_i_boxed_1775_, v_bs_1773_);
return v_res_1776_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0(lean_object* v_x_1777_){
_start:
{
if (lean_obj_tag(v_x_1777_) == 4)
{
lean_object* v_elems_1778_; size_t v_sz_1779_; size_t v___x_1780_; lean_object* v___x_1781_; 
v_elems_1778_ = lean_ctor_get(v_x_1777_, 0);
lean_inc_ref(v_elems_1778_);
lean_dec_ref(v_x_1777_);
v_sz_1779_ = lean_array_size(v_elems_1778_);
v___x_1780_ = ((size_t)0ULL);
v___x_1781_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0_spec__1(v_sz_1779_, v___x_1780_, v_elems_1778_);
return v___x_1781_;
}
else
{
lean_object* v___x_1782_; lean_object* v___x_1783_; lean_object* v___x_1784_; lean_object* v___x_1785_; lean_object* v___x_1786_; lean_object* v___x_1787_; lean_object* v___x_1788_; 
v___x_1782_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_1783_ = lean_unsigned_to_nat(80u);
v___x_1784_ = l_Lean_Json_pretty(v_x_1777_, v___x_1783_);
v___x_1785_ = lean_string_append(v___x_1782_, v___x_1784_);
lean_dec_ref(v___x_1784_);
v___x_1786_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_1787_ = lean_string_append(v___x_1785_, v___x_1786_);
v___x_1788_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_1788_, 0, v___x_1787_);
return v___x_1788_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0(lean_object* v_j_1789_, lean_object* v_k_1790_){
_start:
{
lean_object* v___x_1791_; lean_object* v___x_1792_; 
v___x_1791_ = l_Lean_Json_getObjValD(v_j_1789_, v_k_1790_);
v___x_1792_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0_spec__0(v___x_1791_);
return v___x_1792_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0___boxed(lean_object* v_j_1793_, lean_object* v_k_1794_){
_start:
{
lean_object* v_res_1795_; 
v_res_1795_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0(v_j_1793_, v_k_1794_);
lean_dec_ref(v_k_1794_);
return v_res_1795_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2(void){
_start:
{
uint8_t v___x_1801_; lean_object* v___x_1802_; lean_object* v___x_1803_; 
v___x_1801_ = 1;
v___x_1802_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__1));
v___x_1803_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1802_, v___x_1801_);
return v___x_1803_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3(void){
_start:
{
lean_object* v___x_1804_; lean_object* v___x_1805_; lean_object* v___x_1806_; 
v___x_1804_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_1805_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__2);
v___x_1806_ = lean_string_append(v___x_1805_, v___x_1804_);
return v___x_1806_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_1807_; lean_object* v___x_1808_; lean_object* v___x_1809_; 
v___x_1807_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9);
v___x_1808_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1809_ = lean_string_append(v___x_1808_, v___x_1807_);
return v___x_1809_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5(void){
_start:
{
lean_object* v___x_1810_; lean_object* v___x_1811_; lean_object* v___x_1812_; 
v___x_1810_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1811_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__4);
v___x_1812_ = lean_string_append(v___x_1811_, v___x_1810_);
return v___x_1812_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8(void){
_start:
{
uint8_t v___x_1816_; lean_object* v___x_1817_; lean_object* v___x_1818_; 
v___x_1816_ = 1;
v___x_1817_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__7));
v___x_1818_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1817_, v___x_1816_);
return v___x_1818_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9(void){
_start:
{
lean_object* v___x_1819_; lean_object* v___x_1820_; lean_object* v___x_1821_; 
v___x_1819_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__8);
v___x_1820_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1821_ = lean_string_append(v___x_1820_, v___x_1819_);
return v___x_1821_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10(void){
_start:
{
lean_object* v___x_1822_; lean_object* v___x_1823_; lean_object* v___x_1824_; 
v___x_1822_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1823_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__9);
v___x_1824_ = lean_string_append(v___x_1823_, v___x_1822_);
return v___x_1824_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13(void){
_start:
{
uint8_t v___x_1828_; lean_object* v___x_1829_; lean_object* v___x_1830_; 
v___x_1828_ = 1;
v___x_1829_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__12));
v___x_1830_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1829_, v___x_1828_);
return v___x_1830_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14(void){
_start:
{
lean_object* v___x_1831_; lean_object* v___x_1832_; lean_object* v___x_1833_; 
v___x_1831_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__13);
v___x_1832_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1833_ = lean_string_append(v___x_1832_, v___x_1831_);
return v___x_1833_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15(void){
_start:
{
lean_object* v___x_1834_; lean_object* v___x_1835_; lean_object* v___x_1836_; 
v___x_1834_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1835_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__14);
v___x_1836_ = lean_string_append(v___x_1835_, v___x_1834_);
return v___x_1836_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18(void){
_start:
{
uint8_t v___x_1840_; lean_object* v___x_1841_; lean_object* v___x_1842_; 
v___x_1840_ = 1;
v___x_1841_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__17));
v___x_1842_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1841_, v___x_1840_);
return v___x_1842_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19(void){
_start:
{
lean_object* v___x_1843_; lean_object* v___x_1844_; lean_object* v___x_1845_; 
v___x_1843_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__18);
v___x_1844_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1845_ = lean_string_append(v___x_1844_, v___x_1843_);
return v___x_1845_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20(void){
_start:
{
lean_object* v___x_1846_; lean_object* v___x_1847_; lean_object* v___x_1848_; 
v___x_1846_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1847_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__19);
v___x_1848_ = lean_string_append(v___x_1847_, v___x_1846_);
return v___x_1848_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23(void){
_start:
{
uint8_t v___x_1852_; lean_object* v___x_1853_; lean_object* v___x_1854_; 
v___x_1852_ = 1;
v___x_1853_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__22));
v___x_1854_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1853_, v___x_1852_);
return v___x_1854_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24(void){
_start:
{
lean_object* v___x_1855_; lean_object* v___x_1856_; lean_object* v___x_1857_; 
v___x_1855_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__23);
v___x_1856_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1857_ = lean_string_append(v___x_1856_, v___x_1855_);
return v___x_1857_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25(void){
_start:
{
lean_object* v___x_1858_; lean_object* v___x_1859_; lean_object* v___x_1860_; 
v___x_1858_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1859_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__24);
v___x_1860_ = lean_string_append(v___x_1859_, v___x_1858_);
return v___x_1860_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28(void){
_start:
{
uint8_t v___x_1864_; lean_object* v___x_1865_; lean_object* v___x_1866_; 
v___x_1864_ = 1;
v___x_1865_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__27));
v___x_1866_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1865_, v___x_1864_);
return v___x_1866_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29(void){
_start:
{
lean_object* v___x_1867_; lean_object* v___x_1868_; lean_object* v___x_1869_; 
v___x_1867_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__28);
v___x_1868_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1869_ = lean_string_append(v___x_1868_, v___x_1867_);
return v___x_1869_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30(void){
_start:
{
lean_object* v___x_1870_; lean_object* v___x_1871_; lean_object* v___x_1872_; 
v___x_1870_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1871_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__29);
v___x_1872_ = lean_string_append(v___x_1871_, v___x_1870_);
return v___x_1872_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33(void){
_start:
{
uint8_t v___x_1876_; lean_object* v___x_1877_; lean_object* v___x_1878_; 
v___x_1876_ = 1;
v___x_1877_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__32));
v___x_1878_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_1877_, v___x_1876_);
return v___x_1878_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34(void){
_start:
{
lean_object* v___x_1879_; lean_object* v___x_1880_; lean_object* v___x_1881_; 
v___x_1879_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__33);
v___x_1880_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1881_ = lean_string_append(v___x_1880_, v___x_1879_);
return v___x_1881_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35(void){
_start:
{
lean_object* v___x_1882_; lean_object* v___x_1883_; lean_object* v___x_1884_; 
v___x_1882_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1883_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__34);
v___x_1884_ = lean_string_append(v___x_1883_, v___x_1882_);
return v___x_1884_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36(void){
_start:
{
lean_object* v___x_1885_; lean_object* v___x_1886_; lean_object* v___x_1887_; 
v___x_1885_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_1886_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__3);
v___x_1887_ = lean_string_append(v___x_1886_, v___x_1885_);
return v___x_1887_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37(void){
_start:
{
lean_object* v___x_1888_; lean_object* v___x_1889_; lean_object* v___x_1890_; 
v___x_1888_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_1889_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__36);
v___x_1890_ = lean_string_append(v___x_1889_, v___x_1888_);
return v___x_1890_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonFuncTable_fromJson(lean_object* v_json_1891_){
_start:
{
lean_object* v___x_1892_; lean_object* v___x_1893_; 
v___x_1892_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
lean_inc(v_json_1891_);
v___x_1893_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_1891_, v___x_1892_);
if (lean_obj_tag(v___x_1893_) == 0)
{
lean_object* v_a_1894_; lean_object* v___x_1896_; uint8_t v_isShared_1897_; uint8_t v_isSharedCheck_1903_; 
lean_dec(v_json_1891_);
v_a_1894_ = lean_ctor_get(v___x_1893_, 0);
v_isSharedCheck_1903_ = !lean_is_exclusive(v___x_1893_);
if (v_isSharedCheck_1903_ == 0)
{
v___x_1896_ = v___x_1893_;
v_isShared_1897_ = v_isSharedCheck_1903_;
goto v_resetjp_1895_;
}
else
{
lean_inc(v_a_1894_);
lean_dec(v___x_1893_);
v___x_1896_ = lean_box(0);
v_isShared_1897_ = v_isSharedCheck_1903_;
goto v_resetjp_1895_;
}
v_resetjp_1895_:
{
lean_object* v___x_1898_; lean_object* v___x_1899_; lean_object* v___x_1901_; 
v___x_1898_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__5);
v___x_1899_ = lean_string_append(v___x_1898_, v_a_1894_);
lean_dec(v_a_1894_);
if (v_isShared_1897_ == 0)
{
lean_ctor_set(v___x_1896_, 0, v___x_1899_);
v___x_1901_ = v___x_1896_;
goto v_reusejp_1900_;
}
else
{
lean_object* v_reuseFailAlloc_1902_; 
v_reuseFailAlloc_1902_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1902_, 0, v___x_1899_);
v___x_1901_ = v_reuseFailAlloc_1902_;
goto v_reusejp_1900_;
}
v_reusejp_1900_:
{
return v___x_1901_;
}
}
}
else
{
if (lean_obj_tag(v___x_1893_) == 0)
{
lean_object* v_a_1904_; lean_object* v___x_1906_; uint8_t v_isShared_1907_; uint8_t v_isSharedCheck_1911_; 
lean_dec(v_json_1891_);
v_a_1904_ = lean_ctor_get(v___x_1893_, 0);
v_isSharedCheck_1911_ = !lean_is_exclusive(v___x_1893_);
if (v_isSharedCheck_1911_ == 0)
{
v___x_1906_ = v___x_1893_;
v_isShared_1907_ = v_isSharedCheck_1911_;
goto v_resetjp_1905_;
}
else
{
lean_inc(v_a_1904_);
lean_dec(v___x_1893_);
v___x_1906_ = lean_box(0);
v_isShared_1907_ = v_isSharedCheck_1911_;
goto v_resetjp_1905_;
}
v_resetjp_1905_:
{
lean_object* v___x_1909_; 
if (v_isShared_1907_ == 0)
{
lean_ctor_set_tag(v___x_1906_, 0);
v___x_1909_ = v___x_1906_;
goto v_reusejp_1908_;
}
else
{
lean_object* v_reuseFailAlloc_1910_; 
v_reuseFailAlloc_1910_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1910_, 0, v_a_1904_);
v___x_1909_ = v_reuseFailAlloc_1910_;
goto v_reusejp_1908_;
}
v_reusejp_1908_:
{
return v___x_1909_;
}
}
}
else
{
lean_object* v_a_1912_; lean_object* v___x_1913_; lean_object* v___x_1914_; 
v_a_1912_ = lean_ctor_get(v___x_1893_, 0);
lean_inc(v_a_1912_);
lean_dec_ref(v___x_1893_);
v___x_1913_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6));
lean_inc(v_json_1891_);
v___x_1914_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_1891_, v___x_1913_);
if (lean_obj_tag(v___x_1914_) == 0)
{
lean_object* v_a_1915_; lean_object* v___x_1917_; uint8_t v_isShared_1918_; uint8_t v_isSharedCheck_1924_; 
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1915_ = lean_ctor_get(v___x_1914_, 0);
v_isSharedCheck_1924_ = !lean_is_exclusive(v___x_1914_);
if (v_isSharedCheck_1924_ == 0)
{
v___x_1917_ = v___x_1914_;
v_isShared_1918_ = v_isSharedCheck_1924_;
goto v_resetjp_1916_;
}
else
{
lean_inc(v_a_1915_);
lean_dec(v___x_1914_);
v___x_1917_ = lean_box(0);
v_isShared_1918_ = v_isSharedCheck_1924_;
goto v_resetjp_1916_;
}
v_resetjp_1916_:
{
lean_object* v___x_1919_; lean_object* v___x_1920_; lean_object* v___x_1922_; 
v___x_1919_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__10);
v___x_1920_ = lean_string_append(v___x_1919_, v_a_1915_);
lean_dec(v_a_1915_);
if (v_isShared_1918_ == 0)
{
lean_ctor_set(v___x_1917_, 0, v___x_1920_);
v___x_1922_ = v___x_1917_;
goto v_reusejp_1921_;
}
else
{
lean_object* v_reuseFailAlloc_1923_; 
v_reuseFailAlloc_1923_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1923_, 0, v___x_1920_);
v___x_1922_ = v_reuseFailAlloc_1923_;
goto v_reusejp_1921_;
}
v_reusejp_1921_:
{
return v___x_1922_;
}
}
}
else
{
if (lean_obj_tag(v___x_1914_) == 0)
{
lean_object* v_a_1925_; lean_object* v___x_1927_; uint8_t v_isShared_1928_; uint8_t v_isSharedCheck_1932_; 
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1925_ = lean_ctor_get(v___x_1914_, 0);
v_isSharedCheck_1932_ = !lean_is_exclusive(v___x_1914_);
if (v_isSharedCheck_1932_ == 0)
{
v___x_1927_ = v___x_1914_;
v_isShared_1928_ = v_isSharedCheck_1932_;
goto v_resetjp_1926_;
}
else
{
lean_inc(v_a_1925_);
lean_dec(v___x_1914_);
v___x_1927_ = lean_box(0);
v_isShared_1928_ = v_isSharedCheck_1932_;
goto v_resetjp_1926_;
}
v_resetjp_1926_:
{
lean_object* v___x_1930_; 
if (v_isShared_1928_ == 0)
{
lean_ctor_set_tag(v___x_1927_, 0);
v___x_1930_ = v___x_1927_;
goto v_reusejp_1929_;
}
else
{
lean_object* v_reuseFailAlloc_1931_; 
v_reuseFailAlloc_1931_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1931_, 0, v_a_1925_);
v___x_1930_ = v_reuseFailAlloc_1931_;
goto v_reusejp_1929_;
}
v_reusejp_1929_:
{
return v___x_1930_;
}
}
}
else
{
lean_object* v_a_1933_; lean_object* v___x_1934_; lean_object* v___x_1935_; 
v_a_1933_ = lean_ctor_get(v___x_1914_, 0);
lean_inc(v_a_1933_);
lean_dec_ref(v___x_1914_);
v___x_1934_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11));
lean_inc(v_json_1891_);
v___x_1935_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_1891_, v___x_1934_);
if (lean_obj_tag(v___x_1935_) == 0)
{
lean_object* v_a_1936_; lean_object* v___x_1938_; uint8_t v_isShared_1939_; uint8_t v_isSharedCheck_1945_; 
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1936_ = lean_ctor_get(v___x_1935_, 0);
v_isSharedCheck_1945_ = !lean_is_exclusive(v___x_1935_);
if (v_isSharedCheck_1945_ == 0)
{
v___x_1938_ = v___x_1935_;
v_isShared_1939_ = v_isSharedCheck_1945_;
goto v_resetjp_1937_;
}
else
{
lean_inc(v_a_1936_);
lean_dec(v___x_1935_);
v___x_1938_ = lean_box(0);
v_isShared_1939_ = v_isSharedCheck_1945_;
goto v_resetjp_1937_;
}
v_resetjp_1937_:
{
lean_object* v___x_1940_; lean_object* v___x_1941_; lean_object* v___x_1943_; 
v___x_1940_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__15);
v___x_1941_ = lean_string_append(v___x_1940_, v_a_1936_);
lean_dec(v_a_1936_);
if (v_isShared_1939_ == 0)
{
lean_ctor_set(v___x_1938_, 0, v___x_1941_);
v___x_1943_ = v___x_1938_;
goto v_reusejp_1942_;
}
else
{
lean_object* v_reuseFailAlloc_1944_; 
v_reuseFailAlloc_1944_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1944_, 0, v___x_1941_);
v___x_1943_ = v_reuseFailAlloc_1944_;
goto v_reusejp_1942_;
}
v_reusejp_1942_:
{
return v___x_1943_;
}
}
}
else
{
if (lean_obj_tag(v___x_1935_) == 0)
{
lean_object* v_a_1946_; lean_object* v___x_1948_; uint8_t v_isShared_1949_; uint8_t v_isSharedCheck_1953_; 
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1946_ = lean_ctor_get(v___x_1935_, 0);
v_isSharedCheck_1953_ = !lean_is_exclusive(v___x_1935_);
if (v_isSharedCheck_1953_ == 0)
{
v___x_1948_ = v___x_1935_;
v_isShared_1949_ = v_isSharedCheck_1953_;
goto v_resetjp_1947_;
}
else
{
lean_inc(v_a_1946_);
lean_dec(v___x_1935_);
v___x_1948_ = lean_box(0);
v_isShared_1949_ = v_isSharedCheck_1953_;
goto v_resetjp_1947_;
}
v_resetjp_1947_:
{
lean_object* v___x_1951_; 
if (v_isShared_1949_ == 0)
{
lean_ctor_set_tag(v___x_1948_, 0);
v___x_1951_ = v___x_1948_;
goto v_reusejp_1950_;
}
else
{
lean_object* v_reuseFailAlloc_1952_; 
v_reuseFailAlloc_1952_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1952_, 0, v_a_1946_);
v___x_1951_ = v_reuseFailAlloc_1952_;
goto v_reusejp_1950_;
}
v_reusejp_1950_:
{
return v___x_1951_;
}
}
}
else
{
lean_object* v_a_1954_; lean_object* v___x_1955_; lean_object* v___x_1956_; 
v_a_1954_ = lean_ctor_get(v___x_1935_, 0);
lean_inc(v_a_1954_);
lean_dec_ref(v___x_1935_);
v___x_1955_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16));
lean_inc(v_json_1891_);
v___x_1956_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0(v_json_1891_, v___x_1955_);
if (lean_obj_tag(v___x_1956_) == 0)
{
lean_object* v_a_1957_; lean_object* v___x_1959_; uint8_t v_isShared_1960_; uint8_t v_isSharedCheck_1966_; 
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1957_ = lean_ctor_get(v___x_1956_, 0);
v_isSharedCheck_1966_ = !lean_is_exclusive(v___x_1956_);
if (v_isSharedCheck_1966_ == 0)
{
v___x_1959_ = v___x_1956_;
v_isShared_1960_ = v_isSharedCheck_1966_;
goto v_resetjp_1958_;
}
else
{
lean_inc(v_a_1957_);
lean_dec(v___x_1956_);
v___x_1959_ = lean_box(0);
v_isShared_1960_ = v_isSharedCheck_1966_;
goto v_resetjp_1958_;
}
v_resetjp_1958_:
{
lean_object* v___x_1961_; lean_object* v___x_1962_; lean_object* v___x_1964_; 
v___x_1961_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__20);
v___x_1962_ = lean_string_append(v___x_1961_, v_a_1957_);
lean_dec(v_a_1957_);
if (v_isShared_1960_ == 0)
{
lean_ctor_set(v___x_1959_, 0, v___x_1962_);
v___x_1964_ = v___x_1959_;
goto v_reusejp_1963_;
}
else
{
lean_object* v_reuseFailAlloc_1965_; 
v_reuseFailAlloc_1965_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1965_, 0, v___x_1962_);
v___x_1964_ = v_reuseFailAlloc_1965_;
goto v_reusejp_1963_;
}
v_reusejp_1963_:
{
return v___x_1964_;
}
}
}
else
{
if (lean_obj_tag(v___x_1956_) == 0)
{
lean_object* v_a_1967_; lean_object* v___x_1969_; uint8_t v_isShared_1970_; uint8_t v_isSharedCheck_1974_; 
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1967_ = lean_ctor_get(v___x_1956_, 0);
v_isSharedCheck_1974_ = !lean_is_exclusive(v___x_1956_);
if (v_isSharedCheck_1974_ == 0)
{
v___x_1969_ = v___x_1956_;
v_isShared_1970_ = v_isSharedCheck_1974_;
goto v_resetjp_1968_;
}
else
{
lean_inc(v_a_1967_);
lean_dec(v___x_1956_);
v___x_1969_ = lean_box(0);
v_isShared_1970_ = v_isSharedCheck_1974_;
goto v_resetjp_1968_;
}
v_resetjp_1968_:
{
lean_object* v___x_1972_; 
if (v_isShared_1970_ == 0)
{
lean_ctor_set_tag(v___x_1969_, 0);
v___x_1972_ = v___x_1969_;
goto v_reusejp_1971_;
}
else
{
lean_object* v_reuseFailAlloc_1973_; 
v_reuseFailAlloc_1973_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1973_, 0, v_a_1967_);
v___x_1972_ = v_reuseFailAlloc_1973_;
goto v_reusejp_1971_;
}
v_reusejp_1971_:
{
return v___x_1972_;
}
}
}
else
{
lean_object* v_a_1975_; lean_object* v___x_1976_; lean_object* v___x_1977_; 
v_a_1975_ = lean_ctor_get(v___x_1956_, 0);
lean_inc(v_a_1975_);
lean_dec_ref(v___x_1956_);
v___x_1976_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21));
lean_inc(v_json_1891_);
v___x_1977_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_1891_, v___x_1976_);
if (lean_obj_tag(v___x_1977_) == 0)
{
lean_object* v_a_1978_; lean_object* v___x_1980_; uint8_t v_isShared_1981_; uint8_t v_isSharedCheck_1987_; 
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1978_ = lean_ctor_get(v___x_1977_, 0);
v_isSharedCheck_1987_ = !lean_is_exclusive(v___x_1977_);
if (v_isSharedCheck_1987_ == 0)
{
v___x_1980_ = v___x_1977_;
v_isShared_1981_ = v_isSharedCheck_1987_;
goto v_resetjp_1979_;
}
else
{
lean_inc(v_a_1978_);
lean_dec(v___x_1977_);
v___x_1980_ = lean_box(0);
v_isShared_1981_ = v_isSharedCheck_1987_;
goto v_resetjp_1979_;
}
v_resetjp_1979_:
{
lean_object* v___x_1982_; lean_object* v___x_1983_; lean_object* v___x_1985_; 
v___x_1982_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__25);
v___x_1983_ = lean_string_append(v___x_1982_, v_a_1978_);
lean_dec(v_a_1978_);
if (v_isShared_1981_ == 0)
{
lean_ctor_set(v___x_1980_, 0, v___x_1983_);
v___x_1985_ = v___x_1980_;
goto v_reusejp_1984_;
}
else
{
lean_object* v_reuseFailAlloc_1986_; 
v_reuseFailAlloc_1986_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1986_, 0, v___x_1983_);
v___x_1985_ = v_reuseFailAlloc_1986_;
goto v_reusejp_1984_;
}
v_reusejp_1984_:
{
return v___x_1985_;
}
}
}
else
{
if (lean_obj_tag(v___x_1977_) == 0)
{
lean_object* v_a_1988_; lean_object* v___x_1990_; uint8_t v_isShared_1991_; uint8_t v_isSharedCheck_1995_; 
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1988_ = lean_ctor_get(v___x_1977_, 0);
v_isSharedCheck_1995_ = !lean_is_exclusive(v___x_1977_);
if (v_isSharedCheck_1995_ == 0)
{
v___x_1990_ = v___x_1977_;
v_isShared_1991_ = v_isSharedCheck_1995_;
goto v_resetjp_1989_;
}
else
{
lean_inc(v_a_1988_);
lean_dec(v___x_1977_);
v___x_1990_ = lean_box(0);
v_isShared_1991_ = v_isSharedCheck_1995_;
goto v_resetjp_1989_;
}
v_resetjp_1989_:
{
lean_object* v___x_1993_; 
if (v_isShared_1991_ == 0)
{
lean_ctor_set_tag(v___x_1990_, 0);
v___x_1993_ = v___x_1990_;
goto v_reusejp_1992_;
}
else
{
lean_object* v_reuseFailAlloc_1994_; 
v_reuseFailAlloc_1994_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_1994_, 0, v_a_1988_);
v___x_1993_ = v_reuseFailAlloc_1994_;
goto v_reusejp_1992_;
}
v_reusejp_1992_:
{
return v___x_1993_;
}
}
}
else
{
lean_object* v_a_1996_; lean_object* v___x_1997_; lean_object* v___x_1998_; 
v_a_1996_ = lean_ctor_get(v___x_1977_, 0);
lean_inc(v_a_1996_);
lean_dec_ref(v___x_1977_);
v___x_1997_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26));
lean_inc(v_json_1891_);
v___x_1998_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_1891_, v___x_1997_);
if (lean_obj_tag(v___x_1998_) == 0)
{
lean_object* v_a_1999_; lean_object* v___x_2001_; uint8_t v_isShared_2002_; uint8_t v_isSharedCheck_2008_; 
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_1999_ = lean_ctor_get(v___x_1998_, 0);
v_isSharedCheck_2008_ = !lean_is_exclusive(v___x_1998_);
if (v_isSharedCheck_2008_ == 0)
{
v___x_2001_ = v___x_1998_;
v_isShared_2002_ = v_isSharedCheck_2008_;
goto v_resetjp_2000_;
}
else
{
lean_inc(v_a_1999_);
lean_dec(v___x_1998_);
v___x_2001_ = lean_box(0);
v_isShared_2002_ = v_isSharedCheck_2008_;
goto v_resetjp_2000_;
}
v_resetjp_2000_:
{
lean_object* v___x_2003_; lean_object* v___x_2004_; lean_object* v___x_2006_; 
v___x_2003_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__30);
v___x_2004_ = lean_string_append(v___x_2003_, v_a_1999_);
lean_dec(v_a_1999_);
if (v_isShared_2002_ == 0)
{
lean_ctor_set(v___x_2001_, 0, v___x_2004_);
v___x_2006_ = v___x_2001_;
goto v_reusejp_2005_;
}
else
{
lean_object* v_reuseFailAlloc_2007_; 
v_reuseFailAlloc_2007_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2007_, 0, v___x_2004_);
v___x_2006_ = v_reuseFailAlloc_2007_;
goto v_reusejp_2005_;
}
v_reusejp_2005_:
{
return v___x_2006_;
}
}
}
else
{
if (lean_obj_tag(v___x_1998_) == 0)
{
lean_object* v_a_2009_; lean_object* v___x_2011_; uint8_t v_isShared_2012_; uint8_t v_isSharedCheck_2016_; 
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_2009_ = lean_ctor_get(v___x_1998_, 0);
v_isSharedCheck_2016_ = !lean_is_exclusive(v___x_1998_);
if (v_isSharedCheck_2016_ == 0)
{
v___x_2011_ = v___x_1998_;
v_isShared_2012_ = v_isSharedCheck_2016_;
goto v_resetjp_2010_;
}
else
{
lean_inc(v_a_2009_);
lean_dec(v___x_1998_);
v___x_2011_ = lean_box(0);
v_isShared_2012_ = v_isSharedCheck_2016_;
goto v_resetjp_2010_;
}
v_resetjp_2010_:
{
lean_object* v___x_2014_; 
if (v_isShared_2012_ == 0)
{
lean_ctor_set_tag(v___x_2011_, 0);
v___x_2014_ = v___x_2011_;
goto v_reusejp_2013_;
}
else
{
lean_object* v_reuseFailAlloc_2015_; 
v_reuseFailAlloc_2015_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2015_, 0, v_a_2009_);
v___x_2014_ = v_reuseFailAlloc_2015_;
goto v_reusejp_2013_;
}
v_reusejp_2013_:
{
return v___x_2014_;
}
}
}
else
{
lean_object* v_a_2017_; lean_object* v___x_2018_; lean_object* v___x_2019_; 
v_a_2017_ = lean_ctor_get(v___x_1998_, 0);
lean_inc(v_a_2017_);
lean_dec_ref(v___x_1998_);
v___x_2018_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31));
lean_inc(v_json_1891_);
v___x_2019_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_1891_, v___x_2018_);
if (lean_obj_tag(v___x_2019_) == 0)
{
lean_object* v_a_2020_; lean_object* v___x_2022_; uint8_t v_isShared_2023_; uint8_t v_isSharedCheck_2029_; 
lean_dec(v_a_2017_);
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_2020_ = lean_ctor_get(v___x_2019_, 0);
v_isSharedCheck_2029_ = !lean_is_exclusive(v___x_2019_);
if (v_isSharedCheck_2029_ == 0)
{
v___x_2022_ = v___x_2019_;
v_isShared_2023_ = v_isSharedCheck_2029_;
goto v_resetjp_2021_;
}
else
{
lean_inc(v_a_2020_);
lean_dec(v___x_2019_);
v___x_2022_ = lean_box(0);
v_isShared_2023_ = v_isSharedCheck_2029_;
goto v_resetjp_2021_;
}
v_resetjp_2021_:
{
lean_object* v___x_2024_; lean_object* v___x_2025_; lean_object* v___x_2027_; 
v___x_2024_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__35);
v___x_2025_ = lean_string_append(v___x_2024_, v_a_2020_);
lean_dec(v_a_2020_);
if (v_isShared_2023_ == 0)
{
lean_ctor_set(v___x_2022_, 0, v___x_2025_);
v___x_2027_ = v___x_2022_;
goto v_reusejp_2026_;
}
else
{
lean_object* v_reuseFailAlloc_2028_; 
v_reuseFailAlloc_2028_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2028_, 0, v___x_2025_);
v___x_2027_ = v_reuseFailAlloc_2028_;
goto v_reusejp_2026_;
}
v_reusejp_2026_:
{
return v___x_2027_;
}
}
}
else
{
if (lean_obj_tag(v___x_2019_) == 0)
{
lean_object* v_a_2030_; lean_object* v___x_2032_; uint8_t v_isShared_2033_; uint8_t v_isSharedCheck_2037_; 
lean_dec(v_a_2017_);
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
lean_dec(v_json_1891_);
v_a_2030_ = lean_ctor_get(v___x_2019_, 0);
v_isSharedCheck_2037_ = !lean_is_exclusive(v___x_2019_);
if (v_isSharedCheck_2037_ == 0)
{
v___x_2032_ = v___x_2019_;
v_isShared_2033_ = v_isSharedCheck_2037_;
goto v_resetjp_2031_;
}
else
{
lean_inc(v_a_2030_);
lean_dec(v___x_2019_);
v___x_2032_ = lean_box(0);
v_isShared_2033_ = v_isSharedCheck_2037_;
goto v_resetjp_2031_;
}
v_resetjp_2031_:
{
lean_object* v___x_2035_; 
if (v_isShared_2033_ == 0)
{
lean_ctor_set_tag(v___x_2032_, 0);
v___x_2035_ = v___x_2032_;
goto v_reusejp_2034_;
}
else
{
lean_object* v_reuseFailAlloc_2036_; 
v_reuseFailAlloc_2036_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2036_, 0, v_a_2030_);
v___x_2035_ = v_reuseFailAlloc_2036_;
goto v_reusejp_2034_;
}
v_reusejp_2034_:
{
return v___x_2035_;
}
}
}
else
{
lean_object* v_a_2038_; lean_object* v___x_2039_; lean_object* v___x_2040_; 
v_a_2038_ = lean_ctor_get(v___x_2019_, 0);
lean_inc(v_a_2038_);
lean_dec_ref(v___x_2019_);
v___x_2039_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2040_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_1891_, v___x_2039_);
if (lean_obj_tag(v___x_2040_) == 0)
{
lean_object* v_a_2041_; lean_object* v___x_2043_; uint8_t v_isShared_2044_; uint8_t v_isSharedCheck_2050_; 
lean_dec(v_a_2038_);
lean_dec(v_a_2017_);
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
v_a_2041_ = lean_ctor_get(v___x_2040_, 0);
v_isSharedCheck_2050_ = !lean_is_exclusive(v___x_2040_);
if (v_isSharedCheck_2050_ == 0)
{
v___x_2043_ = v___x_2040_;
v_isShared_2044_ = v_isSharedCheck_2050_;
goto v_resetjp_2042_;
}
else
{
lean_inc(v_a_2041_);
lean_dec(v___x_2040_);
v___x_2043_ = lean_box(0);
v_isShared_2044_ = v_isSharedCheck_2050_;
goto v_resetjp_2042_;
}
v_resetjp_2042_:
{
lean_object* v___x_2045_; lean_object* v___x_2046_; lean_object* v___x_2048_; 
v___x_2045_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37, &l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37_once, _init_l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__37);
v___x_2046_ = lean_string_append(v___x_2045_, v_a_2041_);
lean_dec(v_a_2041_);
if (v_isShared_2044_ == 0)
{
lean_ctor_set(v___x_2043_, 0, v___x_2046_);
v___x_2048_ = v___x_2043_;
goto v_reusejp_2047_;
}
else
{
lean_object* v_reuseFailAlloc_2049_; 
v_reuseFailAlloc_2049_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2049_, 0, v___x_2046_);
v___x_2048_ = v_reuseFailAlloc_2049_;
goto v_reusejp_2047_;
}
v_reusejp_2047_:
{
return v___x_2048_;
}
}
}
else
{
if (lean_obj_tag(v___x_2040_) == 0)
{
lean_object* v_a_2051_; lean_object* v___x_2053_; uint8_t v_isShared_2054_; uint8_t v_isSharedCheck_2058_; 
lean_dec(v_a_2038_);
lean_dec(v_a_2017_);
lean_dec(v_a_1996_);
lean_dec(v_a_1975_);
lean_dec(v_a_1954_);
lean_dec(v_a_1933_);
lean_dec(v_a_1912_);
v_a_2051_ = lean_ctor_get(v___x_2040_, 0);
v_isSharedCheck_2058_ = !lean_is_exclusive(v___x_2040_);
if (v_isSharedCheck_2058_ == 0)
{
v___x_2053_ = v___x_2040_;
v_isShared_2054_ = v_isSharedCheck_2058_;
goto v_resetjp_2052_;
}
else
{
lean_inc(v_a_2051_);
lean_dec(v___x_2040_);
v___x_2053_ = lean_box(0);
v_isShared_2054_ = v_isSharedCheck_2058_;
goto v_resetjp_2052_;
}
v_resetjp_2052_:
{
lean_object* v___x_2056_; 
if (v_isShared_2054_ == 0)
{
lean_ctor_set_tag(v___x_2053_, 0);
v___x_2056_ = v___x_2053_;
goto v_reusejp_2055_;
}
else
{
lean_object* v_reuseFailAlloc_2057_; 
v_reuseFailAlloc_2057_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2057_, 0, v_a_2051_);
v___x_2056_ = v_reuseFailAlloc_2057_;
goto v_reusejp_2055_;
}
v_reusejp_2055_:
{
return v___x_2056_;
}
}
}
else
{
lean_object* v_a_2059_; lean_object* v___x_2061_; uint8_t v_isShared_2062_; uint8_t v_isSharedCheck_2067_; 
v_a_2059_ = lean_ctor_get(v___x_2040_, 0);
v_isSharedCheck_2067_ = !lean_is_exclusive(v___x_2040_);
if (v_isSharedCheck_2067_ == 0)
{
v___x_2061_ = v___x_2040_;
v_isShared_2062_ = v_isSharedCheck_2067_;
goto v_resetjp_2060_;
}
else
{
lean_inc(v_a_2059_);
lean_dec(v___x_2040_);
v___x_2061_ = lean_box(0);
v_isShared_2062_ = v_isSharedCheck_2067_;
goto v_resetjp_2060_;
}
v_resetjp_2060_:
{
lean_object* v___x_2063_; lean_object* v___x_2065_; 
v___x_2063_ = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(v___x_2063_, 0, v_a_1912_);
lean_ctor_set(v___x_2063_, 1, v_a_1933_);
lean_ctor_set(v___x_2063_, 2, v_a_1954_);
lean_ctor_set(v___x_2063_, 3, v_a_1975_);
lean_ctor_set(v___x_2063_, 4, v_a_1996_);
lean_ctor_set(v___x_2063_, 5, v_a_2017_);
lean_ctor_set(v___x_2063_, 6, v_a_2038_);
lean_ctor_set(v___x_2063_, 7, v_a_2059_);
if (v_isShared_2062_ == 0)
{
lean_ctor_set(v___x_2061_, 0, v___x_2063_);
v___x_2065_ = v___x_2061_;
goto v_reusejp_2064_;
}
else
{
lean_object* v_reuseFailAlloc_2066_; 
v_reuseFailAlloc_2066_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2066_, 0, v___x_2063_);
v___x_2065_ = v_reuseFailAlloc_2066_;
goto v_reusejp_2064_;
}
v_reusejp_2064_:
{
return v___x_2065_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0(size_t v_sz_2070_, size_t v_i_2071_, lean_object* v_bs_2072_){
_start:
{
uint8_t v___x_2073_; 
v___x_2073_ = lean_usize_dec_lt(v_i_2071_, v_sz_2070_);
if (v___x_2073_ == 0)
{
return v_bs_2072_;
}
else
{
lean_object* v_v_2074_; lean_object* v___x_2075_; lean_object* v_bs_x27_2076_; lean_object* v___x_2077_; lean_object* v___x_2078_; size_t v___x_2079_; size_t v___x_2080_; lean_object* v___x_2081_; 
v_v_2074_ = lean_array_uget(v_bs_2072_, v_i_2071_);
v___x_2075_ = lean_unsigned_to_nat(0u);
v_bs_x27_2076_ = lean_array_uset(v_bs_2072_, v_i_2071_, v___x_2075_);
v___x_2077_ = l_Lean_JsonNumber_fromInt(v_v_2074_);
v___x_2078_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_2078_, 0, v___x_2077_);
v___x_2079_ = ((size_t)1ULL);
v___x_2080_ = lean_usize_add(v_i_2071_, v___x_2079_);
v___x_2081_ = lean_array_uset(v_bs_x27_2076_, v_i_2071_, v___x_2078_);
v_i_2071_ = v___x_2080_;
v_bs_2072_ = v___x_2081_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0___boxed(lean_object* v_sz_2083_, lean_object* v_i_2084_, lean_object* v_bs_2085_){
_start:
{
size_t v_sz_boxed_2086_; size_t v_i_boxed_2087_; lean_object* v_res_2088_; 
v_sz_boxed_2086_ = lean_unbox_usize(v_sz_2083_);
lean_dec(v_sz_2083_);
v_i_boxed_2087_ = lean_unbox_usize(v_i_2084_);
lean_dec(v_i_2084_);
v_res_2088_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0(v_sz_boxed_2086_, v_i_boxed_2087_, v_bs_2085_);
return v_res_2088_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0(lean_object* v_a_2089_){
_start:
{
size_t v_sz_2090_; size_t v___x_2091_; lean_object* v___x_2092_; lean_object* v___x_2093_; 
v_sz_2090_ = lean_array_size(v_a_2089_);
v___x_2091_ = ((size_t)0ULL);
v___x_2092_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0_spec__0(v_sz_2090_, v___x_2091_, v_a_2089_);
v___x_2093_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_2093_, 0, v___x_2092_);
return v___x_2093_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonFuncTable_toJson(lean_object* v_x_2094_){
_start:
{
lean_object* v_name_2095_; lean_object* v_isJS_2096_; lean_object* v_relevantForJS_2097_; lean_object* v_resource_2098_; lean_object* v_fileName_2099_; lean_object* v_lineNumber_2100_; lean_object* v_columnNumber_2101_; lean_object* v_length_2102_; lean_object* v___x_2103_; lean_object* v___x_2104_; lean_object* v___x_2105_; lean_object* v___x_2106_; lean_object* v___x_2107_; lean_object* v___x_2108_; lean_object* v___x_2109_; lean_object* v___x_2110_; lean_object* v___x_2111_; lean_object* v___x_2112_; lean_object* v___x_2113_; lean_object* v___x_2114_; lean_object* v___x_2115_; lean_object* v___x_2116_; lean_object* v___x_2117_; lean_object* v___x_2118_; lean_object* v___x_2119_; lean_object* v___x_2120_; lean_object* v___x_2121_; lean_object* v___x_2122_; lean_object* v___x_2123_; lean_object* v___x_2124_; lean_object* v___x_2125_; lean_object* v___x_2126_; lean_object* v___x_2127_; lean_object* v___x_2128_; lean_object* v___x_2129_; lean_object* v___x_2130_; lean_object* v___x_2131_; lean_object* v___x_2132_; lean_object* v___x_2133_; lean_object* v___x_2134_; lean_object* v___x_2135_; lean_object* v___x_2136_; lean_object* v___x_2137_; lean_object* v___x_2138_; lean_object* v___x_2139_; lean_object* v___x_2140_; lean_object* v___x_2141_; lean_object* v___x_2142_; lean_object* v___x_2143_; lean_object* v___x_2144_; lean_object* v___x_2145_; lean_object* v___x_2146_; lean_object* v___x_2147_; 
v_name_2095_ = lean_ctor_get(v_x_2094_, 0);
lean_inc_ref(v_name_2095_);
v_isJS_2096_ = lean_ctor_get(v_x_2094_, 1);
lean_inc_ref(v_isJS_2096_);
v_relevantForJS_2097_ = lean_ctor_get(v_x_2094_, 2);
lean_inc_ref(v_relevantForJS_2097_);
v_resource_2098_ = lean_ctor_get(v_x_2094_, 3);
lean_inc_ref(v_resource_2098_);
v_fileName_2099_ = lean_ctor_get(v_x_2094_, 4);
lean_inc_ref(v_fileName_2099_);
v_lineNumber_2100_ = lean_ctor_get(v_x_2094_, 5);
lean_inc_ref(v_lineNumber_2100_);
v_columnNumber_2101_ = lean_ctor_get(v_x_2094_, 6);
lean_inc_ref(v_columnNumber_2101_);
v_length_2102_ = lean_ctor_get(v_x_2094_, 7);
lean_inc(v_length_2102_);
lean_dec_ref(v_x_2094_);
v___x_2103_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
v___x_2104_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_name_2095_);
v___x_2105_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2105_, 0, v___x_2103_);
lean_ctor_set(v___x_2105_, 1, v___x_2104_);
v___x_2106_ = lean_box(0);
v___x_2107_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2107_, 0, v___x_2105_);
lean_ctor_set(v___x_2107_, 1, v___x_2106_);
v___x_2108_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__6));
v___x_2109_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_isJS_2096_);
v___x_2110_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2110_, 0, v___x_2108_);
lean_ctor_set(v___x_2110_, 1, v___x_2109_);
v___x_2111_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2111_, 0, v___x_2110_);
lean_ctor_set(v___x_2111_, 1, v___x_2106_);
v___x_2112_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__11));
v___x_2113_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_relevantForJS_2097_);
v___x_2114_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2114_, 0, v___x_2112_);
lean_ctor_set(v___x_2114_, 1, v___x_2113_);
v___x_2115_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2115_, 0, v___x_2114_);
lean_ctor_set(v___x_2115_, 1, v___x_2106_);
v___x_2116_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__16));
v___x_2117_ = l_Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0(v_resource_2098_);
v___x_2118_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2118_, 0, v___x_2116_);
lean_ctor_set(v___x_2118_, 1, v___x_2117_);
v___x_2119_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2119_, 0, v___x_2118_);
lean_ctor_set(v___x_2119_, 1, v___x_2106_);
v___x_2120_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__21));
v___x_2121_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_fileName_2099_);
v___x_2122_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2122_, 0, v___x_2120_);
lean_ctor_set(v___x_2122_, 1, v___x_2121_);
v___x_2123_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2123_, 0, v___x_2122_);
lean_ctor_set(v___x_2123_, 1, v___x_2106_);
v___x_2124_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__26));
v___x_2125_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_lineNumber_2100_);
v___x_2126_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2126_, 0, v___x_2124_);
lean_ctor_set(v___x_2126_, 1, v___x_2125_);
v___x_2127_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2127_, 0, v___x_2126_);
lean_ctor_set(v___x_2127_, 1, v___x_2106_);
v___x_2128_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFuncTable_fromJson___closed__31));
v___x_2129_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_columnNumber_2101_);
v___x_2130_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2130_, 0, v___x_2128_);
lean_ctor_set(v___x_2130_, 1, v___x_2129_);
v___x_2131_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2131_, 0, v___x_2130_);
lean_ctor_set(v___x_2131_, 1, v___x_2106_);
v___x_2132_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2133_ = l_Lean_JsonNumber_fromNat(v_length_2102_);
v___x_2134_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_2134_, 0, v___x_2133_);
v___x_2135_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2135_, 0, v___x_2132_);
lean_ctor_set(v___x_2135_, 1, v___x_2134_);
v___x_2136_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2136_, 0, v___x_2135_);
lean_ctor_set(v___x_2136_, 1, v___x_2106_);
v___x_2137_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2137_, 0, v___x_2136_);
lean_ctor_set(v___x_2137_, 1, v___x_2106_);
v___x_2138_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2138_, 0, v___x_2131_);
lean_ctor_set(v___x_2138_, 1, v___x_2137_);
v___x_2139_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2139_, 0, v___x_2127_);
lean_ctor_set(v___x_2139_, 1, v___x_2138_);
v___x_2140_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2140_, 0, v___x_2123_);
lean_ctor_set(v___x_2140_, 1, v___x_2139_);
v___x_2141_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2141_, 0, v___x_2119_);
lean_ctor_set(v___x_2141_, 1, v___x_2140_);
v___x_2142_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2142_, 0, v___x_2115_);
lean_ctor_set(v___x_2142_, 1, v___x_2141_);
v___x_2143_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2143_, 0, v___x_2111_);
lean_ctor_set(v___x_2143_, 1, v___x_2142_);
v___x_2144_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2144_, 0, v___x_2107_);
lean_ctor_set(v___x_2144_, 1, v___x_2143_);
v___x_2145_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_2146_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_2144_, v___x_2145_);
v___x_2147_ = l_Lean_Json_mkObj(v___x_2146_);
return v___x_2147_;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1(lean_object* v_x_2152_){
_start:
{
if (lean_obj_tag(v_x_2152_) == 0)
{
lean_object* v___x_2153_; 
v___x_2153_ = ((lean_object*)(l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1___closed__0));
return v___x_2153_;
}
else
{
lean_object* v___x_2154_; lean_object* v___x_2155_; 
v___x_2154_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_2154_, 0, v_x_2152_);
v___x_2155_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_2155_, 0, v___x_2154_);
return v___x_2155_;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2(size_t v_sz_2156_, size_t v_i_2157_, lean_object* v_bs_2158_){
_start:
{
uint8_t v___x_2159_; 
v___x_2159_ = lean_usize_dec_lt(v_i_2157_, v_sz_2156_);
if (v___x_2159_ == 0)
{
lean_object* v___x_2160_; 
v___x_2160_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_2160_, 0, v_bs_2158_);
return v___x_2160_;
}
else
{
lean_object* v_v_2161_; lean_object* v___x_2162_; 
v_v_2161_ = lean_array_uget_borrowed(v_bs_2158_, v_i_2157_);
lean_inc(v_v_2161_);
v___x_2162_ = l_Option_fromJson_x3f___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__1(v_v_2161_);
if (lean_obj_tag(v___x_2162_) == 0)
{
lean_object* v_a_2163_; lean_object* v___x_2165_; uint8_t v_isShared_2166_; uint8_t v_isSharedCheck_2170_; 
lean_dec_ref(v_bs_2158_);
v_a_2163_ = lean_ctor_get(v___x_2162_, 0);
v_isSharedCheck_2170_ = !lean_is_exclusive(v___x_2162_);
if (v_isSharedCheck_2170_ == 0)
{
v___x_2165_ = v___x_2162_;
v_isShared_2166_ = v_isSharedCheck_2170_;
goto v_resetjp_2164_;
}
else
{
lean_inc(v_a_2163_);
lean_dec(v___x_2162_);
v___x_2165_ = lean_box(0);
v_isShared_2166_ = v_isSharedCheck_2170_;
goto v_resetjp_2164_;
}
v_resetjp_2164_:
{
lean_object* v___x_2168_; 
if (v_isShared_2166_ == 0)
{
v___x_2168_ = v___x_2165_;
goto v_reusejp_2167_;
}
else
{
lean_object* v_reuseFailAlloc_2169_; 
v_reuseFailAlloc_2169_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2169_, 0, v_a_2163_);
v___x_2168_ = v_reuseFailAlloc_2169_;
goto v_reusejp_2167_;
}
v_reusejp_2167_:
{
return v___x_2168_;
}
}
}
else
{
lean_object* v_a_2171_; lean_object* v___x_2172_; lean_object* v_bs_x27_2173_; size_t v___x_2174_; size_t v___x_2175_; lean_object* v___x_2176_; 
v_a_2171_ = lean_ctor_get(v___x_2162_, 0);
lean_inc(v_a_2171_);
lean_dec_ref(v___x_2162_);
v___x_2172_ = lean_unsigned_to_nat(0u);
v_bs_x27_2173_ = lean_array_uset(v_bs_2158_, v_i_2157_, v___x_2172_);
v___x_2174_ = ((size_t)1ULL);
v___x_2175_ = lean_usize_add(v_i_2157_, v___x_2174_);
v___x_2176_ = lean_array_uset(v_bs_x27_2173_, v_i_2157_, v_a_2171_);
v_i_2157_ = v___x_2175_;
v_bs_2158_ = v___x_2176_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2___boxed(lean_object* v_sz_2178_, lean_object* v_i_2179_, lean_object* v_bs_2180_){
_start:
{
size_t v_sz_boxed_2181_; size_t v_i_boxed_2182_; lean_object* v_res_2183_; 
v_sz_boxed_2181_ = lean_unbox_usize(v_sz_2178_);
lean_dec(v_sz_2178_);
v_i_boxed_2182_ = lean_unbox_usize(v_i_2179_);
lean_dec(v_i_2179_);
v_res_2183_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2(v_sz_boxed_2181_, v_i_boxed_2182_, v_bs_2180_);
return v_res_2183_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0(lean_object* v_x_2184_){
_start:
{
if (lean_obj_tag(v_x_2184_) == 4)
{
lean_object* v_elems_2185_; size_t v_sz_2186_; size_t v___x_2187_; lean_object* v___x_2188_; 
v_elems_2185_ = lean_ctor_get(v_x_2184_, 0);
lean_inc_ref(v_elems_2185_);
lean_dec_ref(v_x_2184_);
v_sz_2186_ = lean_array_size(v_elems_2185_);
v___x_2187_ = ((size_t)0ULL);
v___x_2188_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0_spec__2(v_sz_2186_, v___x_2187_, v_elems_2185_);
return v___x_2188_;
}
else
{
lean_object* v___x_2189_; lean_object* v___x_2190_; lean_object* v___x_2191_; lean_object* v___x_2192_; lean_object* v___x_2193_; lean_object* v___x_2194_; lean_object* v___x_2195_; 
v___x_2189_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_2190_ = lean_unsigned_to_nat(80u);
v___x_2191_ = l_Lean_Json_pretty(v_x_2184_, v___x_2190_);
v___x_2192_ = lean_string_append(v___x_2189_, v___x_2191_);
lean_dec_ref(v___x_2191_);
v___x_2193_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_2194_ = lean_string_append(v___x_2192_, v___x_2193_);
v___x_2195_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_2195_, 0, v___x_2194_);
return v___x_2195_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(lean_object* v_j_2196_, lean_object* v_k_2197_){
_start:
{
lean_object* v___x_2198_; lean_object* v___x_2199_; 
v___x_2198_ = l_Lean_Json_getObjValD(v_j_2196_, v_k_2197_);
v___x_2199_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0_spec__0(v___x_2198_);
return v___x_2199_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0___boxed(lean_object* v_j_2200_, lean_object* v_k_2201_){
_start:
{
lean_object* v_res_2202_; 
v_res_2202_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(v_j_2200_, v_k_2201_);
lean_dec_ref(v_k_2201_);
return v_res_2202_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3(void){
_start:
{
uint8_t v___x_2209_; lean_object* v___x_2210_; lean_object* v___x_2211_; 
v___x_2209_ = 1;
v___x_2210_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__2));
v___x_2211_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2210_, v___x_2209_);
return v___x_2211_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_2212_; lean_object* v___x_2213_; lean_object* v___x_2214_; 
v___x_2212_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_2213_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__3);
v___x_2214_ = lean_string_append(v___x_2213_, v___x_2212_);
return v___x_2214_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6(void){
_start:
{
uint8_t v___x_2217_; lean_object* v___x_2218_; lean_object* v___x_2219_; 
v___x_2217_ = 1;
v___x_2218_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__5));
v___x_2219_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2218_, v___x_2217_);
return v___x_2219_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7(void){
_start:
{
lean_object* v___x_2220_; lean_object* v___x_2221_; lean_object* v___x_2222_; 
v___x_2220_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__6);
v___x_2221_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2222_ = lean_string_append(v___x_2221_, v___x_2220_);
return v___x_2222_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8(void){
_start:
{
lean_object* v___x_2223_; lean_object* v___x_2224_; lean_object* v___x_2225_; 
v___x_2223_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2224_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__7);
v___x_2225_ = lean_string_append(v___x_2224_, v___x_2223_);
return v___x_2225_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11(void){
_start:
{
uint8_t v___x_2229_; lean_object* v___x_2230_; lean_object* v___x_2231_; 
v___x_2229_ = 1;
v___x_2230_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__10));
v___x_2231_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2230_, v___x_2229_);
return v___x_2231_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12(void){
_start:
{
lean_object* v___x_2232_; lean_object* v___x_2233_; lean_object* v___x_2234_; 
v___x_2232_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__11);
v___x_2233_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2234_ = lean_string_append(v___x_2233_, v___x_2232_);
return v___x_2234_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13(void){
_start:
{
lean_object* v___x_2235_; lean_object* v___x_2236_; lean_object* v___x_2237_; 
v___x_2235_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2236_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__12);
v___x_2237_ = lean_string_append(v___x_2236_, v___x_2235_);
return v___x_2237_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14(void){
_start:
{
lean_object* v___x_2238_; lean_object* v___x_2239_; lean_object* v___x_2240_; 
v___x_2238_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__11);
v___x_2239_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2240_ = lean_string_append(v___x_2239_, v___x_2238_);
return v___x_2240_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15(void){
_start:
{
lean_object* v___x_2241_; lean_object* v___x_2242_; lean_object* v___x_2243_; 
v___x_2241_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2242_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__14);
v___x_2243_ = lean_string_append(v___x_2242_, v___x_2241_);
return v___x_2243_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16(void){
_start:
{
lean_object* v___x_2244_; lean_object* v___x_2245_; lean_object* v___x_2246_; 
v___x_2244_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__16);
v___x_2245_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2246_ = lean_string_append(v___x_2245_, v___x_2244_);
return v___x_2246_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17(void){
_start:
{
lean_object* v___x_2247_; lean_object* v___x_2248_; lean_object* v___x_2249_; 
v___x_2247_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2248_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__16);
v___x_2249_ = lean_string_append(v___x_2248_, v___x_2247_);
return v___x_2249_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20(void){
_start:
{
uint8_t v___x_2253_; lean_object* v___x_2254_; lean_object* v___x_2255_; 
v___x_2253_ = 1;
v___x_2254_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__19));
v___x_2255_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2254_, v___x_2253_);
return v___x_2255_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21(void){
_start:
{
lean_object* v___x_2256_; lean_object* v___x_2257_; lean_object* v___x_2258_; 
v___x_2256_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__20);
v___x_2257_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2258_ = lean_string_append(v___x_2257_, v___x_2256_);
return v___x_2258_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22(void){
_start:
{
lean_object* v___x_2259_; lean_object* v___x_2260_; lean_object* v___x_2261_; 
v___x_2259_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2260_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__21);
v___x_2261_ = lean_string_append(v___x_2260_, v___x_2259_);
return v___x_2261_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25(void){
_start:
{
uint8_t v___x_2265_; lean_object* v___x_2266_; lean_object* v___x_2267_; 
v___x_2265_ = 1;
v___x_2266_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__24));
v___x_2267_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2266_, v___x_2265_);
return v___x_2267_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26(void){
_start:
{
lean_object* v___x_2268_; lean_object* v___x_2269_; lean_object* v___x_2270_; 
v___x_2268_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__25);
v___x_2269_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2270_ = lean_string_append(v___x_2269_, v___x_2268_);
return v___x_2270_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27(void){
_start:
{
lean_object* v___x_2271_; lean_object* v___x_2272_; lean_object* v___x_2273_; 
v___x_2271_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2272_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__26);
v___x_2273_ = lean_string_append(v___x_2272_, v___x_2271_);
return v___x_2273_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30(void){
_start:
{
uint8_t v___x_2277_; lean_object* v___x_2278_; lean_object* v___x_2279_; 
v___x_2277_ = 1;
v___x_2278_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__29));
v___x_2279_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2278_, v___x_2277_);
return v___x_2279_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31(void){
_start:
{
lean_object* v___x_2280_; lean_object* v___x_2281_; lean_object* v___x_2282_; 
v___x_2280_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__30);
v___x_2281_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2282_ = lean_string_append(v___x_2281_, v___x_2280_);
return v___x_2282_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32(void){
_start:
{
lean_object* v___x_2283_; lean_object* v___x_2284_; lean_object* v___x_2285_; 
v___x_2283_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2284_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__31);
v___x_2285_ = lean_string_append(v___x_2284_, v___x_2283_);
return v___x_2285_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35(void){
_start:
{
uint8_t v___x_2289_; lean_object* v___x_2290_; lean_object* v___x_2291_; 
v___x_2289_ = 1;
v___x_2290_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__34));
v___x_2291_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2290_, v___x_2289_);
return v___x_2291_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36(void){
_start:
{
lean_object* v___x_2292_; lean_object* v___x_2293_; lean_object* v___x_2294_; 
v___x_2292_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__35);
v___x_2293_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2294_ = lean_string_append(v___x_2293_, v___x_2292_);
return v___x_2294_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37(void){
_start:
{
lean_object* v___x_2295_; lean_object* v___x_2296_; lean_object* v___x_2297_; 
v___x_2295_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2296_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__36);
v___x_2297_ = lean_string_append(v___x_2296_, v___x_2295_);
return v___x_2297_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40(void){
_start:
{
uint8_t v___x_2301_; lean_object* v___x_2302_; lean_object* v___x_2303_; 
v___x_2301_ = 1;
v___x_2302_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__39));
v___x_2303_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2302_, v___x_2301_);
return v___x_2303_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41(void){
_start:
{
lean_object* v___x_2304_; lean_object* v___x_2305_; lean_object* v___x_2306_; 
v___x_2304_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__40);
v___x_2305_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2306_ = lean_string_append(v___x_2305_, v___x_2304_);
return v___x_2306_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42(void){
_start:
{
lean_object* v___x_2307_; lean_object* v___x_2308_; lean_object* v___x_2309_; 
v___x_2307_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2308_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__41);
v___x_2309_ = lean_string_append(v___x_2308_, v___x_2307_);
return v___x_2309_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45(void){
_start:
{
uint8_t v___x_2313_; lean_object* v___x_2314_; lean_object* v___x_2315_; 
v___x_2313_ = 1;
v___x_2314_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__44));
v___x_2315_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2314_, v___x_2313_);
return v___x_2315_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46(void){
_start:
{
lean_object* v___x_2316_; lean_object* v___x_2317_; lean_object* v___x_2318_; 
v___x_2316_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__45);
v___x_2317_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2318_ = lean_string_append(v___x_2317_, v___x_2316_);
return v___x_2318_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47(void){
_start:
{
lean_object* v___x_2319_; lean_object* v___x_2320_; lean_object* v___x_2321_; 
v___x_2319_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2320_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__46);
v___x_2321_ = lean_string_append(v___x_2320_, v___x_2319_);
return v___x_2321_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48(void){
_start:
{
lean_object* v___x_2322_; lean_object* v___x_2323_; lean_object* v___x_2324_; 
v___x_2322_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_2323_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__4);
v___x_2324_ = lean_string_append(v___x_2323_, v___x_2322_);
return v___x_2324_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49(void){
_start:
{
lean_object* v___x_2325_; lean_object* v___x_2326_; lean_object* v___x_2327_; 
v___x_2325_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2326_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__48);
v___x_2327_ = lean_string_append(v___x_2326_, v___x_2325_);
return v___x_2327_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonFrameTable_fromJson(lean_object* v_json_2328_){
_start:
{
lean_object* v___x_2329_; lean_object* v___x_2330_; 
v___x_2329_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0));
lean_inc(v_json_2328_);
v___x_2330_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFuncTable_fromJson_spec__0(v_json_2328_, v___x_2329_);
if (lean_obj_tag(v___x_2330_) == 0)
{
lean_object* v_a_2331_; lean_object* v___x_2333_; uint8_t v_isShared_2334_; uint8_t v_isSharedCheck_2340_; 
lean_dec(v_json_2328_);
v_a_2331_ = lean_ctor_get(v___x_2330_, 0);
v_isSharedCheck_2340_ = !lean_is_exclusive(v___x_2330_);
if (v_isSharedCheck_2340_ == 0)
{
v___x_2333_ = v___x_2330_;
v_isShared_2334_ = v_isSharedCheck_2340_;
goto v_resetjp_2332_;
}
else
{
lean_inc(v_a_2331_);
lean_dec(v___x_2330_);
v___x_2333_ = lean_box(0);
v_isShared_2334_ = v_isSharedCheck_2340_;
goto v_resetjp_2332_;
}
v_resetjp_2332_:
{
lean_object* v___x_2335_; lean_object* v___x_2336_; lean_object* v___x_2338_; 
v___x_2335_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__8);
v___x_2336_ = lean_string_append(v___x_2335_, v_a_2331_);
lean_dec(v_a_2331_);
if (v_isShared_2334_ == 0)
{
lean_ctor_set(v___x_2333_, 0, v___x_2336_);
v___x_2338_ = v___x_2333_;
goto v_reusejp_2337_;
}
else
{
lean_object* v_reuseFailAlloc_2339_; 
v_reuseFailAlloc_2339_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2339_, 0, v___x_2336_);
v___x_2338_ = v_reuseFailAlloc_2339_;
goto v_reusejp_2337_;
}
v_reusejp_2337_:
{
return v___x_2338_;
}
}
}
else
{
if (lean_obj_tag(v___x_2330_) == 0)
{
lean_object* v_a_2341_; lean_object* v___x_2343_; uint8_t v_isShared_2344_; uint8_t v_isSharedCheck_2348_; 
lean_dec(v_json_2328_);
v_a_2341_ = lean_ctor_get(v___x_2330_, 0);
v_isSharedCheck_2348_ = !lean_is_exclusive(v___x_2330_);
if (v_isSharedCheck_2348_ == 0)
{
v___x_2343_ = v___x_2330_;
v_isShared_2344_ = v_isSharedCheck_2348_;
goto v_resetjp_2342_;
}
else
{
lean_inc(v_a_2341_);
lean_dec(v___x_2330_);
v___x_2343_ = lean_box(0);
v_isShared_2344_ = v_isSharedCheck_2348_;
goto v_resetjp_2342_;
}
v_resetjp_2342_:
{
lean_object* v___x_2346_; 
if (v_isShared_2344_ == 0)
{
lean_ctor_set_tag(v___x_2343_, 0);
v___x_2346_ = v___x_2343_;
goto v_reusejp_2345_;
}
else
{
lean_object* v_reuseFailAlloc_2347_; 
v_reuseFailAlloc_2347_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2347_, 0, v_a_2341_);
v___x_2346_ = v_reuseFailAlloc_2347_;
goto v_reusejp_2345_;
}
v_reusejp_2345_:
{
return v___x_2346_;
}
}
}
else
{
lean_object* v_a_2349_; lean_object* v___x_2350_; lean_object* v___x_2351_; 
v_a_2349_ = lean_ctor_get(v___x_2330_, 0);
lean_inc(v_a_2349_);
lean_dec_ref(v___x_2330_);
v___x_2350_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9));
lean_inc(v_json_2328_);
v___x_2351_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_2328_, v___x_2350_);
if (lean_obj_tag(v___x_2351_) == 0)
{
lean_object* v_a_2352_; lean_object* v___x_2354_; uint8_t v_isShared_2355_; uint8_t v_isSharedCheck_2361_; 
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2352_ = lean_ctor_get(v___x_2351_, 0);
v_isSharedCheck_2361_ = !lean_is_exclusive(v___x_2351_);
if (v_isSharedCheck_2361_ == 0)
{
v___x_2354_ = v___x_2351_;
v_isShared_2355_ = v_isSharedCheck_2361_;
goto v_resetjp_2353_;
}
else
{
lean_inc(v_a_2352_);
lean_dec(v___x_2351_);
v___x_2354_ = lean_box(0);
v_isShared_2355_ = v_isSharedCheck_2361_;
goto v_resetjp_2353_;
}
v_resetjp_2353_:
{
lean_object* v___x_2356_; lean_object* v___x_2357_; lean_object* v___x_2359_; 
v___x_2356_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__13);
v___x_2357_ = lean_string_append(v___x_2356_, v_a_2352_);
lean_dec(v_a_2352_);
if (v_isShared_2355_ == 0)
{
lean_ctor_set(v___x_2354_, 0, v___x_2357_);
v___x_2359_ = v___x_2354_;
goto v_reusejp_2358_;
}
else
{
lean_object* v_reuseFailAlloc_2360_; 
v_reuseFailAlloc_2360_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2360_, 0, v___x_2357_);
v___x_2359_ = v_reuseFailAlloc_2360_;
goto v_reusejp_2358_;
}
v_reusejp_2358_:
{
return v___x_2359_;
}
}
}
else
{
if (lean_obj_tag(v___x_2351_) == 0)
{
lean_object* v_a_2362_; lean_object* v___x_2364_; uint8_t v_isShared_2365_; uint8_t v_isSharedCheck_2369_; 
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2362_ = lean_ctor_get(v___x_2351_, 0);
v_isSharedCheck_2369_ = !lean_is_exclusive(v___x_2351_);
if (v_isSharedCheck_2369_ == 0)
{
v___x_2364_ = v___x_2351_;
v_isShared_2365_ = v_isSharedCheck_2369_;
goto v_resetjp_2363_;
}
else
{
lean_inc(v_a_2362_);
lean_dec(v___x_2351_);
v___x_2364_ = lean_box(0);
v_isShared_2365_ = v_isSharedCheck_2369_;
goto v_resetjp_2363_;
}
v_resetjp_2363_:
{
lean_object* v___x_2367_; 
if (v_isShared_2365_ == 0)
{
lean_ctor_set_tag(v___x_2364_, 0);
v___x_2367_ = v___x_2364_;
goto v_reusejp_2366_;
}
else
{
lean_object* v_reuseFailAlloc_2368_; 
v_reuseFailAlloc_2368_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2368_, 0, v_a_2362_);
v___x_2367_ = v_reuseFailAlloc_2368_;
goto v_reusejp_2366_;
}
v_reusejp_2366_:
{
return v___x_2367_;
}
}
}
else
{
lean_object* v_a_2370_; lean_object* v___x_2371_; lean_object* v___x_2372_; 
v_a_2370_ = lean_ctor_get(v___x_2351_, 0);
lean_inc(v_a_2370_);
lean_dec_ref(v___x_2351_);
v___x_2371_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9));
lean_inc(v_json_2328_);
v___x_2372_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_2328_, v___x_2371_);
if (lean_obj_tag(v___x_2372_) == 0)
{
lean_object* v_a_2373_; lean_object* v___x_2375_; uint8_t v_isShared_2376_; uint8_t v_isSharedCheck_2382_; 
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2373_ = lean_ctor_get(v___x_2372_, 0);
v_isSharedCheck_2382_ = !lean_is_exclusive(v___x_2372_);
if (v_isSharedCheck_2382_ == 0)
{
v___x_2375_ = v___x_2372_;
v_isShared_2376_ = v_isSharedCheck_2382_;
goto v_resetjp_2374_;
}
else
{
lean_inc(v_a_2373_);
lean_dec(v___x_2372_);
v___x_2375_ = lean_box(0);
v_isShared_2376_ = v_isSharedCheck_2382_;
goto v_resetjp_2374_;
}
v_resetjp_2374_:
{
lean_object* v___x_2377_; lean_object* v___x_2378_; lean_object* v___x_2380_; 
v___x_2377_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__15);
v___x_2378_ = lean_string_append(v___x_2377_, v_a_2373_);
lean_dec(v_a_2373_);
if (v_isShared_2376_ == 0)
{
lean_ctor_set(v___x_2375_, 0, v___x_2378_);
v___x_2380_ = v___x_2375_;
goto v_reusejp_2379_;
}
else
{
lean_object* v_reuseFailAlloc_2381_; 
v_reuseFailAlloc_2381_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2381_, 0, v___x_2378_);
v___x_2380_ = v_reuseFailAlloc_2381_;
goto v_reusejp_2379_;
}
v_reusejp_2379_:
{
return v___x_2380_;
}
}
}
else
{
if (lean_obj_tag(v___x_2372_) == 0)
{
lean_object* v_a_2383_; lean_object* v___x_2385_; uint8_t v_isShared_2386_; uint8_t v_isSharedCheck_2390_; 
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2383_ = lean_ctor_get(v___x_2372_, 0);
v_isSharedCheck_2390_ = !lean_is_exclusive(v___x_2372_);
if (v_isSharedCheck_2390_ == 0)
{
v___x_2385_ = v___x_2372_;
v_isShared_2386_ = v_isSharedCheck_2390_;
goto v_resetjp_2384_;
}
else
{
lean_inc(v_a_2383_);
lean_dec(v___x_2372_);
v___x_2385_ = lean_box(0);
v_isShared_2386_ = v_isSharedCheck_2390_;
goto v_resetjp_2384_;
}
v_resetjp_2384_:
{
lean_object* v___x_2388_; 
if (v_isShared_2386_ == 0)
{
lean_ctor_set_tag(v___x_2385_, 0);
v___x_2388_ = v___x_2385_;
goto v_reusejp_2387_;
}
else
{
lean_object* v_reuseFailAlloc_2389_; 
v_reuseFailAlloc_2389_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2389_, 0, v_a_2383_);
v___x_2388_ = v_reuseFailAlloc_2389_;
goto v_reusejp_2387_;
}
v_reusejp_2387_:
{
return v___x_2388_;
}
}
}
else
{
lean_object* v_a_2391_; lean_object* v___x_2392_; lean_object* v___x_2393_; 
v_a_2391_ = lean_ctor_get(v___x_2372_, 0);
lean_inc(v_a_2391_);
lean_dec_ref(v___x_2372_);
v___x_2392_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14));
lean_inc(v_json_2328_);
v___x_2393_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_2328_, v___x_2392_);
if (lean_obj_tag(v___x_2393_) == 0)
{
lean_object* v_a_2394_; lean_object* v___x_2396_; uint8_t v_isShared_2397_; uint8_t v_isSharedCheck_2403_; 
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2394_ = lean_ctor_get(v___x_2393_, 0);
v_isSharedCheck_2403_ = !lean_is_exclusive(v___x_2393_);
if (v_isSharedCheck_2403_ == 0)
{
v___x_2396_ = v___x_2393_;
v_isShared_2397_ = v_isSharedCheck_2403_;
goto v_resetjp_2395_;
}
else
{
lean_inc(v_a_2394_);
lean_dec(v___x_2393_);
v___x_2396_ = lean_box(0);
v_isShared_2397_ = v_isSharedCheck_2403_;
goto v_resetjp_2395_;
}
v_resetjp_2395_:
{
lean_object* v___x_2398_; lean_object* v___x_2399_; lean_object* v___x_2401_; 
v___x_2398_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__17);
v___x_2399_ = lean_string_append(v___x_2398_, v_a_2394_);
lean_dec(v_a_2394_);
if (v_isShared_2397_ == 0)
{
lean_ctor_set(v___x_2396_, 0, v___x_2399_);
v___x_2401_ = v___x_2396_;
goto v_reusejp_2400_;
}
else
{
lean_object* v_reuseFailAlloc_2402_; 
v_reuseFailAlloc_2402_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2402_, 0, v___x_2399_);
v___x_2401_ = v_reuseFailAlloc_2402_;
goto v_reusejp_2400_;
}
v_reusejp_2400_:
{
return v___x_2401_;
}
}
}
else
{
if (lean_obj_tag(v___x_2393_) == 0)
{
lean_object* v_a_2404_; lean_object* v___x_2406_; uint8_t v_isShared_2407_; uint8_t v_isSharedCheck_2411_; 
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2404_ = lean_ctor_get(v___x_2393_, 0);
v_isSharedCheck_2411_ = !lean_is_exclusive(v___x_2393_);
if (v_isSharedCheck_2411_ == 0)
{
v___x_2406_ = v___x_2393_;
v_isShared_2407_ = v_isSharedCheck_2411_;
goto v_resetjp_2405_;
}
else
{
lean_inc(v_a_2404_);
lean_dec(v___x_2393_);
v___x_2406_ = lean_box(0);
v_isShared_2407_ = v_isSharedCheck_2411_;
goto v_resetjp_2405_;
}
v_resetjp_2405_:
{
lean_object* v___x_2409_; 
if (v_isShared_2407_ == 0)
{
lean_ctor_set_tag(v___x_2406_, 0);
v___x_2409_ = v___x_2406_;
goto v_reusejp_2408_;
}
else
{
lean_object* v_reuseFailAlloc_2410_; 
v_reuseFailAlloc_2410_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2410_, 0, v_a_2404_);
v___x_2409_ = v_reuseFailAlloc_2410_;
goto v_reusejp_2408_;
}
v_reusejp_2408_:
{
return v___x_2409_;
}
}
}
else
{
lean_object* v_a_2412_; lean_object* v___x_2413_; lean_object* v___x_2414_; 
v_a_2412_ = lean_ctor_get(v___x_2393_, 0);
lean_inc(v_a_2412_);
lean_dec_ref(v___x_2393_);
v___x_2413_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18));
lean_inc(v_json_2328_);
v___x_2414_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__0(v_json_2328_, v___x_2413_);
if (lean_obj_tag(v___x_2414_) == 0)
{
lean_object* v_a_2415_; lean_object* v___x_2417_; uint8_t v_isShared_2418_; uint8_t v_isSharedCheck_2424_; 
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2415_ = lean_ctor_get(v___x_2414_, 0);
v_isSharedCheck_2424_ = !lean_is_exclusive(v___x_2414_);
if (v_isSharedCheck_2424_ == 0)
{
v___x_2417_ = v___x_2414_;
v_isShared_2418_ = v_isSharedCheck_2424_;
goto v_resetjp_2416_;
}
else
{
lean_inc(v_a_2415_);
lean_dec(v___x_2414_);
v___x_2417_ = lean_box(0);
v_isShared_2418_ = v_isSharedCheck_2424_;
goto v_resetjp_2416_;
}
v_resetjp_2416_:
{
lean_object* v___x_2419_; lean_object* v___x_2420_; lean_object* v___x_2422_; 
v___x_2419_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__22);
v___x_2420_ = lean_string_append(v___x_2419_, v_a_2415_);
lean_dec(v_a_2415_);
if (v_isShared_2418_ == 0)
{
lean_ctor_set(v___x_2417_, 0, v___x_2420_);
v___x_2422_ = v___x_2417_;
goto v_reusejp_2421_;
}
else
{
lean_object* v_reuseFailAlloc_2423_; 
v_reuseFailAlloc_2423_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2423_, 0, v___x_2420_);
v___x_2422_ = v_reuseFailAlloc_2423_;
goto v_reusejp_2421_;
}
v_reusejp_2421_:
{
return v___x_2422_;
}
}
}
else
{
if (lean_obj_tag(v___x_2414_) == 0)
{
lean_object* v_a_2425_; lean_object* v___x_2427_; uint8_t v_isShared_2428_; uint8_t v_isSharedCheck_2432_; 
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2425_ = lean_ctor_get(v___x_2414_, 0);
v_isSharedCheck_2432_ = !lean_is_exclusive(v___x_2414_);
if (v_isSharedCheck_2432_ == 0)
{
v___x_2427_ = v___x_2414_;
v_isShared_2428_ = v_isSharedCheck_2432_;
goto v_resetjp_2426_;
}
else
{
lean_inc(v_a_2425_);
lean_dec(v___x_2414_);
v___x_2427_ = lean_box(0);
v_isShared_2428_ = v_isSharedCheck_2432_;
goto v_resetjp_2426_;
}
v_resetjp_2426_:
{
lean_object* v___x_2430_; 
if (v_isShared_2428_ == 0)
{
lean_ctor_set_tag(v___x_2427_, 0);
v___x_2430_ = v___x_2427_;
goto v_reusejp_2429_;
}
else
{
lean_object* v_reuseFailAlloc_2431_; 
v_reuseFailAlloc_2431_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2431_, 0, v_a_2425_);
v___x_2430_ = v_reuseFailAlloc_2431_;
goto v_reusejp_2429_;
}
v_reusejp_2429_:
{
return v___x_2430_;
}
}
}
else
{
lean_object* v_a_2433_; lean_object* v___x_2434_; lean_object* v___x_2435_; 
v_a_2433_ = lean_ctor_get(v___x_2414_, 0);
lean_inc(v_a_2433_);
lean_dec_ref(v___x_2414_);
v___x_2434_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23));
lean_inc(v_json_2328_);
v___x_2435_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(v_json_2328_, v___x_2434_);
if (lean_obj_tag(v___x_2435_) == 0)
{
lean_object* v_a_2436_; lean_object* v___x_2438_; uint8_t v_isShared_2439_; uint8_t v_isSharedCheck_2445_; 
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2436_ = lean_ctor_get(v___x_2435_, 0);
v_isSharedCheck_2445_ = !lean_is_exclusive(v___x_2435_);
if (v_isSharedCheck_2445_ == 0)
{
v___x_2438_ = v___x_2435_;
v_isShared_2439_ = v_isSharedCheck_2445_;
goto v_resetjp_2437_;
}
else
{
lean_inc(v_a_2436_);
lean_dec(v___x_2435_);
v___x_2438_ = lean_box(0);
v_isShared_2439_ = v_isSharedCheck_2445_;
goto v_resetjp_2437_;
}
v_resetjp_2437_:
{
lean_object* v___x_2440_; lean_object* v___x_2441_; lean_object* v___x_2443_; 
v___x_2440_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__27);
v___x_2441_ = lean_string_append(v___x_2440_, v_a_2436_);
lean_dec(v_a_2436_);
if (v_isShared_2439_ == 0)
{
lean_ctor_set(v___x_2438_, 0, v___x_2441_);
v___x_2443_ = v___x_2438_;
goto v_reusejp_2442_;
}
else
{
lean_object* v_reuseFailAlloc_2444_; 
v_reuseFailAlloc_2444_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2444_, 0, v___x_2441_);
v___x_2443_ = v_reuseFailAlloc_2444_;
goto v_reusejp_2442_;
}
v_reusejp_2442_:
{
return v___x_2443_;
}
}
}
else
{
if (lean_obj_tag(v___x_2435_) == 0)
{
lean_object* v_a_2446_; lean_object* v___x_2448_; uint8_t v_isShared_2449_; uint8_t v_isSharedCheck_2453_; 
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2446_ = lean_ctor_get(v___x_2435_, 0);
v_isSharedCheck_2453_ = !lean_is_exclusive(v___x_2435_);
if (v_isSharedCheck_2453_ == 0)
{
v___x_2448_ = v___x_2435_;
v_isShared_2449_ = v_isSharedCheck_2453_;
goto v_resetjp_2447_;
}
else
{
lean_inc(v_a_2446_);
lean_dec(v___x_2435_);
v___x_2448_ = lean_box(0);
v_isShared_2449_ = v_isSharedCheck_2453_;
goto v_resetjp_2447_;
}
v_resetjp_2447_:
{
lean_object* v___x_2451_; 
if (v_isShared_2449_ == 0)
{
lean_ctor_set_tag(v___x_2448_, 0);
v___x_2451_ = v___x_2448_;
goto v_reusejp_2450_;
}
else
{
lean_object* v_reuseFailAlloc_2452_; 
v_reuseFailAlloc_2452_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2452_, 0, v_a_2446_);
v___x_2451_ = v_reuseFailAlloc_2452_;
goto v_reusejp_2450_;
}
v_reusejp_2450_:
{
return v___x_2451_;
}
}
}
else
{
lean_object* v_a_2454_; lean_object* v___x_2455_; lean_object* v___x_2456_; 
v_a_2454_ = lean_ctor_get(v___x_2435_, 0);
lean_inc(v_a_2454_);
lean_dec_ref(v___x_2435_);
v___x_2455_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28));
lean_inc(v_json_2328_);
v___x_2456_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(v_json_2328_, v___x_2455_);
if (lean_obj_tag(v___x_2456_) == 0)
{
lean_object* v_a_2457_; lean_object* v___x_2459_; uint8_t v_isShared_2460_; uint8_t v_isSharedCheck_2466_; 
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2457_ = lean_ctor_get(v___x_2456_, 0);
v_isSharedCheck_2466_ = !lean_is_exclusive(v___x_2456_);
if (v_isSharedCheck_2466_ == 0)
{
v___x_2459_ = v___x_2456_;
v_isShared_2460_ = v_isSharedCheck_2466_;
goto v_resetjp_2458_;
}
else
{
lean_inc(v_a_2457_);
lean_dec(v___x_2456_);
v___x_2459_ = lean_box(0);
v_isShared_2460_ = v_isSharedCheck_2466_;
goto v_resetjp_2458_;
}
v_resetjp_2458_:
{
lean_object* v___x_2461_; lean_object* v___x_2462_; lean_object* v___x_2464_; 
v___x_2461_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__32);
v___x_2462_ = lean_string_append(v___x_2461_, v_a_2457_);
lean_dec(v_a_2457_);
if (v_isShared_2460_ == 0)
{
lean_ctor_set(v___x_2459_, 0, v___x_2462_);
v___x_2464_ = v___x_2459_;
goto v_reusejp_2463_;
}
else
{
lean_object* v_reuseFailAlloc_2465_; 
v_reuseFailAlloc_2465_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2465_, 0, v___x_2462_);
v___x_2464_ = v_reuseFailAlloc_2465_;
goto v_reusejp_2463_;
}
v_reusejp_2463_:
{
return v___x_2464_;
}
}
}
else
{
if (lean_obj_tag(v___x_2456_) == 0)
{
lean_object* v_a_2467_; lean_object* v___x_2469_; uint8_t v_isShared_2470_; uint8_t v_isSharedCheck_2474_; 
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2467_ = lean_ctor_get(v___x_2456_, 0);
v_isSharedCheck_2474_ = !lean_is_exclusive(v___x_2456_);
if (v_isSharedCheck_2474_ == 0)
{
v___x_2469_ = v___x_2456_;
v_isShared_2470_ = v_isSharedCheck_2474_;
goto v_resetjp_2468_;
}
else
{
lean_inc(v_a_2467_);
lean_dec(v___x_2456_);
v___x_2469_ = lean_box(0);
v_isShared_2470_ = v_isSharedCheck_2474_;
goto v_resetjp_2468_;
}
v_resetjp_2468_:
{
lean_object* v___x_2472_; 
if (v_isShared_2470_ == 0)
{
lean_ctor_set_tag(v___x_2469_, 0);
v___x_2472_ = v___x_2469_;
goto v_reusejp_2471_;
}
else
{
lean_object* v_reuseFailAlloc_2473_; 
v_reuseFailAlloc_2473_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2473_, 0, v_a_2467_);
v___x_2472_ = v_reuseFailAlloc_2473_;
goto v_reusejp_2471_;
}
v_reusejp_2471_:
{
return v___x_2472_;
}
}
}
else
{
lean_object* v_a_2475_; lean_object* v___x_2476_; lean_object* v___x_2477_; 
v_a_2475_ = lean_ctor_get(v___x_2456_, 0);
lean_inc(v_a_2475_);
lean_dec_ref(v___x_2456_);
v___x_2476_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33));
lean_inc(v_json_2328_);
v___x_2477_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonFrameTable_fromJson_spec__0(v_json_2328_, v___x_2476_);
if (lean_obj_tag(v___x_2477_) == 0)
{
lean_object* v_a_2478_; lean_object* v___x_2480_; uint8_t v_isShared_2481_; uint8_t v_isSharedCheck_2487_; 
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2478_ = lean_ctor_get(v___x_2477_, 0);
v_isSharedCheck_2487_ = !lean_is_exclusive(v___x_2477_);
if (v_isSharedCheck_2487_ == 0)
{
v___x_2480_ = v___x_2477_;
v_isShared_2481_ = v_isSharedCheck_2487_;
goto v_resetjp_2479_;
}
else
{
lean_inc(v_a_2478_);
lean_dec(v___x_2477_);
v___x_2480_ = lean_box(0);
v_isShared_2481_ = v_isSharedCheck_2487_;
goto v_resetjp_2479_;
}
v_resetjp_2479_:
{
lean_object* v___x_2482_; lean_object* v___x_2483_; lean_object* v___x_2485_; 
v___x_2482_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__37);
v___x_2483_ = lean_string_append(v___x_2482_, v_a_2478_);
lean_dec(v_a_2478_);
if (v_isShared_2481_ == 0)
{
lean_ctor_set(v___x_2480_, 0, v___x_2483_);
v___x_2485_ = v___x_2480_;
goto v_reusejp_2484_;
}
else
{
lean_object* v_reuseFailAlloc_2486_; 
v_reuseFailAlloc_2486_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2486_, 0, v___x_2483_);
v___x_2485_ = v_reuseFailAlloc_2486_;
goto v_reusejp_2484_;
}
v_reusejp_2484_:
{
return v___x_2485_;
}
}
}
else
{
if (lean_obj_tag(v___x_2477_) == 0)
{
lean_object* v_a_2488_; lean_object* v___x_2490_; uint8_t v_isShared_2491_; uint8_t v_isSharedCheck_2495_; 
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2488_ = lean_ctor_get(v___x_2477_, 0);
v_isSharedCheck_2495_ = !lean_is_exclusive(v___x_2477_);
if (v_isSharedCheck_2495_ == 0)
{
v___x_2490_ = v___x_2477_;
v_isShared_2491_ = v_isSharedCheck_2495_;
goto v_resetjp_2489_;
}
else
{
lean_inc(v_a_2488_);
lean_dec(v___x_2477_);
v___x_2490_ = lean_box(0);
v_isShared_2491_ = v_isSharedCheck_2495_;
goto v_resetjp_2489_;
}
v_resetjp_2489_:
{
lean_object* v___x_2493_; 
if (v_isShared_2491_ == 0)
{
lean_ctor_set_tag(v___x_2490_, 0);
v___x_2493_ = v___x_2490_;
goto v_reusejp_2492_;
}
else
{
lean_object* v_reuseFailAlloc_2494_; 
v_reuseFailAlloc_2494_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2494_, 0, v_a_2488_);
v___x_2493_ = v_reuseFailAlloc_2494_;
goto v_reusejp_2492_;
}
v_reusejp_2492_:
{
return v___x_2493_;
}
}
}
else
{
lean_object* v_a_2496_; lean_object* v___x_2497_; lean_object* v___x_2498_; 
v_a_2496_ = lean_ctor_get(v___x_2477_, 0);
lean_inc(v_a_2496_);
lean_dec_ref(v___x_2477_);
v___x_2497_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38));
lean_inc(v_json_2328_);
v___x_2498_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_2328_, v___x_2497_);
if (lean_obj_tag(v___x_2498_) == 0)
{
lean_object* v_a_2499_; lean_object* v___x_2501_; uint8_t v_isShared_2502_; uint8_t v_isSharedCheck_2508_; 
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2499_ = lean_ctor_get(v___x_2498_, 0);
v_isSharedCheck_2508_ = !lean_is_exclusive(v___x_2498_);
if (v_isSharedCheck_2508_ == 0)
{
v___x_2501_ = v___x_2498_;
v_isShared_2502_ = v_isSharedCheck_2508_;
goto v_resetjp_2500_;
}
else
{
lean_inc(v_a_2499_);
lean_dec(v___x_2498_);
v___x_2501_ = lean_box(0);
v_isShared_2502_ = v_isSharedCheck_2508_;
goto v_resetjp_2500_;
}
v_resetjp_2500_:
{
lean_object* v___x_2503_; lean_object* v___x_2504_; lean_object* v___x_2506_; 
v___x_2503_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__42);
v___x_2504_ = lean_string_append(v___x_2503_, v_a_2499_);
lean_dec(v_a_2499_);
if (v_isShared_2502_ == 0)
{
lean_ctor_set(v___x_2501_, 0, v___x_2504_);
v___x_2506_ = v___x_2501_;
goto v_reusejp_2505_;
}
else
{
lean_object* v_reuseFailAlloc_2507_; 
v_reuseFailAlloc_2507_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2507_, 0, v___x_2504_);
v___x_2506_ = v_reuseFailAlloc_2507_;
goto v_reusejp_2505_;
}
v_reusejp_2505_:
{
return v___x_2506_;
}
}
}
else
{
if (lean_obj_tag(v___x_2498_) == 0)
{
lean_object* v_a_2509_; lean_object* v___x_2511_; uint8_t v_isShared_2512_; uint8_t v_isSharedCheck_2516_; 
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2509_ = lean_ctor_get(v___x_2498_, 0);
v_isSharedCheck_2516_ = !lean_is_exclusive(v___x_2498_);
if (v_isSharedCheck_2516_ == 0)
{
v___x_2511_ = v___x_2498_;
v_isShared_2512_ = v_isSharedCheck_2516_;
goto v_resetjp_2510_;
}
else
{
lean_inc(v_a_2509_);
lean_dec(v___x_2498_);
v___x_2511_ = lean_box(0);
v_isShared_2512_ = v_isSharedCheck_2516_;
goto v_resetjp_2510_;
}
v_resetjp_2510_:
{
lean_object* v___x_2514_; 
if (v_isShared_2512_ == 0)
{
lean_ctor_set_tag(v___x_2511_, 0);
v___x_2514_ = v___x_2511_;
goto v_reusejp_2513_;
}
else
{
lean_object* v_reuseFailAlloc_2515_; 
v_reuseFailAlloc_2515_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2515_, 0, v_a_2509_);
v___x_2514_ = v_reuseFailAlloc_2515_;
goto v_reusejp_2513_;
}
v_reusejp_2513_:
{
return v___x_2514_;
}
}
}
else
{
lean_object* v_a_2517_; lean_object* v___x_2518_; lean_object* v___x_2519_; 
v_a_2517_ = lean_ctor_get(v___x_2498_, 0);
lean_inc(v_a_2517_);
lean_dec_ref(v___x_2498_);
v___x_2518_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43));
lean_inc(v_json_2328_);
v___x_2519_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonStackTable_fromJson_spec__1(v_json_2328_, v___x_2518_);
if (lean_obj_tag(v___x_2519_) == 0)
{
lean_object* v_a_2520_; lean_object* v___x_2522_; uint8_t v_isShared_2523_; uint8_t v_isSharedCheck_2529_; 
lean_dec(v_a_2517_);
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2520_ = lean_ctor_get(v___x_2519_, 0);
v_isSharedCheck_2529_ = !lean_is_exclusive(v___x_2519_);
if (v_isSharedCheck_2529_ == 0)
{
v___x_2522_ = v___x_2519_;
v_isShared_2523_ = v_isSharedCheck_2529_;
goto v_resetjp_2521_;
}
else
{
lean_inc(v_a_2520_);
lean_dec(v___x_2519_);
v___x_2522_ = lean_box(0);
v_isShared_2523_ = v_isSharedCheck_2529_;
goto v_resetjp_2521_;
}
v_resetjp_2521_:
{
lean_object* v___x_2524_; lean_object* v___x_2525_; lean_object* v___x_2527_; 
v___x_2524_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__47);
v___x_2525_ = lean_string_append(v___x_2524_, v_a_2520_);
lean_dec(v_a_2520_);
if (v_isShared_2523_ == 0)
{
lean_ctor_set(v___x_2522_, 0, v___x_2525_);
v___x_2527_ = v___x_2522_;
goto v_reusejp_2526_;
}
else
{
lean_object* v_reuseFailAlloc_2528_; 
v_reuseFailAlloc_2528_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2528_, 0, v___x_2525_);
v___x_2527_ = v_reuseFailAlloc_2528_;
goto v_reusejp_2526_;
}
v_reusejp_2526_:
{
return v___x_2527_;
}
}
}
else
{
if (lean_obj_tag(v___x_2519_) == 0)
{
lean_object* v_a_2530_; lean_object* v___x_2532_; uint8_t v_isShared_2533_; uint8_t v_isSharedCheck_2537_; 
lean_dec(v_a_2517_);
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
lean_dec(v_json_2328_);
v_a_2530_ = lean_ctor_get(v___x_2519_, 0);
v_isSharedCheck_2537_ = !lean_is_exclusive(v___x_2519_);
if (v_isSharedCheck_2537_ == 0)
{
v___x_2532_ = v___x_2519_;
v_isShared_2533_ = v_isSharedCheck_2537_;
goto v_resetjp_2531_;
}
else
{
lean_inc(v_a_2530_);
lean_dec(v___x_2519_);
v___x_2532_ = lean_box(0);
v_isShared_2533_ = v_isSharedCheck_2537_;
goto v_resetjp_2531_;
}
v_resetjp_2531_:
{
lean_object* v___x_2535_; 
if (v_isShared_2533_ == 0)
{
lean_ctor_set_tag(v___x_2532_, 0);
v___x_2535_ = v___x_2532_;
goto v_reusejp_2534_;
}
else
{
lean_object* v_reuseFailAlloc_2536_; 
v_reuseFailAlloc_2536_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2536_, 0, v_a_2530_);
v___x_2535_ = v_reuseFailAlloc_2536_;
goto v_reusejp_2534_;
}
v_reusejp_2534_:
{
return v___x_2535_;
}
}
}
else
{
lean_object* v_a_2538_; lean_object* v___x_2539_; lean_object* v___x_2540_; 
v_a_2538_ = lean_ctor_get(v___x_2519_, 0);
lean_inc(v_a_2538_);
lean_dec_ref(v___x_2519_);
v___x_2539_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2540_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_2328_, v___x_2539_);
if (lean_obj_tag(v___x_2540_) == 0)
{
lean_object* v_a_2541_; lean_object* v___x_2543_; uint8_t v_isShared_2544_; uint8_t v_isSharedCheck_2550_; 
lean_dec(v_a_2538_);
lean_dec(v_a_2517_);
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
v_a_2541_ = lean_ctor_get(v___x_2540_, 0);
v_isSharedCheck_2550_ = !lean_is_exclusive(v___x_2540_);
if (v_isSharedCheck_2550_ == 0)
{
v___x_2543_ = v___x_2540_;
v_isShared_2544_ = v_isSharedCheck_2550_;
goto v_resetjp_2542_;
}
else
{
lean_inc(v_a_2541_);
lean_dec(v___x_2540_);
v___x_2543_ = lean_box(0);
v_isShared_2544_ = v_isSharedCheck_2550_;
goto v_resetjp_2542_;
}
v_resetjp_2542_:
{
lean_object* v___x_2545_; lean_object* v___x_2546_; lean_object* v___x_2548_; 
v___x_2545_ = lean_obj_once(&l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49, &l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49_once, _init_l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__49);
v___x_2546_ = lean_string_append(v___x_2545_, v_a_2541_);
lean_dec(v_a_2541_);
if (v_isShared_2544_ == 0)
{
lean_ctor_set(v___x_2543_, 0, v___x_2546_);
v___x_2548_ = v___x_2543_;
goto v_reusejp_2547_;
}
else
{
lean_object* v_reuseFailAlloc_2549_; 
v_reuseFailAlloc_2549_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2549_, 0, v___x_2546_);
v___x_2548_ = v_reuseFailAlloc_2549_;
goto v_reusejp_2547_;
}
v_reusejp_2547_:
{
return v___x_2548_;
}
}
}
else
{
if (lean_obj_tag(v___x_2540_) == 0)
{
lean_object* v_a_2551_; lean_object* v___x_2553_; uint8_t v_isShared_2554_; uint8_t v_isSharedCheck_2558_; 
lean_dec(v_a_2538_);
lean_dec(v_a_2517_);
lean_dec(v_a_2496_);
lean_dec(v_a_2475_);
lean_dec(v_a_2454_);
lean_dec(v_a_2433_);
lean_dec(v_a_2412_);
lean_dec(v_a_2391_);
lean_dec(v_a_2370_);
lean_dec(v_a_2349_);
v_a_2551_ = lean_ctor_get(v___x_2540_, 0);
v_isSharedCheck_2558_ = !lean_is_exclusive(v___x_2540_);
if (v_isSharedCheck_2558_ == 0)
{
v___x_2553_ = v___x_2540_;
v_isShared_2554_ = v_isSharedCheck_2558_;
goto v_resetjp_2552_;
}
else
{
lean_inc(v_a_2551_);
lean_dec(v___x_2540_);
v___x_2553_ = lean_box(0);
v_isShared_2554_ = v_isSharedCheck_2558_;
goto v_resetjp_2552_;
}
v_resetjp_2552_:
{
lean_object* v___x_2556_; 
if (v_isShared_2554_ == 0)
{
lean_ctor_set_tag(v___x_2553_, 0);
v___x_2556_ = v___x_2553_;
goto v_reusejp_2555_;
}
else
{
lean_object* v_reuseFailAlloc_2557_; 
v_reuseFailAlloc_2557_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2557_, 0, v_a_2551_);
v___x_2556_ = v_reuseFailAlloc_2557_;
goto v_reusejp_2555_;
}
v_reusejp_2555_:
{
return v___x_2556_;
}
}
}
else
{
lean_object* v_a_2559_; lean_object* v___x_2561_; uint8_t v_isShared_2562_; uint8_t v_isSharedCheck_2567_; 
v_a_2559_ = lean_ctor_get(v___x_2540_, 0);
v_isSharedCheck_2567_ = !lean_is_exclusive(v___x_2540_);
if (v_isSharedCheck_2567_ == 0)
{
v___x_2561_ = v___x_2540_;
v_isShared_2562_ = v_isSharedCheck_2567_;
goto v_resetjp_2560_;
}
else
{
lean_inc(v_a_2559_);
lean_dec(v___x_2540_);
v___x_2561_ = lean_box(0);
v_isShared_2562_ = v_isSharedCheck_2567_;
goto v_resetjp_2560_;
}
v_resetjp_2560_:
{
lean_object* v___x_2563_; lean_object* v___x_2565_; 
v___x_2563_ = lean_alloc_ctor(0, 11, 0);
lean_ctor_set(v___x_2563_, 0, v_a_2349_);
lean_ctor_set(v___x_2563_, 1, v_a_2370_);
lean_ctor_set(v___x_2563_, 2, v_a_2391_);
lean_ctor_set(v___x_2563_, 3, v_a_2412_);
lean_ctor_set(v___x_2563_, 4, v_a_2433_);
lean_ctor_set(v___x_2563_, 5, v_a_2454_);
lean_ctor_set(v___x_2563_, 6, v_a_2475_);
lean_ctor_set(v___x_2563_, 7, v_a_2496_);
lean_ctor_set(v___x_2563_, 8, v_a_2517_);
lean_ctor_set(v___x_2563_, 9, v_a_2538_);
lean_ctor_set(v___x_2563_, 10, v_a_2559_);
if (v_isShared_2562_ == 0)
{
lean_ctor_set(v___x_2561_, 0, v___x_2563_);
v___x_2565_ = v___x_2561_;
goto v_reusejp_2564_;
}
else
{
lean_object* v_reuseFailAlloc_2566_; 
v_reuseFailAlloc_2566_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2566_, 0, v___x_2563_);
v___x_2565_ = v_reuseFailAlloc_2566_;
goto v_reusejp_2564_;
}
v_reusejp_2564_:
{
return v___x_2565_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0(lean_object* v_x_2570_){
_start:
{
if (lean_obj_tag(v_x_2570_) == 0)
{
lean_object* v___x_2571_; 
v___x_2571_ = lean_box(0);
return v___x_2571_;
}
else
{
lean_object* v_val_2572_; 
v_val_2572_ = lean_ctor_get(v_x_2570_, 0);
lean_inc(v_val_2572_);
return v_val_2572_;
}
}
}
LEAN_EXPORT lean_object* l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0___boxed(lean_object* v_x_2573_){
_start:
{
lean_object* v_res_2574_; 
v_res_2574_ = l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0(v_x_2573_);
lean_dec(v_x_2573_);
return v_res_2574_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1(size_t v_sz_2575_, size_t v_i_2576_, lean_object* v_bs_2577_){
_start:
{
uint8_t v___x_2578_; 
v___x_2578_ = lean_usize_dec_lt(v_i_2576_, v_sz_2575_);
if (v___x_2578_ == 0)
{
return v_bs_2577_;
}
else
{
lean_object* v_v_2579_; lean_object* v___x_2580_; lean_object* v_bs_x27_2581_; lean_object* v___x_2582_; size_t v___x_2583_; size_t v___x_2584_; lean_object* v___x_2585_; 
v_v_2579_ = lean_array_uget(v_bs_2577_, v_i_2576_);
v___x_2580_ = lean_unsigned_to_nat(0u);
v_bs_x27_2581_ = lean_array_uset(v_bs_2577_, v_i_2576_, v___x_2580_);
v___x_2582_ = l_Option_toJson___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__0(v_v_2579_);
lean_dec(v_v_2579_);
v___x_2583_ = ((size_t)1ULL);
v___x_2584_ = lean_usize_add(v_i_2576_, v___x_2583_);
v___x_2585_ = lean_array_uset(v_bs_x27_2581_, v_i_2576_, v___x_2582_);
v_i_2576_ = v___x_2584_;
v_bs_2577_ = v___x_2585_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1___boxed(lean_object* v_sz_2587_, lean_object* v_i_2588_, lean_object* v_bs_2589_){
_start:
{
size_t v_sz_boxed_2590_; size_t v_i_boxed_2591_; lean_object* v_res_2592_; 
v_sz_boxed_2590_ = lean_unbox_usize(v_sz_2587_);
lean_dec(v_sz_2587_);
v_i_boxed_2591_ = lean_unbox_usize(v_i_2588_);
lean_dec(v_i_2588_);
v_res_2592_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1(v_sz_boxed_2590_, v_i_boxed_2591_, v_bs_2589_);
return v_res_2592_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0(lean_object* v_a_2593_){
_start:
{
size_t v_sz_2594_; size_t v___x_2595_; lean_object* v___x_2596_; lean_object* v___x_2597_; 
v_sz_2594_ = lean_array_size(v_a_2593_);
v___x_2595_ = ((size_t)0ULL);
v___x_2596_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0_spec__1(v_sz_2594_, v___x_2595_, v_a_2593_);
v___x_2597_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_2597_, 0, v___x_2596_);
return v___x_2597_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonFrameTable_toJson(lean_object* v_x_2598_){
_start:
{
lean_object* v_address_2599_; lean_object* v_inlineDepth_2600_; lean_object* v_category_2601_; lean_object* v_subcategory_2602_; lean_object* v_func_2603_; lean_object* v_nativeSymbol_2604_; lean_object* v_innerWindowID_2605_; lean_object* v_implementation_2606_; lean_object* v_line_2607_; lean_object* v_column_2608_; lean_object* v_length_2609_; lean_object* v___x_2610_; lean_object* v___x_2611_; lean_object* v___x_2612_; lean_object* v___x_2613_; lean_object* v___x_2614_; lean_object* v___x_2615_; lean_object* v___x_2616_; lean_object* v___x_2617_; lean_object* v___x_2618_; lean_object* v___x_2619_; lean_object* v___x_2620_; lean_object* v___x_2621_; lean_object* v___x_2622_; lean_object* v___x_2623_; lean_object* v___x_2624_; lean_object* v___x_2625_; lean_object* v___x_2626_; lean_object* v___x_2627_; lean_object* v___x_2628_; lean_object* v___x_2629_; lean_object* v___x_2630_; lean_object* v___x_2631_; lean_object* v___x_2632_; lean_object* v___x_2633_; lean_object* v___x_2634_; lean_object* v___x_2635_; lean_object* v___x_2636_; lean_object* v___x_2637_; lean_object* v___x_2638_; lean_object* v___x_2639_; lean_object* v___x_2640_; lean_object* v___x_2641_; lean_object* v___x_2642_; lean_object* v___x_2643_; lean_object* v___x_2644_; lean_object* v___x_2645_; lean_object* v___x_2646_; lean_object* v___x_2647_; lean_object* v___x_2648_; lean_object* v___x_2649_; lean_object* v___x_2650_; lean_object* v___x_2651_; lean_object* v___x_2652_; lean_object* v___x_2653_; lean_object* v___x_2654_; lean_object* v___x_2655_; lean_object* v___x_2656_; lean_object* v___x_2657_; lean_object* v___x_2658_; lean_object* v___x_2659_; lean_object* v___x_2660_; lean_object* v___x_2661_; lean_object* v___x_2662_; lean_object* v___x_2663_; lean_object* v___x_2664_; lean_object* v___x_2665_; lean_object* v___x_2666_; lean_object* v___x_2667_; lean_object* v___x_2668_; lean_object* v___x_2669_; 
v_address_2599_ = lean_ctor_get(v_x_2598_, 0);
lean_inc_ref(v_address_2599_);
v_inlineDepth_2600_ = lean_ctor_get(v_x_2598_, 1);
lean_inc_ref(v_inlineDepth_2600_);
v_category_2601_ = lean_ctor_get(v_x_2598_, 2);
lean_inc_ref(v_category_2601_);
v_subcategory_2602_ = lean_ctor_get(v_x_2598_, 3);
lean_inc_ref(v_subcategory_2602_);
v_func_2603_ = lean_ctor_get(v_x_2598_, 4);
lean_inc_ref(v_func_2603_);
v_nativeSymbol_2604_ = lean_ctor_get(v_x_2598_, 5);
lean_inc_ref(v_nativeSymbol_2604_);
v_innerWindowID_2605_ = lean_ctor_get(v_x_2598_, 6);
lean_inc_ref(v_innerWindowID_2605_);
v_implementation_2606_ = lean_ctor_get(v_x_2598_, 7);
lean_inc_ref(v_implementation_2606_);
v_line_2607_ = lean_ctor_get(v_x_2598_, 8);
lean_inc_ref(v_line_2607_);
v_column_2608_ = lean_ctor_get(v_x_2598_, 9);
lean_inc_ref(v_column_2608_);
v_length_2609_ = lean_ctor_get(v_x_2598_, 10);
lean_inc(v_length_2609_);
lean_dec_ref(v_x_2598_);
v___x_2610_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__0));
v___x_2611_ = l_Array_toJson___at___00Lean_Firefox_instToJsonFuncTable_toJson_spec__0(v_address_2599_);
v___x_2612_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2612_, 0, v___x_2610_);
lean_ctor_set(v___x_2612_, 1, v___x_2611_);
v___x_2613_ = lean_box(0);
v___x_2614_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2614_, 0, v___x_2612_);
lean_ctor_set(v___x_2614_, 1, v___x_2613_);
v___x_2615_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__9));
v___x_2616_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_inlineDepth_2600_);
v___x_2617_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2617_, 0, v___x_2615_);
lean_ctor_set(v___x_2617_, 1, v___x_2616_);
v___x_2618_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2618_, 0, v___x_2617_);
lean_ctor_set(v___x_2618_, 1, v___x_2613_);
v___x_2619_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__9));
v___x_2620_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_category_2601_);
v___x_2621_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2621_, 0, v___x_2619_);
lean_ctor_set(v___x_2621_, 1, v___x_2620_);
v___x_2622_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2622_, 0, v___x_2621_);
lean_ctor_set(v___x_2622_, 1, v___x_2613_);
v___x_2623_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__14));
v___x_2624_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_subcategory_2602_);
v___x_2625_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2625_, 0, v___x_2623_);
lean_ctor_set(v___x_2625_, 1, v___x_2624_);
v___x_2626_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2626_, 0, v___x_2625_);
lean_ctor_set(v___x_2626_, 1, v___x_2613_);
v___x_2627_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__18));
v___x_2628_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__0(v_func_2603_);
v___x_2629_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2629_, 0, v___x_2627_);
lean_ctor_set(v___x_2629_, 1, v___x_2628_);
v___x_2630_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2630_, 0, v___x_2629_);
lean_ctor_set(v___x_2630_, 1, v___x_2613_);
v___x_2631_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__23));
v___x_2632_ = l_Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0(v_nativeSymbol_2604_);
v___x_2633_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2633_, 0, v___x_2631_);
lean_ctor_set(v___x_2633_, 1, v___x_2632_);
v___x_2634_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2634_, 0, v___x_2633_);
lean_ctor_set(v___x_2634_, 1, v___x_2613_);
v___x_2635_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__28));
v___x_2636_ = l_Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0(v_innerWindowID_2605_);
v___x_2637_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2637_, 0, v___x_2635_);
lean_ctor_set(v___x_2637_, 1, v___x_2636_);
v___x_2638_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2638_, 0, v___x_2637_);
lean_ctor_set(v___x_2638_, 1, v___x_2613_);
v___x_2639_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__33));
v___x_2640_ = l_Array_toJson___at___00Lean_Firefox_instToJsonFrameTable_toJson_spec__0(v_implementation_2606_);
v___x_2641_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2641_, 0, v___x_2639_);
lean_ctor_set(v___x_2641_, 1, v___x_2640_);
v___x_2642_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2642_, 0, v___x_2641_);
lean_ctor_set(v___x_2642_, 1, v___x_2613_);
v___x_2643_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__38));
v___x_2644_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_line_2607_);
v___x_2645_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2645_, 0, v___x_2643_);
lean_ctor_set(v___x_2645_, 1, v___x_2644_);
v___x_2646_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2646_, 0, v___x_2645_);
lean_ctor_set(v___x_2646_, 1, v___x_2613_);
v___x_2647_ = ((lean_object*)(l_Lean_Firefox_instFromJsonFrameTable_fromJson___closed__43));
v___x_2648_ = l_Array_toJson___at___00Lean_Firefox_instToJsonStackTable_toJson_spec__1(v_column_2608_);
v___x_2649_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2649_, 0, v___x_2647_);
lean_ctor_set(v___x_2649_, 1, v___x_2648_);
v___x_2650_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2650_, 0, v___x_2649_);
lean_ctor_set(v___x_2650_, 1, v___x_2613_);
v___x_2651_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2652_ = l_Lean_JsonNumber_fromNat(v_length_2609_);
v___x_2653_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_2653_, 0, v___x_2652_);
v___x_2654_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2654_, 0, v___x_2651_);
lean_ctor_set(v___x_2654_, 1, v___x_2653_);
v___x_2655_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2655_, 0, v___x_2654_);
lean_ctor_set(v___x_2655_, 1, v___x_2613_);
v___x_2656_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2656_, 0, v___x_2655_);
lean_ctor_set(v___x_2656_, 1, v___x_2613_);
v___x_2657_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2657_, 0, v___x_2650_);
lean_ctor_set(v___x_2657_, 1, v___x_2656_);
v___x_2658_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2658_, 0, v___x_2646_);
lean_ctor_set(v___x_2658_, 1, v___x_2657_);
v___x_2659_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2659_, 0, v___x_2642_);
lean_ctor_set(v___x_2659_, 1, v___x_2658_);
v___x_2660_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2660_, 0, v___x_2638_);
lean_ctor_set(v___x_2660_, 1, v___x_2659_);
v___x_2661_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2661_, 0, v___x_2634_);
lean_ctor_set(v___x_2661_, 1, v___x_2660_);
v___x_2662_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2662_, 0, v___x_2630_);
lean_ctor_set(v___x_2662_, 1, v___x_2661_);
v___x_2663_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2663_, 0, v___x_2626_);
lean_ctor_set(v___x_2663_, 1, v___x_2662_);
v___x_2664_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2664_, 0, v___x_2622_);
lean_ctor_set(v___x_2664_, 1, v___x_2663_);
v___x_2665_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2665_, 0, v___x_2618_);
lean_ctor_set(v___x_2665_, 1, v___x_2664_);
v___x_2666_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2666_, 0, v___x_2614_);
lean_ctor_set(v___x_2666_, 1, v___x_2665_);
v___x_2667_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_2668_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_2666_, v___x_2667_);
v___x_2669_ = l_Lean_Json_mkObj(v___x_2668_);
return v___x_2669_;
}
}
static lean_object* _init_l_Lean_Firefox_instInhabitedFrameTable_default___closed__1(void){
_start:
{
lean_object* v___x_2674_; lean_object* v___x_2675_; lean_object* v___x_2676_; 
v___x_2674_ = lean_unsigned_to_nat(0u);
v___x_2675_ = ((lean_object*)(l_Lean_Firefox_instInhabitedFrameTable_default___closed__0));
v___x_2676_ = lean_alloc_ctor(0, 11, 0);
lean_ctor_set(v___x_2676_, 0, v___x_2675_);
lean_ctor_set(v___x_2676_, 1, v___x_2675_);
lean_ctor_set(v___x_2676_, 2, v___x_2675_);
lean_ctor_set(v___x_2676_, 3, v___x_2675_);
lean_ctor_set(v___x_2676_, 4, v___x_2675_);
lean_ctor_set(v___x_2676_, 5, v___x_2675_);
lean_ctor_set(v___x_2676_, 6, v___x_2675_);
lean_ctor_set(v___x_2676_, 7, v___x_2675_);
lean_ctor_set(v___x_2676_, 8, v___x_2675_);
lean_ctor_set(v___x_2676_, 9, v___x_2675_);
lean_ctor_set(v___x_2676_, 10, v___x_2674_);
return v___x_2676_;
}
}
static lean_object* _init_l_Lean_Firefox_instInhabitedFrameTable_default(void){
_start:
{
lean_object* v___x_2677_; 
v___x_2677_ = lean_obj_once(&l_Lean_Firefox_instInhabitedFrameTable_default___closed__1, &l_Lean_Firefox_instInhabitedFrameTable_default___closed__1_once, _init_l_Lean_Firefox_instInhabitedFrameTable_default___closed__1);
return v___x_2677_;
}
}
static lean_object* _init_l_Lean_Firefox_instInhabitedFrameTable(void){
_start:
{
lean_object* v___x_2678_; 
v___x_2678_ = l_Lean_Firefox_instInhabitedFrameTable_default;
return v___x_2678_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_FrameTable_push(lean_object* v_t_2679_, lean_object* v_e_2680_){
_start:
{
lean_object* v_address_2681_; lean_object* v_inlineDepth_2682_; lean_object* v_category_2683_; lean_object* v_subcategory_2684_; lean_object* v_func_2685_; lean_object* v_nativeSymbol_2686_; lean_object* v_innerWindowID_2687_; lean_object* v_implementation_2688_; lean_object* v_line_2689_; lean_object* v_column_2690_; lean_object* v_length_2691_; lean_object* v___x_2693_; uint8_t v_isShared_2694_; uint8_t v_isSharedCheck_2720_; 
v_address_2681_ = lean_ctor_get(v_t_2679_, 0);
v_inlineDepth_2682_ = lean_ctor_get(v_t_2679_, 1);
v_category_2683_ = lean_ctor_get(v_t_2679_, 2);
v_subcategory_2684_ = lean_ctor_get(v_t_2679_, 3);
v_func_2685_ = lean_ctor_get(v_t_2679_, 4);
v_nativeSymbol_2686_ = lean_ctor_get(v_t_2679_, 5);
v_innerWindowID_2687_ = lean_ctor_get(v_t_2679_, 6);
v_implementation_2688_ = lean_ctor_get(v_t_2679_, 7);
v_line_2689_ = lean_ctor_get(v_t_2679_, 8);
v_column_2690_ = lean_ctor_get(v_t_2679_, 9);
v_length_2691_ = lean_ctor_get(v_t_2679_, 10);
v_isSharedCheck_2720_ = !lean_is_exclusive(v_t_2679_);
if (v_isSharedCheck_2720_ == 0)
{
v___x_2693_ = v_t_2679_;
v_isShared_2694_ = v_isSharedCheck_2720_;
goto v_resetjp_2692_;
}
else
{
lean_inc(v_length_2691_);
lean_inc(v_column_2690_);
lean_inc(v_line_2689_);
lean_inc(v_implementation_2688_);
lean_inc(v_innerWindowID_2687_);
lean_inc(v_nativeSymbol_2686_);
lean_inc(v_func_2685_);
lean_inc(v_subcategory_2684_);
lean_inc(v_category_2683_);
lean_inc(v_inlineDepth_2682_);
lean_inc(v_address_2681_);
lean_dec(v_t_2679_);
v___x_2693_ = lean_box(0);
v_isShared_2694_ = v_isSharedCheck_2720_;
goto v_resetjp_2692_;
}
v_resetjp_2692_:
{
lean_object* v_address_2695_; lean_object* v_inlineDepth_2696_; lean_object* v_category_2697_; lean_object* v_subcategory_2698_; lean_object* v_func_2699_; lean_object* v_nativeSymbol_2700_; lean_object* v_innerWindowID_2701_; lean_object* v_implementation_2702_; lean_object* v_line_2703_; lean_object* v_column_2704_; lean_object* v___x_2705_; lean_object* v___x_2706_; lean_object* v___x_2707_; lean_object* v___x_2708_; lean_object* v___x_2709_; lean_object* v___x_2710_; lean_object* v___x_2711_; lean_object* v___x_2712_; lean_object* v___x_2713_; lean_object* v___x_2714_; lean_object* v___x_2715_; lean_object* v___x_2716_; lean_object* v___x_2718_; 
v_address_2695_ = lean_ctor_get(v_e_2680_, 0);
lean_inc(v_address_2695_);
v_inlineDepth_2696_ = lean_ctor_get(v_e_2680_, 1);
lean_inc(v_inlineDepth_2696_);
v_category_2697_ = lean_ctor_get(v_e_2680_, 2);
lean_inc(v_category_2697_);
v_subcategory_2698_ = lean_ctor_get(v_e_2680_, 3);
lean_inc(v_subcategory_2698_);
v_func_2699_ = lean_ctor_get(v_e_2680_, 4);
lean_inc(v_func_2699_);
v_nativeSymbol_2700_ = lean_ctor_get(v_e_2680_, 5);
lean_inc(v_nativeSymbol_2700_);
v_innerWindowID_2701_ = lean_ctor_get(v_e_2680_, 6);
lean_inc(v_innerWindowID_2701_);
v_implementation_2702_ = lean_ctor_get(v_e_2680_, 7);
lean_inc(v_implementation_2702_);
v_line_2703_ = lean_ctor_get(v_e_2680_, 8);
lean_inc(v_line_2703_);
v_column_2704_ = lean_ctor_get(v_e_2680_, 9);
lean_inc(v_column_2704_);
lean_dec_ref(v_e_2680_);
v___x_2705_ = lean_array_push(v_address_2681_, v_address_2695_);
v___x_2706_ = lean_array_push(v_inlineDepth_2682_, v_inlineDepth_2696_);
v___x_2707_ = lean_array_push(v_category_2683_, v_category_2697_);
v___x_2708_ = lean_array_push(v_subcategory_2684_, v_subcategory_2698_);
v___x_2709_ = lean_array_push(v_func_2685_, v_func_2699_);
v___x_2710_ = lean_array_push(v_nativeSymbol_2686_, v_nativeSymbol_2700_);
v___x_2711_ = lean_array_push(v_innerWindowID_2687_, v_innerWindowID_2701_);
v___x_2712_ = lean_array_push(v_implementation_2688_, v_implementation_2702_);
v___x_2713_ = lean_array_push(v_line_2689_, v_line_2703_);
v___x_2714_ = lean_array_push(v_column_2690_, v_column_2704_);
v___x_2715_ = lean_unsigned_to_nat(1u);
v___x_2716_ = lean_nat_add(v_length_2691_, v___x_2715_);
lean_dec(v_length_2691_);
if (v_isShared_2694_ == 0)
{
lean_ctor_set(v___x_2693_, 10, v___x_2716_);
lean_ctor_set(v___x_2693_, 9, v___x_2714_);
lean_ctor_set(v___x_2693_, 8, v___x_2713_);
lean_ctor_set(v___x_2693_, 7, v___x_2712_);
lean_ctor_set(v___x_2693_, 6, v___x_2711_);
lean_ctor_set(v___x_2693_, 5, v___x_2710_);
lean_ctor_set(v___x_2693_, 4, v___x_2709_);
lean_ctor_set(v___x_2693_, 3, v___x_2708_);
lean_ctor_set(v___x_2693_, 2, v___x_2707_);
lean_ctor_set(v___x_2693_, 1, v___x_2706_);
lean_ctor_set(v___x_2693_, 0, v___x_2705_);
v___x_2718_ = v___x_2693_;
goto v_reusejp_2717_;
}
else
{
lean_object* v_reuseFailAlloc_2719_; 
v_reuseFailAlloc_2719_ = lean_alloc_ctor(0, 11, 0);
lean_ctor_set(v_reuseFailAlloc_2719_, 0, v___x_2705_);
lean_ctor_set(v_reuseFailAlloc_2719_, 1, v___x_2706_);
lean_ctor_set(v_reuseFailAlloc_2719_, 2, v___x_2707_);
lean_ctor_set(v_reuseFailAlloc_2719_, 3, v___x_2708_);
lean_ctor_set(v_reuseFailAlloc_2719_, 4, v___x_2709_);
lean_ctor_set(v_reuseFailAlloc_2719_, 5, v___x_2710_);
lean_ctor_set(v_reuseFailAlloc_2719_, 6, v___x_2711_);
lean_ctor_set(v_reuseFailAlloc_2719_, 7, v___x_2712_);
lean_ctor_set(v_reuseFailAlloc_2719_, 8, v___x_2713_);
lean_ctor_set(v_reuseFailAlloc_2719_, 9, v___x_2714_);
lean_ctor_set(v_reuseFailAlloc_2719_, 10, v___x_2716_);
v___x_2718_ = v_reuseFailAlloc_2719_;
goto v_reusejp_2717_;
}
v_reusejp_2717_:
{
return v___x_2718_;
}
}
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3(void){
_start:
{
uint8_t v___x_2727_; lean_object* v___x_2728_; lean_object* v___x_2729_; 
v___x_2727_ = 1;
v___x_2728_ = ((lean_object*)(l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__2));
v___x_2729_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2728_, v___x_2727_);
return v___x_2729_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_2730_; lean_object* v___x_2731_; lean_object* v___x_2732_; 
v___x_2730_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_2731_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__3);
v___x_2732_ = lean_string_append(v___x_2731_, v___x_2730_);
return v___x_2732_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6(void){
_start:
{
uint8_t v___x_2735_; lean_object* v___x_2736_; lean_object* v___x_2737_; 
v___x_2735_ = 1;
v___x_2736_ = ((lean_object*)(l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__5));
v___x_2737_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2736_, v___x_2735_);
return v___x_2737_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7(void){
_start:
{
lean_object* v___x_2738_; lean_object* v___x_2739_; lean_object* v___x_2740_; 
v___x_2738_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__6);
v___x_2739_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4);
v___x_2740_ = lean_string_append(v___x_2739_, v___x_2738_);
return v___x_2740_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8(void){
_start:
{
lean_object* v___x_2741_; lean_object* v___x_2742_; lean_object* v___x_2743_; 
v___x_2741_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2742_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__7);
v___x_2743_ = lean_string_append(v___x_2742_, v___x_2741_);
return v___x_2743_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9(void){
_start:
{
lean_object* v___x_2744_; lean_object* v___x_2745_; lean_object* v___x_2746_; 
v___x_2744_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9);
v___x_2745_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4);
v___x_2746_ = lean_string_append(v___x_2745_, v___x_2744_);
return v___x_2746_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10(void){
_start:
{
lean_object* v___x_2747_; lean_object* v___x_2748_; lean_object* v___x_2749_; 
v___x_2747_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2748_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__9);
v___x_2749_ = lean_string_append(v___x_2748_, v___x_2747_);
return v___x_2749_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11(void){
_start:
{
lean_object* v___x_2750_; lean_object* v___x_2751_; lean_object* v___x_2752_; 
v___x_2750_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_2751_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__4);
v___x_2752_ = lean_string_append(v___x_2751_, v___x_2750_);
return v___x_2752_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12(void){
_start:
{
lean_object* v___x_2753_; lean_object* v___x_2754_; lean_object* v___x_2755_; 
v___x_2753_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2754_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__11);
v___x_2755_ = lean_string_append(v___x_2754_, v___x_2753_);
return v___x_2755_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson(lean_object* v_json_2756_){
_start:
{
lean_object* v___x_2757_; lean_object* v___x_2758_; 
v___x_2757_ = ((lean_object*)(l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0));
lean_inc(v_json_2756_);
v___x_2758_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_2756_, v___x_2757_);
if (lean_obj_tag(v___x_2758_) == 0)
{
lean_object* v_a_2759_; lean_object* v___x_2761_; uint8_t v_isShared_2762_; uint8_t v_isSharedCheck_2768_; 
lean_dec(v_json_2756_);
v_a_2759_ = lean_ctor_get(v___x_2758_, 0);
v_isSharedCheck_2768_ = !lean_is_exclusive(v___x_2758_);
if (v_isSharedCheck_2768_ == 0)
{
v___x_2761_ = v___x_2758_;
v_isShared_2762_ = v_isSharedCheck_2768_;
goto v_resetjp_2760_;
}
else
{
lean_inc(v_a_2759_);
lean_dec(v___x_2758_);
v___x_2761_ = lean_box(0);
v_isShared_2762_ = v_isSharedCheck_2768_;
goto v_resetjp_2760_;
}
v_resetjp_2760_:
{
lean_object* v___x_2763_; lean_object* v___x_2764_; lean_object* v___x_2766_; 
v___x_2763_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__8);
v___x_2764_ = lean_string_append(v___x_2763_, v_a_2759_);
lean_dec(v_a_2759_);
if (v_isShared_2762_ == 0)
{
lean_ctor_set(v___x_2761_, 0, v___x_2764_);
v___x_2766_ = v___x_2761_;
goto v_reusejp_2765_;
}
else
{
lean_object* v_reuseFailAlloc_2767_; 
v_reuseFailAlloc_2767_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2767_, 0, v___x_2764_);
v___x_2766_ = v_reuseFailAlloc_2767_;
goto v_reusejp_2765_;
}
v_reusejp_2765_:
{
return v___x_2766_;
}
}
}
else
{
if (lean_obj_tag(v___x_2758_) == 0)
{
lean_object* v_a_2769_; lean_object* v___x_2771_; uint8_t v_isShared_2772_; uint8_t v_isSharedCheck_2776_; 
lean_dec(v_json_2756_);
v_a_2769_ = lean_ctor_get(v___x_2758_, 0);
v_isSharedCheck_2776_ = !lean_is_exclusive(v___x_2758_);
if (v_isSharedCheck_2776_ == 0)
{
v___x_2771_ = v___x_2758_;
v_isShared_2772_ = v_isSharedCheck_2776_;
goto v_resetjp_2770_;
}
else
{
lean_inc(v_a_2769_);
lean_dec(v___x_2758_);
v___x_2771_ = lean_box(0);
v_isShared_2772_ = v_isSharedCheck_2776_;
goto v_resetjp_2770_;
}
v_resetjp_2770_:
{
lean_object* v___x_2774_; 
if (v_isShared_2772_ == 0)
{
lean_ctor_set_tag(v___x_2771_, 0);
v___x_2774_ = v___x_2771_;
goto v_reusejp_2773_;
}
else
{
lean_object* v_reuseFailAlloc_2775_; 
v_reuseFailAlloc_2775_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2775_, 0, v_a_2769_);
v___x_2774_ = v_reuseFailAlloc_2775_;
goto v_reusejp_2773_;
}
v_reusejp_2773_:
{
return v___x_2774_;
}
}
}
else
{
lean_object* v_a_2777_; lean_object* v___x_2778_; lean_object* v___x_2779_; 
v_a_2777_ = lean_ctor_get(v___x_2758_, 0);
lean_inc(v_a_2777_);
lean_dec_ref(v___x_2758_);
v___x_2778_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
lean_inc(v_json_2756_);
v___x_2779_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_2756_, v___x_2778_);
if (lean_obj_tag(v___x_2779_) == 0)
{
lean_object* v_a_2780_; lean_object* v___x_2782_; uint8_t v_isShared_2783_; uint8_t v_isSharedCheck_2789_; 
lean_dec(v_a_2777_);
lean_dec(v_json_2756_);
v_a_2780_ = lean_ctor_get(v___x_2779_, 0);
v_isSharedCheck_2789_ = !lean_is_exclusive(v___x_2779_);
if (v_isSharedCheck_2789_ == 0)
{
v___x_2782_ = v___x_2779_;
v_isShared_2783_ = v_isSharedCheck_2789_;
goto v_resetjp_2781_;
}
else
{
lean_inc(v_a_2780_);
lean_dec(v___x_2779_);
v___x_2782_ = lean_box(0);
v_isShared_2783_ = v_isSharedCheck_2789_;
goto v_resetjp_2781_;
}
v_resetjp_2781_:
{
lean_object* v___x_2784_; lean_object* v___x_2785_; lean_object* v___x_2787_; 
v___x_2784_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__10);
v___x_2785_ = lean_string_append(v___x_2784_, v_a_2780_);
lean_dec(v_a_2780_);
if (v_isShared_2783_ == 0)
{
lean_ctor_set(v___x_2782_, 0, v___x_2785_);
v___x_2787_ = v___x_2782_;
goto v_reusejp_2786_;
}
else
{
lean_object* v_reuseFailAlloc_2788_; 
v_reuseFailAlloc_2788_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2788_, 0, v___x_2785_);
v___x_2787_ = v_reuseFailAlloc_2788_;
goto v_reusejp_2786_;
}
v_reusejp_2786_:
{
return v___x_2787_;
}
}
}
else
{
if (lean_obj_tag(v___x_2779_) == 0)
{
lean_object* v_a_2790_; lean_object* v___x_2792_; uint8_t v_isShared_2793_; uint8_t v_isSharedCheck_2797_; 
lean_dec(v_a_2777_);
lean_dec(v_json_2756_);
v_a_2790_ = lean_ctor_get(v___x_2779_, 0);
v_isSharedCheck_2797_ = !lean_is_exclusive(v___x_2779_);
if (v_isSharedCheck_2797_ == 0)
{
v___x_2792_ = v___x_2779_;
v_isShared_2793_ = v_isSharedCheck_2797_;
goto v_resetjp_2791_;
}
else
{
lean_inc(v_a_2790_);
lean_dec(v___x_2779_);
v___x_2792_ = lean_box(0);
v_isShared_2793_ = v_isSharedCheck_2797_;
goto v_resetjp_2791_;
}
v_resetjp_2791_:
{
lean_object* v___x_2795_; 
if (v_isShared_2793_ == 0)
{
lean_ctor_set_tag(v___x_2792_, 0);
v___x_2795_ = v___x_2792_;
goto v_reusejp_2794_;
}
else
{
lean_object* v_reuseFailAlloc_2796_; 
v_reuseFailAlloc_2796_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2796_, 0, v_a_2790_);
v___x_2795_ = v_reuseFailAlloc_2796_;
goto v_reusejp_2794_;
}
v_reusejp_2794_:
{
return v___x_2795_;
}
}
}
else
{
lean_object* v_a_2798_; lean_object* v___x_2799_; lean_object* v___x_2800_; 
v_a_2798_ = lean_ctor_get(v___x_2779_, 0);
lean_inc(v_a_2798_);
lean_dec_ref(v___x_2779_);
v___x_2799_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2800_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_2756_, v___x_2799_);
if (lean_obj_tag(v___x_2800_) == 0)
{
lean_object* v_a_2801_; lean_object* v___x_2803_; uint8_t v_isShared_2804_; uint8_t v_isSharedCheck_2810_; 
lean_dec(v_a_2798_);
lean_dec(v_a_2777_);
v_a_2801_ = lean_ctor_get(v___x_2800_, 0);
v_isSharedCheck_2810_ = !lean_is_exclusive(v___x_2800_);
if (v_isSharedCheck_2810_ == 0)
{
v___x_2803_ = v___x_2800_;
v_isShared_2804_ = v_isSharedCheck_2810_;
goto v_resetjp_2802_;
}
else
{
lean_inc(v_a_2801_);
lean_dec(v___x_2800_);
v___x_2803_ = lean_box(0);
v_isShared_2804_ = v_isSharedCheck_2810_;
goto v_resetjp_2802_;
}
v_resetjp_2802_:
{
lean_object* v___x_2805_; lean_object* v___x_2806_; lean_object* v___x_2808_; 
v___x_2805_ = lean_obj_once(&l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12, &l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__12);
v___x_2806_ = lean_string_append(v___x_2805_, v_a_2801_);
lean_dec(v_a_2801_);
if (v_isShared_2804_ == 0)
{
lean_ctor_set(v___x_2803_, 0, v___x_2806_);
v___x_2808_ = v___x_2803_;
goto v_reusejp_2807_;
}
else
{
lean_object* v_reuseFailAlloc_2809_; 
v_reuseFailAlloc_2809_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2809_, 0, v___x_2806_);
v___x_2808_ = v_reuseFailAlloc_2809_;
goto v_reusejp_2807_;
}
v_reusejp_2807_:
{
return v___x_2808_;
}
}
}
else
{
if (lean_obj_tag(v___x_2800_) == 0)
{
lean_object* v_a_2811_; lean_object* v___x_2813_; uint8_t v_isShared_2814_; uint8_t v_isSharedCheck_2818_; 
lean_dec(v_a_2798_);
lean_dec(v_a_2777_);
v_a_2811_ = lean_ctor_get(v___x_2800_, 0);
v_isSharedCheck_2818_ = !lean_is_exclusive(v___x_2800_);
if (v_isSharedCheck_2818_ == 0)
{
v___x_2813_ = v___x_2800_;
v_isShared_2814_ = v_isSharedCheck_2818_;
goto v_resetjp_2812_;
}
else
{
lean_inc(v_a_2811_);
lean_dec(v___x_2800_);
v___x_2813_ = lean_box(0);
v_isShared_2814_ = v_isSharedCheck_2818_;
goto v_resetjp_2812_;
}
v_resetjp_2812_:
{
lean_object* v___x_2816_; 
if (v_isShared_2814_ == 0)
{
lean_ctor_set_tag(v___x_2813_, 0);
v___x_2816_ = v___x_2813_;
goto v_reusejp_2815_;
}
else
{
lean_object* v_reuseFailAlloc_2817_; 
v_reuseFailAlloc_2817_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2817_, 0, v_a_2811_);
v___x_2816_ = v_reuseFailAlloc_2817_;
goto v_reusejp_2815_;
}
v_reusejp_2815_:
{
return v___x_2816_;
}
}
}
else
{
lean_object* v_a_2819_; lean_object* v___x_2821_; uint8_t v_isShared_2822_; uint8_t v_isSharedCheck_2827_; 
v_a_2819_ = lean_ctor_get(v___x_2800_, 0);
v_isSharedCheck_2827_ = !lean_is_exclusive(v___x_2800_);
if (v_isSharedCheck_2827_ == 0)
{
v___x_2821_ = v___x_2800_;
v_isShared_2822_ = v_isSharedCheck_2827_;
goto v_resetjp_2820_;
}
else
{
lean_inc(v_a_2819_);
lean_dec(v___x_2800_);
v___x_2821_ = lean_box(0);
v_isShared_2822_ = v_isSharedCheck_2827_;
goto v_resetjp_2820_;
}
v_resetjp_2820_:
{
lean_object* v___x_2823_; lean_object* v___x_2825_; 
v___x_2823_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_2823_, 0, v_a_2777_);
lean_ctor_set(v___x_2823_, 1, v_a_2798_);
lean_ctor_set(v___x_2823_, 2, v_a_2819_);
if (v_isShared_2822_ == 0)
{
lean_ctor_set(v___x_2821_, 0, v___x_2823_);
v___x_2825_ = v___x_2821_;
goto v_reusejp_2824_;
}
else
{
lean_object* v_reuseFailAlloc_2826_; 
v_reuseFailAlloc_2826_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2826_, 0, v___x_2823_);
v___x_2825_ = v_reuseFailAlloc_2826_;
goto v_reusejp_2824_;
}
v_reusejp_2824_:
{
return v___x_2825_;
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonRawMarkerTable_toJson(lean_object* v_x_2830_){
_start:
{
lean_object* v_data_2831_; lean_object* v_name_2832_; lean_object* v_length_2833_; lean_object* v___x_2834_; lean_object* v___x_2835_; lean_object* v___x_2836_; lean_object* v___x_2837_; lean_object* v___x_2838_; lean_object* v___x_2839_; lean_object* v___x_2840_; lean_object* v___x_2841_; lean_object* v___x_2842_; lean_object* v___x_2843_; lean_object* v___x_2844_; lean_object* v___x_2845_; lean_object* v___x_2846_; lean_object* v___x_2847_; lean_object* v___x_2848_; lean_object* v___x_2849_; lean_object* v___x_2850_; lean_object* v___x_2851_; lean_object* v___x_2852_; lean_object* v___x_2853_; 
v_data_2831_ = lean_ctor_get(v_x_2830_, 0);
lean_inc_ref(v_data_2831_);
v_name_2832_ = lean_ctor_get(v_x_2830_, 1);
lean_inc_ref(v_name_2832_);
v_length_2833_ = lean_ctor_get(v_x_2830_, 2);
lean_inc(v_length_2833_);
lean_dec_ref(v_x_2830_);
v___x_2834_ = ((lean_object*)(l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson___closed__0));
v___x_2835_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_data_2831_);
v___x_2836_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2836_, 0, v___x_2834_);
lean_ctor_set(v___x_2836_, 1, v___x_2835_);
v___x_2837_ = lean_box(0);
v___x_2838_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2838_, 0, v___x_2836_);
lean_ctor_set(v___x_2838_, 1, v___x_2837_);
v___x_2839_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
v___x_2840_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_name_2832_);
v___x_2841_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2841_, 0, v___x_2839_);
lean_ctor_set(v___x_2841_, 1, v___x_2840_);
v___x_2842_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2842_, 0, v___x_2841_);
lean_ctor_set(v___x_2842_, 1, v___x_2837_);
v___x_2843_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2844_ = l_Lean_JsonNumber_fromNat(v_length_2833_);
v___x_2845_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_2845_, 0, v___x_2844_);
v___x_2846_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2846_, 0, v___x_2843_);
lean_ctor_set(v___x_2846_, 1, v___x_2845_);
v___x_2847_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2847_, 0, v___x_2846_);
lean_ctor_set(v___x_2847_, 1, v___x_2837_);
v___x_2848_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2848_, 0, v___x_2847_);
lean_ctor_set(v___x_2848_, 1, v___x_2837_);
v___x_2849_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2849_, 0, v___x_2842_);
lean_ctor_set(v___x_2849_, 1, v___x_2848_);
v___x_2850_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2850_, 0, v___x_2838_);
lean_ctor_set(v___x_2850_, 1, v___x_2849_);
v___x_2851_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_2852_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_2850_, v___x_2851_);
v___x_2853_ = l_Lean_Json_mkObj(v___x_2852_);
return v___x_2853_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3(void){
_start:
{
uint8_t v___x_2862_; lean_object* v___x_2863_; lean_object* v___x_2864_; 
v___x_2862_ = 1;
v___x_2863_ = ((lean_object*)(l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__2));
v___x_2864_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2863_, v___x_2862_);
return v___x_2864_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4(void){
_start:
{
lean_object* v___x_2865_; lean_object* v___x_2866_; lean_object* v___x_2867_; 
v___x_2865_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_2866_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__3);
v___x_2867_ = lean_string_append(v___x_2866_, v___x_2865_);
return v___x_2867_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6(void){
_start:
{
uint8_t v___x_2870_; lean_object* v___x_2871_; lean_object* v___x_2872_; 
v___x_2870_ = 1;
v___x_2871_ = ((lean_object*)(l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__5));
v___x_2872_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_2871_, v___x_2870_);
return v___x_2872_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7(void){
_start:
{
lean_object* v___x_2873_; lean_object* v___x_2874_; lean_object* v___x_2875_; 
v___x_2873_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__6);
v___x_2874_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4);
v___x_2875_ = lean_string_append(v___x_2874_, v___x_2873_);
return v___x_2875_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8(void){
_start:
{
lean_object* v___x_2876_; lean_object* v___x_2877_; lean_object* v___x_2878_; 
v___x_2876_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2877_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__7);
v___x_2878_ = lean_string_append(v___x_2877_, v___x_2876_);
return v___x_2878_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9(void){
_start:
{
lean_object* v___x_2879_; lean_object* v___x_2880_; lean_object* v___x_2881_; 
v___x_2879_ = lean_obj_once(&l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26, &l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__26);
v___x_2880_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__4);
v___x_2881_ = lean_string_append(v___x_2880_, v___x_2879_);
return v___x_2881_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10(void){
_start:
{
lean_object* v___x_2882_; lean_object* v___x_2883_; lean_object* v___x_2884_; 
v___x_2882_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_2883_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__9);
v___x_2884_ = lean_string_append(v___x_2883_, v___x_2882_);
return v___x_2884_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonResourceTable_fromJson(lean_object* v_json_2885_){
_start:
{
lean_object* v___x_2886_; lean_object* v___x_2887_; 
v___x_2886_ = ((lean_object*)(l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0));
lean_inc(v_json_2885_);
v___x_2887_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_2885_, v___x_2886_);
if (lean_obj_tag(v___x_2887_) == 0)
{
lean_object* v_a_2888_; lean_object* v___x_2890_; uint8_t v_isShared_2891_; uint8_t v_isSharedCheck_2897_; 
lean_dec(v_json_2885_);
v_a_2888_ = lean_ctor_get(v___x_2887_, 0);
v_isSharedCheck_2897_ = !lean_is_exclusive(v___x_2887_);
if (v_isSharedCheck_2897_ == 0)
{
v___x_2890_ = v___x_2887_;
v_isShared_2891_ = v_isSharedCheck_2897_;
goto v_resetjp_2889_;
}
else
{
lean_inc(v_a_2888_);
lean_dec(v___x_2887_);
v___x_2890_ = lean_box(0);
v_isShared_2891_ = v_isSharedCheck_2897_;
goto v_resetjp_2889_;
}
v_resetjp_2889_:
{
lean_object* v___x_2892_; lean_object* v___x_2893_; lean_object* v___x_2895_; 
v___x_2892_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__8);
v___x_2893_ = lean_string_append(v___x_2892_, v_a_2888_);
lean_dec(v_a_2888_);
if (v_isShared_2891_ == 0)
{
lean_ctor_set(v___x_2890_, 0, v___x_2893_);
v___x_2895_ = v___x_2890_;
goto v_reusejp_2894_;
}
else
{
lean_object* v_reuseFailAlloc_2896_; 
v_reuseFailAlloc_2896_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2896_, 0, v___x_2893_);
v___x_2895_ = v_reuseFailAlloc_2896_;
goto v_reusejp_2894_;
}
v_reusejp_2894_:
{
return v___x_2895_;
}
}
}
else
{
if (lean_obj_tag(v___x_2887_) == 0)
{
lean_object* v_a_2898_; lean_object* v___x_2900_; uint8_t v_isShared_2901_; uint8_t v_isSharedCheck_2905_; 
lean_dec(v_json_2885_);
v_a_2898_ = lean_ctor_get(v___x_2887_, 0);
v_isSharedCheck_2905_ = !lean_is_exclusive(v___x_2887_);
if (v_isSharedCheck_2905_ == 0)
{
v___x_2900_ = v___x_2887_;
v_isShared_2901_ = v_isSharedCheck_2905_;
goto v_resetjp_2899_;
}
else
{
lean_inc(v_a_2898_);
lean_dec(v___x_2887_);
v___x_2900_ = lean_box(0);
v_isShared_2901_ = v_isSharedCheck_2905_;
goto v_resetjp_2899_;
}
v_resetjp_2899_:
{
lean_object* v___x_2903_; 
if (v_isShared_2901_ == 0)
{
lean_ctor_set_tag(v___x_2900_, 0);
v___x_2903_ = v___x_2900_;
goto v_reusejp_2902_;
}
else
{
lean_object* v_reuseFailAlloc_2904_; 
v_reuseFailAlloc_2904_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2904_, 0, v_a_2898_);
v___x_2903_ = v_reuseFailAlloc_2904_;
goto v_reusejp_2902_;
}
v_reusejp_2902_:
{
return v___x_2903_;
}
}
}
else
{
lean_object* v_a_2906_; lean_object* v___x_2907_; lean_object* v___x_2908_; 
v_a_2906_ = lean_ctor_get(v___x_2887_, 0);
lean_inc(v_a_2906_);
lean_dec_ref(v___x_2887_);
v___x_2907_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2908_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__2(v_json_2885_, v___x_2907_);
if (lean_obj_tag(v___x_2908_) == 0)
{
lean_object* v_a_2909_; lean_object* v___x_2911_; uint8_t v_isShared_2912_; uint8_t v_isSharedCheck_2918_; 
lean_dec(v_a_2906_);
v_a_2909_ = lean_ctor_get(v___x_2908_, 0);
v_isSharedCheck_2918_ = !lean_is_exclusive(v___x_2908_);
if (v_isSharedCheck_2918_ == 0)
{
v___x_2911_ = v___x_2908_;
v_isShared_2912_ = v_isSharedCheck_2918_;
goto v_resetjp_2910_;
}
else
{
lean_inc(v_a_2909_);
lean_dec(v___x_2908_);
v___x_2911_ = lean_box(0);
v_isShared_2912_ = v_isSharedCheck_2918_;
goto v_resetjp_2910_;
}
v_resetjp_2910_:
{
lean_object* v___x_2913_; lean_object* v___x_2914_; lean_object* v___x_2916_; 
v___x_2913_ = lean_obj_once(&l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10, &l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__10);
v___x_2914_ = lean_string_append(v___x_2913_, v_a_2909_);
lean_dec(v_a_2909_);
if (v_isShared_2912_ == 0)
{
lean_ctor_set(v___x_2911_, 0, v___x_2914_);
v___x_2916_ = v___x_2911_;
goto v_reusejp_2915_;
}
else
{
lean_object* v_reuseFailAlloc_2917_; 
v_reuseFailAlloc_2917_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2917_, 0, v___x_2914_);
v___x_2916_ = v_reuseFailAlloc_2917_;
goto v_reusejp_2915_;
}
v_reusejp_2915_:
{
return v___x_2916_;
}
}
}
else
{
if (lean_obj_tag(v___x_2908_) == 0)
{
lean_object* v_a_2919_; lean_object* v___x_2921_; uint8_t v_isShared_2922_; uint8_t v_isSharedCheck_2926_; 
lean_dec(v_a_2906_);
v_a_2919_ = lean_ctor_get(v___x_2908_, 0);
v_isSharedCheck_2926_ = !lean_is_exclusive(v___x_2908_);
if (v_isSharedCheck_2926_ == 0)
{
v___x_2921_ = v___x_2908_;
v_isShared_2922_ = v_isSharedCheck_2926_;
goto v_resetjp_2920_;
}
else
{
lean_inc(v_a_2919_);
lean_dec(v___x_2908_);
v___x_2921_ = lean_box(0);
v_isShared_2922_ = v_isSharedCheck_2926_;
goto v_resetjp_2920_;
}
v_resetjp_2920_:
{
lean_object* v___x_2924_; 
if (v_isShared_2922_ == 0)
{
lean_ctor_set_tag(v___x_2921_, 0);
v___x_2924_ = v___x_2921_;
goto v_reusejp_2923_;
}
else
{
lean_object* v_reuseFailAlloc_2925_; 
v_reuseFailAlloc_2925_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2925_, 0, v_a_2919_);
v___x_2924_ = v_reuseFailAlloc_2925_;
goto v_reusejp_2923_;
}
v_reusejp_2923_:
{
return v___x_2924_;
}
}
}
else
{
lean_object* v_a_2927_; lean_object* v___x_2929_; uint8_t v_isShared_2930_; uint8_t v_isSharedCheck_2935_; 
v_a_2927_ = lean_ctor_get(v___x_2908_, 0);
v_isSharedCheck_2935_ = !lean_is_exclusive(v___x_2908_);
if (v_isSharedCheck_2935_ == 0)
{
v___x_2929_ = v___x_2908_;
v_isShared_2930_ = v_isSharedCheck_2935_;
goto v_resetjp_2928_;
}
else
{
lean_inc(v_a_2927_);
lean_dec(v___x_2908_);
v___x_2929_ = lean_box(0);
v_isShared_2930_ = v_isSharedCheck_2935_;
goto v_resetjp_2928_;
}
v_resetjp_2928_:
{
lean_object* v___x_2931_; lean_object* v___x_2933_; 
v___x_2931_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2931_, 0, v_a_2906_);
lean_ctor_set(v___x_2931_, 1, v_a_2927_);
if (v_isShared_2930_ == 0)
{
lean_ctor_set(v___x_2929_, 0, v___x_2931_);
v___x_2933_ = v___x_2929_;
goto v_reusejp_2932_;
}
else
{
lean_object* v_reuseFailAlloc_2934_; 
v_reuseFailAlloc_2934_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_2934_, 0, v___x_2931_);
v___x_2933_ = v_reuseFailAlloc_2934_;
goto v_reusejp_2932_;
}
v_reusejp_2932_:
{
return v___x_2933_;
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonResourceTable_toJson(lean_object* v_x_2938_){
_start:
{
lean_object* v_type_2939_; lean_object* v_length_2940_; lean_object* v___x_2942_; uint8_t v_isShared_2943_; uint8_t v_isSharedCheck_2961_; 
v_type_2939_ = lean_ctor_get(v_x_2938_, 0);
v_length_2940_ = lean_ctor_get(v_x_2938_, 1);
v_isSharedCheck_2961_ = !lean_is_exclusive(v_x_2938_);
if (v_isSharedCheck_2961_ == 0)
{
v___x_2942_ = v_x_2938_;
v_isShared_2943_ = v_isSharedCheck_2961_;
goto v_resetjp_2941_;
}
else
{
lean_inc(v_length_2940_);
lean_inc(v_type_2939_);
lean_dec(v_x_2938_);
v___x_2942_ = lean_box(0);
v_isShared_2943_ = v_isSharedCheck_2961_;
goto v_resetjp_2941_;
}
v_resetjp_2941_:
{
lean_object* v___x_2944_; lean_object* v___x_2945_; lean_object* v___x_2947_; 
v___x_2944_ = ((lean_object*)(l_Lean_Firefox_instFromJsonResourceTable_fromJson___closed__0));
v___x_2945_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_type_2939_);
if (v_isShared_2943_ == 0)
{
lean_ctor_set(v___x_2942_, 1, v___x_2945_);
lean_ctor_set(v___x_2942_, 0, v___x_2944_);
v___x_2947_ = v___x_2942_;
goto v_reusejp_2946_;
}
else
{
lean_object* v_reuseFailAlloc_2960_; 
v_reuseFailAlloc_2960_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_2960_, 0, v___x_2944_);
lean_ctor_set(v_reuseFailAlloc_2960_, 1, v___x_2945_);
v___x_2947_ = v_reuseFailAlloc_2960_;
goto v_reusejp_2946_;
}
v_reusejp_2946_:
{
lean_object* v___x_2948_; lean_object* v___x_2949_; lean_object* v___x_2950_; lean_object* v___x_2951_; lean_object* v___x_2952_; lean_object* v___x_2953_; lean_object* v___x_2954_; lean_object* v___x_2955_; lean_object* v___x_2956_; lean_object* v___x_2957_; lean_object* v___x_2958_; lean_object* v___x_2959_; 
v___x_2948_ = lean_box(0);
v___x_2949_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2949_, 0, v___x_2947_);
lean_ctor_set(v___x_2949_, 1, v___x_2948_);
v___x_2950_ = ((lean_object*)(l_Lean_Firefox_instFromJsonStackTable_fromJson___closed__24));
v___x_2951_ = l_Lean_JsonNumber_fromNat(v_length_2940_);
v___x_2952_ = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(v___x_2952_, 0, v___x_2951_);
v___x_2953_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_2953_, 0, v___x_2950_);
lean_ctor_set(v___x_2953_, 1, v___x_2952_);
v___x_2954_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2954_, 0, v___x_2953_);
lean_ctor_set(v___x_2954_, 1, v___x_2948_);
v___x_2955_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2955_, 0, v___x_2954_);
lean_ctor_set(v___x_2955_, 1, v___x_2948_);
v___x_2956_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_2956_, 0, v___x_2949_);
lean_ctor_set(v___x_2956_, 1, v___x_2955_);
v___x_2957_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_2958_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_2956_, v___x_2957_);
v___x_2959_ = l_Lean_Json_mkObj(v___x_2958_);
return v___x_2959_;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0(lean_object* v_j_2964_, lean_object* v_k_2965_){
_start:
{
lean_object* v___x_2966_; lean_object* v___x_2967_; 
v___x_2966_ = l_Lean_Json_getObjValD(v_j_2964_, v_k_2965_);
v___x_2967_ = l_Lean_Json_getBool_x3f(v___x_2966_);
lean_dec(v___x_2966_);
return v___x_2967_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0___boxed(lean_object* v_j_2968_, lean_object* v_k_2969_){
_start:
{
lean_object* v_res_2970_; 
v_res_2970_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0(v_j_2968_, v_k_2969_);
lean_dec_ref(v_k_2969_);
return v_res_2970_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1(lean_object* v_j_2971_, lean_object* v_k_2972_){
_start:
{
lean_object* v___x_2973_; lean_object* v___x_2974_; 
v___x_2973_ = l_Lean_Json_getObjValD(v_j_2971_, v_k_2972_);
v___x_2974_ = l_Lean_Firefox_instFromJsonSamplesTable_fromJson(v___x_2973_);
return v___x_2974_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1___boxed(lean_object* v_j_2975_, lean_object* v_k_2976_){
_start:
{
lean_object* v_res_2977_; 
v_res_2977_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1(v_j_2975_, v_k_2976_);
lean_dec_ref(v_k_2976_);
return v_res_2977_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2(lean_object* v_j_2978_, lean_object* v_k_2979_){
_start:
{
lean_object* v___x_2980_; lean_object* v___x_2981_; 
v___x_2980_ = l_Lean_Json_getObjValD(v_j_2978_, v_k_2979_);
v___x_2981_ = l_Lean_Firefox_instFromJsonRawMarkerTable_fromJson(v___x_2980_);
return v___x_2981_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2___boxed(lean_object* v_j_2982_, lean_object* v_k_2983_){
_start:
{
lean_object* v_res_2984_; 
v_res_2984_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2(v_j_2982_, v_k_2983_);
lean_dec_ref(v_k_2983_);
return v_res_2984_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3(lean_object* v_j_2985_, lean_object* v_k_2986_){
_start:
{
lean_object* v___x_2987_; lean_object* v___x_2988_; 
v___x_2987_ = l_Lean_Json_getObjValD(v_j_2985_, v_k_2986_);
v___x_2988_ = l_Lean_Firefox_instFromJsonStackTable_fromJson(v___x_2987_);
return v___x_2988_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3___boxed(lean_object* v_j_2989_, lean_object* v_k_2990_){
_start:
{
lean_object* v_res_2991_; 
v_res_2991_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3(v_j_2989_, v_k_2990_);
lean_dec_ref(v_k_2990_);
return v_res_2991_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4(lean_object* v_j_2992_, lean_object* v_k_2993_){
_start:
{
lean_object* v___x_2994_; lean_object* v___x_2995_; 
v___x_2994_ = l_Lean_Json_getObjValD(v_j_2992_, v_k_2993_);
v___x_2995_ = l_Lean_Firefox_instFromJsonFrameTable_fromJson(v___x_2994_);
return v___x_2995_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4___boxed(lean_object* v_j_2996_, lean_object* v_k_2997_){
_start:
{
lean_object* v_res_2998_; 
v_res_2998_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4(v_j_2996_, v_k_2997_);
lean_dec_ref(v_k_2997_);
return v_res_2998_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5(lean_object* v_j_2999_, lean_object* v_k_3000_){
_start:
{
lean_object* v___x_3001_; lean_object* v___x_3002_; 
v___x_3001_ = l_Lean_Json_getObjValD(v_j_2999_, v_k_3000_);
v___x_3002_ = l_Lean_Firefox_instFromJsonResourceTable_fromJson(v___x_3001_);
return v___x_3002_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5___boxed(lean_object* v_j_3003_, lean_object* v_k_3004_){
_start:
{
lean_object* v_res_3005_; 
v_res_3005_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5(v_j_3003_, v_k_3004_);
lean_dec_ref(v_k_3004_);
return v_res_3005_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6(lean_object* v_j_3006_, lean_object* v_k_3007_){
_start:
{
lean_object* v___x_3008_; lean_object* v___x_3009_; 
v___x_3008_ = l_Lean_Json_getObjValD(v_j_3006_, v_k_3007_);
v___x_3009_ = l_Lean_Firefox_instFromJsonFuncTable_fromJson(v___x_3008_);
return v___x_3009_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6___boxed(lean_object* v_j_3010_, lean_object* v_k_3011_){
_start:
{
lean_object* v_res_3012_; 
v_res_3012_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6(v_j_3010_, v_k_3011_);
lean_dec_ref(v_k_3011_);
return v_res_3012_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__2(void){
_start:
{
uint8_t v___x_3018_; lean_object* v___x_3019_; lean_object* v___x_3020_; 
v___x_3018_ = 1;
v___x_3019_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__1));
v___x_3020_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3019_, v___x_3018_);
return v___x_3020_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3(void){
_start:
{
lean_object* v___x_3021_; lean_object* v___x_3022_; lean_object* v___x_3023_; 
v___x_3021_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_3022_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__2, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__2_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__2);
v___x_3023_ = lean_string_append(v___x_3022_, v___x_3021_);
return v___x_3023_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__4(void){
_start:
{
lean_object* v___x_3024_; lean_object* v___x_3025_; lean_object* v___x_3026_; 
v___x_3024_ = lean_obj_once(&l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9, &l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9_once, _init_l_Lean_Firefox_instFromJsonCategory_fromJson___closed__9);
v___x_3025_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3026_ = lean_string_append(v___x_3025_, v___x_3024_);
return v___x_3026_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__5(void){
_start:
{
lean_object* v___x_3027_; lean_object* v___x_3028_; lean_object* v___x_3029_; 
v___x_3027_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3028_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__4, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__4);
v___x_3029_ = lean_string_append(v___x_3028_, v___x_3027_);
return v___x_3029_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__6(void){
_start:
{
lean_object* v___x_3030_; lean_object* v___x_3031_; lean_object* v___x_3032_; 
v___x_3030_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21, &l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__21);
v___x_3031_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3032_ = lean_string_append(v___x_3031_, v___x_3030_);
return v___x_3032_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__7(void){
_start:
{
lean_object* v___x_3033_; lean_object* v___x_3034_; lean_object* v___x_3035_; 
v___x_3033_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3034_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__6, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__6);
v___x_3035_ = lean_string_append(v___x_3034_, v___x_3033_);
return v___x_3035_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__10(void){
_start:
{
uint8_t v___x_3039_; lean_object* v___x_3040_; lean_object* v___x_3041_; 
v___x_3039_ = 1;
v___x_3040_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__9));
v___x_3041_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3040_, v___x_3039_);
return v___x_3041_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__11(void){
_start:
{
lean_object* v___x_3042_; lean_object* v___x_3043_; lean_object* v___x_3044_; 
v___x_3042_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__10, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__10_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__10);
v___x_3043_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3044_ = lean_string_append(v___x_3043_, v___x_3042_);
return v___x_3044_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__12(void){
_start:
{
lean_object* v___x_3045_; lean_object* v___x_3046_; lean_object* v___x_3047_; 
v___x_3045_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3046_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__11, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__11);
v___x_3047_ = lean_string_append(v___x_3046_, v___x_3045_);
return v___x_3047_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__15(void){
_start:
{
uint8_t v___x_3051_; lean_object* v___x_3052_; lean_object* v___x_3053_; 
v___x_3051_ = 1;
v___x_3052_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__14));
v___x_3053_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3052_, v___x_3051_);
return v___x_3053_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__16(void){
_start:
{
lean_object* v___x_3054_; lean_object* v___x_3055_; lean_object* v___x_3056_; 
v___x_3054_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__15, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__15_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__15);
v___x_3055_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3056_ = lean_string_append(v___x_3055_, v___x_3054_);
return v___x_3056_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__17(void){
_start:
{
lean_object* v___x_3057_; lean_object* v___x_3058_; lean_object* v___x_3059_; 
v___x_3057_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3058_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__16, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__16);
v___x_3059_ = lean_string_append(v___x_3058_, v___x_3057_);
return v___x_3059_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__20(void){
_start:
{
uint8_t v___x_3063_; lean_object* v___x_3064_; lean_object* v___x_3065_; 
v___x_3063_ = 1;
v___x_3064_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__19));
v___x_3065_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3064_, v___x_3063_);
return v___x_3065_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__21(void){
_start:
{
lean_object* v___x_3066_; lean_object* v___x_3067_; lean_object* v___x_3068_; 
v___x_3066_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__20, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__20_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__20);
v___x_3067_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3068_ = lean_string_append(v___x_3067_, v___x_3066_);
return v___x_3068_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__22(void){
_start:
{
lean_object* v___x_3069_; lean_object* v___x_3070_; lean_object* v___x_3071_; 
v___x_3069_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3070_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__21, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__21_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__21);
v___x_3071_ = lean_string_append(v___x_3070_, v___x_3069_);
return v___x_3071_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__25(void){
_start:
{
uint8_t v___x_3075_; lean_object* v___x_3076_; lean_object* v___x_3077_; 
v___x_3075_ = 1;
v___x_3076_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__24));
v___x_3077_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3076_, v___x_3075_);
return v___x_3077_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__26(void){
_start:
{
lean_object* v___x_3078_; lean_object* v___x_3079_; lean_object* v___x_3080_; 
v___x_3078_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__25, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__25_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__25);
v___x_3079_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3080_ = lean_string_append(v___x_3079_, v___x_3078_);
return v___x_3080_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__27(void){
_start:
{
lean_object* v___x_3081_; lean_object* v___x_3082_; lean_object* v___x_3083_; 
v___x_3081_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3082_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__26, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__26_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__26);
v___x_3083_ = lean_string_append(v___x_3082_, v___x_3081_);
return v___x_3083_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__30(void){
_start:
{
uint8_t v___x_3087_; lean_object* v___x_3088_; lean_object* v___x_3089_; 
v___x_3087_ = 1;
v___x_3088_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__29));
v___x_3089_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3088_, v___x_3087_);
return v___x_3089_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__31(void){
_start:
{
lean_object* v___x_3090_; lean_object* v___x_3091_; lean_object* v___x_3092_; 
v___x_3090_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__30, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__30_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__30);
v___x_3091_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3092_ = lean_string_append(v___x_3091_, v___x_3090_);
return v___x_3092_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__32(void){
_start:
{
lean_object* v___x_3093_; lean_object* v___x_3094_; lean_object* v___x_3095_; 
v___x_3093_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3094_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__31, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__31_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__31);
v___x_3095_ = lean_string_append(v___x_3094_, v___x_3093_);
return v___x_3095_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__35(void){
_start:
{
uint8_t v___x_3099_; lean_object* v___x_3100_; lean_object* v___x_3101_; 
v___x_3099_ = 1;
v___x_3100_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__34));
v___x_3101_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3100_, v___x_3099_);
return v___x_3101_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__36(void){
_start:
{
lean_object* v___x_3102_; lean_object* v___x_3103_; lean_object* v___x_3104_; 
v___x_3102_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__35, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__35_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__35);
v___x_3103_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3104_ = lean_string_append(v___x_3103_, v___x_3102_);
return v___x_3104_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__37(void){
_start:
{
lean_object* v___x_3105_; lean_object* v___x_3106_; lean_object* v___x_3107_; 
v___x_3105_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3106_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__36, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__36_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__36);
v___x_3107_ = lean_string_append(v___x_3106_, v___x_3105_);
return v___x_3107_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__40(void){
_start:
{
uint8_t v___x_3111_; lean_object* v___x_3112_; lean_object* v___x_3113_; 
v___x_3111_ = 1;
v___x_3112_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__39));
v___x_3113_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3112_, v___x_3111_);
return v___x_3113_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__41(void){
_start:
{
lean_object* v___x_3114_; lean_object* v___x_3115_; lean_object* v___x_3116_; 
v___x_3114_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__40, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__40_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__40);
v___x_3115_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3116_ = lean_string_append(v___x_3115_, v___x_3114_);
return v___x_3116_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__42(void){
_start:
{
lean_object* v___x_3117_; lean_object* v___x_3118_; lean_object* v___x_3119_; 
v___x_3117_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3118_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__41, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__41_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__41);
v___x_3119_ = lean_string_append(v___x_3118_, v___x_3117_);
return v___x_3119_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__45(void){
_start:
{
uint8_t v___x_3123_; lean_object* v___x_3124_; lean_object* v___x_3125_; 
v___x_3123_ = 1;
v___x_3124_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__44));
v___x_3125_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3124_, v___x_3123_);
return v___x_3125_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__46(void){
_start:
{
lean_object* v___x_3126_; lean_object* v___x_3127_; lean_object* v___x_3128_; 
v___x_3126_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__45, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__45_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__45);
v___x_3127_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3128_ = lean_string_append(v___x_3127_, v___x_3126_);
return v___x_3128_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__47(void){
_start:
{
lean_object* v___x_3129_; lean_object* v___x_3130_; lean_object* v___x_3131_; 
v___x_3129_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3130_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__46, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__46_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__46);
v___x_3131_ = lean_string_append(v___x_3130_, v___x_3129_);
return v___x_3131_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__50(void){
_start:
{
uint8_t v___x_3135_; lean_object* v___x_3136_; lean_object* v___x_3137_; 
v___x_3135_ = 1;
v___x_3136_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__49));
v___x_3137_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3136_, v___x_3135_);
return v___x_3137_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__51(void){
_start:
{
lean_object* v___x_3138_; lean_object* v___x_3139_; lean_object* v___x_3140_; 
v___x_3138_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__50, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__50_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__50);
v___x_3139_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__3, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__3);
v___x_3140_ = lean_string_append(v___x_3139_, v___x_3138_);
return v___x_3140_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__52(void){
_start:
{
lean_object* v___x_3141_; lean_object* v___x_3142_; lean_object* v___x_3143_; 
v___x_3141_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3142_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__51, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__51_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__51);
v___x_3143_ = lean_string_append(v___x_3142_, v___x_3141_);
return v___x_3143_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonThread_fromJson(lean_object* v_json_3144_){
_start:
{
lean_object* v___x_3145_; lean_object* v___x_3146_; 
v___x_3145_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
lean_inc(v_json_3144_);
v___x_3146_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_3144_, v___x_3145_);
if (lean_obj_tag(v___x_3146_) == 0)
{
lean_object* v_a_3147_; lean_object* v___x_3149_; uint8_t v_isShared_3150_; uint8_t v_isSharedCheck_3156_; 
lean_dec(v_json_3144_);
v_a_3147_ = lean_ctor_get(v___x_3146_, 0);
v_isSharedCheck_3156_ = !lean_is_exclusive(v___x_3146_);
if (v_isSharedCheck_3156_ == 0)
{
v___x_3149_ = v___x_3146_;
v_isShared_3150_ = v_isSharedCheck_3156_;
goto v_resetjp_3148_;
}
else
{
lean_inc(v_a_3147_);
lean_dec(v___x_3146_);
v___x_3149_ = lean_box(0);
v_isShared_3150_ = v_isSharedCheck_3156_;
goto v_resetjp_3148_;
}
v_resetjp_3148_:
{
lean_object* v___x_3151_; lean_object* v___x_3152_; lean_object* v___x_3154_; 
v___x_3151_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__5, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__5_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__5);
v___x_3152_ = lean_string_append(v___x_3151_, v_a_3147_);
lean_dec(v_a_3147_);
if (v_isShared_3150_ == 0)
{
lean_ctor_set(v___x_3149_, 0, v___x_3152_);
v___x_3154_ = v___x_3149_;
goto v_reusejp_3153_;
}
else
{
lean_object* v_reuseFailAlloc_3155_; 
v_reuseFailAlloc_3155_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3155_, 0, v___x_3152_);
v___x_3154_ = v_reuseFailAlloc_3155_;
goto v_reusejp_3153_;
}
v_reusejp_3153_:
{
return v___x_3154_;
}
}
}
else
{
if (lean_obj_tag(v___x_3146_) == 0)
{
lean_object* v_a_3157_; lean_object* v___x_3159_; uint8_t v_isShared_3160_; uint8_t v_isSharedCheck_3164_; 
lean_dec(v_json_3144_);
v_a_3157_ = lean_ctor_get(v___x_3146_, 0);
v_isSharedCheck_3164_ = !lean_is_exclusive(v___x_3146_);
if (v_isSharedCheck_3164_ == 0)
{
v___x_3159_ = v___x_3146_;
v_isShared_3160_ = v_isSharedCheck_3164_;
goto v_resetjp_3158_;
}
else
{
lean_inc(v_a_3157_);
lean_dec(v___x_3146_);
v___x_3159_ = lean_box(0);
v_isShared_3160_ = v_isSharedCheck_3164_;
goto v_resetjp_3158_;
}
v_resetjp_3158_:
{
lean_object* v___x_3162_; 
if (v_isShared_3160_ == 0)
{
lean_ctor_set_tag(v___x_3159_, 0);
v___x_3162_ = v___x_3159_;
goto v_reusejp_3161_;
}
else
{
lean_object* v_reuseFailAlloc_3163_; 
v_reuseFailAlloc_3163_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3163_, 0, v_a_3157_);
v___x_3162_ = v_reuseFailAlloc_3163_;
goto v_reusejp_3161_;
}
v_reusejp_3161_:
{
return v___x_3162_;
}
}
}
else
{
lean_object* v_a_3165_; lean_object* v___x_3166_; lean_object* v___x_3167_; 
v_a_3165_ = lean_ctor_get(v___x_3146_, 0);
lean_inc(v_a_3165_);
lean_dec_ref(v___x_3146_);
v___x_3166_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19));
lean_inc(v_json_3144_);
v___x_3167_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__1(v_json_3144_, v___x_3166_);
if (lean_obj_tag(v___x_3167_) == 0)
{
lean_object* v_a_3168_; lean_object* v___x_3170_; uint8_t v_isShared_3171_; uint8_t v_isSharedCheck_3177_; 
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3168_ = lean_ctor_get(v___x_3167_, 0);
v_isSharedCheck_3177_ = !lean_is_exclusive(v___x_3167_);
if (v_isSharedCheck_3177_ == 0)
{
v___x_3170_ = v___x_3167_;
v_isShared_3171_ = v_isSharedCheck_3177_;
goto v_resetjp_3169_;
}
else
{
lean_inc(v_a_3168_);
lean_dec(v___x_3167_);
v___x_3170_ = lean_box(0);
v_isShared_3171_ = v_isSharedCheck_3177_;
goto v_resetjp_3169_;
}
v_resetjp_3169_:
{
lean_object* v___x_3172_; lean_object* v___x_3173_; lean_object* v___x_3175_; 
v___x_3172_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__7, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__7);
v___x_3173_ = lean_string_append(v___x_3172_, v_a_3168_);
lean_dec(v_a_3168_);
if (v_isShared_3171_ == 0)
{
lean_ctor_set(v___x_3170_, 0, v___x_3173_);
v___x_3175_ = v___x_3170_;
goto v_reusejp_3174_;
}
else
{
lean_object* v_reuseFailAlloc_3176_; 
v_reuseFailAlloc_3176_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3176_, 0, v___x_3173_);
v___x_3175_ = v_reuseFailAlloc_3176_;
goto v_reusejp_3174_;
}
v_reusejp_3174_:
{
return v___x_3175_;
}
}
}
else
{
if (lean_obj_tag(v___x_3167_) == 0)
{
lean_object* v_a_3178_; lean_object* v___x_3180_; uint8_t v_isShared_3181_; uint8_t v_isSharedCheck_3185_; 
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3178_ = lean_ctor_get(v___x_3167_, 0);
v_isSharedCheck_3185_ = !lean_is_exclusive(v___x_3167_);
if (v_isSharedCheck_3185_ == 0)
{
v___x_3180_ = v___x_3167_;
v_isShared_3181_ = v_isSharedCheck_3185_;
goto v_resetjp_3179_;
}
else
{
lean_inc(v_a_3178_);
lean_dec(v___x_3167_);
v___x_3180_ = lean_box(0);
v_isShared_3181_ = v_isSharedCheck_3185_;
goto v_resetjp_3179_;
}
v_resetjp_3179_:
{
lean_object* v___x_3183_; 
if (v_isShared_3181_ == 0)
{
lean_ctor_set_tag(v___x_3180_, 0);
v___x_3183_ = v___x_3180_;
goto v_reusejp_3182_;
}
else
{
lean_object* v_reuseFailAlloc_3184_; 
v_reuseFailAlloc_3184_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3184_, 0, v_a_3178_);
v___x_3183_ = v_reuseFailAlloc_3184_;
goto v_reusejp_3182_;
}
v_reusejp_3182_:
{
return v___x_3183_;
}
}
}
else
{
lean_object* v_a_3186_; lean_object* v___x_3187_; lean_object* v___x_3188_; 
v_a_3186_ = lean_ctor_get(v___x_3167_, 0);
lean_inc(v_a_3186_);
lean_dec_ref(v___x_3167_);
v___x_3187_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__8));
lean_inc(v_json_3144_);
v___x_3188_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__0(v_json_3144_, v___x_3187_);
if (lean_obj_tag(v___x_3188_) == 0)
{
lean_object* v_a_3189_; lean_object* v___x_3191_; uint8_t v_isShared_3192_; uint8_t v_isSharedCheck_3198_; 
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3189_ = lean_ctor_get(v___x_3188_, 0);
v_isSharedCheck_3198_ = !lean_is_exclusive(v___x_3188_);
if (v_isSharedCheck_3198_ == 0)
{
v___x_3191_ = v___x_3188_;
v_isShared_3192_ = v_isSharedCheck_3198_;
goto v_resetjp_3190_;
}
else
{
lean_inc(v_a_3189_);
lean_dec(v___x_3188_);
v___x_3191_ = lean_box(0);
v_isShared_3192_ = v_isSharedCheck_3198_;
goto v_resetjp_3190_;
}
v_resetjp_3190_:
{
lean_object* v___x_3193_; lean_object* v___x_3194_; lean_object* v___x_3196_; 
v___x_3193_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__12, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__12);
v___x_3194_ = lean_string_append(v___x_3193_, v_a_3189_);
lean_dec(v_a_3189_);
if (v_isShared_3192_ == 0)
{
lean_ctor_set(v___x_3191_, 0, v___x_3194_);
v___x_3196_ = v___x_3191_;
goto v_reusejp_3195_;
}
else
{
lean_object* v_reuseFailAlloc_3197_; 
v_reuseFailAlloc_3197_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3197_, 0, v___x_3194_);
v___x_3196_ = v_reuseFailAlloc_3197_;
goto v_reusejp_3195_;
}
v_reusejp_3195_:
{
return v___x_3196_;
}
}
}
else
{
if (lean_obj_tag(v___x_3188_) == 0)
{
lean_object* v_a_3199_; lean_object* v___x_3201_; uint8_t v_isShared_3202_; uint8_t v_isSharedCheck_3206_; 
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3199_ = lean_ctor_get(v___x_3188_, 0);
v_isSharedCheck_3206_ = !lean_is_exclusive(v___x_3188_);
if (v_isSharedCheck_3206_ == 0)
{
v___x_3201_ = v___x_3188_;
v_isShared_3202_ = v_isSharedCheck_3206_;
goto v_resetjp_3200_;
}
else
{
lean_inc(v_a_3199_);
lean_dec(v___x_3188_);
v___x_3201_ = lean_box(0);
v_isShared_3202_ = v_isSharedCheck_3206_;
goto v_resetjp_3200_;
}
v_resetjp_3200_:
{
lean_object* v___x_3204_; 
if (v_isShared_3202_ == 0)
{
lean_ctor_set_tag(v___x_3201_, 0);
v___x_3204_ = v___x_3201_;
goto v_reusejp_3203_;
}
else
{
lean_object* v_reuseFailAlloc_3205_; 
v_reuseFailAlloc_3205_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3205_, 0, v_a_3199_);
v___x_3204_ = v_reuseFailAlloc_3205_;
goto v_reusejp_3203_;
}
v_reusejp_3203_:
{
return v___x_3204_;
}
}
}
else
{
lean_object* v_a_3207_; lean_object* v___x_3208_; lean_object* v___x_3209_; 
v_a_3207_ = lean_ctor_get(v___x_3188_, 0);
lean_inc(v_a_3207_);
lean_dec_ref(v___x_3188_);
v___x_3208_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__13));
lean_inc(v_json_3144_);
v___x_3209_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__1(v_json_3144_, v___x_3208_);
if (lean_obj_tag(v___x_3209_) == 0)
{
lean_object* v_a_3210_; lean_object* v___x_3212_; uint8_t v_isShared_3213_; uint8_t v_isSharedCheck_3219_; 
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3210_ = lean_ctor_get(v___x_3209_, 0);
v_isSharedCheck_3219_ = !lean_is_exclusive(v___x_3209_);
if (v_isSharedCheck_3219_ == 0)
{
v___x_3212_ = v___x_3209_;
v_isShared_3213_ = v_isSharedCheck_3219_;
goto v_resetjp_3211_;
}
else
{
lean_inc(v_a_3210_);
lean_dec(v___x_3209_);
v___x_3212_ = lean_box(0);
v_isShared_3213_ = v_isSharedCheck_3219_;
goto v_resetjp_3211_;
}
v_resetjp_3211_:
{
lean_object* v___x_3214_; lean_object* v___x_3215_; lean_object* v___x_3217_; 
v___x_3214_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__17, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__17);
v___x_3215_ = lean_string_append(v___x_3214_, v_a_3210_);
lean_dec(v_a_3210_);
if (v_isShared_3213_ == 0)
{
lean_ctor_set(v___x_3212_, 0, v___x_3215_);
v___x_3217_ = v___x_3212_;
goto v_reusejp_3216_;
}
else
{
lean_object* v_reuseFailAlloc_3218_; 
v_reuseFailAlloc_3218_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3218_, 0, v___x_3215_);
v___x_3217_ = v_reuseFailAlloc_3218_;
goto v_reusejp_3216_;
}
v_reusejp_3216_:
{
return v___x_3217_;
}
}
}
else
{
if (lean_obj_tag(v___x_3209_) == 0)
{
lean_object* v_a_3220_; lean_object* v___x_3222_; uint8_t v_isShared_3223_; uint8_t v_isSharedCheck_3227_; 
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3220_ = lean_ctor_get(v___x_3209_, 0);
v_isSharedCheck_3227_ = !lean_is_exclusive(v___x_3209_);
if (v_isSharedCheck_3227_ == 0)
{
v___x_3222_ = v___x_3209_;
v_isShared_3223_ = v_isSharedCheck_3227_;
goto v_resetjp_3221_;
}
else
{
lean_inc(v_a_3220_);
lean_dec(v___x_3209_);
v___x_3222_ = lean_box(0);
v_isShared_3223_ = v_isSharedCheck_3227_;
goto v_resetjp_3221_;
}
v_resetjp_3221_:
{
lean_object* v___x_3225_; 
if (v_isShared_3223_ == 0)
{
lean_ctor_set_tag(v___x_3222_, 0);
v___x_3225_ = v___x_3222_;
goto v_reusejp_3224_;
}
else
{
lean_object* v_reuseFailAlloc_3226_; 
v_reuseFailAlloc_3226_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3226_, 0, v_a_3220_);
v___x_3225_ = v_reuseFailAlloc_3226_;
goto v_reusejp_3224_;
}
v_reusejp_3224_:
{
return v___x_3225_;
}
}
}
else
{
lean_object* v_a_3228_; lean_object* v___x_3229_; lean_object* v___x_3230_; 
v_a_3228_ = lean_ctor_get(v___x_3209_, 0);
lean_inc(v_a_3228_);
lean_dec_ref(v___x_3209_);
v___x_3229_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__18));
lean_inc(v_json_3144_);
v___x_3230_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__2(v_json_3144_, v___x_3229_);
if (lean_obj_tag(v___x_3230_) == 0)
{
lean_object* v_a_3231_; lean_object* v___x_3233_; uint8_t v_isShared_3234_; uint8_t v_isSharedCheck_3240_; 
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3231_ = lean_ctor_get(v___x_3230_, 0);
v_isSharedCheck_3240_ = !lean_is_exclusive(v___x_3230_);
if (v_isSharedCheck_3240_ == 0)
{
v___x_3233_ = v___x_3230_;
v_isShared_3234_ = v_isSharedCheck_3240_;
goto v_resetjp_3232_;
}
else
{
lean_inc(v_a_3231_);
lean_dec(v___x_3230_);
v___x_3233_ = lean_box(0);
v_isShared_3234_ = v_isSharedCheck_3240_;
goto v_resetjp_3232_;
}
v_resetjp_3232_:
{
lean_object* v___x_3235_; lean_object* v___x_3236_; lean_object* v___x_3238_; 
v___x_3235_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__22, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__22_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__22);
v___x_3236_ = lean_string_append(v___x_3235_, v_a_3231_);
lean_dec(v_a_3231_);
if (v_isShared_3234_ == 0)
{
lean_ctor_set(v___x_3233_, 0, v___x_3236_);
v___x_3238_ = v___x_3233_;
goto v_reusejp_3237_;
}
else
{
lean_object* v_reuseFailAlloc_3239_; 
v_reuseFailAlloc_3239_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3239_, 0, v___x_3236_);
v___x_3238_ = v_reuseFailAlloc_3239_;
goto v_reusejp_3237_;
}
v_reusejp_3237_:
{
return v___x_3238_;
}
}
}
else
{
if (lean_obj_tag(v___x_3230_) == 0)
{
lean_object* v_a_3241_; lean_object* v___x_3243_; uint8_t v_isShared_3244_; uint8_t v_isSharedCheck_3248_; 
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3241_ = lean_ctor_get(v___x_3230_, 0);
v_isSharedCheck_3248_ = !lean_is_exclusive(v___x_3230_);
if (v_isSharedCheck_3248_ == 0)
{
v___x_3243_ = v___x_3230_;
v_isShared_3244_ = v_isSharedCheck_3248_;
goto v_resetjp_3242_;
}
else
{
lean_inc(v_a_3241_);
lean_dec(v___x_3230_);
v___x_3243_ = lean_box(0);
v_isShared_3244_ = v_isSharedCheck_3248_;
goto v_resetjp_3242_;
}
v_resetjp_3242_:
{
lean_object* v___x_3246_; 
if (v_isShared_3244_ == 0)
{
lean_ctor_set_tag(v___x_3243_, 0);
v___x_3246_ = v___x_3243_;
goto v_reusejp_3245_;
}
else
{
lean_object* v_reuseFailAlloc_3247_; 
v_reuseFailAlloc_3247_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3247_, 0, v_a_3241_);
v___x_3246_ = v_reuseFailAlloc_3247_;
goto v_reusejp_3245_;
}
v_reusejp_3245_:
{
return v___x_3246_;
}
}
}
else
{
lean_object* v_a_3249_; lean_object* v___x_3250_; lean_object* v___x_3251_; 
v_a_3249_ = lean_ctor_get(v___x_3230_, 0);
lean_inc(v_a_3249_);
lean_dec_ref(v___x_3230_);
v___x_3250_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__23));
lean_inc(v_json_3144_);
v___x_3251_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__3(v_json_3144_, v___x_3250_);
if (lean_obj_tag(v___x_3251_) == 0)
{
lean_object* v_a_3252_; lean_object* v___x_3254_; uint8_t v_isShared_3255_; uint8_t v_isSharedCheck_3261_; 
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3252_ = lean_ctor_get(v___x_3251_, 0);
v_isSharedCheck_3261_ = !lean_is_exclusive(v___x_3251_);
if (v_isSharedCheck_3261_ == 0)
{
v___x_3254_ = v___x_3251_;
v_isShared_3255_ = v_isSharedCheck_3261_;
goto v_resetjp_3253_;
}
else
{
lean_inc(v_a_3252_);
lean_dec(v___x_3251_);
v___x_3254_ = lean_box(0);
v_isShared_3255_ = v_isSharedCheck_3261_;
goto v_resetjp_3253_;
}
v_resetjp_3253_:
{
lean_object* v___x_3256_; lean_object* v___x_3257_; lean_object* v___x_3259_; 
v___x_3256_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__27, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__27_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__27);
v___x_3257_ = lean_string_append(v___x_3256_, v_a_3252_);
lean_dec(v_a_3252_);
if (v_isShared_3255_ == 0)
{
lean_ctor_set(v___x_3254_, 0, v___x_3257_);
v___x_3259_ = v___x_3254_;
goto v_reusejp_3258_;
}
else
{
lean_object* v_reuseFailAlloc_3260_; 
v_reuseFailAlloc_3260_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3260_, 0, v___x_3257_);
v___x_3259_ = v_reuseFailAlloc_3260_;
goto v_reusejp_3258_;
}
v_reusejp_3258_:
{
return v___x_3259_;
}
}
}
else
{
if (lean_obj_tag(v___x_3251_) == 0)
{
lean_object* v_a_3262_; lean_object* v___x_3264_; uint8_t v_isShared_3265_; uint8_t v_isSharedCheck_3269_; 
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3262_ = lean_ctor_get(v___x_3251_, 0);
v_isSharedCheck_3269_ = !lean_is_exclusive(v___x_3251_);
if (v_isSharedCheck_3269_ == 0)
{
v___x_3264_ = v___x_3251_;
v_isShared_3265_ = v_isSharedCheck_3269_;
goto v_resetjp_3263_;
}
else
{
lean_inc(v_a_3262_);
lean_dec(v___x_3251_);
v___x_3264_ = lean_box(0);
v_isShared_3265_ = v_isSharedCheck_3269_;
goto v_resetjp_3263_;
}
v_resetjp_3263_:
{
lean_object* v___x_3267_; 
if (v_isShared_3265_ == 0)
{
lean_ctor_set_tag(v___x_3264_, 0);
v___x_3267_ = v___x_3264_;
goto v_reusejp_3266_;
}
else
{
lean_object* v_reuseFailAlloc_3268_; 
v_reuseFailAlloc_3268_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3268_, 0, v_a_3262_);
v___x_3267_ = v_reuseFailAlloc_3268_;
goto v_reusejp_3266_;
}
v_reusejp_3266_:
{
return v___x_3267_;
}
}
}
else
{
lean_object* v_a_3270_; lean_object* v___x_3271_; lean_object* v___x_3272_; 
v_a_3270_ = lean_ctor_get(v___x_3251_, 0);
lean_inc(v_a_3270_);
lean_dec_ref(v___x_3251_);
v___x_3271_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__28));
lean_inc(v_json_3144_);
v___x_3272_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__4(v_json_3144_, v___x_3271_);
if (lean_obj_tag(v___x_3272_) == 0)
{
lean_object* v_a_3273_; lean_object* v___x_3275_; uint8_t v_isShared_3276_; uint8_t v_isSharedCheck_3282_; 
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3273_ = lean_ctor_get(v___x_3272_, 0);
v_isSharedCheck_3282_ = !lean_is_exclusive(v___x_3272_);
if (v_isSharedCheck_3282_ == 0)
{
v___x_3275_ = v___x_3272_;
v_isShared_3276_ = v_isSharedCheck_3282_;
goto v_resetjp_3274_;
}
else
{
lean_inc(v_a_3273_);
lean_dec(v___x_3272_);
v___x_3275_ = lean_box(0);
v_isShared_3276_ = v_isSharedCheck_3282_;
goto v_resetjp_3274_;
}
v_resetjp_3274_:
{
lean_object* v___x_3277_; lean_object* v___x_3278_; lean_object* v___x_3280_; 
v___x_3277_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__32, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__32_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__32);
v___x_3278_ = lean_string_append(v___x_3277_, v_a_3273_);
lean_dec(v_a_3273_);
if (v_isShared_3276_ == 0)
{
lean_ctor_set(v___x_3275_, 0, v___x_3278_);
v___x_3280_ = v___x_3275_;
goto v_reusejp_3279_;
}
else
{
lean_object* v_reuseFailAlloc_3281_; 
v_reuseFailAlloc_3281_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3281_, 0, v___x_3278_);
v___x_3280_ = v_reuseFailAlloc_3281_;
goto v_reusejp_3279_;
}
v_reusejp_3279_:
{
return v___x_3280_;
}
}
}
else
{
if (lean_obj_tag(v___x_3272_) == 0)
{
lean_object* v_a_3283_; lean_object* v___x_3285_; uint8_t v_isShared_3286_; uint8_t v_isSharedCheck_3290_; 
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3283_ = lean_ctor_get(v___x_3272_, 0);
v_isSharedCheck_3290_ = !lean_is_exclusive(v___x_3272_);
if (v_isSharedCheck_3290_ == 0)
{
v___x_3285_ = v___x_3272_;
v_isShared_3286_ = v_isSharedCheck_3290_;
goto v_resetjp_3284_;
}
else
{
lean_inc(v_a_3283_);
lean_dec(v___x_3272_);
v___x_3285_ = lean_box(0);
v_isShared_3286_ = v_isSharedCheck_3290_;
goto v_resetjp_3284_;
}
v_resetjp_3284_:
{
lean_object* v___x_3288_; 
if (v_isShared_3286_ == 0)
{
lean_ctor_set_tag(v___x_3285_, 0);
v___x_3288_ = v___x_3285_;
goto v_reusejp_3287_;
}
else
{
lean_object* v_reuseFailAlloc_3289_; 
v_reuseFailAlloc_3289_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3289_, 0, v_a_3283_);
v___x_3288_ = v_reuseFailAlloc_3289_;
goto v_reusejp_3287_;
}
v_reusejp_3287_:
{
return v___x_3288_;
}
}
}
else
{
lean_object* v_a_3291_; lean_object* v___x_3292_; lean_object* v___x_3293_; 
v_a_3291_ = lean_ctor_get(v___x_3272_, 0);
lean_inc(v_a_3291_);
lean_dec_ref(v___x_3272_);
v___x_3292_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__33));
lean_inc(v_json_3144_);
v___x_3293_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5(v_json_3144_, v___x_3292_);
if (lean_obj_tag(v___x_3293_) == 0)
{
lean_object* v_a_3294_; lean_object* v___x_3296_; uint8_t v_isShared_3297_; uint8_t v_isSharedCheck_3303_; 
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3294_ = lean_ctor_get(v___x_3293_, 0);
v_isSharedCheck_3303_ = !lean_is_exclusive(v___x_3293_);
if (v_isSharedCheck_3303_ == 0)
{
v___x_3296_ = v___x_3293_;
v_isShared_3297_ = v_isSharedCheck_3303_;
goto v_resetjp_3295_;
}
else
{
lean_inc(v_a_3294_);
lean_dec(v___x_3293_);
v___x_3296_ = lean_box(0);
v_isShared_3297_ = v_isSharedCheck_3303_;
goto v_resetjp_3295_;
}
v_resetjp_3295_:
{
lean_object* v___x_3298_; lean_object* v___x_3299_; lean_object* v___x_3301_; 
v___x_3298_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__37, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__37_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__37);
v___x_3299_ = lean_string_append(v___x_3298_, v_a_3294_);
lean_dec(v_a_3294_);
if (v_isShared_3297_ == 0)
{
lean_ctor_set(v___x_3296_, 0, v___x_3299_);
v___x_3301_ = v___x_3296_;
goto v_reusejp_3300_;
}
else
{
lean_object* v_reuseFailAlloc_3302_; 
v_reuseFailAlloc_3302_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3302_, 0, v___x_3299_);
v___x_3301_ = v_reuseFailAlloc_3302_;
goto v_reusejp_3300_;
}
v_reusejp_3300_:
{
return v___x_3301_;
}
}
}
else
{
if (lean_obj_tag(v___x_3293_) == 0)
{
lean_object* v_a_3304_; lean_object* v___x_3306_; uint8_t v_isShared_3307_; uint8_t v_isSharedCheck_3311_; 
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3304_ = lean_ctor_get(v___x_3293_, 0);
v_isSharedCheck_3311_ = !lean_is_exclusive(v___x_3293_);
if (v_isSharedCheck_3311_ == 0)
{
v___x_3306_ = v___x_3293_;
v_isShared_3307_ = v_isSharedCheck_3311_;
goto v_resetjp_3305_;
}
else
{
lean_inc(v_a_3304_);
lean_dec(v___x_3293_);
v___x_3306_ = lean_box(0);
v_isShared_3307_ = v_isSharedCheck_3311_;
goto v_resetjp_3305_;
}
v_resetjp_3305_:
{
lean_object* v___x_3309_; 
if (v_isShared_3307_ == 0)
{
lean_ctor_set_tag(v___x_3306_, 0);
v___x_3309_ = v___x_3306_;
goto v_reusejp_3308_;
}
else
{
lean_object* v_reuseFailAlloc_3310_; 
v_reuseFailAlloc_3310_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3310_, 0, v_a_3304_);
v___x_3309_ = v_reuseFailAlloc_3310_;
goto v_reusejp_3308_;
}
v_reusejp_3308_:
{
return v___x_3309_;
}
}
}
else
{
lean_object* v_a_3312_; lean_object* v___x_3313_; lean_object* v___x_3314_; 
v_a_3312_ = lean_ctor_get(v___x_3293_, 0);
lean_inc(v_a_3312_);
lean_dec_ref(v___x_3293_);
v___x_3313_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__38));
lean_inc(v_json_3144_);
v___x_3314_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__5(v_json_3144_, v___x_3313_);
if (lean_obj_tag(v___x_3314_) == 0)
{
lean_object* v_a_3315_; lean_object* v___x_3317_; uint8_t v_isShared_3318_; uint8_t v_isSharedCheck_3324_; 
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3315_ = lean_ctor_get(v___x_3314_, 0);
v_isSharedCheck_3324_ = !lean_is_exclusive(v___x_3314_);
if (v_isSharedCheck_3324_ == 0)
{
v___x_3317_ = v___x_3314_;
v_isShared_3318_ = v_isSharedCheck_3324_;
goto v_resetjp_3316_;
}
else
{
lean_inc(v_a_3315_);
lean_dec(v___x_3314_);
v___x_3317_ = lean_box(0);
v_isShared_3318_ = v_isSharedCheck_3324_;
goto v_resetjp_3316_;
}
v_resetjp_3316_:
{
lean_object* v___x_3319_; lean_object* v___x_3320_; lean_object* v___x_3322_; 
v___x_3319_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__42, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__42_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__42);
v___x_3320_ = lean_string_append(v___x_3319_, v_a_3315_);
lean_dec(v_a_3315_);
if (v_isShared_3318_ == 0)
{
lean_ctor_set(v___x_3317_, 0, v___x_3320_);
v___x_3322_ = v___x_3317_;
goto v_reusejp_3321_;
}
else
{
lean_object* v_reuseFailAlloc_3323_; 
v_reuseFailAlloc_3323_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3323_, 0, v___x_3320_);
v___x_3322_ = v_reuseFailAlloc_3323_;
goto v_reusejp_3321_;
}
v_reusejp_3321_:
{
return v___x_3322_;
}
}
}
else
{
if (lean_obj_tag(v___x_3314_) == 0)
{
lean_object* v_a_3325_; lean_object* v___x_3327_; uint8_t v_isShared_3328_; uint8_t v_isSharedCheck_3332_; 
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3325_ = lean_ctor_get(v___x_3314_, 0);
v_isSharedCheck_3332_ = !lean_is_exclusive(v___x_3314_);
if (v_isSharedCheck_3332_ == 0)
{
v___x_3327_ = v___x_3314_;
v_isShared_3328_ = v_isSharedCheck_3332_;
goto v_resetjp_3326_;
}
else
{
lean_inc(v_a_3325_);
lean_dec(v___x_3314_);
v___x_3327_ = lean_box(0);
v_isShared_3328_ = v_isSharedCheck_3332_;
goto v_resetjp_3326_;
}
v_resetjp_3326_:
{
lean_object* v___x_3330_; 
if (v_isShared_3328_ == 0)
{
lean_ctor_set_tag(v___x_3327_, 0);
v___x_3330_ = v___x_3327_;
goto v_reusejp_3329_;
}
else
{
lean_object* v_reuseFailAlloc_3331_; 
v_reuseFailAlloc_3331_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3331_, 0, v_a_3325_);
v___x_3330_ = v_reuseFailAlloc_3331_;
goto v_reusejp_3329_;
}
v_reusejp_3329_:
{
return v___x_3330_;
}
}
}
else
{
lean_object* v_a_3333_; lean_object* v___x_3334_; lean_object* v___x_3335_; 
v_a_3333_ = lean_ctor_get(v___x_3314_, 0);
lean_inc(v_a_3333_);
lean_dec_ref(v___x_3314_);
v___x_3334_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__43));
lean_inc(v_json_3144_);
v___x_3335_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2(v_json_3144_, v___x_3334_);
if (lean_obj_tag(v___x_3335_) == 0)
{
lean_object* v_a_3336_; lean_object* v___x_3338_; uint8_t v_isShared_3339_; uint8_t v_isSharedCheck_3345_; 
lean_dec(v_a_3333_);
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3336_ = lean_ctor_get(v___x_3335_, 0);
v_isSharedCheck_3345_ = !lean_is_exclusive(v___x_3335_);
if (v_isSharedCheck_3345_ == 0)
{
v___x_3338_ = v___x_3335_;
v_isShared_3339_ = v_isSharedCheck_3345_;
goto v_resetjp_3337_;
}
else
{
lean_inc(v_a_3336_);
lean_dec(v___x_3335_);
v___x_3338_ = lean_box(0);
v_isShared_3339_ = v_isSharedCheck_3345_;
goto v_resetjp_3337_;
}
v_resetjp_3337_:
{
lean_object* v___x_3340_; lean_object* v___x_3341_; lean_object* v___x_3343_; 
v___x_3340_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__47, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__47_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__47);
v___x_3341_ = lean_string_append(v___x_3340_, v_a_3336_);
lean_dec(v_a_3336_);
if (v_isShared_3339_ == 0)
{
lean_ctor_set(v___x_3338_, 0, v___x_3341_);
v___x_3343_ = v___x_3338_;
goto v_reusejp_3342_;
}
else
{
lean_object* v_reuseFailAlloc_3344_; 
v_reuseFailAlloc_3344_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3344_, 0, v___x_3341_);
v___x_3343_ = v_reuseFailAlloc_3344_;
goto v_reusejp_3342_;
}
v_reusejp_3342_:
{
return v___x_3343_;
}
}
}
else
{
if (lean_obj_tag(v___x_3335_) == 0)
{
lean_object* v_a_3346_; lean_object* v___x_3348_; uint8_t v_isShared_3349_; uint8_t v_isSharedCheck_3353_; 
lean_dec(v_a_3333_);
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
lean_dec(v_json_3144_);
v_a_3346_ = lean_ctor_get(v___x_3335_, 0);
v_isSharedCheck_3353_ = !lean_is_exclusive(v___x_3335_);
if (v_isSharedCheck_3353_ == 0)
{
v___x_3348_ = v___x_3335_;
v_isShared_3349_ = v_isSharedCheck_3353_;
goto v_resetjp_3347_;
}
else
{
lean_inc(v_a_3346_);
lean_dec(v___x_3335_);
v___x_3348_ = lean_box(0);
v_isShared_3349_ = v_isSharedCheck_3353_;
goto v_resetjp_3347_;
}
v_resetjp_3347_:
{
lean_object* v___x_3351_; 
if (v_isShared_3349_ == 0)
{
lean_ctor_set_tag(v___x_3348_, 0);
v___x_3351_ = v___x_3348_;
goto v_reusejp_3350_;
}
else
{
lean_object* v_reuseFailAlloc_3352_; 
v_reuseFailAlloc_3352_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3352_, 0, v_a_3346_);
v___x_3351_ = v_reuseFailAlloc_3352_;
goto v_reusejp_3350_;
}
v_reusejp_3350_:
{
return v___x_3351_;
}
}
}
else
{
lean_object* v_a_3354_; lean_object* v___x_3355_; lean_object* v___x_3356_; 
v_a_3354_ = lean_ctor_get(v___x_3335_, 0);
lean_inc(v_a_3354_);
lean_dec_ref(v___x_3335_);
v___x_3355_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__48));
v___x_3356_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonThread_fromJson_spec__6(v_json_3144_, v___x_3355_);
if (lean_obj_tag(v___x_3356_) == 0)
{
lean_object* v_a_3357_; lean_object* v___x_3359_; uint8_t v_isShared_3360_; uint8_t v_isSharedCheck_3366_; 
lean_dec(v_a_3354_);
lean_dec(v_a_3333_);
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
v_a_3357_ = lean_ctor_get(v___x_3356_, 0);
v_isSharedCheck_3366_ = !lean_is_exclusive(v___x_3356_);
if (v_isSharedCheck_3366_ == 0)
{
v___x_3359_ = v___x_3356_;
v_isShared_3360_ = v_isSharedCheck_3366_;
goto v_resetjp_3358_;
}
else
{
lean_inc(v_a_3357_);
lean_dec(v___x_3356_);
v___x_3359_ = lean_box(0);
v_isShared_3360_ = v_isSharedCheck_3366_;
goto v_resetjp_3358_;
}
v_resetjp_3358_:
{
lean_object* v___x_3361_; lean_object* v___x_3362_; lean_object* v___x_3364_; 
v___x_3361_ = lean_obj_once(&l_Lean_Firefox_instFromJsonThread_fromJson___closed__52, &l_Lean_Firefox_instFromJsonThread_fromJson___closed__52_once, _init_l_Lean_Firefox_instFromJsonThread_fromJson___closed__52);
v___x_3362_ = lean_string_append(v___x_3361_, v_a_3357_);
lean_dec(v_a_3357_);
if (v_isShared_3360_ == 0)
{
lean_ctor_set(v___x_3359_, 0, v___x_3362_);
v___x_3364_ = v___x_3359_;
goto v_reusejp_3363_;
}
else
{
lean_object* v_reuseFailAlloc_3365_; 
v_reuseFailAlloc_3365_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3365_, 0, v___x_3362_);
v___x_3364_ = v_reuseFailAlloc_3365_;
goto v_reusejp_3363_;
}
v_reusejp_3363_:
{
return v___x_3364_;
}
}
}
else
{
if (lean_obj_tag(v___x_3356_) == 0)
{
lean_object* v_a_3367_; lean_object* v___x_3369_; uint8_t v_isShared_3370_; uint8_t v_isSharedCheck_3374_; 
lean_dec(v_a_3354_);
lean_dec(v_a_3333_);
lean_dec(v_a_3312_);
lean_dec(v_a_3291_);
lean_dec(v_a_3270_);
lean_dec(v_a_3249_);
lean_dec(v_a_3228_);
lean_dec(v_a_3207_);
lean_dec(v_a_3186_);
lean_dec(v_a_3165_);
v_a_3367_ = lean_ctor_get(v___x_3356_, 0);
v_isSharedCheck_3374_ = !lean_is_exclusive(v___x_3356_);
if (v_isSharedCheck_3374_ == 0)
{
v___x_3369_ = v___x_3356_;
v_isShared_3370_ = v_isSharedCheck_3374_;
goto v_resetjp_3368_;
}
else
{
lean_inc(v_a_3367_);
lean_dec(v___x_3356_);
v___x_3369_ = lean_box(0);
v_isShared_3370_ = v_isSharedCheck_3374_;
goto v_resetjp_3368_;
}
v_resetjp_3368_:
{
lean_object* v___x_3372_; 
if (v_isShared_3370_ == 0)
{
lean_ctor_set_tag(v___x_3369_, 0);
v___x_3372_ = v___x_3369_;
goto v_reusejp_3371_;
}
else
{
lean_object* v_reuseFailAlloc_3373_; 
v_reuseFailAlloc_3373_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3373_, 0, v_a_3367_);
v___x_3372_ = v_reuseFailAlloc_3373_;
goto v_reusejp_3371_;
}
v_reusejp_3371_:
{
return v___x_3372_;
}
}
}
else
{
lean_object* v_a_3375_; lean_object* v___x_3377_; uint8_t v_isShared_3378_; uint8_t v_isSharedCheck_3384_; 
v_a_3375_ = lean_ctor_get(v___x_3356_, 0);
v_isSharedCheck_3384_ = !lean_is_exclusive(v___x_3356_);
if (v_isSharedCheck_3384_ == 0)
{
v___x_3377_ = v___x_3356_;
v_isShared_3378_ = v_isSharedCheck_3384_;
goto v_resetjp_3376_;
}
else
{
lean_inc(v_a_3375_);
lean_dec(v___x_3356_);
v___x_3377_ = lean_box(0);
v_isShared_3378_ = v_isSharedCheck_3384_;
goto v_resetjp_3376_;
}
v_resetjp_3376_:
{
lean_object* v___x_3379_; uint8_t v___x_3380_; lean_object* v___x_3382_; 
v___x_3379_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v___x_3379_, 0, v_a_3165_);
lean_ctor_set(v___x_3379_, 1, v_a_3186_);
lean_ctor_set(v___x_3379_, 2, v_a_3228_);
lean_ctor_set(v___x_3379_, 3, v_a_3249_);
lean_ctor_set(v___x_3379_, 4, v_a_3270_);
lean_ctor_set(v___x_3379_, 5, v_a_3291_);
lean_ctor_set(v___x_3379_, 6, v_a_3312_);
lean_ctor_set(v___x_3379_, 7, v_a_3333_);
lean_ctor_set(v___x_3379_, 8, v_a_3354_);
lean_ctor_set(v___x_3379_, 9, v_a_3375_);
v___x_3380_ = lean_unbox(v_a_3207_);
lean_dec(v_a_3207_);
lean_ctor_set_uint8(v___x_3379_, sizeof(void*)*10, v___x_3380_);
if (v_isShared_3378_ == 0)
{
lean_ctor_set(v___x_3377_, 0, v___x_3379_);
v___x_3382_ = v___x_3377_;
goto v_reusejp_3381_;
}
else
{
lean_object* v_reuseFailAlloc_3383_; 
v_reuseFailAlloc_3383_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3383_, 0, v___x_3379_);
v___x_3382_ = v_reuseFailAlloc_3383_;
goto v_reusejp_3381_;
}
v_reusejp_3381_:
{
return v___x_3382_;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonThread_toJson(lean_object* v_x_3387_){
_start:
{
lean_object* v_name_3388_; lean_object* v_processType_3389_; uint8_t v_isMainThread_3390_; lean_object* v_samples_3391_; lean_object* v_markers_3392_; lean_object* v_stackTable_3393_; lean_object* v_frameTable_3394_; lean_object* v_resourceTable_3395_; lean_object* v_nativeSymbols_3396_; lean_object* v_stringArray_3397_; lean_object* v_funcTable_3398_; lean_object* v___x_3399_; lean_object* v___x_3400_; lean_object* v___x_3401_; lean_object* v___x_3402_; lean_object* v___x_3403_; lean_object* v___x_3404_; lean_object* v___x_3405_; lean_object* v___x_3406_; lean_object* v___x_3407_; lean_object* v___x_3408_; lean_object* v___x_3409_; lean_object* v___x_3410_; lean_object* v___x_3411_; lean_object* v___x_3412_; lean_object* v___x_3413_; lean_object* v___x_3414_; lean_object* v___x_3415_; lean_object* v___x_3416_; lean_object* v___x_3417_; lean_object* v___x_3418_; lean_object* v___x_3419_; lean_object* v___x_3420_; lean_object* v___x_3421_; lean_object* v___x_3422_; lean_object* v___x_3423_; lean_object* v___x_3424_; lean_object* v___x_3425_; lean_object* v___x_3426_; lean_object* v___x_3427_; lean_object* v___x_3428_; lean_object* v___x_3429_; lean_object* v___x_3430_; lean_object* v___x_3431_; lean_object* v___x_3432_; lean_object* v___x_3433_; lean_object* v___x_3434_; lean_object* v___x_3435_; lean_object* v___x_3436_; lean_object* v___x_3437_; lean_object* v___x_3438_; lean_object* v___x_3439_; lean_object* v___x_3440_; lean_object* v___x_3441_; lean_object* v___x_3442_; lean_object* v___x_3443_; lean_object* v___x_3444_; lean_object* v___x_3445_; lean_object* v___x_3446_; lean_object* v___x_3447_; lean_object* v___x_3448_; lean_object* v___x_3449_; lean_object* v___x_3450_; lean_object* v___x_3451_; lean_object* v___x_3452_; lean_object* v___x_3453_; lean_object* v___x_3454_; lean_object* v___x_3455_; lean_object* v___x_3456_; lean_object* v___x_3457_; 
v_name_3388_ = lean_ctor_get(v_x_3387_, 0);
lean_inc_ref(v_name_3388_);
v_processType_3389_ = lean_ctor_get(v_x_3387_, 1);
lean_inc_ref(v_processType_3389_);
v_isMainThread_3390_ = lean_ctor_get_uint8(v_x_3387_, sizeof(void*)*10);
v_samples_3391_ = lean_ctor_get(v_x_3387_, 2);
lean_inc_ref(v_samples_3391_);
v_markers_3392_ = lean_ctor_get(v_x_3387_, 3);
lean_inc_ref(v_markers_3392_);
v_stackTable_3393_ = lean_ctor_get(v_x_3387_, 4);
lean_inc_ref(v_stackTable_3393_);
v_frameTable_3394_ = lean_ctor_get(v_x_3387_, 5);
lean_inc_ref(v_frameTable_3394_);
v_resourceTable_3395_ = lean_ctor_get(v_x_3387_, 6);
lean_inc_ref(v_resourceTable_3395_);
v_nativeSymbols_3396_ = lean_ctor_get(v_x_3387_, 7);
lean_inc_ref(v_nativeSymbols_3396_);
v_stringArray_3397_ = lean_ctor_get(v_x_3387_, 8);
lean_inc_ref(v_stringArray_3397_);
v_funcTable_3398_ = lean_ctor_get(v_x_3387_, 9);
lean_inc_ref(v_funcTable_3398_);
lean_dec_ref(v_x_3387_);
v___x_3399_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__0));
v___x_3400_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_3400_, 0, v_name_3388_);
v___x_3401_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3401_, 0, v___x_3399_);
lean_ctor_set(v___x_3401_, 1, v___x_3400_);
v___x_3402_ = lean_box(0);
v___x_3403_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3403_, 0, v___x_3401_);
lean_ctor_set(v___x_3403_, 1, v___x_3402_);
v___x_3404_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfileMeta_fromJson___closed__19));
v___x_3405_ = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(v___x_3405_, 0, v_processType_3389_);
v___x_3406_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3406_, 0, v___x_3404_);
lean_ctor_set(v___x_3406_, 1, v___x_3405_);
v___x_3407_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3407_, 0, v___x_3406_);
lean_ctor_set(v___x_3407_, 1, v___x_3402_);
v___x_3408_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__8));
v___x_3409_ = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(v___x_3409_, 0, v_isMainThread_3390_);
v___x_3410_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3410_, 0, v___x_3408_);
lean_ctor_set(v___x_3410_, 1, v___x_3409_);
v___x_3411_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3411_, 0, v___x_3410_);
lean_ctor_set(v___x_3411_, 1, v___x_3402_);
v___x_3412_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__13));
v___x_3413_ = l_Lean_Firefox_instToJsonSamplesTable_toJson(v_samples_3391_);
v___x_3414_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3414_, 0, v___x_3412_);
lean_ctor_set(v___x_3414_, 1, v___x_3413_);
v___x_3415_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3415_, 0, v___x_3414_);
lean_ctor_set(v___x_3415_, 1, v___x_3402_);
v___x_3416_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__18));
v___x_3417_ = l_Lean_Firefox_instToJsonRawMarkerTable_toJson(v_markers_3392_);
v___x_3418_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3418_, 0, v___x_3416_);
lean_ctor_set(v___x_3418_, 1, v___x_3417_);
v___x_3419_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3419_, 0, v___x_3418_);
lean_ctor_set(v___x_3419_, 1, v___x_3402_);
v___x_3420_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__23));
v___x_3421_ = l_Lean_Firefox_instToJsonStackTable_toJson(v_stackTable_3393_);
v___x_3422_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3422_, 0, v___x_3420_);
lean_ctor_set(v___x_3422_, 1, v___x_3421_);
v___x_3423_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3423_, 0, v___x_3422_);
lean_ctor_set(v___x_3423_, 1, v___x_3402_);
v___x_3424_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__28));
v___x_3425_ = l_Lean_Firefox_instToJsonFrameTable_toJson(v_frameTable_3394_);
v___x_3426_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3426_, 0, v___x_3424_);
lean_ctor_set(v___x_3426_, 1, v___x_3425_);
v___x_3427_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3427_, 0, v___x_3426_);
lean_ctor_set(v___x_3427_, 1, v___x_3402_);
v___x_3428_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__33));
v___x_3429_ = l_Lean_Firefox_instToJsonResourceTable_toJson(v_resourceTable_3395_);
v___x_3430_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3430_, 0, v___x_3428_);
lean_ctor_set(v___x_3430_, 1, v___x_3429_);
v___x_3431_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3431_, 0, v___x_3430_);
lean_ctor_set(v___x_3431_, 1, v___x_3402_);
v___x_3432_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__38));
v___x_3433_ = l_Lean_Firefox_instToJsonResourceTable_toJson(v_nativeSymbols_3396_);
v___x_3434_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3434_, 0, v___x_3432_);
lean_ctor_set(v___x_3434_, 1, v___x_3433_);
v___x_3435_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3435_, 0, v___x_3434_);
lean_ctor_set(v___x_3435_, 1, v___x_3402_);
v___x_3436_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__43));
v___x_3437_ = l_Array_toJson___at___00Lean_Firefox_instToJsonCategory_toJson_spec__0(v_stringArray_3397_);
v___x_3438_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3438_, 0, v___x_3436_);
lean_ctor_set(v___x_3438_, 1, v___x_3437_);
v___x_3439_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3439_, 0, v___x_3438_);
lean_ctor_set(v___x_3439_, 1, v___x_3402_);
v___x_3440_ = ((lean_object*)(l_Lean_Firefox_instFromJsonThread_fromJson___closed__48));
v___x_3441_ = l_Lean_Firefox_instToJsonFuncTable_toJson(v_funcTable_3398_);
v___x_3442_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3442_, 0, v___x_3440_);
lean_ctor_set(v___x_3442_, 1, v___x_3441_);
v___x_3443_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3443_, 0, v___x_3442_);
lean_ctor_set(v___x_3443_, 1, v___x_3402_);
v___x_3444_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3444_, 0, v___x_3443_);
lean_ctor_set(v___x_3444_, 1, v___x_3402_);
v___x_3445_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3445_, 0, v___x_3439_);
lean_ctor_set(v___x_3445_, 1, v___x_3444_);
v___x_3446_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3446_, 0, v___x_3435_);
lean_ctor_set(v___x_3446_, 1, v___x_3445_);
v___x_3447_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3447_, 0, v___x_3431_);
lean_ctor_set(v___x_3447_, 1, v___x_3446_);
v___x_3448_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3448_, 0, v___x_3427_);
lean_ctor_set(v___x_3448_, 1, v___x_3447_);
v___x_3449_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3449_, 0, v___x_3423_);
lean_ctor_set(v___x_3449_, 1, v___x_3448_);
v___x_3450_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3450_, 0, v___x_3419_);
lean_ctor_set(v___x_3450_, 1, v___x_3449_);
v___x_3451_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3451_, 0, v___x_3415_);
lean_ctor_set(v___x_3451_, 1, v___x_3450_);
v___x_3452_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3452_, 0, v___x_3411_);
lean_ctor_set(v___x_3452_, 1, v___x_3451_);
v___x_3453_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3453_, 0, v___x_3407_);
lean_ctor_set(v___x_3453_, 1, v___x_3452_);
v___x_3454_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3454_, 0, v___x_3403_);
lean_ctor_set(v___x_3454_, 1, v___x_3453_);
v___x_3455_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_3456_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_3454_, v___x_3455_);
v___x_3457_ = l_Lean_Json_mkObj(v___x_3456_);
return v___x_3457_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0(lean_object* v_j_3460_, lean_object* v_k_3461_){
_start:
{
lean_object* v___x_3462_; lean_object* v___x_3463_; 
v___x_3462_ = l_Lean_Json_getObjValD(v_j_3460_, v_k_3461_);
v___x_3463_ = l_Lean_Firefox_instFromJsonProfileMeta_fromJson(v___x_3462_);
return v___x_3463_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0___boxed(lean_object* v_j_3464_, lean_object* v_k_3465_){
_start:
{
lean_object* v_res_3466_; 
v_res_3466_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0(v_j_3464_, v_k_3465_);
lean_dec_ref(v_k_3465_);
return v_res_3466_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2(size_t v_sz_3467_, size_t v_i_3468_, lean_object* v_bs_3469_){
_start:
{
uint8_t v___x_3470_; 
v___x_3470_ = lean_usize_dec_lt(v_i_3468_, v_sz_3467_);
if (v___x_3470_ == 0)
{
lean_object* v___x_3471_; 
v___x_3471_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_3471_, 0, v_bs_3469_);
return v___x_3471_;
}
else
{
lean_object* v_v_3472_; lean_object* v___x_3473_; 
v_v_3472_ = lean_array_uget_borrowed(v_bs_3469_, v_i_3468_);
lean_inc(v_v_3472_);
v___x_3473_ = l_Lean_Firefox_instFromJsonThread_fromJson(v_v_3472_);
if (lean_obj_tag(v___x_3473_) == 0)
{
lean_object* v_a_3474_; lean_object* v___x_3476_; uint8_t v_isShared_3477_; uint8_t v_isSharedCheck_3481_; 
lean_dec_ref(v_bs_3469_);
v_a_3474_ = lean_ctor_get(v___x_3473_, 0);
v_isSharedCheck_3481_ = !lean_is_exclusive(v___x_3473_);
if (v_isSharedCheck_3481_ == 0)
{
v___x_3476_ = v___x_3473_;
v_isShared_3477_ = v_isSharedCheck_3481_;
goto v_resetjp_3475_;
}
else
{
lean_inc(v_a_3474_);
lean_dec(v___x_3473_);
v___x_3476_ = lean_box(0);
v_isShared_3477_ = v_isSharedCheck_3481_;
goto v_resetjp_3475_;
}
v_resetjp_3475_:
{
lean_object* v___x_3479_; 
if (v_isShared_3477_ == 0)
{
v___x_3479_ = v___x_3476_;
goto v_reusejp_3478_;
}
else
{
lean_object* v_reuseFailAlloc_3480_; 
v_reuseFailAlloc_3480_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3480_, 0, v_a_3474_);
v___x_3479_ = v_reuseFailAlloc_3480_;
goto v_reusejp_3478_;
}
v_reusejp_3478_:
{
return v___x_3479_;
}
}
}
else
{
lean_object* v_a_3482_; lean_object* v___x_3483_; lean_object* v_bs_x27_3484_; size_t v___x_3485_; size_t v___x_3486_; lean_object* v___x_3487_; 
v_a_3482_ = lean_ctor_get(v___x_3473_, 0);
lean_inc(v_a_3482_);
lean_dec_ref(v___x_3473_);
v___x_3483_ = lean_unsigned_to_nat(0u);
v_bs_x27_3484_ = lean_array_uset(v_bs_3469_, v_i_3468_, v___x_3483_);
v___x_3485_ = ((size_t)1ULL);
v___x_3486_ = lean_usize_add(v_i_3468_, v___x_3485_);
v___x_3487_ = lean_array_uset(v_bs_x27_3484_, v_i_3468_, v_a_3482_);
v_i_3468_ = v___x_3486_;
v_bs_3469_ = v___x_3487_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2___boxed(lean_object* v_sz_3489_, lean_object* v_i_3490_, lean_object* v_bs_3491_){
_start:
{
size_t v_sz_boxed_3492_; size_t v_i_boxed_3493_; lean_object* v_res_3494_; 
v_sz_boxed_3492_ = lean_unbox_usize(v_sz_3489_);
lean_dec(v_sz_3489_);
v_i_boxed_3493_ = lean_unbox_usize(v_i_3490_);
lean_dec(v_i_3490_);
v_res_3494_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2(v_sz_boxed_3492_, v_i_boxed_3493_, v_bs_3491_);
return v_res_3494_;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1(lean_object* v_x_3495_){
_start:
{
if (lean_obj_tag(v_x_3495_) == 4)
{
lean_object* v_elems_3496_; size_t v_sz_3497_; size_t v___x_3498_; lean_object* v___x_3499_; 
v_elems_3496_ = lean_ctor_get(v_x_3495_, 0);
lean_inc_ref(v_elems_3496_);
lean_dec_ref(v_x_3495_);
v_sz_3497_ = lean_array_size(v_elems_3496_);
v___x_3498_ = ((size_t)0ULL);
v___x_3499_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1_spec__2(v_sz_3497_, v___x_3498_, v_elems_3496_);
return v___x_3499_;
}
else
{
lean_object* v___x_3500_; lean_object* v___x_3501_; lean_object* v___x_3502_; lean_object* v___x_3503_; lean_object* v___x_3504_; lean_object* v___x_3505_; lean_object* v___x_3506_; 
v___x_3500_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__0));
v___x_3501_ = lean_unsigned_to_nat(80u);
v___x_3502_ = l_Lean_Json_pretty(v_x_3495_, v___x_3501_);
v___x_3503_ = lean_string_append(v___x_3500_, v___x_3502_);
lean_dec_ref(v___x_3502_);
v___x_3504_ = ((lean_object*)(l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonCategory_fromJson_spec__2_spec__2___closed__1));
v___x_3505_ = lean_string_append(v___x_3503_, v___x_3504_);
v___x_3506_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_3506_, 0, v___x_3505_);
return v___x_3506_;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1(lean_object* v_j_3507_, lean_object* v_k_3508_){
_start:
{
lean_object* v___x_3509_; lean_object* v___x_3510_; 
v___x_3509_ = l_Lean_Json_getObjValD(v_j_3507_, v_k_3508_);
v___x_3510_ = l_Array_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1_spec__1(v___x_3509_);
return v___x_3510_;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1___boxed(lean_object* v_j_3511_, lean_object* v_k_3512_){
_start:
{
lean_object* v_res_3513_; 
v_res_3513_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1(v_j_3511_, v_k_3512_);
lean_dec_ref(v_k_3512_);
return v_res_3513_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3(void){
_start:
{
uint8_t v___x_3520_; lean_object* v___x_3521_; lean_object* v___x_3522_; 
v___x_3520_ = 1;
v___x_3521_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__2));
v___x_3522_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3521_, v___x_3520_);
return v___x_3522_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4(void){
_start:
{
lean_object* v___x_3523_; lean_object* v___x_3524_; lean_object* v___x_3525_; 
v___x_3523_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__6));
v___x_3524_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__3);
v___x_3525_ = lean_string_append(v___x_3524_, v___x_3523_);
return v___x_3525_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6(void){
_start:
{
uint8_t v___x_3528_; lean_object* v___x_3529_; lean_object* v___x_3530_; 
v___x_3528_ = 1;
v___x_3529_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__5));
v___x_3530_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3529_, v___x_3528_);
return v___x_3530_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7(void){
_start:
{
lean_object* v___x_3531_; lean_object* v___x_3532_; lean_object* v___x_3533_; 
v___x_3531_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__6);
v___x_3532_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4);
v___x_3533_ = lean_string_append(v___x_3532_, v___x_3531_);
return v___x_3533_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8(void){
_start:
{
lean_object* v___x_3534_; lean_object* v___x_3535_; lean_object* v___x_3536_; 
v___x_3534_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3535_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__7);
v___x_3536_ = lean_string_append(v___x_3535_, v___x_3534_);
return v___x_3536_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11(void){
_start:
{
uint8_t v___x_3540_; lean_object* v___x_3541_; lean_object* v___x_3542_; 
v___x_3540_ = 1;
v___x_3541_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__10));
v___x_3542_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3541_, v___x_3540_);
return v___x_3542_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12(void){
_start:
{
lean_object* v___x_3543_; lean_object* v___x_3544_; lean_object* v___x_3545_; 
v___x_3543_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__11);
v___x_3544_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4);
v___x_3545_ = lean_string_append(v___x_3544_, v___x_3543_);
return v___x_3545_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13(void){
_start:
{
lean_object* v___x_3546_; lean_object* v___x_3547_; lean_object* v___x_3548_; 
v___x_3546_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3547_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__12);
v___x_3548_ = lean_string_append(v___x_3547_, v___x_3546_);
return v___x_3548_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16(void){
_start:
{
uint8_t v___x_3552_; lean_object* v___x_3553_; lean_object* v___x_3554_; 
v___x_3552_ = 1;
v___x_3553_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__15));
v___x_3554_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v___x_3553_, v___x_3552_);
return v___x_3554_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17(void){
_start:
{
lean_object* v___x_3555_; lean_object* v___x_3556_; lean_object* v___x_3557_; 
v___x_3555_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__16);
v___x_3556_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__4);
v___x_3557_ = lean_string_append(v___x_3556_, v___x_3555_);
return v___x_3557_;
}
}
static lean_object* _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18(void){
_start:
{
lean_object* v___x_3558_; lean_object* v___x_3559_; lean_object* v___x_3560_; 
v___x_3558_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_3559_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__17);
v___x_3560_ = lean_string_append(v___x_3559_, v___x_3558_);
return v___x_3560_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instFromJsonProfile_fromJson(lean_object* v_json_3561_){
_start:
{
lean_object* v___x_3562_; lean_object* v___x_3563_; 
v___x_3562_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0));
lean_inc(v_json_3561_);
v___x_3563_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__0(v_json_3561_, v___x_3562_);
if (lean_obj_tag(v___x_3563_) == 0)
{
lean_object* v_a_3564_; lean_object* v___x_3566_; uint8_t v_isShared_3567_; uint8_t v_isSharedCheck_3573_; 
lean_dec(v_json_3561_);
v_a_3564_ = lean_ctor_get(v___x_3563_, 0);
v_isSharedCheck_3573_ = !lean_is_exclusive(v___x_3563_);
if (v_isSharedCheck_3573_ == 0)
{
v___x_3566_ = v___x_3563_;
v_isShared_3567_ = v_isSharedCheck_3573_;
goto v_resetjp_3565_;
}
else
{
lean_inc(v_a_3564_);
lean_dec(v___x_3563_);
v___x_3566_ = lean_box(0);
v_isShared_3567_ = v_isSharedCheck_3573_;
goto v_resetjp_3565_;
}
v_resetjp_3565_:
{
lean_object* v___x_3568_; lean_object* v___x_3569_; lean_object* v___x_3571_; 
v___x_3568_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__8);
v___x_3569_ = lean_string_append(v___x_3568_, v_a_3564_);
lean_dec(v_a_3564_);
if (v_isShared_3567_ == 0)
{
lean_ctor_set(v___x_3566_, 0, v___x_3569_);
v___x_3571_ = v___x_3566_;
goto v_reusejp_3570_;
}
else
{
lean_object* v_reuseFailAlloc_3572_; 
v_reuseFailAlloc_3572_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3572_, 0, v___x_3569_);
v___x_3571_ = v_reuseFailAlloc_3572_;
goto v_reusejp_3570_;
}
v_reusejp_3570_:
{
return v___x_3571_;
}
}
}
else
{
if (lean_obj_tag(v___x_3563_) == 0)
{
lean_object* v_a_3574_; lean_object* v___x_3576_; uint8_t v_isShared_3577_; uint8_t v_isSharedCheck_3581_; 
lean_dec(v_json_3561_);
v_a_3574_ = lean_ctor_get(v___x_3563_, 0);
v_isSharedCheck_3581_ = !lean_is_exclusive(v___x_3563_);
if (v_isSharedCheck_3581_ == 0)
{
v___x_3576_ = v___x_3563_;
v_isShared_3577_ = v_isSharedCheck_3581_;
goto v_resetjp_3575_;
}
else
{
lean_inc(v_a_3574_);
lean_dec(v___x_3563_);
v___x_3576_ = lean_box(0);
v_isShared_3577_ = v_isSharedCheck_3581_;
goto v_resetjp_3575_;
}
v_resetjp_3575_:
{
lean_object* v___x_3579_; 
if (v_isShared_3577_ == 0)
{
lean_ctor_set_tag(v___x_3576_, 0);
v___x_3579_ = v___x_3576_;
goto v_reusejp_3578_;
}
else
{
lean_object* v_reuseFailAlloc_3580_; 
v_reuseFailAlloc_3580_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3580_, 0, v_a_3574_);
v___x_3579_ = v_reuseFailAlloc_3580_;
goto v_reusejp_3578_;
}
v_reusejp_3578_:
{
return v___x_3579_;
}
}
}
else
{
lean_object* v_a_3582_; lean_object* v___x_3583_; lean_object* v___x_3584_; 
v_a_3582_ = lean_ctor_get(v___x_3563_, 0);
lean_inc(v_a_3582_);
lean_dec_ref(v___x_3563_);
v___x_3583_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9));
lean_inc(v_json_3561_);
v___x_3584_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfileMeta_fromJson_spec__3(v_json_3561_, v___x_3583_);
if (lean_obj_tag(v___x_3584_) == 0)
{
lean_object* v_a_3585_; lean_object* v___x_3587_; uint8_t v_isShared_3588_; uint8_t v_isSharedCheck_3594_; 
lean_dec(v_a_3582_);
lean_dec(v_json_3561_);
v_a_3585_ = lean_ctor_get(v___x_3584_, 0);
v_isSharedCheck_3594_ = !lean_is_exclusive(v___x_3584_);
if (v_isSharedCheck_3594_ == 0)
{
v___x_3587_ = v___x_3584_;
v_isShared_3588_ = v_isSharedCheck_3594_;
goto v_resetjp_3586_;
}
else
{
lean_inc(v_a_3585_);
lean_dec(v___x_3584_);
v___x_3587_ = lean_box(0);
v_isShared_3588_ = v_isSharedCheck_3594_;
goto v_resetjp_3586_;
}
v_resetjp_3586_:
{
lean_object* v___x_3589_; lean_object* v___x_3590_; lean_object* v___x_3592_; 
v___x_3589_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__13);
v___x_3590_ = lean_string_append(v___x_3589_, v_a_3585_);
lean_dec(v_a_3585_);
if (v_isShared_3588_ == 0)
{
lean_ctor_set(v___x_3587_, 0, v___x_3590_);
v___x_3592_ = v___x_3587_;
goto v_reusejp_3591_;
}
else
{
lean_object* v_reuseFailAlloc_3593_; 
v_reuseFailAlloc_3593_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3593_, 0, v___x_3590_);
v___x_3592_ = v_reuseFailAlloc_3593_;
goto v_reusejp_3591_;
}
v_reusejp_3591_:
{
return v___x_3592_;
}
}
}
else
{
if (lean_obj_tag(v___x_3584_) == 0)
{
lean_object* v_a_3595_; lean_object* v___x_3597_; uint8_t v_isShared_3598_; uint8_t v_isSharedCheck_3602_; 
lean_dec(v_a_3582_);
lean_dec(v_json_3561_);
v_a_3595_ = lean_ctor_get(v___x_3584_, 0);
v_isSharedCheck_3602_ = !lean_is_exclusive(v___x_3584_);
if (v_isSharedCheck_3602_ == 0)
{
v___x_3597_ = v___x_3584_;
v_isShared_3598_ = v_isSharedCheck_3602_;
goto v_resetjp_3596_;
}
else
{
lean_inc(v_a_3595_);
lean_dec(v___x_3584_);
v___x_3597_ = lean_box(0);
v_isShared_3598_ = v_isSharedCheck_3602_;
goto v_resetjp_3596_;
}
v_resetjp_3596_:
{
lean_object* v___x_3600_; 
if (v_isShared_3598_ == 0)
{
lean_ctor_set_tag(v___x_3597_, 0);
v___x_3600_ = v___x_3597_;
goto v_reusejp_3599_;
}
else
{
lean_object* v_reuseFailAlloc_3601_; 
v_reuseFailAlloc_3601_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3601_, 0, v_a_3595_);
v___x_3600_ = v_reuseFailAlloc_3601_;
goto v_reusejp_3599_;
}
v_reusejp_3599_:
{
return v___x_3600_;
}
}
}
else
{
lean_object* v_a_3603_; lean_object* v___x_3604_; lean_object* v___x_3605_; 
v_a_3603_ = lean_ctor_get(v___x_3584_, 0);
lean_inc(v_a_3603_);
lean_dec_ref(v___x_3584_);
v___x_3604_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14));
v___x_3605_ = l_Lean_Json_getObjValAs_x3f___at___00Lean_Firefox_instFromJsonProfile_fromJson_spec__1(v_json_3561_, v___x_3604_);
if (lean_obj_tag(v___x_3605_) == 0)
{
lean_object* v_a_3606_; lean_object* v___x_3608_; uint8_t v_isShared_3609_; uint8_t v_isSharedCheck_3615_; 
lean_dec(v_a_3603_);
lean_dec(v_a_3582_);
v_a_3606_ = lean_ctor_get(v___x_3605_, 0);
v_isSharedCheck_3615_ = !lean_is_exclusive(v___x_3605_);
if (v_isSharedCheck_3615_ == 0)
{
v___x_3608_ = v___x_3605_;
v_isShared_3609_ = v_isSharedCheck_3615_;
goto v_resetjp_3607_;
}
else
{
lean_inc(v_a_3606_);
lean_dec(v___x_3605_);
v___x_3608_ = lean_box(0);
v_isShared_3609_ = v_isSharedCheck_3615_;
goto v_resetjp_3607_;
}
v_resetjp_3607_:
{
lean_object* v___x_3610_; lean_object* v___x_3611_; lean_object* v___x_3613_; 
v___x_3610_ = lean_obj_once(&l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18, &l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18_once, _init_l_Lean_Firefox_instFromJsonProfile_fromJson___closed__18);
v___x_3611_ = lean_string_append(v___x_3610_, v_a_3606_);
lean_dec(v_a_3606_);
if (v_isShared_3609_ == 0)
{
lean_ctor_set(v___x_3608_, 0, v___x_3611_);
v___x_3613_ = v___x_3608_;
goto v_reusejp_3612_;
}
else
{
lean_object* v_reuseFailAlloc_3614_; 
v_reuseFailAlloc_3614_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3614_, 0, v___x_3611_);
v___x_3613_ = v_reuseFailAlloc_3614_;
goto v_reusejp_3612_;
}
v_reusejp_3612_:
{
return v___x_3613_;
}
}
}
else
{
if (lean_obj_tag(v___x_3605_) == 0)
{
lean_object* v_a_3616_; lean_object* v___x_3618_; uint8_t v_isShared_3619_; uint8_t v_isSharedCheck_3623_; 
lean_dec(v_a_3603_);
lean_dec(v_a_3582_);
v_a_3616_ = lean_ctor_get(v___x_3605_, 0);
v_isSharedCheck_3623_ = !lean_is_exclusive(v___x_3605_);
if (v_isSharedCheck_3623_ == 0)
{
v___x_3618_ = v___x_3605_;
v_isShared_3619_ = v_isSharedCheck_3623_;
goto v_resetjp_3617_;
}
else
{
lean_inc(v_a_3616_);
lean_dec(v___x_3605_);
v___x_3618_ = lean_box(0);
v_isShared_3619_ = v_isSharedCheck_3623_;
goto v_resetjp_3617_;
}
v_resetjp_3617_:
{
lean_object* v___x_3621_; 
if (v_isShared_3619_ == 0)
{
lean_ctor_set_tag(v___x_3618_, 0);
v___x_3621_ = v___x_3618_;
goto v_reusejp_3620_;
}
else
{
lean_object* v_reuseFailAlloc_3622_; 
v_reuseFailAlloc_3622_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3622_, 0, v_a_3616_);
v___x_3621_ = v_reuseFailAlloc_3622_;
goto v_reusejp_3620_;
}
v_reusejp_3620_:
{
return v___x_3621_;
}
}
}
else
{
lean_object* v_a_3624_; lean_object* v___x_3626_; uint8_t v_isShared_3627_; uint8_t v_isSharedCheck_3632_; 
v_a_3624_ = lean_ctor_get(v___x_3605_, 0);
v_isSharedCheck_3632_ = !lean_is_exclusive(v___x_3605_);
if (v_isSharedCheck_3632_ == 0)
{
v___x_3626_ = v___x_3605_;
v_isShared_3627_ = v_isSharedCheck_3632_;
goto v_resetjp_3625_;
}
else
{
lean_inc(v_a_3624_);
lean_dec(v___x_3605_);
v___x_3626_ = lean_box(0);
v_isShared_3627_ = v_isSharedCheck_3632_;
goto v_resetjp_3625_;
}
v_resetjp_3625_:
{
lean_object* v___x_3628_; lean_object* v___x_3630_; 
v___x_3628_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_3628_, 0, v_a_3582_);
lean_ctor_set(v___x_3628_, 1, v_a_3603_);
lean_ctor_set(v___x_3628_, 2, v_a_3624_);
if (v_isShared_3627_ == 0)
{
lean_ctor_set(v___x_3626_, 0, v___x_3628_);
v___x_3630_ = v___x_3626_;
goto v_reusejp_3629_;
}
else
{
lean_object* v_reuseFailAlloc_3631_; 
v_reuseFailAlloc_3631_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_3631_, 0, v___x_3628_);
v___x_3630_ = v_reuseFailAlloc_3631_;
goto v_reusejp_3629_;
}
v_reusejp_3629_:
{
return v___x_3630_;
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0(size_t v_sz_3635_, size_t v_i_3636_, lean_object* v_bs_3637_){
_start:
{
uint8_t v___x_3638_; 
v___x_3638_ = lean_usize_dec_lt(v_i_3636_, v_sz_3635_);
if (v___x_3638_ == 0)
{
return v_bs_3637_;
}
else
{
lean_object* v_v_3639_; lean_object* v___x_3640_; lean_object* v_bs_x27_3641_; lean_object* v___x_3642_; size_t v___x_3643_; size_t v___x_3644_; lean_object* v___x_3645_; 
v_v_3639_ = lean_array_uget(v_bs_3637_, v_i_3636_);
v___x_3640_ = lean_unsigned_to_nat(0u);
v_bs_x27_3641_ = lean_array_uset(v_bs_3637_, v_i_3636_, v___x_3640_);
v___x_3642_ = l_Lean_Firefox_instToJsonThread_toJson(v_v_3639_);
v___x_3643_ = ((size_t)1ULL);
v___x_3644_ = lean_usize_add(v_i_3636_, v___x_3643_);
v___x_3645_ = lean_array_uset(v_bs_x27_3641_, v_i_3636_, v___x_3642_);
v_i_3636_ = v___x_3644_;
v_bs_3637_ = v___x_3645_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0___boxed(lean_object* v_sz_3647_, lean_object* v_i_3648_, lean_object* v_bs_3649_){
_start:
{
size_t v_sz_boxed_3650_; size_t v_i_boxed_3651_; lean_object* v_res_3652_; 
v_sz_boxed_3650_ = lean_unbox_usize(v_sz_3647_);
lean_dec(v_sz_3647_);
v_i_boxed_3651_ = lean_unbox_usize(v_i_3648_);
lean_dec(v_i_3648_);
v_res_3652_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0(v_sz_boxed_3650_, v_i_boxed_3651_, v_bs_3649_);
return v_res_3652_;
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0(lean_object* v_a_3653_){
_start:
{
size_t v_sz_3654_; size_t v___x_3655_; lean_object* v___x_3656_; lean_object* v___x_3657_; 
v_sz_3654_ = lean_array_size(v_a_3653_);
v___x_3655_ = ((size_t)0ULL);
v___x_3656_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0_spec__0(v_sz_3654_, v___x_3655_, v_a_3653_);
v___x_3657_ = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(v___x_3657_, 0, v___x_3656_);
return v___x_3657_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_instToJsonProfile_toJson(lean_object* v_x_3658_){
_start:
{
lean_object* v_meta_3659_; lean_object* v_libs_3660_; lean_object* v_threads_3661_; lean_object* v___x_3662_; lean_object* v___x_3663_; lean_object* v___x_3664_; lean_object* v___x_3665_; lean_object* v___x_3666_; lean_object* v___x_3667_; lean_object* v___x_3668_; lean_object* v___x_3669_; lean_object* v___x_3670_; lean_object* v___x_3671_; lean_object* v___x_3672_; lean_object* v___x_3673_; lean_object* v___x_3674_; lean_object* v___x_3675_; lean_object* v___x_3676_; lean_object* v___x_3677_; lean_object* v___x_3678_; lean_object* v___x_3679_; lean_object* v___x_3680_; 
v_meta_3659_ = lean_ctor_get(v_x_3658_, 0);
lean_inc_ref(v_meta_3659_);
v_libs_3660_ = lean_ctor_get(v_x_3658_, 1);
lean_inc_ref(v_libs_3660_);
v_threads_3661_ = lean_ctor_get(v_x_3658_, 2);
lean_inc_ref(v_threads_3661_);
lean_dec_ref(v_x_3658_);
v___x_3662_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__0));
v___x_3663_ = l_Lean_Firefox_instToJsonProfileMeta_toJson(v_meta_3659_);
v___x_3664_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3664_, 0, v___x_3662_);
lean_ctor_set(v___x_3664_, 1, v___x_3663_);
v___x_3665_ = lean_box(0);
v___x_3666_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3666_, 0, v___x_3664_);
lean_ctor_set(v___x_3666_, 1, v___x_3665_);
v___x_3667_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__9));
v___x_3668_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfileMeta_toJson_spec__1(v_libs_3660_);
v___x_3669_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3669_, 0, v___x_3667_);
lean_ctor_set(v___x_3669_, 1, v___x_3668_);
v___x_3670_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3670_, 0, v___x_3669_);
lean_ctor_set(v___x_3670_, 1, v___x_3665_);
v___x_3671_ = ((lean_object*)(l_Lean_Firefox_instFromJsonProfile_fromJson___closed__14));
v___x_3672_ = l_Array_toJson___at___00Lean_Firefox_instToJsonProfile_toJson_spec__0(v_threads_3661_);
v___x_3673_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3673_, 0, v___x_3671_);
lean_ctor_set(v___x_3673_, 1, v___x_3672_);
v___x_3674_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3674_, 0, v___x_3673_);
lean_ctor_set(v___x_3674_, 1, v___x_3665_);
v___x_3675_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3675_, 0, v___x_3674_);
lean_ctor_set(v___x_3675_, 1, v___x_3665_);
v___x_3676_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3676_, 0, v___x_3670_);
lean_ctor_set(v___x_3676_, 1, v___x_3675_);
v___x_3677_ = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(v___x_3677_, 0, v___x_3666_);
lean_ctor_set(v___x_3677_, 1, v___x_3676_);
v___x_3678_ = ((lean_object*)(l_Lean_Firefox_instToJsonCategory_toJson___closed__0));
v___x_3679_ = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Firefox_instToJsonCategory_toJson_spec__1(v___x_3677_, v___x_3678_);
v___x_3680_ = l_Lean_Json_mkObj(v___x_3679_);
return v___x_3680_;
}
}
static double _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0(void){
_start:
{
lean_object* v___x_3752_; double v___x_3753_; 
v___x_3752_ = lean_unsigned_to_nat(0u);
v___x_3753_ = lean_float_of_nat(v___x_3752_);
return v___x_3753_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(lean_object* v_x_3754_){
_start:
{
switch(lean_obj_tag(v_x_3754_))
{
case 9:
{
lean_object* v_data_3755_; lean_object* v_children_3756_; double v_startTime_3757_; double v___x_3758_; uint8_t v___x_3759_; 
v_data_3755_ = lean_ctor_get(v_x_3754_, 0);
v_children_3756_ = lean_ctor_get(v_x_3754_, 2);
v_startTime_3757_ = lean_ctor_get_float(v_data_3755_, sizeof(void*)*3);
v___x_3758_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0);
v___x_3759_ = lean_float_beq(v_startTime_3757_, v___x_3758_);
if (v___x_3759_ == 0)
{
lean_object* v___x_3760_; lean_object* v___x_3761_; 
v___x_3760_ = lean_box_float(v_startTime_3757_);
v___x_3761_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_3761_, 0, v___x_3760_);
return v___x_3761_;
}
else
{
lean_object* v___x_3762_; lean_object* v___x_3763_; size_t v_sz_3764_; size_t v___x_3765_; lean_object* v___x_3766_; lean_object* v_fst_3767_; 
v___x_3762_ = lean_box(0);
v___x_3763_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___closed__0));
v_sz_3764_ = lean_array_size(v_children_3756_);
v___x_3765_ = ((size_t)0ULL);
v___x_3766_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0(v_children_3756_, v_sz_3764_, v___x_3765_, v___x_3763_);
v_fst_3767_ = lean_ctor_get(v___x_3766_, 0);
lean_inc(v_fst_3767_);
lean_dec_ref(v___x_3766_);
if (lean_obj_tag(v_fst_3767_) == 0)
{
return v___x_3762_;
}
else
{
lean_object* v_val_3768_; 
v_val_3768_ = lean_ctor_get(v_fst_3767_, 0);
lean_inc(v_val_3768_);
lean_dec_ref(v_fst_3767_);
if (lean_obj_tag(v_val_3768_) == 1)
{
return v_val_3768_;
}
else
{
lean_dec(v_val_3768_);
return v___x_3762_;
}
}
}
}
case 3:
{
lean_object* v_a_3769_; 
v_a_3769_ = lean_ctor_get(v_x_3754_, 1);
v_x_3754_ = v_a_3769_;
goto _start;
}
default: 
{
lean_object* v___x_3771_; 
v___x_3771_ = lean_box(0);
return v___x_3771_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0(lean_object* v_as_3772_, size_t v_sz_3773_, size_t v_i_3774_, lean_object* v_b_3775_){
_start:
{
uint8_t v___x_3776_; 
v___x_3776_ = lean_usize_dec_lt(v_i_3774_, v_sz_3773_);
if (v___x_3776_ == 0)
{
return v_b_3775_;
}
else
{
lean_object* v___x_3777_; lean_object* v_a_3778_; lean_object* v___x_3779_; 
lean_dec_ref(v_b_3775_);
v___x_3777_ = lean_box(0);
v_a_3778_ = lean_array_uget_borrowed(v_as_3772_, v_i_3774_);
v___x_3779_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(v_a_3778_);
if (lean_obj_tag(v___x_3779_) == 1)
{
lean_object* v___x_3780_; lean_object* v___x_3781_; 
v___x_3780_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_3780_, 0, v___x_3779_);
v___x_3781_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_3781_, 0, v___x_3780_);
lean_ctor_set(v___x_3781_, 1, v___x_3777_);
return v___x_3781_;
}
else
{
lean_object* v___x_3782_; size_t v___x_3783_; size_t v___x_3784_; 
lean_dec(v___x_3779_);
v___x_3782_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___closed__0));
v___x_3783_ = ((size_t)1ULL);
v___x_3784_ = lean_usize_add(v_i_3774_, v___x_3783_);
v_i_3774_ = v___x_3784_;
v_b_3775_ = v___x_3782_;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0___boxed(lean_object* v_as_3786_, lean_object* v_sz_3787_, lean_object* v_i_3788_, lean_object* v_b_3789_){
_start:
{
size_t v_sz_boxed_3790_; size_t v_i_boxed_3791_; lean_object* v_res_3792_; 
v_sz_boxed_3790_ = lean_unbox_usize(v_sz_3787_);
lean_dec(v_sz_3787_);
v_i_boxed_3791_ = lean_unbox_usize(v_i_3788_);
lean_dec(v_i_3788_);
v_res_3792_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f_spec__0(v_as_3786_, v_sz_boxed_3790_, v_i_boxed_3791_, v_b_3789_);
lean_dec_ref(v_as_3786_);
return v_res_3792_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___boxed(lean_object* v_x_3793_){
_start:
{
lean_object* v_res_3794_; 
v_res_3794_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(v_x_3793_);
lean_dec_ref(v_x_3793_);
return v_res_3794_;
}
}
LEAN_EXPORT uint8_t l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0(lean_object* v_cls_3795_, lean_object* v_x_3796_){
_start:
{
lean_object* v_name_3797_; uint8_t v___x_3798_; 
v_name_3797_ = lean_ctor_get(v_x_3796_, 0);
v___x_3798_ = l_Lean_Name_isPrefixOf(v_name_3797_, v_cls_3795_);
return v___x_3798_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0___boxed(lean_object* v_cls_3799_, lean_object* v_x_3800_){
_start:
{
uint8_t v_res_3801_; lean_object* v_r_3802_; 
v_res_3801_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0(v_cls_3799_, v_x_3800_);
lean_dec_ref(v_x_3800_);
lean_dec(v_cls_3799_);
v_r_3802_ = lean_box(v_res_3801_);
return v_r_3802_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg(lean_object* v_a_3803_, lean_object* v_x_3804_){
_start:
{
if (lean_obj_tag(v_x_3804_) == 0)
{
lean_object* v___x_3805_; 
v___x_3805_ = lean_box(0);
return v___x_3805_;
}
else
{
lean_object* v_key_3806_; lean_object* v_value_3807_; lean_object* v_tail_3808_; uint8_t v___x_3809_; 
v_key_3806_ = lean_ctor_get(v_x_3804_, 0);
v_value_3807_ = lean_ctor_get(v_x_3804_, 1);
v_tail_3808_ = lean_ctor_get(v_x_3804_, 2);
v___x_3809_ = lean_nat_dec_eq(v_key_3806_, v_a_3803_);
if (v___x_3809_ == 0)
{
v_x_3804_ = v_tail_3808_;
goto _start;
}
else
{
lean_object* v___x_3811_; 
lean_inc(v_value_3807_);
v___x_3811_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_3811_, 0, v_value_3807_);
return v___x_3811_;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg___boxed(lean_object* v_a_3812_, lean_object* v_x_3813_){
_start:
{
lean_object* v_res_3814_; 
v_res_3814_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg(v_a_3812_, v_x_3813_);
lean_dec(v_x_3813_);
lean_dec(v_a_3812_);
return v_res_3814_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(lean_object* v_m_3815_, lean_object* v_a_3816_){
_start:
{
lean_object* v_buckets_3817_; lean_object* v___x_3818_; uint64_t v___x_3819_; uint64_t v___x_3820_; uint64_t v___x_3821_; uint64_t v_fold_3822_; uint64_t v___x_3823_; uint64_t v___x_3824_; uint64_t v___x_3825_; size_t v___x_3826_; size_t v___x_3827_; size_t v___x_3828_; size_t v___x_3829_; size_t v___x_3830_; lean_object* v___x_3831_; lean_object* v___x_3832_; 
v_buckets_3817_ = lean_ctor_get(v_m_3815_, 1);
v___x_3818_ = lean_array_get_size(v_buckets_3817_);
v___x_3819_ = lean_uint64_of_nat(v_a_3816_);
v___x_3820_ = 32ULL;
v___x_3821_ = lean_uint64_shift_right(v___x_3819_, v___x_3820_);
v_fold_3822_ = lean_uint64_xor(v___x_3819_, v___x_3821_);
v___x_3823_ = 16ULL;
v___x_3824_ = lean_uint64_shift_right(v_fold_3822_, v___x_3823_);
v___x_3825_ = lean_uint64_xor(v_fold_3822_, v___x_3824_);
v___x_3826_ = lean_uint64_to_usize(v___x_3825_);
v___x_3827_ = lean_usize_of_nat(v___x_3818_);
v___x_3828_ = ((size_t)1ULL);
v___x_3829_ = lean_usize_sub(v___x_3827_, v___x_3828_);
v___x_3830_ = lean_usize_land(v___x_3826_, v___x_3829_);
v___x_3831_ = lean_array_uget_borrowed(v_buckets_3817_, v___x_3830_);
v___x_3832_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg(v_a_3816_, v___x_3831_);
return v___x_3832_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg___boxed(lean_object* v_m_3833_, lean_object* v_a_3834_){
_start:
{
lean_object* v_res_3835_; 
v_res_3835_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(v_m_3833_, v_a_3834_);
lean_dec(v_a_3834_);
lean_dec_ref(v_m_3833_);
return v_res_3835_;
}
}
LEAN_EXPORT uint8_t l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(lean_object* v_x_3836_, lean_object* v_x_3837_){
_start:
{
if (lean_obj_tag(v_x_3836_) == 0)
{
if (lean_obj_tag(v_x_3837_) == 0)
{
uint8_t v___x_3838_; 
v___x_3838_ = 1;
return v___x_3838_;
}
else
{
uint8_t v___x_3839_; 
v___x_3839_ = 0;
return v___x_3839_;
}
}
else
{
if (lean_obj_tag(v_x_3837_) == 0)
{
uint8_t v___x_3840_; 
v___x_3840_ = 0;
return v___x_3840_;
}
else
{
lean_object* v_val_3841_; lean_object* v_val_3842_; uint8_t v___x_3843_; 
v_val_3841_ = lean_ctor_get(v_x_3836_, 0);
v_val_3842_ = lean_ctor_get(v_x_3837_, 0);
v___x_3843_ = lean_nat_dec_eq(v_val_3841_, v_val_3842_);
return v___x_3843_;
}
}
}
}
LEAN_EXPORT lean_object* l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2___boxed(lean_object* v_x_3844_, lean_object* v_x_3845_){
_start:
{
uint8_t v_res_3846_; lean_object* v_r_3847_; 
v_res_3846_ = l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(v_x_3844_, v_x_3845_);
lean_dec(v_x_3845_);
lean_dec(v_x_3844_);
v_r_3847_ = lean_box(v_res_3846_);
return v_r_3847_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5___redArg(lean_object* v_a_3848_, lean_object* v_b_3849_, lean_object* v_x_3850_){
_start:
{
if (lean_obj_tag(v_x_3850_) == 0)
{
lean_dec(v_b_3849_);
lean_dec_ref(v_a_3848_);
return v_x_3850_;
}
else
{
lean_object* v_key_3851_; lean_object* v_value_3852_; lean_object* v_tail_3853_; lean_object* v___x_3855_; uint8_t v_isShared_3856_; uint8_t v_isSharedCheck_3872_; 
v_key_3851_ = lean_ctor_get(v_x_3850_, 0);
v_value_3852_ = lean_ctor_get(v_x_3850_, 1);
v_tail_3853_ = lean_ctor_get(v_x_3850_, 2);
v_isSharedCheck_3872_ = !lean_is_exclusive(v_x_3850_);
if (v_isSharedCheck_3872_ == 0)
{
v___x_3855_ = v_x_3850_;
v_isShared_3856_ = v_isSharedCheck_3872_;
goto v_resetjp_3854_;
}
else
{
lean_inc(v_tail_3853_);
lean_inc(v_value_3852_);
lean_inc(v_key_3851_);
lean_dec(v_x_3850_);
v___x_3855_ = lean_box(0);
v_isShared_3856_ = v_isSharedCheck_3872_;
goto v_resetjp_3854_;
}
v_resetjp_3854_:
{
uint8_t v___y_3858_; lean_object* v_fst_3866_; lean_object* v_snd_3867_; lean_object* v_fst_3868_; lean_object* v_snd_3869_; uint8_t v___x_3870_; 
v_fst_3866_ = lean_ctor_get(v_key_3851_, 0);
v_snd_3867_ = lean_ctor_get(v_key_3851_, 1);
v_fst_3868_ = lean_ctor_get(v_a_3848_, 0);
v_snd_3869_ = lean_ctor_get(v_a_3848_, 1);
v___x_3870_ = lean_nat_dec_eq(v_fst_3866_, v_fst_3868_);
if (v___x_3870_ == 0)
{
v___y_3858_ = v___x_3870_;
goto v___jp_3857_;
}
else
{
uint8_t v___x_3871_; 
v___x_3871_ = l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(v_snd_3867_, v_snd_3869_);
v___y_3858_ = v___x_3871_;
goto v___jp_3857_;
}
v___jp_3857_:
{
if (v___y_3858_ == 0)
{
lean_object* v___x_3859_; lean_object* v___x_3861_; 
v___x_3859_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5___redArg(v_a_3848_, v_b_3849_, v_tail_3853_);
if (v_isShared_3856_ == 0)
{
lean_ctor_set(v___x_3855_, 2, v___x_3859_);
v___x_3861_ = v___x_3855_;
goto v_reusejp_3860_;
}
else
{
lean_object* v_reuseFailAlloc_3862_; 
v_reuseFailAlloc_3862_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_3862_, 0, v_key_3851_);
lean_ctor_set(v_reuseFailAlloc_3862_, 1, v_value_3852_);
lean_ctor_set(v_reuseFailAlloc_3862_, 2, v___x_3859_);
v___x_3861_ = v_reuseFailAlloc_3862_;
goto v_reusejp_3860_;
}
v_reusejp_3860_:
{
return v___x_3861_;
}
}
else
{
lean_object* v___x_3864_; 
lean_dec(v_value_3852_);
lean_dec(v_key_3851_);
if (v_isShared_3856_ == 0)
{
lean_ctor_set(v___x_3855_, 1, v_b_3849_);
lean_ctor_set(v___x_3855_, 0, v_a_3848_);
v___x_3864_ = v___x_3855_;
goto v_reusejp_3863_;
}
else
{
lean_object* v_reuseFailAlloc_3865_; 
v_reuseFailAlloc_3865_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_3865_, 0, v_a_3848_);
lean_ctor_set(v_reuseFailAlloc_3865_, 1, v_b_3849_);
lean_ctor_set(v_reuseFailAlloc_3865_, 2, v_tail_3853_);
v___x_3864_ = v_reuseFailAlloc_3865_;
goto v_reusejp_3863_;
}
v_reusejp_3863_:
{
return v___x_3864_;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11___redArg(lean_object* v_x_3873_, lean_object* v_x_3874_){
_start:
{
if (lean_obj_tag(v_x_3874_) == 0)
{
return v_x_3873_;
}
else
{
lean_object* v_key_3875_; lean_object* v_value_3876_; lean_object* v_tail_3877_; lean_object* v___x_3879_; uint8_t v_isShared_3880_; uint8_t v_isSharedCheck_3910_; 
v_key_3875_ = lean_ctor_get(v_x_3874_, 0);
v_value_3876_ = lean_ctor_get(v_x_3874_, 1);
v_tail_3877_ = lean_ctor_get(v_x_3874_, 2);
v_isSharedCheck_3910_ = !lean_is_exclusive(v_x_3874_);
if (v_isSharedCheck_3910_ == 0)
{
v___x_3879_ = v_x_3874_;
v_isShared_3880_ = v_isSharedCheck_3910_;
goto v_resetjp_3878_;
}
else
{
lean_inc(v_tail_3877_);
lean_inc(v_value_3876_);
lean_inc(v_key_3875_);
lean_dec(v_x_3874_);
v___x_3879_ = lean_box(0);
v_isShared_3880_ = v_isSharedCheck_3910_;
goto v_resetjp_3878_;
}
v_resetjp_3878_:
{
lean_object* v_fst_3881_; lean_object* v_snd_3882_; lean_object* v___x_3883_; uint64_t v___x_3884_; uint64_t v___y_3886_; 
v_fst_3881_ = lean_ctor_get(v_key_3875_, 0);
v_snd_3882_ = lean_ctor_get(v_key_3875_, 1);
v___x_3883_ = lean_array_get_size(v_x_3873_);
v___x_3884_ = lean_uint64_of_nat(v_fst_3881_);
if (lean_obj_tag(v_snd_3882_) == 0)
{
uint64_t v___x_3905_; 
v___x_3905_ = 11ULL;
v___y_3886_ = v___x_3905_;
goto v___jp_3885_;
}
else
{
lean_object* v_val_3906_; uint64_t v___x_3907_; uint64_t v___x_3908_; uint64_t v___x_3909_; 
v_val_3906_ = lean_ctor_get(v_snd_3882_, 0);
v___x_3907_ = lean_uint64_of_nat(v_val_3906_);
v___x_3908_ = 13ULL;
v___x_3909_ = lean_uint64_mix_hash(v___x_3907_, v___x_3908_);
v___y_3886_ = v___x_3909_;
goto v___jp_3885_;
}
v___jp_3885_:
{
uint64_t v___x_3887_; uint64_t v___x_3888_; uint64_t v___x_3889_; uint64_t v_fold_3890_; uint64_t v___x_3891_; uint64_t v___x_3892_; uint64_t v___x_3893_; size_t v___x_3894_; size_t v___x_3895_; size_t v___x_3896_; size_t v___x_3897_; size_t v___x_3898_; lean_object* v___x_3899_; lean_object* v___x_3901_; 
v___x_3887_ = lean_uint64_mix_hash(v___x_3884_, v___y_3886_);
v___x_3888_ = 32ULL;
v___x_3889_ = lean_uint64_shift_right(v___x_3887_, v___x_3888_);
v_fold_3890_ = lean_uint64_xor(v___x_3887_, v___x_3889_);
v___x_3891_ = 16ULL;
v___x_3892_ = lean_uint64_shift_right(v_fold_3890_, v___x_3891_);
v___x_3893_ = lean_uint64_xor(v_fold_3890_, v___x_3892_);
v___x_3894_ = lean_uint64_to_usize(v___x_3893_);
v___x_3895_ = lean_usize_of_nat(v___x_3883_);
v___x_3896_ = ((size_t)1ULL);
v___x_3897_ = lean_usize_sub(v___x_3895_, v___x_3896_);
v___x_3898_ = lean_usize_land(v___x_3894_, v___x_3897_);
v___x_3899_ = lean_array_uget_borrowed(v_x_3873_, v___x_3898_);
lean_inc(v___x_3899_);
if (v_isShared_3880_ == 0)
{
lean_ctor_set(v___x_3879_, 2, v___x_3899_);
v___x_3901_ = v___x_3879_;
goto v_reusejp_3900_;
}
else
{
lean_object* v_reuseFailAlloc_3904_; 
v_reuseFailAlloc_3904_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_3904_, 0, v_key_3875_);
lean_ctor_set(v_reuseFailAlloc_3904_, 1, v_value_3876_);
lean_ctor_set(v_reuseFailAlloc_3904_, 2, v___x_3899_);
v___x_3901_ = v_reuseFailAlloc_3904_;
goto v_reusejp_3900_;
}
v_reusejp_3900_:
{
lean_object* v___x_3902_; 
v___x_3902_ = lean_array_uset(v_x_3873_, v___x_3898_, v___x_3901_);
v_x_3873_ = v___x_3902_;
v_x_3874_ = v_tail_3877_;
goto _start;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6___redArg(lean_object* v_i_3911_, lean_object* v_source_3912_, lean_object* v_target_3913_){
_start:
{
lean_object* v___x_3914_; uint8_t v___x_3915_; 
v___x_3914_ = lean_array_get_size(v_source_3912_);
v___x_3915_ = lean_nat_dec_lt(v_i_3911_, v___x_3914_);
if (v___x_3915_ == 0)
{
lean_dec_ref(v_source_3912_);
lean_dec(v_i_3911_);
return v_target_3913_;
}
else
{
lean_object* v_es_3916_; lean_object* v___x_3917_; lean_object* v_source_3918_; lean_object* v_target_3919_; lean_object* v___x_3920_; lean_object* v___x_3921_; 
v_es_3916_ = lean_array_fget(v_source_3912_, v_i_3911_);
v___x_3917_ = lean_box(0);
v_source_3918_ = lean_array_fset(v_source_3912_, v_i_3911_, v___x_3917_);
v_target_3919_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11___redArg(v_target_3913_, v_es_3916_);
v___x_3920_ = lean_unsigned_to_nat(1u);
v___x_3921_ = lean_nat_add(v_i_3911_, v___x_3920_);
lean_dec(v_i_3911_);
v_i_3911_ = v___x_3921_;
v_source_3912_ = v_source_3918_;
v_target_3913_ = v_target_3919_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4___redArg(lean_object* v_data_3923_){
_start:
{
lean_object* v___x_3924_; lean_object* v___x_3925_; lean_object* v_nbuckets_3926_; lean_object* v___x_3927_; lean_object* v___x_3928_; lean_object* v___x_3929_; lean_object* v___x_3930_; 
v___x_3924_ = lean_array_get_size(v_data_3923_);
v___x_3925_ = lean_unsigned_to_nat(2u);
v_nbuckets_3926_ = lean_nat_mul(v___x_3924_, v___x_3925_);
v___x_3927_ = lean_unsigned_to_nat(0u);
v___x_3928_ = lean_box(0);
v___x_3929_ = lean_mk_array(v_nbuckets_3926_, v___x_3928_);
v___x_3930_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6___redArg(v___x_3927_, v_data_3923_, v___x_3929_);
return v___x_3930_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg(lean_object* v_a_3931_, lean_object* v_x_3932_){
_start:
{
if (lean_obj_tag(v_x_3932_) == 0)
{
uint8_t v___x_3933_; 
v___x_3933_ = 0;
return v___x_3933_;
}
else
{
lean_object* v_key_3934_; lean_object* v_tail_3935_; uint8_t v___y_3937_; lean_object* v_fst_3939_; lean_object* v_snd_3940_; lean_object* v_fst_3941_; lean_object* v_snd_3942_; uint8_t v___x_3943_; 
v_key_3934_ = lean_ctor_get(v_x_3932_, 0);
v_tail_3935_ = lean_ctor_get(v_x_3932_, 2);
v_fst_3939_ = lean_ctor_get(v_key_3934_, 0);
v_snd_3940_ = lean_ctor_get(v_key_3934_, 1);
v_fst_3941_ = lean_ctor_get(v_a_3931_, 0);
v_snd_3942_ = lean_ctor_get(v_a_3931_, 1);
v___x_3943_ = lean_nat_dec_eq(v_fst_3939_, v_fst_3941_);
if (v___x_3943_ == 0)
{
v___y_3937_ = v___x_3943_;
goto v___jp_3936_;
}
else
{
uint8_t v___x_3944_; 
v___x_3944_ = l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(v_snd_3940_, v_snd_3942_);
v___y_3937_ = v___x_3944_;
goto v___jp_3936_;
}
v___jp_3936_:
{
if (v___y_3937_ == 0)
{
v_x_3932_ = v_tail_3935_;
goto _start;
}
else
{
return v___y_3937_;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg___boxed(lean_object* v_a_3945_, lean_object* v_x_3946_){
_start:
{
uint8_t v_res_3947_; lean_object* v_r_3948_; 
v_res_3947_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg(v_a_3945_, v_x_3946_);
lean_dec(v_x_3946_);
lean_dec_ref(v_a_3945_);
v_r_3948_ = lean_box(v_res_3947_);
return v_r_3948_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2___redArg(lean_object* v_m_3949_, lean_object* v_a_3950_, lean_object* v_b_3951_){
_start:
{
lean_object* v_size_3952_; lean_object* v_buckets_3953_; lean_object* v___x_3955_; uint8_t v_isShared_3956_; uint8_t v_isSharedCheck_4006_; 
v_size_3952_ = lean_ctor_get(v_m_3949_, 0);
v_buckets_3953_ = lean_ctor_get(v_m_3949_, 1);
v_isSharedCheck_4006_ = !lean_is_exclusive(v_m_3949_);
if (v_isSharedCheck_4006_ == 0)
{
v___x_3955_ = v_m_3949_;
v_isShared_3956_ = v_isSharedCheck_4006_;
goto v_resetjp_3954_;
}
else
{
lean_inc(v_buckets_3953_);
lean_inc(v_size_3952_);
lean_dec(v_m_3949_);
v___x_3955_ = lean_box(0);
v_isShared_3956_ = v_isSharedCheck_4006_;
goto v_resetjp_3954_;
}
v_resetjp_3954_:
{
lean_object* v_fst_3957_; lean_object* v_snd_3958_; lean_object* v___x_3959_; uint64_t v___x_3960_; uint64_t v___y_3962_; 
v_fst_3957_ = lean_ctor_get(v_a_3950_, 0);
v_snd_3958_ = lean_ctor_get(v_a_3950_, 1);
v___x_3959_ = lean_array_get_size(v_buckets_3953_);
v___x_3960_ = lean_uint64_of_nat(v_fst_3957_);
if (lean_obj_tag(v_snd_3958_) == 0)
{
uint64_t v___x_4001_; 
v___x_4001_ = 11ULL;
v___y_3962_ = v___x_4001_;
goto v___jp_3961_;
}
else
{
lean_object* v_val_4002_; uint64_t v___x_4003_; uint64_t v___x_4004_; uint64_t v___x_4005_; 
v_val_4002_ = lean_ctor_get(v_snd_3958_, 0);
v___x_4003_ = lean_uint64_of_nat(v_val_4002_);
v___x_4004_ = 13ULL;
v___x_4005_ = lean_uint64_mix_hash(v___x_4003_, v___x_4004_);
v___y_3962_ = v___x_4005_;
goto v___jp_3961_;
}
v___jp_3961_:
{
uint64_t v___x_3963_; uint64_t v___x_3964_; uint64_t v___x_3965_; uint64_t v_fold_3966_; uint64_t v___x_3967_; uint64_t v___x_3968_; uint64_t v___x_3969_; size_t v___x_3970_; size_t v___x_3971_; size_t v___x_3972_; size_t v___x_3973_; size_t v___x_3974_; lean_object* v_bkt_3975_; uint8_t v___x_3976_; 
v___x_3963_ = lean_uint64_mix_hash(v___x_3960_, v___y_3962_);
v___x_3964_ = 32ULL;
v___x_3965_ = lean_uint64_shift_right(v___x_3963_, v___x_3964_);
v_fold_3966_ = lean_uint64_xor(v___x_3963_, v___x_3965_);
v___x_3967_ = 16ULL;
v___x_3968_ = lean_uint64_shift_right(v_fold_3966_, v___x_3967_);
v___x_3969_ = lean_uint64_xor(v_fold_3966_, v___x_3968_);
v___x_3970_ = lean_uint64_to_usize(v___x_3969_);
v___x_3971_ = lean_usize_of_nat(v___x_3959_);
v___x_3972_ = ((size_t)1ULL);
v___x_3973_ = lean_usize_sub(v___x_3971_, v___x_3972_);
v___x_3974_ = lean_usize_land(v___x_3970_, v___x_3973_);
v_bkt_3975_ = lean_array_uget_borrowed(v_buckets_3953_, v___x_3974_);
v___x_3976_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg(v_a_3950_, v_bkt_3975_);
if (v___x_3976_ == 0)
{
lean_object* v___x_3977_; lean_object* v_size_x27_3978_; lean_object* v___x_3979_; lean_object* v_buckets_x27_3980_; lean_object* v___x_3981_; lean_object* v___x_3982_; lean_object* v___x_3983_; lean_object* v___x_3984_; lean_object* v___x_3985_; uint8_t v___x_3986_; 
v___x_3977_ = lean_unsigned_to_nat(1u);
v_size_x27_3978_ = lean_nat_add(v_size_3952_, v___x_3977_);
lean_dec(v_size_3952_);
lean_inc(v_bkt_3975_);
v___x_3979_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v___x_3979_, 0, v_a_3950_);
lean_ctor_set(v___x_3979_, 1, v_b_3951_);
lean_ctor_set(v___x_3979_, 2, v_bkt_3975_);
v_buckets_x27_3980_ = lean_array_uset(v_buckets_3953_, v___x_3974_, v___x_3979_);
v___x_3981_ = lean_unsigned_to_nat(4u);
v___x_3982_ = lean_nat_mul(v_size_x27_3978_, v___x_3981_);
v___x_3983_ = lean_unsigned_to_nat(3u);
v___x_3984_ = lean_nat_div(v___x_3982_, v___x_3983_);
lean_dec(v___x_3982_);
v___x_3985_ = lean_array_get_size(v_buckets_x27_3980_);
v___x_3986_ = lean_nat_dec_le(v___x_3984_, v___x_3985_);
lean_dec(v___x_3984_);
if (v___x_3986_ == 0)
{
lean_object* v_val_3987_; lean_object* v___x_3989_; 
v_val_3987_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4___redArg(v_buckets_x27_3980_);
if (v_isShared_3956_ == 0)
{
lean_ctor_set(v___x_3955_, 1, v_val_3987_);
lean_ctor_set(v___x_3955_, 0, v_size_x27_3978_);
v___x_3989_ = v___x_3955_;
goto v_reusejp_3988_;
}
else
{
lean_object* v_reuseFailAlloc_3990_; 
v_reuseFailAlloc_3990_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_3990_, 0, v_size_x27_3978_);
lean_ctor_set(v_reuseFailAlloc_3990_, 1, v_val_3987_);
v___x_3989_ = v_reuseFailAlloc_3990_;
goto v_reusejp_3988_;
}
v_reusejp_3988_:
{
return v___x_3989_;
}
}
else
{
lean_object* v___x_3992_; 
if (v_isShared_3956_ == 0)
{
lean_ctor_set(v___x_3955_, 1, v_buckets_x27_3980_);
lean_ctor_set(v___x_3955_, 0, v_size_x27_3978_);
v___x_3992_ = v___x_3955_;
goto v_reusejp_3991_;
}
else
{
lean_object* v_reuseFailAlloc_3993_; 
v_reuseFailAlloc_3993_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_3993_, 0, v_size_x27_3978_);
lean_ctor_set(v_reuseFailAlloc_3993_, 1, v_buckets_x27_3980_);
v___x_3992_ = v_reuseFailAlloc_3993_;
goto v_reusejp_3991_;
}
v_reusejp_3991_:
{
return v___x_3992_;
}
}
}
else
{
lean_object* v___x_3994_; lean_object* v_buckets_x27_3995_; lean_object* v___x_3996_; lean_object* v___x_3997_; lean_object* v___x_3999_; 
lean_inc(v_bkt_3975_);
v___x_3994_ = lean_box(0);
v_buckets_x27_3995_ = lean_array_uset(v_buckets_3953_, v___x_3974_, v___x_3994_);
v___x_3996_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5___redArg(v_a_3950_, v_b_3951_, v_bkt_3975_);
v___x_3997_ = lean_array_uset(v_buckets_x27_3995_, v___x_3974_, v___x_3996_);
if (v_isShared_3956_ == 0)
{
lean_ctor_set(v___x_3955_, 1, v___x_3997_);
v___x_3999_ = v___x_3955_;
goto v_reusejp_3998_;
}
else
{
lean_object* v_reuseFailAlloc_4000_; 
v_reuseFailAlloc_4000_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4000_, 0, v_size_3952_);
lean_ctor_set(v_reuseFailAlloc_4000_, 1, v___x_3997_);
v___x_3999_ = v_reuseFailAlloc_4000_;
goto v_reusejp_3998_;
}
v_reusejp_3998_:
{
return v___x_3999_;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23___redArg(lean_object* v_x_4007_, lean_object* v_x_4008_){
_start:
{
if (lean_obj_tag(v_x_4008_) == 0)
{
return v_x_4007_;
}
else
{
lean_object* v_key_4009_; lean_object* v_value_4010_; lean_object* v_tail_4011_; lean_object* v___x_4013_; uint8_t v_isShared_4014_; uint8_t v_isSharedCheck_4034_; 
v_key_4009_ = lean_ctor_get(v_x_4008_, 0);
v_value_4010_ = lean_ctor_get(v_x_4008_, 1);
v_tail_4011_ = lean_ctor_get(v_x_4008_, 2);
v_isSharedCheck_4034_ = !lean_is_exclusive(v_x_4008_);
if (v_isSharedCheck_4034_ == 0)
{
v___x_4013_ = v_x_4008_;
v_isShared_4014_ = v_isSharedCheck_4034_;
goto v_resetjp_4012_;
}
else
{
lean_inc(v_tail_4011_);
lean_inc(v_value_4010_);
lean_inc(v_key_4009_);
lean_dec(v_x_4008_);
v___x_4013_ = lean_box(0);
v_isShared_4014_ = v_isSharedCheck_4034_;
goto v_resetjp_4012_;
}
v_resetjp_4012_:
{
lean_object* v___x_4015_; uint64_t v___x_4016_; uint64_t v___x_4017_; uint64_t v___x_4018_; uint64_t v_fold_4019_; uint64_t v___x_4020_; uint64_t v___x_4021_; uint64_t v___x_4022_; size_t v___x_4023_; size_t v___x_4024_; size_t v___x_4025_; size_t v___x_4026_; size_t v___x_4027_; lean_object* v___x_4028_; lean_object* v___x_4030_; 
v___x_4015_ = lean_array_get_size(v_x_4007_);
v___x_4016_ = lean_string_hash(v_key_4009_);
v___x_4017_ = 32ULL;
v___x_4018_ = lean_uint64_shift_right(v___x_4016_, v___x_4017_);
v_fold_4019_ = lean_uint64_xor(v___x_4016_, v___x_4018_);
v___x_4020_ = 16ULL;
v___x_4021_ = lean_uint64_shift_right(v_fold_4019_, v___x_4020_);
v___x_4022_ = lean_uint64_xor(v_fold_4019_, v___x_4021_);
v___x_4023_ = lean_uint64_to_usize(v___x_4022_);
v___x_4024_ = lean_usize_of_nat(v___x_4015_);
v___x_4025_ = ((size_t)1ULL);
v___x_4026_ = lean_usize_sub(v___x_4024_, v___x_4025_);
v___x_4027_ = lean_usize_land(v___x_4023_, v___x_4026_);
v___x_4028_ = lean_array_uget_borrowed(v_x_4007_, v___x_4027_);
lean_inc(v___x_4028_);
if (v_isShared_4014_ == 0)
{
lean_ctor_set(v___x_4013_, 2, v___x_4028_);
v___x_4030_ = v___x_4013_;
goto v_reusejp_4029_;
}
else
{
lean_object* v_reuseFailAlloc_4033_; 
v_reuseFailAlloc_4033_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4033_, 0, v_key_4009_);
lean_ctor_set(v_reuseFailAlloc_4033_, 1, v_value_4010_);
lean_ctor_set(v_reuseFailAlloc_4033_, 2, v___x_4028_);
v___x_4030_ = v_reuseFailAlloc_4033_;
goto v_reusejp_4029_;
}
v_reusejp_4029_:
{
lean_object* v___x_4031_; 
v___x_4031_ = lean_array_uset(v_x_4007_, v___x_4027_, v___x_4030_);
v_x_4007_ = v___x_4031_;
v_x_4008_ = v_tail_4011_;
goto _start;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20___redArg(lean_object* v_i_4035_, lean_object* v_source_4036_, lean_object* v_target_4037_){
_start:
{
lean_object* v___x_4038_; uint8_t v___x_4039_; 
v___x_4038_ = lean_array_get_size(v_source_4036_);
v___x_4039_ = lean_nat_dec_lt(v_i_4035_, v___x_4038_);
if (v___x_4039_ == 0)
{
lean_dec_ref(v_source_4036_);
lean_dec(v_i_4035_);
return v_target_4037_;
}
else
{
lean_object* v_es_4040_; lean_object* v___x_4041_; lean_object* v_source_4042_; lean_object* v_target_4043_; lean_object* v___x_4044_; lean_object* v___x_4045_; 
v_es_4040_ = lean_array_fget(v_source_4036_, v_i_4035_);
v___x_4041_ = lean_box(0);
v_source_4042_ = lean_array_fset(v_source_4036_, v_i_4035_, v___x_4041_);
v_target_4043_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23___redArg(v_target_4037_, v_es_4040_);
v___x_4044_ = lean_unsigned_to_nat(1u);
v___x_4045_ = lean_nat_add(v_i_4035_, v___x_4044_);
lean_dec(v_i_4035_);
v_i_4035_ = v___x_4045_;
v_source_4036_ = v_source_4042_;
v_target_4037_ = v_target_4043_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16___redArg(lean_object* v_data_4047_){
_start:
{
lean_object* v___x_4048_; lean_object* v___x_4049_; lean_object* v_nbuckets_4050_; lean_object* v___x_4051_; lean_object* v___x_4052_; lean_object* v___x_4053_; lean_object* v___x_4054_; 
v___x_4048_ = lean_array_get_size(v_data_4047_);
v___x_4049_ = lean_unsigned_to_nat(2u);
v_nbuckets_4050_ = lean_nat_mul(v___x_4048_, v___x_4049_);
v___x_4051_ = lean_unsigned_to_nat(0u);
v___x_4052_ = lean_box(0);
v___x_4053_ = lean_mk_array(v_nbuckets_4050_, v___x_4052_);
v___x_4054_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20___redArg(v___x_4051_, v_data_4047_, v___x_4053_);
return v___x_4054_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17___redArg(lean_object* v_a_4055_, lean_object* v_b_4056_, lean_object* v_x_4057_){
_start:
{
if (lean_obj_tag(v_x_4057_) == 0)
{
lean_dec(v_b_4056_);
lean_dec_ref(v_a_4055_);
return v_x_4057_;
}
else
{
lean_object* v_key_4058_; lean_object* v_value_4059_; lean_object* v_tail_4060_; lean_object* v___x_4062_; uint8_t v_isShared_4063_; uint8_t v_isSharedCheck_4072_; 
v_key_4058_ = lean_ctor_get(v_x_4057_, 0);
v_value_4059_ = lean_ctor_get(v_x_4057_, 1);
v_tail_4060_ = lean_ctor_get(v_x_4057_, 2);
v_isSharedCheck_4072_ = !lean_is_exclusive(v_x_4057_);
if (v_isSharedCheck_4072_ == 0)
{
v___x_4062_ = v_x_4057_;
v_isShared_4063_ = v_isSharedCheck_4072_;
goto v_resetjp_4061_;
}
else
{
lean_inc(v_tail_4060_);
lean_inc(v_value_4059_);
lean_inc(v_key_4058_);
lean_dec(v_x_4057_);
v___x_4062_ = lean_box(0);
v_isShared_4063_ = v_isSharedCheck_4072_;
goto v_resetjp_4061_;
}
v_resetjp_4061_:
{
uint8_t v___x_4064_; 
v___x_4064_ = lean_string_dec_eq(v_key_4058_, v_a_4055_);
if (v___x_4064_ == 0)
{
lean_object* v___x_4065_; lean_object* v___x_4067_; 
v___x_4065_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17___redArg(v_a_4055_, v_b_4056_, v_tail_4060_);
if (v_isShared_4063_ == 0)
{
lean_ctor_set(v___x_4062_, 2, v___x_4065_);
v___x_4067_ = v___x_4062_;
goto v_reusejp_4066_;
}
else
{
lean_object* v_reuseFailAlloc_4068_; 
v_reuseFailAlloc_4068_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4068_, 0, v_key_4058_);
lean_ctor_set(v_reuseFailAlloc_4068_, 1, v_value_4059_);
lean_ctor_set(v_reuseFailAlloc_4068_, 2, v___x_4065_);
v___x_4067_ = v_reuseFailAlloc_4068_;
goto v_reusejp_4066_;
}
v_reusejp_4066_:
{
return v___x_4067_;
}
}
else
{
lean_object* v___x_4070_; 
lean_dec(v_value_4059_);
lean_dec(v_key_4058_);
if (v_isShared_4063_ == 0)
{
lean_ctor_set(v___x_4062_, 1, v_b_4056_);
lean_ctor_set(v___x_4062_, 0, v_a_4055_);
v___x_4070_ = v___x_4062_;
goto v_reusejp_4069_;
}
else
{
lean_object* v_reuseFailAlloc_4071_; 
v_reuseFailAlloc_4071_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4071_, 0, v_a_4055_);
lean_ctor_set(v_reuseFailAlloc_4071_, 1, v_b_4056_);
lean_ctor_set(v_reuseFailAlloc_4071_, 2, v_tail_4060_);
v___x_4070_ = v_reuseFailAlloc_4071_;
goto v_reusejp_4069_;
}
v_reusejp_4069_:
{
return v___x_4070_;
}
}
}
}
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg(lean_object* v_a_4073_, lean_object* v_x_4074_){
_start:
{
if (lean_obj_tag(v_x_4074_) == 0)
{
uint8_t v___x_4075_; 
v___x_4075_ = 0;
return v___x_4075_;
}
else
{
lean_object* v_key_4076_; lean_object* v_tail_4077_; uint8_t v___x_4078_; 
v_key_4076_ = lean_ctor_get(v_x_4074_, 0);
v_tail_4077_ = lean_ctor_get(v_x_4074_, 2);
v___x_4078_ = lean_string_dec_eq(v_key_4076_, v_a_4073_);
if (v___x_4078_ == 0)
{
v_x_4074_ = v_tail_4077_;
goto _start;
}
else
{
return v___x_4078_;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg___boxed(lean_object* v_a_4080_, lean_object* v_x_4081_){
_start:
{
uint8_t v_res_4082_; lean_object* v_r_4083_; 
v_res_4082_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg(v_a_4080_, v_x_4081_);
lean_dec(v_x_4081_);
lean_dec_ref(v_a_4080_);
v_r_4083_ = lean_box(v_res_4082_);
return v_r_4083_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6___redArg(lean_object* v_m_4084_, lean_object* v_a_4085_, lean_object* v_b_4086_){
_start:
{
lean_object* v_size_4087_; lean_object* v_buckets_4088_; lean_object* v___x_4090_; uint8_t v_isShared_4091_; uint8_t v_isSharedCheck_4131_; 
v_size_4087_ = lean_ctor_get(v_m_4084_, 0);
v_buckets_4088_ = lean_ctor_get(v_m_4084_, 1);
v_isSharedCheck_4131_ = !lean_is_exclusive(v_m_4084_);
if (v_isSharedCheck_4131_ == 0)
{
v___x_4090_ = v_m_4084_;
v_isShared_4091_ = v_isSharedCheck_4131_;
goto v_resetjp_4089_;
}
else
{
lean_inc(v_buckets_4088_);
lean_inc(v_size_4087_);
lean_dec(v_m_4084_);
v___x_4090_ = lean_box(0);
v_isShared_4091_ = v_isSharedCheck_4131_;
goto v_resetjp_4089_;
}
v_resetjp_4089_:
{
lean_object* v___x_4092_; uint64_t v___x_4093_; uint64_t v___x_4094_; uint64_t v___x_4095_; uint64_t v_fold_4096_; uint64_t v___x_4097_; uint64_t v___x_4098_; uint64_t v___x_4099_; size_t v___x_4100_; size_t v___x_4101_; size_t v___x_4102_; size_t v___x_4103_; size_t v___x_4104_; lean_object* v_bkt_4105_; uint8_t v___x_4106_; 
v___x_4092_ = lean_array_get_size(v_buckets_4088_);
v___x_4093_ = lean_string_hash(v_a_4085_);
v___x_4094_ = 32ULL;
v___x_4095_ = lean_uint64_shift_right(v___x_4093_, v___x_4094_);
v_fold_4096_ = lean_uint64_xor(v___x_4093_, v___x_4095_);
v___x_4097_ = 16ULL;
v___x_4098_ = lean_uint64_shift_right(v_fold_4096_, v___x_4097_);
v___x_4099_ = lean_uint64_xor(v_fold_4096_, v___x_4098_);
v___x_4100_ = lean_uint64_to_usize(v___x_4099_);
v___x_4101_ = lean_usize_of_nat(v___x_4092_);
v___x_4102_ = ((size_t)1ULL);
v___x_4103_ = lean_usize_sub(v___x_4101_, v___x_4102_);
v___x_4104_ = lean_usize_land(v___x_4100_, v___x_4103_);
v_bkt_4105_ = lean_array_uget_borrowed(v_buckets_4088_, v___x_4104_);
v___x_4106_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg(v_a_4085_, v_bkt_4105_);
if (v___x_4106_ == 0)
{
lean_object* v___x_4107_; lean_object* v_size_x27_4108_; lean_object* v___x_4109_; lean_object* v_buckets_x27_4110_; lean_object* v___x_4111_; lean_object* v___x_4112_; lean_object* v___x_4113_; lean_object* v___x_4114_; lean_object* v___x_4115_; uint8_t v___x_4116_; 
v___x_4107_ = lean_unsigned_to_nat(1u);
v_size_x27_4108_ = lean_nat_add(v_size_4087_, v___x_4107_);
lean_dec(v_size_4087_);
lean_inc(v_bkt_4105_);
v___x_4109_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v___x_4109_, 0, v_a_4085_);
lean_ctor_set(v___x_4109_, 1, v_b_4086_);
lean_ctor_set(v___x_4109_, 2, v_bkt_4105_);
v_buckets_x27_4110_ = lean_array_uset(v_buckets_4088_, v___x_4104_, v___x_4109_);
v___x_4111_ = lean_unsigned_to_nat(4u);
v___x_4112_ = lean_nat_mul(v_size_x27_4108_, v___x_4111_);
v___x_4113_ = lean_unsigned_to_nat(3u);
v___x_4114_ = lean_nat_div(v___x_4112_, v___x_4113_);
lean_dec(v___x_4112_);
v___x_4115_ = lean_array_get_size(v_buckets_x27_4110_);
v___x_4116_ = lean_nat_dec_le(v___x_4114_, v___x_4115_);
lean_dec(v___x_4114_);
if (v___x_4116_ == 0)
{
lean_object* v_val_4117_; lean_object* v___x_4119_; 
v_val_4117_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16___redArg(v_buckets_x27_4110_);
if (v_isShared_4091_ == 0)
{
lean_ctor_set(v___x_4090_, 1, v_val_4117_);
lean_ctor_set(v___x_4090_, 0, v_size_x27_4108_);
v___x_4119_ = v___x_4090_;
goto v_reusejp_4118_;
}
else
{
lean_object* v_reuseFailAlloc_4120_; 
v_reuseFailAlloc_4120_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4120_, 0, v_size_x27_4108_);
lean_ctor_set(v_reuseFailAlloc_4120_, 1, v_val_4117_);
v___x_4119_ = v_reuseFailAlloc_4120_;
goto v_reusejp_4118_;
}
v_reusejp_4118_:
{
return v___x_4119_;
}
}
else
{
lean_object* v___x_4122_; 
if (v_isShared_4091_ == 0)
{
lean_ctor_set(v___x_4090_, 1, v_buckets_x27_4110_);
lean_ctor_set(v___x_4090_, 0, v_size_x27_4108_);
v___x_4122_ = v___x_4090_;
goto v_reusejp_4121_;
}
else
{
lean_object* v_reuseFailAlloc_4123_; 
v_reuseFailAlloc_4123_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4123_, 0, v_size_x27_4108_);
lean_ctor_set(v_reuseFailAlloc_4123_, 1, v_buckets_x27_4110_);
v___x_4122_ = v_reuseFailAlloc_4123_;
goto v_reusejp_4121_;
}
v_reusejp_4121_:
{
return v___x_4122_;
}
}
}
else
{
lean_object* v___x_4124_; lean_object* v_buckets_x27_4125_; lean_object* v___x_4126_; lean_object* v___x_4127_; lean_object* v___x_4129_; 
lean_inc(v_bkt_4105_);
v___x_4124_ = lean_box(0);
v_buckets_x27_4125_ = lean_array_uset(v_buckets_4088_, v___x_4104_, v___x_4124_);
v___x_4126_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17___redArg(v_a_4085_, v_b_4086_, v_bkt_4105_);
v___x_4127_ = lean_array_uset(v_buckets_x27_4125_, v___x_4104_, v___x_4126_);
if (v_isShared_4091_ == 0)
{
lean_ctor_set(v___x_4090_, 1, v___x_4127_);
v___x_4129_ = v___x_4090_;
goto v_reusejp_4128_;
}
else
{
lean_object* v_reuseFailAlloc_4130_; 
v_reuseFailAlloc_4130_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4130_, 0, v_size_4087_);
lean_ctor_set(v_reuseFailAlloc_4130_, 1, v___x_4127_);
v___x_4129_ = v_reuseFailAlloc_4130_;
goto v_reusejp_4128_;
}
v_reusejp_4128_:
{
return v___x_4129_;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg(lean_object* v_a_4132_, lean_object* v_x_4133_){
_start:
{
if (lean_obj_tag(v_x_4133_) == 0)
{
lean_object* v___x_4134_; 
v___x_4134_ = lean_box(0);
return v___x_4134_;
}
else
{
lean_object* v_key_4135_; lean_object* v_value_4136_; lean_object* v_tail_4137_; uint8_t v___y_4139_; lean_object* v_fst_4142_; lean_object* v_snd_4143_; lean_object* v_fst_4144_; lean_object* v_snd_4145_; uint8_t v___x_4146_; 
v_key_4135_ = lean_ctor_get(v_x_4133_, 0);
v_value_4136_ = lean_ctor_get(v_x_4133_, 1);
v_tail_4137_ = lean_ctor_get(v_x_4133_, 2);
v_fst_4142_ = lean_ctor_get(v_key_4135_, 0);
v_snd_4143_ = lean_ctor_get(v_key_4135_, 1);
v_fst_4144_ = lean_ctor_get(v_a_4132_, 0);
v_snd_4145_ = lean_ctor_get(v_a_4132_, 1);
v___x_4146_ = lean_nat_dec_eq(v_fst_4142_, v_fst_4144_);
if (v___x_4146_ == 0)
{
v___y_4139_ = v___x_4146_;
goto v___jp_4138_;
}
else
{
uint8_t v___x_4147_; 
v___x_4147_ = l_Option_instBEq_beq___at___00Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1_spec__2(v_snd_4143_, v_snd_4145_);
v___y_4139_ = v___x_4147_;
goto v___jp_4138_;
}
v___jp_4138_:
{
if (v___y_4139_ == 0)
{
v_x_4133_ = v_tail_4137_;
goto _start;
}
else
{
lean_object* v___x_4141_; 
lean_inc(v_value_4136_);
v___x_4141_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_4141_, 0, v_value_4136_);
return v___x_4141_;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg___boxed(lean_object* v_a_4148_, lean_object* v_x_4149_){
_start:
{
lean_object* v_res_4150_; 
v_res_4150_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg(v_a_4148_, v_x_4149_);
lean_dec(v_x_4149_);
lean_dec_ref(v_a_4148_);
return v_res_4150_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(lean_object* v_m_4151_, lean_object* v_a_4152_){
_start:
{
lean_object* v_buckets_4153_; lean_object* v_fst_4154_; lean_object* v_snd_4155_; lean_object* v___x_4156_; uint64_t v___x_4157_; uint64_t v___y_4159_; 
v_buckets_4153_ = lean_ctor_get(v_m_4151_, 1);
v_fst_4154_ = lean_ctor_get(v_a_4152_, 0);
v_snd_4155_ = lean_ctor_get(v_a_4152_, 1);
v___x_4156_ = lean_array_get_size(v_buckets_4153_);
v___x_4157_ = lean_uint64_of_nat(v_fst_4154_);
if (lean_obj_tag(v_snd_4155_) == 0)
{
uint64_t v___x_4174_; 
v___x_4174_ = 11ULL;
v___y_4159_ = v___x_4174_;
goto v___jp_4158_;
}
else
{
lean_object* v_val_4175_; uint64_t v___x_4176_; uint64_t v___x_4177_; uint64_t v___x_4178_; 
v_val_4175_ = lean_ctor_get(v_snd_4155_, 0);
v___x_4176_ = lean_uint64_of_nat(v_val_4175_);
v___x_4177_ = 13ULL;
v___x_4178_ = lean_uint64_mix_hash(v___x_4176_, v___x_4177_);
v___y_4159_ = v___x_4178_;
goto v___jp_4158_;
}
v___jp_4158_:
{
uint64_t v___x_4160_; uint64_t v___x_4161_; uint64_t v___x_4162_; uint64_t v_fold_4163_; uint64_t v___x_4164_; uint64_t v___x_4165_; uint64_t v___x_4166_; size_t v___x_4167_; size_t v___x_4168_; size_t v___x_4169_; size_t v___x_4170_; size_t v___x_4171_; lean_object* v___x_4172_; lean_object* v___x_4173_; 
v___x_4160_ = lean_uint64_mix_hash(v___x_4157_, v___y_4159_);
v___x_4161_ = 32ULL;
v___x_4162_ = lean_uint64_shift_right(v___x_4160_, v___x_4161_);
v_fold_4163_ = lean_uint64_xor(v___x_4160_, v___x_4162_);
v___x_4164_ = 16ULL;
v___x_4165_ = lean_uint64_shift_right(v_fold_4163_, v___x_4164_);
v___x_4166_ = lean_uint64_xor(v_fold_4163_, v___x_4165_);
v___x_4167_ = lean_uint64_to_usize(v___x_4166_);
v___x_4168_ = lean_usize_of_nat(v___x_4156_);
v___x_4169_ = ((size_t)1ULL);
v___x_4170_ = lean_usize_sub(v___x_4168_, v___x_4169_);
v___x_4171_ = lean_usize_land(v___x_4167_, v___x_4170_);
v___x_4172_ = lean_array_uget_borrowed(v_buckets_4153_, v___x_4171_);
v___x_4173_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg(v_a_4152_, v___x_4172_);
return v___x_4173_;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg___boxed(lean_object* v_m_4179_, lean_object* v_a_4180_){
_start:
{
lean_object* v_res_4181_; 
v_res_4181_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(v_m_4179_, v_a_4180_);
lean_dec_ref(v_a_4180_);
lean_dec_ref(v_m_4179_);
return v_res_4181_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg(lean_object* v_a_4182_, lean_object* v_x_4183_){
_start:
{
if (lean_obj_tag(v_x_4183_) == 0)
{
lean_object* v___x_4184_; 
v___x_4184_ = lean_box(0);
return v___x_4184_;
}
else
{
lean_object* v_key_4185_; lean_object* v_value_4186_; lean_object* v_tail_4187_; uint8_t v___x_4188_; 
v_key_4185_ = lean_ctor_get(v_x_4183_, 0);
v_value_4186_ = lean_ctor_get(v_x_4183_, 1);
v_tail_4187_ = lean_ctor_get(v_x_4183_, 2);
v___x_4188_ = lean_string_dec_eq(v_key_4185_, v_a_4182_);
if (v___x_4188_ == 0)
{
v_x_4183_ = v_tail_4187_;
goto _start;
}
else
{
lean_object* v___x_4190_; 
lean_inc(v_value_4186_);
v___x_4190_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_4190_, 0, v_value_4186_);
return v___x_4190_;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg___boxed(lean_object* v_a_4191_, lean_object* v_x_4192_){
_start:
{
lean_object* v_res_4193_; 
v_res_4193_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg(v_a_4191_, v_x_4192_);
lean_dec(v_x_4192_);
lean_dec_ref(v_a_4191_);
return v_res_4193_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(lean_object* v_m_4194_, lean_object* v_a_4195_){
_start:
{
lean_object* v_buckets_4196_; lean_object* v___x_4197_; uint64_t v___x_4198_; uint64_t v___x_4199_; uint64_t v___x_4200_; uint64_t v_fold_4201_; uint64_t v___x_4202_; uint64_t v___x_4203_; uint64_t v___x_4204_; size_t v___x_4205_; size_t v___x_4206_; size_t v___x_4207_; size_t v___x_4208_; size_t v___x_4209_; lean_object* v___x_4210_; lean_object* v___x_4211_; 
v_buckets_4196_ = lean_ctor_get(v_m_4194_, 1);
v___x_4197_ = lean_array_get_size(v_buckets_4196_);
v___x_4198_ = lean_string_hash(v_a_4195_);
v___x_4199_ = 32ULL;
v___x_4200_ = lean_uint64_shift_right(v___x_4198_, v___x_4199_);
v_fold_4201_ = lean_uint64_xor(v___x_4198_, v___x_4200_);
v___x_4202_ = 16ULL;
v___x_4203_ = lean_uint64_shift_right(v_fold_4201_, v___x_4202_);
v___x_4204_ = lean_uint64_xor(v_fold_4201_, v___x_4203_);
v___x_4205_ = lean_uint64_to_usize(v___x_4204_);
v___x_4206_ = lean_usize_of_nat(v___x_4197_);
v___x_4207_ = ((size_t)1ULL);
v___x_4208_ = lean_usize_sub(v___x_4206_, v___x_4207_);
v___x_4209_ = lean_usize_land(v___x_4205_, v___x_4208_);
v___x_4210_ = lean_array_uget_borrowed(v_buckets_4196_, v___x_4209_);
v___x_4211_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg(v_a_4195_, v___x_4210_);
return v___x_4211_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg___boxed(lean_object* v_m_4212_, lean_object* v_a_4213_){
_start:
{
lean_object* v_res_4214_; 
v_res_4214_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(v_m_4212_, v_a_4213_);
lean_dec_ref(v_a_4213_);
lean_dec_ref(v_m_4212_);
return v_res_4214_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17___redArg(lean_object* v_x_4215_, lean_object* v_x_4216_){
_start:
{
if (lean_obj_tag(v_x_4216_) == 0)
{
return v_x_4215_;
}
else
{
lean_object* v_key_4217_; lean_object* v_value_4218_; lean_object* v_tail_4219_; lean_object* v___x_4221_; uint8_t v_isShared_4222_; uint8_t v_isSharedCheck_4242_; 
v_key_4217_ = lean_ctor_get(v_x_4216_, 0);
v_value_4218_ = lean_ctor_get(v_x_4216_, 1);
v_tail_4219_ = lean_ctor_get(v_x_4216_, 2);
v_isSharedCheck_4242_ = !lean_is_exclusive(v_x_4216_);
if (v_isSharedCheck_4242_ == 0)
{
v___x_4221_ = v_x_4216_;
v_isShared_4222_ = v_isSharedCheck_4242_;
goto v_resetjp_4220_;
}
else
{
lean_inc(v_tail_4219_);
lean_inc(v_value_4218_);
lean_inc(v_key_4217_);
lean_dec(v_x_4216_);
v___x_4221_ = lean_box(0);
v_isShared_4222_ = v_isSharedCheck_4242_;
goto v_resetjp_4220_;
}
v_resetjp_4220_:
{
lean_object* v___x_4223_; uint64_t v___x_4224_; uint64_t v___x_4225_; uint64_t v___x_4226_; uint64_t v_fold_4227_; uint64_t v___x_4228_; uint64_t v___x_4229_; uint64_t v___x_4230_; size_t v___x_4231_; size_t v___x_4232_; size_t v___x_4233_; size_t v___x_4234_; size_t v___x_4235_; lean_object* v___x_4236_; lean_object* v___x_4238_; 
v___x_4223_ = lean_array_get_size(v_x_4215_);
v___x_4224_ = lean_uint64_of_nat(v_key_4217_);
v___x_4225_ = 32ULL;
v___x_4226_ = lean_uint64_shift_right(v___x_4224_, v___x_4225_);
v_fold_4227_ = lean_uint64_xor(v___x_4224_, v___x_4226_);
v___x_4228_ = 16ULL;
v___x_4229_ = lean_uint64_shift_right(v_fold_4227_, v___x_4228_);
v___x_4230_ = lean_uint64_xor(v_fold_4227_, v___x_4229_);
v___x_4231_ = lean_uint64_to_usize(v___x_4230_);
v___x_4232_ = lean_usize_of_nat(v___x_4223_);
v___x_4233_ = ((size_t)1ULL);
v___x_4234_ = lean_usize_sub(v___x_4232_, v___x_4233_);
v___x_4235_ = lean_usize_land(v___x_4231_, v___x_4234_);
v___x_4236_ = lean_array_uget_borrowed(v_x_4215_, v___x_4235_);
lean_inc(v___x_4236_);
if (v_isShared_4222_ == 0)
{
lean_ctor_set(v___x_4221_, 2, v___x_4236_);
v___x_4238_ = v___x_4221_;
goto v_reusejp_4237_;
}
else
{
lean_object* v_reuseFailAlloc_4241_; 
v_reuseFailAlloc_4241_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4241_, 0, v_key_4217_);
lean_ctor_set(v_reuseFailAlloc_4241_, 1, v_value_4218_);
lean_ctor_set(v_reuseFailAlloc_4241_, 2, v___x_4236_);
v___x_4238_ = v_reuseFailAlloc_4241_;
goto v_reusejp_4237_;
}
v_reusejp_4237_:
{
lean_object* v___x_4239_; 
v___x_4239_ = lean_array_uset(v_x_4215_, v___x_4235_, v___x_4238_);
v_x_4215_ = v___x_4239_;
v_x_4216_ = v_tail_4219_;
goto _start;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13___redArg(lean_object* v_i_4243_, lean_object* v_source_4244_, lean_object* v_target_4245_){
_start:
{
lean_object* v___x_4246_; uint8_t v___x_4247_; 
v___x_4246_ = lean_array_get_size(v_source_4244_);
v___x_4247_ = lean_nat_dec_lt(v_i_4243_, v___x_4246_);
if (v___x_4247_ == 0)
{
lean_dec_ref(v_source_4244_);
lean_dec(v_i_4243_);
return v_target_4245_;
}
else
{
lean_object* v_es_4248_; lean_object* v___x_4249_; lean_object* v_source_4250_; lean_object* v_target_4251_; lean_object* v___x_4252_; lean_object* v___x_4253_; 
v_es_4248_ = lean_array_fget(v_source_4244_, v_i_4243_);
v___x_4249_ = lean_box(0);
v_source_4250_ = lean_array_fset(v_source_4244_, v_i_4243_, v___x_4249_);
v_target_4251_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17___redArg(v_target_4245_, v_es_4248_);
v___x_4252_ = lean_unsigned_to_nat(1u);
v___x_4253_ = lean_nat_add(v_i_4243_, v___x_4252_);
lean_dec(v_i_4243_);
v_i_4243_ = v___x_4253_;
v_source_4244_ = v_source_4250_;
v_target_4245_ = v_target_4251_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10___redArg(lean_object* v_data_4255_){
_start:
{
lean_object* v___x_4256_; lean_object* v___x_4257_; lean_object* v_nbuckets_4258_; lean_object* v___x_4259_; lean_object* v___x_4260_; lean_object* v___x_4261_; lean_object* v___x_4262_; 
v___x_4256_ = lean_array_get_size(v_data_4255_);
v___x_4257_ = lean_unsigned_to_nat(2u);
v_nbuckets_4258_ = lean_nat_mul(v___x_4256_, v___x_4257_);
v___x_4259_ = lean_unsigned_to_nat(0u);
v___x_4260_ = lean_box(0);
v___x_4261_ = lean_mk_array(v_nbuckets_4258_, v___x_4260_);
v___x_4262_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13___redArg(v___x_4259_, v_data_4255_, v___x_4261_);
return v___x_4262_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg(lean_object* v_a_4263_, lean_object* v_x_4264_){
_start:
{
if (lean_obj_tag(v_x_4264_) == 0)
{
uint8_t v___x_4265_; 
v___x_4265_ = 0;
return v___x_4265_;
}
else
{
lean_object* v_key_4266_; lean_object* v_tail_4267_; uint8_t v___x_4268_; 
v_key_4266_ = lean_ctor_get(v_x_4264_, 0);
v_tail_4267_ = lean_ctor_get(v_x_4264_, 2);
v___x_4268_ = lean_nat_dec_eq(v_key_4266_, v_a_4263_);
if (v___x_4268_ == 0)
{
v_x_4264_ = v_tail_4267_;
goto _start;
}
else
{
return v___x_4268_;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg___boxed(lean_object* v_a_4270_, lean_object* v_x_4271_){
_start:
{
uint8_t v_res_4272_; lean_object* v_r_4273_; 
v_res_4272_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg(v_a_4270_, v_x_4271_);
lean_dec(v_x_4271_);
lean_dec(v_a_4270_);
v_r_4273_ = lean_box(v_res_4272_);
return v_r_4273_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11___redArg(lean_object* v_a_4274_, lean_object* v_b_4275_, lean_object* v_x_4276_){
_start:
{
if (lean_obj_tag(v_x_4276_) == 0)
{
lean_dec(v_b_4275_);
lean_dec(v_a_4274_);
return v_x_4276_;
}
else
{
lean_object* v_key_4277_; lean_object* v_value_4278_; lean_object* v_tail_4279_; lean_object* v___x_4281_; uint8_t v_isShared_4282_; uint8_t v_isSharedCheck_4291_; 
v_key_4277_ = lean_ctor_get(v_x_4276_, 0);
v_value_4278_ = lean_ctor_get(v_x_4276_, 1);
v_tail_4279_ = lean_ctor_get(v_x_4276_, 2);
v_isSharedCheck_4291_ = !lean_is_exclusive(v_x_4276_);
if (v_isSharedCheck_4291_ == 0)
{
v___x_4281_ = v_x_4276_;
v_isShared_4282_ = v_isSharedCheck_4291_;
goto v_resetjp_4280_;
}
else
{
lean_inc(v_tail_4279_);
lean_inc(v_value_4278_);
lean_inc(v_key_4277_);
lean_dec(v_x_4276_);
v___x_4281_ = lean_box(0);
v_isShared_4282_ = v_isSharedCheck_4291_;
goto v_resetjp_4280_;
}
v_resetjp_4280_:
{
uint8_t v___x_4283_; 
v___x_4283_ = lean_nat_dec_eq(v_key_4277_, v_a_4274_);
if (v___x_4283_ == 0)
{
lean_object* v___x_4284_; lean_object* v___x_4286_; 
v___x_4284_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11___redArg(v_a_4274_, v_b_4275_, v_tail_4279_);
if (v_isShared_4282_ == 0)
{
lean_ctor_set(v___x_4281_, 2, v___x_4284_);
v___x_4286_ = v___x_4281_;
goto v_reusejp_4285_;
}
else
{
lean_object* v_reuseFailAlloc_4287_; 
v_reuseFailAlloc_4287_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4287_, 0, v_key_4277_);
lean_ctor_set(v_reuseFailAlloc_4287_, 1, v_value_4278_);
lean_ctor_set(v_reuseFailAlloc_4287_, 2, v___x_4284_);
v___x_4286_ = v_reuseFailAlloc_4287_;
goto v_reusejp_4285_;
}
v_reusejp_4285_:
{
return v___x_4286_;
}
}
else
{
lean_object* v___x_4289_; 
lean_dec(v_value_4278_);
lean_dec(v_key_4277_);
if (v_isShared_4282_ == 0)
{
lean_ctor_set(v___x_4281_, 1, v_b_4275_);
lean_ctor_set(v___x_4281_, 0, v_a_4274_);
v___x_4289_ = v___x_4281_;
goto v_reusejp_4288_;
}
else
{
lean_object* v_reuseFailAlloc_4290_; 
v_reuseFailAlloc_4290_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_4290_, 0, v_a_4274_);
lean_ctor_set(v_reuseFailAlloc_4290_, 1, v_b_4275_);
lean_ctor_set(v_reuseFailAlloc_4290_, 2, v_tail_4279_);
v___x_4289_ = v_reuseFailAlloc_4290_;
goto v_reusejp_4288_;
}
v_reusejp_4288_:
{
return v___x_4289_;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(lean_object* v_m_4292_, lean_object* v_a_4293_, lean_object* v_b_4294_){
_start:
{
lean_object* v_size_4295_; lean_object* v_buckets_4296_; lean_object* v___x_4298_; uint8_t v_isShared_4299_; uint8_t v_isSharedCheck_4339_; 
v_size_4295_ = lean_ctor_get(v_m_4292_, 0);
v_buckets_4296_ = lean_ctor_get(v_m_4292_, 1);
v_isSharedCheck_4339_ = !lean_is_exclusive(v_m_4292_);
if (v_isSharedCheck_4339_ == 0)
{
v___x_4298_ = v_m_4292_;
v_isShared_4299_ = v_isSharedCheck_4339_;
goto v_resetjp_4297_;
}
else
{
lean_inc(v_buckets_4296_);
lean_inc(v_size_4295_);
lean_dec(v_m_4292_);
v___x_4298_ = lean_box(0);
v_isShared_4299_ = v_isSharedCheck_4339_;
goto v_resetjp_4297_;
}
v_resetjp_4297_:
{
lean_object* v___x_4300_; uint64_t v___x_4301_; uint64_t v___x_4302_; uint64_t v___x_4303_; uint64_t v_fold_4304_; uint64_t v___x_4305_; uint64_t v___x_4306_; uint64_t v___x_4307_; size_t v___x_4308_; size_t v___x_4309_; size_t v___x_4310_; size_t v___x_4311_; size_t v___x_4312_; lean_object* v_bkt_4313_; uint8_t v___x_4314_; 
v___x_4300_ = lean_array_get_size(v_buckets_4296_);
v___x_4301_ = lean_uint64_of_nat(v_a_4293_);
v___x_4302_ = 32ULL;
v___x_4303_ = lean_uint64_shift_right(v___x_4301_, v___x_4302_);
v_fold_4304_ = lean_uint64_xor(v___x_4301_, v___x_4303_);
v___x_4305_ = 16ULL;
v___x_4306_ = lean_uint64_shift_right(v_fold_4304_, v___x_4305_);
v___x_4307_ = lean_uint64_xor(v_fold_4304_, v___x_4306_);
v___x_4308_ = lean_uint64_to_usize(v___x_4307_);
v___x_4309_ = lean_usize_of_nat(v___x_4300_);
v___x_4310_ = ((size_t)1ULL);
v___x_4311_ = lean_usize_sub(v___x_4309_, v___x_4310_);
v___x_4312_ = lean_usize_land(v___x_4308_, v___x_4311_);
v_bkt_4313_ = lean_array_uget_borrowed(v_buckets_4296_, v___x_4312_);
v___x_4314_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg(v_a_4293_, v_bkt_4313_);
if (v___x_4314_ == 0)
{
lean_object* v___x_4315_; lean_object* v_size_x27_4316_; lean_object* v___x_4317_; lean_object* v_buckets_x27_4318_; lean_object* v___x_4319_; lean_object* v___x_4320_; lean_object* v___x_4321_; lean_object* v___x_4322_; lean_object* v___x_4323_; uint8_t v___x_4324_; 
v___x_4315_ = lean_unsigned_to_nat(1u);
v_size_x27_4316_ = lean_nat_add(v_size_4295_, v___x_4315_);
lean_dec(v_size_4295_);
lean_inc(v_bkt_4313_);
v___x_4317_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v___x_4317_, 0, v_a_4293_);
lean_ctor_set(v___x_4317_, 1, v_b_4294_);
lean_ctor_set(v___x_4317_, 2, v_bkt_4313_);
v_buckets_x27_4318_ = lean_array_uset(v_buckets_4296_, v___x_4312_, v___x_4317_);
v___x_4319_ = lean_unsigned_to_nat(4u);
v___x_4320_ = lean_nat_mul(v_size_x27_4316_, v___x_4319_);
v___x_4321_ = lean_unsigned_to_nat(3u);
v___x_4322_ = lean_nat_div(v___x_4320_, v___x_4321_);
lean_dec(v___x_4320_);
v___x_4323_ = lean_array_get_size(v_buckets_x27_4318_);
v___x_4324_ = lean_nat_dec_le(v___x_4322_, v___x_4323_);
lean_dec(v___x_4322_);
if (v___x_4324_ == 0)
{
lean_object* v_val_4325_; lean_object* v___x_4327_; 
v_val_4325_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10___redArg(v_buckets_x27_4318_);
if (v_isShared_4299_ == 0)
{
lean_ctor_set(v___x_4298_, 1, v_val_4325_);
lean_ctor_set(v___x_4298_, 0, v_size_x27_4316_);
v___x_4327_ = v___x_4298_;
goto v_reusejp_4326_;
}
else
{
lean_object* v_reuseFailAlloc_4328_; 
v_reuseFailAlloc_4328_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4328_, 0, v_size_x27_4316_);
lean_ctor_set(v_reuseFailAlloc_4328_, 1, v_val_4325_);
v___x_4327_ = v_reuseFailAlloc_4328_;
goto v_reusejp_4326_;
}
v_reusejp_4326_:
{
return v___x_4327_;
}
}
else
{
lean_object* v___x_4330_; 
if (v_isShared_4299_ == 0)
{
lean_ctor_set(v___x_4298_, 1, v_buckets_x27_4318_);
lean_ctor_set(v___x_4298_, 0, v_size_x27_4316_);
v___x_4330_ = v___x_4298_;
goto v_reusejp_4329_;
}
else
{
lean_object* v_reuseFailAlloc_4331_; 
v_reuseFailAlloc_4331_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4331_, 0, v_size_x27_4316_);
lean_ctor_set(v_reuseFailAlloc_4331_, 1, v_buckets_x27_4318_);
v___x_4330_ = v_reuseFailAlloc_4331_;
goto v_reusejp_4329_;
}
v_reusejp_4329_:
{
return v___x_4330_;
}
}
}
else
{
lean_object* v___x_4332_; lean_object* v_buckets_x27_4333_; lean_object* v___x_4334_; lean_object* v___x_4335_; lean_object* v___x_4337_; 
lean_inc(v_bkt_4313_);
v___x_4332_ = lean_box(0);
v_buckets_x27_4333_ = lean_array_uset(v_buckets_4296_, v___x_4312_, v___x_4332_);
v___x_4334_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11___redArg(v_a_4293_, v_b_4294_, v_bkt_4313_);
v___x_4335_ = lean_array_uset(v_buckets_x27_4333_, v___x_4312_, v___x_4334_);
if (v_isShared_4299_ == 0)
{
lean_ctor_set(v___x_4298_, 1, v___x_4335_);
v___x_4337_ = v___x_4298_;
goto v_reusejp_4336_;
}
else
{
lean_object* v_reuseFailAlloc_4338_; 
v_reuseFailAlloc_4338_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4338_, 0, v_size_4295_);
lean_ctor_set(v_reuseFailAlloc_4338_, 1, v___x_4335_);
v___x_4337_ = v_reuseFailAlloc_4338_;
goto v_reusejp_4336_;
}
v_reusejp_4336_:
{
return v___x_4337_;
}
}
}
}
}
static double _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0(void){
_start:
{
lean_object* v___x_4341_; uint8_t v___x_4342_; lean_object* v___x_4343_; double v___x_4344_; 
v___x_4341_ = lean_unsigned_to_nat(1u);
v___x_4342_ = 1;
v___x_4343_ = lean_unsigned_to_nat(0u);
v___x_4344_ = l_Float_ofScientific(v___x_4343_, v___x_4342_, v___x_4341_);
return v___x_4344_;
}
}
static lean_object* _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1(void){
_start:
{
double v___x_4345_; lean_object* v___x_4346_; 
v___x_4345_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__0);
v___x_4346_ = lean_box_float(v___x_4345_);
return v___x_4346_;
}
}
static lean_object* _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1(void){
_start:
{
lean_object* v___x_4347_; lean_object* v___x_4348_; 
v___x_4347_ = lean_unsigned_to_nat(1u);
v___x_4348_ = lean_nat_to_int(v___x_4347_);
return v___x_4348_;
}
}
static lean_object* _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2(void){
_start:
{
lean_object* v___x_4349_; lean_object* v___x_4350_; 
v___x_4349_ = lean_obj_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1, &l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__1);
v___x_4350_ = lean_int_neg(v___x_4349_);
return v___x_4350_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go(uint8_t v_pp_4353_, lean_object* v_parentStackIdx_x3f_4354_, lean_object* v_ctx_x3f_4355_, lean_object* v_a_4356_, lean_object* v_a_4357_){
_start:
{
switch(lean_obj_tag(v_a_4356_))
{
case 9:
{
lean_object* v_data_4359_; lean_object* v_msg_4360_; lean_object* v_children_4361_; lean_object* v_cls_4362_; double v_startTime_4363_; double v_stopTime_4364_; lean_object* v_tag_4365_; lean_object* v___x_4366_; double v___x_4367_; uint8_t v___x_4368_; 
v_data_4359_ = lean_ctor_get(v_a_4356_, 0);
lean_inc_ref(v_data_4359_);
v_msg_4360_ = lean_ctor_get(v_a_4356_, 1);
lean_inc_ref(v_msg_4360_);
v_children_4361_ = lean_ctor_get(v_a_4356_, 2);
lean_inc_ref(v_children_4361_);
lean_dec_ref(v_a_4356_);
v_cls_4362_ = lean_ctor_get(v_data_4359_, 0);
lean_inc(v_cls_4362_);
v_startTime_4363_ = lean_ctor_get_float(v_data_4359_, sizeof(void*)*3);
v_stopTime_4364_ = lean_ctor_get_float(v_data_4359_, sizeof(void*)*3 + 8);
v_tag_4365_ = lean_ctor_get(v_data_4359_, 2);
lean_inc_ref(v_tag_4365_);
lean_dec_ref(v_data_4359_);
v___x_4366_ = lean_unsigned_to_nat(0u);
v___x_4367_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0);
v___x_4368_ = lean_float_beq(v_startTime_4363_, v___x_4367_);
if (v___x_4368_ == 0)
{
lean_object* v___f_4369_; uint8_t v___x_4370_; lean_object* v_fst_4372_; lean_object* v_toThread_4373_; lean_object* v_stringMap_4374_; lean_object* v_funcMap_4375_; lean_object* v_stackMap_4376_; lean_object* v___y_4469_; lean_object* v_fst_4470_; lean_object* v_toThread_4471_; lean_object* v_stringMap_4472_; lean_object* v_funcMap_4473_; lean_object* v_stackMap_4474_; double v_lastTime_4475_; lean_object* v___y_4519_; lean_object* v___y_4520_; lean_object* v___y_4521_; lean_object* v_fst_4578_; lean_object* v_snd_4579_; lean_object* v_funcName_4584_; lean_object* v___y_4585_; lean_object* v_funcName_4626_; lean_object* v___y_4627_; lean_object* v_funcName_4634_; lean_object* v___x_4639_; uint8_t v___x_4640_; 
lean_inc(v_cls_4362_);
v___f_4369_ = lean_alloc_closure((void*)(l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___lam__0___boxed), 2, 1);
lean_closure_set(v___f_4369_, 0, v_cls_4362_);
v___x_4370_ = 1;
v_funcName_4634_ = l_Lean_Name_toString(v_cls_4362_, v___x_4370_);
v___x_4639_ = lean_string_utf8_byte_size(v_tag_4365_);
v___x_4640_ = lean_nat_dec_eq(v___x_4639_, v___x_4366_);
if (v___x_4640_ == 0)
{
goto v___jp_4635_;
}
else
{
if (v___x_4368_ == 0)
{
lean_dec_ref(v_tag_4365_);
v_funcName_4626_ = v_funcName_4634_;
v___y_4627_ = v_a_4357_;
goto v___jp_4625_;
}
else
{
goto v___jp_4635_;
}
}
v___jp_4371_:
{
lean_object* v___x_4377_; lean_object* v___x_4378_; size_t v_sz_4379_; size_t v___x_4380_; lean_object* v___x_4381_; 
v___x_4377_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v___x_4377_, 0, v_toThread_4373_);
lean_ctor_set(v___x_4377_, 1, v_stringMap_4374_);
lean_ctor_set(v___x_4377_, 2, v_funcMap_4375_);
lean_ctor_set(v___x_4377_, 3, v_stackMap_4376_);
lean_ctor_set_float(v___x_4377_, sizeof(void*)*4, v_startTime_4363_);
v___x_4378_ = lean_box(0);
v_sz_4379_ = lean_array_size(v_children_4361_);
v___x_4380_ = ((size_t)0ULL);
lean_inc(v_fst_4372_);
v___x_4381_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0(v_fst_4372_, v_pp_4353_, v_ctx_x3f_4355_, v_children_4361_, v_sz_4379_, v___x_4380_, v___x_4378_, v___x_4377_);
lean_dec_ref(v_children_4361_);
if (lean_obj_tag(v___x_4381_) == 0)
{
lean_object* v_a_4382_; lean_object* v___x_4384_; uint8_t v_isShared_4385_; uint8_t v_isSharedCheck_4467_; 
v_a_4382_ = lean_ctor_get(v___x_4381_, 0);
v_isSharedCheck_4467_ = !lean_is_exclusive(v___x_4381_);
if (v_isSharedCheck_4467_ == 0)
{
v___x_4384_ = v___x_4381_;
v_isShared_4385_ = v_isSharedCheck_4467_;
goto v_resetjp_4383_;
}
else
{
lean_inc(v_a_4382_);
lean_dec(v___x_4381_);
v___x_4384_ = lean_box(0);
v_isShared_4385_ = v_isSharedCheck_4467_;
goto v_resetjp_4383_;
}
v_resetjp_4383_:
{
lean_object* v_snd_4386_; lean_object* v___x_4388_; uint8_t v_isShared_4389_; uint8_t v_isSharedCheck_4465_; 
v_snd_4386_ = lean_ctor_get(v_a_4382_, 1);
v_isSharedCheck_4465_ = !lean_is_exclusive(v_a_4382_);
if (v_isSharedCheck_4465_ == 0)
{
lean_object* v_unused_4466_; 
v_unused_4466_ = lean_ctor_get(v_a_4382_, 0);
lean_dec(v_unused_4466_);
v___x_4388_ = v_a_4382_;
v_isShared_4389_ = v_isSharedCheck_4465_;
goto v_resetjp_4387_;
}
else
{
lean_inc(v_snd_4386_);
lean_dec(v_a_4382_);
v___x_4388_ = lean_box(0);
v_isShared_4389_ = v_isSharedCheck_4465_;
goto v_resetjp_4387_;
}
v_resetjp_4387_:
{
lean_object* v_toThread_4390_; lean_object* v_samples_4391_; lean_object* v_stringMap_4392_; lean_object* v_funcMap_4393_; lean_object* v_stackMap_4394_; double v_lastTime_4395_; lean_object* v___x_4397_; uint8_t v_isShared_4398_; uint8_t v_isSharedCheck_4463_; 
v_toThread_4390_ = lean_ctor_get(v_snd_4386_, 0);
lean_inc_ref(v_toThread_4390_);
v_samples_4391_ = lean_ctor_get(v_toThread_4390_, 2);
lean_inc_ref(v_samples_4391_);
v_stringMap_4392_ = lean_ctor_get(v_snd_4386_, 1);
v_funcMap_4393_ = lean_ctor_get(v_snd_4386_, 2);
v_stackMap_4394_ = lean_ctor_get(v_snd_4386_, 3);
v_lastTime_4395_ = lean_ctor_get_float(v_snd_4386_, sizeof(void*)*4);
v_isSharedCheck_4463_ = !lean_is_exclusive(v_snd_4386_);
if (v_isSharedCheck_4463_ == 0)
{
lean_object* v_unused_4464_; 
v_unused_4464_ = lean_ctor_get(v_snd_4386_, 0);
lean_dec(v_unused_4464_);
v___x_4397_ = v_snd_4386_;
v_isShared_4398_ = v_isSharedCheck_4463_;
goto v_resetjp_4396_;
}
else
{
lean_inc(v_stackMap_4394_);
lean_inc(v_funcMap_4393_);
lean_inc(v_stringMap_4392_);
lean_dec(v_snd_4386_);
v___x_4397_ = lean_box(0);
v_isShared_4398_ = v_isSharedCheck_4463_;
goto v_resetjp_4396_;
}
v_resetjp_4396_:
{
lean_object* v_name_4399_; lean_object* v_processType_4400_; uint8_t v_isMainThread_4401_; lean_object* v_markers_4402_; lean_object* v_stackTable_4403_; lean_object* v_frameTable_4404_; lean_object* v_resourceTable_4405_; lean_object* v_nativeSymbols_4406_; lean_object* v_stringArray_4407_; lean_object* v_funcTable_4408_; lean_object* v___x_4410_; uint8_t v_isShared_4411_; uint8_t v_isSharedCheck_4461_; 
v_name_4399_ = lean_ctor_get(v_toThread_4390_, 0);
v_processType_4400_ = lean_ctor_get(v_toThread_4390_, 1);
v_isMainThread_4401_ = lean_ctor_get_uint8(v_toThread_4390_, sizeof(void*)*10);
v_markers_4402_ = lean_ctor_get(v_toThread_4390_, 3);
v_stackTable_4403_ = lean_ctor_get(v_toThread_4390_, 4);
v_frameTable_4404_ = lean_ctor_get(v_toThread_4390_, 5);
v_resourceTable_4405_ = lean_ctor_get(v_toThread_4390_, 6);
v_nativeSymbols_4406_ = lean_ctor_get(v_toThread_4390_, 7);
v_stringArray_4407_ = lean_ctor_get(v_toThread_4390_, 8);
v_funcTable_4408_ = lean_ctor_get(v_toThread_4390_, 9);
v_isSharedCheck_4461_ = !lean_is_exclusive(v_toThread_4390_);
if (v_isSharedCheck_4461_ == 0)
{
lean_object* v_unused_4462_; 
v_unused_4462_ = lean_ctor_get(v_toThread_4390_, 2);
lean_dec(v_unused_4462_);
v___x_4410_ = v_toThread_4390_;
v_isShared_4411_ = v_isSharedCheck_4461_;
goto v_resetjp_4409_;
}
else
{
lean_inc(v_funcTable_4408_);
lean_inc(v_stringArray_4407_);
lean_inc(v_nativeSymbols_4406_);
lean_inc(v_resourceTable_4405_);
lean_inc(v_frameTable_4404_);
lean_inc(v_stackTable_4403_);
lean_inc(v_markers_4402_);
lean_inc(v_processType_4400_);
lean_inc(v_name_4399_);
lean_dec(v_toThread_4390_);
v___x_4410_ = lean_box(0);
v_isShared_4411_ = v_isSharedCheck_4461_;
goto v_resetjp_4409_;
}
v_resetjp_4409_:
{
lean_object* v_stack_4412_; lean_object* v_time_4413_; lean_object* v_weight_4414_; lean_object* v_threadCPUDelta_4415_; lean_object* v_length_4416_; lean_object* v___x_4418_; uint8_t v_isShared_4419_; uint8_t v_isSharedCheck_4459_; 
v_stack_4412_ = lean_ctor_get(v_samples_4391_, 0);
v_time_4413_ = lean_ctor_get(v_samples_4391_, 1);
v_weight_4414_ = lean_ctor_get(v_samples_4391_, 2);
v_threadCPUDelta_4415_ = lean_ctor_get(v_samples_4391_, 4);
v_length_4416_ = lean_ctor_get(v_samples_4391_, 5);
v_isSharedCheck_4459_ = !lean_is_exclusive(v_samples_4391_);
if (v_isSharedCheck_4459_ == 0)
{
lean_object* v_unused_4460_; 
v_unused_4460_ = lean_ctor_get(v_samples_4391_, 3);
lean_dec(v_unused_4460_);
v___x_4418_ = v_samples_4391_;
v_isShared_4419_ = v_isSharedCheck_4459_;
goto v_resetjp_4417_;
}
else
{
lean_inc(v_length_4416_);
lean_inc(v_threadCPUDelta_4415_);
lean_inc(v_weight_4414_);
lean_inc(v_time_4413_);
lean_inc(v_stack_4412_);
lean_dec(v_samples_4391_);
v___x_4418_ = lean_box(0);
v_isShared_4419_ = v_isSharedCheck_4459_;
goto v_resetjp_4417_;
}
v_resetjp_4417_:
{
lean_object* v___x_4420_; lean_object* v___x_4421_; double v___x_4422_; double v___x_4423_; lean_object* v___x_4424_; lean_object* v___x_4425_; double v___x_4426_; lean_object* v___x_4427_; lean_object* v___x_4428_; lean_object* v___x_4429_; lean_object* v___x_4430_; double v___x_4431_; double v___x_4432_; lean_object* v___x_4433_; lean_object* v___x_4434_; lean_object* v___x_4435_; lean_object* v___x_4436_; lean_object* v___x_4437_; double v___x_4438_; double v___x_4439_; lean_object* v___x_4440_; lean_object* v___x_4441_; lean_object* v___x_4442_; lean_object* v___x_4443_; lean_object* v___x_4445_; 
lean_inc(v_fst_4372_);
v___x_4420_ = lean_array_push(v_stack_4412_, v_fst_4372_);
v___x_4421_ = lean_array_push(v___x_4420_, v_fst_4372_);
v___x_4422_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_4423_ = lean_float_mul(v_lastTime_4395_, v___x_4422_);
v___x_4424_ = lean_box_float(v___x_4423_);
v___x_4425_ = lean_array_push(v_time_4413_, v___x_4424_);
v___x_4426_ = lean_float_mul(v_stopTime_4364_, v___x_4422_);
v___x_4427_ = lean_box_float(v___x_4426_);
v___x_4428_ = lean_array_push(v___x_4425_, v___x_4427_);
v___x_4429_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1;
v___x_4430_ = lean_array_push(v_weight_4414_, v___x_4429_);
v___x_4431_ = lean_float_sub(v_stopTime_4364_, v_lastTime_4395_);
v___x_4432_ = lean_float_mul(v___x_4431_, v___x_4422_);
v___x_4433_ = lean_box_float(v___x_4432_);
v___x_4434_ = lean_array_push(v___x_4430_, v___x_4433_);
v___x_4435_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0));
v___x_4436_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1;
v___x_4437_ = lean_array_push(v_threadCPUDelta_4415_, v___x_4436_);
v___x_4438_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0);
v___x_4439_ = lean_float_mul(v___x_4431_, v___x_4438_);
v___x_4440_ = lean_box_float(v___x_4439_);
v___x_4441_ = lean_array_push(v___x_4437_, v___x_4440_);
v___x_4442_ = lean_unsigned_to_nat(2u);
v___x_4443_ = lean_nat_add(v_length_4416_, v___x_4442_);
lean_dec(v_length_4416_);
if (v_isShared_4419_ == 0)
{
lean_ctor_set(v___x_4418_, 5, v___x_4443_);
lean_ctor_set(v___x_4418_, 4, v___x_4441_);
lean_ctor_set(v___x_4418_, 3, v___x_4435_);
lean_ctor_set(v___x_4418_, 2, v___x_4434_);
lean_ctor_set(v___x_4418_, 1, v___x_4428_);
lean_ctor_set(v___x_4418_, 0, v___x_4421_);
v___x_4445_ = v___x_4418_;
goto v_reusejp_4444_;
}
else
{
lean_object* v_reuseFailAlloc_4458_; 
v_reuseFailAlloc_4458_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v_reuseFailAlloc_4458_, 0, v___x_4421_);
lean_ctor_set(v_reuseFailAlloc_4458_, 1, v___x_4428_);
lean_ctor_set(v_reuseFailAlloc_4458_, 2, v___x_4434_);
lean_ctor_set(v_reuseFailAlloc_4458_, 3, v___x_4435_);
lean_ctor_set(v_reuseFailAlloc_4458_, 4, v___x_4441_);
lean_ctor_set(v_reuseFailAlloc_4458_, 5, v___x_4443_);
v___x_4445_ = v_reuseFailAlloc_4458_;
goto v_reusejp_4444_;
}
v_reusejp_4444_:
{
lean_object* v___x_4447_; 
if (v_isShared_4411_ == 0)
{
lean_ctor_set(v___x_4410_, 2, v___x_4445_);
v___x_4447_ = v___x_4410_;
goto v_reusejp_4446_;
}
else
{
lean_object* v_reuseFailAlloc_4457_; 
v_reuseFailAlloc_4457_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_4457_, 0, v_name_4399_);
lean_ctor_set(v_reuseFailAlloc_4457_, 1, v_processType_4400_);
lean_ctor_set(v_reuseFailAlloc_4457_, 2, v___x_4445_);
lean_ctor_set(v_reuseFailAlloc_4457_, 3, v_markers_4402_);
lean_ctor_set(v_reuseFailAlloc_4457_, 4, v_stackTable_4403_);
lean_ctor_set(v_reuseFailAlloc_4457_, 5, v_frameTable_4404_);
lean_ctor_set(v_reuseFailAlloc_4457_, 6, v_resourceTable_4405_);
lean_ctor_set(v_reuseFailAlloc_4457_, 7, v_nativeSymbols_4406_);
lean_ctor_set(v_reuseFailAlloc_4457_, 8, v_stringArray_4407_);
lean_ctor_set(v_reuseFailAlloc_4457_, 9, v_funcTable_4408_);
lean_ctor_set_uint8(v_reuseFailAlloc_4457_, sizeof(void*)*10, v_isMainThread_4401_);
v___x_4447_ = v_reuseFailAlloc_4457_;
goto v_reusejp_4446_;
}
v_reusejp_4446_:
{
lean_object* v___x_4449_; 
if (v_isShared_4398_ == 0)
{
lean_ctor_set(v___x_4397_, 0, v___x_4447_);
v___x_4449_ = v___x_4397_;
goto v_reusejp_4448_;
}
else
{
lean_object* v_reuseFailAlloc_4456_; 
v_reuseFailAlloc_4456_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_4456_, 0, v___x_4447_);
lean_ctor_set(v_reuseFailAlloc_4456_, 1, v_stringMap_4392_);
lean_ctor_set(v_reuseFailAlloc_4456_, 2, v_funcMap_4393_);
lean_ctor_set(v_reuseFailAlloc_4456_, 3, v_stackMap_4394_);
v___x_4449_ = v_reuseFailAlloc_4456_;
goto v_reusejp_4448_;
}
v_reusejp_4448_:
{
lean_object* v___x_4451_; 
lean_ctor_set_float(v___x_4449_, sizeof(void*)*4, v_stopTime_4364_);
if (v_isShared_4389_ == 0)
{
lean_ctor_set(v___x_4388_, 1, v___x_4449_);
lean_ctor_set(v___x_4388_, 0, v___x_4378_);
v___x_4451_ = v___x_4388_;
goto v_reusejp_4450_;
}
else
{
lean_object* v_reuseFailAlloc_4455_; 
v_reuseFailAlloc_4455_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_4455_, 0, v___x_4378_);
lean_ctor_set(v_reuseFailAlloc_4455_, 1, v___x_4449_);
v___x_4451_ = v_reuseFailAlloc_4455_;
goto v_reusejp_4450_;
}
v_reusejp_4450_:
{
lean_object* v___x_4453_; 
if (v_isShared_4385_ == 0)
{
lean_ctor_set(v___x_4384_, 0, v___x_4451_);
v___x_4453_ = v___x_4384_;
goto v_reusejp_4452_;
}
else
{
lean_object* v_reuseFailAlloc_4454_; 
v_reuseFailAlloc_4454_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_4454_, 0, v___x_4451_);
v___x_4453_ = v_reuseFailAlloc_4454_;
goto v_reusejp_4452_;
}
v_reusejp_4452_:
{
return v___x_4453_;
}
}
}
}
}
}
}
}
}
}
}
else
{
lean_dec(v_fst_4372_);
return v___x_4381_;
}
}
v___jp_4468_:
{
lean_object* v___x_4476_; lean_object* v___x_4477_; 
lean_inc(v_parentStackIdx_x3f_4354_);
lean_inc(v_fst_4470_);
v___x_4476_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_4476_, 0, v_fst_4470_);
lean_ctor_set(v___x_4476_, 1, v_parentStackIdx_x3f_4354_);
v___x_4477_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(v_stackMap_4474_, v___x_4476_);
if (lean_obj_tag(v___x_4477_) == 1)
{
lean_object* v_val_4478_; 
lean_dec_ref(v___x_4476_);
lean_dec(v_fst_4470_);
lean_dec(v___y_4469_);
lean_dec(v_parentStackIdx_x3f_4354_);
v_val_4478_ = lean_ctor_get(v___x_4477_, 0);
lean_inc(v_val_4478_);
lean_dec_ref(v___x_4477_);
v_fst_4372_ = v_val_4478_;
v_toThread_4373_ = v_toThread_4471_;
v_stringMap_4374_ = v_stringMap_4472_;
v_funcMap_4375_ = v_funcMap_4473_;
v_stackMap_4376_ = v_stackMap_4474_;
goto v___jp_4371_;
}
else
{
lean_object* v_stackTable_4479_; lean_object* v_size_4480_; lean_object* v_name_4481_; lean_object* v_processType_4482_; uint8_t v_isMainThread_4483_; lean_object* v_samples_4484_; lean_object* v_markers_4485_; lean_object* v_frameTable_4486_; lean_object* v_resourceTable_4487_; lean_object* v_nativeSymbols_4488_; lean_object* v_stringArray_4489_; lean_object* v_funcTable_4490_; lean_object* v___x_4492_; uint8_t v_isShared_4493_; uint8_t v_isSharedCheck_4516_; 
lean_dec(v___x_4477_);
v_stackTable_4479_ = lean_ctor_get(v_toThread_4471_, 4);
lean_inc_ref(v_stackTable_4479_);
v_size_4480_ = lean_ctor_get(v_stackMap_4474_, 0);
lean_inc(v_size_4480_);
v_name_4481_ = lean_ctor_get(v_toThread_4471_, 0);
v_processType_4482_ = lean_ctor_get(v_toThread_4471_, 1);
v_isMainThread_4483_ = lean_ctor_get_uint8(v_toThread_4471_, sizeof(void*)*10);
v_samples_4484_ = lean_ctor_get(v_toThread_4471_, 2);
v_markers_4485_ = lean_ctor_get(v_toThread_4471_, 3);
v_frameTable_4486_ = lean_ctor_get(v_toThread_4471_, 5);
v_resourceTable_4487_ = lean_ctor_get(v_toThread_4471_, 6);
v_nativeSymbols_4488_ = lean_ctor_get(v_toThread_4471_, 7);
v_stringArray_4489_ = lean_ctor_get(v_toThread_4471_, 8);
v_funcTable_4490_ = lean_ctor_get(v_toThread_4471_, 9);
v_isSharedCheck_4516_ = !lean_is_exclusive(v_toThread_4471_);
if (v_isSharedCheck_4516_ == 0)
{
lean_object* v_unused_4517_; 
v_unused_4517_ = lean_ctor_get(v_toThread_4471_, 4);
lean_dec(v_unused_4517_);
v___x_4492_ = v_toThread_4471_;
v_isShared_4493_ = v_isSharedCheck_4516_;
goto v_resetjp_4491_;
}
else
{
lean_inc(v_funcTable_4490_);
lean_inc(v_stringArray_4489_);
lean_inc(v_nativeSymbols_4488_);
lean_inc(v_resourceTable_4487_);
lean_inc(v_frameTable_4486_);
lean_inc(v_markers_4485_);
lean_inc(v_samples_4484_);
lean_inc(v_processType_4482_);
lean_inc(v_name_4481_);
lean_dec(v_toThread_4471_);
v___x_4492_ = lean_box(0);
v_isShared_4493_ = v_isSharedCheck_4516_;
goto v_resetjp_4491_;
}
v_resetjp_4491_:
{
lean_object* v_frame_4494_; lean_object* v_category_4495_; lean_object* v_subcategory_4496_; lean_object* v_prefix_4497_; lean_object* v_length_4498_; lean_object* v___x_4500_; uint8_t v_isShared_4501_; uint8_t v_isSharedCheck_4515_; 
v_frame_4494_ = lean_ctor_get(v_stackTable_4479_, 0);
v_category_4495_ = lean_ctor_get(v_stackTable_4479_, 1);
v_subcategory_4496_ = lean_ctor_get(v_stackTable_4479_, 2);
v_prefix_4497_ = lean_ctor_get(v_stackTable_4479_, 3);
v_length_4498_ = lean_ctor_get(v_stackTable_4479_, 4);
v_isSharedCheck_4515_ = !lean_is_exclusive(v_stackTable_4479_);
if (v_isSharedCheck_4515_ == 0)
{
v___x_4500_ = v_stackTable_4479_;
v_isShared_4501_ = v_isSharedCheck_4515_;
goto v_resetjp_4499_;
}
else
{
lean_inc(v_length_4498_);
lean_inc(v_prefix_4497_);
lean_inc(v_subcategory_4496_);
lean_inc(v_category_4495_);
lean_inc(v_frame_4494_);
lean_dec(v_stackTable_4479_);
v___x_4500_ = lean_box(0);
v_isShared_4501_ = v_isSharedCheck_4515_;
goto v_resetjp_4499_;
}
v_resetjp_4499_:
{
lean_object* v___x_4502_; lean_object* v___x_4503_; lean_object* v___x_4504_; lean_object* v___x_4505_; lean_object* v___x_4506_; lean_object* v___x_4507_; lean_object* v___x_4509_; 
v___x_4502_ = lean_array_push(v_frame_4494_, v_fst_4470_);
v___x_4503_ = lean_array_push(v_category_4495_, v___y_4469_);
v___x_4504_ = lean_array_push(v_subcategory_4496_, v___x_4366_);
v___x_4505_ = lean_array_push(v_prefix_4497_, v_parentStackIdx_x3f_4354_);
v___x_4506_ = lean_unsigned_to_nat(1u);
v___x_4507_ = lean_nat_add(v_length_4498_, v___x_4506_);
lean_dec(v_length_4498_);
if (v_isShared_4501_ == 0)
{
lean_ctor_set(v___x_4500_, 4, v___x_4507_);
lean_ctor_set(v___x_4500_, 3, v___x_4505_);
lean_ctor_set(v___x_4500_, 2, v___x_4504_);
lean_ctor_set(v___x_4500_, 1, v___x_4503_);
lean_ctor_set(v___x_4500_, 0, v___x_4502_);
v___x_4509_ = v___x_4500_;
goto v_reusejp_4508_;
}
else
{
lean_object* v_reuseFailAlloc_4514_; 
v_reuseFailAlloc_4514_ = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(v_reuseFailAlloc_4514_, 0, v___x_4502_);
lean_ctor_set(v_reuseFailAlloc_4514_, 1, v___x_4503_);
lean_ctor_set(v_reuseFailAlloc_4514_, 2, v___x_4504_);
lean_ctor_set(v_reuseFailAlloc_4514_, 3, v___x_4505_);
lean_ctor_set(v_reuseFailAlloc_4514_, 4, v___x_4507_);
v___x_4509_ = v_reuseFailAlloc_4514_;
goto v_reusejp_4508_;
}
v_reusejp_4508_:
{
lean_object* v___x_4511_; 
if (v_isShared_4493_ == 0)
{
lean_ctor_set(v___x_4492_, 4, v___x_4509_);
v___x_4511_ = v___x_4492_;
goto v_reusejp_4510_;
}
else
{
lean_object* v_reuseFailAlloc_4513_; 
v_reuseFailAlloc_4513_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_4513_, 0, v_name_4481_);
lean_ctor_set(v_reuseFailAlloc_4513_, 1, v_processType_4482_);
lean_ctor_set(v_reuseFailAlloc_4513_, 2, v_samples_4484_);
lean_ctor_set(v_reuseFailAlloc_4513_, 3, v_markers_4485_);
lean_ctor_set(v_reuseFailAlloc_4513_, 4, v___x_4509_);
lean_ctor_set(v_reuseFailAlloc_4513_, 5, v_frameTable_4486_);
lean_ctor_set(v_reuseFailAlloc_4513_, 6, v_resourceTable_4487_);
lean_ctor_set(v_reuseFailAlloc_4513_, 7, v_nativeSymbols_4488_);
lean_ctor_set(v_reuseFailAlloc_4513_, 8, v_stringArray_4489_);
lean_ctor_set(v_reuseFailAlloc_4513_, 9, v_funcTable_4490_);
lean_ctor_set_uint8(v_reuseFailAlloc_4513_, sizeof(void*)*10, v_isMainThread_4483_);
v___x_4511_ = v_reuseFailAlloc_4513_;
goto v_reusejp_4510_;
}
v_reusejp_4510_:
{
lean_object* v___x_4512_; 
lean_inc(v_size_4480_);
v___x_4512_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2___redArg(v_stackMap_4474_, v___x_4476_, v_size_4480_);
v_fst_4372_ = v_size_4480_;
v_toThread_4373_ = v___x_4511_;
v_stringMap_4374_ = v_stringMap_4472_;
v_funcMap_4375_ = v_funcMap_4473_;
v_stackMap_4376_ = v___x_4512_;
goto v___jp_4371_;
}
}
}
}
}
}
v___jp_4518_:
{
lean_object* v_toThread_4522_; lean_object* v_stringMap_4523_; lean_object* v_funcMap_4524_; lean_object* v_stackMap_4525_; double v_lastTime_4526_; lean_object* v___x_4527_; 
v_toThread_4522_ = lean_ctor_get(v___y_4519_, 0);
lean_inc_ref(v_toThread_4522_);
v_stringMap_4523_ = lean_ctor_get(v___y_4519_, 1);
lean_inc_ref(v_stringMap_4523_);
v_funcMap_4524_ = lean_ctor_get(v___y_4519_, 2);
lean_inc_ref(v_funcMap_4524_);
v_stackMap_4525_ = lean_ctor_get(v___y_4519_, 3);
lean_inc_ref(v_stackMap_4525_);
v_lastTime_4526_ = lean_ctor_get_float(v___y_4519_, sizeof(void*)*4);
lean_dec_ref(v___y_4519_);
v___x_4527_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(v_funcMap_4524_, v___y_4520_);
if (lean_obj_tag(v___x_4527_) == 1)
{
lean_object* v_val_4528_; 
lean_dec(v___y_4520_);
v_val_4528_ = lean_ctor_get(v___x_4527_, 0);
lean_inc(v_val_4528_);
lean_dec_ref(v___x_4527_);
v___y_4469_ = v___y_4521_;
v_fst_4470_ = v_val_4528_;
v_toThread_4471_ = v_toThread_4522_;
v_stringMap_4472_ = v_stringMap_4523_;
v_funcMap_4473_ = v_funcMap_4524_;
v_stackMap_4474_ = v_stackMap_4525_;
v_lastTime_4475_ = v_lastTime_4526_;
goto v___jp_4468_;
}
else
{
lean_object* v_size_4529_; lean_object* v_name_4530_; lean_object* v_processType_4531_; uint8_t v_isMainThread_4532_; lean_object* v_samples_4533_; lean_object* v_markers_4534_; lean_object* v_stackTable_4535_; lean_object* v_frameTable_4536_; lean_object* v_resourceTable_4537_; lean_object* v_nativeSymbols_4538_; lean_object* v_stringArray_4539_; lean_object* v_funcTable_4540_; lean_object* v___x_4542_; uint8_t v_isShared_4543_; uint8_t v_isSharedCheck_4576_; 
lean_dec(v___x_4527_);
v_size_4529_ = lean_ctor_get(v_funcMap_4524_, 0);
lean_inc(v_size_4529_);
v_name_4530_ = lean_ctor_get(v_toThread_4522_, 0);
v_processType_4531_ = lean_ctor_get(v_toThread_4522_, 1);
v_isMainThread_4532_ = lean_ctor_get_uint8(v_toThread_4522_, sizeof(void*)*10);
v_samples_4533_ = lean_ctor_get(v_toThread_4522_, 2);
v_markers_4534_ = lean_ctor_get(v_toThread_4522_, 3);
v_stackTable_4535_ = lean_ctor_get(v_toThread_4522_, 4);
v_frameTable_4536_ = lean_ctor_get(v_toThread_4522_, 5);
v_resourceTable_4537_ = lean_ctor_get(v_toThread_4522_, 6);
v_nativeSymbols_4538_ = lean_ctor_get(v_toThread_4522_, 7);
v_stringArray_4539_ = lean_ctor_get(v_toThread_4522_, 8);
v_funcTable_4540_ = lean_ctor_get(v_toThread_4522_, 9);
v_isSharedCheck_4576_ = !lean_is_exclusive(v_toThread_4522_);
if (v_isSharedCheck_4576_ == 0)
{
v___x_4542_ = v_toThread_4522_;
v_isShared_4543_ = v_isSharedCheck_4576_;
goto v_resetjp_4541_;
}
else
{
lean_inc(v_funcTable_4540_);
lean_inc(v_stringArray_4539_);
lean_inc(v_nativeSymbols_4538_);
lean_inc(v_resourceTable_4537_);
lean_inc(v_frameTable_4536_);
lean_inc(v_stackTable_4535_);
lean_inc(v_markers_4534_);
lean_inc(v_samples_4533_);
lean_inc(v_processType_4531_);
lean_inc(v_name_4530_);
lean_dec(v_toThread_4522_);
v___x_4542_ = lean_box(0);
v_isShared_4543_ = v_isSharedCheck_4576_;
goto v_resetjp_4541_;
}
v_resetjp_4541_:
{
lean_object* v___x_4544_; lean_object* v___x_4545_; lean_object* v___x_4546_; lean_object* v___x_4547_; lean_object* v___x_4548_; lean_object* v_name_4549_; lean_object* v_resource_4550_; lean_object* v_fileName_4551_; lean_object* v_lineNumber_4552_; lean_object* v_columnNumber_4553_; lean_object* v_length_4554_; lean_object* v___x_4556_; uint8_t v_isShared_4557_; uint8_t v_isSharedCheck_4573_; 
v___x_4544_ = lean_unsigned_to_nat(1u);
v___x_4545_ = lean_obj_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2, &l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2);
lean_inc(v___y_4521_);
v___x_4546_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_4546_, 0, v___y_4521_);
v___x_4547_ = lean_box(0);
lean_inc(v_size_4529_);
v___x_4548_ = lean_alloc_ctor(0, 10, 0);
lean_ctor_set(v___x_4548_, 0, v___x_4545_);
lean_ctor_set(v___x_4548_, 1, v___x_4366_);
lean_ctor_set(v___x_4548_, 2, v___x_4546_);
lean_ctor_set(v___x_4548_, 3, v___x_4547_);
lean_ctor_set(v___x_4548_, 4, v_size_4529_);
lean_ctor_set(v___x_4548_, 5, v___x_4547_);
lean_ctor_set(v___x_4548_, 6, v___x_4547_);
lean_ctor_set(v___x_4548_, 7, v___x_4547_);
lean_ctor_set(v___x_4548_, 8, v___x_4547_);
lean_ctor_set(v___x_4548_, 9, v___x_4547_);
v_name_4549_ = lean_ctor_get(v_funcTable_4540_, 0);
v_resource_4550_ = lean_ctor_get(v_funcTable_4540_, 3);
v_fileName_4551_ = lean_ctor_get(v_funcTable_4540_, 4);
v_lineNumber_4552_ = lean_ctor_get(v_funcTable_4540_, 5);
v_columnNumber_4553_ = lean_ctor_get(v_funcTable_4540_, 6);
v_length_4554_ = lean_ctor_get(v_funcTable_4540_, 7);
v_isSharedCheck_4573_ = !lean_is_exclusive(v_funcTable_4540_);
if (v_isSharedCheck_4573_ == 0)
{
lean_object* v_unused_4574_; lean_object* v_unused_4575_; 
v_unused_4574_ = lean_ctor_get(v_funcTable_4540_, 2);
lean_dec(v_unused_4574_);
v_unused_4575_ = lean_ctor_get(v_funcTable_4540_, 1);
lean_dec(v_unused_4575_);
v___x_4556_ = v_funcTable_4540_;
v_isShared_4557_ = v_isSharedCheck_4573_;
goto v_resetjp_4555_;
}
else
{
lean_inc(v_length_4554_);
lean_inc(v_columnNumber_4553_);
lean_inc(v_lineNumber_4552_);
lean_inc(v_fileName_4551_);
lean_inc(v_resource_4550_);
lean_inc(v_name_4549_);
lean_dec(v_funcTable_4540_);
v___x_4556_ = lean_box(0);
v_isShared_4557_ = v_isSharedCheck_4573_;
goto v_resetjp_4555_;
}
v_resetjp_4555_:
{
lean_object* v___x_4558_; lean_object* v___x_4559_; lean_object* v___x_4560_; lean_object* v___x_4561_; lean_object* v___x_4562_; lean_object* v___x_4563_; lean_object* v___x_4564_; lean_object* v___x_4565_; lean_object* v___x_4567_; 
v___x_4558_ = l_Lean_Firefox_FrameTable_push(v_frameTable_4536_, v___x_4548_);
lean_inc(v___y_4520_);
v___x_4559_ = lean_array_push(v_name_4549_, v___y_4520_);
v___x_4560_ = ((lean_object*)(l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__3));
v___x_4561_ = lean_array_push(v_resource_4550_, v___x_4545_);
v___x_4562_ = lean_array_push(v_fileName_4551_, v___x_4547_);
v___x_4563_ = lean_array_push(v_lineNumber_4552_, v___x_4547_);
v___x_4564_ = lean_array_push(v_columnNumber_4553_, v___x_4547_);
v___x_4565_ = lean_nat_add(v_length_4554_, v___x_4544_);
lean_dec(v_length_4554_);
if (v_isShared_4557_ == 0)
{
lean_ctor_set(v___x_4556_, 7, v___x_4565_);
lean_ctor_set(v___x_4556_, 6, v___x_4564_);
lean_ctor_set(v___x_4556_, 5, v___x_4563_);
lean_ctor_set(v___x_4556_, 4, v___x_4562_);
lean_ctor_set(v___x_4556_, 3, v___x_4561_);
lean_ctor_set(v___x_4556_, 2, v___x_4560_);
lean_ctor_set(v___x_4556_, 1, v___x_4560_);
lean_ctor_set(v___x_4556_, 0, v___x_4559_);
v___x_4567_ = v___x_4556_;
goto v_reusejp_4566_;
}
else
{
lean_object* v_reuseFailAlloc_4572_; 
v_reuseFailAlloc_4572_ = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(v_reuseFailAlloc_4572_, 0, v___x_4559_);
lean_ctor_set(v_reuseFailAlloc_4572_, 1, v___x_4560_);
lean_ctor_set(v_reuseFailAlloc_4572_, 2, v___x_4560_);
lean_ctor_set(v_reuseFailAlloc_4572_, 3, v___x_4561_);
lean_ctor_set(v_reuseFailAlloc_4572_, 4, v___x_4562_);
lean_ctor_set(v_reuseFailAlloc_4572_, 5, v___x_4563_);
lean_ctor_set(v_reuseFailAlloc_4572_, 6, v___x_4564_);
lean_ctor_set(v_reuseFailAlloc_4572_, 7, v___x_4565_);
v___x_4567_ = v_reuseFailAlloc_4572_;
goto v_reusejp_4566_;
}
v_reusejp_4566_:
{
lean_object* v___x_4569_; 
if (v_isShared_4543_ == 0)
{
lean_ctor_set(v___x_4542_, 9, v___x_4567_);
lean_ctor_set(v___x_4542_, 5, v___x_4558_);
v___x_4569_ = v___x_4542_;
goto v_reusejp_4568_;
}
else
{
lean_object* v_reuseFailAlloc_4571_; 
v_reuseFailAlloc_4571_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_4571_, 0, v_name_4530_);
lean_ctor_set(v_reuseFailAlloc_4571_, 1, v_processType_4531_);
lean_ctor_set(v_reuseFailAlloc_4571_, 2, v_samples_4533_);
lean_ctor_set(v_reuseFailAlloc_4571_, 3, v_markers_4534_);
lean_ctor_set(v_reuseFailAlloc_4571_, 4, v_stackTable_4535_);
lean_ctor_set(v_reuseFailAlloc_4571_, 5, v___x_4558_);
lean_ctor_set(v_reuseFailAlloc_4571_, 6, v_resourceTable_4537_);
lean_ctor_set(v_reuseFailAlloc_4571_, 7, v_nativeSymbols_4538_);
lean_ctor_set(v_reuseFailAlloc_4571_, 8, v_stringArray_4539_);
lean_ctor_set(v_reuseFailAlloc_4571_, 9, v___x_4567_);
lean_ctor_set_uint8(v_reuseFailAlloc_4571_, sizeof(void*)*10, v_isMainThread_4532_);
v___x_4569_ = v_reuseFailAlloc_4571_;
goto v_reusejp_4568_;
}
v_reusejp_4568_:
{
lean_object* v___x_4570_; 
lean_inc(v_size_4529_);
v___x_4570_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(v_funcMap_4524_, v___y_4520_, v_size_4529_);
v___y_4469_ = v___y_4521_;
v_fst_4470_ = v_size_4529_;
v_toThread_4471_ = v___x_4569_;
v_stringMap_4472_ = v_stringMap_4523_;
v_funcMap_4473_ = v___x_4570_;
v_stackMap_4474_ = v_stackMap_4525_;
v_lastTime_4475_ = v_lastTime_4526_;
goto v___jp_4468_;
}
}
}
}
}
}
v___jp_4577_:
{
lean_object* v___x_4580_; lean_object* v___x_4581_; 
v___x_4580_ = ((lean_object*)(l_Lean_Firefox_categories));
v___x_4581_ = l_Array_findIdx_x3f_loop___redArg(v___f_4369_, v___x_4580_, v___x_4366_);
if (lean_obj_tag(v___x_4581_) == 0)
{
v___y_4519_ = v_snd_4579_;
v___y_4520_ = v_fst_4578_;
v___y_4521_ = v___x_4366_;
goto v___jp_4518_;
}
else
{
lean_object* v_val_4582_; 
v_val_4582_ = lean_ctor_get(v___x_4581_, 0);
lean_inc(v_val_4582_);
lean_dec_ref(v___x_4581_);
v___y_4519_ = v_snd_4579_;
v___y_4520_ = v_fst_4578_;
v___y_4521_ = v_val_4582_;
goto v___jp_4518_;
}
}
v___jp_4583_:
{
lean_object* v_toThread_4586_; lean_object* v_stringMap_4587_; lean_object* v_funcMap_4588_; lean_object* v_stackMap_4589_; double v_lastTime_4590_; lean_object* v___x_4591_; 
v_toThread_4586_ = lean_ctor_get(v___y_4585_, 0);
lean_inc_ref(v_toThread_4586_);
v_stringMap_4587_ = lean_ctor_get(v___y_4585_, 1);
v_funcMap_4588_ = lean_ctor_get(v___y_4585_, 2);
v_stackMap_4589_ = lean_ctor_get(v___y_4585_, 3);
v_lastTime_4590_ = lean_ctor_get_float(v___y_4585_, sizeof(void*)*4);
v___x_4591_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(v_stringMap_4587_, v_funcName_4584_);
if (lean_obj_tag(v___x_4591_) == 1)
{
lean_object* v_val_4592_; 
lean_dec_ref(v_toThread_4586_);
lean_dec_ref(v_funcName_4584_);
v_val_4592_ = lean_ctor_get(v___x_4591_, 0);
lean_inc(v_val_4592_);
lean_dec_ref(v___x_4591_);
v_fst_4578_ = v_val_4592_;
v_snd_4579_ = v___y_4585_;
goto v___jp_4577_;
}
else
{
lean_object* v___x_4594_; uint8_t v_isShared_4595_; uint8_t v_isSharedCheck_4620_; 
lean_inc_ref(v_stackMap_4589_);
lean_inc_ref(v_funcMap_4588_);
lean_inc_ref(v_stringMap_4587_);
lean_dec(v___x_4591_);
v_isSharedCheck_4620_ = !lean_is_exclusive(v___y_4585_);
if (v_isSharedCheck_4620_ == 0)
{
lean_object* v_unused_4621_; lean_object* v_unused_4622_; lean_object* v_unused_4623_; lean_object* v_unused_4624_; 
v_unused_4621_ = lean_ctor_get(v___y_4585_, 3);
lean_dec(v_unused_4621_);
v_unused_4622_ = lean_ctor_get(v___y_4585_, 2);
lean_dec(v_unused_4622_);
v_unused_4623_ = lean_ctor_get(v___y_4585_, 1);
lean_dec(v_unused_4623_);
v_unused_4624_ = lean_ctor_get(v___y_4585_, 0);
lean_dec(v_unused_4624_);
v___x_4594_ = v___y_4585_;
v_isShared_4595_ = v_isSharedCheck_4620_;
goto v_resetjp_4593_;
}
else
{
lean_dec(v___y_4585_);
v___x_4594_ = lean_box(0);
v_isShared_4595_ = v_isSharedCheck_4620_;
goto v_resetjp_4593_;
}
v_resetjp_4593_:
{
lean_object* v_size_4596_; lean_object* v_name_4597_; lean_object* v_processType_4598_; uint8_t v_isMainThread_4599_; lean_object* v_samples_4600_; lean_object* v_markers_4601_; lean_object* v_stackTable_4602_; lean_object* v_frameTable_4603_; lean_object* v_resourceTable_4604_; lean_object* v_nativeSymbols_4605_; lean_object* v_stringArray_4606_; lean_object* v_funcTable_4607_; lean_object* v___x_4609_; uint8_t v_isShared_4610_; uint8_t v_isSharedCheck_4619_; 
v_size_4596_ = lean_ctor_get(v_stringMap_4587_, 0);
lean_inc(v_size_4596_);
v_name_4597_ = lean_ctor_get(v_toThread_4586_, 0);
v_processType_4598_ = lean_ctor_get(v_toThread_4586_, 1);
v_isMainThread_4599_ = lean_ctor_get_uint8(v_toThread_4586_, sizeof(void*)*10);
v_samples_4600_ = lean_ctor_get(v_toThread_4586_, 2);
v_markers_4601_ = lean_ctor_get(v_toThread_4586_, 3);
v_stackTable_4602_ = lean_ctor_get(v_toThread_4586_, 4);
v_frameTable_4603_ = lean_ctor_get(v_toThread_4586_, 5);
v_resourceTable_4604_ = lean_ctor_get(v_toThread_4586_, 6);
v_nativeSymbols_4605_ = lean_ctor_get(v_toThread_4586_, 7);
v_stringArray_4606_ = lean_ctor_get(v_toThread_4586_, 8);
v_funcTable_4607_ = lean_ctor_get(v_toThread_4586_, 9);
v_isSharedCheck_4619_ = !lean_is_exclusive(v_toThread_4586_);
if (v_isSharedCheck_4619_ == 0)
{
v___x_4609_ = v_toThread_4586_;
v_isShared_4610_ = v_isSharedCheck_4619_;
goto v_resetjp_4608_;
}
else
{
lean_inc(v_funcTable_4607_);
lean_inc(v_stringArray_4606_);
lean_inc(v_nativeSymbols_4605_);
lean_inc(v_resourceTable_4604_);
lean_inc(v_frameTable_4603_);
lean_inc(v_stackTable_4602_);
lean_inc(v_markers_4601_);
lean_inc(v_samples_4600_);
lean_inc(v_processType_4598_);
lean_inc(v_name_4597_);
lean_dec(v_toThread_4586_);
v___x_4609_ = lean_box(0);
v_isShared_4610_ = v_isSharedCheck_4619_;
goto v_resetjp_4608_;
}
v_resetjp_4608_:
{
lean_object* v___x_4611_; lean_object* v___x_4613_; 
lean_inc_ref(v_funcName_4584_);
v___x_4611_ = lean_array_push(v_stringArray_4606_, v_funcName_4584_);
if (v_isShared_4610_ == 0)
{
lean_ctor_set(v___x_4609_, 8, v___x_4611_);
v___x_4613_ = v___x_4609_;
goto v_reusejp_4612_;
}
else
{
lean_object* v_reuseFailAlloc_4618_; 
v_reuseFailAlloc_4618_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_4618_, 0, v_name_4597_);
lean_ctor_set(v_reuseFailAlloc_4618_, 1, v_processType_4598_);
lean_ctor_set(v_reuseFailAlloc_4618_, 2, v_samples_4600_);
lean_ctor_set(v_reuseFailAlloc_4618_, 3, v_markers_4601_);
lean_ctor_set(v_reuseFailAlloc_4618_, 4, v_stackTable_4602_);
lean_ctor_set(v_reuseFailAlloc_4618_, 5, v_frameTable_4603_);
lean_ctor_set(v_reuseFailAlloc_4618_, 6, v_resourceTable_4604_);
lean_ctor_set(v_reuseFailAlloc_4618_, 7, v_nativeSymbols_4605_);
lean_ctor_set(v_reuseFailAlloc_4618_, 8, v___x_4611_);
lean_ctor_set(v_reuseFailAlloc_4618_, 9, v_funcTable_4607_);
lean_ctor_set_uint8(v_reuseFailAlloc_4618_, sizeof(void*)*10, v_isMainThread_4599_);
v___x_4613_ = v_reuseFailAlloc_4618_;
goto v_reusejp_4612_;
}
v_reusejp_4612_:
{
lean_object* v___x_4614_; lean_object* v___x_4616_; 
lean_inc(v_size_4596_);
v___x_4614_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6___redArg(v_stringMap_4587_, v_funcName_4584_, v_size_4596_);
if (v_isShared_4595_ == 0)
{
lean_ctor_set(v___x_4594_, 1, v___x_4614_);
lean_ctor_set(v___x_4594_, 0, v___x_4613_);
v___x_4616_ = v___x_4594_;
goto v_reusejp_4615_;
}
else
{
lean_object* v_reuseFailAlloc_4617_; 
v_reuseFailAlloc_4617_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_4617_, 0, v___x_4613_);
lean_ctor_set(v_reuseFailAlloc_4617_, 1, v___x_4614_);
lean_ctor_set(v_reuseFailAlloc_4617_, 2, v_funcMap_4588_);
lean_ctor_set(v_reuseFailAlloc_4617_, 3, v_stackMap_4589_);
lean_ctor_set_float(v_reuseFailAlloc_4617_, sizeof(void*)*4, v_lastTime_4590_);
v___x_4616_ = v_reuseFailAlloc_4617_;
goto v_reusejp_4615_;
}
v_reusejp_4615_:
{
v_fst_4578_ = v_size_4596_;
v_snd_4579_ = v___x_4616_;
goto v___jp_4577_;
}
}
}
}
}
}
v___jp_4625_:
{
if (v_pp_4353_ == 0)
{
lean_dec_ref(v_msg_4360_);
v_funcName_4584_ = v_funcName_4626_;
v___y_4585_ = v___y_4627_;
goto v___jp_4583_;
}
else
{
lean_object* v___x_4628_; lean_object* v___x_4629_; lean_object* v___x_4630_; lean_object* v___x_4631_; lean_object* v___x_4632_; lean_object* v___x_4633_; 
lean_inc(v_ctx_x3f_4355_);
v___x_4628_ = l_Lean_MessageData_format(v_msg_4360_, v_ctx_x3f_4355_);
v___x_4629_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_4630_ = lean_string_append(v_funcName_4626_, v___x_4629_);
v___x_4631_ = l_Std_Format_defWidth;
v___x_4632_ = l_Std_Format_pretty(v___x_4628_, v___x_4631_, v___x_4366_, v___x_4366_);
v___x_4633_ = lean_string_append(v___x_4630_, v___x_4632_);
lean_dec_ref(v___x_4632_);
v_funcName_4584_ = v___x_4633_;
v___y_4585_ = v___y_4627_;
goto v___jp_4583_;
}
}
v___jp_4635_:
{
lean_object* v___x_4636_; lean_object* v___x_4637_; lean_object* v_funcName_4638_; 
v___x_4636_ = ((lean_object*)(l_Lean_Firefox_instFromJsonCategory_fromJson___closed__11));
v___x_4637_ = lean_string_append(v_funcName_4634_, v___x_4636_);
v_funcName_4638_ = lean_string_append(v___x_4637_, v_tag_4365_);
lean_dec_ref(v_tag_4365_);
v_funcName_4626_ = v_funcName_4638_;
v___y_4627_ = v_a_4357_;
goto v___jp_4625_;
}
}
else
{
lean_object* v___x_4641_; lean_object* v___x_4642_; lean_object* v___x_4643_; 
lean_dec_ref(v_tag_4365_);
lean_dec(v_cls_4362_);
lean_dec_ref(v_children_4361_);
lean_dec_ref(v_msg_4360_);
lean_dec(v_ctx_x3f_4355_);
lean_dec(v_parentStackIdx_x3f_4354_);
v___x_4641_ = lean_box(0);
v___x_4642_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_4642_, 0, v___x_4641_);
lean_ctor_set(v___x_4642_, 1, v_a_4357_);
v___x_4643_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_4643_, 0, v___x_4642_);
return v___x_4643_;
}
}
case 3:
{
lean_object* v_a_4644_; lean_object* v_a_4645_; lean_object* v___x_4646_; 
lean_dec(v_ctx_x3f_4355_);
v_a_4644_ = lean_ctor_get(v_a_4356_, 0);
lean_inc_ref(v_a_4644_);
v_a_4645_ = lean_ctor_get(v_a_4356_, 1);
lean_inc_ref(v_a_4645_);
lean_dec_ref(v_a_4356_);
v___x_4646_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_4646_, 0, v_a_4644_);
v_ctx_x3f_4355_ = v___x_4646_;
v_a_4356_ = v_a_4645_;
goto _start;
}
default: 
{
lean_object* v___x_4648_; lean_object* v___x_4649_; lean_object* v___x_4650_; 
lean_dec_ref(v_a_4356_);
lean_dec(v_ctx_x3f_4355_);
lean_dec(v_parentStackIdx_x3f_4354_);
v___x_4648_ = lean_box(0);
v___x_4649_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_4649_, 0, v___x_4648_);
lean_ctor_set(v___x_4649_, 1, v_a_4357_);
v___x_4650_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_4650_, 0, v___x_4649_);
return v___x_4650_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0(lean_object* v_fst_4651_, uint8_t v_pp_4652_, lean_object* v_ctx_x3f_4653_, lean_object* v_as_4654_, size_t v_sz_4655_, size_t v_i_4656_, lean_object* v_b_4657_, lean_object* v___y_4658_){
_start:
{
lean_object* v_a_4661_; lean_object* v_snd_4662_; uint8_t v___x_4666_; 
v___x_4666_ = lean_usize_dec_lt(v_i_4656_, v_sz_4655_);
if (v___x_4666_ == 0)
{
lean_object* v___x_4667_; lean_object* v___x_4668_; 
lean_dec(v_ctx_x3f_4653_);
lean_dec(v_fst_4651_);
v___x_4667_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_4667_, 0, v_b_4657_);
lean_ctor_set(v___x_4667_, 1, v___y_4658_);
v___x_4668_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_4668_, 0, v___x_4667_);
return v___x_4668_;
}
else
{
lean_object* v___x_4669_; lean_object* v_a_4670_; lean_object* v___x_4671_; 
v___x_4669_ = lean_box(0);
v_a_4670_ = lean_array_uget_borrowed(v_as_4654_, v_i_4656_);
v___x_4671_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(v_a_4670_);
if (lean_obj_tag(v___x_4671_) == 1)
{
lean_object* v_toThread_4672_; lean_object* v_samples_4673_; lean_object* v_val_4674_; lean_object* v___x_4676_; uint8_t v_isShared_4677_; uint8_t v_isSharedCheck_4756_; 
v_toThread_4672_ = lean_ctor_get(v___y_4658_, 0);
lean_inc_ref(v_toThread_4672_);
v_samples_4673_ = lean_ctor_get(v_toThread_4672_, 2);
lean_inc_ref(v_samples_4673_);
v_val_4674_ = lean_ctor_get(v___x_4671_, 0);
v_isSharedCheck_4756_ = !lean_is_exclusive(v___x_4671_);
if (v_isSharedCheck_4756_ == 0)
{
v___x_4676_ = v___x_4671_;
v_isShared_4677_ = v_isSharedCheck_4756_;
goto v_resetjp_4675_;
}
else
{
lean_inc(v_val_4674_);
lean_dec(v___x_4671_);
v___x_4676_ = lean_box(0);
v_isShared_4677_ = v_isSharedCheck_4756_;
goto v_resetjp_4675_;
}
v_resetjp_4675_:
{
lean_object* v_stringMap_4678_; lean_object* v_funcMap_4679_; lean_object* v_stackMap_4680_; double v_lastTime_4681_; lean_object* v___x_4683_; uint8_t v_isShared_4684_; uint8_t v_isSharedCheck_4754_; 
v_stringMap_4678_ = lean_ctor_get(v___y_4658_, 1);
v_funcMap_4679_ = lean_ctor_get(v___y_4658_, 2);
v_stackMap_4680_ = lean_ctor_get(v___y_4658_, 3);
v_lastTime_4681_ = lean_ctor_get_float(v___y_4658_, sizeof(void*)*4);
v_isSharedCheck_4754_ = !lean_is_exclusive(v___y_4658_);
if (v_isSharedCheck_4754_ == 0)
{
lean_object* v_unused_4755_; 
v_unused_4755_ = lean_ctor_get(v___y_4658_, 0);
lean_dec(v_unused_4755_);
v___x_4683_ = v___y_4658_;
v_isShared_4684_ = v_isSharedCheck_4754_;
goto v_resetjp_4682_;
}
else
{
lean_inc(v_stackMap_4680_);
lean_inc(v_funcMap_4679_);
lean_inc(v_stringMap_4678_);
lean_dec(v___y_4658_);
v___x_4683_ = lean_box(0);
v_isShared_4684_ = v_isSharedCheck_4754_;
goto v_resetjp_4682_;
}
v_resetjp_4682_:
{
lean_object* v_name_4685_; lean_object* v_processType_4686_; uint8_t v_isMainThread_4687_; lean_object* v_markers_4688_; lean_object* v_stackTable_4689_; lean_object* v_frameTable_4690_; lean_object* v_resourceTable_4691_; lean_object* v_nativeSymbols_4692_; lean_object* v_stringArray_4693_; lean_object* v_funcTable_4694_; lean_object* v___x_4696_; uint8_t v_isShared_4697_; uint8_t v_isSharedCheck_4752_; 
v_name_4685_ = lean_ctor_get(v_toThread_4672_, 0);
v_processType_4686_ = lean_ctor_get(v_toThread_4672_, 1);
v_isMainThread_4687_ = lean_ctor_get_uint8(v_toThread_4672_, sizeof(void*)*10);
v_markers_4688_ = lean_ctor_get(v_toThread_4672_, 3);
v_stackTable_4689_ = lean_ctor_get(v_toThread_4672_, 4);
v_frameTable_4690_ = lean_ctor_get(v_toThread_4672_, 5);
v_resourceTable_4691_ = lean_ctor_get(v_toThread_4672_, 6);
v_nativeSymbols_4692_ = lean_ctor_get(v_toThread_4672_, 7);
v_stringArray_4693_ = lean_ctor_get(v_toThread_4672_, 8);
v_funcTable_4694_ = lean_ctor_get(v_toThread_4672_, 9);
v_isSharedCheck_4752_ = !lean_is_exclusive(v_toThread_4672_);
if (v_isSharedCheck_4752_ == 0)
{
lean_object* v_unused_4753_; 
v_unused_4753_ = lean_ctor_get(v_toThread_4672_, 2);
lean_dec(v_unused_4753_);
v___x_4696_ = v_toThread_4672_;
v_isShared_4697_ = v_isSharedCheck_4752_;
goto v_resetjp_4695_;
}
else
{
lean_inc(v_funcTable_4694_);
lean_inc(v_stringArray_4693_);
lean_inc(v_nativeSymbols_4692_);
lean_inc(v_resourceTable_4691_);
lean_inc(v_frameTable_4690_);
lean_inc(v_stackTable_4689_);
lean_inc(v_markers_4688_);
lean_inc(v_processType_4686_);
lean_inc(v_name_4685_);
lean_dec(v_toThread_4672_);
v___x_4696_ = lean_box(0);
v_isShared_4697_ = v_isSharedCheck_4752_;
goto v_resetjp_4695_;
}
v_resetjp_4695_:
{
lean_object* v_stack_4698_; lean_object* v_time_4699_; lean_object* v_weight_4700_; lean_object* v_threadCPUDelta_4701_; lean_object* v_length_4702_; lean_object* v___x_4704_; uint8_t v_isShared_4705_; uint8_t v_isSharedCheck_4750_; 
v_stack_4698_ = lean_ctor_get(v_samples_4673_, 0);
v_time_4699_ = lean_ctor_get(v_samples_4673_, 1);
v_weight_4700_ = lean_ctor_get(v_samples_4673_, 2);
v_threadCPUDelta_4701_ = lean_ctor_get(v_samples_4673_, 4);
v_length_4702_ = lean_ctor_get(v_samples_4673_, 5);
v_isSharedCheck_4750_ = !lean_is_exclusive(v_samples_4673_);
if (v_isSharedCheck_4750_ == 0)
{
lean_object* v_unused_4751_; 
v_unused_4751_ = lean_ctor_get(v_samples_4673_, 3);
lean_dec(v_unused_4751_);
v___x_4704_ = v_samples_4673_;
v_isShared_4705_ = v_isSharedCheck_4750_;
goto v_resetjp_4703_;
}
else
{
lean_inc(v_length_4702_);
lean_inc(v_threadCPUDelta_4701_);
lean_inc(v_weight_4700_);
lean_inc(v_time_4699_);
lean_inc(v_stack_4698_);
lean_dec(v_samples_4673_);
v___x_4704_ = lean_box(0);
v_isShared_4705_ = v_isSharedCheck_4750_;
goto v_resetjp_4703_;
}
v_resetjp_4703_:
{
lean_object* v___x_4706_; lean_object* v___x_4707_; lean_object* v___x_4708_; double v___x_4709_; double v___x_4710_; lean_object* v___x_4711_; lean_object* v___x_4712_; double v___x_4713_; double v___x_4714_; lean_object* v___x_4715_; lean_object* v___x_4716_; lean_object* v___x_4717_; double v___x_4718_; lean_object* v___x_4719_; lean_object* v___x_4720_; double v___x_4721_; double v___x_4722_; double v___x_4723_; lean_object* v___x_4724_; lean_object* v___x_4725_; lean_object* v___x_4726_; lean_object* v___x_4727_; lean_object* v___x_4728_; double v___x_4729_; double v___x_4730_; lean_object* v___x_4731_; lean_object* v___x_4732_; lean_object* v___x_4733_; lean_object* v___x_4734_; lean_object* v___x_4736_; 
v___x_4706_ = lean_unsigned_to_nat(0u);
lean_inc(v_fst_4651_);
v___x_4707_ = lean_array_push(v_stack_4698_, v_fst_4651_);
lean_inc(v_fst_4651_);
v___x_4708_ = lean_array_push(v___x_4707_, v_fst_4651_);
v___x_4709_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_4710_ = lean_float_mul(v_lastTime_4681_, v___x_4709_);
v___x_4711_ = lean_box_float(v___x_4710_);
v___x_4712_ = lean_array_push(v_time_4699_, v___x_4711_);
v___x_4713_ = lean_unbox_float(v_val_4674_);
v___x_4714_ = lean_float_mul(v___x_4713_, v___x_4709_);
v___x_4715_ = lean_box_float(v___x_4714_);
v___x_4716_ = lean_array_push(v___x_4712_, v___x_4715_);
v___x_4717_ = lean_unsigned_to_nat(1u);
v___x_4718_ = l_Float_ofScientific(v___x_4706_, v___x_4666_, v___x_4717_);
v___x_4719_ = lean_box_float(v___x_4718_);
v___x_4720_ = lean_array_push(v_weight_4700_, v___x_4719_);
v___x_4721_ = lean_unbox_float(v_val_4674_);
lean_dec(v_val_4674_);
v___x_4722_ = lean_float_sub(v___x_4721_, v_lastTime_4681_);
v___x_4723_ = lean_float_mul(v___x_4722_, v___x_4709_);
v___x_4724_ = lean_box_float(v___x_4723_);
v___x_4725_ = lean_array_push(v___x_4720_, v___x_4724_);
v___x_4726_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0));
v___x_4727_ = lean_box_float(v___x_4718_);
v___x_4728_ = lean_array_push(v_threadCPUDelta_4701_, v___x_4727_);
v___x_4729_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMicroseconds___lam__0___closed__0);
v___x_4730_ = lean_float_mul(v___x_4722_, v___x_4729_);
v___x_4731_ = lean_box_float(v___x_4730_);
v___x_4732_ = lean_array_push(v___x_4728_, v___x_4731_);
v___x_4733_ = lean_unsigned_to_nat(2u);
v___x_4734_ = lean_nat_add(v_length_4702_, v___x_4733_);
lean_dec(v_length_4702_);
if (v_isShared_4705_ == 0)
{
lean_ctor_set(v___x_4704_, 5, v___x_4734_);
lean_ctor_set(v___x_4704_, 4, v___x_4732_);
lean_ctor_set(v___x_4704_, 3, v___x_4726_);
lean_ctor_set(v___x_4704_, 2, v___x_4725_);
lean_ctor_set(v___x_4704_, 1, v___x_4716_);
lean_ctor_set(v___x_4704_, 0, v___x_4708_);
v___x_4736_ = v___x_4704_;
goto v_reusejp_4735_;
}
else
{
lean_object* v_reuseFailAlloc_4749_; 
v_reuseFailAlloc_4749_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v_reuseFailAlloc_4749_, 0, v___x_4708_);
lean_ctor_set(v_reuseFailAlloc_4749_, 1, v___x_4716_);
lean_ctor_set(v_reuseFailAlloc_4749_, 2, v___x_4725_);
lean_ctor_set(v_reuseFailAlloc_4749_, 3, v___x_4726_);
lean_ctor_set(v_reuseFailAlloc_4749_, 4, v___x_4732_);
lean_ctor_set(v_reuseFailAlloc_4749_, 5, v___x_4734_);
v___x_4736_ = v_reuseFailAlloc_4749_;
goto v_reusejp_4735_;
}
v_reusejp_4735_:
{
lean_object* v___x_4738_; 
if (v_isShared_4697_ == 0)
{
lean_ctor_set(v___x_4696_, 2, v___x_4736_);
v___x_4738_ = v___x_4696_;
goto v_reusejp_4737_;
}
else
{
lean_object* v_reuseFailAlloc_4748_; 
v_reuseFailAlloc_4748_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_4748_, 0, v_name_4685_);
lean_ctor_set(v_reuseFailAlloc_4748_, 1, v_processType_4686_);
lean_ctor_set(v_reuseFailAlloc_4748_, 2, v___x_4736_);
lean_ctor_set(v_reuseFailAlloc_4748_, 3, v_markers_4688_);
lean_ctor_set(v_reuseFailAlloc_4748_, 4, v_stackTable_4689_);
lean_ctor_set(v_reuseFailAlloc_4748_, 5, v_frameTable_4690_);
lean_ctor_set(v_reuseFailAlloc_4748_, 6, v_resourceTable_4691_);
lean_ctor_set(v_reuseFailAlloc_4748_, 7, v_nativeSymbols_4692_);
lean_ctor_set(v_reuseFailAlloc_4748_, 8, v_stringArray_4693_);
lean_ctor_set(v_reuseFailAlloc_4748_, 9, v_funcTable_4694_);
lean_ctor_set_uint8(v_reuseFailAlloc_4748_, sizeof(void*)*10, v_isMainThread_4687_);
v___x_4738_ = v_reuseFailAlloc_4748_;
goto v_reusejp_4737_;
}
v_reusejp_4737_:
{
lean_object* v___x_4740_; 
if (v_isShared_4684_ == 0)
{
lean_ctor_set(v___x_4683_, 0, v___x_4738_);
v___x_4740_ = v___x_4683_;
goto v_reusejp_4739_;
}
else
{
lean_object* v_reuseFailAlloc_4747_; 
v_reuseFailAlloc_4747_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_4747_, 0, v___x_4738_);
lean_ctor_set(v_reuseFailAlloc_4747_, 1, v_stringMap_4678_);
lean_ctor_set(v_reuseFailAlloc_4747_, 2, v_funcMap_4679_);
lean_ctor_set(v_reuseFailAlloc_4747_, 3, v_stackMap_4680_);
lean_ctor_set_float(v_reuseFailAlloc_4747_, sizeof(void*)*4, v_lastTime_4681_);
v___x_4740_ = v_reuseFailAlloc_4747_;
goto v_reusejp_4739_;
}
v_reusejp_4739_:
{
lean_object* v___x_4742_; 
lean_inc(v_fst_4651_);
if (v_isShared_4677_ == 0)
{
lean_ctor_set(v___x_4676_, 0, v_fst_4651_);
v___x_4742_ = v___x_4676_;
goto v_reusejp_4741_;
}
else
{
lean_object* v_reuseFailAlloc_4746_; 
v_reuseFailAlloc_4746_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_4746_, 0, v_fst_4651_);
v___x_4742_ = v_reuseFailAlloc_4746_;
goto v_reusejp_4741_;
}
v_reusejp_4741_:
{
lean_object* v___x_4743_; 
lean_inc(v_a_4670_);
lean_inc(v_ctx_x3f_4653_);
v___x_4743_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go(v_pp_4652_, v___x_4742_, v_ctx_x3f_4653_, v_a_4670_, v___x_4740_);
if (lean_obj_tag(v___x_4743_) == 0)
{
lean_object* v_a_4744_; lean_object* v_snd_4745_; 
v_a_4744_ = lean_ctor_get(v___x_4743_, 0);
lean_inc(v_a_4744_);
lean_dec_ref(v___x_4743_);
v_snd_4745_ = lean_ctor_get(v_a_4744_, 1);
lean_inc(v_snd_4745_);
lean_dec(v_a_4744_);
v_a_4661_ = v___x_4669_;
v_snd_4662_ = v_snd_4745_;
goto v___jp_4660_;
}
else
{
lean_dec(v_ctx_x3f_4653_);
lean_dec(v_fst_4651_);
return v___x_4743_;
}
}
}
}
}
}
}
}
}
}
else
{
lean_dec(v___x_4671_);
v_a_4661_ = v___x_4669_;
v_snd_4662_ = v___y_4658_;
goto v___jp_4660_;
}
}
v___jp_4660_:
{
size_t v___x_4663_; size_t v___x_4664_; 
v___x_4663_ = ((size_t)1ULL);
v___x_4664_ = lean_usize_add(v_i_4656_, v___x_4663_);
v_i_4656_ = v___x_4664_;
v_b_4657_ = v_a_4661_;
v___y_4658_ = v_snd_4662_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___boxed(lean_object* v_fst_4757_, lean_object* v_pp_4758_, lean_object* v_ctx_x3f_4759_, lean_object* v_as_4760_, lean_object* v_sz_4761_, lean_object* v_i_4762_, lean_object* v_b_4763_, lean_object* v___y_4764_, lean_object* v___y_4765_){
_start:
{
uint8_t v_pp_boxed_4766_; size_t v_sz_boxed_4767_; size_t v_i_boxed_4768_; lean_object* v_res_4769_; 
v_pp_boxed_4766_ = lean_unbox(v_pp_4758_);
v_sz_boxed_4767_ = lean_unbox_usize(v_sz_4761_);
lean_dec(v_sz_4761_);
v_i_boxed_4768_ = lean_unbox_usize(v_i_4762_);
lean_dec(v_i_4762_);
v_res_4769_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0(v_fst_4757_, v_pp_boxed_4766_, v_ctx_x3f_4759_, v_as_4760_, v_sz_boxed_4767_, v_i_boxed_4768_, v_b_4763_, v___y_4764_);
lean_dec_ref(v_as_4760_);
return v_res_4769_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed(lean_object* v_pp_4770_, lean_object* v_parentStackIdx_x3f_4771_, lean_object* v_ctx_x3f_4772_, lean_object* v_a_4773_, lean_object* v_a_4774_, lean_object* v_a_4775_){
_start:
{
uint8_t v_pp_boxed_4776_; lean_object* v_res_4777_; 
v_pp_boxed_4776_ = lean_unbox(v_pp_4770_);
v_res_4777_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go(v_pp_boxed_4776_, v_parentStackIdx_x3f_4771_, v_ctx_x3f_4772_, v_a_4773_, v_a_4774_);
return v_res_4777_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1(lean_object* v_00_u03b2_4778_, lean_object* v_m_4779_, lean_object* v_a_4780_){
_start:
{
lean_object* v___x_4781_; 
v___x_4781_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(v_m_4779_, v_a_4780_);
return v___x_4781_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___boxed(lean_object* v_00_u03b2_4782_, lean_object* v_m_4783_, lean_object* v_a_4784_){
_start:
{
lean_object* v_res_4785_; 
v_res_4785_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1(v_00_u03b2_4782_, v_m_4783_, v_a_4784_);
lean_dec_ref(v_a_4784_);
lean_dec_ref(v_m_4783_);
return v_res_4785_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2(lean_object* v_00_u03b2_4786_, lean_object* v_m_4787_, lean_object* v_a_4788_, lean_object* v_b_4789_){
_start:
{
lean_object* v___x_4790_; 
v___x_4790_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2___redArg(v_m_4787_, v_a_4788_, v_b_4789_);
return v___x_4790_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3(lean_object* v_00_u03b2_4791_, lean_object* v_m_4792_, lean_object* v_a_4793_){
_start:
{
lean_object* v___x_4794_; 
v___x_4794_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(v_m_4792_, v_a_4793_);
return v___x_4794_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___boxed(lean_object* v_00_u03b2_4795_, lean_object* v_m_4796_, lean_object* v_a_4797_){
_start:
{
lean_object* v_res_4798_; 
v_res_4798_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3(v_00_u03b2_4795_, v_m_4796_, v_a_4797_);
lean_dec(v_a_4797_);
lean_dec_ref(v_m_4796_);
return v_res_4798_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4(lean_object* v_00_u03b2_4799_, lean_object* v_m_4800_, lean_object* v_a_4801_, lean_object* v_b_4802_){
_start:
{
lean_object* v___x_4803_; 
v___x_4803_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(v_m_4800_, v_a_4801_, v_b_4802_);
return v___x_4803_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5(lean_object* v_00_u03b2_4804_, lean_object* v_m_4805_, lean_object* v_a_4806_){
_start:
{
lean_object* v___x_4807_; 
v___x_4807_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(v_m_4805_, v_a_4806_);
return v___x_4807_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___boxed(lean_object* v_00_u03b2_4808_, lean_object* v_m_4809_, lean_object* v_a_4810_){
_start:
{
lean_object* v_res_4811_; 
v_res_4811_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5(v_00_u03b2_4808_, v_m_4809_, v_a_4810_);
lean_dec_ref(v_a_4810_);
lean_dec_ref(v_m_4809_);
return v_res_4811_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6(lean_object* v_00_u03b2_4812_, lean_object* v_m_4813_, lean_object* v_a_4814_, lean_object* v_b_4815_){
_start:
{
lean_object* v___x_4816_; 
v___x_4816_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6___redArg(v_m_4813_, v_a_4814_, v_b_4815_);
return v___x_4816_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1(lean_object* v_00_u03b2_4817_, lean_object* v_a_4818_, lean_object* v_x_4819_){
_start:
{
lean_object* v___x_4820_; 
v___x_4820_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___redArg(v_a_4818_, v_x_4819_);
return v___x_4820_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1___boxed(lean_object* v_00_u03b2_4821_, lean_object* v_a_4822_, lean_object* v_x_4823_){
_start:
{
lean_object* v_res_4824_; 
v_res_4824_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1_spec__1(v_00_u03b2_4821_, v_a_4822_, v_x_4823_);
lean_dec(v_x_4823_);
lean_dec_ref(v_a_4822_);
return v_res_4824_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3(lean_object* v_00_u03b2_4825_, lean_object* v_a_4826_, lean_object* v_x_4827_){
_start:
{
uint8_t v___x_4828_; 
v___x_4828_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___redArg(v_a_4826_, v_x_4827_);
return v___x_4828_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3___boxed(lean_object* v_00_u03b2_4829_, lean_object* v_a_4830_, lean_object* v_x_4831_){
_start:
{
uint8_t v_res_4832_; lean_object* v_r_4833_; 
v_res_4832_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__3(v_00_u03b2_4829_, v_a_4830_, v_x_4831_);
lean_dec(v_x_4831_);
lean_dec_ref(v_a_4830_);
v_r_4833_ = lean_box(v_res_4832_);
return v_r_4833_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4(lean_object* v_00_u03b2_4834_, lean_object* v_data_4835_){
_start:
{
lean_object* v___x_4836_; 
v___x_4836_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4___redArg(v_data_4835_);
return v___x_4836_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5(lean_object* v_00_u03b2_4837_, lean_object* v_a_4838_, lean_object* v_b_4839_, lean_object* v_x_4840_){
_start:
{
lean_object* v___x_4841_; 
v___x_4841_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__5___redArg(v_a_4838_, v_b_4839_, v_x_4840_);
return v___x_4841_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7(lean_object* v_00_u03b2_4842_, lean_object* v_a_4843_, lean_object* v_x_4844_){
_start:
{
lean_object* v___x_4845_; 
v___x_4845_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___redArg(v_a_4843_, v_x_4844_);
return v___x_4845_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7___boxed(lean_object* v_00_u03b2_4846_, lean_object* v_a_4847_, lean_object* v_x_4848_){
_start:
{
lean_object* v_res_4849_; 
v_res_4849_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3_spec__7(v_00_u03b2_4846_, v_a_4847_, v_x_4848_);
lean_dec(v_x_4848_);
lean_dec(v_a_4847_);
return v_res_4849_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9(lean_object* v_00_u03b2_4850_, lean_object* v_a_4851_, lean_object* v_x_4852_){
_start:
{
uint8_t v___x_4853_; 
v___x_4853_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___redArg(v_a_4851_, v_x_4852_);
return v___x_4853_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9___boxed(lean_object* v_00_u03b2_4854_, lean_object* v_a_4855_, lean_object* v_x_4856_){
_start:
{
uint8_t v_res_4857_; lean_object* v_r_4858_; 
v_res_4857_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__9(v_00_u03b2_4854_, v_a_4855_, v_x_4856_);
lean_dec(v_x_4856_);
lean_dec(v_a_4855_);
v_r_4858_ = lean_box(v_res_4857_);
return v_r_4858_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10(lean_object* v_00_u03b2_4859_, lean_object* v_data_4860_){
_start:
{
lean_object* v___x_4861_; 
v___x_4861_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10___redArg(v_data_4860_);
return v___x_4861_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11(lean_object* v_00_u03b2_4862_, lean_object* v_a_4863_, lean_object* v_b_4864_, lean_object* v_x_4865_){
_start:
{
lean_object* v___x_4866_; 
v___x_4866_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__11___redArg(v_a_4863_, v_b_4864_, v_x_4865_);
return v___x_4866_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13(lean_object* v_00_u03b2_4867_, lean_object* v_a_4868_, lean_object* v_x_4869_){
_start:
{
lean_object* v___x_4870_; 
v___x_4870_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___redArg(v_a_4868_, v_x_4869_);
return v___x_4870_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13___boxed(lean_object* v_00_u03b2_4871_, lean_object* v_a_4872_, lean_object* v_x_4873_){
_start:
{
lean_object* v_res_4874_; 
v_res_4874_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5_spec__13(v_00_u03b2_4871_, v_a_4872_, v_x_4873_);
lean_dec(v_x_4873_);
lean_dec_ref(v_a_4872_);
return v_res_4874_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15(lean_object* v_00_u03b2_4875_, lean_object* v_a_4876_, lean_object* v_x_4877_){
_start:
{
uint8_t v___x_4878_; 
v___x_4878_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___redArg(v_a_4876_, v_x_4877_);
return v___x_4878_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15___boxed(lean_object* v_00_u03b2_4879_, lean_object* v_a_4880_, lean_object* v_x_4881_){
_start:
{
uint8_t v_res_4882_; lean_object* v_r_4883_; 
v_res_4882_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__15(v_00_u03b2_4879_, v_a_4880_, v_x_4881_);
lean_dec(v_x_4881_);
lean_dec_ref(v_a_4880_);
v_r_4883_ = lean_box(v_res_4882_);
return v_r_4883_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16(lean_object* v_00_u03b2_4884_, lean_object* v_data_4885_){
_start:
{
lean_object* v___x_4886_; 
v___x_4886_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16___redArg(v_data_4885_);
return v___x_4886_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17(lean_object* v_00_u03b2_4887_, lean_object* v_a_4888_, lean_object* v_b_4889_, lean_object* v_x_4890_){
_start:
{
lean_object* v___x_4891_; 
v___x_4891_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__17___redArg(v_a_4888_, v_b_4889_, v_x_4890_);
return v___x_4891_;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_4892_, lean_object* v_i_4893_, lean_object* v_source_4894_, lean_object* v_target_4895_){
_start:
{
lean_object* v___x_4896_; 
v___x_4896_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6___redArg(v_i_4893_, v_source_4894_, v_target_4895_);
return v___x_4896_;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13(lean_object* v_00_u03b2_4897_, lean_object* v_i_4898_, lean_object* v_source_4899_, lean_object* v_target_4900_){
_start:
{
lean_object* v___x_4901_; 
v___x_4901_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13___redArg(v_i_4898_, v_source_4899_, v_target_4900_);
return v___x_4901_;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20(lean_object* v_00_u03b2_4902_, lean_object* v_i_4903_, lean_object* v_source_4904_, lean_object* v_target_4905_){
_start:
{
lean_object* v___x_4906_; 
v___x_4906_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20___redArg(v_i_4903_, v_source_4904_, v_target_4905_);
return v___x_4906_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11(lean_object* v_00_u03b2_4907_, lean_object* v_x_4908_, lean_object* v_x_4909_){
_start:
{
lean_object* v___x_4910_; 
v___x_4910_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2_spec__4_spec__6_spec__11___redArg(v_x_4908_, v_x_4909_);
return v___x_4910_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17(lean_object* v_00_u03b2_4911_, lean_object* v_x_4912_, lean_object* v_x_4913_){
_start:
{
lean_object* v___x_4914_; 
v___x_4914_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4_spec__10_spec__13_spec__17___redArg(v_x_4912_, v_x_4913_);
return v___x_4914_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23(lean_object* v_00_u03b2_4915_, lean_object* v_x_4916_, lean_object* v_x_4917_){
_start:
{
lean_object* v___x_4918_; 
v___x_4918_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6_spec__16_spec__20_spec__23___redArg(v_x_4916_, v_x_4917_);
return v___x_4918_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace(uint8_t v_pp_4919_, lean_object* v_thread_4920_, lean_object* v_trace_4921_){
_start:
{
lean_object* v___x_4923_; lean_object* v___x_4924_; 
v___x_4923_ = lean_box(0);
v___x_4924_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go(v_pp_4919_, v___x_4923_, v___x_4923_, v_trace_4921_, v_thread_4920_);
if (lean_obj_tag(v___x_4924_) == 0)
{
lean_object* v_a_4925_; lean_object* v___x_4927_; uint8_t v_isShared_4928_; uint8_t v_isSharedCheck_4933_; 
v_a_4925_ = lean_ctor_get(v___x_4924_, 0);
v_isSharedCheck_4933_ = !lean_is_exclusive(v___x_4924_);
if (v_isSharedCheck_4933_ == 0)
{
v___x_4927_ = v___x_4924_;
v_isShared_4928_ = v_isSharedCheck_4933_;
goto v_resetjp_4926_;
}
else
{
lean_inc(v_a_4925_);
lean_dec(v___x_4924_);
v___x_4927_ = lean_box(0);
v_isShared_4928_ = v_isSharedCheck_4933_;
goto v_resetjp_4926_;
}
v_resetjp_4926_:
{
lean_object* v_snd_4929_; lean_object* v___x_4931_; 
v_snd_4929_ = lean_ctor_get(v_a_4925_, 1);
lean_inc(v_snd_4929_);
lean_dec(v_a_4925_);
if (v_isShared_4928_ == 0)
{
lean_ctor_set(v___x_4927_, 0, v_snd_4929_);
v___x_4931_ = v___x_4927_;
goto v_reusejp_4930_;
}
else
{
lean_object* v_reuseFailAlloc_4932_; 
v_reuseFailAlloc_4932_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_4932_, 0, v_snd_4929_);
v___x_4931_ = v_reuseFailAlloc_4932_;
goto v_reusejp_4930_;
}
v_reusejp_4930_:
{
return v___x_4931_;
}
}
}
else
{
lean_object* v_a_4934_; lean_object* v___x_4936_; uint8_t v_isShared_4937_; uint8_t v_isSharedCheck_4941_; 
v_a_4934_ = lean_ctor_get(v___x_4924_, 0);
v_isSharedCheck_4941_ = !lean_is_exclusive(v___x_4924_);
if (v_isSharedCheck_4941_ == 0)
{
v___x_4936_ = v___x_4924_;
v_isShared_4937_ = v_isSharedCheck_4941_;
goto v_resetjp_4935_;
}
else
{
lean_inc(v_a_4934_);
lean_dec(v___x_4924_);
v___x_4936_ = lean_box(0);
v_isShared_4937_ = v_isSharedCheck_4941_;
goto v_resetjp_4935_;
}
v_resetjp_4935_:
{
lean_object* v___x_4939_; 
if (v_isShared_4937_ == 0)
{
v___x_4939_ = v___x_4936_;
goto v_reusejp_4938_;
}
else
{
lean_object* v_reuseFailAlloc_4940_; 
v_reuseFailAlloc_4940_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_4940_, 0, v_a_4934_);
v___x_4939_ = v_reuseFailAlloc_4940_;
goto v_reusejp_4938_;
}
v_reusejp_4938_:
{
return v___x_4939_;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace___boxed(lean_object* v_pp_4942_, lean_object* v_thread_4943_, lean_object* v_trace_4944_, lean_object* v_a_4945_){
_start:
{
uint8_t v_pp_boxed_4946_; lean_object* v_res_4947_; 
v_pp_boxed_4946_ = lean_unbox(v_pp_4942_);
v_res_4947_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace(v_pp_boxed_4946_, v_thread_4943_, v_trace_4944_);
return v_res_4947_;
}
}
static lean_object* _init_l_Lean_Firefox_Thread_new___closed__2(void){
_start:
{
lean_object* v___x_4951_; lean_object* v___x_4952_; lean_object* v___x_4953_; lean_object* v___x_4954_; 
v___x_4951_ = lean_unsigned_to_nat(0u);
v___x_4952_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0));
v___x_4953_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__1));
v___x_4954_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v___x_4954_, 0, v___x_4953_);
lean_ctor_set(v___x_4954_, 1, v___x_4953_);
lean_ctor_set(v___x_4954_, 2, v___x_4953_);
lean_ctor_set(v___x_4954_, 3, v___x_4952_);
lean_ctor_set(v___x_4954_, 4, v___x_4953_);
lean_ctor_set(v___x_4954_, 5, v___x_4951_);
return v___x_4954_;
}
}
static lean_object* _init_l_Lean_Firefox_Thread_new___closed__3(void){
_start:
{
lean_object* v___x_4955_; lean_object* v___x_4956_; lean_object* v___x_4957_; 
v___x_4955_ = lean_unsigned_to_nat(0u);
v___x_4956_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__1));
v___x_4957_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_4957_, 0, v___x_4956_);
lean_ctor_set(v___x_4957_, 1, v___x_4956_);
lean_ctor_set(v___x_4957_, 2, v___x_4955_);
return v___x_4957_;
}
}
static lean_object* _init_l_Lean_Firefox_Thread_new___closed__4(void){
_start:
{
lean_object* v___x_4958_; lean_object* v___x_4959_; lean_object* v___x_4960_; 
v___x_4958_ = lean_unsigned_to_nat(0u);
v___x_4959_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__1));
v___x_4960_ = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(v___x_4960_, 0, v___x_4959_);
lean_ctor_set(v___x_4960_, 1, v___x_4959_);
lean_ctor_set(v___x_4960_, 2, v___x_4959_);
lean_ctor_set(v___x_4960_, 3, v___x_4959_);
lean_ctor_set(v___x_4960_, 4, v___x_4958_);
return v___x_4960_;
}
}
static lean_object* _init_l_Lean_Firefox_Thread_new___closed__6(void){
_start:
{
lean_object* v___x_4964_; lean_object* v___x_4965_; lean_object* v___x_4966_; 
v___x_4964_ = lean_unsigned_to_nat(0u);
v___x_4965_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__1));
v___x_4966_ = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(v___x_4966_, 0, v___x_4965_);
lean_ctor_set(v___x_4966_, 1, v___x_4965_);
lean_ctor_set(v___x_4966_, 2, v___x_4965_);
lean_ctor_set(v___x_4966_, 3, v___x_4965_);
lean_ctor_set(v___x_4966_, 4, v___x_4965_);
lean_ctor_set(v___x_4966_, 5, v___x_4965_);
lean_ctor_set(v___x_4966_, 6, v___x_4965_);
lean_ctor_set(v___x_4966_, 7, v___x_4964_);
return v___x_4966_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_Thread_new(lean_object* v_name_4967_){
_start:
{
lean_object* v___x_4968_; uint8_t v___x_4969_; lean_object* v___x_4970_; lean_object* v___x_4971_; lean_object* v___x_4972_; lean_object* v___x_4973_; lean_object* v___x_4974_; lean_object* v___x_4975_; lean_object* v___x_4976_; lean_object* v___x_4977_; 
v___x_4968_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__0));
v___x_4969_ = 1;
v___x_4970_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__1));
v___x_4971_ = lean_obj_once(&l_Lean_Firefox_Thread_new___closed__2, &l_Lean_Firefox_Thread_new___closed__2_once, _init_l_Lean_Firefox_Thread_new___closed__2);
v___x_4972_ = lean_obj_once(&l_Lean_Firefox_Thread_new___closed__3, &l_Lean_Firefox_Thread_new___closed__3_once, _init_l_Lean_Firefox_Thread_new___closed__3);
v___x_4973_ = lean_obj_once(&l_Lean_Firefox_Thread_new___closed__4, &l_Lean_Firefox_Thread_new___closed__4_once, _init_l_Lean_Firefox_Thread_new___closed__4);
v___x_4974_ = l_Lean_Firefox_instInhabitedFrameTable_default;
v___x_4975_ = ((lean_object*)(l_Lean_Firefox_Thread_new___closed__5));
v___x_4976_ = lean_obj_once(&l_Lean_Firefox_Thread_new___closed__6, &l_Lean_Firefox_Thread_new___closed__6_once, _init_l_Lean_Firefox_Thread_new___closed__6);
v___x_4977_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v___x_4977_, 0, v_name_4967_);
lean_ctor_set(v___x_4977_, 1, v___x_4968_);
lean_ctor_set(v___x_4977_, 2, v___x_4971_);
lean_ctor_set(v___x_4977_, 3, v___x_4972_);
lean_ctor_set(v___x_4977_, 4, v___x_4973_);
lean_ctor_set(v___x_4977_, 5, v___x_4974_);
lean_ctor_set(v___x_4977_, 6, v___x_4975_);
lean_ctor_set(v___x_4977_, 7, v___x_4975_);
lean_ctor_set(v___x_4977_, 8, v___x_4970_);
lean_ctor_set(v___x_4977_, 9, v___x_4976_);
lean_ctor_set_uint8(v___x_4977_, sizeof(void*)*10, v___x_4969_);
return v___x_4977_;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2(lean_object* v_opts_4978_, lean_object* v_opt_4979_){
_start:
{
lean_object* v_name_4980_; lean_object* v_defValue_4981_; lean_object* v_map_4982_; lean_object* v___x_4983_; 
v_name_4980_ = lean_ctor_get(v_opt_4979_, 0);
v_defValue_4981_ = lean_ctor_get(v_opt_4979_, 1);
v_map_4982_ = lean_ctor_get(v_opts_4978_, 0);
v___x_4983_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(v_map_4982_, v_name_4980_);
if (lean_obj_tag(v___x_4983_) == 0)
{
uint8_t v___x_4984_; 
v___x_4984_ = lean_unbox(v_defValue_4981_);
return v___x_4984_;
}
else
{
lean_object* v_val_4985_; 
v_val_4985_ = lean_ctor_get(v___x_4983_, 0);
lean_inc(v_val_4985_);
lean_dec_ref(v___x_4983_);
if (lean_obj_tag(v_val_4985_) == 1)
{
uint8_t v_v_4986_; 
v_v_4986_ = lean_ctor_get_uint8(v_val_4985_, 0);
lean_dec_ref(v_val_4985_);
return v_v_4986_;
}
else
{
uint8_t v___x_4987_; 
lean_dec(v_val_4985_);
v___x_4987_ = lean_unbox(v_defValue_4981_);
return v___x_4987_;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2___boxed(lean_object* v_opts_4988_, lean_object* v_opt_4989_){
_start:
{
uint8_t v_res_4990_; lean_object* v_r_4991_; 
v_res_4990_ = l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2(v_opts_4988_, v_opt_4989_);
lean_dec_ref(v_opt_4989_);
lean_dec_ref(v_opts_4988_);
v_r_4991_ = lean_box(v_res_4990_);
return v_r_4991_;
}
}
LEAN_EXPORT uint64_t l_Lean_Firefox_Profile_export___lam__0(lean_object* v_x_4992_){
_start:
{
uint64_t v_tid_4993_; 
v_tid_4993_ = lean_ctor_get_uint64(v_x_4992_, sizeof(void*)*1);
return v_tid_4993_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export___lam__0___boxed(lean_object* v_x_4994_){
_start:
{
uint64_t v_res_4995_; lean_object* v_r_4996_; 
v_res_4995_ = l_Lean_Firefox_Profile_export___lam__0(v_x_4994_);
lean_dec_ref(v_x_4994_);
v_r_4996_ = lean_box_uint64(v_res_4995_);
return v_r_4996_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1(size_t v_sz_4997_, size_t v_i_4998_, lean_object* v_bs_4999_){
_start:
{
uint8_t v___x_5000_; 
v___x_5000_ = lean_usize_dec_lt(v_i_4998_, v_sz_4997_);
if (v___x_5000_ == 0)
{
return v_bs_4999_;
}
else
{
lean_object* v_v_5001_; lean_object* v_traces_5002_; lean_object* v___x_5003_; lean_object* v_bs_x27_5004_; lean_object* v___x_5005_; size_t v___x_5006_; size_t v___x_5007_; lean_object* v___x_5008_; 
v_v_5001_ = lean_array_uget_borrowed(v_bs_4999_, v_i_4998_);
v_traces_5002_ = lean_ctor_get(v_v_5001_, 0);
lean_inc_ref(v_traces_5002_);
v___x_5003_ = lean_unsigned_to_nat(0u);
v_bs_x27_5004_ = lean_array_uset(v_bs_4999_, v_i_4998_, v___x_5003_);
v___x_5005_ = l_Lean_PersistentArray_toArray___redArg(v_traces_5002_);
lean_dec_ref(v_traces_5002_);
v___x_5006_ = ((size_t)1ULL);
v___x_5007_ = lean_usize_add(v_i_4998_, v___x_5006_);
v___x_5008_ = lean_array_uset(v_bs_x27_5004_, v_i_4998_, v___x_5005_);
v_i_4998_ = v___x_5007_;
v_bs_4999_ = v___x_5008_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1___boxed(lean_object* v_sz_5010_, lean_object* v_i_5011_, lean_object* v_bs_5012_){
_start:
{
size_t v_sz_boxed_5013_; size_t v_i_boxed_5014_; lean_object* v_res_5015_; 
v_sz_boxed_5013_ = lean_unbox_usize(v_sz_5010_);
lean_dec(v_sz_5010_);
v_i_boxed_5014_ = lean_unbox_usize(v_i_5011_);
lean_dec(v_i_5011_);
v_res_5015_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1(v_sz_boxed_5013_, v_i_boxed_5014_, v_bs_5012_);
return v_res_5015_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4(size_t v_sz_5016_, size_t v_i_5017_, lean_object* v_bs_5018_){
_start:
{
uint8_t v___x_5019_; 
v___x_5019_ = lean_usize_dec_lt(v_i_5017_, v_sz_5016_);
if (v___x_5019_ == 0)
{
return v_bs_5018_;
}
else
{
lean_object* v_v_5020_; lean_object* v_msg_5021_; lean_object* v___x_5022_; lean_object* v_bs_x27_5023_; size_t v___x_5024_; size_t v___x_5025_; lean_object* v___x_5026_; 
v_v_5020_ = lean_array_uget_borrowed(v_bs_5018_, v_i_5017_);
v_msg_5021_ = lean_ctor_get(v_v_5020_, 1);
lean_inc_ref(v_msg_5021_);
v___x_5022_ = lean_unsigned_to_nat(0u);
v_bs_x27_5023_ = lean_array_uset(v_bs_5018_, v_i_5017_, v___x_5022_);
v___x_5024_ = ((size_t)1ULL);
v___x_5025_ = lean_usize_add(v_i_5017_, v___x_5024_);
v___x_5026_ = lean_array_uset(v_bs_x27_5023_, v_i_5017_, v_msg_5021_);
v_i_5017_ = v___x_5025_;
v_bs_5018_ = v___x_5026_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4___boxed(lean_object* v_sz_5028_, lean_object* v_i_5029_, lean_object* v_bs_5030_){
_start:
{
size_t v_sz_boxed_5031_; size_t v_i_boxed_5032_; lean_object* v_res_5033_; 
v_sz_boxed_5031_ = lean_unbox_usize(v_sz_5028_);
lean_dec(v_sz_5028_);
v_i_boxed_5032_ = lean_unbox_usize(v_i_5029_);
lean_dec(v_i_5029_);
v_res_5033_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4(v_sz_boxed_5031_, v_i_boxed_5032_, v_bs_5030_);
return v_res_5033_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5(lean_object* v_as_5034_, size_t v_i_5035_, size_t v_stop_5036_, lean_object* v_b_5037_){
_start:
{
uint8_t v___x_5038_; 
v___x_5038_ = lean_usize_dec_eq(v_i_5035_, v_stop_5036_);
if (v___x_5038_ == 0)
{
lean_object* v___x_5039_; lean_object* v___x_5040_; size_t v___x_5041_; size_t v___x_5042_; 
v___x_5039_ = lean_array_uget_borrowed(v_as_5034_, v_i_5035_);
v___x_5040_ = l_Array_append___redArg(v_b_5037_, v___x_5039_);
v___x_5041_ = ((size_t)1ULL);
v___x_5042_ = lean_usize_add(v_i_5035_, v___x_5041_);
v_i_5035_ = v___x_5042_;
v_b_5037_ = v___x_5040_;
goto _start;
}
else
{
return v_b_5037_;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5___boxed(lean_object* v_as_5044_, lean_object* v_i_5045_, lean_object* v_stop_5046_, lean_object* v_b_5047_){
_start:
{
size_t v_i_boxed_5048_; size_t v_stop_boxed_5049_; lean_object* v_res_5050_; 
v_i_boxed_5048_ = lean_unbox_usize(v_i_5045_);
lean_dec(v_i_5045_);
v_stop_boxed_5049_ = lean_unbox_usize(v_stop_5046_);
lean_dec(v_stop_5046_);
v_res_5050_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5(v_as_5044_, v_i_boxed_5048_, v_stop_boxed_5049_, v_b_5047_);
lean_dec_ref(v_as_5044_);
return v_res_5050_;
}
}
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1(lean_object* v___f_5051_, lean_object* v_tr1_5052_, lean_object* v_tr2_5053_){
_start:
{
lean_object* v___x_5054_; lean_object* v___x_5055_; double v___x_5056_; double v___x_5057_; uint8_t v___x_5058_; 
lean_inc_ref(v___f_5051_);
v___x_5054_ = lean_apply_1(v___f_5051_, v_tr1_5052_);
v___x_5055_ = lean_apply_1(v___f_5051_, v_tr2_5053_);
v___x_5056_ = lean_unbox_float(v___x_5054_);
lean_dec_ref(v___x_5054_);
v___x_5057_ = lean_unbox_float(v___x_5055_);
lean_dec_ref(v___x_5055_);
v___x_5058_ = lean_float_decLt(v___x_5056_, v___x_5057_);
return v___x_5058_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1___boxed(lean_object* v___f_5059_, lean_object* v_tr1_5060_, lean_object* v_tr2_5061_){
_start:
{
uint8_t v_res_5062_; lean_object* v_r_5063_; 
v_res_5062_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1(v___f_5059_, v_tr1_5060_, v_tr2_5061_);
v_r_5063_ = lean_box(v_res_5062_);
return v_r_5063_;
}
}
LEAN_EXPORT double l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0(lean_object* v___x_5064_, double v___x_5065_, lean_object* v_tr_5066_){
_start:
{
lean_object* v___x_5067_; uint8_t v___x_5068_; 
v___x_5067_ = lean_array_get_size(v_tr_5066_);
v___x_5068_ = lean_nat_dec_lt(v___x_5064_, v___x_5067_);
if (v___x_5068_ == 0)
{
return v___x_5065_;
}
else
{
lean_object* v___x_5069_; lean_object* v_msg_5070_; lean_object* v___x_5071_; 
v___x_5069_ = lean_array_fget_borrowed(v_tr_5066_, v___x_5064_);
v_msg_5070_ = lean_ctor_get(v___x_5069_, 1);
v___x_5071_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(v_msg_5070_);
if (lean_obj_tag(v___x_5071_) == 0)
{
return v___x_5065_;
}
else
{
lean_object* v_val_5072_; double v___x_5073_; 
v_val_5072_ = lean_ctor_get(v___x_5071_, 0);
lean_inc(v_val_5072_);
lean_dec_ref(v___x_5071_);
v___x_5073_ = lean_unbox_float(v_val_5072_);
lean_dec(v_val_5072_);
return v___x_5073_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0___boxed(lean_object* v___x_5074_, lean_object* v___x_5075_, lean_object* v_tr_5076_){
_start:
{
double v___x_4766__boxed_5077_; double v_res_5078_; lean_object* v_r_5079_; 
v___x_4766__boxed_5077_ = lean_unbox_float(v___x_5075_);
lean_dec_ref(v___x_5075_);
v_res_5078_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0(v___x_5074_, v___x_4766__boxed_5077_, v_tr_5076_);
lean_dec_ref(v_tr_5076_);
lean_dec(v___x_5074_);
v_r_5079_ = lean_box_float(v_res_5078_);
return v_r_5079_;
}
}
static lean_object* _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1(void){
_start:
{
double v___x_5080_; lean_object* v___x_5081_; 
v___x_5080_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0);
v___x_5081_ = lean_box_float(v___x_5080_);
return v___x_5081_;
}
}
static lean_object* _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0(void){
_start:
{
lean_object* v___x_5082_; lean_object* v___x_5083_; lean_object* v___f_5084_; 
v___x_5082_ = lean_unsigned_to_nat(0u);
v___x_5083_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1;
v___f_5084_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__0___boxed), 3, 2);
lean_closure_set(v___f_5084_, 0, v___x_5082_);
lean_closure_set(v___f_5084_, 1, v___x_5083_);
return v___f_5084_;
}
}
static lean_object* _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1(void){
_start:
{
lean_object* v___f_5085_; lean_object* v___f_5086_; 
v___f_5085_ = lean_obj_once(&l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0, &l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0_once, _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0);
v___f_5086_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___lam__1___boxed), 3, 1);
lean_closure_set(v___f_5086_, 0, v___f_5085_);
return v___f_5086_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(lean_object* v_as_5087_, lean_object* v_lo_5088_, lean_object* v_hi_5089_){
_start:
{
uint8_t v___x_5090_; 
v___x_5090_ = lean_nat_dec_lt(v_lo_5088_, v_hi_5089_);
if (v___x_5090_ == 0)
{
lean_dec(v_lo_5088_);
return v_as_5087_;
}
else
{
lean_object* v___f_5091_; lean_object* v___x_5092_; lean_object* v_fst_5093_; lean_object* v_snd_5094_; uint8_t v___x_5095_; 
v___f_5091_ = lean_obj_once(&l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1, &l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1_once, _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__1);
lean_inc(v_lo_5088_);
v___x_5092_ = l_Array_qpartition___redArg(v_as_5087_, v___f_5091_, v_lo_5088_, v_hi_5089_);
v_fst_5093_ = lean_ctor_get(v___x_5092_, 0);
lean_inc(v_fst_5093_);
v_snd_5094_ = lean_ctor_get(v___x_5092_, 1);
lean_inc(v_snd_5094_);
lean_dec_ref(v___x_5092_);
v___x_5095_ = lean_nat_dec_le(v_hi_5089_, v_fst_5093_);
if (v___x_5095_ == 0)
{
lean_object* v___x_5096_; lean_object* v___x_5097_; lean_object* v___x_5098_; 
v___x_5096_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(v_snd_5094_, v_lo_5088_, v_fst_5093_);
v___x_5097_ = lean_unsigned_to_nat(1u);
v___x_5098_ = lean_nat_add(v_fst_5093_, v___x_5097_);
lean_dec(v_fst_5093_);
v_as_5087_ = v___x_5096_;
v_lo_5088_ = v___x_5098_;
goto _start;
}
else
{
lean_dec(v_fst_5093_);
lean_dec(v_lo_5088_);
return v_snd_5094_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___boxed(lean_object* v_as_5100_, lean_object* v_lo_5101_, lean_object* v_hi_5102_){
_start:
{
lean_object* v_res_5103_; 
v_res_5103_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(v_as_5100_, v_lo_5101_, v_hi_5102_);
lean_dec(v_hi_5102_);
return v_res_5103_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3(lean_object* v_opts_5104_, lean_object* v_as_5105_, size_t v_sz_5106_, size_t v_i_5107_, lean_object* v_b_5108_){
_start:
{
uint8_t v___x_5110_; 
v___x_5110_ = lean_usize_dec_lt(v_i_5107_, v_sz_5106_);
if (v___x_5110_ == 0)
{
lean_object* v___x_5111_; 
v___x_5111_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_5111_, 0, v_b_5108_);
return v___x_5111_;
}
else
{
lean_object* v_toThread_5112_; lean_object* v_stringMap_5113_; lean_object* v_funcMap_5114_; lean_object* v_stackMap_5115_; double v_lastTime_5116_; lean_object* v___x_5117_; lean_object* v___x_5118_; lean_object* v_a_5119_; lean_object* v_thread_5121_; double v___x_5129_; uint8_t v___x_5130_; 
v_toThread_5112_ = lean_ctor_get(v_b_5108_, 0);
lean_inc_ref(v_toThread_5112_);
v_stringMap_5113_ = lean_ctor_get(v_b_5108_, 1);
v_funcMap_5114_ = lean_ctor_get(v_b_5108_, 2);
v_stackMap_5115_ = lean_ctor_get(v_b_5108_, 3);
v_lastTime_5116_ = lean_ctor_get_float(v_b_5108_, sizeof(void*)*4);
v___x_5117_ = lean_unsigned_to_nat(0u);
v___x_5118_ = lean_unsigned_to_nat(1u);
v_a_5119_ = lean_array_uget_borrowed(v_as_5105_, v_i_5107_);
v___x_5129_ = l_Float_ofScientific(v___x_5117_, v___x_5110_, v___x_5118_);
v___x_5130_ = lean_float_decLt(v___x_5129_, v_lastTime_5116_);
if (v___x_5130_ == 0)
{
lean_dec_ref(v_toThread_5112_);
v_thread_5121_ = v_b_5108_;
goto v___jp_5120_;
}
else
{
lean_object* v___x_5131_; 
v___x_5131_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f(v_a_5119_);
if (lean_obj_tag(v___x_5131_) == 1)
{
lean_object* v___x_5133_; uint8_t v_isShared_5134_; uint8_t v_isSharedCheck_5192_; 
lean_inc_ref(v_stackMap_5115_);
lean_inc_ref(v_funcMap_5114_);
lean_inc_ref(v_stringMap_5113_);
v_isSharedCheck_5192_ = !lean_is_exclusive(v_b_5108_);
if (v_isSharedCheck_5192_ == 0)
{
lean_object* v_unused_5193_; lean_object* v_unused_5194_; lean_object* v_unused_5195_; lean_object* v_unused_5196_; 
v_unused_5193_ = lean_ctor_get(v_b_5108_, 3);
lean_dec(v_unused_5193_);
v_unused_5194_ = lean_ctor_get(v_b_5108_, 2);
lean_dec(v_unused_5194_);
v_unused_5195_ = lean_ctor_get(v_b_5108_, 1);
lean_dec(v_unused_5195_);
v_unused_5196_ = lean_ctor_get(v_b_5108_, 0);
lean_dec(v_unused_5196_);
v___x_5133_ = v_b_5108_;
v_isShared_5134_ = v_isSharedCheck_5192_;
goto v_resetjp_5132_;
}
else
{
lean_dec(v_b_5108_);
v___x_5133_ = lean_box(0);
v_isShared_5134_ = v_isSharedCheck_5192_;
goto v_resetjp_5132_;
}
v_resetjp_5132_:
{
lean_object* v_samples_5135_; lean_object* v_val_5136_; lean_object* v_name_5137_; lean_object* v_processType_5138_; uint8_t v_isMainThread_5139_; lean_object* v_markers_5140_; lean_object* v_stackTable_5141_; lean_object* v_frameTable_5142_; lean_object* v_resourceTable_5143_; lean_object* v_nativeSymbols_5144_; lean_object* v_stringArray_5145_; lean_object* v_funcTable_5146_; lean_object* v___x_5148_; uint8_t v_isShared_5149_; uint8_t v_isSharedCheck_5190_; 
v_samples_5135_ = lean_ctor_get(v_toThread_5112_, 2);
lean_inc_ref(v_samples_5135_);
v_val_5136_ = lean_ctor_get(v___x_5131_, 0);
lean_inc(v_val_5136_);
lean_dec_ref(v___x_5131_);
v_name_5137_ = lean_ctor_get(v_toThread_5112_, 0);
v_processType_5138_ = lean_ctor_get(v_toThread_5112_, 1);
v_isMainThread_5139_ = lean_ctor_get_uint8(v_toThread_5112_, sizeof(void*)*10);
v_markers_5140_ = lean_ctor_get(v_toThread_5112_, 3);
v_stackTable_5141_ = lean_ctor_get(v_toThread_5112_, 4);
v_frameTable_5142_ = lean_ctor_get(v_toThread_5112_, 5);
v_resourceTable_5143_ = lean_ctor_get(v_toThread_5112_, 6);
v_nativeSymbols_5144_ = lean_ctor_get(v_toThread_5112_, 7);
v_stringArray_5145_ = lean_ctor_get(v_toThread_5112_, 8);
v_funcTable_5146_ = lean_ctor_get(v_toThread_5112_, 9);
v_isSharedCheck_5190_ = !lean_is_exclusive(v_toThread_5112_);
if (v_isSharedCheck_5190_ == 0)
{
lean_object* v_unused_5191_; 
v_unused_5191_ = lean_ctor_get(v_toThread_5112_, 2);
lean_dec(v_unused_5191_);
v___x_5148_ = v_toThread_5112_;
v_isShared_5149_ = v_isSharedCheck_5190_;
goto v_resetjp_5147_;
}
else
{
lean_inc(v_funcTable_5146_);
lean_inc(v_stringArray_5145_);
lean_inc(v_nativeSymbols_5144_);
lean_inc(v_resourceTable_5143_);
lean_inc(v_frameTable_5142_);
lean_inc(v_stackTable_5141_);
lean_inc(v_markers_5140_);
lean_inc(v_processType_5138_);
lean_inc(v_name_5137_);
lean_dec(v_toThread_5112_);
v___x_5148_ = lean_box(0);
v_isShared_5149_ = v_isSharedCheck_5190_;
goto v_resetjp_5147_;
}
v_resetjp_5147_:
{
lean_object* v_stack_5150_; lean_object* v_time_5151_; lean_object* v_weight_5152_; lean_object* v_threadCPUDelta_5153_; lean_object* v_length_5154_; lean_object* v___x_5156_; uint8_t v_isShared_5157_; uint8_t v_isSharedCheck_5188_; 
v_stack_5150_ = lean_ctor_get(v_samples_5135_, 0);
v_time_5151_ = lean_ctor_get(v_samples_5135_, 1);
v_weight_5152_ = lean_ctor_get(v_samples_5135_, 2);
v_threadCPUDelta_5153_ = lean_ctor_get(v_samples_5135_, 4);
v_length_5154_ = lean_ctor_get(v_samples_5135_, 5);
v_isSharedCheck_5188_ = !lean_is_exclusive(v_samples_5135_);
if (v_isSharedCheck_5188_ == 0)
{
lean_object* v_unused_5189_; 
v_unused_5189_ = lean_ctor_get(v_samples_5135_, 3);
lean_dec(v_unused_5189_);
v___x_5156_ = v_samples_5135_;
v_isShared_5157_ = v_isSharedCheck_5188_;
goto v_resetjp_5155_;
}
else
{
lean_inc(v_length_5154_);
lean_inc(v_threadCPUDelta_5153_);
lean_inc(v_weight_5152_);
lean_inc(v_time_5151_);
lean_inc(v_stack_5150_);
lean_dec(v_samples_5135_);
v___x_5156_ = lean_box(0);
v_isShared_5157_ = v_isSharedCheck_5188_;
goto v_resetjp_5155_;
}
v_resetjp_5155_:
{
lean_object* v___x_5158_; lean_object* v___x_5159_; double v___x_5160_; double v___x_5161_; lean_object* v___x_5162_; lean_object* v___x_5163_; double v___x_5164_; double v___x_5165_; lean_object* v___x_5166_; lean_object* v___x_5167_; lean_object* v___x_5168_; lean_object* v___x_5169_; lean_object* v___x_5170_; lean_object* v___x_5171_; lean_object* v___x_5172_; lean_object* v___x_5173_; lean_object* v___x_5174_; lean_object* v___x_5175_; lean_object* v___x_5176_; lean_object* v___x_5177_; lean_object* v___x_5178_; lean_object* v___x_5180_; 
v___x_5158_ = lean_array_push(v_stack_5150_, v___x_5117_);
v___x_5159_ = lean_array_push(v___x_5158_, v___x_5117_);
v___x_5160_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_5161_ = lean_float_mul(v_lastTime_5116_, v___x_5160_);
v___x_5162_ = lean_box_float(v___x_5161_);
v___x_5163_ = lean_array_push(v_time_5151_, v___x_5162_);
v___x_5164_ = lean_unbox_float(v_val_5136_);
lean_dec(v_val_5136_);
v___x_5165_ = lean_float_mul(v___x_5164_, v___x_5160_);
v___x_5166_ = lean_box_float(v___x_5165_);
v___x_5167_ = lean_array_push(v___x_5163_, v___x_5166_);
v___x_5168_ = lean_box_float(v___x_5129_);
v___x_5169_ = lean_array_push(v_weight_5152_, v___x_5168_);
v___x_5170_ = lean_box_float(v___x_5129_);
v___x_5171_ = lean_array_push(v___x_5169_, v___x_5170_);
v___x_5172_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0));
v___x_5173_ = lean_box_float(v___x_5129_);
v___x_5174_ = lean_array_push(v_threadCPUDelta_5153_, v___x_5173_);
v___x_5175_ = lean_box_float(v___x_5129_);
v___x_5176_ = lean_array_push(v___x_5174_, v___x_5175_);
v___x_5177_ = lean_unsigned_to_nat(2u);
v___x_5178_ = lean_nat_add(v_length_5154_, v___x_5177_);
lean_dec(v_length_5154_);
if (v_isShared_5157_ == 0)
{
lean_ctor_set(v___x_5156_, 5, v___x_5178_);
lean_ctor_set(v___x_5156_, 4, v___x_5176_);
lean_ctor_set(v___x_5156_, 3, v___x_5172_);
lean_ctor_set(v___x_5156_, 2, v___x_5171_);
lean_ctor_set(v___x_5156_, 1, v___x_5167_);
lean_ctor_set(v___x_5156_, 0, v___x_5159_);
v___x_5180_ = v___x_5156_;
goto v_reusejp_5179_;
}
else
{
lean_object* v_reuseFailAlloc_5187_; 
v_reuseFailAlloc_5187_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v_reuseFailAlloc_5187_, 0, v___x_5159_);
lean_ctor_set(v_reuseFailAlloc_5187_, 1, v___x_5167_);
lean_ctor_set(v_reuseFailAlloc_5187_, 2, v___x_5171_);
lean_ctor_set(v_reuseFailAlloc_5187_, 3, v___x_5172_);
lean_ctor_set(v_reuseFailAlloc_5187_, 4, v___x_5176_);
lean_ctor_set(v_reuseFailAlloc_5187_, 5, v___x_5178_);
v___x_5180_ = v_reuseFailAlloc_5187_;
goto v_reusejp_5179_;
}
v_reusejp_5179_:
{
lean_object* v___x_5182_; 
if (v_isShared_5149_ == 0)
{
lean_ctor_set(v___x_5148_, 2, v___x_5180_);
v___x_5182_ = v___x_5148_;
goto v_reusejp_5181_;
}
else
{
lean_object* v_reuseFailAlloc_5186_; 
v_reuseFailAlloc_5186_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_5186_, 0, v_name_5137_);
lean_ctor_set(v_reuseFailAlloc_5186_, 1, v_processType_5138_);
lean_ctor_set(v_reuseFailAlloc_5186_, 2, v___x_5180_);
lean_ctor_set(v_reuseFailAlloc_5186_, 3, v_markers_5140_);
lean_ctor_set(v_reuseFailAlloc_5186_, 4, v_stackTable_5141_);
lean_ctor_set(v_reuseFailAlloc_5186_, 5, v_frameTable_5142_);
lean_ctor_set(v_reuseFailAlloc_5186_, 6, v_resourceTable_5143_);
lean_ctor_set(v_reuseFailAlloc_5186_, 7, v_nativeSymbols_5144_);
lean_ctor_set(v_reuseFailAlloc_5186_, 8, v_stringArray_5145_);
lean_ctor_set(v_reuseFailAlloc_5186_, 9, v_funcTable_5146_);
lean_ctor_set_uint8(v_reuseFailAlloc_5186_, sizeof(void*)*10, v_isMainThread_5139_);
v___x_5182_ = v_reuseFailAlloc_5186_;
goto v_reusejp_5181_;
}
v_reusejp_5181_:
{
lean_object* v___x_5184_; 
if (v_isShared_5134_ == 0)
{
lean_ctor_set(v___x_5133_, 0, v___x_5182_);
v___x_5184_ = v___x_5133_;
goto v_reusejp_5183_;
}
else
{
lean_object* v_reuseFailAlloc_5185_; 
v_reuseFailAlloc_5185_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_5185_, 0, v___x_5182_);
lean_ctor_set(v_reuseFailAlloc_5185_, 1, v_stringMap_5113_);
lean_ctor_set(v_reuseFailAlloc_5185_, 2, v_funcMap_5114_);
lean_ctor_set(v_reuseFailAlloc_5185_, 3, v_stackMap_5115_);
lean_ctor_set_float(v_reuseFailAlloc_5185_, sizeof(void*)*4, v_lastTime_5116_);
v___x_5184_ = v_reuseFailAlloc_5185_;
goto v_reusejp_5183_;
}
v_reusejp_5183_:
{
v_thread_5121_ = v___x_5184_;
goto v___jp_5120_;
}
}
}
}
}
}
}
else
{
lean_dec(v___x_5131_);
lean_dec_ref(v_toThread_5112_);
v_thread_5121_ = v_b_5108_;
goto v___jp_5120_;
}
}
v___jp_5120_:
{
lean_object* v___x_5122_; uint8_t v___x_5123_; lean_object* v___x_5124_; 
v___x_5122_ = l_Lean_trace_profiler_output_pp;
v___x_5123_ = l_Lean_Option_get___at___00Lean_Firefox_Profile_export_spec__2(v_opts_5104_, v___x_5122_);
lean_inc(v_a_5119_);
v___x_5124_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace(v___x_5123_, v_thread_5121_, v_a_5119_);
if (lean_obj_tag(v___x_5124_) == 0)
{
lean_object* v_a_5125_; size_t v___x_5126_; size_t v___x_5127_; 
v_a_5125_ = lean_ctor_get(v___x_5124_, 0);
lean_inc(v_a_5125_);
lean_dec_ref(v___x_5124_);
v___x_5126_ = ((size_t)1ULL);
v___x_5127_ = lean_usize_add(v_i_5107_, v___x_5126_);
v_i_5107_ = v___x_5127_;
v_b_5108_ = v_a_5125_;
goto _start;
}
else
{
return v___x_5124_;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3___boxed(lean_object* v_opts_5197_, lean_object* v_as_5198_, lean_object* v_sz_5199_, lean_object* v_i_5200_, lean_object* v_b_5201_, lean_object* v___y_5202_){
_start:
{
size_t v_sz_boxed_5203_; size_t v_i_boxed_5204_; lean_object* v_res_5205_; 
v_sz_boxed_5203_ = lean_unbox_usize(v_sz_5199_);
lean_dec(v_sz_5199_);
v_i_boxed_5204_ = lean_unbox_usize(v_i_5200_);
lean_dec(v_i_5200_);
v_res_5205_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3(v_opts_5197_, v_as_5198_, v_sz_boxed_5203_, v_i_boxed_5204_, v_b_5201_);
lean_dec_ref(v_as_5198_);
lean_dec_ref(v_opts_5197_);
return v_res_5205_;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4(void){
_start:
{
lean_object* v___x_5212_; lean_object* v___x_5213_; 
v___x_5212_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__3));
v___x_5213_ = l_Lean_MessageData_ofFormat(v___x_5212_);
return v___x_5213_;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6(void){
_start:
{
lean_object* v___x_5216_; lean_object* v___x_5217_; lean_object* v___x_5218_; 
v___x_5216_ = lean_box(0);
v___x_5217_ = lean_unsigned_to_nat(16u);
v___x_5218_ = lean_mk_array(v___x_5217_, v___x_5216_);
return v___x_5218_;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7(void){
_start:
{
lean_object* v___x_5219_; lean_object* v___x_5220_; lean_object* v___x_5221_; 
v___x_5219_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__6);
v___x_5220_ = lean_unsigned_to_nat(0u);
v___x_5221_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5221_, 0, v___x_5220_);
lean_ctor_set(v___x_5221_, 1, v___x_5219_);
return v___x_5221_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7(lean_object* v_opts_5222_, double v_startTime_5223_, double v___x_5224_, lean_object* v_name_5225_, size_t v_sz_5226_, size_t v_i_5227_, lean_object* v_bs_5228_){
_start:
{
uint8_t v___x_5230_; 
v___x_5230_ = lean_usize_dec_lt(v_i_5227_, v_sz_5226_);
if (v___x_5230_ == 0)
{
lean_object* v___x_5231_; 
lean_dec_ref(v_name_5225_);
v___x_5231_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v___x_5231_, 0, v_bs_5228_);
return v___x_5231_;
}
else
{
lean_object* v_v_5232_; lean_object* v_fst_5233_; lean_object* v_snd_5234_; lean_object* v___x_5235_; lean_object* v_bs_x27_5236_; size_t v___y_5238_; lean_object* v___y_5239_; lean_object* v_traces_5240_; uint64_t v___x_5256_; uint64_t v___x_5257_; uint8_t v___x_5258_; size_t v___y_5260_; lean_object* v___y_5261_; lean_object* v___y_5262_; lean_object* v___y_5263_; size_t v___y_5275_; lean_object* v___y_5276_; lean_object* v___y_5277_; lean_object* v___y_5278_; lean_object* v___y_5288_; size_t v___y_5289_; lean_object* v___y_5290_; lean_object* v___y_5291_; lean_object* v___y_5292_; lean_object* v___y_5293_; lean_object* v___y_5294_; size_t v___y_5297_; lean_object* v___y_5298_; lean_object* v___y_5299_; lean_object* v___y_5300_; lean_object* v___y_5301_; lean_object* v___y_5302_; lean_object* v___y_5303_; lean_object* v___y_5306_; 
v_v_5232_ = lean_array_uget_borrowed(v_bs_5228_, v_i_5227_);
v_fst_5233_ = lean_ctor_get(v_v_5232_, 0);
lean_inc(v_fst_5233_);
v_snd_5234_ = lean_ctor_get(v_v_5232_, 1);
lean_inc(v_snd_5234_);
v___x_5235_ = lean_unsigned_to_nat(0u);
v_bs_x27_5236_ = lean_array_uset(v_bs_5228_, v_i_5227_, v___x_5235_);
v___x_5256_ = 0ULL;
v___x_5257_ = lean_unbox_uint64(v_fst_5233_);
v___x_5258_ = lean_uint64_dec_eq(v___x_5257_, v___x_5256_);
if (v___x_5258_ == 0)
{
uint64_t v___x_5336_; lean_object* v___x_5337_; lean_object* v___x_5338_; 
v___x_5336_ = lean_unbox_uint64(v_fst_5233_);
lean_dec(v_fst_5233_);
v___x_5337_ = lean_uint64_to_nat(v___x_5336_);
v___x_5338_ = l_Nat_reprFast(v___x_5337_);
v___y_5306_ = v___x_5338_;
goto v___jp_5305_;
}
else
{
lean_dec(v_fst_5233_);
lean_inc_ref(v_name_5225_);
v___y_5306_ = v_name_5225_;
goto v___jp_5305_;
}
v___jp_5237_:
{
size_t v_sz_5241_; lean_object* v___x_5242_; 
v_sz_5241_ = lean_array_size(v_traces_5240_);
v___x_5242_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Firefox_Profile_export_spec__3(v_opts_5222_, v_traces_5240_, v_sz_5241_, v___y_5238_, v___y_5239_);
lean_dec_ref(v_traces_5240_);
if (lean_obj_tag(v___x_5242_) == 0)
{
lean_object* v_a_5243_; size_t v___x_5244_; size_t v___x_5245_; lean_object* v___x_5246_; 
v_a_5243_ = lean_ctor_get(v___x_5242_, 0);
lean_inc(v_a_5243_);
lean_dec_ref(v___x_5242_);
v___x_5244_ = ((size_t)1ULL);
v___x_5245_ = lean_usize_add(v_i_5227_, v___x_5244_);
v___x_5246_ = lean_array_uset(v_bs_x27_5236_, v_i_5227_, v_a_5243_);
v_i_5227_ = v___x_5245_;
v_bs_5228_ = v___x_5246_;
goto _start;
}
else
{
lean_object* v_a_5248_; lean_object* v___x_5250_; uint8_t v_isShared_5251_; uint8_t v_isSharedCheck_5255_; 
lean_dec_ref(v_bs_x27_5236_);
lean_dec_ref(v_name_5225_);
v_a_5248_ = lean_ctor_get(v___x_5242_, 0);
v_isSharedCheck_5255_ = !lean_is_exclusive(v___x_5242_);
if (v_isSharedCheck_5255_ == 0)
{
v___x_5250_ = v___x_5242_;
v_isShared_5251_ = v_isSharedCheck_5255_;
goto v_resetjp_5249_;
}
else
{
lean_inc(v_a_5248_);
lean_dec(v___x_5242_);
v___x_5250_ = lean_box(0);
v_isShared_5251_ = v_isSharedCheck_5255_;
goto v_resetjp_5249_;
}
v_resetjp_5249_:
{
lean_object* v___x_5253_; 
if (v_isShared_5251_ == 0)
{
v___x_5253_ = v___x_5250_;
goto v_reusejp_5252_;
}
else
{
lean_object* v_reuseFailAlloc_5254_; 
v_reuseFailAlloc_5254_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_5254_, 0, v_a_5248_);
v___x_5253_ = v_reuseFailAlloc_5254_;
goto v_reusejp_5252_;
}
v_reusejp_5252_:
{
return v___x_5253_;
}
}
}
}
v___jp_5259_:
{
size_t v_sz_5264_; lean_object* v___x_5265_; 
v_sz_5264_ = lean_array_size(v___y_5263_);
v___x_5265_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__4(v_sz_5264_, v___y_5260_, v___y_5263_);
if (v___x_5258_ == 0)
{
v___y_5238_ = v___y_5260_;
v___y_5239_ = v___y_5261_;
v_traces_5240_ = v___x_5265_;
goto v___jp_5237_;
}
else
{
lean_object* v___x_5266_; lean_object* v___x_5267_; lean_object* v___x_5268_; lean_object* v___x_5269_; lean_object* v___x_5270_; lean_object* v___x_5271_; lean_object* v___x_5272_; lean_object* v___x_5273_; 
v___x_5266_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__1));
v___x_5267_ = lean_box(0);
v___x_5268_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2));
v___x_5269_ = lean_alloc_ctor(0, 3, 17);
lean_ctor_set(v___x_5269_, 0, v___x_5266_);
lean_ctor_set(v___x_5269_, 1, v___x_5267_);
lean_ctor_set(v___x_5269_, 2, v___x_5268_);
lean_ctor_set_float(v___x_5269_, sizeof(void*)*3, v_startTime_5223_);
lean_ctor_set_float(v___x_5269_, sizeof(void*)*3 + 8, v___x_5224_);
lean_ctor_set_uint8(v___x_5269_, sizeof(void*)*3 + 16, v___x_5258_);
v___x_5270_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__4);
v___x_5271_ = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(v___x_5271_, 0, v___x_5269_);
lean_ctor_set(v___x_5271_, 1, v___x_5270_);
lean_ctor_set(v___x_5271_, 2, v___x_5265_);
v___x_5272_ = lean_mk_empty_array_with_capacity(v___y_5262_);
v___x_5273_ = lean_array_push(v___x_5272_, v___x_5271_);
v___y_5238_ = v___y_5260_;
v___y_5239_ = v___y_5261_;
v_traces_5240_ = v___x_5273_;
goto v___jp_5237_;
}
}
v___jp_5274_:
{
lean_object* v___x_5279_; lean_object* v___x_5280_; uint8_t v___x_5281_; 
v___x_5279_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__5));
v___x_5280_ = lean_array_get_size(v___y_5278_);
v___x_5281_ = lean_nat_dec_lt(v___x_5235_, v___x_5280_);
if (v___x_5281_ == 0)
{
lean_dec_ref(v___y_5278_);
v___y_5260_ = v___y_5275_;
v___y_5261_ = v___y_5276_;
v___y_5262_ = v___y_5277_;
v___y_5263_ = v___x_5279_;
goto v___jp_5259_;
}
else
{
uint8_t v___x_5282_; 
v___x_5282_ = lean_nat_dec_le(v___x_5280_, v___x_5280_);
if (v___x_5282_ == 0)
{
if (v___x_5281_ == 0)
{
lean_dec_ref(v___y_5278_);
v___y_5260_ = v___y_5275_;
v___y_5261_ = v___y_5276_;
v___y_5262_ = v___y_5277_;
v___y_5263_ = v___x_5279_;
goto v___jp_5259_;
}
else
{
size_t v___x_5283_; lean_object* v___x_5284_; 
v___x_5283_ = lean_usize_of_nat(v___x_5280_);
v___x_5284_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5(v___y_5278_, v___y_5275_, v___x_5283_, v___x_5279_);
lean_dec_ref(v___y_5278_);
v___y_5260_ = v___y_5275_;
v___y_5261_ = v___y_5276_;
v___y_5262_ = v___y_5277_;
v___y_5263_ = v___x_5284_;
goto v___jp_5259_;
}
}
else
{
size_t v___x_5285_; lean_object* v___x_5286_; 
v___x_5285_ = lean_usize_of_nat(v___x_5280_);
v___x_5286_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__5(v___y_5278_, v___y_5275_, v___x_5285_, v___x_5279_);
lean_dec_ref(v___y_5278_);
v___y_5260_ = v___y_5275_;
v___y_5261_ = v___y_5276_;
v___y_5262_ = v___y_5277_;
v___y_5263_ = v___x_5286_;
goto v___jp_5259_;
}
}
}
v___jp_5287_:
{
lean_object* v___x_5295_; 
lean_dec(v___y_5293_);
v___x_5295_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(v___y_5291_, v___y_5288_, v___y_5294_);
lean_dec(v___y_5294_);
v___y_5275_ = v___y_5289_;
v___y_5276_ = v___y_5290_;
v___y_5277_ = v___y_5292_;
v___y_5278_ = v___x_5295_;
goto v___jp_5274_;
}
v___jp_5296_:
{
uint8_t v___x_5304_; 
v___x_5304_ = lean_nat_dec_le(v___y_5303_, v___y_5298_);
if (v___x_5304_ == 0)
{
lean_dec(v___y_5298_);
lean_inc(v___y_5303_);
v___y_5288_ = v___y_5303_;
v___y_5289_ = v___y_5297_;
v___y_5290_ = v___y_5299_;
v___y_5291_ = v___y_5300_;
v___y_5292_ = v___y_5301_;
v___y_5293_ = v___y_5302_;
v___y_5294_ = v___y_5303_;
goto v___jp_5287_;
}
else
{
v___y_5288_ = v___y_5303_;
v___y_5289_ = v___y_5297_;
v___y_5290_ = v___y_5299_;
v___y_5291_ = v___y_5300_;
v___y_5292_ = v___y_5301_;
v___y_5293_ = v___y_5302_;
v___y_5294_ = v___y_5298_;
goto v___jp_5287_;
}
}
v___jp_5305_:
{
lean_object* v___x_5307_; lean_object* v_name_5308_; lean_object* v_processType_5309_; lean_object* v_samples_5310_; lean_object* v_markers_5311_; lean_object* v_stackTable_5312_; lean_object* v_frameTable_5313_; lean_object* v_resourceTable_5314_; lean_object* v_nativeSymbols_5315_; lean_object* v_stringArray_5316_; lean_object* v_funcTable_5317_; lean_object* v___x_5319_; uint8_t v_isShared_5320_; uint8_t v_isSharedCheck_5335_; 
v___x_5307_ = l_Lean_Firefox_Thread_new(v___y_5306_);
v_name_5308_ = lean_ctor_get(v___x_5307_, 0);
v_processType_5309_ = lean_ctor_get(v___x_5307_, 1);
v_samples_5310_ = lean_ctor_get(v___x_5307_, 2);
v_markers_5311_ = lean_ctor_get(v___x_5307_, 3);
v_stackTable_5312_ = lean_ctor_get(v___x_5307_, 4);
v_frameTable_5313_ = lean_ctor_get(v___x_5307_, 5);
v_resourceTable_5314_ = lean_ctor_get(v___x_5307_, 6);
v_nativeSymbols_5315_ = lean_ctor_get(v___x_5307_, 7);
v_stringArray_5316_ = lean_ctor_get(v___x_5307_, 8);
v_funcTable_5317_ = lean_ctor_get(v___x_5307_, 9);
v_isSharedCheck_5335_ = !lean_is_exclusive(v___x_5307_);
if (v_isSharedCheck_5335_ == 0)
{
v___x_5319_ = v___x_5307_;
v_isShared_5320_ = v_isSharedCheck_5335_;
goto v_resetjp_5318_;
}
else
{
lean_inc(v_funcTable_5317_);
lean_inc(v_stringArray_5316_);
lean_inc(v_nativeSymbols_5315_);
lean_inc(v_resourceTable_5314_);
lean_inc(v_frameTable_5313_);
lean_inc(v_stackTable_5312_);
lean_inc(v_markers_5311_);
lean_inc(v_samples_5310_);
lean_inc(v_processType_5309_);
lean_inc(v_name_5308_);
lean_dec(v___x_5307_);
v___x_5319_ = lean_box(0);
v_isShared_5320_ = v_isSharedCheck_5335_;
goto v_resetjp_5318_;
}
v_resetjp_5318_:
{
lean_object* v___x_5322_; 
if (v_isShared_5320_ == 0)
{
v___x_5322_ = v___x_5319_;
goto v_reusejp_5321_;
}
else
{
lean_object* v_reuseFailAlloc_5334_; 
v_reuseFailAlloc_5334_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_5334_, 0, v_name_5308_);
lean_ctor_set(v_reuseFailAlloc_5334_, 1, v_processType_5309_);
lean_ctor_set(v_reuseFailAlloc_5334_, 2, v_samples_5310_);
lean_ctor_set(v_reuseFailAlloc_5334_, 3, v_markers_5311_);
lean_ctor_set(v_reuseFailAlloc_5334_, 4, v_stackTable_5312_);
lean_ctor_set(v_reuseFailAlloc_5334_, 5, v_frameTable_5313_);
lean_ctor_set(v_reuseFailAlloc_5334_, 6, v_resourceTable_5314_);
lean_ctor_set(v_reuseFailAlloc_5334_, 7, v_nativeSymbols_5315_);
lean_ctor_set(v_reuseFailAlloc_5334_, 8, v_stringArray_5316_);
lean_ctor_set(v_reuseFailAlloc_5334_, 9, v_funcTable_5317_);
v___x_5322_ = v_reuseFailAlloc_5334_;
goto v_reusejp_5321_;
}
v_reusejp_5321_:
{
lean_object* v___x_5323_; double v___x_5324_; lean_object* v___x_5325_; size_t v_sz_5326_; size_t v___x_5327_; lean_object* v___x_5328_; lean_object* v___x_5329_; lean_object* v___x_5330_; uint8_t v___x_5331_; 
lean_ctor_set_uint8(v___x_5322_, sizeof(void*)*10, v___x_5258_);
v___x_5323_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7);
v___x_5324_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0);
v___x_5325_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v___x_5325_, 0, v___x_5322_);
lean_ctor_set(v___x_5325_, 1, v___x_5323_);
lean_ctor_set(v___x_5325_, 2, v___x_5323_);
lean_ctor_set(v___x_5325_, 3, v___x_5323_);
lean_ctor_set_float(v___x_5325_, sizeof(void*)*4, v___x_5324_);
v_sz_5326_ = lean_array_size(v_snd_5234_);
v___x_5327_ = ((size_t)0ULL);
v___x_5328_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__1(v_sz_5326_, v___x_5327_, v_snd_5234_);
v___x_5329_ = lean_unsigned_to_nat(1u);
v___x_5330_ = lean_array_get_size(v___x_5328_);
v___x_5331_ = lean_nat_dec_eq(v___x_5330_, v___x_5235_);
if (v___x_5331_ == 0)
{
lean_object* v___x_5332_; uint8_t v___x_5333_; 
v___x_5332_ = lean_nat_sub(v___x_5330_, v___x_5329_);
v___x_5333_ = lean_nat_dec_le(v___x_5235_, v___x_5332_);
if (v___x_5333_ == 0)
{
lean_inc(v___x_5332_);
v___y_5297_ = v___x_5327_;
v___y_5298_ = v___x_5332_;
v___y_5299_ = v___x_5325_;
v___y_5300_ = v___x_5328_;
v___y_5301_ = v___x_5329_;
v___y_5302_ = v___x_5330_;
v___y_5303_ = v___x_5332_;
goto v___jp_5296_;
}
else
{
v___y_5297_ = v___x_5327_;
v___y_5298_ = v___x_5332_;
v___y_5299_ = v___x_5325_;
v___y_5300_ = v___x_5328_;
v___y_5301_ = v___x_5329_;
v___y_5302_ = v___x_5330_;
v___y_5303_ = v___x_5235_;
goto v___jp_5296_;
}
}
else
{
v___y_5275_ = v___x_5327_;
v___y_5276_ = v___x_5325_;
v___y_5277_ = v___x_5329_;
v___y_5278_ = v___x_5328_;
goto v___jp_5274_;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___boxed(lean_object* v_opts_5339_, lean_object* v_startTime_5340_, lean_object* v___x_5341_, lean_object* v_name_5342_, lean_object* v_sz_5343_, lean_object* v_i_5344_, lean_object* v_bs_5345_, lean_object* v___y_5346_){
_start:
{
double v_startTime_boxed_5347_; double v___x_4995__boxed_5348_; size_t v_sz_boxed_5349_; size_t v_i_boxed_5350_; lean_object* v_res_5351_; 
v_startTime_boxed_5347_ = lean_unbox_float(v_startTime_5340_);
lean_dec_ref(v_startTime_5340_);
v___x_4995__boxed_5348_ = lean_unbox_float(v___x_5341_);
lean_dec_ref(v___x_5341_);
v_sz_boxed_5349_ = lean_unbox_usize(v_sz_5343_);
lean_dec(v_sz_5343_);
v_i_boxed_5350_ = lean_unbox_usize(v_i_5344_);
lean_dec(v_i_5344_);
v_res_5351_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7(v_opts_5339_, v_startTime_boxed_5347_, v___x_4995__boxed_5348_, v_name_5342_, v_sz_boxed_5349_, v_i_boxed_5350_, v_bs_5345_);
lean_dec_ref(v_opts_5339_);
return v_res_5351_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(uint64_t v_a_5352_, lean_object* v_x_5353_){
_start:
{
if (lean_obj_tag(v_x_5353_) == 0)
{
uint8_t v___x_5354_; 
v___x_5354_ = 0;
return v___x_5354_;
}
else
{
lean_object* v_key_5355_; lean_object* v_tail_5356_; uint64_t v___x_5357_; uint8_t v___x_5358_; 
v_key_5355_ = lean_ctor_get(v_x_5353_, 0);
v_tail_5356_ = lean_ctor_get(v_x_5353_, 2);
v___x_5357_ = lean_unbox_uint64(v_key_5355_);
v___x_5358_ = lean_uint64_dec_eq(v___x_5357_, v_a_5352_);
if (v___x_5358_ == 0)
{
v_x_5353_ = v_tail_5356_;
goto _start;
}
else
{
return v___x_5358_;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg___boxed(lean_object* v_a_5360_, lean_object* v_x_5361_){
_start:
{
uint64_t v_a_boxed_5362_; uint8_t v_res_5363_; lean_object* v_r_5364_; 
v_a_boxed_5362_ = lean_unbox_uint64(v_a_5360_);
lean_dec_ref(v_a_5360_);
v_res_5363_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(v_a_boxed_5362_, v_x_5361_);
lean_dec(v_x_5361_);
v_r_5364_ = lean_box(v_res_5363_);
return v_r_5364_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0(lean_object* v_a_5367_, lean_object* v_x_5368_){
_start:
{
lean_object* v___y_5370_; 
if (lean_obj_tag(v_x_5368_) == 0)
{
lean_object* v___x_5373_; 
v___x_5373_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0___closed__0));
v___y_5370_ = v___x_5373_;
goto v___jp_5369_;
}
else
{
lean_object* v_val_5374_; 
v_val_5374_ = lean_ctor_get(v_x_5368_, 0);
lean_inc(v_val_5374_);
lean_dec_ref(v_x_5368_);
v___y_5370_ = v_val_5374_;
goto v___jp_5369_;
}
v___jp_5369_:
{
lean_object* v___x_5371_; lean_object* v___x_5372_; 
v___x_5371_ = lean_array_push(v___y_5370_, v_a_5367_);
v___x_5372_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_5372_, 0, v___x_5371_);
return v___x_5372_;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(lean_object* v_a_5375_, uint64_t v_a_5376_, lean_object* v_x_5377_){
_start:
{
if (lean_obj_tag(v_x_5377_) == 0)
{
lean_object* v___x_5378_; lean_object* v___x_5379_; lean_object* v_val_5380_; lean_object* v___x_5381_; lean_object* v___x_5382_; 
v___x_5378_ = lean_box(0);
v___x_5379_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0(v_a_5375_, v___x_5378_);
v_val_5380_ = lean_ctor_get(v___x_5379_, 0);
lean_inc(v_val_5380_);
lean_dec(v___x_5379_);
v___x_5381_ = lean_box_uint64(v_a_5376_);
v___x_5382_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v___x_5382_, 0, v___x_5381_);
lean_ctor_set(v___x_5382_, 1, v_val_5380_);
lean_ctor_set(v___x_5382_, 2, v_x_5377_);
return v___x_5382_;
}
else
{
lean_object* v_key_5383_; lean_object* v_value_5384_; lean_object* v_tail_5385_; lean_object* v___x_5387_; uint8_t v_isShared_5388_; uint8_t v_isSharedCheck_5402_; 
v_key_5383_ = lean_ctor_get(v_x_5377_, 0);
v_value_5384_ = lean_ctor_get(v_x_5377_, 1);
v_tail_5385_ = lean_ctor_get(v_x_5377_, 2);
v_isSharedCheck_5402_ = !lean_is_exclusive(v_x_5377_);
if (v_isSharedCheck_5402_ == 0)
{
v___x_5387_ = v_x_5377_;
v_isShared_5388_ = v_isSharedCheck_5402_;
goto v_resetjp_5386_;
}
else
{
lean_inc(v_tail_5385_);
lean_inc(v_value_5384_);
lean_inc(v_key_5383_);
lean_dec(v_x_5377_);
v___x_5387_ = lean_box(0);
v_isShared_5388_ = v_isSharedCheck_5402_;
goto v_resetjp_5386_;
}
v_resetjp_5386_:
{
uint64_t v___x_5389_; uint8_t v___x_5390_; 
v___x_5389_ = lean_unbox_uint64(v_key_5383_);
v___x_5390_ = lean_uint64_dec_eq(v___x_5389_, v_a_5376_);
if (v___x_5390_ == 0)
{
lean_object* v_tail_5391_; lean_object* v___x_5393_; 
v_tail_5391_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(v_a_5375_, v_a_5376_, v_tail_5385_);
if (v_isShared_5388_ == 0)
{
lean_ctor_set(v___x_5387_, 2, v_tail_5391_);
v___x_5393_ = v___x_5387_;
goto v_reusejp_5392_;
}
else
{
lean_object* v_reuseFailAlloc_5394_; 
v_reuseFailAlloc_5394_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_5394_, 0, v_key_5383_);
lean_ctor_set(v_reuseFailAlloc_5394_, 1, v_value_5384_);
lean_ctor_set(v_reuseFailAlloc_5394_, 2, v_tail_5391_);
v___x_5393_ = v_reuseFailAlloc_5394_;
goto v_reusejp_5392_;
}
v_reusejp_5392_:
{
return v___x_5393_;
}
}
else
{
lean_object* v___x_5395_; lean_object* v___x_5396_; lean_object* v_val_5397_; lean_object* v___x_5398_; lean_object* v___x_5400_; 
lean_dec(v_key_5383_);
v___x_5395_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_5395_, 0, v_value_5384_);
v___x_5396_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0(v_a_5375_, v___x_5395_);
v_val_5397_ = lean_ctor_get(v___x_5396_, 0);
lean_inc(v_val_5397_);
lean_dec(v___x_5396_);
v___x_5398_ = lean_box_uint64(v_a_5376_);
if (v_isShared_5388_ == 0)
{
lean_ctor_set(v___x_5387_, 1, v_val_5397_);
lean_ctor_set(v___x_5387_, 0, v___x_5398_);
v___x_5400_ = v___x_5387_;
goto v_reusejp_5399_;
}
else
{
lean_object* v_reuseFailAlloc_5401_; 
v_reuseFailAlloc_5401_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_5401_, 0, v___x_5398_);
lean_ctor_set(v_reuseFailAlloc_5401_, 1, v_val_5397_);
lean_ctor_set(v_reuseFailAlloc_5401_, 2, v_tail_5385_);
v___x_5400_ = v_reuseFailAlloc_5401_;
goto v_reusejp_5399_;
}
v_reusejp_5399_:
{
return v___x_5400_;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___boxed(lean_object* v_a_5403_, lean_object* v_a_5404_, lean_object* v_x_5405_){
_start:
{
uint64_t v_a_boxed_5406_; lean_object* v_res_5407_; 
v_a_boxed_5406_ = lean_unbox_uint64(v_a_5404_);
lean_dec_ref(v_a_5404_);
v_res_5407_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(v_a_5403_, v_a_boxed_5406_, v_x_5405_);
return v_res_5407_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16___redArg(lean_object* v_x_5408_, lean_object* v_x_5409_){
_start:
{
if (lean_obj_tag(v_x_5409_) == 0)
{
return v_x_5408_;
}
else
{
lean_object* v_key_5410_; lean_object* v_value_5411_; lean_object* v_tail_5412_; lean_object* v___x_5414_; uint8_t v_isShared_5415_; uint8_t v_isSharedCheck_5436_; 
v_key_5410_ = lean_ctor_get(v_x_5409_, 0);
v_value_5411_ = lean_ctor_get(v_x_5409_, 1);
v_tail_5412_ = lean_ctor_get(v_x_5409_, 2);
v_isSharedCheck_5436_ = !lean_is_exclusive(v_x_5409_);
if (v_isSharedCheck_5436_ == 0)
{
v___x_5414_ = v_x_5409_;
v_isShared_5415_ = v_isSharedCheck_5436_;
goto v_resetjp_5413_;
}
else
{
lean_inc(v_tail_5412_);
lean_inc(v_value_5411_);
lean_inc(v_key_5410_);
lean_dec(v_x_5409_);
v___x_5414_ = lean_box(0);
v_isShared_5415_ = v_isSharedCheck_5436_;
goto v_resetjp_5413_;
}
v_resetjp_5413_:
{
lean_object* v___x_5416_; uint64_t v___x_5417_; uint64_t v___x_5418_; uint64_t v___x_5419_; uint64_t v___x_5420_; uint64_t v_fold_5421_; uint64_t v___x_5422_; uint64_t v___x_5423_; uint64_t v___x_5424_; size_t v___x_5425_; size_t v___x_5426_; size_t v___x_5427_; size_t v___x_5428_; size_t v___x_5429_; lean_object* v___x_5430_; lean_object* v___x_5432_; 
v___x_5416_ = lean_array_get_size(v_x_5408_);
v___x_5417_ = 32ULL;
v___x_5418_ = lean_unbox_uint64(v_key_5410_);
v___x_5419_ = lean_uint64_shift_right(v___x_5418_, v___x_5417_);
v___x_5420_ = lean_unbox_uint64(v_key_5410_);
v_fold_5421_ = lean_uint64_xor(v___x_5420_, v___x_5419_);
v___x_5422_ = 16ULL;
v___x_5423_ = lean_uint64_shift_right(v_fold_5421_, v___x_5422_);
v___x_5424_ = lean_uint64_xor(v_fold_5421_, v___x_5423_);
v___x_5425_ = lean_uint64_to_usize(v___x_5424_);
v___x_5426_ = lean_usize_of_nat(v___x_5416_);
v___x_5427_ = ((size_t)1ULL);
v___x_5428_ = lean_usize_sub(v___x_5426_, v___x_5427_);
v___x_5429_ = lean_usize_land(v___x_5425_, v___x_5428_);
v___x_5430_ = lean_array_uget_borrowed(v_x_5408_, v___x_5429_);
lean_inc(v___x_5430_);
if (v_isShared_5415_ == 0)
{
lean_ctor_set(v___x_5414_, 2, v___x_5430_);
v___x_5432_ = v___x_5414_;
goto v_reusejp_5431_;
}
else
{
lean_object* v_reuseFailAlloc_5435_; 
v_reuseFailAlloc_5435_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v_reuseFailAlloc_5435_, 0, v_key_5410_);
lean_ctor_set(v_reuseFailAlloc_5435_, 1, v_value_5411_);
lean_ctor_set(v_reuseFailAlloc_5435_, 2, v___x_5430_);
v___x_5432_ = v_reuseFailAlloc_5435_;
goto v_reusejp_5431_;
}
v_reusejp_5431_:
{
lean_object* v___x_5433_; 
v___x_5433_ = lean_array_uset(v_x_5408_, v___x_5429_, v___x_5432_);
v_x_5408_ = v___x_5433_;
v_x_5409_ = v_tail_5412_;
goto _start;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14___redArg(lean_object* v_i_5437_, lean_object* v_source_5438_, lean_object* v_target_5439_){
_start:
{
lean_object* v___x_5440_; uint8_t v___x_5441_; 
v___x_5440_ = lean_array_get_size(v_source_5438_);
v___x_5441_ = lean_nat_dec_lt(v_i_5437_, v___x_5440_);
if (v___x_5441_ == 0)
{
lean_dec_ref(v_source_5438_);
lean_dec(v_i_5437_);
return v_target_5439_;
}
else
{
lean_object* v_es_5442_; lean_object* v___x_5443_; lean_object* v_source_5444_; lean_object* v_target_5445_; lean_object* v___x_5446_; lean_object* v___x_5447_; 
v_es_5442_ = lean_array_fget(v_source_5438_, v_i_5437_);
v___x_5443_ = lean_box(0);
v_source_5444_ = lean_array_fset(v_source_5438_, v_i_5437_, v___x_5443_);
v_target_5445_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16___redArg(v_target_5439_, v_es_5442_);
v___x_5446_ = lean_unsigned_to_nat(1u);
v___x_5447_ = lean_nat_add(v_i_5437_, v___x_5446_);
lean_dec(v_i_5437_);
v_i_5437_ = v___x_5447_;
v_source_5438_ = v_source_5444_;
v_target_5439_ = v_target_5445_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3___redArg(lean_object* v_data_5449_){
_start:
{
lean_object* v___x_5450_; lean_object* v___x_5451_; lean_object* v_nbuckets_5452_; lean_object* v___x_5453_; lean_object* v___x_5454_; lean_object* v___x_5455_; lean_object* v___x_5456_; 
v___x_5450_ = lean_array_get_size(v_data_5449_);
v___x_5451_ = lean_unsigned_to_nat(2u);
v_nbuckets_5452_ = lean_nat_mul(v___x_5450_, v___x_5451_);
v___x_5453_ = lean_unsigned_to_nat(0u);
v___x_5454_ = lean_box(0);
v___x_5455_ = lean_mk_array(v_nbuckets_5452_, v___x_5454_);
v___x_5456_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14___redArg(v___x_5453_, v_data_5449_, v___x_5455_);
return v___x_5456_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg(lean_object* v_a_5457_, lean_object* v_m_5458_, uint64_t v_a_5459_){
_start:
{
lean_object* v_size_5460_; lean_object* v_buckets_5461_; lean_object* v___x_5463_; uint8_t v_isShared_5464_; uint8_t v_isSharedCheck_5511_; 
v_size_5460_ = lean_ctor_get(v_m_5458_, 0);
v_buckets_5461_ = lean_ctor_get(v_m_5458_, 1);
v_isSharedCheck_5511_ = !lean_is_exclusive(v_m_5458_);
if (v_isSharedCheck_5511_ == 0)
{
v___x_5463_ = v_m_5458_;
v_isShared_5464_ = v_isSharedCheck_5511_;
goto v_resetjp_5462_;
}
else
{
lean_inc(v_buckets_5461_);
lean_inc(v_size_5460_);
lean_dec(v_m_5458_);
v___x_5463_ = lean_box(0);
v_isShared_5464_ = v_isSharedCheck_5511_;
goto v_resetjp_5462_;
}
v_resetjp_5462_:
{
lean_object* v___x_5465_; uint64_t v___x_5466_; uint64_t v___x_5467_; uint64_t v_fold_5468_; uint64_t v___x_5469_; uint64_t v___x_5470_; uint64_t v___x_5471_; size_t v___x_5472_; size_t v___x_5473_; size_t v___x_5474_; size_t v___x_5475_; size_t v___x_5476_; lean_object* v_bkt_5477_; uint8_t v___x_5478_; 
v___x_5465_ = lean_array_get_size(v_buckets_5461_);
v___x_5466_ = 32ULL;
v___x_5467_ = lean_uint64_shift_right(v_a_5459_, v___x_5466_);
v_fold_5468_ = lean_uint64_xor(v_a_5459_, v___x_5467_);
v___x_5469_ = 16ULL;
v___x_5470_ = lean_uint64_shift_right(v_fold_5468_, v___x_5469_);
v___x_5471_ = lean_uint64_xor(v_fold_5468_, v___x_5470_);
v___x_5472_ = lean_uint64_to_usize(v___x_5471_);
v___x_5473_ = lean_usize_of_nat(v___x_5465_);
v___x_5474_ = ((size_t)1ULL);
v___x_5475_ = lean_usize_sub(v___x_5473_, v___x_5474_);
v___x_5476_ = lean_usize_land(v___x_5472_, v___x_5475_);
v_bkt_5477_ = lean_array_uget_borrowed(v_buckets_5461_, v___x_5476_);
v___x_5478_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(v_a_5459_, v_bkt_5477_);
if (v___x_5478_ == 0)
{
lean_object* v___x_5479_; lean_object* v___x_5480_; lean_object* v___x_5481_; lean_object* v_size_x27_5482_; lean_object* v___x_5483_; lean_object* v___x_5484_; lean_object* v_buckets_x27_5485_; lean_object* v___x_5486_; lean_object* v___x_5487_; lean_object* v___x_5488_; lean_object* v___x_5489_; lean_object* v___x_5490_; uint8_t v___x_5491_; 
v___x_5479_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg___lam__0___closed__0));
v___x_5480_ = lean_array_push(v___x_5479_, v_a_5457_);
v___x_5481_ = lean_unsigned_to_nat(1u);
v_size_x27_5482_ = lean_nat_add(v_size_5460_, v___x_5481_);
lean_dec(v_size_5460_);
v___x_5483_ = lean_box_uint64(v_a_5459_);
lean_inc(v_bkt_5477_);
v___x_5484_ = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(v___x_5484_, 0, v___x_5483_);
lean_ctor_set(v___x_5484_, 1, v___x_5480_);
lean_ctor_set(v___x_5484_, 2, v_bkt_5477_);
v_buckets_x27_5485_ = lean_array_uset(v_buckets_5461_, v___x_5476_, v___x_5484_);
v___x_5486_ = lean_unsigned_to_nat(4u);
v___x_5487_ = lean_nat_mul(v_size_x27_5482_, v___x_5486_);
v___x_5488_ = lean_unsigned_to_nat(3u);
v___x_5489_ = lean_nat_div(v___x_5487_, v___x_5488_);
lean_dec(v___x_5487_);
v___x_5490_ = lean_array_get_size(v_buckets_x27_5485_);
v___x_5491_ = lean_nat_dec_le(v___x_5489_, v___x_5490_);
lean_dec(v___x_5489_);
if (v___x_5491_ == 0)
{
lean_object* v_val_5492_; lean_object* v___x_5494_; 
v_val_5492_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3___redArg(v_buckets_x27_5485_);
if (v_isShared_5464_ == 0)
{
lean_ctor_set(v___x_5463_, 1, v_val_5492_);
lean_ctor_set(v___x_5463_, 0, v_size_x27_5482_);
v___x_5494_ = v___x_5463_;
goto v_reusejp_5493_;
}
else
{
lean_object* v_reuseFailAlloc_5495_; 
v_reuseFailAlloc_5495_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_5495_, 0, v_size_x27_5482_);
lean_ctor_set(v_reuseFailAlloc_5495_, 1, v_val_5492_);
v___x_5494_ = v_reuseFailAlloc_5495_;
goto v_reusejp_5493_;
}
v_reusejp_5493_:
{
return v___x_5494_;
}
}
else
{
lean_object* v___x_5497_; 
if (v_isShared_5464_ == 0)
{
lean_ctor_set(v___x_5463_, 1, v_buckets_x27_5485_);
lean_ctor_set(v___x_5463_, 0, v_size_x27_5482_);
v___x_5497_ = v___x_5463_;
goto v_reusejp_5496_;
}
else
{
lean_object* v_reuseFailAlloc_5498_; 
v_reuseFailAlloc_5498_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_5498_, 0, v_size_x27_5482_);
lean_ctor_set(v_reuseFailAlloc_5498_, 1, v_buckets_x27_5485_);
v___x_5497_ = v_reuseFailAlloc_5498_;
goto v_reusejp_5496_;
}
v_reusejp_5496_:
{
return v___x_5497_;
}
}
}
else
{
lean_object* v___x_5499_; lean_object* v_buckets_x27_5500_; lean_object* v_bkt_x27_5501_; lean_object* v___y_5503_; uint8_t v___x_5508_; 
lean_inc(v_bkt_5477_);
v___x_5499_ = lean_box(0);
v_buckets_x27_5500_ = lean_array_uset(v_buckets_5461_, v___x_5476_, v___x_5499_);
v_bkt_x27_5501_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(v_a_5457_, v_a_5459_, v_bkt_5477_);
v___x_5508_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(v_a_5459_, v_bkt_x27_5501_);
if (v___x_5508_ == 0)
{
lean_object* v___x_5509_; lean_object* v___x_5510_; 
v___x_5509_ = lean_unsigned_to_nat(1u);
v___x_5510_ = lean_nat_sub(v_size_5460_, v___x_5509_);
lean_dec(v_size_5460_);
v___y_5503_ = v___x_5510_;
goto v___jp_5502_;
}
else
{
v___y_5503_ = v_size_5460_;
goto v___jp_5502_;
}
v___jp_5502_:
{
lean_object* v___x_5504_; lean_object* v___x_5506_; 
v___x_5504_ = lean_array_uset(v_buckets_x27_5500_, v___x_5476_, v_bkt_x27_5501_);
if (v_isShared_5464_ == 0)
{
lean_ctor_set(v___x_5463_, 1, v___x_5504_);
lean_ctor_set(v___x_5463_, 0, v___y_5503_);
v___x_5506_ = v___x_5463_;
goto v_reusejp_5505_;
}
else
{
lean_object* v_reuseFailAlloc_5507_; 
v_reuseFailAlloc_5507_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_5507_, 0, v___y_5503_);
lean_ctor_set(v_reuseFailAlloc_5507_, 1, v___x_5504_);
v___x_5506_ = v_reuseFailAlloc_5507_;
goto v_reusejp_5505_;
}
v_reusejp_5505_:
{
return v___x_5506_;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg___boxed(lean_object* v_a_5512_, lean_object* v_m_5513_, lean_object* v_a_5514_){
_start:
{
uint64_t v_a_boxed_5515_; lean_object* v_res_5516_; 
v_a_boxed_5515_ = lean_unbox_uint64(v_a_5514_);
lean_dec_ref(v_a_5514_);
v_res_5516_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg(v_a_5512_, v_m_5513_, v_a_boxed_5515_);
return v_res_5516_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg(lean_object* v_key_5517_, lean_object* v_as_5518_, size_t v_sz_5519_, size_t v_i_5520_, lean_object* v_b_5521_){
_start:
{
uint8_t v___x_5522_; 
v___x_5522_ = lean_usize_dec_lt(v_i_5520_, v_sz_5519_);
if (v___x_5522_ == 0)
{
lean_dec_ref(v_key_5517_);
return v_b_5521_;
}
else
{
lean_object* v_a_5523_; lean_object* v___x_5524_; uint64_t v___x_5525_; lean_object* v___x_5526_; size_t v___x_5527_; size_t v___x_5528_; 
v_a_5523_ = lean_array_uget_borrowed(v_as_5518_, v_i_5520_);
lean_inc_ref(v_key_5517_);
lean_inc(v_a_5523_);
v___x_5524_ = lean_apply_1(v_key_5517_, v_a_5523_);
v___x_5525_ = lean_unbox_uint64(v___x_5524_);
lean_dec_ref(v___x_5524_);
lean_inc(v_a_5523_);
v___x_5526_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg(v_a_5523_, v_b_5521_, v___x_5525_);
v___x_5527_ = ((size_t)1ULL);
v___x_5528_ = lean_usize_add(v_i_5520_, v___x_5527_);
v_i_5520_ = v___x_5528_;
v_b_5521_ = v___x_5526_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg___boxed(lean_object* v_key_5530_, lean_object* v_as_5531_, lean_object* v_sz_5532_, lean_object* v_i_5533_, lean_object* v_b_5534_){
_start:
{
size_t v_sz_boxed_5535_; size_t v_i_boxed_5536_; lean_object* v_res_5537_; 
v_sz_boxed_5535_ = lean_unbox_usize(v_sz_5532_);
lean_dec(v_sz_5532_);
v_i_boxed_5536_ = lean_unbox_usize(v_i_5533_);
lean_dec(v_i_5533_);
v_res_5537_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg(v_key_5530_, v_as_5531_, v_sz_boxed_5535_, v_i_boxed_5536_, v_b_5534_);
lean_dec_ref(v_as_5531_);
return v_res_5537_;
}
}
static lean_object* _init_l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0(void){
_start:
{
lean_object* v___x_5538_; lean_object* v___x_5539_; lean_object* v___x_5540_; 
v___x_5538_ = lean_box(0);
v___x_5539_ = lean_unsigned_to_nat(16u);
v___x_5540_ = lean_mk_array(v___x_5539_, v___x_5538_);
return v___x_5540_;
}
}
static lean_object* _init_l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1(void){
_start:
{
lean_object* v___x_5541_; lean_object* v___x_5542_; lean_object* v_groups_5543_; 
v___x_5541_ = lean_obj_once(&l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0, &l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0_once, _init_l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__0);
v___x_5542_ = lean_unsigned_to_nat(0u);
v_groups_5543_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_groups_5543_, 0, v___x_5542_);
lean_ctor_set(v_groups_5543_, 1, v___x_5541_);
return v_groups_5543_;
}
}
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg(lean_object* v_key_5544_, lean_object* v_xs_5545_){
_start:
{
lean_object* v_groups_5546_; size_t v_sz_5547_; size_t v___x_5548_; lean_object* v___x_5549_; 
v_groups_5546_ = lean_obj_once(&l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1, &l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1_once, _init_l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___closed__1);
v_sz_5547_ = lean_array_size(v_xs_5545_);
v___x_5548_ = ((size_t)0ULL);
v___x_5549_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg(v_key_5544_, v_xs_5545_, v_sz_5547_, v___x_5548_, v_groups_5546_);
return v___x_5549_;
}
}
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg___boxed(lean_object* v_key_5550_, lean_object* v_xs_5551_){
_start:
{
lean_object* v_res_5552_; 
v_res_5552_ = l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg(v_key_5550_, v_xs_5551_);
lean_dec_ref(v_xs_5551_);
return v_res_5552_;
}
}
LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0(lean_object* v_x_5553_, lean_object* v_x_5554_){
_start:
{
lean_object* v_fst_5555_; lean_object* v_fst_5556_; uint64_t v___x_5557_; uint64_t v___x_5558_; uint8_t v___x_5559_; 
v_fst_5555_ = lean_ctor_get(v_x_5553_, 0);
v_fst_5556_ = lean_ctor_get(v_x_5554_, 0);
v___x_5557_ = lean_unbox_uint64(v_fst_5555_);
v___x_5558_ = lean_unbox_uint64(v_fst_5556_);
v___x_5559_ = lean_uint64_dec_lt(v___x_5557_, v___x_5558_);
return v___x_5559_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0___boxed(lean_object* v_x_5560_, lean_object* v_x_5561_){
_start:
{
uint8_t v_res_5562_; lean_object* v_r_5563_; 
v_res_5562_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___lam__0(v_x_5560_, v_x_5561_);
lean_dec_ref(v_x_5561_);
lean_dec_ref(v_x_5560_);
v_r_5563_ = lean_box(v_res_5562_);
return v_r_5563_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(lean_object* v_as_5565_, lean_object* v_lo_5566_, lean_object* v_hi_5567_){
_start:
{
uint8_t v___x_5568_; 
v___x_5568_ = lean_nat_dec_lt(v_lo_5566_, v_hi_5567_);
if (v___x_5568_ == 0)
{
lean_dec(v_lo_5566_);
return v_as_5565_;
}
else
{
lean_object* v___f_5569_; lean_object* v___x_5570_; lean_object* v_fst_5571_; lean_object* v_snd_5572_; uint8_t v___x_5573_; 
v___f_5569_ = ((lean_object*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___closed__0));
lean_inc(v_lo_5566_);
v___x_5570_ = l_Array_qpartition___redArg(v_as_5565_, v___f_5569_, v_lo_5566_, v_hi_5567_);
v_fst_5571_ = lean_ctor_get(v___x_5570_, 0);
lean_inc(v_fst_5571_);
v_snd_5572_ = lean_ctor_get(v___x_5570_, 1);
lean_inc(v_snd_5572_);
lean_dec_ref(v___x_5570_);
v___x_5573_ = lean_nat_dec_le(v_hi_5567_, v_fst_5571_);
if (v___x_5573_ == 0)
{
lean_object* v___x_5574_; lean_object* v___x_5575_; lean_object* v___x_5576_; 
v___x_5574_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(v_snd_5572_, v_lo_5566_, v_fst_5571_);
v___x_5575_ = lean_unsigned_to_nat(1u);
v___x_5576_ = lean_nat_add(v_fst_5571_, v___x_5575_);
lean_dec(v_fst_5571_);
v_as_5565_ = v___x_5574_;
v_lo_5566_ = v___x_5576_;
goto _start;
}
else
{
lean_dec(v_fst_5571_);
lean_dec(v_lo_5566_);
return v_snd_5572_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg___boxed(lean_object* v_as_5578_, lean_object* v_lo_5579_, lean_object* v_hi_5580_){
_start:
{
lean_object* v_res_5581_; 
v_res_5581_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(v_as_5578_, v_lo_5579_, v_hi_5580_);
lean_dec(v_hi_5580_);
return v_res_5581_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10(lean_object* v_x_5582_, lean_object* v_x_5583_){
_start:
{
if (lean_obj_tag(v_x_5583_) == 0)
{
return v_x_5582_;
}
else
{
lean_object* v_key_5584_; lean_object* v_value_5585_; lean_object* v_tail_5586_; lean_object* v___x_5587_; lean_object* v___x_5588_; 
v_key_5584_ = lean_ctor_get(v_x_5583_, 0);
v_value_5585_ = lean_ctor_get(v_x_5583_, 1);
v_tail_5586_ = lean_ctor_get(v_x_5583_, 2);
lean_inc(v_value_5585_);
lean_inc(v_key_5584_);
v___x_5587_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5587_, 0, v_key_5584_);
lean_ctor_set(v___x_5587_, 1, v_value_5585_);
v___x_5588_ = lean_array_push(v_x_5582_, v___x_5587_);
v_x_5582_ = v___x_5588_;
v_x_5583_ = v_tail_5586_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10___boxed(lean_object* v_x_5590_, lean_object* v_x_5591_){
_start:
{
lean_object* v_res_5592_; 
v_res_5592_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10(v_x_5590_, v_x_5591_);
lean_dec(v_x_5591_);
return v_res_5592_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11(lean_object* v_as_5593_, size_t v_i_5594_, size_t v_stop_5595_, lean_object* v_b_5596_){
_start:
{
uint8_t v___x_5597_; 
v___x_5597_ = lean_usize_dec_eq(v_i_5594_, v_stop_5595_);
if (v___x_5597_ == 0)
{
lean_object* v___x_5598_; lean_object* v___x_5599_; size_t v___x_5600_; size_t v___x_5601_; 
v___x_5598_ = lean_array_uget_borrowed(v_as_5593_, v_i_5594_);
v___x_5599_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_Firefox_Profile_export_spec__10(v_b_5596_, v___x_5598_);
v___x_5600_ = ((size_t)1ULL);
v___x_5601_ = lean_usize_add(v_i_5594_, v___x_5600_);
v_i_5594_ = v___x_5601_;
v_b_5596_ = v___x_5599_;
goto _start;
}
else
{
return v_b_5596_;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11___boxed(lean_object* v_as_5603_, lean_object* v_i_5604_, lean_object* v_stop_5605_, lean_object* v_b_5606_){
_start:
{
size_t v_i_boxed_5607_; size_t v_stop_boxed_5608_; lean_object* v_res_5609_; 
v_i_boxed_5607_ = lean_unbox_usize(v_i_5604_);
lean_dec(v_i_5604_);
v_stop_boxed_5608_ = lean_unbox_usize(v_stop_5605_);
lean_dec(v_stop_5605_);
v_res_5609_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11(v_as_5603_, v_i_boxed_5607_, v_stop_boxed_5608_, v_b_5606_);
lean_dec_ref(v_as_5603_);
return v_res_5609_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8(size_t v_sz_5610_, size_t v_i_5611_, lean_object* v_bs_5612_){
_start:
{
uint8_t v___x_5613_; 
v___x_5613_ = lean_usize_dec_lt(v_i_5611_, v_sz_5610_);
if (v___x_5613_ == 0)
{
return v_bs_5612_;
}
else
{
lean_object* v_v_5614_; lean_object* v_toThread_5615_; lean_object* v___x_5616_; lean_object* v_bs_x27_5617_; size_t v___x_5618_; size_t v___x_5619_; lean_object* v___x_5620_; 
v_v_5614_ = lean_array_uget_borrowed(v_bs_5612_, v_i_5611_);
v_toThread_5615_ = lean_ctor_get(v_v_5614_, 0);
lean_inc_ref(v_toThread_5615_);
v___x_5616_ = lean_unsigned_to_nat(0u);
v_bs_x27_5617_ = lean_array_uset(v_bs_5612_, v_i_5611_, v___x_5616_);
v___x_5618_ = ((size_t)1ULL);
v___x_5619_ = lean_usize_add(v_i_5611_, v___x_5618_);
v___x_5620_ = lean_array_uset(v_bs_x27_5617_, v_i_5611_, v_toThread_5615_);
v_i_5611_ = v___x_5619_;
v_bs_5612_ = v___x_5620_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8___boxed(lean_object* v_sz_5622_, lean_object* v_i_5623_, lean_object* v_bs_5624_){
_start:
{
size_t v_sz_boxed_5625_; size_t v_i_boxed_5626_; lean_object* v_res_5627_; 
v_sz_boxed_5625_ = lean_unbox_usize(v_sz_5622_);
lean_dec(v_sz_5622_);
v_i_boxed_5626_ = lean_unbox_usize(v_i_5623_);
lean_dec(v_i_5623_);
v_res_5627_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8(v_sz_boxed_5625_, v_i_boxed_5626_, v_bs_5624_);
return v_res_5627_;
}
}
static double _init_l_Lean_Firefox_Profile_export___closed__1(void){
_start:
{
lean_object* v___x_5629_; double v___x_5630_; 
v___x_5629_ = lean_unsigned_to_nat(1000000000u);
v___x_5630_ = lean_float_of_nat(v___x_5629_);
return v___x_5630_;
}
}
static lean_object* _init_l_Lean_Firefox_Profile_export___closed__5(void){
_start:
{
lean_object* v___x_5634_; lean_object* v___x_5635_; lean_object* v___x_5636_; 
v___x_5634_ = ((lean_object*)(l_Lean_Firefox_Profile_export___closed__4));
v___x_5635_ = ((lean_object*)(l_Lean_Firefox_Profile_export___closed__3));
v___x_5636_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_5636_, 0, v___x_5635_);
lean_ctor_set(v___x_5636_, 1, v___x_5635_);
lean_ctor_set(v___x_5636_, 2, v___x_5634_);
return v___x_5636_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export(lean_object* v_name_5637_, double v_startTime_5638_, lean_object* v_traceStates_5639_, lean_object* v_opts_5640_){
_start:
{
lean_object* v___x_5642_; lean_object* v___f_5643_; lean_object* v_tids_5644_; lean_object* v_size_5645_; lean_object* v_buckets_5646_; double v___x_5647_; double v___x_5648_; double v___x_5649_; lean_object* v___y_5651_; lean_object* v___y_5652_; lean_object* v___y_5653_; lean_object* v___y_5687_; lean_object* v___y_5688_; lean_object* v___y_5689_; lean_object* v___y_5690_; lean_object* v___y_5691_; lean_object* v___y_5692_; lean_object* v___y_5695_; lean_object* v___y_5696_; lean_object* v___y_5697_; lean_object* v___y_5698_; lean_object* v___y_5699_; lean_object* v___y_5700_; lean_object* v___y_5703_; lean_object* v___x_5710_; lean_object* v___x_5711_; lean_object* v___x_5712_; uint8_t v___x_5713_; 
v___x_5642_ = lean_io_mono_nanos_now();
v___f_5643_ = ((lean_object*)(l_Lean_Firefox_Profile_export___closed__0));
v_tids_5644_ = l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg(v___f_5643_, v_traceStates_5639_);
v_size_5645_ = lean_ctor_get(v_tids_5644_, 0);
lean_inc(v_size_5645_);
v_buckets_5646_ = lean_ctor_get(v_tids_5644_, 1);
lean_inc_ref(v_buckets_5646_);
lean_dec_ref(v_tids_5644_);
v___x_5647_ = lean_float_of_nat(v___x_5642_);
v___x_5648_ = lean_float_once(&l_Lean_Firefox_Profile_export___closed__1, &l_Lean_Firefox_Profile_export___closed__1_once, _init_l_Lean_Firefox_Profile_export___closed__1);
v___x_5649_ = lean_float_div(v___x_5647_, v___x_5648_);
v___x_5710_ = lean_mk_empty_array_with_capacity(v_size_5645_);
lean_dec(v_size_5645_);
v___x_5711_ = lean_unsigned_to_nat(0u);
v___x_5712_ = lean_array_get_size(v_buckets_5646_);
v___x_5713_ = lean_nat_dec_lt(v___x_5711_, v___x_5712_);
if (v___x_5713_ == 0)
{
lean_dec_ref(v_buckets_5646_);
v___y_5703_ = v___x_5710_;
goto v___jp_5702_;
}
else
{
uint8_t v___x_5714_; 
v___x_5714_ = lean_nat_dec_le(v___x_5712_, v___x_5712_);
if (v___x_5714_ == 0)
{
if (v___x_5713_ == 0)
{
lean_dec_ref(v_buckets_5646_);
v___y_5703_ = v___x_5710_;
goto v___jp_5702_;
}
else
{
size_t v___x_5715_; size_t v___x_5716_; lean_object* v___x_5717_; 
v___x_5715_ = ((size_t)0ULL);
v___x_5716_ = lean_usize_of_nat(v___x_5712_);
v___x_5717_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11(v_buckets_5646_, v___x_5715_, v___x_5716_, v___x_5710_);
lean_dec_ref(v_buckets_5646_);
v___y_5703_ = v___x_5717_;
goto v___jp_5702_;
}
}
else
{
size_t v___x_5718_; size_t v___x_5719_; lean_object* v___x_5720_; 
v___x_5718_ = ((size_t)0ULL);
v___x_5719_ = lean_usize_of_nat(v___x_5712_);
v___x_5720_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_export_spec__11(v_buckets_5646_, v___x_5718_, v___x_5719_, v___x_5710_);
lean_dec_ref(v_buckets_5646_);
v___y_5703_ = v___x_5720_;
goto v___jp_5702_;
}
}
v___jp_5650_:
{
size_t v_sz_5654_; size_t v___x_5655_; lean_object* v___x_5656_; 
v_sz_5654_ = lean_array_size(v___y_5653_);
v___x_5655_ = ((size_t)0ULL);
v___x_5656_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7(v_opts_5640_, v_startTime_5638_, v___x_5649_, v_name_5637_, v_sz_5654_, v___x_5655_, v___y_5653_);
if (lean_obj_tag(v___x_5656_) == 0)
{
lean_object* v_a_5657_; lean_object* v___x_5659_; uint8_t v_isShared_5660_; uint8_t v_isSharedCheck_5677_; 
v_a_5657_ = lean_ctor_get(v___x_5656_, 0);
v_isSharedCheck_5677_ = !lean_is_exclusive(v___x_5656_);
if (v_isSharedCheck_5677_ == 0)
{
v___x_5659_ = v___x_5656_;
v_isShared_5660_ = v_isSharedCheck_5677_;
goto v_resetjp_5658_;
}
else
{
lean_inc(v_a_5657_);
lean_dec(v___x_5656_);
v___x_5659_ = lean_box(0);
v_isShared_5660_ = v_isSharedCheck_5677_;
goto v_resetjp_5658_;
}
v_resetjp_5658_:
{
uint8_t v___x_5661_; double v___x_5662_; double v___x_5663_; double v___x_5664_; lean_object* v___x_5665_; lean_object* v___x_5666_; lean_object* v___x_5667_; lean_object* v___x_5668_; lean_object* v___x_5669_; lean_object* v___x_5670_; size_t v_sz_5671_; lean_object* v___x_5672_; lean_object* v___x_5673_; lean_object* v___x_5675_; 
v___x_5661_ = 1;
v___x_5662_ = l_Float_ofScientific(v___y_5651_, v___x_5661_, v___y_5652_);
v___x_5663_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_5664_ = lean_float_mul(v_startTime_5638_, v___x_5663_);
v___x_5665_ = ((lean_object*)(l_Lean_Firefox_categories));
v___x_5666_ = ((lean_object*)(l_Lean_Firefox_Profile_export___closed__2));
v___x_5667_ = lean_unsigned_to_nat(48u);
v___x_5668_ = lean_mk_empty_array_with_capacity(v___y_5651_);
v___x_5669_ = lean_obj_once(&l_Lean_Firefox_Profile_export___closed__5, &l_Lean_Firefox_Profile_export___closed__5_once, _init_l_Lean_Firefox_Profile_export___closed__5);
lean_inc_ref(v___x_5668_);
v___x_5670_ = lean_alloc_ctor(0, 6, 16);
lean_ctor_set(v___x_5670_, 0, v___x_5665_);
lean_ctor_set(v___x_5670_, 1, v___y_5651_);
lean_ctor_set(v___x_5670_, 2, v___x_5666_);
lean_ctor_set(v___x_5670_, 3, v___x_5667_);
lean_ctor_set(v___x_5670_, 4, v___x_5668_);
lean_ctor_set(v___x_5670_, 5, v___x_5669_);
lean_ctor_set_float(v___x_5670_, sizeof(void*)*6, v___x_5662_);
lean_ctor_set_float(v___x_5670_, sizeof(void*)*6 + 8, v___x_5664_);
v_sz_5671_ = lean_array_size(v_a_5657_);
v___x_5672_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__8(v_sz_5671_, v___x_5655_, v_a_5657_);
v___x_5673_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v___x_5673_, 0, v___x_5670_);
lean_ctor_set(v___x_5673_, 1, v___x_5668_);
lean_ctor_set(v___x_5673_, 2, v___x_5672_);
if (v_isShared_5660_ == 0)
{
lean_ctor_set(v___x_5659_, 0, v___x_5673_);
v___x_5675_ = v___x_5659_;
goto v_reusejp_5674_;
}
else
{
lean_object* v_reuseFailAlloc_5676_; 
v_reuseFailAlloc_5676_ = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(v_reuseFailAlloc_5676_, 0, v___x_5673_);
v___x_5675_ = v_reuseFailAlloc_5676_;
goto v_reusejp_5674_;
}
v_reusejp_5674_:
{
return v___x_5675_;
}
}
}
else
{
lean_object* v_a_5678_; lean_object* v___x_5680_; uint8_t v_isShared_5681_; uint8_t v_isSharedCheck_5685_; 
lean_dec(v___y_5652_);
lean_dec(v___y_5651_);
v_a_5678_ = lean_ctor_get(v___x_5656_, 0);
v_isSharedCheck_5685_ = !lean_is_exclusive(v___x_5656_);
if (v_isSharedCheck_5685_ == 0)
{
v___x_5680_ = v___x_5656_;
v_isShared_5681_ = v_isSharedCheck_5685_;
goto v_resetjp_5679_;
}
else
{
lean_inc(v_a_5678_);
lean_dec(v___x_5656_);
v___x_5680_ = lean_box(0);
v_isShared_5681_ = v_isSharedCheck_5685_;
goto v_resetjp_5679_;
}
v_resetjp_5679_:
{
lean_object* v___x_5683_; 
if (v_isShared_5681_ == 0)
{
v___x_5683_ = v___x_5680_;
goto v_reusejp_5682_;
}
else
{
lean_object* v_reuseFailAlloc_5684_; 
v_reuseFailAlloc_5684_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_5684_, 0, v_a_5678_);
v___x_5683_ = v_reuseFailAlloc_5684_;
goto v_reusejp_5682_;
}
v_reusejp_5682_:
{
return v___x_5683_;
}
}
}
}
v___jp_5686_:
{
lean_object* v___x_5693_; 
lean_dec(v___y_5690_);
v___x_5693_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(v___y_5688_, v___y_5689_, v___y_5692_);
lean_dec(v___y_5692_);
v___y_5651_ = v___y_5687_;
v___y_5652_ = v___y_5691_;
v___y_5653_ = v___x_5693_;
goto v___jp_5650_;
}
v___jp_5694_:
{
uint8_t v___x_5701_; 
v___x_5701_ = lean_nat_dec_le(v___y_5700_, v___y_5695_);
if (v___x_5701_ == 0)
{
lean_dec(v___y_5695_);
lean_inc(v___y_5700_);
v___y_5687_ = v___y_5696_;
v___y_5688_ = v___y_5697_;
v___y_5689_ = v___y_5700_;
v___y_5690_ = v___y_5698_;
v___y_5691_ = v___y_5699_;
v___y_5692_ = v___y_5700_;
goto v___jp_5686_;
}
else
{
v___y_5687_ = v___y_5696_;
v___y_5688_ = v___y_5697_;
v___y_5689_ = v___y_5700_;
v___y_5690_ = v___y_5698_;
v___y_5691_ = v___y_5699_;
v___y_5692_ = v___y_5695_;
goto v___jp_5686_;
}
}
v___jp_5702_:
{
lean_object* v___x_5704_; lean_object* v___x_5705_; lean_object* v___x_5706_; uint8_t v___x_5707_; 
v___x_5704_ = lean_unsigned_to_nat(0u);
v___x_5705_ = lean_unsigned_to_nat(1u);
v___x_5706_ = lean_array_get_size(v___y_5703_);
v___x_5707_ = lean_nat_dec_eq(v___x_5706_, v___x_5704_);
if (v___x_5707_ == 0)
{
lean_object* v___x_5708_; uint8_t v___x_5709_; 
v___x_5708_ = lean_nat_sub(v___x_5706_, v___x_5705_);
v___x_5709_ = lean_nat_dec_le(v___x_5704_, v___x_5708_);
if (v___x_5709_ == 0)
{
lean_inc(v___x_5708_);
v___y_5695_ = v___x_5708_;
v___y_5696_ = v___x_5704_;
v___y_5697_ = v___y_5703_;
v___y_5698_ = v___x_5706_;
v___y_5699_ = v___x_5705_;
v___y_5700_ = v___x_5708_;
goto v___jp_5694_;
}
else
{
v___y_5695_ = v___x_5708_;
v___y_5696_ = v___x_5704_;
v___y_5697_ = v___y_5703_;
v___y_5698_ = v___x_5706_;
v___y_5699_ = v___x_5705_;
v___y_5700_ = v___x_5704_;
goto v___jp_5694_;
}
}
else
{
v___y_5651_ = v___x_5704_;
v___y_5652_ = v___x_5705_;
v___y_5653_ = v___y_5703_;
goto v___jp_5650_;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_export___boxed(lean_object* v_name_5721_, lean_object* v_startTime_5722_, lean_object* v_traceStates_5723_, lean_object* v_opts_5724_, lean_object* v_a_5725_){
_start:
{
double v_startTime_boxed_5726_; lean_object* v_res_5727_; 
v_startTime_boxed_5726_ = lean_unbox_float(v_startTime_5722_);
lean_dec_ref(v_startTime_5722_);
v_res_5727_ = l_Lean_Firefox_Profile_export(v_name_5721_, v_startTime_boxed_5726_, v_traceStates_5723_, v_opts_5724_);
lean_dec_ref(v_opts_5724_);
lean_dec_ref(v_traceStates_5723_);
return v_res_5727_;
}
}
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0(lean_object* v_00_u03b2_5728_, lean_object* v_key_5729_, lean_object* v_xs_5730_){
_start:
{
lean_object* v___x_5731_; 
v___x_5731_ = l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___redArg(v_key_5729_, v_xs_5730_);
return v___x_5731_;
}
}
LEAN_EXPORT lean_object* l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0___boxed(lean_object* v_00_u03b2_5732_, lean_object* v_key_5733_, lean_object* v_xs_5734_){
_start:
{
lean_object* v_res_5735_; 
v_res_5735_ = l_Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0(v_00_u03b2_5732_, v_key_5733_, v_xs_5734_);
lean_dec_ref(v_xs_5734_);
return v_res_5735_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6(lean_object* v_n_5736_, lean_object* v_as_5737_, lean_object* v_lo_5738_, lean_object* v_hi_5739_, lean_object* v_w_5740_, lean_object* v_hlo_5741_, lean_object* v_hhi_5742_){
_start:
{
lean_object* v___x_5743_; 
v___x_5743_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg(v_as_5737_, v_lo_5738_, v_hi_5739_);
return v___x_5743_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___boxed(lean_object* v_n_5744_, lean_object* v_as_5745_, lean_object* v_lo_5746_, lean_object* v_hi_5747_, lean_object* v_w_5748_, lean_object* v_hlo_5749_, lean_object* v_hhi_5750_){
_start:
{
lean_object* v_res_5751_; 
v_res_5751_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6(v_n_5744_, v_as_5745_, v_lo_5746_, v_hi_5747_, v_w_5748_, v_hlo_5749_, v_hhi_5750_);
lean_dec(v_hi_5747_);
lean_dec(v_n_5744_);
return v_res_5751_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9(lean_object* v_n_5752_, lean_object* v_as_5753_, lean_object* v_lo_5754_, lean_object* v_hi_5755_, lean_object* v_w_5756_, lean_object* v_hlo_5757_, lean_object* v_hhi_5758_){
_start:
{
lean_object* v___x_5759_; 
v___x_5759_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___redArg(v_as_5753_, v_lo_5754_, v_hi_5755_);
return v___x_5759_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9___boxed(lean_object* v_n_5760_, lean_object* v_as_5761_, lean_object* v_lo_5762_, lean_object* v_hi_5763_, lean_object* v_w_5764_, lean_object* v_hlo_5765_, lean_object* v_hhi_5766_){
_start:
{
lean_object* v_res_5767_; 
v_res_5767_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__9(v_n_5760_, v_as_5761_, v_lo_5762_, v_hi_5763_, v_w_5764_, v_hlo_5765_, v_hhi_5766_);
lean_dec(v_hi_5763_);
lean_dec(v_n_5760_);
return v_res_5767_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0(lean_object* v_00_u03b2_5768_, lean_object* v_a_5769_, lean_object* v_m_5770_, uint64_t v_a_5771_){
_start:
{
lean_object* v___x_5772_; 
v___x_5772_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___redArg(v_a_5769_, v_m_5770_, v_a_5771_);
return v___x_5772_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0___boxed(lean_object* v_00_u03b2_5773_, lean_object* v_a_5774_, lean_object* v_m_5775_, lean_object* v_a_5776_){
_start:
{
uint64_t v_a_boxed_5777_; lean_object* v_res_5778_; 
v_a_boxed_5777_ = lean_unbox_uint64(v_a_5776_);
lean_dec_ref(v_a_5776_);
v_res_5778_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0(v_00_u03b2_5773_, v_a_5774_, v_m_5775_, v_a_boxed_5777_);
return v_res_5778_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1(lean_object* v_00_u03b2_5779_, lean_object* v_key_5780_, lean_object* v_as_5781_, size_t v_sz_5782_, size_t v_i_5783_, lean_object* v_b_5784_){
_start:
{
lean_object* v___x_5785_; 
v___x_5785_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___redArg(v_key_5780_, v_as_5781_, v_sz_5782_, v_i_5783_, v_b_5784_);
return v___x_5785_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1___boxed(lean_object* v_00_u03b2_5786_, lean_object* v_key_5787_, lean_object* v_as_5788_, lean_object* v_sz_5789_, lean_object* v_i_5790_, lean_object* v_b_5791_){
_start:
{
size_t v_sz_boxed_5792_; size_t v_i_boxed_5793_; lean_object* v_res_5794_; 
v_sz_boxed_5792_ = lean_unbox_usize(v_sz_5789_);
lean_dec(v_sz_5789_);
v_i_boxed_5793_ = lean_unbox_usize(v_i_5790_);
lean_dec(v_i_5790_);
v_res_5794_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__1(v_00_u03b2_5786_, v_key_5787_, v_as_5788_, v_sz_boxed_5792_, v_i_boxed_5793_, v_b_5791_);
lean_dec_ref(v_as_5788_);
return v_res_5794_;
}
}
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2(lean_object* v_00_u03b2_5795_, uint64_t v_a_5796_, lean_object* v_x_5797_){
_start:
{
uint8_t v___x_5798_; 
v___x_5798_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___redArg(v_a_5796_, v_x_5797_);
return v___x_5798_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2___boxed(lean_object* v_00_u03b2_5799_, lean_object* v_a_5800_, lean_object* v_x_5801_){
_start:
{
uint64_t v_a_boxed_5802_; uint8_t v_res_5803_; lean_object* v_r_5804_; 
v_a_boxed_5802_ = lean_unbox_uint64(v_a_5800_);
lean_dec_ref(v_a_5800_);
v_res_5803_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__2(v_00_u03b2_5799_, v_a_boxed_5802_, v_x_5801_);
lean_dec(v_x_5801_);
v_r_5804_ = lean_box(v_res_5803_);
return v_r_5804_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3(lean_object* v_00_u03b2_5805_, lean_object* v_data_5806_){
_start:
{
lean_object* v___x_5807_; 
v___x_5807_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3___redArg(v_data_5806_);
return v___x_5807_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4(lean_object* v_00_u03b2_5808_, lean_object* v_a_5809_, uint64_t v_a_5810_, lean_object* v_x_5811_){
_start:
{
lean_object* v___x_5812_; 
v___x_5812_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___redArg(v_a_5809_, v_a_5810_, v_x_5811_);
return v___x_5812_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4___boxed(lean_object* v_00_u03b2_5813_, lean_object* v_a_5814_, lean_object* v_a_5815_, lean_object* v_x_5816_){
_start:
{
uint64_t v_a_boxed_5817_; lean_object* v_res_5818_; 
v_a_boxed_5817_ = lean_unbox_uint64(v_a_5815_);
lean_dec_ref(v_a_5815_);
v_res_5818_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__4(v_00_u03b2_5813_, v_a_5814_, v_a_boxed_5817_, v_x_5816_);
return v_res_5818_;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14(lean_object* v_00_u03b2_5819_, lean_object* v_i_5820_, lean_object* v_source_5821_, lean_object* v_target_5822_){
_start:
{
lean_object* v___x_5823_; 
v___x_5823_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14___redArg(v_i_5820_, v_source_5821_, v_target_5822_);
return v___x_5823_;
}
}
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16(lean_object* v_00_u03b2_5824_, lean_object* v_x_5825_, lean_object* v_x_5826_){
_start:
{
lean_object* v___x_5827_; 
v___x_5827_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00Array_groupByKey___at___00Lean_Firefox_Profile_export_spec__0_spec__0_spec__3_spec__14_spec__16___redArg(v_x_5825_, v_x_5826_);
return v___x_5827_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_getStrIdx(lean_object* v_s_5828_, lean_object* v_a_5829_){
_start:
{
lean_object* v_toThreadWithMaps_5830_; lean_object* v_sampleMap_5831_; lean_object* v_toThread_5832_; lean_object* v_stringMap_5833_; lean_object* v_funcMap_5834_; lean_object* v_stackMap_5835_; double v_lastTime_5836_; lean_object* v___x_5838_; uint8_t v_isShared_5839_; uint8_t v_isSharedCheck_5877_; 
v_toThreadWithMaps_5830_ = lean_ctor_get(v_a_5829_, 0);
lean_inc_ref(v_toThreadWithMaps_5830_);
v_sampleMap_5831_ = lean_ctor_get(v_a_5829_, 1);
v_toThread_5832_ = lean_ctor_get(v_toThreadWithMaps_5830_, 0);
v_stringMap_5833_ = lean_ctor_get(v_toThreadWithMaps_5830_, 1);
v_funcMap_5834_ = lean_ctor_get(v_toThreadWithMaps_5830_, 2);
v_stackMap_5835_ = lean_ctor_get(v_toThreadWithMaps_5830_, 3);
v_lastTime_5836_ = lean_ctor_get_float(v_toThreadWithMaps_5830_, sizeof(void*)*4);
v_isSharedCheck_5877_ = !lean_is_exclusive(v_toThreadWithMaps_5830_);
if (v_isSharedCheck_5877_ == 0)
{
v___x_5838_ = v_toThreadWithMaps_5830_;
v_isShared_5839_ = v_isSharedCheck_5877_;
goto v_resetjp_5837_;
}
else
{
lean_inc(v_stackMap_5835_);
lean_inc(v_funcMap_5834_);
lean_inc(v_stringMap_5833_);
lean_inc(v_toThread_5832_);
lean_dec(v_toThreadWithMaps_5830_);
v___x_5838_ = lean_box(0);
v_isShared_5839_ = v_isSharedCheck_5877_;
goto v_resetjp_5837_;
}
v_resetjp_5837_:
{
lean_object* v___x_5840_; 
v___x_5840_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__5___redArg(v_stringMap_5833_, v_s_5828_);
if (lean_obj_tag(v___x_5840_) == 1)
{
lean_object* v_val_5841_; lean_object* v___x_5842_; 
lean_del_object(v___x_5838_);
lean_dec_ref(v_stackMap_5835_);
lean_dec_ref(v_funcMap_5834_);
lean_dec_ref(v_stringMap_5833_);
lean_dec_ref(v_toThread_5832_);
lean_dec_ref(v_s_5828_);
v_val_5841_ = lean_ctor_get(v___x_5840_, 0);
lean_inc(v_val_5841_);
lean_dec_ref(v___x_5840_);
v___x_5842_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5842_, 0, v_val_5841_);
lean_ctor_set(v___x_5842_, 1, v_a_5829_);
return v___x_5842_;
}
else
{
lean_object* v___x_5844_; uint8_t v_isShared_5845_; uint8_t v_isSharedCheck_5874_; 
lean_inc_ref(v_sampleMap_5831_);
lean_dec(v___x_5840_);
v_isSharedCheck_5874_ = !lean_is_exclusive(v_a_5829_);
if (v_isSharedCheck_5874_ == 0)
{
lean_object* v_unused_5875_; lean_object* v_unused_5876_; 
v_unused_5875_ = lean_ctor_get(v_a_5829_, 1);
lean_dec(v_unused_5875_);
v_unused_5876_ = lean_ctor_get(v_a_5829_, 0);
lean_dec(v_unused_5876_);
v___x_5844_ = v_a_5829_;
v_isShared_5845_ = v_isSharedCheck_5874_;
goto v_resetjp_5843_;
}
else
{
lean_dec(v_a_5829_);
v___x_5844_ = lean_box(0);
v_isShared_5845_ = v_isSharedCheck_5874_;
goto v_resetjp_5843_;
}
v_resetjp_5843_:
{
lean_object* v_size_5846_; lean_object* v_name_5847_; lean_object* v_processType_5848_; uint8_t v_isMainThread_5849_; lean_object* v_samples_5850_; lean_object* v_markers_5851_; lean_object* v_stackTable_5852_; lean_object* v_frameTable_5853_; lean_object* v_resourceTable_5854_; lean_object* v_nativeSymbols_5855_; lean_object* v_stringArray_5856_; lean_object* v_funcTable_5857_; lean_object* v___x_5859_; uint8_t v_isShared_5860_; uint8_t v_isSharedCheck_5873_; 
v_size_5846_ = lean_ctor_get(v_stringMap_5833_, 0);
lean_inc(v_size_5846_);
v_name_5847_ = lean_ctor_get(v_toThread_5832_, 0);
v_processType_5848_ = lean_ctor_get(v_toThread_5832_, 1);
v_isMainThread_5849_ = lean_ctor_get_uint8(v_toThread_5832_, sizeof(void*)*10);
v_samples_5850_ = lean_ctor_get(v_toThread_5832_, 2);
v_markers_5851_ = lean_ctor_get(v_toThread_5832_, 3);
v_stackTable_5852_ = lean_ctor_get(v_toThread_5832_, 4);
v_frameTable_5853_ = lean_ctor_get(v_toThread_5832_, 5);
v_resourceTable_5854_ = lean_ctor_get(v_toThread_5832_, 6);
v_nativeSymbols_5855_ = lean_ctor_get(v_toThread_5832_, 7);
v_stringArray_5856_ = lean_ctor_get(v_toThread_5832_, 8);
v_funcTable_5857_ = lean_ctor_get(v_toThread_5832_, 9);
v_isSharedCheck_5873_ = !lean_is_exclusive(v_toThread_5832_);
if (v_isSharedCheck_5873_ == 0)
{
v___x_5859_ = v_toThread_5832_;
v_isShared_5860_ = v_isSharedCheck_5873_;
goto v_resetjp_5858_;
}
else
{
lean_inc(v_funcTable_5857_);
lean_inc(v_stringArray_5856_);
lean_inc(v_nativeSymbols_5855_);
lean_inc(v_resourceTable_5854_);
lean_inc(v_frameTable_5853_);
lean_inc(v_stackTable_5852_);
lean_inc(v_markers_5851_);
lean_inc(v_samples_5850_);
lean_inc(v_processType_5848_);
lean_inc(v_name_5847_);
lean_dec(v_toThread_5832_);
v___x_5859_ = lean_box(0);
v_isShared_5860_ = v_isSharedCheck_5873_;
goto v_resetjp_5858_;
}
v_resetjp_5858_:
{
lean_object* v___x_5861_; lean_object* v___x_5863_; 
lean_inc_ref(v_s_5828_);
v___x_5861_ = lean_array_push(v_stringArray_5856_, v_s_5828_);
if (v_isShared_5860_ == 0)
{
lean_ctor_set(v___x_5859_, 8, v___x_5861_);
v___x_5863_ = v___x_5859_;
goto v_reusejp_5862_;
}
else
{
lean_object* v_reuseFailAlloc_5872_; 
v_reuseFailAlloc_5872_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_5872_, 0, v_name_5847_);
lean_ctor_set(v_reuseFailAlloc_5872_, 1, v_processType_5848_);
lean_ctor_set(v_reuseFailAlloc_5872_, 2, v_samples_5850_);
lean_ctor_set(v_reuseFailAlloc_5872_, 3, v_markers_5851_);
lean_ctor_set(v_reuseFailAlloc_5872_, 4, v_stackTable_5852_);
lean_ctor_set(v_reuseFailAlloc_5872_, 5, v_frameTable_5853_);
lean_ctor_set(v_reuseFailAlloc_5872_, 6, v_resourceTable_5854_);
lean_ctor_set(v_reuseFailAlloc_5872_, 7, v_nativeSymbols_5855_);
lean_ctor_set(v_reuseFailAlloc_5872_, 8, v___x_5861_);
lean_ctor_set(v_reuseFailAlloc_5872_, 9, v_funcTable_5857_);
lean_ctor_set_uint8(v_reuseFailAlloc_5872_, sizeof(void*)*10, v_isMainThread_5849_);
v___x_5863_ = v_reuseFailAlloc_5872_;
goto v_reusejp_5862_;
}
v_reusejp_5862_:
{
lean_object* v___x_5864_; lean_object* v___x_5866_; 
lean_inc(v_size_5846_);
v___x_5864_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__6___redArg(v_stringMap_5833_, v_s_5828_, v_size_5846_);
if (v_isShared_5839_ == 0)
{
lean_ctor_set(v___x_5838_, 1, v___x_5864_);
lean_ctor_set(v___x_5838_, 0, v___x_5863_);
v___x_5866_ = v___x_5838_;
goto v_reusejp_5865_;
}
else
{
lean_object* v_reuseFailAlloc_5871_; 
v_reuseFailAlloc_5871_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_5871_, 0, v___x_5863_);
lean_ctor_set(v_reuseFailAlloc_5871_, 1, v___x_5864_);
lean_ctor_set(v_reuseFailAlloc_5871_, 2, v_funcMap_5834_);
lean_ctor_set(v_reuseFailAlloc_5871_, 3, v_stackMap_5835_);
lean_ctor_set_float(v_reuseFailAlloc_5871_, sizeof(void*)*4, v_lastTime_5836_);
v___x_5866_ = v_reuseFailAlloc_5871_;
goto v_reusejp_5865_;
}
v_reusejp_5865_:
{
lean_object* v___x_5868_; 
if (v_isShared_5845_ == 0)
{
lean_ctor_set(v___x_5844_, 0, v___x_5866_);
v___x_5868_ = v___x_5844_;
goto v_reusejp_5867_;
}
else
{
lean_object* v_reuseFailAlloc_5870_; 
v_reuseFailAlloc_5870_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_5870_, 0, v___x_5866_);
lean_ctor_set(v_reuseFailAlloc_5870_, 1, v_sampleMap_5831_);
v___x_5868_ = v_reuseFailAlloc_5870_;
goto v_reusejp_5867_;
}
v_reusejp_5867_:
{
lean_object* v___x_5869_; 
v___x_5869_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5869_, 0, v_size_5846_);
lean_ctor_set(v___x_5869_, 1, v___x_5868_);
return v___x_5869_;
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks(lean_object* v_add_5878_, lean_object* v_oldStackIdx_5879_, lean_object* v_a_5880_){
_start:
{
lean_object* v_stackTable_5881_; lean_object* v_frameTable_5882_; lean_object* v_stringArray_5883_; lean_object* v_funcTable_5884_; lean_object* v_frame_5885_; lean_object* v_category_5886_; lean_object* v_subcategory_5887_; lean_object* v_prefix_5888_; lean_object* v___x_5889_; lean_object* v___x_5890_; lean_object* v___y_5892_; lean_object* v_fst_5893_; lean_object* v_snd_5894_; lean_object* v_toThread_5895_; lean_object* v_stringMap_5896_; lean_object* v_funcMap_5897_; lean_object* v_stackMap_5898_; double v_lastTime_5899_; lean_object* v_sampleMap_5900_; lean_object* v___x_5948_; lean_object* v_fst_5950_; lean_object* v_snd_5951_; lean_object* v_oldParentStackIdx_x3f_6032_; 
v_stackTable_5881_ = lean_ctor_get(v_add_5878_, 4);
v_frameTable_5882_ = lean_ctor_get(v_add_5878_, 5);
v_stringArray_5883_ = lean_ctor_get(v_add_5878_, 8);
v_funcTable_5884_ = lean_ctor_get(v_add_5878_, 9);
v_frame_5885_ = lean_ctor_get(v_stackTable_5881_, 0);
v_category_5886_ = lean_ctor_get(v_stackTable_5881_, 1);
v_subcategory_5887_ = lean_ctor_get(v_stackTable_5881_, 2);
v_prefix_5888_ = lean_ctor_get(v_stackTable_5881_, 3);
v___x_5889_ = lean_box(0);
v___x_5890_ = lean_unsigned_to_nat(0u);
v___x_5948_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__2));
v_oldParentStackIdx_x3f_6032_ = lean_array_get(v___x_5889_, v_prefix_5888_, v_oldStackIdx_5879_);
if (lean_obj_tag(v_oldParentStackIdx_x3f_6032_) == 0)
{
v_fst_5950_ = v_oldParentStackIdx_x3f_6032_;
v_snd_5951_ = v_a_5880_;
goto v___jp_5949_;
}
else
{
lean_object* v_val_6033_; lean_object* v___x_6035_; uint8_t v_isShared_6036_; uint8_t v_isSharedCheck_6043_; 
v_val_6033_ = lean_ctor_get(v_oldParentStackIdx_x3f_6032_, 0);
v_isSharedCheck_6043_ = !lean_is_exclusive(v_oldParentStackIdx_x3f_6032_);
if (v_isSharedCheck_6043_ == 0)
{
v___x_6035_ = v_oldParentStackIdx_x3f_6032_;
v_isShared_6036_ = v_isSharedCheck_6043_;
goto v_resetjp_6034_;
}
else
{
lean_inc(v_val_6033_);
lean_dec(v_oldParentStackIdx_x3f_6032_);
v___x_6035_ = lean_box(0);
v_isShared_6036_ = v_isSharedCheck_6043_;
goto v_resetjp_6034_;
}
v_resetjp_6034_:
{
lean_object* v___x_6037_; lean_object* v_fst_6038_; lean_object* v_snd_6039_; lean_object* v___x_6041_; 
v___x_6037_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks(v_add_5878_, v_val_6033_, v_a_5880_);
lean_dec(v_val_6033_);
v_fst_6038_ = lean_ctor_get(v___x_6037_, 0);
lean_inc(v_fst_6038_);
v_snd_6039_ = lean_ctor_get(v___x_6037_, 1);
lean_inc(v_snd_6039_);
lean_dec_ref(v___x_6037_);
if (v_isShared_6036_ == 0)
{
lean_ctor_set(v___x_6035_, 0, v_fst_6038_);
v___x_6041_ = v___x_6035_;
goto v_reusejp_6040_;
}
else
{
lean_object* v_reuseFailAlloc_6042_; 
v_reuseFailAlloc_6042_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v_reuseFailAlloc_6042_, 0, v_fst_6038_);
v___x_6041_ = v_reuseFailAlloc_6042_;
goto v_reusejp_6040_;
}
v_reusejp_6040_:
{
v_fst_5950_ = v___x_6041_;
v_snd_5951_ = v_snd_6039_;
goto v___jp_5949_;
}
}
}
v___jp_5891_:
{
lean_object* v___x_5901_; lean_object* v___x_5902_; 
lean_inc(v___y_5892_);
lean_inc(v_fst_5893_);
v___x_5901_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5901_, 0, v_fst_5893_);
lean_ctor_set(v___x_5901_, 1, v___y_5892_);
v___x_5902_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__1___redArg(v_stackMap_5898_, v___x_5901_);
if (lean_obj_tag(v___x_5902_) == 1)
{
lean_object* v_val_5903_; lean_object* v___x_5904_; 
lean_dec_ref(v___x_5901_);
lean_dec_ref(v_sampleMap_5900_);
lean_dec_ref(v_stackMap_5898_);
lean_dec_ref(v_funcMap_5897_);
lean_dec_ref(v_stringMap_5896_);
lean_dec_ref(v_toThread_5895_);
lean_dec(v_fst_5893_);
lean_dec(v___y_5892_);
v_val_5903_ = lean_ctor_get(v___x_5902_, 0);
lean_inc(v_val_5903_);
lean_dec_ref(v___x_5902_);
v___x_5904_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5904_, 0, v_val_5903_);
lean_ctor_set(v___x_5904_, 1, v_snd_5894_);
return v___x_5904_;
}
else
{
lean_object* v_stackTable_5905_; lean_object* v_name_5906_; lean_object* v_processType_5907_; uint8_t v_isMainThread_5908_; lean_object* v_samples_5909_; lean_object* v_markers_5910_; lean_object* v_frameTable_5911_; lean_object* v_resourceTable_5912_; lean_object* v_nativeSymbols_5913_; lean_object* v_stringArray_5914_; lean_object* v_funcTable_5915_; lean_object* v___x_5917_; uint8_t v_isShared_5918_; uint8_t v_isSharedCheck_5947_; 
lean_dec(v___x_5902_);
lean_dec_ref(v_snd_5894_);
v_stackTable_5905_ = lean_ctor_get(v_toThread_5895_, 4);
v_name_5906_ = lean_ctor_get(v_toThread_5895_, 0);
v_processType_5907_ = lean_ctor_get(v_toThread_5895_, 1);
v_isMainThread_5908_ = lean_ctor_get_uint8(v_toThread_5895_, sizeof(void*)*10);
v_samples_5909_ = lean_ctor_get(v_toThread_5895_, 2);
v_markers_5910_ = lean_ctor_get(v_toThread_5895_, 3);
v_frameTable_5911_ = lean_ctor_get(v_toThread_5895_, 5);
v_resourceTable_5912_ = lean_ctor_get(v_toThread_5895_, 6);
v_nativeSymbols_5913_ = lean_ctor_get(v_toThread_5895_, 7);
v_stringArray_5914_ = lean_ctor_get(v_toThread_5895_, 8);
v_funcTable_5915_ = lean_ctor_get(v_toThread_5895_, 9);
v_isSharedCheck_5947_ = !lean_is_exclusive(v_toThread_5895_);
if (v_isSharedCheck_5947_ == 0)
{
v___x_5917_ = v_toThread_5895_;
v_isShared_5918_ = v_isSharedCheck_5947_;
goto v_resetjp_5916_;
}
else
{
lean_inc(v_funcTable_5915_);
lean_inc(v_stringArray_5914_);
lean_inc(v_nativeSymbols_5913_);
lean_inc(v_resourceTable_5912_);
lean_inc(v_frameTable_5911_);
lean_inc(v_stackTable_5905_);
lean_inc(v_markers_5910_);
lean_inc(v_samples_5909_);
lean_inc(v_processType_5907_);
lean_inc(v_name_5906_);
lean_dec(v_toThread_5895_);
v___x_5917_ = lean_box(0);
v_isShared_5918_ = v_isSharedCheck_5947_;
goto v_resetjp_5916_;
}
v_resetjp_5916_:
{
lean_object* v_frame_5919_; lean_object* v_category_5920_; lean_object* v_subcategory_5921_; lean_object* v_prefix_5922_; lean_object* v_length_5923_; lean_object* v___x_5925_; uint8_t v_isShared_5926_; uint8_t v_isSharedCheck_5946_; 
v_frame_5919_ = lean_ctor_get(v_stackTable_5905_, 0);
v_category_5920_ = lean_ctor_get(v_stackTable_5905_, 1);
v_subcategory_5921_ = lean_ctor_get(v_stackTable_5905_, 2);
v_prefix_5922_ = lean_ctor_get(v_stackTable_5905_, 3);
v_length_5923_ = lean_ctor_get(v_stackTable_5905_, 4);
v_isSharedCheck_5946_ = !lean_is_exclusive(v_stackTable_5905_);
if (v_isSharedCheck_5946_ == 0)
{
v___x_5925_ = v_stackTable_5905_;
v_isShared_5926_ = v_isSharedCheck_5946_;
goto v_resetjp_5924_;
}
else
{
lean_inc(v_length_5923_);
lean_inc(v_prefix_5922_);
lean_inc(v_subcategory_5921_);
lean_inc(v_category_5920_);
lean_inc(v_frame_5919_);
lean_dec(v_stackTable_5905_);
v___x_5925_ = lean_box(0);
v_isShared_5926_ = v_isSharedCheck_5946_;
goto v_resetjp_5924_;
}
v_resetjp_5924_:
{
lean_object* v_size_5927_; lean_object* v___x_5928_; lean_object* v___x_5929_; lean_object* v___x_5930_; lean_object* v___x_5931_; lean_object* v___x_5932_; lean_object* v___x_5933_; lean_object* v___x_5934_; lean_object* v___x_5935_; lean_object* v___x_5937_; 
v_size_5927_ = lean_ctor_get(v_stackMap_5898_, 0);
lean_inc(v_size_5927_);
v___x_5928_ = lean_array_push(v_frame_5919_, v_fst_5893_);
v___x_5929_ = lean_array_get_borrowed(v___x_5890_, v_category_5886_, v_oldStackIdx_5879_);
lean_inc(v___x_5929_);
v___x_5930_ = lean_array_push(v_category_5920_, v___x_5929_);
v___x_5931_ = lean_array_get_borrowed(v___x_5890_, v_subcategory_5887_, v_oldStackIdx_5879_);
lean_inc(v___x_5931_);
v___x_5932_ = lean_array_push(v_subcategory_5921_, v___x_5931_);
v___x_5933_ = lean_array_push(v_prefix_5922_, v___y_5892_);
v___x_5934_ = lean_unsigned_to_nat(1u);
v___x_5935_ = lean_nat_add(v_length_5923_, v___x_5934_);
lean_dec(v_length_5923_);
if (v_isShared_5926_ == 0)
{
lean_ctor_set(v___x_5925_, 4, v___x_5935_);
lean_ctor_set(v___x_5925_, 3, v___x_5933_);
lean_ctor_set(v___x_5925_, 2, v___x_5932_);
lean_ctor_set(v___x_5925_, 1, v___x_5930_);
lean_ctor_set(v___x_5925_, 0, v___x_5928_);
v___x_5937_ = v___x_5925_;
goto v_reusejp_5936_;
}
else
{
lean_object* v_reuseFailAlloc_5945_; 
v_reuseFailAlloc_5945_ = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(v_reuseFailAlloc_5945_, 0, v___x_5928_);
lean_ctor_set(v_reuseFailAlloc_5945_, 1, v___x_5930_);
lean_ctor_set(v_reuseFailAlloc_5945_, 2, v___x_5932_);
lean_ctor_set(v_reuseFailAlloc_5945_, 3, v___x_5933_);
lean_ctor_set(v_reuseFailAlloc_5945_, 4, v___x_5935_);
v___x_5937_ = v_reuseFailAlloc_5945_;
goto v_reusejp_5936_;
}
v_reusejp_5936_:
{
lean_object* v___x_5938_; lean_object* v___x_5940_; 
lean_inc(v_size_5927_);
v___x_5938_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__2___redArg(v_stackMap_5898_, v___x_5901_, v_size_5927_);
if (v_isShared_5918_ == 0)
{
lean_ctor_set(v___x_5917_, 4, v___x_5937_);
v___x_5940_ = v___x_5917_;
goto v_reusejp_5939_;
}
else
{
lean_object* v_reuseFailAlloc_5944_; 
v_reuseFailAlloc_5944_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_5944_, 0, v_name_5906_);
lean_ctor_set(v_reuseFailAlloc_5944_, 1, v_processType_5907_);
lean_ctor_set(v_reuseFailAlloc_5944_, 2, v_samples_5909_);
lean_ctor_set(v_reuseFailAlloc_5944_, 3, v_markers_5910_);
lean_ctor_set(v_reuseFailAlloc_5944_, 4, v___x_5937_);
lean_ctor_set(v_reuseFailAlloc_5944_, 5, v_frameTable_5911_);
lean_ctor_set(v_reuseFailAlloc_5944_, 6, v_resourceTable_5912_);
lean_ctor_set(v_reuseFailAlloc_5944_, 7, v_nativeSymbols_5913_);
lean_ctor_set(v_reuseFailAlloc_5944_, 8, v_stringArray_5914_);
lean_ctor_set(v_reuseFailAlloc_5944_, 9, v_funcTable_5915_);
lean_ctor_set_uint8(v_reuseFailAlloc_5944_, sizeof(void*)*10, v_isMainThread_5908_);
v___x_5940_ = v_reuseFailAlloc_5944_;
goto v_reusejp_5939_;
}
v_reusejp_5939_:
{
lean_object* v___x_5941_; lean_object* v___x_5942_; lean_object* v___x_5943_; 
v___x_5941_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v___x_5941_, 0, v___x_5940_);
lean_ctor_set(v___x_5941_, 1, v_stringMap_5896_);
lean_ctor_set(v___x_5941_, 2, v_funcMap_5897_);
lean_ctor_set(v___x_5941_, 3, v___x_5938_);
lean_ctor_set_float(v___x_5941_, sizeof(void*)*4, v_lastTime_5899_);
v___x_5942_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5942_, 0, v___x_5941_);
lean_ctor_set(v___x_5942_, 1, v_sampleMap_5900_);
v___x_5943_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_5943_, 0, v_size_5927_);
lean_ctor_set(v___x_5943_, 1, v___x_5942_);
return v___x_5943_;
}
}
}
}
}
}
v___jp_5949_:
{
lean_object* v_func_5952_; lean_object* v_name_5953_; lean_object* v___x_5954_; lean_object* v___x_5955_; lean_object* v___x_5956_; lean_object* v___x_5957_; lean_object* v___x_5958_; lean_object* v_snd_5959_; lean_object* v_toThreadWithMaps_5960_; lean_object* v_fst_5961_; lean_object* v_sampleMap_5962_; lean_object* v_toThread_5963_; lean_object* v_stringMap_5964_; lean_object* v_funcMap_5965_; lean_object* v_stackMap_5966_; double v_lastTime_5967_; lean_object* v___x_5969_; uint8_t v_isShared_5970_; uint8_t v_isSharedCheck_6031_; 
v_func_5952_ = lean_ctor_get(v_frameTable_5882_, 4);
v_name_5953_ = lean_ctor_get(v_funcTable_5884_, 0);
v___x_5954_ = lean_array_get_borrowed(v___x_5890_, v_frame_5885_, v_oldStackIdx_5879_);
v___x_5955_ = lean_array_get_borrowed(v___x_5890_, v_func_5952_, v___x_5954_);
v___x_5956_ = lean_array_get_borrowed(v___x_5890_, v_name_5953_, v___x_5955_);
v___x_5957_ = lean_array_get_borrowed(v___x_5948_, v_stringArray_5883_, v___x_5956_);
lean_inc(v___x_5957_);
v___x_5958_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_getStrIdx(v___x_5957_, v_snd_5951_);
v_snd_5959_ = lean_ctor_get(v___x_5958_, 1);
lean_inc(v_snd_5959_);
v_toThreadWithMaps_5960_ = lean_ctor_get(v_snd_5959_, 0);
lean_inc_ref(v_toThreadWithMaps_5960_);
v_fst_5961_ = lean_ctor_get(v___x_5958_, 0);
lean_inc(v_fst_5961_);
lean_dec_ref(v___x_5958_);
v_sampleMap_5962_ = lean_ctor_get(v_snd_5959_, 1);
lean_inc_ref(v_sampleMap_5962_);
v_toThread_5963_ = lean_ctor_get(v_toThreadWithMaps_5960_, 0);
v_stringMap_5964_ = lean_ctor_get(v_toThreadWithMaps_5960_, 1);
v_funcMap_5965_ = lean_ctor_get(v_toThreadWithMaps_5960_, 2);
v_stackMap_5966_ = lean_ctor_get(v_toThreadWithMaps_5960_, 3);
v_lastTime_5967_ = lean_ctor_get_float(v_toThreadWithMaps_5960_, sizeof(void*)*4);
v_isSharedCheck_6031_ = !lean_is_exclusive(v_toThreadWithMaps_5960_);
if (v_isSharedCheck_6031_ == 0)
{
v___x_5969_ = v_toThreadWithMaps_5960_;
v_isShared_5970_ = v_isSharedCheck_6031_;
goto v_resetjp_5968_;
}
else
{
lean_inc(v_stackMap_5966_);
lean_inc(v_funcMap_5965_);
lean_inc(v_stringMap_5964_);
lean_inc(v_toThread_5963_);
lean_dec(v_toThreadWithMaps_5960_);
v___x_5969_ = lean_box(0);
v_isShared_5970_ = v_isSharedCheck_6031_;
goto v_resetjp_5968_;
}
v_resetjp_5968_:
{
lean_object* v___x_5971_; 
v___x_5971_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(v_funcMap_5965_, v_fst_5961_);
if (lean_obj_tag(v___x_5971_) == 1)
{
lean_object* v_val_5972_; 
lean_del_object(v___x_5969_);
lean_dec(v_fst_5961_);
v_val_5972_ = lean_ctor_get(v___x_5971_, 0);
lean_inc(v_val_5972_);
lean_dec_ref(v___x_5971_);
v___y_5892_ = v_fst_5950_;
v_fst_5893_ = v_val_5972_;
v_snd_5894_ = v_snd_5959_;
v_toThread_5895_ = v_toThread_5963_;
v_stringMap_5896_ = v_stringMap_5964_;
v_funcMap_5897_ = v_funcMap_5965_;
v_stackMap_5898_ = v_stackMap_5966_;
v_lastTime_5899_ = v_lastTime_5967_;
v_sampleMap_5900_ = v_sampleMap_5962_;
goto v___jp_5891_;
}
else
{
lean_object* v___x_5974_; uint8_t v_isShared_5975_; uint8_t v_isSharedCheck_6028_; 
lean_dec(v___x_5971_);
v_isSharedCheck_6028_ = !lean_is_exclusive(v_snd_5959_);
if (v_isSharedCheck_6028_ == 0)
{
lean_object* v_unused_6029_; lean_object* v_unused_6030_; 
v_unused_6029_ = lean_ctor_get(v_snd_5959_, 1);
lean_dec(v_unused_6029_);
v_unused_6030_ = lean_ctor_get(v_snd_5959_, 0);
lean_dec(v_unused_6030_);
v___x_5974_ = v_snd_5959_;
v_isShared_5975_ = v_isSharedCheck_6028_;
goto v_resetjp_5973_;
}
else
{
lean_dec(v_snd_5959_);
v___x_5974_ = lean_box(0);
v_isShared_5975_ = v_isSharedCheck_6028_;
goto v_resetjp_5973_;
}
v_resetjp_5973_:
{
lean_object* v_size_5976_; lean_object* v_name_5977_; lean_object* v_processType_5978_; uint8_t v_isMainThread_5979_; lean_object* v_samples_5980_; lean_object* v_markers_5981_; lean_object* v_stackTable_5982_; lean_object* v_frameTable_5983_; lean_object* v_resourceTable_5984_; lean_object* v_nativeSymbols_5985_; lean_object* v_stringArray_5986_; lean_object* v_funcTable_5987_; lean_object* v___x_5989_; uint8_t v_isShared_5990_; uint8_t v_isSharedCheck_6027_; 
v_size_5976_ = lean_ctor_get(v_funcMap_5965_, 0);
lean_inc(v_size_5976_);
v_name_5977_ = lean_ctor_get(v_toThread_5963_, 0);
v_processType_5978_ = lean_ctor_get(v_toThread_5963_, 1);
v_isMainThread_5979_ = lean_ctor_get_uint8(v_toThread_5963_, sizeof(void*)*10);
v_samples_5980_ = lean_ctor_get(v_toThread_5963_, 2);
v_markers_5981_ = lean_ctor_get(v_toThread_5963_, 3);
v_stackTable_5982_ = lean_ctor_get(v_toThread_5963_, 4);
v_frameTable_5983_ = lean_ctor_get(v_toThread_5963_, 5);
v_resourceTable_5984_ = lean_ctor_get(v_toThread_5963_, 6);
v_nativeSymbols_5985_ = lean_ctor_get(v_toThread_5963_, 7);
v_stringArray_5986_ = lean_ctor_get(v_toThread_5963_, 8);
v_funcTable_5987_ = lean_ctor_get(v_toThread_5963_, 9);
v_isSharedCheck_6027_ = !lean_is_exclusive(v_toThread_5963_);
if (v_isSharedCheck_6027_ == 0)
{
v___x_5989_ = v_toThread_5963_;
v_isShared_5990_ = v_isSharedCheck_6027_;
goto v_resetjp_5988_;
}
else
{
lean_inc(v_funcTable_5987_);
lean_inc(v_stringArray_5986_);
lean_inc(v_nativeSymbols_5985_);
lean_inc(v_resourceTable_5984_);
lean_inc(v_frameTable_5983_);
lean_inc(v_stackTable_5982_);
lean_inc(v_markers_5981_);
lean_inc(v_samples_5980_);
lean_inc(v_processType_5978_);
lean_inc(v_name_5977_);
lean_dec(v_toThread_5963_);
v___x_5989_ = lean_box(0);
v_isShared_5990_ = v_isSharedCheck_6027_;
goto v_resetjp_5988_;
}
v_resetjp_5988_:
{
lean_object* v___x_5991_; lean_object* v___x_5992_; lean_object* v___x_5993_; lean_object* v_name_5994_; lean_object* v_resource_5995_; lean_object* v_fileName_5996_; lean_object* v_lineNumber_5997_; lean_object* v_columnNumber_5998_; lean_object* v_length_5999_; lean_object* v___x_6001_; uint8_t v_isShared_6002_; uint8_t v_isSharedCheck_6024_; 
v___x_5991_ = lean_unsigned_to_nat(1u);
v___x_5992_ = lean_obj_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2, &l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__2);
lean_inc(v_size_5976_);
v___x_5993_ = lean_alloc_ctor(0, 10, 0);
lean_ctor_set(v___x_5993_, 0, v___x_5992_);
lean_ctor_set(v___x_5993_, 1, v___x_5890_);
lean_ctor_set(v___x_5993_, 2, v___x_5889_);
lean_ctor_set(v___x_5993_, 3, v___x_5889_);
lean_ctor_set(v___x_5993_, 4, v_size_5976_);
lean_ctor_set(v___x_5993_, 5, v___x_5889_);
lean_ctor_set(v___x_5993_, 6, v___x_5889_);
lean_ctor_set(v___x_5993_, 7, v___x_5889_);
lean_ctor_set(v___x_5993_, 8, v___x_5889_);
lean_ctor_set(v___x_5993_, 9, v___x_5889_);
v_name_5994_ = lean_ctor_get(v_funcTable_5987_, 0);
v_resource_5995_ = lean_ctor_get(v_funcTable_5987_, 3);
v_fileName_5996_ = lean_ctor_get(v_funcTable_5987_, 4);
v_lineNumber_5997_ = lean_ctor_get(v_funcTable_5987_, 5);
v_columnNumber_5998_ = lean_ctor_get(v_funcTable_5987_, 6);
v_length_5999_ = lean_ctor_get(v_funcTable_5987_, 7);
v_isSharedCheck_6024_ = !lean_is_exclusive(v_funcTable_5987_);
if (v_isSharedCheck_6024_ == 0)
{
lean_object* v_unused_6025_; lean_object* v_unused_6026_; 
v_unused_6025_ = lean_ctor_get(v_funcTable_5987_, 2);
lean_dec(v_unused_6025_);
v_unused_6026_ = lean_ctor_get(v_funcTable_5987_, 1);
lean_dec(v_unused_6026_);
v___x_6001_ = v_funcTable_5987_;
v_isShared_6002_ = v_isSharedCheck_6024_;
goto v_resetjp_6000_;
}
else
{
lean_inc(v_length_5999_);
lean_inc(v_columnNumber_5998_);
lean_inc(v_lineNumber_5997_);
lean_inc(v_fileName_5996_);
lean_inc(v_resource_5995_);
lean_inc(v_name_5994_);
lean_dec(v_funcTable_5987_);
v___x_6001_ = lean_box(0);
v_isShared_6002_ = v_isSharedCheck_6024_;
goto v_resetjp_6000_;
}
v_resetjp_6000_:
{
lean_object* v___x_6003_; lean_object* v___x_6004_; lean_object* v___x_6005_; lean_object* v___x_6006_; lean_object* v___x_6007_; lean_object* v___x_6008_; lean_object* v___x_6009_; lean_object* v___x_6010_; lean_object* v___x_6012_; 
v___x_6003_ = l_Lean_Firefox_FrameTable_push(v_frameTable_5983_, v___x_5993_);
lean_inc(v_fst_5961_);
v___x_6004_ = lean_array_push(v_name_5994_, v_fst_5961_);
v___x_6005_ = ((lean_object*)(l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___closed__3));
v___x_6006_ = lean_array_push(v_resource_5995_, v___x_5992_);
v___x_6007_ = lean_array_push(v_fileName_5996_, v___x_5889_);
v___x_6008_ = lean_array_push(v_lineNumber_5997_, v___x_5889_);
v___x_6009_ = lean_array_push(v_columnNumber_5998_, v___x_5889_);
v___x_6010_ = lean_nat_add(v_length_5999_, v___x_5991_);
lean_dec(v_length_5999_);
if (v_isShared_6002_ == 0)
{
lean_ctor_set(v___x_6001_, 7, v___x_6010_);
lean_ctor_set(v___x_6001_, 6, v___x_6009_);
lean_ctor_set(v___x_6001_, 5, v___x_6008_);
lean_ctor_set(v___x_6001_, 4, v___x_6007_);
lean_ctor_set(v___x_6001_, 3, v___x_6006_);
lean_ctor_set(v___x_6001_, 2, v___x_6005_);
lean_ctor_set(v___x_6001_, 1, v___x_6005_);
lean_ctor_set(v___x_6001_, 0, v___x_6004_);
v___x_6012_ = v___x_6001_;
goto v_reusejp_6011_;
}
else
{
lean_object* v_reuseFailAlloc_6023_; 
v_reuseFailAlloc_6023_ = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(v_reuseFailAlloc_6023_, 0, v___x_6004_);
lean_ctor_set(v_reuseFailAlloc_6023_, 1, v___x_6005_);
lean_ctor_set(v_reuseFailAlloc_6023_, 2, v___x_6005_);
lean_ctor_set(v_reuseFailAlloc_6023_, 3, v___x_6006_);
lean_ctor_set(v_reuseFailAlloc_6023_, 4, v___x_6007_);
lean_ctor_set(v_reuseFailAlloc_6023_, 5, v___x_6008_);
lean_ctor_set(v_reuseFailAlloc_6023_, 6, v___x_6009_);
lean_ctor_set(v_reuseFailAlloc_6023_, 7, v___x_6010_);
v___x_6012_ = v_reuseFailAlloc_6023_;
goto v_reusejp_6011_;
}
v_reusejp_6011_:
{
lean_object* v___x_6014_; 
if (v_isShared_5990_ == 0)
{
lean_ctor_set(v___x_5989_, 9, v___x_6012_);
lean_ctor_set(v___x_5989_, 5, v___x_6003_);
v___x_6014_ = v___x_5989_;
goto v_reusejp_6013_;
}
else
{
lean_object* v_reuseFailAlloc_6022_; 
v_reuseFailAlloc_6022_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_6022_, 0, v_name_5977_);
lean_ctor_set(v_reuseFailAlloc_6022_, 1, v_processType_5978_);
lean_ctor_set(v_reuseFailAlloc_6022_, 2, v_samples_5980_);
lean_ctor_set(v_reuseFailAlloc_6022_, 3, v_markers_5981_);
lean_ctor_set(v_reuseFailAlloc_6022_, 4, v_stackTable_5982_);
lean_ctor_set(v_reuseFailAlloc_6022_, 5, v___x_6003_);
lean_ctor_set(v_reuseFailAlloc_6022_, 6, v_resourceTable_5984_);
lean_ctor_set(v_reuseFailAlloc_6022_, 7, v_nativeSymbols_5985_);
lean_ctor_set(v_reuseFailAlloc_6022_, 8, v_stringArray_5986_);
lean_ctor_set(v_reuseFailAlloc_6022_, 9, v___x_6012_);
lean_ctor_set_uint8(v_reuseFailAlloc_6022_, sizeof(void*)*10, v_isMainThread_5979_);
v___x_6014_ = v_reuseFailAlloc_6022_;
goto v_reusejp_6013_;
}
v_reusejp_6013_:
{
lean_object* v___x_6015_; lean_object* v___x_6017_; 
lean_inc(v_size_5976_);
v___x_6015_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(v_funcMap_5965_, v_fst_5961_, v_size_5976_);
lean_inc_ref(v_stackMap_5966_);
lean_inc_ref(v___x_6015_);
lean_inc_ref(v_stringMap_5964_);
lean_inc_ref(v___x_6014_);
if (v_isShared_5970_ == 0)
{
lean_ctor_set(v___x_5969_, 2, v___x_6015_);
lean_ctor_set(v___x_5969_, 0, v___x_6014_);
v___x_6017_ = v___x_5969_;
goto v_reusejp_6016_;
}
else
{
lean_object* v_reuseFailAlloc_6021_; 
v_reuseFailAlloc_6021_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_6021_, 0, v___x_6014_);
lean_ctor_set(v_reuseFailAlloc_6021_, 1, v_stringMap_5964_);
lean_ctor_set(v_reuseFailAlloc_6021_, 2, v___x_6015_);
lean_ctor_set(v_reuseFailAlloc_6021_, 3, v_stackMap_5966_);
lean_ctor_set_float(v_reuseFailAlloc_6021_, sizeof(void*)*4, v_lastTime_5967_);
v___x_6017_ = v_reuseFailAlloc_6021_;
goto v_reusejp_6016_;
}
v_reusejp_6016_:
{
lean_object* v___x_6019_; 
lean_inc_ref(v_sampleMap_5962_);
if (v_isShared_5975_ == 0)
{
lean_ctor_set(v___x_5974_, 0, v___x_6017_);
v___x_6019_ = v___x_5974_;
goto v_reusejp_6018_;
}
else
{
lean_object* v_reuseFailAlloc_6020_; 
v_reuseFailAlloc_6020_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_6020_, 0, v___x_6017_);
lean_ctor_set(v_reuseFailAlloc_6020_, 1, v_sampleMap_5962_);
v___x_6019_ = v_reuseFailAlloc_6020_;
goto v_reusejp_6018_;
}
v_reusejp_6018_:
{
v___y_5892_ = v_fst_5950_;
v_fst_5893_ = v_size_5976_;
v_snd_5894_ = v___x_6019_;
v_toThread_5895_ = v___x_6014_;
v_stringMap_5896_ = v_stringMap_5964_;
v_funcMap_5897_ = v___x_6015_;
v_stackMap_5898_ = v_stackMap_5966_;
v_lastTime_5899_ = v_lastTime_5967_;
v_sampleMap_5900_ = v_sampleMap_5962_;
goto v___jp_5891_;
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks___boxed(lean_object* v_add_6044_, lean_object* v_oldStackIdx_6045_, lean_object* v_a_6046_){
_start:
{
lean_object* v_res_6047_; 
v_res_6047_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks(v_add_6044_, v_oldStackIdx_6045_, v_a_6046_);
lean_dec(v_oldStackIdx_6045_);
lean_dec_ref(v_add_6044_);
return v_res_6047_;
}
}
static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1(void){
_start:
{
double v___x_6048_; lean_object* v___x_6049_; 
v___x_6048_ = l_Lean_Firefox_instInhabitedMilliseconds_default;
v___x_6049_ = lean_box_float(v___x_6048_);
return v___x_6049_;
}
}
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg(lean_object* v_upperBound_6050_, lean_object* v___x_6051_, lean_object* v_add_6052_, lean_object* v_a_6053_, lean_object* v_b_6054_, lean_object* v___y_6055_){
_start:
{
lean_object* v_a_6057_; lean_object* v_snd_6058_; uint8_t v___x_6062_; 
v___x_6062_ = lean_nat_dec_lt(v_a_6053_, v_upperBound_6050_);
if (v___x_6062_ == 0)
{
lean_object* v___x_6063_; 
lean_dec(v_a_6053_);
v___x_6063_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_6063_, 0, v_b_6054_);
lean_ctor_set(v___x_6063_, 1, v___y_6055_);
return v___x_6063_;
}
else
{
lean_object* v_stack_6064_; lean_object* v_weight_6065_; lean_object* v___x_6066_; lean_object* v___x_6067_; lean_object* v___x_6068_; lean_object* v_snd_6069_; lean_object* v_fst_6070_; lean_object* v_toThreadWithMaps_6071_; lean_object* v_sampleMap_6072_; lean_object* v___x_6074_; uint8_t v_isShared_6075_; uint8_t v_isSharedCheck_6203_; 
v_stack_6064_ = lean_ctor_get(v___x_6051_, 0);
v_weight_6065_ = lean_ctor_get(v___x_6051_, 2);
v___x_6066_ = lean_unsigned_to_nat(0u);
v___x_6067_ = lean_array_get_borrowed(v___x_6066_, v_stack_6064_, v_a_6053_);
v___x_6068_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideStacks(v_add_6052_, v___x_6067_, v___y_6055_);
v_snd_6069_ = lean_ctor_get(v___x_6068_, 1);
lean_inc(v_snd_6069_);
v_fst_6070_ = lean_ctor_get(v___x_6068_, 0);
lean_inc(v_fst_6070_);
lean_dec_ref(v___x_6068_);
v_toThreadWithMaps_6071_ = lean_ctor_get(v_snd_6069_, 0);
v_sampleMap_6072_ = lean_ctor_get(v_snd_6069_, 1);
v_isSharedCheck_6203_ = !lean_is_exclusive(v_snd_6069_);
if (v_isSharedCheck_6203_ == 0)
{
v___x_6074_ = v_snd_6069_;
v_isShared_6075_ = v_isSharedCheck_6203_;
goto v_resetjp_6073_;
}
else
{
lean_inc(v_sampleMap_6072_);
lean_inc(v_toThreadWithMaps_6071_);
lean_dec(v_snd_6069_);
v___x_6074_ = lean_box(0);
v_isShared_6075_ = v_isSharedCheck_6203_;
goto v_resetjp_6073_;
}
v_resetjp_6073_:
{
lean_object* v___x_6076_; lean_object* v___x_6077_; 
v___x_6076_ = lean_box(0);
v___x_6077_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__3___redArg(v_sampleMap_6072_, v_fst_6070_);
if (lean_obj_tag(v___x_6077_) == 1)
{
lean_object* v_toThread_6078_; lean_object* v_samples_6079_; lean_object* v_val_6080_; lean_object* v_stringMap_6081_; lean_object* v_funcMap_6082_; lean_object* v_stackMap_6083_; double v_lastTime_6084_; lean_object* v___x_6086_; uint8_t v_isShared_6087_; uint8_t v_isSharedCheck_6134_; 
lean_dec(v_fst_6070_);
v_toThread_6078_ = lean_ctor_get(v_toThreadWithMaps_6071_, 0);
lean_inc_ref(v_toThread_6078_);
v_samples_6079_ = lean_ctor_get(v_toThread_6078_, 2);
lean_inc_ref(v_samples_6079_);
v_val_6080_ = lean_ctor_get(v___x_6077_, 0);
lean_inc(v_val_6080_);
lean_dec_ref(v___x_6077_);
v_stringMap_6081_ = lean_ctor_get(v_toThreadWithMaps_6071_, 1);
v_funcMap_6082_ = lean_ctor_get(v_toThreadWithMaps_6071_, 2);
v_stackMap_6083_ = lean_ctor_get(v_toThreadWithMaps_6071_, 3);
v_lastTime_6084_ = lean_ctor_get_float(v_toThreadWithMaps_6071_, sizeof(void*)*4);
v_isSharedCheck_6134_ = !lean_is_exclusive(v_toThreadWithMaps_6071_);
if (v_isSharedCheck_6134_ == 0)
{
lean_object* v_unused_6135_; 
v_unused_6135_ = lean_ctor_get(v_toThreadWithMaps_6071_, 0);
lean_dec(v_unused_6135_);
v___x_6086_ = v_toThreadWithMaps_6071_;
v_isShared_6087_ = v_isSharedCheck_6134_;
goto v_resetjp_6085_;
}
else
{
lean_inc(v_stackMap_6083_);
lean_inc(v_funcMap_6082_);
lean_inc(v_stringMap_6081_);
lean_dec(v_toThreadWithMaps_6071_);
v___x_6086_ = lean_box(0);
v_isShared_6087_ = v_isSharedCheck_6134_;
goto v_resetjp_6085_;
}
v_resetjp_6085_:
{
lean_object* v_name_6088_; lean_object* v_processType_6089_; uint8_t v_isMainThread_6090_; lean_object* v_markers_6091_; lean_object* v_stackTable_6092_; lean_object* v_frameTable_6093_; lean_object* v_resourceTable_6094_; lean_object* v_nativeSymbols_6095_; lean_object* v_stringArray_6096_; lean_object* v_funcTable_6097_; lean_object* v___x_6099_; uint8_t v_isShared_6100_; uint8_t v_isSharedCheck_6132_; 
v_name_6088_ = lean_ctor_get(v_toThread_6078_, 0);
v_processType_6089_ = lean_ctor_get(v_toThread_6078_, 1);
v_isMainThread_6090_ = lean_ctor_get_uint8(v_toThread_6078_, sizeof(void*)*10);
v_markers_6091_ = lean_ctor_get(v_toThread_6078_, 3);
v_stackTable_6092_ = lean_ctor_get(v_toThread_6078_, 4);
v_frameTable_6093_ = lean_ctor_get(v_toThread_6078_, 5);
v_resourceTable_6094_ = lean_ctor_get(v_toThread_6078_, 6);
v_nativeSymbols_6095_ = lean_ctor_get(v_toThread_6078_, 7);
v_stringArray_6096_ = lean_ctor_get(v_toThread_6078_, 8);
v_funcTable_6097_ = lean_ctor_get(v_toThread_6078_, 9);
v_isSharedCheck_6132_ = !lean_is_exclusive(v_toThread_6078_);
if (v_isSharedCheck_6132_ == 0)
{
lean_object* v_unused_6133_; 
v_unused_6133_ = lean_ctor_get(v_toThread_6078_, 2);
lean_dec(v_unused_6133_);
v___x_6099_ = v_toThread_6078_;
v_isShared_6100_ = v_isSharedCheck_6132_;
goto v_resetjp_6098_;
}
else
{
lean_inc(v_funcTable_6097_);
lean_inc(v_stringArray_6096_);
lean_inc(v_nativeSymbols_6095_);
lean_inc(v_resourceTable_6094_);
lean_inc(v_frameTable_6093_);
lean_inc(v_stackTable_6092_);
lean_inc(v_markers_6091_);
lean_inc(v_processType_6089_);
lean_inc(v_name_6088_);
lean_dec(v_toThread_6078_);
v___x_6099_ = lean_box(0);
v_isShared_6100_ = v_isSharedCheck_6132_;
goto v_resetjp_6098_;
}
v_resetjp_6098_:
{
lean_object* v_stack_6101_; lean_object* v_time_6102_; lean_object* v_weight_6103_; lean_object* v_weightType_6104_; lean_object* v_threadCPUDelta_6105_; lean_object* v_length_6106_; lean_object* v___x_6108_; uint8_t v_isShared_6109_; uint8_t v_isSharedCheck_6131_; 
v_stack_6101_ = lean_ctor_get(v_samples_6079_, 0);
v_time_6102_ = lean_ctor_get(v_samples_6079_, 1);
v_weight_6103_ = lean_ctor_get(v_samples_6079_, 2);
v_weightType_6104_ = lean_ctor_get(v_samples_6079_, 3);
v_threadCPUDelta_6105_ = lean_ctor_get(v_samples_6079_, 4);
v_length_6106_ = lean_ctor_get(v_samples_6079_, 5);
v_isSharedCheck_6131_ = !lean_is_exclusive(v_samples_6079_);
if (v_isSharedCheck_6131_ == 0)
{
v___x_6108_ = v_samples_6079_;
v_isShared_6109_ = v_isSharedCheck_6131_;
goto v_resetjp_6107_;
}
else
{
lean_inc(v_length_6106_);
lean_inc(v_threadCPUDelta_6105_);
lean_inc(v_weightType_6104_);
lean_inc(v_weight_6103_);
lean_inc(v_time_6102_);
lean_inc(v_stack_6101_);
lean_dec(v_samples_6079_);
v___x_6108_ = lean_box(0);
v_isShared_6109_ = v_isSharedCheck_6131_;
goto v_resetjp_6107_;
}
v_resetjp_6107_:
{
lean_object* v___x_6110_; lean_object* v___x_6111_; lean_object* v___x_6112_; lean_object* v___x_6113_; double v___x_6114_; double v___x_6115_; double v___x_6116_; lean_object* v___x_6117_; lean_object* v___x_6118_; lean_object* v___x_6120_; 
v___x_6110_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1;
v___x_6111_ = lean_array_get_borrowed(v___x_6110_, v_weight_6103_, v_val_6080_);
v___x_6112_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1;
v___x_6113_ = lean_array_get_borrowed(v___x_6112_, v_weight_6065_, v_a_6053_);
v___x_6114_ = lean_unbox_float(v___x_6111_);
v___x_6115_ = lean_unbox_float(v___x_6113_);
v___x_6116_ = lean_float_add(v___x_6114_, v___x_6115_);
v___x_6117_ = lean_box_float(v___x_6116_);
v___x_6118_ = lean_array_set(v_weight_6103_, v_val_6080_, v___x_6117_);
lean_dec(v_val_6080_);
if (v_isShared_6109_ == 0)
{
lean_ctor_set(v___x_6108_, 2, v___x_6118_);
v___x_6120_ = v___x_6108_;
goto v_reusejp_6119_;
}
else
{
lean_object* v_reuseFailAlloc_6130_; 
v_reuseFailAlloc_6130_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v_reuseFailAlloc_6130_, 0, v_stack_6101_);
lean_ctor_set(v_reuseFailAlloc_6130_, 1, v_time_6102_);
lean_ctor_set(v_reuseFailAlloc_6130_, 2, v___x_6118_);
lean_ctor_set(v_reuseFailAlloc_6130_, 3, v_weightType_6104_);
lean_ctor_set(v_reuseFailAlloc_6130_, 4, v_threadCPUDelta_6105_);
lean_ctor_set(v_reuseFailAlloc_6130_, 5, v_length_6106_);
v___x_6120_ = v_reuseFailAlloc_6130_;
goto v_reusejp_6119_;
}
v_reusejp_6119_:
{
lean_object* v___x_6122_; 
if (v_isShared_6100_ == 0)
{
lean_ctor_set(v___x_6099_, 2, v___x_6120_);
v___x_6122_ = v___x_6099_;
goto v_reusejp_6121_;
}
else
{
lean_object* v_reuseFailAlloc_6129_; 
v_reuseFailAlloc_6129_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_6129_, 0, v_name_6088_);
lean_ctor_set(v_reuseFailAlloc_6129_, 1, v_processType_6089_);
lean_ctor_set(v_reuseFailAlloc_6129_, 2, v___x_6120_);
lean_ctor_set(v_reuseFailAlloc_6129_, 3, v_markers_6091_);
lean_ctor_set(v_reuseFailAlloc_6129_, 4, v_stackTable_6092_);
lean_ctor_set(v_reuseFailAlloc_6129_, 5, v_frameTable_6093_);
lean_ctor_set(v_reuseFailAlloc_6129_, 6, v_resourceTable_6094_);
lean_ctor_set(v_reuseFailAlloc_6129_, 7, v_nativeSymbols_6095_);
lean_ctor_set(v_reuseFailAlloc_6129_, 8, v_stringArray_6096_);
lean_ctor_set(v_reuseFailAlloc_6129_, 9, v_funcTable_6097_);
lean_ctor_set_uint8(v_reuseFailAlloc_6129_, sizeof(void*)*10, v_isMainThread_6090_);
v___x_6122_ = v_reuseFailAlloc_6129_;
goto v_reusejp_6121_;
}
v_reusejp_6121_:
{
lean_object* v___x_6124_; 
if (v_isShared_6087_ == 0)
{
lean_ctor_set(v___x_6086_, 0, v___x_6122_);
v___x_6124_ = v___x_6086_;
goto v_reusejp_6123_;
}
else
{
lean_object* v_reuseFailAlloc_6128_; 
v_reuseFailAlloc_6128_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_6128_, 0, v___x_6122_);
lean_ctor_set(v_reuseFailAlloc_6128_, 1, v_stringMap_6081_);
lean_ctor_set(v_reuseFailAlloc_6128_, 2, v_funcMap_6082_);
lean_ctor_set(v_reuseFailAlloc_6128_, 3, v_stackMap_6083_);
lean_ctor_set_float(v_reuseFailAlloc_6128_, sizeof(void*)*4, v_lastTime_6084_);
v___x_6124_ = v_reuseFailAlloc_6128_;
goto v_reusejp_6123_;
}
v_reusejp_6123_:
{
lean_object* v___x_6126_; 
if (v_isShared_6075_ == 0)
{
lean_ctor_set(v___x_6074_, 0, v___x_6124_);
v___x_6126_ = v___x_6074_;
goto v_reusejp_6125_;
}
else
{
lean_object* v_reuseFailAlloc_6127_; 
v_reuseFailAlloc_6127_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_6127_, 0, v___x_6124_);
lean_ctor_set(v_reuseFailAlloc_6127_, 1, v_sampleMap_6072_);
v___x_6126_ = v_reuseFailAlloc_6127_;
goto v_reusejp_6125_;
}
v_reusejp_6125_:
{
v_a_6057_ = v___x_6076_;
v_snd_6058_ = v___x_6126_;
goto v___jp_6056_;
}
}
}
}
}
}
}
}
else
{
lean_object* v_toThread_6136_; lean_object* v_samples_6137_; lean_object* v_stringMap_6138_; lean_object* v_funcMap_6139_; lean_object* v_stackMap_6140_; double v_lastTime_6141_; lean_object* v___x_6143_; uint8_t v_isShared_6144_; uint8_t v_isSharedCheck_6201_; 
lean_dec(v___x_6077_);
v_toThread_6136_ = lean_ctor_get(v_toThreadWithMaps_6071_, 0);
lean_inc_ref(v_toThread_6136_);
v_samples_6137_ = lean_ctor_get(v_toThread_6136_, 2);
lean_inc_ref(v_samples_6137_);
v_stringMap_6138_ = lean_ctor_get(v_toThreadWithMaps_6071_, 1);
v_funcMap_6139_ = lean_ctor_get(v_toThreadWithMaps_6071_, 2);
v_stackMap_6140_ = lean_ctor_get(v_toThreadWithMaps_6071_, 3);
v_lastTime_6141_ = lean_ctor_get_float(v_toThreadWithMaps_6071_, sizeof(void*)*4);
v_isSharedCheck_6201_ = !lean_is_exclusive(v_toThreadWithMaps_6071_);
if (v_isSharedCheck_6201_ == 0)
{
lean_object* v_unused_6202_; 
v_unused_6202_ = lean_ctor_get(v_toThreadWithMaps_6071_, 0);
lean_dec(v_unused_6202_);
v___x_6143_ = v_toThreadWithMaps_6071_;
v_isShared_6144_ = v_isSharedCheck_6201_;
goto v_resetjp_6142_;
}
else
{
lean_inc(v_stackMap_6140_);
lean_inc(v_funcMap_6139_);
lean_inc(v_stringMap_6138_);
lean_dec(v_toThreadWithMaps_6071_);
v___x_6143_ = lean_box(0);
v_isShared_6144_ = v_isSharedCheck_6201_;
goto v_resetjp_6142_;
}
v_resetjp_6142_:
{
lean_object* v_name_6145_; lean_object* v_processType_6146_; uint8_t v_isMainThread_6147_; lean_object* v_markers_6148_; lean_object* v_stackTable_6149_; lean_object* v_frameTable_6150_; lean_object* v_resourceTable_6151_; lean_object* v_nativeSymbols_6152_; lean_object* v_stringArray_6153_; lean_object* v_funcTable_6154_; lean_object* v___x_6156_; uint8_t v_isShared_6157_; uint8_t v_isSharedCheck_6199_; 
v_name_6145_ = lean_ctor_get(v_toThread_6136_, 0);
v_processType_6146_ = lean_ctor_get(v_toThread_6136_, 1);
v_isMainThread_6147_ = lean_ctor_get_uint8(v_toThread_6136_, sizeof(void*)*10);
v_markers_6148_ = lean_ctor_get(v_toThread_6136_, 3);
v_stackTable_6149_ = lean_ctor_get(v_toThread_6136_, 4);
v_frameTable_6150_ = lean_ctor_get(v_toThread_6136_, 5);
v_resourceTable_6151_ = lean_ctor_get(v_toThread_6136_, 6);
v_nativeSymbols_6152_ = lean_ctor_get(v_toThread_6136_, 7);
v_stringArray_6153_ = lean_ctor_get(v_toThread_6136_, 8);
v_funcTable_6154_ = lean_ctor_get(v_toThread_6136_, 9);
v_isSharedCheck_6199_ = !lean_is_exclusive(v_toThread_6136_);
if (v_isSharedCheck_6199_ == 0)
{
lean_object* v_unused_6200_; 
v_unused_6200_ = lean_ctor_get(v_toThread_6136_, 2);
lean_dec(v_unused_6200_);
v___x_6156_ = v_toThread_6136_;
v_isShared_6157_ = v_isSharedCheck_6199_;
goto v_resetjp_6155_;
}
else
{
lean_inc(v_funcTable_6154_);
lean_inc(v_stringArray_6153_);
lean_inc(v_nativeSymbols_6152_);
lean_inc(v_resourceTable_6151_);
lean_inc(v_frameTable_6150_);
lean_inc(v_stackTable_6149_);
lean_inc(v_markers_6148_);
lean_inc(v_processType_6146_);
lean_inc(v_name_6145_);
lean_dec(v_toThread_6136_);
v___x_6156_ = lean_box(0);
v_isShared_6157_ = v_isSharedCheck_6199_;
goto v_resetjp_6155_;
}
v_resetjp_6155_:
{
lean_object* v_stack_6158_; lean_object* v_time_6159_; lean_object* v_weight_6160_; lean_object* v_threadCPUDelta_6161_; lean_object* v_length_6162_; lean_object* v___x_6164_; uint8_t v_isShared_6165_; uint8_t v_isSharedCheck_6197_; 
v_stack_6158_ = lean_ctor_get(v_samples_6137_, 0);
v_time_6159_ = lean_ctor_get(v_samples_6137_, 1);
v_weight_6160_ = lean_ctor_get(v_samples_6137_, 2);
v_threadCPUDelta_6161_ = lean_ctor_get(v_samples_6137_, 4);
v_length_6162_ = lean_ctor_get(v_samples_6137_, 5);
v_isSharedCheck_6197_ = !lean_is_exclusive(v_samples_6137_);
if (v_isSharedCheck_6197_ == 0)
{
lean_object* v_unused_6198_; 
v_unused_6198_ = lean_ctor_get(v_samples_6137_, 3);
lean_dec(v_unused_6198_);
v___x_6164_ = v_samples_6137_;
v_isShared_6165_ = v_isSharedCheck_6197_;
goto v_resetjp_6163_;
}
else
{
lean_inc(v_length_6162_);
lean_inc(v_threadCPUDelta_6161_);
lean_inc(v_weight_6160_);
lean_inc(v_time_6159_);
lean_inc(v_stack_6158_);
lean_dec(v_samples_6137_);
v___x_6164_ = lean_box(0);
v_isShared_6165_ = v_isSharedCheck_6197_;
goto v_resetjp_6163_;
}
v_resetjp_6163_:
{
lean_object* v_size_6166_; lean_object* v___x_6167_; lean_object* v___x_6168_; double v___x_6169_; double v___x_6170_; double v___x_6171_; lean_object* v___x_6172_; lean_object* v___x_6173_; lean_object* v___x_6174_; lean_object* v___x_6175_; lean_object* v___x_6176_; lean_object* v___x_6177_; lean_object* v___x_6178_; lean_object* v___x_6179_; double v___x_6180_; lean_object* v___x_6181_; lean_object* v___x_6182_; lean_object* v___x_6183_; lean_object* v___x_6185_; 
v_size_6166_ = lean_ctor_get(v_sampleMap_6072_, 0);
lean_inc(v_size_6166_);
v___x_6167_ = lean_array_get_size(v_time_6159_);
lean_inc(v_fst_6070_);
v___x_6168_ = lean_array_push(v_stack_6158_, v_fst_6070_);
v___x_6169_ = lean_float_of_nat(v___x_6167_);
v___x_6170_ = lean_float_once(&l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0, &l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0_once, _init_l_Lean_Firefox_instCoeFloatMilliseconds___lam__0___closed__0);
v___x_6171_ = lean_float_mul(v___x_6169_, v___x_6170_);
v___x_6172_ = lean_box_float(v___x_6171_);
v___x_6173_ = lean_array_push(v_time_6159_, v___x_6172_);
v___x_6174_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1;
v___x_6175_ = lean_array_get_borrowed(v___x_6174_, v_weight_6065_, v_a_6053_);
lean_inc(v___x_6175_);
v___x_6176_ = lean_array_push(v_weight_6160_, v___x_6175_);
v___x_6177_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__0___closed__0));
v___x_6178_ = lean_unsigned_to_nat(10u);
v___x_6179_ = lean_unsigned_to_nat(1u);
v___x_6180_ = l_Float_ofScientific(v___x_6178_, v___x_6062_, v___x_6179_);
v___x_6181_ = lean_box_float(v___x_6180_);
v___x_6182_ = lean_array_push(v_threadCPUDelta_6161_, v___x_6181_);
v___x_6183_ = lean_nat_add(v_length_6162_, v___x_6179_);
lean_dec(v_length_6162_);
if (v_isShared_6165_ == 0)
{
lean_ctor_set(v___x_6164_, 5, v___x_6183_);
lean_ctor_set(v___x_6164_, 4, v___x_6182_);
lean_ctor_set(v___x_6164_, 3, v___x_6177_);
lean_ctor_set(v___x_6164_, 2, v___x_6176_);
lean_ctor_set(v___x_6164_, 1, v___x_6173_);
lean_ctor_set(v___x_6164_, 0, v___x_6168_);
v___x_6185_ = v___x_6164_;
goto v_reusejp_6184_;
}
else
{
lean_object* v_reuseFailAlloc_6196_; 
v_reuseFailAlloc_6196_ = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(v_reuseFailAlloc_6196_, 0, v___x_6168_);
lean_ctor_set(v_reuseFailAlloc_6196_, 1, v___x_6173_);
lean_ctor_set(v_reuseFailAlloc_6196_, 2, v___x_6176_);
lean_ctor_set(v_reuseFailAlloc_6196_, 3, v___x_6177_);
lean_ctor_set(v_reuseFailAlloc_6196_, 4, v___x_6182_);
lean_ctor_set(v_reuseFailAlloc_6196_, 5, v___x_6183_);
v___x_6185_ = v_reuseFailAlloc_6196_;
goto v_reusejp_6184_;
}
v_reusejp_6184_:
{
lean_object* v___x_6186_; lean_object* v___x_6188_; 
v___x_6186_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go_spec__4___redArg(v_sampleMap_6072_, v_fst_6070_, v_size_6166_);
if (v_isShared_6157_ == 0)
{
lean_ctor_set(v___x_6156_, 2, v___x_6185_);
v___x_6188_ = v___x_6156_;
goto v_reusejp_6187_;
}
else
{
lean_object* v_reuseFailAlloc_6195_; 
v_reuseFailAlloc_6195_ = lean_alloc_ctor(0, 10, 1);
lean_ctor_set(v_reuseFailAlloc_6195_, 0, v_name_6145_);
lean_ctor_set(v_reuseFailAlloc_6195_, 1, v_processType_6146_);
lean_ctor_set(v_reuseFailAlloc_6195_, 2, v___x_6185_);
lean_ctor_set(v_reuseFailAlloc_6195_, 3, v_markers_6148_);
lean_ctor_set(v_reuseFailAlloc_6195_, 4, v_stackTable_6149_);
lean_ctor_set(v_reuseFailAlloc_6195_, 5, v_frameTable_6150_);
lean_ctor_set(v_reuseFailAlloc_6195_, 6, v_resourceTable_6151_);
lean_ctor_set(v_reuseFailAlloc_6195_, 7, v_nativeSymbols_6152_);
lean_ctor_set(v_reuseFailAlloc_6195_, 8, v_stringArray_6153_);
lean_ctor_set(v_reuseFailAlloc_6195_, 9, v_funcTable_6154_);
lean_ctor_set_uint8(v_reuseFailAlloc_6195_, sizeof(void*)*10, v_isMainThread_6147_);
v___x_6188_ = v_reuseFailAlloc_6195_;
goto v_reusejp_6187_;
}
v_reusejp_6187_:
{
lean_object* v___x_6190_; 
if (v_isShared_6144_ == 0)
{
lean_ctor_set(v___x_6143_, 0, v___x_6188_);
v___x_6190_ = v___x_6143_;
goto v_reusejp_6189_;
}
else
{
lean_object* v_reuseFailAlloc_6194_; 
v_reuseFailAlloc_6194_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v_reuseFailAlloc_6194_, 0, v___x_6188_);
lean_ctor_set(v_reuseFailAlloc_6194_, 1, v_stringMap_6138_);
lean_ctor_set(v_reuseFailAlloc_6194_, 2, v_funcMap_6139_);
lean_ctor_set(v_reuseFailAlloc_6194_, 3, v_stackMap_6140_);
lean_ctor_set_float(v_reuseFailAlloc_6194_, sizeof(void*)*4, v_lastTime_6141_);
v___x_6190_ = v_reuseFailAlloc_6194_;
goto v_reusejp_6189_;
}
v_reusejp_6189_:
{
lean_object* v___x_6192_; 
if (v_isShared_6075_ == 0)
{
lean_ctor_set(v___x_6074_, 1, v___x_6186_);
lean_ctor_set(v___x_6074_, 0, v___x_6190_);
v___x_6192_ = v___x_6074_;
goto v_reusejp_6191_;
}
else
{
lean_object* v_reuseFailAlloc_6193_; 
v_reuseFailAlloc_6193_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_6193_, 0, v___x_6190_);
lean_ctor_set(v_reuseFailAlloc_6193_, 1, v___x_6186_);
v___x_6192_ = v_reuseFailAlloc_6193_;
goto v_reusejp_6191_;
}
v_reusejp_6191_:
{
v_a_6057_ = v___x_6076_;
v_snd_6058_ = v___x_6192_;
goto v___jp_6056_;
}
}
}
}
}
}
}
}
}
}
v___jp_6056_:
{
lean_object* v___x_6059_; lean_object* v___x_6060_; 
v___x_6059_ = lean_unsigned_to_nat(1u);
v___x_6060_ = lean_nat_add(v_a_6053_, v___x_6059_);
lean_dec(v_a_6053_);
v_a_6053_ = v___x_6060_;
v_b_6054_ = v_a_6057_;
v___y_6055_ = v_snd_6058_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed(lean_object* v_upperBound_6204_, lean_object* v___x_6205_, lean_object* v_add_6206_, lean_object* v_a_6207_, lean_object* v_b_6208_, lean_object* v___y_6209_){
_start:
{
lean_object* v_res_6210_; 
v_res_6210_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg(v_upperBound_6204_, v___x_6205_, v_add_6206_, v_a_6207_, v_b_6208_, v___y_6209_);
lean_dec_ref(v_add_6206_);
lean_dec_ref(v___x_6205_);
lean_dec(v_upperBound_6204_);
return v_res_6210_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples(lean_object* v_add_6211_, lean_object* v_a_6212_){
_start:
{
lean_object* v_samples_6213_; lean_object* v_length_6214_; lean_object* v___x_6215_; lean_object* v___x_6216_; lean_object* v___x_6217_; lean_object* v_snd_6218_; lean_object* v___x_6220_; uint8_t v_isShared_6221_; uint8_t v_isSharedCheck_6225_; 
v_samples_6213_ = lean_ctor_get(v_add_6211_, 2);
v_length_6214_ = lean_ctor_get(v_samples_6213_, 5);
v___x_6215_ = lean_unsigned_to_nat(0u);
v___x_6216_ = lean_box(0);
v___x_6217_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg(v_length_6214_, v_samples_6213_, v_add_6211_, v___x_6215_, v___x_6216_, v_a_6212_);
v_snd_6218_ = lean_ctor_get(v___x_6217_, 1);
v_isSharedCheck_6225_ = !lean_is_exclusive(v___x_6217_);
if (v_isSharedCheck_6225_ == 0)
{
lean_object* v_unused_6226_; 
v_unused_6226_ = lean_ctor_get(v___x_6217_, 0);
lean_dec(v_unused_6226_);
v___x_6220_ = v___x_6217_;
v_isShared_6221_ = v_isSharedCheck_6225_;
goto v_resetjp_6219_;
}
else
{
lean_inc(v_snd_6218_);
lean_dec(v___x_6217_);
v___x_6220_ = lean_box(0);
v_isShared_6221_ = v_isSharedCheck_6225_;
goto v_resetjp_6219_;
}
v_resetjp_6219_:
{
lean_object* v___x_6223_; 
if (v_isShared_6221_ == 0)
{
lean_ctor_set(v___x_6220_, 0, v___x_6216_);
v___x_6223_ = v___x_6220_;
goto v_reusejp_6222_;
}
else
{
lean_object* v_reuseFailAlloc_6224_; 
v_reuseFailAlloc_6224_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v_reuseFailAlloc_6224_, 0, v___x_6216_);
lean_ctor_set(v_reuseFailAlloc_6224_, 1, v_snd_6218_);
v___x_6223_ = v_reuseFailAlloc_6224_;
goto v_reusejp_6222_;
}
v_reusejp_6222_:
{
return v___x_6223_;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples___boxed(lean_object* v_add_6227_, lean_object* v_a_6228_){
_start:
{
lean_object* v_res_6229_; 
v_res_6229_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples(v_add_6227_, v_a_6228_);
lean_dec_ref(v_add_6227_);
return v_res_6229_;
}
}
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0(lean_object* v_upperBound_6230_, lean_object* v___x_6231_, lean_object* v_add_6232_, lean_object* v_inst_6233_, lean_object* v_R_6234_, lean_object* v_a_6235_, lean_object* v_b_6236_, lean_object* v_c_6237_, lean_object* v___y_6238_){
_start:
{
lean_object* v___x_6239_; 
v___x_6239_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg(v_upperBound_6230_, v___x_6231_, v_add_6232_, v_a_6235_, v_b_6236_, v___y_6238_);
return v___x_6239_;
}
}
LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___boxed(lean_object* v_upperBound_6240_, lean_object* v___x_6241_, lean_object* v_add_6242_, lean_object* v_inst_6243_, lean_object* v_R_6244_, lean_object* v_a_6245_, lean_object* v_b_6246_, lean_object* v_c_6247_, lean_object* v___y_6248_){
_start:
{
lean_object* v_res_6249_; 
v_res_6249_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0(v_upperBound_6240_, v___x_6241_, v_add_6242_, v_inst_6243_, v_R_6244_, v_a_6245_, v_b_6246_, v_c_6247_, v___y_6248_);
lean_dec_ref(v_add_6242_);
lean_dec_ref(v___x_6241_);
lean_dec(v_upperBound_6240_);
return v_res_6249_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads(lean_object* v_thread_6250_, lean_object* v_add_6251_){
_start:
{
lean_object* v___x_6252_; lean_object* v_snd_6253_; 
v___x_6252_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples(v_add_6251_, v_thread_6250_);
v_snd_6253_ = lean_ctor_get(v___x_6252_, 1);
lean_inc(v_snd_6253_);
lean_dec_ref(v___x_6252_);
return v_snd_6253_;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads___boxed(lean_object* v_thread_6254_, lean_object* v_add_6255_){
_start:
{
lean_object* v_res_6256_; 
v_res_6256_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads(v_thread_6254_, v_add_6255_);
lean_dec_ref(v_add_6255_);
return v_res_6256_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1(size_t v_sz_6257_, size_t v_i_6258_, lean_object* v_bs_6259_){
_start:
{
uint8_t v___x_6260_; 
v___x_6260_ = lean_usize_dec_lt(v_i_6258_, v_sz_6257_);
if (v___x_6260_ == 0)
{
return v_bs_6259_;
}
else
{
lean_object* v_v_6261_; lean_object* v_threads_6262_; lean_object* v___x_6263_; lean_object* v_bs_x27_6264_; size_t v___x_6265_; size_t v___x_6266_; lean_object* v___x_6267_; 
v_v_6261_ = lean_array_uget_borrowed(v_bs_6259_, v_i_6258_);
v_threads_6262_ = lean_ctor_get(v_v_6261_, 2);
lean_inc_ref(v_threads_6262_);
v___x_6263_ = lean_unsigned_to_nat(0u);
v_bs_x27_6264_ = lean_array_uset(v_bs_6259_, v_i_6258_, v___x_6263_);
v___x_6265_ = ((size_t)1ULL);
v___x_6266_ = lean_usize_add(v_i_6258_, v___x_6265_);
v___x_6267_ = lean_array_uset(v_bs_x27_6264_, v_i_6258_, v_threads_6262_);
v_i_6258_ = v___x_6266_;
v_bs_6259_ = v___x_6267_;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1___boxed(lean_object* v_sz_6269_, lean_object* v_i_6270_, lean_object* v_bs_6271_){
_start:
{
size_t v_sz_boxed_6272_; size_t v_i_boxed_6273_; lean_object* v_res_6274_; 
v_sz_boxed_6272_ = lean_unbox_usize(v_sz_6269_);
lean_dec(v_sz_6269_);
v_i_boxed_6273_ = lean_unbox_usize(v_i_6270_);
lean_dec(v_i_6270_);
v_res_6274_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1(v_sz_boxed_6272_, v_i_boxed_6273_, v_bs_6271_);
return v_res_6274_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0(lean_object* v_as_6275_, size_t v_i_6276_, size_t v_stop_6277_, lean_object* v_b_6278_){
_start:
{
uint8_t v___x_6279_; 
v___x_6279_ = lean_usize_dec_eq(v_i_6276_, v_stop_6277_);
if (v___x_6279_ == 0)
{
lean_object* v___x_6280_; lean_object* v___x_6281_; size_t v___x_6282_; size_t v___x_6283_; 
v___x_6280_ = lean_array_uget_borrowed(v_as_6275_, v_i_6276_);
v___x_6281_ = l___private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads(v_b_6278_, v___x_6280_);
v___x_6282_ = ((size_t)1ULL);
v___x_6283_ = lean_usize_add(v_i_6276_, v___x_6282_);
v_i_6276_ = v___x_6283_;
v_b_6278_ = v___x_6281_;
goto _start;
}
else
{
return v_b_6278_;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0___boxed(lean_object* v_as_6285_, lean_object* v_i_6286_, lean_object* v_stop_6287_, lean_object* v_b_6288_){
_start:
{
size_t v_i_boxed_6289_; size_t v_stop_boxed_6290_; lean_object* v_res_6291_; 
v_i_boxed_6289_ = lean_unbox_usize(v_i_6286_);
lean_dec(v_i_6286_);
v_stop_boxed_6290_ = lean_unbox_usize(v_stop_6287_);
lean_dec(v_stop_6287_);
v_res_6291_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0(v_as_6285_, v_i_boxed_6289_, v_stop_boxed_6290_, v_b_6288_);
lean_dec_ref(v_as_6285_);
return v_res_6291_;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2(lean_object* v_as_6292_, size_t v_i_6293_, size_t v_stop_6294_, lean_object* v_b_6295_){
_start:
{
uint8_t v___x_6296_; 
v___x_6296_ = lean_usize_dec_eq(v_i_6293_, v_stop_6294_);
if (v___x_6296_ == 0)
{
lean_object* v___x_6297_; lean_object* v___x_6298_; size_t v___x_6299_; size_t v___x_6300_; 
v___x_6297_ = lean_array_uget_borrowed(v_as_6292_, v_i_6293_);
v___x_6298_ = l_Array_append___redArg(v_b_6295_, v___x_6297_);
v___x_6299_ = ((size_t)1ULL);
v___x_6300_ = lean_usize_add(v_i_6293_, v___x_6299_);
v_i_6293_ = v___x_6300_;
v_b_6295_ = v___x_6298_;
goto _start;
}
else
{
return v_b_6295_;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2___boxed(lean_object* v_as_6302_, lean_object* v_i_6303_, lean_object* v_stop_6304_, lean_object* v_b_6305_){
_start:
{
size_t v_i_boxed_6306_; size_t v_stop_boxed_6307_; lean_object* v_res_6308_; 
v_i_boxed_6306_ = lean_unbox_usize(v_i_6303_);
lean_dec(v_i_6303_);
v_stop_boxed_6307_ = lean_unbox_usize(v_stop_6304_);
lean_dec(v_stop_6304_);
v_res_6308_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2(v_as_6302_, v_i_boxed_6306_, v_stop_boxed_6307_, v_b_6305_);
lean_dec_ref(v_as_6302_);
return v_res_6308_;
}
}
static lean_object* _init_l_Lean_Firefox_Profile_collide___closed__1(void){
_start:
{
lean_object* v___x_6310_; lean_object* v___x_6311_; 
v___x_6310_ = ((lean_object*)(l_Lean_Firefox_Profile_collide___closed__0));
v___x_6311_ = l_Lean_Firefox_Thread_new(v___x_6310_);
return v___x_6311_;
}
}
static lean_object* _init_l_Lean_Firefox_Profile_collide___closed__2(void){
_start:
{
double v___x_6312_; lean_object* v___x_6313_; lean_object* v___x_6314_; lean_object* v___x_6315_; 
v___x_6312_ = lean_float_once(&l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0, &l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0_once, _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_getFirstStart_x3f___closed__0);
v___x_6313_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7);
v___x_6314_ = lean_obj_once(&l_Lean_Firefox_Profile_collide___closed__1, &l_Lean_Firefox_Profile_collide___closed__1_once, _init_l_Lean_Firefox_Profile_collide___closed__1);
v___x_6315_ = lean_alloc_ctor(0, 4, 8);
lean_ctor_set(v___x_6315_, 0, v___x_6314_);
lean_ctor_set(v___x_6315_, 1, v___x_6313_);
lean_ctor_set(v___x_6315_, 2, v___x_6313_);
lean_ctor_set(v___x_6315_, 3, v___x_6313_);
lean_ctor_set_float(v___x_6315_, sizeof(void*)*4, v___x_6312_);
return v___x_6315_;
}
}
static lean_object* _init_l_Lean_Firefox_Profile_collide___closed__3(void){
_start:
{
lean_object* v___x_6316_; lean_object* v___x_6317_; lean_object* v___x_6318_; 
v___x_6316_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_export_spec__7___closed__7);
v___x_6317_ = lean_obj_once(&l_Lean_Firefox_Profile_collide___closed__2, &l_Lean_Firefox_Profile_collide___closed__2_once, _init_l_Lean_Firefox_Profile_collide___closed__2);
v___x_6318_ = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(v___x_6318_, 0, v___x_6317_);
lean_ctor_set(v___x_6318_, 1, v___x_6316_);
return v___x_6318_;
}
}
LEAN_EXPORT lean_object* l_Lean_Firefox_Profile_collide(lean_object* v_ps_6321_){
_start:
{
lean_object* v___x_6322_; lean_object* v___x_6323_; uint8_t v___x_6324_; 
v___x_6322_ = lean_unsigned_to_nat(0u);
v___x_6323_ = lean_array_get_size(v_ps_6321_);
v___x_6324_ = lean_nat_dec_lt(v___x_6322_, v___x_6323_);
if (v___x_6324_ == 0)
{
lean_object* v___x_6325_; 
lean_dec_ref(v_ps_6321_);
v___x_6325_ = lean_box(0);
return v___x_6325_;
}
else
{
lean_object* v___x_6326_; lean_object* v___y_6328_; lean_object* v___x_6345_; lean_object* v___y_6347_; size_t v_sz_6357_; size_t v___x_6358_; lean_object* v___x_6359_; lean_object* v___x_6360_; lean_object* v___x_6361_; uint8_t v___x_6362_; 
v___x_6326_ = lean_array_fget(v_ps_6321_, v___x_6322_);
v___x_6345_ = lean_obj_once(&l_Lean_Firefox_Profile_collide___closed__3, &l_Lean_Firefox_Profile_collide___closed__3_once, _init_l_Lean_Firefox_Profile_collide___closed__3);
v_sz_6357_ = lean_array_size(v_ps_6321_);
v___x_6358_ = ((size_t)0ULL);
v___x_6359_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Firefox_Profile_collide_spec__1(v_sz_6357_, v___x_6358_, v_ps_6321_);
v___x_6360_ = ((lean_object*)(l_Lean_Firefox_Profile_collide___closed__4));
v___x_6361_ = lean_array_get_size(v___x_6359_);
v___x_6362_ = lean_nat_dec_lt(v___x_6322_, v___x_6361_);
if (v___x_6362_ == 0)
{
lean_dec_ref(v___x_6359_);
v___y_6347_ = v___x_6360_;
goto v___jp_6346_;
}
else
{
uint8_t v___x_6363_; 
v___x_6363_ = lean_nat_dec_le(v___x_6361_, v___x_6361_);
if (v___x_6363_ == 0)
{
if (v___x_6362_ == 0)
{
lean_dec_ref(v___x_6359_);
v___y_6347_ = v___x_6360_;
goto v___jp_6346_;
}
else
{
size_t v___x_6364_; lean_object* v___x_6365_; 
v___x_6364_ = lean_usize_of_nat(v___x_6361_);
v___x_6365_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2(v___x_6359_, v___x_6358_, v___x_6364_, v___x_6360_);
lean_dec_ref(v___x_6359_);
v___y_6347_ = v___x_6365_;
goto v___jp_6346_;
}
}
else
{
size_t v___x_6366_; lean_object* v___x_6367_; 
v___x_6366_ = lean_usize_of_nat(v___x_6361_);
v___x_6367_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__2(v___x_6359_, v___x_6358_, v___x_6366_, v___x_6360_);
lean_dec_ref(v___x_6359_);
v___y_6347_ = v___x_6367_;
goto v___jp_6346_;
}
}
v___jp_6327_:
{
lean_object* v_toThreadWithMaps_6329_; lean_object* v_meta_6330_; lean_object* v_libs_6331_; lean_object* v___x_6333_; uint8_t v_isShared_6334_; uint8_t v_isSharedCheck_6343_; 
v_toThreadWithMaps_6329_ = lean_ctor_get(v___y_6328_, 0);
lean_inc_ref(v_toThreadWithMaps_6329_);
lean_dec_ref(v___y_6328_);
v_meta_6330_ = lean_ctor_get(v___x_6326_, 0);
v_libs_6331_ = lean_ctor_get(v___x_6326_, 1);
v_isSharedCheck_6343_ = !lean_is_exclusive(v___x_6326_);
if (v_isSharedCheck_6343_ == 0)
{
lean_object* v_unused_6344_; 
v_unused_6344_ = lean_ctor_get(v___x_6326_, 2);
lean_dec(v_unused_6344_);
v___x_6333_ = v___x_6326_;
v_isShared_6334_ = v_isSharedCheck_6343_;
goto v_resetjp_6332_;
}
else
{
lean_inc(v_libs_6331_);
lean_inc(v_meta_6330_);
lean_dec(v___x_6326_);
v___x_6333_ = lean_box(0);
v_isShared_6334_ = v_isSharedCheck_6343_;
goto v_resetjp_6332_;
}
v_resetjp_6332_:
{
lean_object* v_toThread_6335_; lean_object* v___x_6336_; lean_object* v___x_6337_; lean_object* v___x_6338_; lean_object* v___x_6340_; 
v_toThread_6335_ = lean_ctor_get(v_toThreadWithMaps_6329_, 0);
lean_inc_ref(v_toThread_6335_);
lean_dec_ref(v_toThreadWithMaps_6329_);
v___x_6336_ = lean_unsigned_to_nat(1u);
v___x_6337_ = lean_mk_empty_array_with_capacity(v___x_6336_);
v___x_6338_ = lean_array_push(v___x_6337_, v_toThread_6335_);
if (v_isShared_6334_ == 0)
{
lean_ctor_set(v___x_6333_, 2, v___x_6338_);
v___x_6340_ = v___x_6333_;
goto v_reusejp_6339_;
}
else
{
lean_object* v_reuseFailAlloc_6342_; 
v_reuseFailAlloc_6342_ = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(v_reuseFailAlloc_6342_, 0, v_meta_6330_);
lean_ctor_set(v_reuseFailAlloc_6342_, 1, v_libs_6331_);
lean_ctor_set(v_reuseFailAlloc_6342_, 2, v___x_6338_);
v___x_6340_ = v_reuseFailAlloc_6342_;
goto v_reusejp_6339_;
}
v_reusejp_6339_:
{
lean_object* v___x_6341_; 
v___x_6341_ = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(v___x_6341_, 0, v___x_6340_);
return v___x_6341_;
}
}
}
v___jp_6346_:
{
lean_object* v___x_6348_; uint8_t v___x_6349_; 
v___x_6348_ = lean_array_get_size(v___y_6347_);
v___x_6349_ = lean_nat_dec_lt(v___x_6322_, v___x_6348_);
if (v___x_6349_ == 0)
{
lean_dec_ref(v___y_6347_);
v___y_6328_ = v___x_6345_;
goto v___jp_6327_;
}
else
{
uint8_t v___x_6350_; 
v___x_6350_ = lean_nat_dec_le(v___x_6348_, v___x_6348_);
if (v___x_6350_ == 0)
{
if (v___x_6349_ == 0)
{
lean_dec_ref(v___y_6347_);
v___y_6328_ = v___x_6345_;
goto v___jp_6327_;
}
else
{
size_t v___x_6351_; size_t v___x_6352_; lean_object* v___x_6353_; 
v___x_6351_ = ((size_t)0ULL);
v___x_6352_ = lean_usize_of_nat(v___x_6348_);
v___x_6353_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0(v___y_6347_, v___x_6351_, v___x_6352_, v___x_6345_);
lean_dec_ref(v___y_6347_);
v___y_6328_ = v___x_6353_;
goto v___jp_6327_;
}
}
else
{
size_t v___x_6354_; size_t v___x_6355_; lean_object* v___x_6356_; 
v___x_6354_ = ((size_t)0ULL);
v___x_6355_ = lean_usize_of_nat(v___x_6348_);
v___x_6356_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Firefox_Profile_collide_spec__0(v___y_6347_, v___x_6354_, v___x_6355_, v___x_6345_);
lean_dec_ref(v___y_6347_);
v___y_6328_ = v___x_6356_;
goto v___jp_6327_;
}
}
}
}
}
}
lean_object* runtime_initialize_Lean_Util_Trace(uint8_t builtin);
lean_object* runtime_initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin);
static bool _G_runtime_initialized = false;
LEAN_EXPORT lean_object* runtime_initialize_Lean_Util_Profiler(uint8_t builtin) {
lean_object * res;
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_runtime_initialized = true;
res = runtime_initialize_Lean_Util_Trace(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = runtime_initialize_Init_Data_Range_Polymorphic_Iterators(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Firefox_instInhabitedMilliseconds_default = _init_l_Lean_Firefox_instInhabitedMilliseconds_default();
l_Lean_Firefox_instInhabitedMilliseconds = _init_l_Lean_Firefox_instInhabitedMilliseconds();
l_Lean_Firefox_instInhabitedFrameTable_default = _init_l_Lean_Firefox_instInhabitedFrameTable_default();
lean_mark_persistent(l_Lean_Firefox_instInhabitedFrameTable_default);
l_Lean_Firefox_instInhabitedFrameTable = _init_l_Lean_Firefox_instInhabitedFrameTable();
lean_mark_persistent(l_Lean_Firefox_instInhabitedFrameTable);
l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1 = _init_l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1();
lean_mark_persistent(l___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___boxed__const__1);
l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1 = _init_l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1();
lean_mark_persistent(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Firefox_Profile_export_spec__6___redArg___closed__0___boxed__const__1);
l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1 = _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1();
lean_mark_persistent(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Util_Profiler_0__Lean_Firefox_collideThreads_collideSamples_spec__0___redArg___boxed__const__1);
return lean_io_result_mk_ok(lean_box(0));
}
static bool _G_meta_initialized = false;
LEAN_EXPORT lean_object* meta_initialize_Lean_Util_Profiler(uint8_t builtin) {
lean_object * res;
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_meta_initialized = true;
return lean_io_result_mk_ok(lean_box(0));
}
lean_object* initialize_Lean_Util_Trace(uint8_t builtin);
lean_object* initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Util_Profiler(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Util_Trace(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Range_Polymorphic_Iterators(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = runtime_initialize_Lean_Util_Profiler(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = meta_initialize_Lean_Util_Profiler(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return initialize_Lean_Util_Profiler(builtin);
}
#ifdef __cplusplus
}
#endif
