_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12is_discardedEv:
43101|  9.64k|    {
43102|  9.64k|        return m_data.m_type == value_t::discarded;
43103|  9.64k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dumpEicbNS0_6detail15error_handler_tE:
42973|  31.5k|    {
42974|  31.5k|        string_t result;
42975|  31.5k|        detail::output_string_adapter<char, string_t> string_adapter(result);
42976|       |
42977|  31.5k|        if (indent >= 0)
  ------------------
  |  Branch (42977:13): [True: 0, False: 31.5k]
  ------------------
42978|      0|        {
42979|      0|            serializer s(string_adapter, indent_char,
42980|      0|                         true, ensure_ascii, static_cast<std::size_t>(indent), error_handler);
42981|      0|            s.dump(*this);
42982|      0|        }
42983|  31.5k|        else
42984|  31.5k|        {
42985|  31.5k|            serializer s(string_adapter, indent_char,
42986|  31.5k|                         false, ensure_ascii, 0, error_handler);
42987|  31.5k|            s.dump(*this);
42988|  31.5k|        }
42989|       |
42990|  31.5k|        return result;
42991|  31.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEC2ERS9_:
30100|  31.5k|        : str(s)
30101|  31.5k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail23output_adapter_protocolIcEC2Ev:
29758|  31.5k|    output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_12_06detail23output_adapter_protocolIcED2Ev:
29756|  31.5k|    virtual ~output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_12_06detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEE16write_charactersEPKcm:
30109|  33.7k|    {
30110|  33.7k|        str.append(s, length);
30111|  33.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEC2ERNS1_23output_adapter_protocolIcEEcbbmNS1_15error_handler_tE:
37673|  31.5k|        : o(&s)
37674|  31.5k|        , number_buffer() // NOLINT(readability-redundant-member-init)
37675|  31.5k|        , string_buffer() // NOLINT(readability-redundant-member-init)
37676|  31.5k|        , indent_char(ichar)
37677|  31.5k|        , pretty_print(pretty_print_)
37678|  31.5k|        , ensure_ascii(ensure_ascii_)
37679|  31.5k|        , indent_step(indent_step_)
37680|  31.5k|        , error_handler(error_handler_)
37681|  31.5k|        , write_buffer() // NOLINT(readability-redundant-member-init)
37682|  31.5k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE20uninitialized_bufferILm64EEC2Ev:
39810|  31.5k|        uninitialized_buffer() noexcept {} // NOLINT(modernize-use-equals-default,hicpp-use-equals-default,cppcoreguidelines-pro-type-member-init,hicpp-member-init): see above
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE20uninitialized_bufferILm512EEC2Ev:
39810|  31.5k|        uninitialized_buffer() noexcept {} // NOLINT(modernize-use-equals-default,hicpp-use-equals-default,cppcoreguidelines-pro-type-member-init,hicpp-member-init): see above
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE20uninitialized_bufferILm1024EEC2Ev:
39810|  31.5k|        uninitialized_buffer() noexcept {} // NOLINT(modernize-use-equals-default,hicpp-use-equals-default,cppcoreguidelines-pro-type-member-init,hicpp-member-init): see above
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE4dumpERKSG_m:
37711|  31.5k|    {
37712|  31.5k|        dump_element(val, current_indent, 0);
37713|  31.5k|        flush();
37714|  31.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_elementERKSG_mm:
37862|   713k|    {
37863|   713k|        if (val.m_data.m_type == value_t::object || val.m_data.m_type == value_t::array)
  ------------------
  |  Branch (37863:13): [True: 37.3k, False: 675k]
  |  Branch (37863:53): [True: 372k, False: 303k]
  ------------------
37864|   410k|        {
37865|   410k|            dump_container(val, current_indent, depth);
37866|   410k|        }
37867|   303k|        else
37868|   303k|        {
37869|   303k|            dump_scalar(val, current_indent);
37870|   303k|        }
37871|   713k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14dump_containerERKSG_mm:
37737|   410k|    {
37738|   410k|        JSON_ASSERT(val.m_data.m_type == value_t::object || val.m_data.m_type == value_t::array);
  ------------------
  |  | 2653|   410k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37738:9): [True: 37.3k, False: 372k]
  |  Branch (37738:9): [True: 372k, False: 0]
  |  Branch (37738:9): [True: 410k, False: 0]
  ------------------
37739|       |
37740|   410k|        if (JSON_HEDLEY_UNLIKELY(depth >= recursion_depth_limit()))
  ------------------
  |  | 1697|   410k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 6.87k, False: 403k]
  |  |  ------------------
  ------------------
37741|  6.87k|        {
37742|  6.87k|            dump_iteratively(val, current_indent);
37743|  6.87k|            return;
37744|  6.87k|        }
37745|       |
37746|   403k|        if (val.m_data.m_type == value_t::object)
  ------------------
  |  Branch (37746:13): [True: 34.2k, False: 368k]
  ------------------
37747|  34.2k|        {
37748|  34.2k|            if (val.m_data.m_value.object->empty())
  ------------------
  |  Branch (37748:17): [True: 6.19k, False: 28.0k]
  ------------------
37749|  6.19k|            {
37750|  6.19k|                put_literal("{}");
37751|  6.19k|                return;
37752|  6.19k|            }
37753|       |
37754|  28.0k|            if (pretty_print)
  ------------------
  |  Branch (37754:17): [True: 0, False: 28.0k]
  ------------------
37755|      0|            {
37756|       |                // variable to hold indentation for recursive calls
37757|      0|                const auto new_indent = next_indent(current_indent, indent_step);
37758|       |
37759|      0|                put_literal_indent("{\n", new_indent);
37760|       |
37761|       |                // first n-1 elements
37762|      0|                auto i = val.m_data.m_value.object->cbegin();
37763|      0|                for (std::size_t cnt = 0; cnt < val.m_data.m_value.object->size() - 1; ++cnt, ++i)
  ------------------
  |  Branch (37763:43): [True: 0, False: 0]
  ------------------
37764|      0|                {
37765|      0|                    put_object_key(i->first, "\": ");
37766|      0|                    dump_element(i->second, new_indent, depth + 1);
37767|      0|                    put_literal_indent(",\n", new_indent);
37768|      0|                }
37769|       |
37770|       |                // last element
37771|      0|                JSON_ASSERT(i != val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37771:17): [True: 0, False: 0]
  ------------------
37772|      0|                JSON_ASSERT(std::next(i) == val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37772:17): [True: 0, False: 0]
  ------------------
37773|      0|                put_object_key(i->first, "\": ");
37774|      0|                dump_element(i->second, new_indent, depth + 1);
37775|       |
37776|      0|                put_literal_indent("\n", current_indent);
37777|      0|                put_char('}');
37778|      0|            }
37779|  28.0k|            else
37780|  28.0k|            {
37781|  28.0k|                put_char('{');
37782|       |
37783|       |                // first n-1 elements
37784|  28.0k|                auto i = val.m_data.m_value.object->cbegin();
37785|  52.1k|                for (std::size_t cnt = 0; cnt < val.m_data.m_value.object->size() - 1; ++cnt, ++i)
  ------------------
  |  Branch (37785:43): [True: 24.0k, False: 28.0k]
  ------------------
37786|  24.0k|                {
37787|  24.0k|                    put_object_key(i->first, "\":");
37788|  24.0k|                    dump_element(i->second, 0, depth + 1);
37789|  24.0k|                    put_char(',');
37790|  24.0k|                }
37791|       |
37792|       |                // last element
37793|  28.0k|                JSON_ASSERT(i != val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|  28.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37793:17): [True: 28.0k, False: 0]
  ------------------
37794|  28.0k|                JSON_ASSERT(std::next(i) == val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|  28.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37794:17): [True: 28.0k, False: 0]
  ------------------
37795|  28.0k|                put_object_key(i->first, "\":");
37796|  28.0k|                dump_element(i->second, 0, depth + 1);
37797|       |
37798|  28.0k|                put_char('}');
37799|  28.0k|            }
37800|  28.0k|            return;
37801|  28.0k|        }
37802|       |
37803|   368k|        if (val.m_data.m_value.array->empty())
  ------------------
  |  Branch (37803:13): [True: 4.24k, False: 364k]
  ------------------
37804|  4.24k|        {
37805|  4.24k|            put_literal("[]");
37806|  4.24k|            return;
37807|  4.24k|        }
37808|       |
37809|   364k|        if (pretty_print)
  ------------------
  |  Branch (37809:13): [True: 0, False: 364k]
  ------------------
37810|      0|        {
37811|       |            // variable to hold indentation for recursive calls
37812|      0|            const auto new_indent = next_indent(current_indent, indent_step);
37813|       |
37814|      0|            put_literal_indent("[\n", new_indent);
37815|       |
37816|       |            // first n-1 elements
37817|      0|            for (auto i = val.m_data.m_value.array->cbegin();
37818|      0|                    i != val.m_data.m_value.array->cend() - 1; ++i)
  ------------------
  |  Branch (37818:21): [True: 0, False: 0]
  ------------------
37819|      0|            {
37820|      0|                dump_element(*i, new_indent, depth + 1);
37821|      0|                put_literal_indent(",\n", new_indent);
37822|      0|            }
37823|       |
37824|       |            // last element
37825|      0|            JSON_ASSERT(!val.m_data.m_value.array->empty());
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37825:13): [True: 0, False: 0]
  ------------------
37826|      0|            dump_element(val.m_data.m_value.array->back(), new_indent, depth + 1);
37827|       |
37828|      0|            put_literal_indent("\n", current_indent);
37829|      0|            put_char(']');
37830|      0|        }
37831|   364k|        else
37832|   364k|        {
37833|   364k|            put_char('[');
37834|       |
37835|       |            // first n-1 elements
37836|   364k|            for (auto i = val.m_data.m_value.array->cbegin();
37837|   629k|                    i != val.m_data.m_value.array->cend() - 1; ++i)
  ------------------
  |  Branch (37837:21): [True: 264k, False: 364k]
  ------------------
37838|   264k|            {
37839|   264k|                dump_element(*i, 0, depth + 1);
37840|   264k|                put_char(',');
37841|   264k|            }
37842|       |
37843|       |            // last element
37844|   364k|            JSON_ASSERT(!val.m_data.m_value.array->empty());
  ------------------
  |  | 2653|   364k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37844:13): [True: 364k, False: 0]
  ------------------
37845|   364k|            dump_element(val.m_data.m_value.array->back(), 0, depth + 1);
37846|       |
37847|   364k|            put_char(']');
37848|   364k|        }
37849|   364k|    }
_ZN8nlohmann16json_abi_v3_12_06detail21recursion_depth_limitEv:
 8762|  1.32M|{
 8763|       |    // an integer: not a floating-point number, whose range check would pass for 1.5 or 254.0
 8764|       |    // (bool and the character types are integer types, too, but true, false or 'a' are
 8765|       |    // no way to say a limit; JSON_UBJSON_VALUELESS_ELEMENTS_PER_BYTE refuses them as well)
 8766|  1.32M|    static_assert(std::is_integral<decltype(JSON_RECURSION_DEPTH_LIMIT)>::value
 8767|  1.32M|                  && !recursion_depth_limit_is_char_or_bool<typename std::remove_cv<decltype(JSON_RECURSION_DEPTH_LIMIT)>::type>::value,
 8768|  1.32M|                  "JSON_RECURSION_DEPTH_LIMIT must be an integer constant (not bool or a character type)");
 8769|  1.32M|    static_assert(JSON_RECURSION_DEPTH_LIMIT >= 0 && JSON_RECURSION_DEPTH_LIMIT <= 254,
 8770|  1.32M|                  "JSON_RECURSION_DEPTH_LIMIT must be between 0 and 254: the nesting depth is counted in a byte per thread "
 8771|  1.32M|                  "and may exceed the limit by one (see https://json.nlohmann.me/api/macros/json_recursion_depth_limit/)");
 8772|  1.32M|    return static_cast<std::size_t>(JSON_RECURSION_DEPTH_LIMIT);
  ------------------
  |  | 8697|  1.32M|    #define JSON_RECURSION_DEPTH_LIMIT 128
  ------------------
 8773|  1.32M|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16dump_iterativelyERKSG_m:
37884|  6.87k|    {
37885|       |        // Scalars, empty containers and binary values are written by dump_value
37886|       |        // alone, so nothing is allocated for them: only a container with
37887|       |        // elements is ever pushed.
37888|  6.87k|        std::vector<dump_frame> stack;
37889|       |
37890|  6.87k|        dump_value(val, current_indent, stack);
37891|       |
37892|   408k|        while (!stack.empty())
  ------------------
  |  Branch (37892:16): [True: 401k, False: 6.87k]
  ------------------
37893|   401k|        {
37894|   401k|            dump_frame& frame = stack.back();
37895|       |
37896|   401k|            if (frame.value->m_data.m_type == value_t::object)
  ------------------
  |  Branch (37896:17): [True: 37.5k, False: 364k]
  ------------------
37897|  37.5k|            {
37898|  37.5k|                const auto* object = frame.value->m_data.m_value.object;
37899|       |
37900|  37.5k|                if (frame.object_it == object->cend())
  ------------------
  |  Branch (37900:21): [True: 13.2k, False: 24.3k]
  ------------------
37901|  13.2k|                {
37902|  13.2k|                    if (pretty_print)
  ------------------
  |  Branch (37902:25): [True: 0, False: 13.2k]
  ------------------
37903|      0|                    {
37904|      0|                        put_literal_indent("\n", frame.current_indent);
37905|      0|                    }
37906|       |
37907|  13.2k|                    put_char('}');
37908|  13.2k|                    stack.pop_back();
37909|  13.2k|                    continue;
37910|  13.2k|                }
37911|       |
37912|       |                // the separator goes in front of every element but the first,
37913|       |                // which puts exactly one between each pair and none at the end
37914|  24.3k|                if (frame.object_it != object->cbegin())
  ------------------
  |  Branch (37914:21): [True: 11.1k, False: 13.2k]
  ------------------
37915|  11.1k|                {
37916|  11.1k|                    if (pretty_print)
  ------------------
  |  Branch (37916:25): [True: 0, False: 11.1k]
  ------------------
37917|      0|                    {
37918|      0|                        put_literal(",\n");
37919|      0|                    }
37920|  11.1k|                    else
37921|  11.1k|                    {
37922|  11.1k|                        put_char(',');
37923|  11.1k|                    }
37924|  11.1k|                }
37925|       |
37926|  24.3k|                if (pretty_print)
  ------------------
  |  Branch (37926:21): [True: 0, False: 24.3k]
  ------------------
37927|      0|                {
37928|      0|                    put_indent(frame.child_indent);
37929|      0|                }
37930|       |
37931|  24.3k|                if (pretty_print)
  ------------------
  |  Branch (37931:21): [True: 0, False: 24.3k]
  ------------------
37932|      0|                {
37933|      0|                    put_object_key(frame.object_it->first, "\": ");
37934|      0|                }
37935|  24.3k|                else
37936|  24.3k|                {
37937|  24.3k|                    put_object_key(frame.object_it->first, "\":");
37938|  24.3k|                }
37939|       |
37940|  24.3k|                const BasicJsonType& element = frame.object_it->second;
37941|  24.3k|                ++frame.object_it;
37942|       |
37943|       |                // read everything needed from the frame before this: entering a
37944|       |                // container pushes another one and can move them all
37945|  24.3k|                const std::size_t element_indent = frame.child_indent;
37946|  24.3k|                dump_value(element, element_indent, stack);
37947|  24.3k|            }
37948|   364k|            else
37949|   364k|            {
37950|   364k|                const auto* array = frame.value->m_data.m_value.array;
37951|       |
37952|   364k|                if (frame.array_it == array->cend())
  ------------------
  |  Branch (37952:21): [True: 170k, False: 193k]
  ------------------
37953|   170k|                {
37954|   170k|                    if (pretty_print)
  ------------------
  |  Branch (37954:25): [True: 0, False: 170k]
  ------------------
37955|      0|                    {
37956|      0|                        put_literal_indent("\n", frame.current_indent);
37957|      0|                    }
37958|       |
37959|   170k|                    put_char(']');
37960|   170k|                    stack.pop_back();
37961|   170k|                    continue;
37962|   170k|                }
37963|       |
37964|   193k|                if (frame.array_it != array->cbegin())
  ------------------
  |  Branch (37964:21): [True: 23.0k, False: 170k]
  ------------------
37965|  23.0k|                {
37966|  23.0k|                    if (pretty_print)
  ------------------
  |  Branch (37966:25): [True: 0, False: 23.0k]
  ------------------
37967|      0|                    {
37968|      0|                        put_literal(",\n");
37969|      0|                    }
37970|  23.0k|                    else
37971|  23.0k|                    {
37972|  23.0k|                        put_char(',');
37973|  23.0k|                    }
37974|  23.0k|                }
37975|       |
37976|   193k|                if (pretty_print)
  ------------------
  |  Branch (37976:21): [True: 0, False: 193k]
  ------------------
37977|      0|                {
37978|      0|                    put_indent(frame.child_indent);
37979|      0|                }
37980|       |
37981|   193k|                const BasicJsonType& element = *frame.array_it;
37982|   193k|                ++frame.array_it;
37983|       |
37984|       |                // see above
37985|   193k|                const std::size_t element_indent = frame.child_indent;
37986|   193k|                dump_value(element, element_indent, stack);
37987|   193k|            }
37988|   401k|        }
37989|  6.87k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_valueERKSG_mRNS6_INSH_10dump_frameENSA_ISK_EEEE:
38027|   224k|    {
38028|   224k|        switch (val.m_data.m_type)
38029|   224k|        {
38030|  18.2k|            case value_t::object:
  ------------------
  |  Branch (38030:13): [True: 18.2k, False: 206k]
  ------------------
38031|  18.2k|            {
38032|  18.2k|                if (val.m_data.m_value.object->empty())
  ------------------
  |  Branch (38032:21): [True: 5.04k, False: 13.2k]
  ------------------
38033|  5.04k|                {
38034|  5.04k|                    put_literal("{}");
38035|  5.04k|                    return;
38036|  5.04k|                }
38037|       |
38038|  13.2k|                std::size_t child_indent = current_indent;
38039|       |
38040|  13.2k|                if (pretty_print)
  ------------------
  |  Branch (38040:21): [True: 0, False: 13.2k]
  ------------------
38041|      0|                {
38042|      0|                    put_literal("{\n");
38043|      0|                    child_indent = next_indent(current_indent, indent_step);
38044|      0|                }
38045|  13.2k|                else
38046|  13.2k|                {
38047|  13.2k|                    put_char('{');
38048|  13.2k|                }
38049|       |
38050|  13.2k|                stack.emplace_back(&val, current_indent, child_indent);
38051|  13.2k|                stack.back().object_it = val.m_data.m_value.object->cbegin();
38052|  13.2k|                return;
38053|  18.2k|            }
38054|       |
38055|   177k|            case value_t::array:
  ------------------
  |  Branch (38055:13): [True: 177k, False: 47.6k]
  ------------------
38056|   177k|            {
38057|   177k|                if (val.m_data.m_value.array->empty())
  ------------------
  |  Branch (38057:21): [True: 6.64k, False: 170k]
  ------------------
38058|  6.64k|                {
38059|  6.64k|                    put_literal("[]");
38060|  6.64k|                    return;
38061|  6.64k|                }
38062|       |
38063|   170k|                std::size_t child_indent = current_indent;
38064|       |
38065|   170k|                if (pretty_print)
  ------------------
  |  Branch (38065:21): [True: 0, False: 170k]
  ------------------
38066|      0|                {
38067|      0|                    put_literal("[\n");
38068|      0|                    child_indent = next_indent(current_indent, indent_step);
38069|      0|                }
38070|   170k|                else
38071|   170k|                {
38072|   170k|                    put_char('[');
38073|   170k|                }
38074|       |
38075|   170k|                stack.emplace_back(&val, current_indent, child_indent);
38076|   170k|                stack.back().array_it = val.m_data.m_value.array->cbegin();
38077|   170k|                return;
38078|   177k|            }
38079|       |
38080|  1.60k|            case value_t::string:
  ------------------
  |  Branch (38080:13): [True: 1.60k, False: 223k]
  ------------------
38081|  3.46k|            case value_t::binary:
  ------------------
  |  Branch (38081:13): [True: 1.86k, False: 222k]
  ------------------
38082|  3.76k|            case value_t::boolean:
  ------------------
  |  Branch (38082:13): [True: 294, False: 224k]
  ------------------
38083|  9.21k|            case value_t::number_integer:
  ------------------
  |  Branch (38083:13): [True: 5.45k, False: 219k]
  ------------------
38084|  28.2k|            case value_t::number_unsigned:
  ------------------
  |  Branch (38084:13): [True: 19.0k, False: 205k]
  ------------------
38085|  28.6k|            case value_t::number_float:
  ------------------
  |  Branch (38085:13): [True: 420, False: 224k]
  ------------------
38086|  28.6k|            case value_t::discarded:
  ------------------
  |  Branch (38086:13): [True: 0, False: 224k]
  ------------------
38087|  29.3k|            case value_t::null:
  ------------------
  |  Branch (38087:13): [True: 672, False: 224k]
  ------------------
38088|  29.3k|            default:
  ------------------
  |  Branch (38088:13): [True: 0, False: 224k]
  ------------------
38089|  29.3k|                dump_scalar(val, current_indent);
38090|  29.3k|                return;
38091|   224k|        }
38092|   224k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_frameC2EPKSG_mm:
37997|   183k|            : value(value_)
37998|   183k|            , current_indent(current_indent_)
37999|   183k|            , child_indent(child_indent_)
38000|   183k|        {}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm3EEEvRAT__Kc:
39040|  46.2k|    {
39041|  46.2k|        static_assert(N >= 2, "put_literal expects a non-empty string literal");
39042|       |        // the array bound counts the terminating NUL, which is not written
39043|  46.2k|        constexpr std::size_t length = N - 1;
39044|  46.2k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  46.2k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  46.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 132, False: 46.0k]
  |  |  ------------------
  ------------------
39047|    132|        {
39048|    132|            flush();
39049|    132|        }
39050|  46.2k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  46.2k|        write_buffer_pos += length;
39052|  46.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18copy_plain_vectorsEPcPKcm:
38458|  6.27k|    {
38459|       |#if JSON_SCAN_NEON
38460|       |        const uint8x16_t a = vld1q_u8(reinterpret_cast<const std::uint8_t*>(p));
38461|       |        const uint8x16_t b = vld1q_u8(reinterpret_cast<const std::uint8_t*>(p + n - 16));
38462|       |        // (int8_t)(c ^ 2) < 33: the quote, the control characters and the
38463|       |        // non-ASCII bytes (see vector_plain_run())
38464|       |        const uint8x16_t flip = vdupq_n_u8(2);
38465|       |        const int8x16_t limit = vdupq_n_s8(33);
38466|       |        const uint8x16_t special = vorrq_u8(vorrq_u8(vorrq_u8(vceqq_u8(a, vdupq_n_u8('\\')), vceqq_u8(b, vdupq_n_u8('\\'))),
38467|       |                                            vorrq_u8(vceqq_u8(a, vdupq_n_u8(0x7F)), vceqq_u8(b, vdupq_n_u8(0x7F)))),
38468|       |                                            vorrq_u8(vcltq_s8(vreinterpretq_s8_u8(veorq_u8(a, flip)), limit), vcltq_s8(vreinterpretq_s8_u8(veorq_u8(b, flip)), limit)));
38469|       |        if (vmaxvq_u8(special) != 0)
38470|       |        {
38471|       |            return false;
38472|       |        }
38473|       |        vst1q_u8(reinterpret_cast<std::uint8_t*>(d), a);
38474|       |        vst1q_u8(reinterpret_cast<std::uint8_t*>(d + n - 16), b);
38475|       |#else
38476|  6.27k|        const __m128i a = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
38477|  6.27k|        const __m128i b = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(p + n - 16))); // NOLINT(bugprone-casting-through-void)
38478|       |        // (int8_t)(c ^ 2) < 33: the quote, the control characters and the
38479|       |        // non-ASCII bytes (see vector_plain_run())
38480|  6.27k|        const __m128i backslash = _mm_set1_epi8('\\');
38481|  6.27k|        const __m128i del = _mm_set1_epi8(0x7F);
38482|  6.27k|        const __m128i flip = _mm_set1_epi8(2);
38483|  6.27k|        const __m128i limit = _mm_set1_epi8(33);
38484|  6.27k|        const __m128i special = _mm_or_si128(_mm_or_si128(_mm_or_si128(_mm_cmpeq_epi8(a, backslash), _mm_cmpeq_epi8(b, backslash)),
38485|  6.27k|                                             _mm_or_si128(_mm_cmpeq_epi8(a, del), _mm_cmpeq_epi8(b, del))),
38486|  6.27k|                                             _mm_or_si128(_mm_cmplt_epi8(_mm_xor_si128(a, flip), limit), _mm_cmplt_epi8(_mm_xor_si128(b, flip), limit)));
38487|  6.27k|        if (_mm_movemask_epi8(special) != 0)
  ------------------
  |  Branch (38487:13): [True: 6.12k, False: 150]
  ------------------
38488|  6.12k|        {
38489|  6.12k|            return false;
38490|  6.12k|        }
38491|    150|        _mm_storeu_si128(static_cast<__m128i*>(static_cast<void*>(d)), a); // NOLINT(bugprone-casting-through-void)
38492|    150|        _mm_storeu_si128(static_cast<__m128i*>(static_cast<void*>(d + n - 16)), b); // NOLINT(bugprone-casting-through-void)
38493|    150|#endif
38494|    150|        return true;
38495|  6.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17copy_plain_halvesEPcPKcm:
38423|  4.99k|    {
38424|       |#if JSON_SCAN_NEON
38425|       |        const uint8x8_t lo = vld1_u8(reinterpret_cast<const std::uint8_t*>(p));
38426|       |        const uint8x8_t hi = vld1_u8(reinterpret_cast<const std::uint8_t*>(p + n - 8));
38427|       |        const uint8x16_t in = vcombine_u8(lo, hi);
38428|       |        // (int8_t)(c ^ 2) < 33: the quote, the control characters and the
38429|       |        // non-ASCII bytes (see vector_plain_run())
38430|       |        const uint8x16_t special = vorrq_u8(vorrq_u8(vceqq_u8(in, vdupq_n_u8('\\')), vceqq_u8(in, vdupq_n_u8(0x7F))),
38431|       |                                            vcltq_s8(vreinterpretq_s8_u8(veorq_u8(in, vdupq_n_u8(2))), vdupq_n_s8(33)));
38432|       |        if (vmaxvq_u8(special) != 0)
38433|       |        {
38434|       |            return false;
38435|       |        }
38436|       |        vst1_u8(reinterpret_cast<std::uint8_t*>(d), lo);
38437|       |        vst1_u8(reinterpret_cast<std::uint8_t*>(d + n - 8), hi);
38438|       |#else
38439|  4.99k|        const __m128i lo = _mm_loadl_epi64(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
38440|  4.99k|        const __m128i hi = _mm_loadl_epi64(static_cast<const __m128i*>(static_cast<const void*>(p + n - 8))); // NOLINT(bugprone-casting-through-void)
38441|  4.99k|        const __m128i in = _mm_unpacklo_epi64(lo, hi);
38442|  4.99k|        const __m128i special = _mm_or_si128(_mm_or_si128(_mm_cmpeq_epi8(in, _mm_set1_epi8('\\')), _mm_cmpeq_epi8(in, _mm_set1_epi8(0x7F))),
38443|  4.99k|                                             _mm_cmplt_epi8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(33)));
38444|  4.99k|        if (_mm_movemask_epi8(special) != 0)
  ------------------
  |  Branch (38444:13): [True: 4.71k, False: 288]
  ------------------
38445|  4.71k|        {
38446|  4.71k|            return false;
38447|  4.71k|        }
38448|    288|        _mm_storel_epi64(static_cast<__m128i*>(static_cast<void*>(d)), lo); // NOLINT(bugprone-casting-through-void)
38449|    288|        _mm_storel_epi64(static_cast<__m128i*>(static_cast<void*>(d + n - 8)), hi); // NOLINT(bugprone-casting-through-void)
38450|    288|#endif
38451|    288|        return true;
38452|  4.99k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9load_wordIjEET_PKc:
38324|  13.5k|    {
38325|  13.5k|        WordType w;
38326|  13.5k|        std::memcpy(&w, p, sizeof(w));
38327|  13.5k|        return w;
38328|  13.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14swar_not_plainEm:
38314|  50.5k|    {
38315|  50.5k|        constexpr std::uint64_t ones = 0x0101010101010101ull;
38316|  50.5k|        const std::uint64_t q = v ^ 0x2222222222222222ull; // '"'
38317|  50.5k|        const std::uint64_t b = v ^ 0x5C5C5C5C5C5C5C5Cull; // '\\'
38318|       |        // (see swar_string_special(): the bytes from 0x80 are flagged anyway)
38319|  50.5k|        return ((q - ones) | (b - ones) | (v - 0x2020202020202020ull) | v | (v + ones)) & 0x8080808080808080ull;
38320|  50.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10store_wordIjEEvPcT_:
38332|  1.16k|    {
38333|  1.16k|        std::memcpy(p, &w, sizeof(w));
38334|  1.16k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9load_wordItEET_PKc:
38324|  16.6k|    {
38325|  16.6k|        WordType w;
38326|  16.6k|        std::memcpy(&w, p, sizeof(w));
38327|  16.6k|        return w;
38328|  16.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10store_wordItEEvPcT_:
38332|  1.46k|    {
38333|  1.46k|        std::memcpy(p, &w, sizeof(w));
38334|  1.46k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_escapedERKSC_:
38517|  46.2k|    {
38518|       |        // Short strings of printable ASCII - most object keys and many values -
38519|       |        // are checked byte by byte against a table and then copied in one go.
38520|       |        // For them, this is cheaper than starting the vector scanner below,
38521|       |        // whose setup costs more than such a string takes to scan. The same
38522|       |        // check serves both values of ensure_ascii.
38523|       |        //
38524|       |        // Where put_short_quoted() exists and takes strings of up to 32 bytes,
38525|       |        // the callers have tried it already, and repeating the attempt only
38526|       |        // costs time for strings that need escaping or are not ASCII.
38527|       |#if !JSON_LITTLE_ENDIAN_TARGET || !JSON_SCAN_VECTOR
38528|       |        if (s.size() <= 32)
38529|       |        {
38530|       |            const auto& copyable = ascii_copyable();
38531|       |            const auto* const data = reinterpret_cast<const unsigned char*>(s.data());
38532|       |            const std::size_t n = s.size();
38533|       |            std::size_t k = 0;
38534|       |            while (k + 4 <= n && copyable[data[k]] != 0 && copyable[data[k + 1]] != 0
38535|       |                    && copyable[data[k + 2]] != 0 && copyable[data[k + 3]] != 0)
38536|       |            {
38537|       |                k += 4;
38538|       |            }
38539|       |            while (k < n && copyable[data[k]] != 0)
38540|       |            {
38541|       |                ++k;
38542|       |            }
38543|       |            if (k == n)
38544|       |            {
38545|       |                put_string(s, 0, n);
38546|       |                return;
38547|       |            }
38548|       |        }
38549|       |#endif
38550|       |
38551|       |        // dispatch once here rather than test the flag inside the loop: it does
38552|       |        // not change while a string is written, and folding it lets each of the
38553|       |        // two scanners be inlined into a loop of its own
38554|  46.2k|        if (ensure_ascii)
  ------------------
  |  Branch (38554:13): [True: 0, False: 46.2k]
  ------------------
38555|      0|        {
38556|      0|            dump_escaped_impl<true>(s);
38557|      0|        }
38558|  46.2k|        else
38559|  46.2k|        {
38560|  46.2k|            dump_escaped_impl<false>(s);
38561|  46.2k|        }
38562|  46.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail16read_eight_bytesEPKh:
 9223|   181k|{
 9224|   181k|#if JSON_LITTLE_ENDIAN_TARGET
 9225|       |    // the byte order already matches
 9226|   181k|    std::uint64_t result = 0;
 9227|   181k|    std::memcpy(&result, b, sizeof(result));
 9228|   181k|    return result;
 9229|       |#else
 9230|       |    return static_cast<std::uint64_t>(b[0]) | (static_cast<std::uint64_t>(b[1]) << 8u)
 9231|       |           | (static_cast<std::uint64_t>(b[2]) << 16u) | (static_cast<std::uint64_t>(b[3]) << 24u)
 9232|       |           | (static_cast<std::uint64_t>(b[4]) << 32u) | (static_cast<std::uint64_t>(b[5]) << 40u)
 9233|       |           | (static_cast<std::uint64_t>(b[6]) << 48u) | (static_cast<std::uint64_t>(b[7]) << 56u);
 9234|       |#endif
 9235|   181k|}
_ZN8nlohmann16json_abi_v3_12_06detail20count_trailing_zerosEm:
 9095|   224k|{
 9096|   224k|#if defined(__GNUC__) || defined(__clang__)
 9097|   224k|    return __builtin_ctzll(x);
 9098|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_ARM64))
 9099|       |    unsigned long index = 0; // NOLINT(runtime/int): the type _BitScan*64 takes
 9100|       |    _BitScanForward64(&index, x);
 9101|       |    return static_cast<int>(index);
 9102|       |#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_ARM))
 9103|       |    unsigned long index = 0; // NOLINT(runtime/int): the type _BitScan* takes
 9104|       |    if (_BitScanForward(&index, static_cast<unsigned long>(x))) // NOLINT(runtime/int)
 9105|       |    {
 9106|       |        return static_cast<int>(index);
 9107|       |    }
 9108|       |    _BitScanForward(&index, static_cast<unsigned long>(x >> 32u)); // NOLINT(runtime/int)
 9109|       |    return 32 + static_cast<int>(index);
 9110|       |#elif defined(__cpp_lib_bitops)
 9111|       |    return std::countr_zero(x);
 9112|       |#else
 9113|       |    int n = 0;
 9114|       |    for (int shift = 32; shift != 0; shift >>= 1)
 9115|       |    {
 9116|       |        if ((x << (64 - shift)) == 0)
 9117|       |        {
 9118|       |            n += shift;
 9119|       |            x >>= shift;
 9120|       |        }
 9121|       |    }
 9122|       |    return n;
 9123|       |#endif
 9124|   224k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12emit_pendingERm:
38566|   102k|    {
38567|   102k|        if (bytes != 0)
  ------------------
  |  Branch (38567:13): [True: 39.8k, False: 63.1k]
  ------------------
38568|  39.8k|        {
38569|  39.8k|            put_buffer(string_buffer, bytes);
38570|  39.8k|            bytes = 0;
38571|  39.8k|        }
38572|   102k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE7put_runISC_EEvRKT_mm:
39064|  38.0k|    {
39065|       |        // a short run is the exception in text without escapes (CJK, accented
39066|       |        // Latin), for which this keeps the long path the fast one
39067|  38.0k|        if (JSON_HEDLEY_UNLIKELY(length <= 16 && start + 16 <= str.size() && write_buffer_pos + 16 <= write_buffer.size()))
  ------------------
  |  | 1697|   129k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15.9k, False: 22.1k]
  |  |  |  Branch (1697:94): [True: 37.2k, False: 768]
  |  |  |  Branch (1697:94): [True: 15.9k, False: 21.3k]
  |  |  |  Branch (1697:94): [True: 15.9k, False: 54]
  |  |  ------------------
  ------------------
39068|  15.9k|        {
39069|  15.9k|            std::memcpy(write_buffer.data() + write_buffer_pos, str.data() + start, 16);
39070|  15.9k|            write_buffer_pos += length;
39071|  15.9k|            return;
39072|  15.9k|        }
39073|  22.1k|        put_string(str, start, start + length);
39074|  22.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_stringISC_EEvRKT_mm:
39087|  22.1k|    {
39088|  22.1k|        JSON_ASSERT(start <= end);
  ------------------
  |  | 2653|  22.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39088:9): [True: 22.1k, False: 0]
  ------------------
39089|  22.1k|        JSON_ASSERT(end <= str.size());
  ------------------
  |  | 2653|  22.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39089:9): [True: 22.1k, False: 0]
  ------------------
39090|       |
39091|  22.1k|        const char* const s = str.data() + start;
39092|  22.1k|        const std::size_t length = end - start;
39093|       |
39094|  22.1k|        if (JSON_HEDLEY_UNLIKELY(length >= write_buffer.size()))
  ------------------
  |  | 1697|  22.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 22.1k]
  |  |  ------------------
  ------------------
39095|      0|        {
39096|      0|            flush();
39097|      0|            o->write_characters(s, length);
39098|      0|            return;
39099|      0|        }
39100|  22.1k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  22.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 24, False: 22.1k]
  |  |  ------------------
  ------------------
39101|     24|        {
39102|     24|            flush();
39103|     24|        }
39104|  22.1k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39105|  22.1k|        write_buffer_pos += length;
39106|  22.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE13ascii_escapesEv:
39200|  64.9k|    {
39201|  64.9k|        static const std::array<std::array<char, 8>, 0x60> escapes =
39202|  64.9k|        {
39203|  64.9k|            {
39204|  64.9k|                {{'\\', 'u', '0', '0', '0', '0', 0, 6}}, // 0x00
39205|  64.9k|                {{'\\', 'u', '0', '0', '0', '1', 0, 6}}, // 0x01
39206|  64.9k|                {{'\\', 'u', '0', '0', '0', '2', 0, 6}}, // 0x02
39207|  64.9k|                {{'\\', 'u', '0', '0', '0', '3', 0, 6}}, // 0x03
39208|  64.9k|                {{'\\', 'u', '0', '0', '0', '4', 0, 6}}, // 0x04
39209|  64.9k|                {{'\\', 'u', '0', '0', '0', '5', 0, 6}}, // 0x05
39210|  64.9k|                {{'\\', 'u', '0', '0', '0', '6', 0, 6}}, // 0x06
39211|  64.9k|                {{'\\', 'u', '0', '0', '0', '7', 0, 6}}, // 0x07
39212|  64.9k|                {{'\\', 'b', 0, 0, 0, 0, 0, 2}}, // 0x08
39213|  64.9k|                {{'\\', 't', 0, 0, 0, 0, 0, 2}}, // 0x09
39214|  64.9k|                {{'\\', 'n', 0, 0, 0, 0, 0, 2}}, // 0x0A
39215|  64.9k|                {{'\\', 'u', '0', '0', '0', 'b', 0, 6}}, // 0x0B
39216|  64.9k|                {{'\\', 'f', 0, 0, 0, 0, 0, 2}}, // 0x0C
39217|  64.9k|                {{'\\', 'r', 0, 0, 0, 0, 0, 2}}, // 0x0D
39218|  64.9k|                {{'\\', 'u', '0', '0', '0', 'e', 0, 6}}, // 0x0E
39219|  64.9k|                {{'\\', 'u', '0', '0', '0', 'f', 0, 6}}, // 0x0F
39220|  64.9k|                {{'\\', 'u', '0', '0', '1', '0', 0, 6}}, // 0x10
39221|  64.9k|                {{'\\', 'u', '0', '0', '1', '1', 0, 6}}, // 0x11
39222|  64.9k|                {{'\\', 'u', '0', '0', '1', '2', 0, 6}}, // 0x12
39223|  64.9k|                {{'\\', 'u', '0', '0', '1', '3', 0, 6}}, // 0x13
39224|  64.9k|                {{'\\', 'u', '0', '0', '1', '4', 0, 6}}, // 0x14
39225|  64.9k|                {{'\\', 'u', '0', '0', '1', '5', 0, 6}}, // 0x15
39226|  64.9k|                {{'\\', 'u', '0', '0', '1', '6', 0, 6}}, // 0x16
39227|  64.9k|                {{'\\', 'u', '0', '0', '1', '7', 0, 6}}, // 0x17
39228|  64.9k|                {{'\\', 'u', '0', '0', '1', '8', 0, 6}}, // 0x18
39229|  64.9k|                {{'\\', 'u', '0', '0', '1', '9', 0, 6}}, // 0x19
39230|  64.9k|                {{'\\', 'u', '0', '0', '1', 'a', 0, 6}}, // 0x1A
39231|  64.9k|                {{'\\', 'u', '0', '0', '1', 'b', 0, 6}}, // 0x1B
39232|  64.9k|                {{'\\', 'u', '0', '0', '1', 'c', 0, 6}}, // 0x1C
39233|  64.9k|                {{'\\', 'u', '0', '0', '1', 'd', 0, 6}}, // 0x1D
39234|  64.9k|                {{'\\', 'u', '0', '0', '1', 'e', 0, 6}}, // 0x1E
39235|  64.9k|                {{'\\', 'u', '0', '0', '1', 'f', 0, 6}}, // 0x1F
39236|  64.9k|                {{' ', 0, 0, 0, 0, 0, 0, 1}}, // 0x20
39237|  64.9k|                {{'!', 0, 0, 0, 0, 0, 0, 1}}, // 0x21
39238|  64.9k|                {{'\\', '"', 0, 0, 0, 0, 0, 2}}, // 0x22
39239|  64.9k|                {{'#', 0, 0, 0, 0, 0, 0, 1}}, // 0x23
39240|  64.9k|                {{'$', 0, 0, 0, 0, 0, 0, 1}}, // 0x24
39241|  64.9k|                {{'%', 0, 0, 0, 0, 0, 0, 1}}, // 0x25
39242|  64.9k|                {{'&', 0, 0, 0, 0, 0, 0, 1}}, // 0x26
39243|  64.9k|                {{'\'', 0, 0, 0, 0, 0, 0, 1}}, // 0x27
39244|  64.9k|                {{'(', 0, 0, 0, 0, 0, 0, 1}}, // 0x28
39245|  64.9k|                {{')', 0, 0, 0, 0, 0, 0, 1}}, // 0x29
39246|  64.9k|                {{'*', 0, 0, 0, 0, 0, 0, 1}}, // 0x2A
39247|  64.9k|                {{'+', 0, 0, 0, 0, 0, 0, 1}}, // 0x2B
39248|  64.9k|                {{',', 0, 0, 0, 0, 0, 0, 1}}, // 0x2C
39249|  64.9k|                {{'-', 0, 0, 0, 0, 0, 0, 1}}, // 0x2D
39250|  64.9k|                {{'.', 0, 0, 0, 0, 0, 0, 1}}, // 0x2E
39251|  64.9k|                {{'/', 0, 0, 0, 0, 0, 0, 1}}, // 0x2F
39252|  64.9k|                {{'0', 0, 0, 0, 0, 0, 0, 1}}, // 0x30
39253|  64.9k|                {{'1', 0, 0, 0, 0, 0, 0, 1}}, // 0x31
39254|  64.9k|                {{'2', 0, 0, 0, 0, 0, 0, 1}}, // 0x32
39255|  64.9k|                {{'3', 0, 0, 0, 0, 0, 0, 1}}, // 0x33
39256|  64.9k|                {{'4', 0, 0, 0, 0, 0, 0, 1}}, // 0x34
39257|  64.9k|                {{'5', 0, 0, 0, 0, 0, 0, 1}}, // 0x35
39258|  64.9k|                {{'6', 0, 0, 0, 0, 0, 0, 1}}, // 0x36
39259|  64.9k|                {{'7', 0, 0, 0, 0, 0, 0, 1}}, // 0x37
39260|  64.9k|                {{'8', 0, 0, 0, 0, 0, 0, 1}}, // 0x38
39261|  64.9k|                {{'9', 0, 0, 0, 0, 0, 0, 1}}, // 0x39
39262|  64.9k|                {{':', 0, 0, 0, 0, 0, 0, 1}}, // 0x3A
39263|  64.9k|                {{';', 0, 0, 0, 0, 0, 0, 1}}, // 0x3B
39264|  64.9k|                {{'<', 0, 0, 0, 0, 0, 0, 1}}, // 0x3C
39265|  64.9k|                {{'=', 0, 0, 0, 0, 0, 0, 1}}, // 0x3D
39266|  64.9k|                {{'>', 0, 0, 0, 0, 0, 0, 1}}, // 0x3E
39267|  64.9k|                {{'?', 0, 0, 0, 0, 0, 0, 1}}, // 0x3F
39268|  64.9k|                {{'@', 0, 0, 0, 0, 0, 0, 1}}, // 0x40
39269|  64.9k|                {{'A', 0, 0, 0, 0, 0, 0, 1}}, // 0x41
39270|  64.9k|                {{'B', 0, 0, 0, 0, 0, 0, 1}}, // 0x42
39271|  64.9k|                {{'C', 0, 0, 0, 0, 0, 0, 1}}, // 0x43
39272|  64.9k|                {{'D', 0, 0, 0, 0, 0, 0, 1}}, // 0x44
39273|  64.9k|                {{'E', 0, 0, 0, 0, 0, 0, 1}}, // 0x45
39274|  64.9k|                {{'F', 0, 0, 0, 0, 0, 0, 1}}, // 0x46
39275|  64.9k|                {{'G', 0, 0, 0, 0, 0, 0, 1}}, // 0x47
39276|  64.9k|                {{'H', 0, 0, 0, 0, 0, 0, 1}}, // 0x48
39277|  64.9k|                {{'I', 0, 0, 0, 0, 0, 0, 1}}, // 0x49
39278|  64.9k|                {{'J', 0, 0, 0, 0, 0, 0, 1}}, // 0x4A
39279|  64.9k|                {{'K', 0, 0, 0, 0, 0, 0, 1}}, // 0x4B
39280|  64.9k|                {{'L', 0, 0, 0, 0, 0, 0, 1}}, // 0x4C
39281|  64.9k|                {{'M', 0, 0, 0, 0, 0, 0, 1}}, // 0x4D
39282|  64.9k|                {{'N', 0, 0, 0, 0, 0, 0, 1}}, // 0x4E
39283|  64.9k|                {{'O', 0, 0, 0, 0, 0, 0, 1}}, // 0x4F
39284|  64.9k|                {{'P', 0, 0, 0, 0, 0, 0, 1}}, // 0x50
39285|  64.9k|                {{'Q', 0, 0, 0, 0, 0, 0, 1}}, // 0x51
39286|  64.9k|                {{'R', 0, 0, 0, 0, 0, 0, 1}}, // 0x52
39287|  64.9k|                {{'S', 0, 0, 0, 0, 0, 0, 1}}, // 0x53
39288|  64.9k|                {{'T', 0, 0, 0, 0, 0, 0, 1}}, // 0x54
39289|  64.9k|                {{'U', 0, 0, 0, 0, 0, 0, 1}}, // 0x55
39290|  64.9k|                {{'V', 0, 0, 0, 0, 0, 0, 1}}, // 0x56
39291|  64.9k|                {{'W', 0, 0, 0, 0, 0, 0, 1}}, // 0x57
39292|  64.9k|                {{'X', 0, 0, 0, 0, 0, 0, 1}}, // 0x58
39293|  64.9k|                {{'Y', 0, 0, 0, 0, 0, 0, 1}}, // 0x59
39294|  64.9k|                {{'Z', 0, 0, 0, 0, 0, 0, 1}}, // 0x5A
39295|  64.9k|                {{'[', 0, 0, 0, 0, 0, 0, 1}}, // 0x5B
39296|  64.9k|                {{'\\', '\\', 0, 0, 0, 0, 0, 2}}, // 0x5C
39297|  64.9k|                {{']', 0, 0, 0, 0, 0, 0, 1}}, // 0x5D
39298|  64.9k|                {{'^', 0, 0, 0, 0, 0, 0, 1}}, // 0x5E
39299|  64.9k|                {{'_', 0, 0, 0, 0, 0, 0, 1}}, // 0x5F
39300|  64.9k|            }
39301|  64.9k|        };
39302|  64.9k|        return escapes;
39303|  64.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_bufferILm512EEEvRKNS4_5arrayIcXT_EEEm:
39113|  70.5k|    {
39114|  70.5k|        put_string(buffer, 0, length);
39115|  70.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_stringINS4_5arrayIcLm512EEEEEvRKT_mm:
39087|  70.5k|    {
39088|  70.5k|        JSON_ASSERT(start <= end);
  ------------------
  |  | 2653|  70.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39088:9): [True: 70.5k, False: 0]
  ------------------
39089|  70.5k|        JSON_ASSERT(end <= str.size());
  ------------------
  |  | 2653|  70.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39089:9): [True: 70.5k, False: 0]
  ------------------
39090|       |
39091|  70.5k|        const char* const s = str.data() + start;
39092|  70.5k|        const std::size_t length = end - start;
39093|       |
39094|  70.5k|        if (JSON_HEDLEY_UNLIKELY(length >= write_buffer.size()))
  ------------------
  |  | 1697|  70.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 70.5k]
  |  |  ------------------
  ------------------
39095|      0|        {
39096|      0|            flush();
39097|      0|            o->write_characters(s, length);
39098|      0|            return;
39099|      0|        }
39100|  70.5k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  70.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 72, False: 70.4k]
  |  |  ------------------
  ------------------
39101|     72|        {
39102|     72|            flush();
39103|     72|        }
39104|  70.5k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39105|  70.5k|        write_buffer_pos += length;
39106|  70.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17validate_one_utf8EPKhm:
13120|   232k|{
13121|   232k|    const unsigned char c0 = data[0];
13122|   232k|    if (c0 >= 0xC2 && c0 <= 0xDF)  // U+0080..U+07FF
  ------------------
  |  Branch (13122:9): [True: 95.5k, False: 137k]
  |  Branch (13122:23): [True: 23.8k, False: 71.7k]
  ------------------
13123|  23.8k|    {
13124|  23.8k|        if (avail >= 2 && data[1] >= 0x80 && data[1] <= 0xBF)
  ------------------
  |  Branch (13124:13): [True: 21.7k, False: 2.16k]
  |  Branch (13124:27): [True: 15.8k, False: 5.86k]
  |  Branch (13124:46): [True: 5.69k, False: 10.1k]
  ------------------
13125|  5.69k|        {
13126|  5.69k|            return 2;
13127|  5.69k|        }
13128|  23.8k|    }
13129|   209k|    else if (c0 == 0xE0)  // U+0800..U+0FFF
  ------------------
  |  Branch (13129:14): [True: 6.18k, False: 202k]
  ------------------
13130|  6.18k|    {
13131|  6.18k|        if (avail >= 3 && data[1] >= 0xA0 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13131:13): [True: 5.17k, False: 1.00k]
  |  Branch (13131:27): [True: 4.18k, False: 990]
  |  Branch (13131:46): [True: 1.95k, False: 2.22k]
  |  Branch (13131:65): [True: 1.31k, False: 642]
  |  Branch (13131:84): [True: 684, False: 630]
  ------------------
13132|    684|        {
13133|    684|            return 3;
13134|    684|        }
13135|  6.18k|    }
13136|   202k|    else if ((c0 >= 0xE1 && c0 <= 0xEC) || c0 == 0xEE || c0 == 0xEF)  // U+1000..U+CFFF, U+E000..U+FFFF
  ------------------
  |  Branch (13136:15): [True: 65.5k, False: 137k]
  |  Branch (13136:29): [True: 8.91k, False: 56.6k]
  |  Branch (13136:44): [True: 1.90k, False: 192k]
  |  Branch (13136:58): [True: 1.68k, False: 190k]
  ------------------
13137|  12.5k|    {
13138|  12.5k|        if (avail >= 3 && data[1] >= 0x80 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13138:13): [True: 9.73k, False: 2.77k]
  |  Branch (13138:27): [True: 8.22k, False: 1.50k]
  |  Branch (13138:46): [True: 2.78k, False: 5.44k]
  |  Branch (13138:65): [True: 2.26k, False: 522]
  |  Branch (13138:84): [True: 1.30k, False: 960]
  ------------------
13139|  1.30k|        {
13140|  1.30k|            return 3;
13141|  1.30k|        }
13142|  12.5k|    }
13143|   190k|    else if (c0 == 0xED)  // U+D000..U+D7FF (excludes surrogates)
  ------------------
  |  Branch (13143:14): [True: 5.02k, False: 185k]
  ------------------
13144|  5.02k|    {
13145|  5.02k|        if (avail >= 3 && data[1] >= 0x80 && data[1] <= 0x9F && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13145:13): [True: 3.83k, False: 1.18k]
  |  Branch (13145:27): [True: 3.17k, False: 660]
  |  Branch (13145:46): [True: 1.72k, False: 1.44k]
  |  Branch (13145:65): [True: 1.19k, False: 534]
  |  Branch (13145:84): [True: 630, False: 564]
  ------------------
13146|    630|        {
13147|    630|            return 3;
13148|    630|        }
13149|  5.02k|    }
13150|   185k|    else if (c0 == 0xF0)  // U+10000..U+3FFFF
  ------------------
  |  Branch (13150:14): [True: 7.51k, False: 177k]
  ------------------
13151|  7.51k|    {
13152|  7.51k|        if (avail >= 4 && data[1] >= 0x90 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF && data[3] >= 0x80 && data[3] <= 0xBF)
  ------------------
  |  Branch (13152:13): [True: 6.34k, False: 1.17k]
  |  Branch (13152:27): [True: 5.38k, False: 960]
  |  Branch (13152:46): [True: 3.15k, False: 2.22k]
  |  Branch (13152:65): [True: 2.53k, False: 618]
  |  Branch (13152:84): [True: 1.68k, False: 858]
  |  Branch (13152:103): [True: 1.41k, False: 264]
  |  Branch (13152:122): [True: 720, False: 696]
  ------------------
13153|    720|        {
13154|    720|            return 4;
13155|    720|        }
13156|  7.51k|    }
13157|   177k|    else if (c0 >= 0xF1 && c0 <= 0xF3)  // U+40000..U+FFFFF
  ------------------
  |  Branch (13157:14): [True: 40.4k, False: 137k]
  |  Branch (13157:28): [True: 8.63k, False: 31.8k]
  ------------------
13158|  8.63k|    {
13159|  8.63k|        if (avail >= 4 && data[1] >= 0x80 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF && data[3] >= 0x80 && data[3] <= 0xBF)
  ------------------
  |  Branch (13159:13): [True: 7.21k, False: 1.41k]
  |  Branch (13159:27): [True: 6.48k, False: 732]
  |  Branch (13159:46): [True: 3.73k, False: 2.75k]
  |  Branch (13159:65): [True: 3.13k, False: 594]
  |  Branch (13159:84): [True: 2.02k, False: 1.11k]
  |  Branch (13159:103): [True: 1.43k, False: 588]
  |  Branch (13159:122): [True: 660, False: 774]
  ------------------
13160|    660|        {
13161|    660|            return 4;
13162|    660|        }
13163|  8.63k|    }
13164|   169k|    else if (c0 == 0xF4)  // U+100000..U+10FFFF
  ------------------
  |  Branch (13164:14): [True: 5.70k, False: 163k]
  ------------------
13165|  5.70k|    {
13166|  5.70k|        if (avail >= 4 && data[1] >= 0x80 && data[1] <= 0x8F && data[2] >= 0x80 && data[2] <= 0xBF && data[3] >= 0x80 && data[3] <= 0xBF)
  ------------------
  |  Branch (13166:13): [True: 4.95k, False: 744]
  |  Branch (13166:27): [True: 4.29k, False: 666]
  |  Branch (13166:46): [True: 3.00k, False: 1.29k]
  |  Branch (13166:65): [True: 2.46k, False: 540]
  |  Branch (13166:84): [True: 1.95k, False: 504]
  |  Branch (13166:103): [True: 1.05k, False: 906]
  |  Branch (13166:122): [True: 540, False: 510]
  ------------------
13167|    540|        {
13168|    540|            return 4;
13169|    540|        }
13170|  5.70k|    }
13171|   222k|    return 0; // invalid, incomplete, or must be diagnosed by the byte path
13172|   232k|}
_ZN8nlohmann16json_abi_v3_12_06detail6decodeERhRjh:
 7414|   291k|{
 7415|   291k|    static const std::array<std::uint8_t, 400> utf8d =
 7416|   291k|    {
 7417|   291k|        {
 7418|   291k|            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1F
 7419|   291k|            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 20..3F
 7420|   291k|            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 40..5F
 7421|   291k|            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 60..7F
 7422|   291k|            1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // 80..9F
 7423|   291k|            7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // A0..BF
 7424|   291k|            8, 8, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // C0..DF
 7425|   291k|            0xA, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, // E0..EF
 7426|   291k|            0xB, 0x6, 0x6, 0x6, 0x5, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, // F0..FF
 7427|   291k|            0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0
 7428|   291k|            1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, // s1..s2
 7429|   291k|            1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, // s3..s4
 7430|   291k|            1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, // s5..s6
 7431|   291k|            1, 3, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 // s7..s8
 7432|   291k|        }
 7433|   291k|    };
 7434|       |
 7435|   291k|    JSON_ASSERT(static_cast<std::size_t>(byte) < utf8d.size());
  ------------------
  |  | 2653|   291k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (7435:5): [True: 291k, False: 0]
  ------------------
 7436|   291k|    const std::uint8_t type = utf8d[byte];
 7437|       |
 7438|   291k|    codep = (state != UTF8_ACCEPT)
  ------------------
  |  Branch (7438:13): [True: 68.2k, False: 222k]
  ------------------
 7439|   291k|            ? (byte & 0x3fu) | (codep << 6u)
 7440|   291k|            : (0xFFu >> type) & (byte);
 7441|       |
 7442|   291k|    const std::size_t index = 256u + (static_cast<std::size_t>(state) * 16u) + static_cast<std::size_t>(type);
 7443|   291k|    JSON_ASSERT(index < utf8d.size());
  ------------------
  |  | 2653|   291k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (7443:5): [True: 291k, False: 0]
  ------------------
 7444|   291k|    state = utf8d[index];
 7445|   291k|    return state;
 7446|   291k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE21reserve_string_bufferERm:
38578|   215k|    {
38579|   215k|        if (string_buffer.size() - bytes < 13)
  ------------------
  |  Branch (38579:13): [True: 0, False: 215k]
  ------------------
38580|      0|        {
38581|      0|            put_buffer(string_buffer, bytes);
38582|      0|            bytes = 0;
38583|      0|        }
38584|   215k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_EEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJEEEmRKT_DpRKT0_:
 5447|  81.0k|{
 5448|  81.0k|    return str.size() + concat_length(rest...);
 5449|  81.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthEv:
 5423|   107k|{
 5424|   107k|    return 0;
 5425|   107k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 5500|  52.7k|{
 5501|  52.7k|    out.append(std::forward<Arg>(arg));
 5502|  52.7k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  52.7k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEvRT_:
 5453|   107k|{}
_ZN8nlohmann16json_abi_v3_12_06detail9exception4nameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEi:
 5669|  26.3k|    {
 5670|  26.3k|        return concat("[json.exception.", ename, '.', std::to_string(id_), "] ");
 5671|  26.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA17_KcRKS9_cS9_RA3_SA_EEET_DpOT0_:
 5537|  26.3k|{
 5538|  26.3k|    OutStringType str;
 5539|  26.3k|    str.reserve(concat_length(args...));
 5540|  26.3k|    concat_into(str, std::forward<Args>(args)...);
 5541|  26.3k|    return str;
 5542|  26.3k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcS9_A3_cEEEmPKcDpRKT_:
 5441|  26.3k|{
 5442|  26.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJcS9_A3_cEEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cEEEmcDpRKT_:
 5435|  26.3k|{
 5436|  26.3k|    return 1 + concat_length(rest...);
 5437|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cEEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJEEEmPKcDpRKT_:
 5441|  26.3k|{
 5442|  26.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA17_KcJRKS9_cS9_RA3_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JcS9_RA3_KcETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcJS9_RA3_KcETnNS3_9enable_ifIXaantsr24detect_string_can_appendIT_T0_EE5valuesr27detect_string_can_append_opISE_SF_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5509|  26.3k|{
 5510|  26.3k|    out += std::forward<Arg>(arg);
 5511|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5512|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA3_KcETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail9exception11diagnosticsEDn:
 5681|  26.3k|    {
 5682|  26.3k|        return "";
 5683|  26.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exceptionC2EiPKc:
 5666|  26.3k|    exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} // NOLINT(bugprone-throw-keyword-missing)
_ZNK8nlohmann16json_abi_v3_12_06detail9exception4whatEv:
 5657|  17.5k|    {
 5658|  17.5k|        return m.what();
 5659|  17.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|  54.6k|{
 5442|  54.6k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  54.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA5_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|     12|{
 5501|     12|    out.append(std::forward<Arg>(arg));
 5502|     12|    concat_into(out, std::forward<Args>(rest)...);
 5503|     12|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSB_OSC_DpOT1_:
 5500|  28.3k|{
 5501|  28.3k|    out.append(std::forward<Arg>(arg));
 5502|  28.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  28.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail8hex_byteEh:
 7225|  3.90k|{
 7226|  3.90k|    std::string result = "00";
 7227|  3.90k|    constexpr const char* nibble_to_hex = "0123456789ABCDEF";
 7228|  3.90k|    result[0] = nibble_to_hex[byte / 16];
 7229|  3.90k|    result[1] = nibble_to_hex[byte % 16];
 7230|  3.90k|    return result;
 7231|  3.90k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_escaped_implILb0EEEvRKSC_:
38599|  46.2k|    {
38600|  46.2k|        std::uint32_t codepoint{};
38601|  46.2k|        std::uint8_t state = UTF8_ACCEPT;
38602|  46.2k|        std::size_t bytes = 0;  // number of bytes written to string_buffer
38603|       |
38604|       |        // number of bytes written at the point of the last valid byte
38605|  46.2k|        std::size_t bytes_after_last_accept = 0;
38606|  46.2k|        std::size_t undumped_chars = 0;
38607|       |
38608|   402k|        for (std::size_t i = 0; i < s.size(); ++i)
  ------------------
  |  Branch (38608:33): [True: 363k, False: 38.5k]
  ------------------
38609|   363k|        {
38610|       |            // Fast path: at a character boundary (state == UTF8_ACCEPT),
38611|       |            // bulk-copy the longest run of bytes that need no escaping using a
38612|       |            // SWAR scanner shared with the lexer's contiguous path. The scanner
38613|       |            // stops exactly at the first byte dump_escaped would handle
38614|       |            // individually, so that byte is left to the byte-at-a-time path
38615|       |            // below, keeping escaping output and error diagnostics unchanged.
38616|       |            //
38617|       |            // - EnsureAscii == false: string_bulk_run() copies ordinary bytes
38618|       |            //   and complete well-formed UTF-8, stopping at a quote, backslash,
38619|       |            //   control character (< 0x20), or ill-formed/truncated sequence.
38620|       |            // - EnsureAscii == true: only printable ASCII may be copied
38621|       |            //   verbatim; find_ascii_copyable_run() additionally stops at 0x7F
38622|       |            //   and every non-ASCII byte (>= 0x80), which must be \u-escaped.
38623|   363k|            if (state == UTF8_ACCEPT)
  ------------------
  |  Branch (38623:17): [True: 295k, False: 68.2k]
  ------------------
38624|   295k|            {
38625|   295k|                const auto* const data = reinterpret_cast<const unsigned char*>(s.data());
38626|       |                // A run can only be non-empty when the very first byte is one
38627|       |                // the scanner may copy, so test that single byte before paying
38628|       |                // for the scan. Without it, text whose characters all have to be
38629|       |                // escaped - CJK under ensure_ascii, where every byte is >= 0x80 -
38630|       |                // runs the scanner once per character only to be told zero.
38631|   295k|                std::size_t run = 0;
38632|   295k|                if (!EnsureAscii)
  ------------------
  |  Branch (38632:21): [True: 295k, Folded]
  ------------------
38633|   295k|                {
38634|   295k|                    run = string_bulk_run(data + i, s.size() - i);
38635|   295k|                }
38636|      0|                else if (is_ascii_copyable(data[i]))
  ------------------
  |  Branch (38636:26): [True: 0, False: 0]
  ------------------
38637|      0|                {
38638|      0|                    run = find_ascii_copyable_run(data + i, s.size() - i);
38639|      0|                }
38640|   295k|                if (run != 0)
  ------------------
  |  Branch (38640:21): [True: 38.0k, False: 257k]
  ------------------
38641|  38.0k|                {
38642|       |                    // emit any bytes still pending in string_buffer first to
38643|       |                    // preserve output order, then write the run directly
38644|  38.0k|                    emit_pending(bytes);
38645|  38.0k|                    put_run(s, i, run);
38646|  38.0k|                    bytes_after_last_accept = 0;
38647|  38.0k|                    undumped_chars = 0;
38648|  38.0k|                    i += run;
38649|  38.0k|                    if (i >= s.size())
  ------------------
  |  Branch (38649:25): [True: 7.75k, False: 30.3k]
  ------------------
38650|  7.75k|                    {
38651|  7.75k|                        break;
38652|  7.75k|                    }
38653|  38.0k|                }
38654|       |
38655|       |                // A byte below 0x60 is a complete code point and needs no
38656|       |                // UTF-8 decoding. The scanner stops only at a control
38657|       |                // character, a quote, or a backslash in that range, so look up
38658|       |                // its escape sequence and write all 8 bytes of the table entry
38659|       |                // straight into the write buffer; only the length stored in the
38660|       |                // last byte of the entry is kept.
38661|   287k|                if (data[i] < 0x60)
  ------------------
  |  Branch (38661:21): [True: 64.9k, False: 222k]
  ------------------
38662|  64.9k|                {
38663|       |                    // emit any bytes still pending in string_buffer first to
38664|       |                    // preserve output order
38665|  64.9k|                    emit_pending(bytes);
38666|       |                    // deliberately not put_buffer(): a fixed 8-byte memcpy
38667|       |                    // has no asserts and no write-through branch, which
38668|       |                    // matters on the hot path
38669|  64.9k|                    const auto& escape = ascii_escapes()[data[i]];
38670|  64.9k|                    if (JSON_HEDLEY_UNLIKELY(write_buffer.size() - write_buffer_pos < escape.size()))
  ------------------
  |  | 1697|  64.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 114, False: 64.8k]
  |  |  ------------------
  ------------------
38671|    114|                    {
38672|    114|                        flush();
38673|    114|                    }
38674|  64.9k|                    std::memcpy(write_buffer.data() + write_buffer_pos, escape.data(), escape.size());
38675|  64.9k|                    write_buffer_pos += static_cast<std::size_t>(escape[7]);
38676|  64.9k|                    bytes_after_last_accept = 0;
38677|  64.9k|                    undumped_chars = 0;
38678|  64.9k|                    continue;
38679|  64.9k|                }
38680|   287k|            }
38681|       |
38682|   291k|            const auto byte = static_cast<std::uint8_t>(s[i]);
38683|       |
38684|   291k|            if (EnsureAscii && state == UTF8_ACCEPT && byte >= 0x80)
  ------------------
  |  Branch (38684:17): [Folded, False: 291k]
  |  Branch (38684:32): [True: 0, False: 0]
  |  Branch (38684:56): [True: 0, False: 0]
  ------------------
38685|      0|            {
38686|       |                // a run of well-formed multi-byte characters is escaped
38687|       |                // straight into the write buffer; an ill-formed sequence
38688|       |                // ends the run and is left to the byte-at-a-time path
38689|      0|                if (bytes != 0)
  ------------------
  |  Branch (38689:21): [True: 0, False: 0]
  ------------------
38690|      0|                {
38691|      0|                    put_buffer(string_buffer, bytes);
38692|      0|                    bytes = 0;
38693|      0|                    bytes_after_last_accept = 0;
38694|      0|                }
38695|      0|                const std::size_t escaped = write_u_escapes(reinterpret_cast<const unsigned char*>(s.data()) + i, s.size() - i);
38696|      0|                if (escaped != 0)
  ------------------
  |  Branch (38696:21): [True: 0, False: 0]
  ------------------
38697|      0|                {
38698|      0|                    bytes_after_last_accept = 0;
38699|      0|                    undumped_chars = 0;
38700|      0|                    i += escaped - 1;
38701|      0|                    continue;
38702|      0|                }
38703|      0|            }
38704|       |
38705|   291k|            switch (decode(state, codepoint, byte))
38706|   291k|            {
38707|      0|                case UTF8_ACCEPT:  // decode found a new code point
  ------------------
  |  Branch (38707:17): [True: 0, False: 291k]
  ------------------
38708|      0|                {
38709|       |                    // the code point is at least 0x60 (smaller ones are handled
38710|       |                    // above) and is not printable ASCII (which the scanner
38711|       |                    // copies). Under EnsureAscii it is DEL (0x7F): every
38712|       |                    // well-formed multi-byte character is escaped by
38713|       |                    // write_u_escapes() above, so decode() only ever accepts a
38714|       |                    // single byte here, and nothing of it was buffered
38715|      0|                    if (EnsureAscii)
  ------------------
  |  Branch (38715:25): [Folded, False: 0]
  ------------------
38716|      0|                    {
38717|      0|                        JSON_ASSERT(codepoint == 0x7F);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (38717:25): [True: 0, False: 0]
  ------------------
38718|      0|                        JSON_ASSERT(bytes == bytes_after_last_accept);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (38718:25): [True: 0, False: 0]
  ------------------
38719|      0|                        write_u_escape(bytes, static_cast<std::uint16_t>(codepoint));
38720|      0|                    }
38721|      0|                    else
38722|      0|                    {
38723|       |                        // copy byte to buffer (all previous bytes of the
38724|       |                        // sequence have been copied in the default case below)
38725|      0|                        string_buffer[bytes++] = s[i]; // LCOV_EXCL_LINE (well-formed sequences are copied in runs)
38726|      0|                    }
38727|       |
38728|      0|                    reserve_string_buffer(bytes);
38729|       |
38730|       |                    // remember the byte position of this accept
38731|      0|                    bytes_after_last_accept = bytes;
38732|      0|                    undumped_chars = 0;
38733|      0|                    break;
38734|      0|                }
38735|       |
38736|   215k|                case UTF8_REJECT:  // decode found invalid UTF-8 byte
  ------------------
  |  Branch (38736:17): [True: 215k, False: 75.5k]
  ------------------
38737|   215k|                {
38738|   215k|                    switch (error_handler)
38739|   215k|                    {
38740|      0|                        case error_handler_t::strict:
  ------------------
  |  Branch (38740:25): [True: 0, False: 215k]
  ------------------
38741|      0|                        {
38742|      0|                            JSON_THROW(type_error::create(exception_id::invalid_utf8, concat("invalid UTF-8 byte at index ", std::to_string(i), ": 0x", detail::hex_byte(byte)), nullptr));
  ------------------
  |  | 2618|      0|    #define JSON_THROW(exception) throw exception
  ------------------
38743|      0|                        }
38744|       |
38745|      0|                        case error_handler_t::ignore:
  ------------------
  |  Branch (38745:25): [True: 0, False: 215k]
  ------------------
38746|      0|                        case error_handler_t::replace:
  ------------------
  |  Branch (38746:25): [True: 0, False: 215k]
  ------------------
38747|      0|                        {
38748|       |                            // in case we saw this character the first time, we
38749|       |                            // would like to read it again, because the byte
38750|       |                            // may be OK for itself, but just not OK for the
38751|       |                            // previous sequence
38752|      0|                            if (undumped_chars > 0)
  ------------------
  |  Branch (38752:33): [True: 0, False: 0]
  ------------------
38753|      0|                            {
38754|      0|                                --i;
38755|      0|                            }
38756|       |
38757|       |                            // reset length buffer to the last accepted index;
38758|       |                            // thus removing/ignoring the invalid characters
38759|      0|                            bytes = bytes_after_last_accept;
38760|       |
38761|      0|                            if (error_handler == error_handler_t::replace)
  ------------------
  |  Branch (38761:33): [True: 0, False: 0]
  ------------------
38762|      0|                            {
38763|       |                                // add a replacement character
38764|      0|                                if (EnsureAscii)
  ------------------
  |  Branch (38764:37): [Folded, False: 0]
  ------------------
38765|      0|                                {
38766|      0|                                    string_buffer[bytes++] = '\\';
38767|      0|                                    string_buffer[bytes++] = 'u';
38768|      0|                                    string_buffer[bytes++] = 'f';
38769|      0|                                    string_buffer[bytes++] = 'f';
38770|      0|                                    string_buffer[bytes++] = 'f';
38771|      0|                                    string_buffer[bytes++] = 'd';
38772|      0|                                }
38773|      0|                                else
38774|      0|                                {
38775|      0|                                    string_buffer[bytes++] = '\xEF';
38776|      0|                                    string_buffer[bytes++] = '\xBF';
38777|      0|                                    string_buffer[bytes++] = '\xBD';
38778|      0|                                }
38779|       |
38780|      0|                                reserve_string_buffer(bytes);
38781|       |
38782|      0|                                bytes_after_last_accept = bytes;
38783|      0|                            }
38784|       |
38785|      0|                            undumped_chars = 0;
38786|       |
38787|       |                            // continue processing the string
38788|      0|                            state = UTF8_ACCEPT;
38789|      0|                            break;
38790|      0|                        }
38791|       |
38792|   215k|                        case error_handler_t::keep:
  ------------------
  |  Branch (38792:25): [True: 215k, False: 0]
  ------------------
38793|   215k|                        {
38794|       |                            // the bytes of this (now abandoned) ill-formed
38795|       |                            // sequence seen so far are already buffered below
38796|       |                            // and are kept unchanged in the output
38797|   215k|                            if (undumped_chars > 0)
  ------------------
  |  Branch (38797:33): [True: 51.9k, False: 163k]
  ------------------
38798|  51.9k|                            {
38799|       |                                // the byte that ended the sequence may be OK
38800|       |                                // for itself (e.g., a quote that must still be
38801|       |                                // escaped, or the lead byte of a well-formed
38802|       |                                // code point), so read it again
38803|  51.9k|                                --i;
38804|  51.9k|                            }
38805|   163k|                            else
38806|   163k|                            {
38807|       |                                // a byte that cannot start a sequence (e.g.,
38808|       |                                // 0xFF or a stray continuation byte) is kept
38809|       |                                // as well
38810|   163k|                                string_buffer[bytes++] = s[i];
38811|   163k|                            }
38812|       |
38813|   215k|                            reserve_string_buffer(bytes);
38814|       |
38815|   215k|                            bytes_after_last_accept = bytes;
38816|   215k|                            undumped_chars = 0;
38817|       |
38818|       |                            // continue processing the string
38819|   215k|                            state = UTF8_ACCEPT;
38820|   215k|                            break;
38821|      0|                        }
38822|       |
38823|      0|                        default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38823:25): [True: 0, False: 215k]
  ------------------
38824|      0|                            JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (38824:29): [Folded, False: 0]
  ------------------
38825|   215k|                    }
38826|   215k|                    break;
38827|   215k|                }
38828|       |
38829|   215k|                default:  // decode found yet incomplete multibyte code point
  ------------------
  |  Branch (38829:17): [True: 75.5k, False: 215k]
  ------------------
38830|  75.5k|                {
38831|  75.5k|                    if (!EnsureAscii || error_handler == error_handler_t::keep)
  ------------------
  |  Branch (38831:25): [True: 75.5k, Folded]
  |  Branch (38831:41): [True: 0, False: 0]
  ------------------
38832|  75.5k|                    {
38833|       |                        // code point will not be escaped (or will be kept as
38834|       |                        // is if it turns out to be ill-formed) - copy byte to
38835|       |                        // buffer; dropped again above if it decodes to a
38836|       |                        // well-formed code point that needs \u-escaping
38837|  75.5k|                        string_buffer[bytes++] = s[i];
38838|  75.5k|                    }
38839|  75.5k|                    ++undumped_chars;
38840|  75.5k|                    break;
38841|   215k|                }
38842|   291k|            }
38843|   291k|        }
38844|       |
38845|       |        // we finished processing the string
38846|  46.2k|        if (JSON_HEDLEY_LIKELY(state == UTF8_ACCEPT))
  ------------------
  |  | 1696|  46.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 39.0k, False: 7.26k]
  |  |  ------------------
  ------------------
38847|  39.0k|        {
38848|       |            // write buffer
38849|  39.0k|            if (bytes > 0)
  ------------------
  |  Branch (38849:17): [True: 23.4k, False: 15.5k]
  ------------------
38850|  23.4k|            {
38851|  23.4k|                put_buffer(string_buffer, bytes);
38852|  23.4k|            }
38853|  39.0k|        }
38854|  7.26k|        else
38855|  7.26k|        {
38856|       |            // we finish reading, but do not accept: string was incomplete
38857|  7.26k|            switch (error_handler)
38858|  7.26k|            {
38859|      0|                case error_handler_t::strict:
  ------------------
  |  Branch (38859:17): [True: 0, False: 7.26k]
  ------------------
38860|      0|                {
38861|      0|                    JSON_THROW(type_error::create(exception_id::invalid_utf8, concat("incomplete UTF-8 string; last byte: 0x", detail::hex_byte(static_cast<std::uint8_t>(s[s.size() - 1]))), nullptr));
  ------------------
  |  | 2618|      0|    #define JSON_THROW(exception) throw exception
  ------------------
38862|      0|                }
38863|       |
38864|      0|                case error_handler_t::ignore:
  ------------------
  |  Branch (38864:17): [True: 0, False: 7.26k]
  ------------------
38865|      0|                {
38866|       |                    // write all accepted bytes
38867|      0|                    put_buffer(string_buffer, bytes_after_last_accept);
38868|      0|                    break;
38869|      0|                }
38870|       |
38871|      0|                case error_handler_t::replace:
  ------------------
  |  Branch (38871:17): [True: 0, False: 7.26k]
  ------------------
38872|      0|                {
38873|       |                    // write all accepted bytes
38874|      0|                    put_buffer(string_buffer, bytes_after_last_accept);
38875|       |                    // add a replacement character
38876|      0|                    if (EnsureAscii)
  ------------------
  |  Branch (38876:25): [Folded, False: 0]
  ------------------
38877|      0|                    {
38878|      0|                        put_literal("\\ufffd");
38879|      0|                    }
38880|      0|                    else
38881|      0|                    {
38882|      0|                        put_literal("\xEF\xBF\xBD");
38883|      0|                    }
38884|      0|                    break;
38885|      0|                }
38886|       |
38887|  7.26k|                case error_handler_t::keep:
  ------------------
  |  Branch (38887:17): [True: 7.26k, False: 0]
  ------------------
38888|  7.26k|                {
38889|       |                    // write the ill-formed trailing bytes as is; they were
38890|       |                    // buffered above regardless of EnsureAscii
38891|  7.26k|                    put_buffer(string_buffer, bytes);
38892|  7.26k|                    break;
38893|      0|                }
38894|       |
38895|      0|                default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38895:17): [True: 0, False: 7.26k]
  ------------------
38896|       |                    JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (38896:21): [Folded, False: 0]
  ------------------
38897|  7.26k|            }
38898|  7.26k|        }
38899|  46.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail15string_bulk_runEPKhm:
13447|   295k|{
13448|       |#if defined(JSON_USE_SIMDUTF) && defined(JSON_HAS_CPP_17)
13449|       |    const std::size_t run = find_string_delimiter(data, n);
13450|       |    if (run != 0 && simdutf::validate_utf8(reinterpret_cast<const char*>(data), run))
13451|       |    {
13452|       |        return run;
13453|       |    }
13454|       |#endif
13455|   295k|    return scalar_string_bulk_run(data, n);
13456|   295k|}
_ZN8nlohmann16json_abi_v3_12_06detail22scalar_string_bulk_runEPKhm:
13368|   295k|{
13369|   295k|    const unsigned char* const e = data + n;
13370|   295k|    const unsigned char* p = data;
13371|   295k|    while (p != e)
  ------------------
  |  Branch (13371:12): [True: 295k, False: 0]
  ------------------
13372|   295k|    {
13373|   295k|#if JSON_SCAN_VECTOR
13374|   295k|        p = plain_run_end(p, e);
13375|       |#else
13376|       |        p += find_string_special(p, static_cast<std::size_t>(e - p));
13377|       |#endif
13378|   295k|        if (p == e || *p < 0x80u)
  ------------------
  |  Branch (13378:13): [True: 3.94k, False: 291k]
  |  Branch (13378:23): [True: 63.4k, False: 227k]
  ------------------
13379|  67.4k|        {
13380|  67.4k|            break; // end of buffer, or a quote/escape/control byte
13381|  67.4k|        }
13382|   227k|#if JSON_SCAN_VECTOR_UTF8
13383|   227k|#if JSON_SCAN_SSSE3_DISPATCH
13384|   227k|        if (JSON_HEDLEY_LIKELY(cpu_has_ssse3()))
  ------------------
  |  | 1696|   227k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 227k, False: 0]
  |  |  ------------------
  ------------------
13385|   227k|#endif
13386|   227k|        {
13387|   227k|            return static_cast<std::size_t>(scan_string_vector(p, e) - data);
13388|   227k|        }
13389|      0|#endif
13390|      0|#if !JSON_SCAN_VECTOR_UTF8 || JSON_SCAN_SSSE3_DISPATCH
13391|       |        // a run of multi-byte sequences (e.g. CJK text) is validated sequence
13392|       |        // by sequence without searching for the next special byte in between
13393|      0|        do
13394|      0|        {
13395|      0|            const std::size_t seq = validate_one_utf8(p, static_cast<std::size_t>(e - p));
13396|      0|            if (seq == 0)
  ------------------
  |  Branch (13396:17): [True: 0, False: 0]
  ------------------
13397|      0|            {
13398|      0|                return static_cast<std::size_t>(p - data); // ill-formed or truncated: let the byte path diagnose it
13399|      0|            }
13400|      0|            p += seq;
13401|      0|        }
13402|      0|        while (p != e && *p >= 0x80u);
  ------------------
  |  Branch (13402:16): [True: 0, False: 0]
  |  Branch (13402:26): [True: 0, False: 0]
  ------------------
13403|      0|#endif
13404|      0|    }
13405|  67.4k|    return static_cast<std::size_t>(p - data);
13406|   295k|}
_ZN8nlohmann16json_abi_v3_12_06detail13plain_run_endEPKhS3_:
13333|   295k|{
13334|   295k|    constexpr int prefix_words = JSON_SCAN_NEON ? 4 : 1;
  ------------------
  |  |12600|   295k|    #define JSON_SCAN_NEON 0
  |  |  ------------------
  |  |  |  Branch (12600:28): [Folded, False: 295k]
  |  |  ------------------
  ------------------
13335|   297k|    for (int words = prefix_words; words > 0 && e - p >= 8; --words)
  ------------------
  |  Branch (13335:36): [True: 295k, False: 1.68k]
  |  Branch (13335:49): [True: 180k, False: 114k]
  ------------------
13336|   180k|    {
13337|   180k|        const std::uint64_t special = swar_string_special(read_eight_bytes(p));
13338|   180k|        if (special != 0)
  ------------------
  |  Branch (13338:13): [True: 179k, False: 1.68k]
  ------------------
13339|   179k|        {
13340|   179k|            return p + (static_cast<std::size_t>(count_trailing_zeros(special)) / 8);
13341|   179k|        }
13342|  1.68k|        p += 8;
13343|  1.68k|    }
13344|       |    // the vector loop only for 16 bytes or more: the serializer passes a
13345|       |    // string without its closing quote, so most of its runs end at e, and a
13346|       |    // call of the out-of-line NEON loop for a shorter rest made dump() up to
13347|       |    // 10% slower
13348|   116k|    if (e - p >= 16)
  ------------------
  |  Branch (13348:9): [True: 1.11k, False: 115k]
  ------------------
13349|  1.11k|    {
13350|  1.11k|        p = vector_plain_run_long(p, e);
13351|  1.11k|        if (e - p >= 16)
  ------------------
  |  Branch (13351:13): [True: 870, False: 246]
  ------------------
13352|    870|        {
13353|    870|            return p; // the vector loop stopped at a special byte
13354|    870|        }
13355|  1.11k|    }
13356|   115k|    return p + find_string_special(p, static_cast<std::size_t>(e - p));
13357|   116k|}
_ZN8nlohmann16json_abi_v3_12_06detail19swar_string_specialEm:
13004|   181k|{
13005|   181k|    constexpr std::uint64_t ones = 0x0101010101010101ull;
13006|   181k|    constexpr std::uint64_t high = 0x8080808080808080ull;
13007|   181k|    const std::uint64_t q = v ^ 0x2222222222222222ull; // '"'  (0x22)
13008|   181k|    const std::uint64_t b = v ^ 0x5C5C5C5C5C5C5C5Cull; // '\\' (0x5C)
13009|       |    // The usual test for a zero byte is (x - ones) & ~x & high. The `& ~x`
13010|       |    // only removes bytes from 0x80, and `v & high` flags those anyway, so it
13011|       |    // can be dropped. Clang finds this reduction itself; GCC does not.
13012|   181k|    return ((q - ones) | (b - ones) | (v - 0x2020202020202020ull) | v) & high;
13013|   181k|}
_ZN8nlohmann16json_abi_v3_12_06detail21vector_plain_run_longEPKhS3_:
12699|  1.11k|{
12700|  1.11k|    return vector_plain_run(p, e);
12701|  1.11k|}
_ZN8nlohmann16json_abi_v3_12_06detail16vector_plain_runEPKhS3_:
12659|  1.11k|{
12660|  1.73k|    while (e - p >= 16)
  ------------------
  |  Branch (12660:12): [True: 1.59k, False: 144]
  ------------------
12661|  1.59k|    {
12662|       |#if JSON_SCAN_NEON
12663|       |        const uint8x16_t in = vld1q_u8(p);
12664|       |        const uint8x16_t special = vorrq_u8(vceqq_u8(in, vdupq_n_u8('\\')),
12665|       |                                            vcltq_s8(vreinterpretq_s8_u8(veorq_u8(in, vdupq_n_u8(2))), vdupq_n_s8(33)));
12666|       |        // one nibble per byte (the usual NEON replacement of x86's movemask, see
12667|       |        // D. Kutenin, "Porting x86 vector bitmask optimizations to Arm NEON", 2022)
12668|       |        const std::uint64_t bits = vget_lane_u64(vreinterpret_u64_u8(vshrn_n_u16(vreinterpretq_u16_u8(special), 4)), 0);
12669|       |        if (bits != 0)
12670|       |        {
12671|       |            return p + (count_trailing_zeros(bits) >> 2u);
12672|       |        }
12673|       |#else
12674|  1.59k|        const __m128i in = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
12675|  1.59k|        const __m128i special = _mm_or_si128(_mm_cmpeq_epi8(in, _mm_set1_epi8('\\')),
12676|  1.59k|                                             _mm_cmplt_epi8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(33)));
12677|  1.59k|        const auto bits = static_cast<std::uint64_t>(static_cast<unsigned>(_mm_movemask_epi8(special)));
12678|  1.59k|        if (bits != 0)
  ------------------
  |  Branch (12678:13): [True: 972, False: 618]
  ------------------
12679|    972|        {
12680|    972|            return p + count_trailing_zeros(bits);
12681|    972|        }
12682|    618|#endif
12683|    618|        p += 16;
12684|    618|    }
12685|    144|    return p;
12686|  1.11k|}
_ZN8nlohmann16json_abi_v3_12_06detail19find_string_specialEPKhm:
13018|   115k|{
13019|   115k|    std::size_t i = 0;
13020|   115k|    for (; i + 8 <= n; i += 8)
  ------------------
  |  Branch (13020:12): [True: 504, False: 114k]
  ------------------
13021|    504|    {
13022|    504|        const std::uint64_t special = swar_string_special(read_eight_bytes(data + i));
13023|    504|        if (special != 0)
  ------------------
  |  Branch (13023:13): [True: 336, False: 168]
  ------------------
13024|    336|        {
13025|       |            // the lowest flagged byte is the first special one: the borrows of
13026|       |            // the subtractions can only flag bytes above a true hit
13027|    336|            return i + (static_cast<std::size_t>(count_trailing_zeros(special)) / 8);
13028|    336|        }
13029|    504|    }
13030|   129k|    for (; i < n; ++i)
  ------------------
  |  Branch (13030:12): [True: 125k, False: 3.94k]
  ------------------
13031|   125k|    {
13032|   125k|        if (is_string_special(data[i]))
  ------------------
  |  Branch (13032:13): [True: 111k, False: 14.1k]
  ------------------
13033|   111k|        {
13034|   111k|            return i;
13035|   111k|        }
13036|   125k|    }
13037|  3.94k|    return n;
13038|   114k|}
_ZN8nlohmann16json_abi_v3_12_06detail17is_string_specialEh:
12997|   128k|{
12998|   128k|    return c == '\"' || c == '\\' || c < 0x20u || c >= 0x80u;
  ------------------
  |  Branch (12998:12): [True: 930, False: 127k]
  |  Branch (12998:25): [True: 972, False: 126k]
  |  Branch (12998:38): [True: 18.6k, False: 107k]
  |  Branch (12998:51): [True: 91.1k, False: 16.8k]
  ------------------
12999|   128k|}
_ZN8nlohmann16json_abi_v3_12_06detail13cpu_has_ssse3Ev:
12726|   227k|{
12727|   227k|    static std::atomic<int> known{0}; // 0: not asked yet, 1: no, 2: yes
12728|   227k|    int state = known.load(std::memory_order_relaxed);
12729|   227k|    if (JSON_HEDLEY_UNLIKELY(state == 0))
  ------------------
  |  | 1697|   227k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1, False: 227k]
  |  |  ------------------
  ------------------
12730|      1|    {
12731|      1|        state = cpu_ssse3() ? 2 : 1;
  ------------------
  |  Branch (12731:17): [True: 1, False: 0]
  ------------------
12732|      1|        known.store(state, std::memory_order_relaxed);
12733|      1|    }
12734|   227k|    return state == 2;
12735|   227k|}
_ZN8nlohmann16json_abi_v3_12_06detail9cpu_ssse3Ev:
12707|      1|{
12708|       |#if defined(_MSC_VER) && !defined(__clang__)
12709|       |    std::array<int, 4> regs {{}};
12710|       |    __cpuid(regs.data(), 1);
12711|       |    return (static_cast<unsigned>(regs[2]) & (1u << 9u)) != 0;
12712|       |#else
12713|      1|    unsigned eax = 0;
12714|      1|    unsigned ebx = 0;
12715|      1|    unsigned ecx = 0;
12716|      1|    unsigned edx = 0;
12717|      1|    return __get_cpuid(1, &eax, &ebx, &ecx, &edx) != 0 && (ecx & (1u << 9u)) != 0;
  ------------------
  |  Branch (12717:12): [True: 1, False: 0]
  |  Branch (12717:59): [True: 1, False: 0]
  ------------------
12718|      1|#endif
12719|      1|}
_ZN8nlohmann16json_abi_v3_12_06detail18scan_string_vectorEPKhS3_:
13316|   227k|{
13317|   227k|    const unsigned char* block = p;
13318|   227k|    if (vector_utf8_run(p, e, block))
  ------------------
  |  Branch (13318:9): [True: 762, False: 227k]
  ------------------
13319|    762|    {
13320|    762|        return block;
13321|    762|    }
13322|   227k|    return scan_string_finish(p, block, e);
13323|   227k|}
_ZN8nlohmann16json_abi_v3_12_06detail15vector_utf8_runEPKhS3_RS3_:
12802|   227k|{
12803|   227k|    using lookup = utf8_lookup4<>;
12804|   227k|    const unsigned char* block = p;
12805|       |#if JSON_SCAN_NEON
12806|       |    const uint8x16_t t1h = vld1q_u8(lookup::byte_1_high.data());
12807|       |    const uint8x16_t t1l = vld1q_u8(lookup::byte_1_low.data());
12808|       |    const uint8x16_t t2h = vld1q_u8(lookup::byte_2_high.data());
12809|       |    uint8x16_t prev = vdupq_n_u8(0);
12810|       |    while (e - block >= 16)
12811|       |    {
12812|       |        const uint8x16_t in = vld1q_u8(block);
12813|       |        // the quote and the control characters: (c ^ 2) < 33 (see vector_plain_run())
12814|       |        const uint8x16_t special = vorrq_u8(vceqq_u8(in, vdupq_n_u8('\\')), vcltq_u8(veorq_u8(in, vdupq_n_u8(2)), vdupq_n_u8(33)));
12815|       |        const uint8x16_t prev1 = vextq_u8(prev, in, 15);
12816|       |        const uint8x16_t sc = vandq_u8(vandq_u8(vqtbl1q_u8(t1h, vshrq_n_u8(prev1, 4)), vqtbl1q_u8(t1l, vandq_u8(prev1, vdupq_n_u8(0x0F)))), vqtbl1q_u8(t2h, vshrq_n_u8(in, 4)));
12817|       |        const uint8x16_t must23 = vorrq_u8(vqsubq_u8(vextq_u8(prev, in, 14), vdupq_n_u8(0xE0 - 0x80)), vqsubq_u8(vextq_u8(prev, in, 13), vdupq_n_u8(0xF0 - 0x80)));
12818|       |        const uint8x16_t err = veorq_u8(vandq_u8(must23, vdupq_n_u8(0x80)), sc);
12819|       |        const std::uint64_t special_bits = vget_lane_u64(vreinterpret_u64_u8(vshrn_n_u16(vreinterpretq_u16_u8(special), 4)), 0);
12820|       |        const std::uint64_t err_bits = vget_lane_u64(vreinterpret_u64_u8(vshrn_n_u16(vreinterpretq_u16_u8(vtstq_u8(err, err)), 4)), 0);
12821|       |        if (special_bits != 0)
12822|       |        {
12823|       |            // errors up to the special byte count (an incomplete sequence
12824|       |            // before a quote shows at the quote); the bytes after it do not
12825|       |            const unsigned k = static_cast<unsigned>(count_trailing_zeros(special_bits)) >> 2u;
12826|       |            const std::uint64_t upto = k == 15 ? ~std::uint64_t{0} :
12827|       |                                       (std::uint64_t{1} << (4u * (k + 1u))) - 1u;
12828|       |            if ((err_bits & upto) == 0)
12829|       |            {
12830|       |                block_out = block + k;
12831|       |                return true;
12832|       |            }
12833|       |            break;
12834|       |        }
12835|       |        if (err_bits != 0)
12836|       |        {
12837|       |            break;
12838|       |        }
12839|       |        prev = in;
12840|       |        block += 16;
12841|       |    }
12842|       |#else
12843|       |    // the same with SSSE3 (pshufb for the table lookups; nibbles from 16-bit
12844|       |    // shifts, as there are no byte shifts)
12845|   227k|    const __m128i t1h = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(lookup::byte_1_high.data()))); // NOLINT(bugprone-casting-through-void)
12846|   227k|    const __m128i t1l = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(lookup::byte_1_low.data()))); // NOLINT(bugprone-casting-through-void)
12847|   227k|    const __m128i t2h = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(lookup::byte_2_high.data()))); // NOLINT(bugprone-casting-through-void)
12848|   227k|    const __m128i nibble = _mm_set1_epi8(0x0F);
12849|   227k|    const __m128i zero = _mm_setzero_si128();
12850|   227k|    __m128i prev = zero;
12851|   228k|    while (e - block >= 16)
  ------------------
  |  Branch (12851:12): [True: 95.3k, False: 133k]
  ------------------
12852|  95.3k|    {
12853|  95.3k|        const __m128i in = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(block))); // NOLINT(bugprone-casting-through-void)
12854|       |        // the quote and the control characters: (c ^ 2) < 33, that is,
12855|       |        // (c ^ 2) - 32 saturates to 0 (see vector_plain_run())
12856|  95.3k|        const __m128i special = _mm_or_si128(_mm_cmpeq_epi8(in, _mm_set1_epi8('\\')),
12857|  95.3k|                                             _mm_cmpeq_epi8(_mm_subs_epu8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(32)), zero));
12858|  95.3k|        const __m128i prev1 = _mm_alignr_epi8(in, prev, 15);
12859|  95.3k|        const __m128i sc = _mm_and_si128(_mm_and_si128(_mm_shuffle_epi8(t1h, _mm_and_si128(_mm_srli_epi16(prev1, 4), nibble)),
12860|  95.3k|                                         _mm_shuffle_epi8(t1l, _mm_and_si128(prev1, nibble))),
12861|  95.3k|                                         _mm_shuffle_epi8(t2h, _mm_and_si128(_mm_srli_epi16(in, 4), nibble)));
12862|  95.3k|        const __m128i must23 = _mm_or_si128(_mm_subs_epu8(_mm_alignr_epi8(in, prev, 14), _mm_set1_epi8(0xE0 - 0x80)),
12863|  95.3k|                                            _mm_subs_epu8(_mm_alignr_epi8(in, prev, 13), _mm_set1_epi8(0xF0 - 0x80)));
12864|  95.3k|        const __m128i err = _mm_xor_si128(_mm_and_si128(must23, _mm_set1_epi8(static_cast<char>(-128))), sc);
12865|  95.3k|        const auto special_bits = static_cast<unsigned>(_mm_movemask_epi8(special));
12866|  95.3k|        const auto err_bits = ~static_cast<unsigned>(_mm_movemask_epi8(_mm_cmpeq_epi8(err, zero))) & 0xFFFFu;
12867|  95.3k|        if (special_bits != 0)
  ------------------
  |  Branch (12867:13): [True: 40.7k, False: 54.6k]
  ------------------
12868|  40.7k|        {
12869|  40.7k|            const auto k = static_cast<unsigned>(count_trailing_zeros(static_cast<std::uint64_t>(special_bits)));
12870|  40.7k|            if ((err_bits & ((2u << k) - 1u)) == 0)
  ------------------
  |  Branch (12870:17): [True: 762, False: 39.9k]
  ------------------
12871|    762|            {
12872|    762|                block_out = block + k;
12873|    762|                return true;
12874|    762|            }
12875|  39.9k|            break;
12876|  40.7k|        }
12877|  54.6k|        if (err_bits != 0)
  ------------------
  |  Branch (12877:13): [True: 53.8k, False: 798]
  ------------------
12878|  53.8k|        {
12879|  53.8k|            break;
12880|  53.8k|        }
12881|    798|        prev = in;
12882|    798|        block += 16;
12883|    798|    }
12884|   227k|#endif
12885|   227k|    block_out = block;
12886|   227k|    return false;
12887|   227k|}
_ZN8nlohmann16json_abi_v3_12_06detail18scan_string_finishEPKhS3_S3_:
13274|   227k|{
13275|   227k|    for (int i = 1; i <= 3 && block - i >= p; ++i)
  ------------------
  |  Branch (13275:21): [True: 227k, False: 120]
  |  Branch (13275:31): [True: 1.11k, False: 226k]
  ------------------
13276|  1.11k|    {
13277|  1.11k|        const unsigned char c = block[-i];
13278|  1.11k|        if (c < 0x80)
  ------------------
  |  Branch (13278:13): [True: 120, False: 996]
  ------------------
13279|    120|        {
13280|    120|            break;
13281|    120|        }
13282|    996|        if (c >= 0xC0)
  ------------------
  |  Branch (13282:13): [True: 312, False: 684]
  ------------------
13283|    312|        {
13284|    312|            const int len = 2 + static_cast<int>(c >= 0xE0) + static_cast<int>(c >= 0xF0);
13285|    312|            if (len > i)
  ------------------
  |  Branch (13285:17): [True: 186, False: 126]
  ------------------
13286|    186|            {
13287|    186|                block -= i;
13288|    186|            }
13289|    312|            break;
13290|    312|        }
13291|    996|    }
13292|   240k|    for (p = block; p != e;)
  ------------------
  |  Branch (13292:21): [True: 236k, False: 3.81k]
  ------------------
13293|   236k|    {
13294|   236k|        if (*p < 0x80)
  ------------------
  |  Branch (13294:13): [True: 3.39k, False: 232k]
  ------------------
13295|  3.39k|        {
13296|  3.39k|            if (is_string_special(*p))
  ------------------
  |  Branch (13296:17): [True: 660, False: 2.73k]
  ------------------
13297|    660|            {
13298|    660|                return p;
13299|    660|            }
13300|  2.73k|            ++p;
13301|  2.73k|            continue;
13302|  3.39k|        }
13303|   232k|        const std::size_t n = validate_one_utf8(p, static_cast<std::size_t>(e - p));
13304|   232k|        if (n == 0)
  ------------------
  |  Branch (13304:13): [True: 222k, False: 10.2k]
  ------------------
13305|   222k|        {
13306|   222k|            return p;
13307|   222k|        }
13308|  10.2k|        p += n;
13309|  10.2k|    }
13310|  3.81k|    return p;
13311|   227k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE8put_charEc:
38914|  1.67M|    {
38915|  1.67M|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos == write_buffer.size()))
  ------------------
  |  | 1697|  1.67M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 864, False: 1.66M]
  |  |  ------------------
  ------------------
38916|    864|        {
38917|    864|            flush();
38918|    864|        }
38919|  1.67M|        write_buffer[write_buffer_pos++] = c;
38920|  1.67M|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14put_object_keyILm3EEEvRKSC_RAT__Kc:
38294|  76.5k|    {
38295|  76.5k|#if JSON_LITTLE_ENDIAN_TARGET
38296|  76.5k|        if (put_short_quoted(s, tail))
  ------------------
  |  Branch (38296:13): [True: 52.4k, False: 24.1k]
  ------------------
38297|  52.4k|        {
38298|  52.4k|            return;
38299|  52.4k|        }
38300|  24.1k|#endif
38301|  24.1k|        put_char('"');
38302|  24.1k|        dump_escaped(s);
38303|  24.1k|        put_literal(tail);
38304|  24.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16put_short_quotedILm3EEEbRKSC_RAT__Kc:
38348|  76.5k|    {
38349|  76.5k|        const std::size_t n = s.size();
38350|  76.5k|        if (n > short_string_max || write_buffer_pos + n + N > write_buffer.size())
  ------------------
  |  Branch (38350:13): [True: 186, False: 76.3k]
  |  Branch (38350:37): [True: 114, False: 76.2k]
  ------------------
38351|    300|        {
38352|    300|            return false;
38353|    300|        }
38354|       |
38355|  76.2k|        char* d = write_buffer.data() + write_buffer_pos + 1;
38356|  76.2k|        const char* const p = s.data();
38357|       |
38358|  76.2k|        if (n >= 8)
  ------------------
  |  Branch (38358:13): [True: 1.38k, False: 74.8k]
  ------------------
38359|  1.38k|        {
38360|  1.38k|#if JSON_SCAN_VECTOR
38361|  1.38k|            if (!(n >= 16 ? copy_plain_vectors(d, p, n) : copy_plain_halves(d, p, n)))
  ------------------
  |  Branch (38361:17): [True: 1.24k, False: 144]
  |  Branch (38361:19): [True: 774, False: 612]
  ------------------
38362|  1.24k|            {
38363|  1.24k|                return false;
38364|  1.24k|            }
38365|       |#else
38366|       |            const auto a = load_word<std::uint64_t>(p);
38367|       |            const auto b = load_word<std::uint64_t>(p + n - 8);
38368|       |            if ((swar_not_plain(a) | swar_not_plain(b)) != 0)
38369|       |            {
38370|       |                return false;
38371|       |            }
38372|       |            store_word(d, a);
38373|       |            store_word(d + n - 8, b);
38374|       |#endif
38375|  1.38k|        }
38376|  74.8k|        else if (n >= 4)
  ------------------
  |  Branch (38376:18): [True: 954, False: 73.8k]
  ------------------
38377|    954|        {
38378|    954|            const auto a = load_word<std::uint32_t>(p);
38379|    954|            const auto b = load_word<std::uint32_t>(p + n - 4);
38380|       |            // the bytes above the string are filled with a plain character
38381|    954|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 4)))
38382|    954|                                    | (0x4141414141414141ull << (8 * n));
38383|    954|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38383:17): [True: 864, False: 90]
  ------------------
38384|    864|            {
38385|    864|                return false;
38386|    864|            }
38387|     90|            store_word(d, a);
38388|     90|            store_word(d + n - 4, b);
38389|     90|        }
38390|  73.8k|        else if (n >= 2)
  ------------------
  |  Branch (38390:18): [True: 4.54k, False: 69.3k]
  ------------------
38391|  4.54k|        {
38392|  4.54k|            const auto a = load_word<std::uint16_t>(p);
38393|  4.54k|            const auto b = load_word<std::uint16_t>(p + n - 2);
38394|  4.54k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 2)))
38395|  4.54k|                                    | (0x4141414141414141ull << (8 * n));
38396|  4.54k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38396:17): [True: 4.03k, False: 510]
  ------------------
38397|  4.03k|            {
38398|  4.03k|                return false;
38399|  4.03k|            }
38400|    510|            store_word(d, a);
38401|    510|            store_word(d + n - 2, b);
38402|    510|        }
38403|  69.3k|        else if (n == 1)
  ------------------
  |  Branch (38403:18): [True: 32.0k, False: 37.2k]
  ------------------
38404|  32.0k|        {
38405|  32.0k|            const std::uint64_t w = static_cast<std::uint64_t>(static_cast<unsigned char>(p[0])) | (0x4141414141414141ull << 8u);
38406|  32.0k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38406:17): [True: 17.6k, False: 14.4k]
  ------------------
38407|  17.6k|            {
38408|  17.6k|                return false;
38409|  17.6k|            }
38410|  14.4k|            *d = p[0];
38411|  14.4k|        }
38412|       |
38413|  52.4k|        d[-1] = '"';
38414|  52.4k|        std::memcpy(d + n, tail, N - 1);
38415|  52.4k|        write_buffer_pos += n + N;
38416|  52.4k|        return true;
38417|  76.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11dump_scalarERKSG_m:
38106|   332k|    {
38107|   332k|        switch (val.m_data.m_type)
38108|   332k|        {
38109|  35.1k|            case value_t::string:
  ------------------
  |  Branch (38109:13): [True: 35.1k, False: 297k]
  ------------------
38110|  35.1k|            {
38111|  35.1k|                dump_string_value(*val.m_data.m_value.string);
38112|  35.1k|                return;
38113|      0|            }
38114|       |
38115|  73.0k|            case value_t::binary:
  ------------------
  |  Branch (38115:13): [True: 73.0k, False: 259k]
  ------------------
38116|  73.0k|            {
38117|  73.0k|                dump_binary_value(current_indent, *val.m_data.m_value.binary);
38118|  73.0k|                return;
38119|      0|            }
38120|       |
38121|  9.09k|            case value_t::boolean:
  ------------------
  |  Branch (38121:13): [True: 9.09k, False: 323k]
  ------------------
38122|  9.09k|            {
38123|  9.09k|                if (val.m_data.m_value.boolean)
  ------------------
  |  Branch (38123:21): [True: 5.82k, False: 3.26k]
  ------------------
38124|  5.82k|                {
38125|  5.82k|                    put_literal("true");
38126|  5.82k|                }
38127|  3.26k|                else
38128|  3.26k|                {
38129|  3.26k|                    put_literal("false");
38130|  3.26k|                }
38131|  9.09k|                return;
38132|      0|            }
38133|       |
38134|  47.9k|            case value_t::number_integer:
  ------------------
  |  Branch (38134:13): [True: 47.9k, False: 284k]
  ------------------
38135|  47.9k|            {
38136|  47.9k|                dump_signed_value(val.m_data.m_value.number_integer);
38137|  47.9k|                return;
38138|      0|            }
38139|       |
38140|   140k|            case value_t::number_unsigned:
  ------------------
  |  Branch (38140:13): [True: 140k, False: 192k]
  ------------------
38141|   140k|            {
38142|   140k|                dump_unsigned_value(val.m_data.m_value.number_unsigned);
38143|   140k|                return;
38144|      0|            }
38145|       |
38146|  19.9k|            case value_t::number_float:
  ------------------
  |  Branch (38146:13): [True: 19.9k, False: 312k]
  ------------------
38147|  19.9k|            {
38148|  19.9k|                dump_float_value(val.m_data.m_value.number_float);
38149|  19.9k|                return;
38150|      0|            }
38151|       |
38152|      0|            case value_t::discarded:
  ------------------
  |  Branch (38152:13): [True: 0, False: 332k]
  ------------------
38153|      0|            {
38154|      0|                put_literal("<discarded>");
38155|      0|                return;
38156|      0|            }
38157|       |
38158|  6.91k|            case value_t::null:
  ------------------
  |  Branch (38158:13): [True: 6.91k, False: 325k]
  ------------------
38159|  6.91k|            {
38160|  6.91k|                put_literal("null");
38161|  6.91k|                return;
38162|      0|            }
38163|       |
38164|      0|            case value_t::object: // LCOV_EXCL_LINE
  ------------------
  |  Branch (38164:13): [True: 0, False: 332k]
  ------------------
38165|      0|            case value_t::array:  // LCOV_EXCL_LINE
  ------------------
  |  Branch (38165:13): [True: 0, False: 332k]
  ------------------
38166|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38166:13): [True: 0, False: 332k]
  ------------------
38167|       |                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (38167:17): [Folded, False: 0]
  ------------------
38168|   332k|        }
38169|   332k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_string_valueERKSC_:
38174|  35.1k|    {
38175|  35.1k|#if JSON_LITTLE_ENDIAN_TARGET
38176|  35.1k|        if (s.size() <= short_string_max && put_short_quoted(s, "\""))
  ------------------
  |  Branch (38176:13): [True: 34.1k, False: 978]
  |  Branch (38176:45): [True: 12.9k, False: 21.2k]
  ------------------
38177|  12.9k|        {
38178|  12.9k|            return;
38179|  12.9k|        }
38180|  22.1k|#endif
38181|  22.1k|        put_char('"');
38182|  22.1k|        dump_escaped(s);
38183|  22.1k|        put_char('"');
38184|  22.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16put_short_quotedILm2EEEbRKSC_RAT__Kc:
38348|  34.1k|    {
38349|  34.1k|        const std::size_t n = s.size();
38350|  34.1k|        if (n > short_string_max || write_buffer_pos + n + N > write_buffer.size())
  ------------------
  |  Branch (38350:13): [True: 0, False: 34.1k]
  |  Branch (38350:37): [True: 138, False: 34.0k]
  ------------------
38351|    138|        {
38352|    138|            return false;
38353|    138|        }
38354|       |
38355|  34.0k|        char* d = write_buffer.data() + write_buffer_pos + 1;
38356|  34.0k|        const char* const p = s.data();
38357|       |
38358|  34.0k|        if (n >= 8)
  ------------------
  |  Branch (38358:13): [True: 9.88k, False: 24.1k]
  ------------------
38359|  9.88k|        {
38360|  9.88k|#if JSON_SCAN_VECTOR
38361|  9.88k|            if (!(n >= 16 ? copy_plain_vectors(d, p, n) : copy_plain_halves(d, p, n)))
  ------------------
  |  Branch (38361:17): [True: 9.58k, False: 294]
  |  Branch (38361:19): [True: 5.49k, False: 4.38k]
  ------------------
38362|  9.58k|            {
38363|  9.58k|                return false;
38364|  9.58k|            }
38365|       |#else
38366|       |            const auto a = load_word<std::uint64_t>(p);
38367|       |            const auto b = load_word<std::uint64_t>(p + n - 8);
38368|       |            if ((swar_not_plain(a) | swar_not_plain(b)) != 0)
38369|       |            {
38370|       |                return false;
38371|       |            }
38372|       |            store_word(d, a);
38373|       |            store_word(d + n - 8, b);
38374|       |#endif
38375|  9.88k|        }
38376|  24.1k|        else if (n >= 4)
  ------------------
  |  Branch (38376:18): [True: 5.84k, False: 18.3k]
  ------------------
38377|  5.84k|        {
38378|  5.84k|            const auto a = load_word<std::uint32_t>(p);
38379|  5.84k|            const auto b = load_word<std::uint32_t>(p + n - 4);
38380|       |            // the bytes above the string are filled with a plain character
38381|  5.84k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 4)))
38382|  5.84k|                                    | (0x4141414141414141ull << (8 * n));
38383|  5.84k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38383:17): [True: 5.35k, False: 492]
  ------------------
38384|  5.35k|            {
38385|  5.35k|                return false;
38386|  5.35k|            }
38387|    492|            store_word(d, a);
38388|    492|            store_word(d + n - 4, b);
38389|    492|        }
38390|  18.3k|        else if (n >= 2)
  ------------------
  |  Branch (38390:18): [True: 3.75k, False: 14.5k]
  ------------------
38391|  3.75k|        {
38392|  3.75k|            const auto a = load_word<std::uint16_t>(p);
38393|  3.75k|            const auto b = load_word<std::uint16_t>(p + n - 2);
38394|  3.75k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 2)))
38395|  3.75k|                                    | (0x4141414141414141ull << (8 * n));
38396|  3.75k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38396:17): [True: 3.53k, False: 222]
  ------------------
38397|  3.53k|            {
38398|  3.53k|                return false;
38399|  3.53k|            }
38400|    222|            store_word(d, a);
38401|    222|            store_word(d + n - 2, b);
38402|    222|        }
38403|  14.5k|        else if (n == 1)
  ------------------
  |  Branch (38403:18): [True: 3.34k, False: 11.2k]
  ------------------
38404|  3.34k|        {
38405|  3.34k|            const std::uint64_t w = static_cast<std::uint64_t>(static_cast<unsigned char>(p[0])) | (0x4141414141414141ull << 8u);
38406|  3.34k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38406:17): [True: 2.59k, False: 750]
  ------------------
38407|  2.59k|            {
38408|  2.59k|                return false;
38409|  2.59k|            }
38410|    750|            *d = p[0];
38411|    750|        }
38412|       |
38413|  12.9k|        d[-1] = '"';
38414|  12.9k|        std::memcpy(d + n, tail, N - 1);
38415|  12.9k|        write_buffer_pos += n + N;
38416|  12.9k|        return true;
38417|  34.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_binary_valueEmRKNS0_27byte_container_with_subtypeISF_EE:
38206|  73.0k|    {
38207|  73.0k|        if (pretty_print)
  ------------------
  |  Branch (38207:13): [True: 0, False: 73.0k]
  ------------------
38208|      0|        {
38209|       |            // variable to hold indentation for the bytes
38210|      0|            const auto new_indent = next_indent(current_indent, indent_step);
38211|       |
38212|      0|            put_literal_indent("{\n", new_indent);
38213|      0|            put_literal("\"bytes\": [");
38214|       |
38215|      0|            if (!binary.empty())
  ------------------
  |  Branch (38215:17): [True: 0, False: 0]
  ------------------
38216|      0|            {
38217|      0|                for (auto i = binary.cbegin(); i != binary.cend() - 1; ++i)
  ------------------
  |  Branch (38217:48): [True: 0, False: 0]
  ------------------
38218|      0|                {
38219|      0|                    dump_byte(*i);
38220|      0|                    put_literal(", ");
38221|      0|                }
38222|      0|                dump_byte(binary.back());
38223|      0|            }
38224|       |
38225|      0|            put_literal_indent("],\n", new_indent);
38226|       |
38227|      0|            put_literal("\"subtype\": ");
38228|      0|            if (binary.has_subtype())
  ------------------
  |  Branch (38228:17): [True: 0, False: 0]
  ------------------
38229|      0|            {
38230|      0|                dump_subtype(binary.subtype());
38231|      0|            }
38232|      0|            else
38233|      0|            {
38234|      0|                put_literal("null");
38235|      0|            }
38236|      0|            put_literal_indent("\n", current_indent);
38237|      0|            put_char('}');
38238|      0|        }
38239|  73.0k|        else
38240|  73.0k|        {
38241|  73.0k|            put_literal("{\"bytes\":[");
38242|       |
38243|  73.0k|            if (!binary.empty())
  ------------------
  |  Branch (38243:17): [True: 18.4k, False: 54.6k]
  ------------------
38244|  18.4k|            {
38245|  99.4k|                for (auto i = binary.cbegin(); i != binary.cend() - 1; ++i)
  ------------------
  |  Branch (38245:48): [True: 81.0k, False: 18.4k]
  ------------------
38246|  81.0k|                {
38247|  81.0k|                    dump_byte(*i);
38248|  81.0k|                    put_char(',');
38249|  81.0k|                }
38250|  18.4k|                dump_byte(binary.back());
38251|  18.4k|            }
38252|       |
38253|  73.0k|            put_literal("],\"subtype\":");
38254|  73.0k|            if (binary.has_subtype())
  ------------------
  |  Branch (38254:17): [True: 12.3k, False: 60.7k]
  ------------------
38255|  12.3k|            {
38256|  12.3k|                dump_subtype(binary.subtype());
38257|  12.3k|                put_char('}');
38258|  12.3k|            }
38259|  60.7k|            else
38260|  60.7k|            {
38261|  60.7k|                put_literal("null}");
38262|  60.7k|            }
38263|  73.0k|        }
38264|  73.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm11EEEvRAT__Kc:
39040|  73.0k|    {
39041|  73.0k|        static_assert(N >= 2, "put_literal expects a non-empty string literal");
39042|       |        // the array bound counts the terminating NUL, which is not written
39043|  73.0k|        constexpr std::size_t length = N - 1;
39044|  73.0k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  73.0k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  73.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 144, False: 72.9k]
  |  |  ------------------
  ------------------
39047|    144|        {
39048|    144|            flush();
39049|    144|        }
39050|  73.0k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  73.0k|        write_buffer_pos += length;
39052|  73.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9dump_byteIhEEvT_:
39434|  99.4k|    {
39435|  99.4k|        dump_byte(value, std::integral_constant < bool,
39436|  99.4k|                  std::is_unsigned<ByteType>::value && sizeof(ByteType) == 1
39437|  99.4k|                  && !std::is_same<ByteType, bool>::value > {});
39438|  99.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9dump_byteIhEEvT_NS4_17integral_constantIbLb1EEE:
39448|  99.4k|    {
39449|  99.4k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + 3 > write_buffer.size()))
  ------------------
  |  | 1697|  99.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 114, False: 99.3k]
  |  |  ------------------
  ------------------
39450|    114|        {
39451|    114|            flush();
39452|    114|        }
39453|       |
39454|  99.4k|        const auto byte = static_cast<unsigned>(value);
39455|       |        // Accumulate the offset in a local and store it back once. Writing
39456|       |        // through write_buffer[] is a char write, which may alias any object,
39457|       |        // so with the member updated in place the compiler has to reload and
39458|       |        // store it around every digit - measured 2.4x slower on a dump of a
39459|       |        // multi-megabyte binary value.
39460|  99.4k|        std::size_t pos = write_buffer_pos;
39461|       |
39462|  99.4k|        if (byte >= 100)
  ------------------
  |  Branch (39462:13): [True: 63.2k, False: 36.2k]
  ------------------
39463|  63.2k|        {
39464|  63.2k|            write_buffer[pos++] = static_cast<char>('0' + (byte / 100));
39465|  63.2k|            write_buffer[pos++] = static_cast<char>('0' + ((byte / 10) % 10));
39466|  63.2k|        }
39467|  36.2k|        else if (byte >= 10)
  ------------------
  |  Branch (39467:18): [True: 19.5k, False: 16.7k]
  ------------------
39468|  19.5k|        {
39469|  19.5k|            write_buffer[pos++] = static_cast<char>('0' + (byte / 10));
39470|  19.5k|        }
39471|       |
39472|  99.4k|        write_buffer[pos++] = static_cast<char>('0' + (byte % 10));
39473|       |
39474|  99.4k|        write_buffer_pos = pos;
39475|  99.4k|    }
_ZNK8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEE11has_subtypeEv:
 8590|  97.4k|    {
 8591|  97.4k|        return m_has_subtype;
 8592|  97.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_subtypeEm:
39489|  12.3k|    {
39490|  12.3k|        dump_subtype(subtype, std::integral_constant<bool, magnitude_has_at_least_64_bits> {});
39491|  12.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_subtypeEmNS4_17integral_constantIbLb1EEE:
39494|  12.3k|    {
39495|  12.3k|        dump_integer(subtype);
39496|  12.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerImTnNS4_9enable_ifIXoooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valueEiE4typeELi0EEEvSK_:
39527|   152k|    {
39528|   152k|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
39529|   152k|        {
39530|   152k|            {
39531|   152k|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
39532|   152k|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
39533|   152k|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
39534|   152k|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
39535|   152k|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
39536|   152k|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
39537|   152k|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
39538|   152k|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
39539|   152k|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
39540|   152k|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
39541|   152k|            }
39542|   152k|        };
39543|       |
39544|       |        // special case for "0"
39545|   152k|        if (x == 0)
  ------------------
  |  Branch (39545:13): [True: 32.0k, False: 120k]
  ------------------
39546|  32.0k|        {
39547|  32.0k|            put_char('0');
39548|  32.0k|            return;
39549|  32.0k|        }
39550|       |
39551|       |        // use a pointer to fill the buffer (room for as much as number_buffer holds)
39552|   120k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|   120k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 342, False: 120k]
  |  |  ------------------
  ------------------
39553|    342|        {
39554|    342|            flush();
39555|    342|        }
39556|   120k|        auto* buffer_ptr = write_buffer.data() + write_buffer_pos;
39557|       |
39558|   120k|        number_magnitude_t abs_value;
39559|       |
39560|       |        // one byte for the minus sign
39561|   120k|        unsigned int n_chars = 0;
39562|       |
39563|   120k|        if (is_negative_number(x))
  ------------------
  |  Branch (39563:13): [True: 0, False: 120k]
  ------------------
39564|      0|        {
39565|      0|            *buffer_ptr = '-';
39566|      0|            abs_value = remove_sign(static_cast<number_integer_t>(x));
39567|      0|            n_chars = 1;
39568|      0|        }
39569|   120k|        else
39570|   120k|        {
39571|   120k|            abs_value = static_cast<number_magnitude_t>(x);
39572|   120k|        }
39573|       |
39574|       |        // up to 16 digits: eight at a time (as the digits of floats), written
39575|       |        // without leading zeros
39576|   120k|        if (abs_value < 10000000000000000u)
  ------------------
  |  Branch (39576:13): [True: 118k, False: 2.36k]
  ------------------
39577|   118k|        {
39578|   118k|            const auto value = static_cast<std::uint64_t>(abs_value); // fits: abs_value < 10^16
39579|   118k|            const std::uint64_t upper = value / 100000000u;
39580|   118k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(upper != 0 ? upper : value);
  ------------------
  |  Branch (39580:70): [True: 1.48k, False: 116k]
  ------------------
39581|   118k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39582|   118k|            char* const p = buffer_ptr + n_chars;
39583|   118k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39584|   118k|            n_chars += 8 - leading;
39585|   118k|            if (upper != 0)
  ------------------
  |  Branch (39585:17): [True: 1.48k, False: 116k]
  ------------------
39586|  1.48k|            {
39587|  1.48k|                dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(value - (upper * 100000000u)) + 0x3030303030303030u);
39588|  1.48k|                n_chars += 8;
39589|  1.48k|            }
39590|   118k|            write_buffer_pos += n_chars;
39591|   118k|            return;
39592|   118k|        }
39593|       |
39594|       |        // 17 to 20 digits: the first one to four, then twice eight
39595|  2.36k|        if (magnitude_fits_64_bits(abs_value, std::integral_constant<bool, magnitude_has_at_most_64_bits>()))
  ------------------
  |  Branch (39595:13): [True: 2.36k, False: 0]
  ------------------
39596|  2.36k|        {
39597|  2.36k|            const auto value = static_cast<std::uint64_t>(abs_value);
39598|  2.36k|            const std::uint64_t top = value / 10000000000000000u; // 1 to 1844
39599|  2.36k|            const std::uint64_t low16 = value - (top * 10000000000000000u);
39600|  2.36k|            const std::uint64_t middle = low16 / 100000000u;
39601|  2.36k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(top);
39602|  2.36k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39603|  2.36k|            char* const p = buffer_ptr + n_chars;
39604|  2.36k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39605|  2.36k|            dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(middle) + 0x3030303030303030u);
39606|  2.36k|            dtoa_impl::store_msb_first(p + 16 - leading, dtoa_impl::eight_digit_bytes(low16 - (middle * 100000000u)) + 0x3030303030303030u);
39607|  2.36k|            write_buffer_pos += n_chars + 24 - leading;
39608|  2.36k|            return;
39609|  2.36k|        }
39610|       |
39611|      0|        n_chars += count_digits(abs_value);
39612|       |
39613|       |        // spare 1 byte for '\0'
39614|      0|        JSON_ASSERT(n_chars < number_buffer.size() - 1);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39614:9): [True: 0, False: 0]
  ------------------
39615|       |
39616|       |        // jump to the end to generate the string from backward,
39617|       |        // so we later avoid reversing the result
39618|      0|        buffer_ptr += n_chars;
39619|       |
39620|       |        // Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
39621|       |        // See: https://www.youtube.com/watch?v=o4-CwDo2zpg
39622|      0|        while (abs_value >= 100)
  ------------------
  |  Branch (39622:16): [True: 0, False: 0]
  ------------------
39623|      0|        {
39624|      0|            const auto digits_index = static_cast<unsigned>((abs_value % 100));
39625|      0|            abs_value /= 100;
39626|      0|            *(--buffer_ptr) = digits_to_99[digits_index][1];
39627|      0|            *(--buffer_ptr) = digits_to_99[digits_index][0];
39628|      0|        }
39629|       |
39630|      0|        if (abs_value >= 10)
  ------------------
  |  Branch (39630:13): [True: 0, False: 0]
  ------------------
39631|      0|        {
39632|      0|            const auto digits_index = static_cast<unsigned>(abs_value);
39633|      0|            *(--buffer_ptr) = digits_to_99[digits_index][1];
39634|      0|            *(--buffer_ptr) = digits_to_99[digits_index][0];
39635|      0|        }
39636|      0|        else
39637|      0|        {
39638|      0|            *(--buffer_ptr) = static_cast<char>('0' + abs_value);
39639|      0|        }
39640|       |
39641|      0|        write_buffer_pos += n_chars;
39642|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18is_negative_numberImTnNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEiE4typeELi0EEEbSK_:
39415|   120k|    {
39416|   120k|        return false;
39417|   120k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11remove_signEl:
39793|  43.6k|    {
39794|  43.6k|        JSON_ASSERT(x < 0);
  ------------------
  |  | 2653|  43.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39794:9): [True: 43.6k, False: 0]
  ------------------
39795|  43.6k|        return static_cast<number_magnitude_t>(static_cast<number_magnitude_t>(-(x + 1)) + 1);
39796|  43.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl17eight_digit_bytesEm:
37132|   187k|{
37133|   187k|    const std::uint64_t abcd_efgh = abcdefgh + (((std::uint64_t{1} << 32u) - 10000u) * ((abcdefgh * (((std::uint64_t{1} << 40u) / 10000u) + 1u)) >> 40u));
37134|   187k|    const std::uint64_t ab_cd_ef_gh = abcd_efgh + (((std::uint64_t{1} << 16u) - 100u) * (((abcd_efgh * (((std::uint64_t{1} << 19u) / 100u) + 1u)) >> 19u) & 0x7F0000007Fu));
37135|   187k|    return ab_cd_ef_gh + (((std::uint64_t{1} << 8u) - 10u) * (((ab_cd_ef_gh * (((std::uint64_t{1} << 10u) / 10u) + 1u)) >> 10u) & 0x000F000F000F000Fu));
37136|   187k|}
_ZN8nlohmann16json_abi_v3_12_06detail19count_leading_zerosEm:
 9062|   247k|{
 9063|   247k|#if defined(__GNUC__) || defined(__clang__)
 9064|   247k|    return __builtin_clzll(x);
 9065|       |#elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_ARM64))
 9066|       |    unsigned long index = 0; // NOLINT(runtime/int): the type _BitScan*64 takes
 9067|       |    _BitScanReverse64(&index, x);
 9068|       |    return 63 - static_cast<int>(index);
 9069|       |#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_ARM))
 9070|       |    unsigned long index = 0; // NOLINT(runtime/int): the type _BitScan* takes
 9071|       |    if (_BitScanReverse(&index, static_cast<unsigned long>(x >> 32u))) // NOLINT(runtime/int)
 9072|       |    {
 9073|       |        return 31 - static_cast<int>(index);
 9074|       |    }
 9075|       |    _BitScanReverse(&index, static_cast<unsigned long>(x)); // NOLINT(runtime/int)
 9076|       |    return 63 - static_cast<int>(index);
 9077|       |#elif defined(__cpp_lib_bitops)
 9078|       |    return std::countl_zero(x);
 9079|       |#else
 9080|       |    int n = 0;
 9081|       |    for (int shift = 32; shift != 0; shift >>= 1)
 9082|       |    {
 9083|       |        if ((x >> (64 - shift)) == 0)
 9084|       |        {
 9085|       |            n += shift;
 9086|       |            x <<= shift;
 9087|       |        }
 9088|       |    }
 9089|       |    return n;
 9090|       |#endif
 9091|   247k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl15store_msb_firstEPcm:
37142|   190k|{
37143|   190k|#if JSON_LITTLE_ENDIAN_TARGET
37144|   190k|    v = byteswap(v);
37145|   190k|    std::memcpy(p, &v, sizeof(v));
37146|       |#elif JSON_BIG_ENDIAN_TARGET
37147|       |    std::memcpy(p, &v, sizeof(v));
37148|       |#else
37149|       |    for (unsigned i = 0; i < 8; ++i)
37150|       |    {
37151|       |        p[i] = static_cast<char>(v >> (56u - (8u * i)));
37152|       |    }
37153|       |#endif
37154|   190k|}
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEm:
 9172|   263k|{
 9173|   263k|#if defined(__GNUC__) || defined(__clang__)
 9174|   263k|    return __builtin_bswap64(x);
 9175|       |#elif defined(_MSC_VER)
 9176|       |    return _byteswap_uint64(x);
 9177|       |#elif defined(__cpp_lib_byteswap)
 9178|       |    return std::byteswap(x);
 9179|       |#else
 9180|       |    x = ((x & 0x00000000FFFFFFFFull) << 32u) | ((x & 0xFFFFFFFF00000000ull) >> 32u);
 9181|       |    x = ((x & 0x0000FFFF0000FFFFull) << 16u) | ((x & 0xFFFF0000FFFF0000ull) >> 16u);
 9182|       |    x = ((x & 0x00FF00FF00FF00FFull) << 8u) | ((x & 0xFF00FF00FF00FF00ull) >> 8u);
 9183|       |    return x;
 9184|       |#endif
 9185|   263k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE22magnitude_fits_64_bitsERKmNS4_17integral_constantIbLb1EEE:
39774|  4.82k|    {
39775|  4.82k|        return true;
39776|  4.82k|    }
_ZNK8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEE7subtypeEv:
 8583|  20.5k|    {
 8584|  20.5k|        return m_has_subtype ? m_subtype : static_cast<subtype_type>(-1);
  ------------------
  |  Branch (8584:16): [True: 20.5k, False: 0]
  ------------------
 8585|  20.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm13EEEvRAT__Kc:
39040|  73.0k|    {
39041|  73.0k|        static_assert(N >= 2, "put_literal expects a non-empty string literal");
39042|       |        // the array bound counts the terminating NUL, which is not written
39043|  73.0k|        constexpr std::size_t length = N - 1;
39044|  73.0k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  73.0k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  73.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 84, False: 73.0k]
  |  |  ------------------
  ------------------
39047|     84|        {
39048|     84|            flush();
39049|     84|        }
39050|  73.0k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  73.0k|        write_buffer_pos += length;
39052|  73.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm5EEEvRAT__Kc:
39040|  14.1k|    {
39041|  14.1k|        static_assert(N >= 2, "put_literal expects a non-empty string literal");
39042|       |        // the array bound counts the terminating NUL, which is not written
39043|  14.1k|        constexpr std::size_t length = N - 1;
39044|  14.1k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  14.1k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  14.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 72, False: 14.0k]
  |  |  ------------------
  ------------------
39047|     72|        {
39048|     72|            flush();
39049|     72|        }
39050|  14.1k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  14.1k|        write_buffer_pos += length;
39052|  14.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm6EEEvRAT__Kc:
39040|  64.0k|    {
39041|  64.0k|        static_assert(N >= 2, "put_literal expects a non-empty string literal");
39042|       |        // the array bound counts the terminating NUL, which is not written
39043|  64.0k|        constexpr std::size_t length = N - 1;
39044|  64.0k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  64.0k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  64.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 108, False: 63.9k]
  |  |  ------------------
  ------------------
39047|    108|        {
39048|    108|            flush();
39049|    108|        }
39050|  64.0k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  64.0k|        write_buffer_pos += length;
39052|  64.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_signed_valueEl:
38191|  47.9k|    {
38192|  47.9k|        dump_integer(x);
38193|  47.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerIlTnNS4_9enable_ifIXoooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valueEiE4typeELi0EEEvSK_:
39527|  47.9k|    {
39528|  47.9k|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
39529|  47.9k|        {
39530|  47.9k|            {
39531|  47.9k|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
39532|  47.9k|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
39533|  47.9k|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
39534|  47.9k|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
39535|  47.9k|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
39536|  47.9k|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
39537|  47.9k|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
39538|  47.9k|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
39539|  47.9k|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
39540|  47.9k|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
39541|  47.9k|            }
39542|  47.9k|        };
39543|       |
39544|       |        // special case for "0"
39545|  47.9k|        if (x == 0)
  ------------------
  |  Branch (39545:13): [True: 642, False: 47.3k]
  ------------------
39546|    642|        {
39547|    642|            put_char('0');
39548|    642|            return;
39549|    642|        }
39550|       |
39551|       |        // use a pointer to fill the buffer (room for as much as number_buffer holds)
39552|  47.3k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|  47.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 120, False: 47.1k]
  |  |  ------------------
  ------------------
39553|    120|        {
39554|    120|            flush();
39555|    120|        }
39556|  47.3k|        auto* buffer_ptr = write_buffer.data() + write_buffer_pos;
39557|       |
39558|  47.3k|        number_magnitude_t abs_value;
39559|       |
39560|       |        // one byte for the minus sign
39561|  47.3k|        unsigned int n_chars = 0;
39562|       |
39563|  47.3k|        if (is_negative_number(x))
  ------------------
  |  Branch (39563:13): [True: 43.6k, False: 3.63k]
  ------------------
39564|  43.6k|        {
39565|  43.6k|            *buffer_ptr = '-';
39566|  43.6k|            abs_value = remove_sign(static_cast<number_integer_t>(x));
39567|  43.6k|            n_chars = 1;
39568|  43.6k|        }
39569|  3.63k|        else
39570|  3.63k|        {
39571|  3.63k|            abs_value = static_cast<number_magnitude_t>(x);
39572|  3.63k|        }
39573|       |
39574|       |        // up to 16 digits: eight at a time (as the digits of floats), written
39575|       |        // without leading zeros
39576|  47.3k|        if (abs_value < 10000000000000000u)
  ------------------
  |  Branch (39576:13): [True: 44.8k, False: 2.46k]
  ------------------
39577|  44.8k|        {
39578|  44.8k|            const auto value = static_cast<std::uint64_t>(abs_value); // fits: abs_value < 10^16
39579|  44.8k|            const std::uint64_t upper = value / 100000000u;
39580|  44.8k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(upper != 0 ? upper : value);
  ------------------
  |  Branch (39580:70): [True: 2.23k, False: 42.6k]
  ------------------
39581|  44.8k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39582|  44.8k|            char* const p = buffer_ptr + n_chars;
39583|  44.8k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39584|  44.8k|            n_chars += 8 - leading;
39585|  44.8k|            if (upper != 0)
  ------------------
  |  Branch (39585:17): [True: 2.23k, False: 42.6k]
  ------------------
39586|  2.23k|            {
39587|  2.23k|                dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(value - (upper * 100000000u)) + 0x3030303030303030u);
39588|  2.23k|                n_chars += 8;
39589|  2.23k|            }
39590|  44.8k|            write_buffer_pos += n_chars;
39591|  44.8k|            return;
39592|  44.8k|        }
39593|       |
39594|       |        // 17 to 20 digits: the first one to four, then twice eight
39595|  2.46k|        if (magnitude_fits_64_bits(abs_value, std::integral_constant<bool, magnitude_has_at_most_64_bits>()))
  ------------------
  |  Branch (39595:13): [True: 2.46k, False: 0]
  ------------------
39596|  2.46k|        {
39597|  2.46k|            const auto value = static_cast<std::uint64_t>(abs_value);
39598|  2.46k|            const std::uint64_t top = value / 10000000000000000u; // 1 to 1844
39599|  2.46k|            const std::uint64_t low16 = value - (top * 10000000000000000u);
39600|  2.46k|            const std::uint64_t middle = low16 / 100000000u;
39601|  2.46k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(top);
39602|  2.46k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39603|  2.46k|            char* const p = buffer_ptr + n_chars;
39604|  2.46k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39605|  2.46k|            dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(middle) + 0x3030303030303030u);
39606|  2.46k|            dtoa_impl::store_msb_first(p + 16 - leading, dtoa_impl::eight_digit_bytes(low16 - (middle * 100000000u)) + 0x3030303030303030u);
39607|  2.46k|            write_buffer_pos += n_chars + 24 - leading;
39608|  2.46k|            return;
39609|  2.46k|        }
39610|       |
39611|      0|        n_chars += count_digits(abs_value);
39612|       |
39613|       |        // spare 1 byte for '\0'
39614|      0|        JSON_ASSERT(n_chars < number_buffer.size() - 1);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39614:9): [True: 0, False: 0]
  ------------------
39615|       |
39616|       |        // jump to the end to generate the string from backward,
39617|       |        // so we later avoid reversing the result
39618|      0|        buffer_ptr += n_chars;
39619|       |
39620|       |        // Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
39621|       |        // See: https://www.youtube.com/watch?v=o4-CwDo2zpg
39622|      0|        while (abs_value >= 100)
  ------------------
  |  Branch (39622:16): [True: 0, False: 0]
  ------------------
39623|      0|        {
39624|      0|            const auto digits_index = static_cast<unsigned>((abs_value % 100));
39625|      0|            abs_value /= 100;
39626|      0|            *(--buffer_ptr) = digits_to_99[digits_index][1];
39627|      0|            *(--buffer_ptr) = digits_to_99[digits_index][0];
39628|      0|        }
39629|       |
39630|      0|        if (abs_value >= 10)
  ------------------
  |  Branch (39630:13): [True: 0, False: 0]
  ------------------
39631|      0|        {
39632|      0|            const auto digits_index = static_cast<unsigned>(abs_value);
39633|      0|            *(--buffer_ptr) = digits_to_99[digits_index][1];
39634|      0|            *(--buffer_ptr) = digits_to_99[digits_index][0];
39635|      0|        }
39636|      0|        else
39637|      0|        {
39638|      0|            *(--buffer_ptr) = static_cast<char>('0' + abs_value);
39639|      0|        }
39640|       |
39641|      0|        write_buffer_pos += n_chars;
39642|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18is_negative_numberIlTnNS4_9enable_ifIXsr9is_signedIT_EE5valueEiE4typeELi0EEEbSK_:
39409|  47.3k|    {
39410|  47.3k|        return x < 0;
39411|  47.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE19dump_unsigned_valueEm:
38196|   140k|    {
38197|   140k|        dump_integer(x);
38198|   140k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16dump_float_valueEd:
38201|  19.9k|    {
38202|  19.9k|        dump_float(x);
38203|  19.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_floatEd:
39652|  19.9k|    {
39653|       |        // NaN / inf
39654|  19.9k|        if (!std::isfinite(x))
  ------------------
  |  Branch (39654:13): [True: 1.41k, False: 18.5k]
  ------------------
39655|  1.41k|        {
39656|  1.41k|            put_literal("null");
39657|  1.41k|            return;
39658|  1.41k|        }
39659|       |
39660|       |        // If number_float_t is an IEEE-754 single or double precision number,
39661|       |        // use to_chars() to produce short numbers which are guaranteed to
39662|       |        // round-trip, using strtof and strtod, resp. (the shortest digits of
39663|       |        // Zmij for binary64, the Grisu2 algorithm for binary32).
39664|       |        //
39665|       |        // NB: The test below works if <long double> == <double>.
39666|  18.5k|        static constexpr bool is_ieee_single_or_double
39667|  18.5k|            = (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 24 && std::numeric_limits<number_float_t>::max_exponent == 128) ||
  ------------------
  |  Branch (39667:16): [True: 0, Folded]
  |  Branch (39667:66): [Folded, False: 0]
  |  Branch (39667:119): [Folded, False: 0]
  ------------------
39668|      0|              (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 53 && std::numeric_limits<number_float_t>::max_exponent == 1024);
  ------------------
  |  Branch (39668:16): [True: 0, Folded]
  |  Branch (39668:66): [True: 0, Folded]
  |  Branch (39668:119): [True: 0, Folded]
  ------------------
39669|       |
39670|  18.5k|        dump_float(x, std::integral_constant<bool, is_ieee_single_or_double>());
39671|  18.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_floatEdNS4_17integral_constantIbLb1EEE:
39674|  18.5k|    {
39675|       |        // directly into the write buffer: copying the text from number_buffer
39676|       |        // right after to_chars() wrote it waits until its stores are done
39677|  18.5k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|  18.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 78, False: 18.4k]
  |  |  ------------------
  ------------------
39678|     78|        {
39679|     78|            flush();
39680|     78|        }
39681|  18.5k|        auto* begin = write_buffer.data() + write_buffer_pos;
39682|  18.5k|        auto* end = ::nlohmann::detail::to_chars(begin, begin + number_buffer.size(), x);
39683|  18.5k|        write_buffer_pos += static_cast<std::size_t>(end - begin);
39684|  18.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail8to_charsIdEEPcS3_PKcT_:
37575|  18.5k|{
37576|  18.5k|    JSON_ASSERT(std::isfinite(value));
  ------------------
  |  | 2653|  18.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37576:5): [True: 18.5k, False: 0]
  ------------------
37577|       |
37578|       |    // Use signbit(value) instead of (value < 0) since signbit works for -0.
37579|  18.5k|    if (std::signbit(value))
  ------------------
  |  Branch (37579:9): [True: 6.80k, False: 11.7k]
  ------------------
37580|  6.80k|    {
37581|  6.80k|        value = -value;
37582|  6.80k|        *first++ = '-';
37583|  6.80k|    }
37584|       |
37585|  18.5k|#ifdef __GNUC__
37586|  18.5k|    JSON_HEDLEY_DIAGNOSTIC_PUSH
37587|  18.5k|    JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wfloat-equal")
37588|  18.5k|#endif
37589|  18.5k|    if (value == 0) // +-0
  ------------------
  |  Branch (37589:9): [True: 1.30k, False: 17.2k]
  ------------------
37590|  1.30k|    {
37591|  1.30k|        *first++ = '0';
37592|       |        // Make it look like a floating-point number (#362, #378)
37593|  1.30k|        *first++ = '.';
37594|  1.30k|        *first++ = '0';
37595|  1.30k|        return first;
37596|  1.30k|    }
37597|  17.2k|#ifdef __GNUC__
37598|  17.2k|    JSON_HEDLEY_DIAGNOSTIC_POP
37599|  17.2k|#endif
37600|       |
37601|  17.2k|    return dtoa_impl::write_positive(first, last, value);
37602|  18.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_positiveIdEEPcS4_PKcT_:
37555|  17.2k|{
37556|  17.2k|    return write_positive(first, last, value, is_binary64<FloatType> {});
37557|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_positiveIdEEPcS4_PKcT_NSt3__117integral_constantIbLb1EEE:
37537|  17.2k|{
37538|  17.2k|    return write_positive_zmij(first, last, value);
37539|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl19write_positive_zmijIdEEPcS4_PKcT_:
37515|  17.2k|{
37516|  17.2k|    static_assert(is_binary64<FloatType>::value,
37517|  17.2k|                  "internal error: the conversion of Zmij needs IEEE 754 binary64 numbers");
37518|  17.2k|    const auto bits = bit_cast<std::uint64_t>(value);
37519|  17.2k|    const zmij::shortest_decimal d = zmij::to_shortest(bits);
37520|  17.2k|    if (JSON_HEDLEY_LIKELY(last - first >= 41))
  ------------------
  |  | 1696|  17.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 17.2k, False: 0]
  |  |  ------------------
  ------------------
37521|  17.2k|    {
37522|  17.2k|        return write_shortest(first, d);
37523|  17.2k|    }
37524|      0|    std::array<char, 64> buf; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
37525|      0|    const auto len = static_cast<std::size_t>(write_shortest(buf.data(), d) - buf.data());
37526|      0|    JSON_ASSERT(last - first >= static_cast<std::ptrdiff_t>(len));
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37526:5): [True: 0, False: 0]
  ------------------
37527|      0|    std::memcpy(first, buf.data(), len);
37528|      0|    return first + len;
37529|      0|}
_ZN8nlohmann16json_abi_v3_12_06detail8bit_castImdEET_RKT0_:
 9129|  17.2k|{
 9130|  17.2k|    static_assert(sizeof(To) == sizeof(From), "bit_cast needs types of the same size");
 9131|       |#if defined(__cpp_lib_bit_cast)
 9132|       |    return std::bit_cast<To>(from);
 9133|       |#else
 9134|  17.2k|    To to {};
 9135|  17.2k|    std::memcpy(&to, &from, sizeof(To));
 9136|  17.2k|    return to;
 9137|  17.2k|#endif
 9138|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11to_shortestEm:
36050|  17.2k|{
36051|  17.2k|    constexpr int extra_shift = 9;
36052|  17.2k|    const auto raw_exp = static_cast<int>((bits >> 52u) & 0x7FFu);
36053|  17.2k|    std::uint64_t bin_sig = bits & ((std::uint64_t{1} << 52u) - 1);
36054|       |    // a power of two has a narrower interval below (except the smallest normal)
36055|  17.2k|    const bool regular = bin_sig != 0 || raw_exp <= 1;
  ------------------
  |  Branch (36055:26): [True: 15.6k, False: 1.65k]
  |  Branch (36055:42): [True: 0, False: 1.65k]
  ------------------
36056|  17.2k|    const int bin_exp = (raw_exp == 0 ? 1 : raw_exp) - 1075;
  ------------------
  |  Branch (36056:26): [True: 3.19k, False: 14.0k]
  ------------------
36057|  17.2k|    if (raw_exp != 0)
  ------------------
  |  Branch (36057:9): [True: 14.0k, False: 3.19k]
  ------------------
36058|  14.0k|    {
36059|  14.0k|        bin_sig |= std::uint64_t{1} << 52u;
36060|  14.0k|    }
36061|       |    // floor(log10(2^bin_exp)), or floor(log10(3/4 * 2^bin_exp)) for the irregular case
36062|  17.2k|    const int dec_exp = ((bin_exp * 315653) - (regular ? 0 : 131072)) >> 20;
  ------------------
  |  Branch (36062:48): [True: 15.6k, False: 1.65k]
  ------------------
36063|       |    // scaled by 10^(-dec_exp - 1): the integral part is the shorter candidate
36064|  17.2k|    const int shift = bin_exp + ((-(dec_exp + 1) * 217707) >> 16) + 1 + extra_shift;
36065|  17.2k|    const uint128_parts p10 = pow10(-dec_exp - 1);
36066|  17.2k|    const uint128_parts p = umul192_hi128(p10.high, p10.low, bin_sig << static_cast<unsigned>(shift));
36067|  17.2k|    std::uint64_t integral = p.high >> static_cast<unsigned>(extra_shift);
36068|       |    // (no casts in the shifts: MSVC 2015 warns C4554 on them despite the parentheses)
36069|  17.2k|    constexpr auto fractional_low_shift = static_cast<unsigned>(extra_shift);
36070|  17.2k|    constexpr unsigned fractional_high_shift = 64u - fractional_low_shift;
36071|  17.2k|    const std::uint64_t fractional = (p.high << fractional_high_shift) | (p.low >> fractional_low_shift);
36072|  17.2k|    std::uint64_t digit = 0;
36073|  17.2k|    bool round_up = false;
36074|  17.2k|    bool round_down = false;
36075|  17.2k|    if (JSON_HEDLEY_LIKELY(regular))
  ------------------
  |  | 1696|  17.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 15.6k, False: 1.65k]
  |  |  ------------------
  ------------------
36076|  15.6k|    {
36077|  15.6k|        const std::uint64_t half_ulp = (p10.high >> static_cast<unsigned>(extra_shift + 1 - shift)) + (1 - (bin_sig & 1u));
36078|  15.6k|        round_up = fractional + half_ulp < fractional;
36079|  15.6k|        round_down = half_ulp > fractional;
36080|       |        // the last digit of the longer candidate, rounded to nearest
36081|  15.6k|        digit = umul128_add_hi64(fractional, 10, (std::uint64_t{1} << 63u) + 6);
36082|  15.6k|        if (fractional == (std::uint64_t{1} << 62u))
  ------------------
  |  Branch (36082:13): [True: 510, False: 15.0k]
  ------------------
36083|    510|        {
36084|    510|            digit = 2; // 2.5 rounds to 2
36085|    510|        }
36086|  15.6k|    }
36087|  1.65k|    else
36088|  1.65k|    {
36089|  1.65k|        const std::uint64_t half_ulp = p10.high >> static_cast<unsigned>(extra_shift + 1 - shift);
36090|  1.65k|        round_up = half_ulp > ~std::uint64_t{0} - fractional;
36091|  1.65k|        round_down = (half_ulp >> 1u) > fractional;
36092|  1.65k|        digit = umul128_add_hi64(fractional, 10, (std::uint64_t{1} << 63u) - 1);
36093|  1.65k|        const std::uint64_t lowest = umul128_add_hi64(fractional - (half_ulp >> 1u), 10, ~std::uint64_t{0});
36094|  1.65k|        digit = digit < lowest ? lowest : digit;
  ------------------
  |  Branch (36094:17): [True: 864, False: 786]
  ------------------
36095|  1.65k|    }
36096|  17.2k|    integral += round_up ? 1u : 0u;
  ------------------
  |  Branch (36096:17): [True: 3.45k, False: 13.7k]
  ------------------
36097|       |    // if the shorter candidate is outside the rounding interval: one digit more
36098|  17.2k|    return shortest_decimal{integral, dec_exp, static_cast<unsigned char>(digit), !round_up && !round_down};
  ------------------
  |  Branch (36098:83): [True: 13.7k, False: 3.45k]
  |  Branch (36098:96): [True: 6.34k, False: 7.44k]
  ------------------
36099|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij5pow10Ei:
36004|  17.2k|{
36005|  17.2k|    if (k > pow5_128_largest_power)
  ------------------
  |  Branch (36005:9): [True: 3.82k, False: 13.4k]
  ------------------
36006|  3.82k|    {
36007|  3.82k|        return compute_pow10(k); // (only for the smallest doubles)
36008|  3.82k|    }
36009|  13.4k|    const auto i = 2 * static_cast<std::size_t>(k - pow5_128_smallest_power);
36010|  13.4k|    uint128_parts r{pow5_128()[i + 1], pow5_128()[i]};
36011|  13.4k|    const std::uint64_t adjust = static_cast<unsigned>(k + 27) < 27u ? 1u : 0u;
  ------------------
  |  Branch (36011:34): [True: 1.93k, False: 11.4k]
  ------------------
36012|  13.4k|    r.high -= r.low < adjust ? 1u : 0u;
  ------------------
  |  Branch (36012:15): [True: 0, False: 13.4k]
  ------------------
36013|  13.4k|    r.low -= adjust;
36014|  13.4k|    return r;
36015|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij13compute_pow10Ei:
35974|  3.82k|{
35975|  3.82k|    const auto i = static_cast<unsigned>(k + 307);
35976|  3.82k|    const std::uint64_t m = pow10_minor()[(i + 24) % 28];
35977|  3.82k|    const std::size_t j = 2 * static_cast<std::size_t>((i + 24) / 28);
35978|  3.82k|    const std::uint64_t h_hi = pow10_major()[j];
35979|  3.82k|    const std::uint64_t h_lo = pow10_major()[j + 1];
35980|  3.82k|    const std::uint64_t h1 = full_multiplication(h_lo, m).high;
35981|  3.82k|    const std::uint64_t c0 = h_lo * m;
35982|  3.82k|    const std::uint64_t c1 = h1 + (h_hi * m);
35983|  3.82k|    const std::uint64_t c2 = (c1 < h1 ? 1u : 0u) + full_multiplication(h_hi, m).high;
  ------------------
  |  Branch (35983:31): [True: 174, False: 3.64k]
  ------------------
35984|  3.82k|    uint128_parts r{};
35985|  3.82k|    if ((c2 >> 63u) != 0)
  ------------------
  |  Branch (35985:9): [True: 522, False: 3.30k]
  ------------------
35986|    522|    {
35987|    522|        r.high = c2;
35988|    522|        r.low = c1;
35989|    522|    }
35990|  3.30k|    else
35991|  3.30k|    {
35992|  3.30k|        r.high = (c2 << 1u) | (c1 >> 63u);
35993|  3.30k|        r.low = (c1 << 1u) | (c0 >> 63u);
35994|  3.30k|    }
35995|  3.82k|    r.low -= (pow10_fixups()[i >> 5u] >> (i & 31u)) & 1u;
35996|  3.82k|    return r;
35997|  3.82k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11pow10_minorEv:
35922|  3.82k|{
35923|  3.82k|    static const std::array<std::uint64_t, 28> table =
35924|  3.82k|    {
35925|  3.82k|        {
35926|  3.82k|            0x8000000000000000u, 0xa000000000000000u, 0xc800000000000000u, 0xfa00000000000000u, 0x9c40000000000000u,
35927|  3.82k|            0xc350000000000000u, 0xf424000000000000u, 0x9896800000000000u, 0xbebc200000000000u, 0xee6b280000000000u,
35928|  3.82k|            0x9502f90000000000u, 0xba43b74000000000u, 0xe8d4a51000000000u, 0x9184e72a00000000u, 0xb5e620f480000000u,
35929|  3.82k|            0xe35fa931a0000000u, 0x8e1bc9bf04000000u, 0xb1a2bc2ec5000000u, 0xde0b6b3a76400000u, 0x8ac7230489e80000u,
35930|  3.82k|            0xad78ebc5ac620000u, 0xd8d726b7177a8000u, 0x878678326eac9000u, 0xa968163f0a57b400u, 0xd3c21bcecceda100u,
35931|  3.82k|            0x84595161401484a0u, 0xa56fa5b99019a5c8u, 0xcecb8f27f4200f3au
35932|  3.82k|        }
35933|  3.82k|    };
35934|  3.82k|    return table;
35935|  3.82k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11pow10_majorEv:
35939|  7.64k|{
35940|  7.64k|    static const std::array<std::uint64_t, 50> table =
35941|  7.64k|    {
35942|  7.64k|        {
35943|  7.64k|            0xaddcb9e83c6b1793u, 0xdf4abe242a1bbf3eu, 0xaf8e5410288e1b6fu, 0x07ecf0ae5ee44ddau, 0xb1442798f49ffb4au, 0x99cd11cfdf41779du,
35944|  7.64k|            0xb2fe3f0b8599ef07u, 0x861fa7e6dcb4aa15u, 0xb4bca50b065abe63u, 0x0fed077a756b53aau, 0xb67f6455292cbf08u, 0x1a3bc84c17b1d543u,
35945|  7.64k|            0xb84687c269ef3bfbu, 0x3d5d514f40eea742u, 0xba121a4650e4ddebu, 0x92f34d62616ce413u, 0xbbe226efb628afeau, 0x890489f70a55368cu,
35946|  7.64k|            0xbdb6b8e905cb600fu, 0x5400e987bbc1c921u, 0xbf8fdb78849a5f96u, 0xde98520472bdd034u, 0xc16d9a0095928a27u, 0x75b7053c0f178294u,
35947|  7.64k|            0xc350000000000000u, 0x0000000000000000u, 0xc5371912364ce305u, 0x6c28000000000000u, 0xc722f0ef9d80aad6u, 0x424d3ad2b7b97ef6u,
35948|  7.64k|            0xc913936dd571c84cu, 0x03bc3a19cd1e38eau, 0xcb090c8001ab551cu, 0x5cadf5bfd3072cc6u, 0xcd036837130890a1u, 0x36dba887c37a8c10u,
35949|  7.64k|            0xcf02b2c21207ef2eu, 0x94f967e45e03f4bcu, 0xd106f86e69d785c7u, 0xe13336d701beba52u, 0xd31045a8341ca07cu, 0x1ede48111209a051u,
35950|  7.64k|            0xd51ea6fa85785631u, 0x552a74227f3ea566u, 0xd732290fbacaf133u, 0xa97c177947ad4096u, 0xd94ad8b1c7380874u, 0x18375281ae7822bdu,
35951|  7.64k|            0xdb68c2ca82ed2a05u, 0xa67398db9f6820e1u
35952|  7.64k|        }
35953|  7.64k|    };
35954|  7.64k|    return table;
35955|  7.64k|}
_ZN8nlohmann16json_abi_v3_12_06detail19full_multiplicationEmm:
 9195|  61.0k|{
 9196|  61.0k|#if defined(__SIZEOF_INT128__)
 9197|  61.0k|    __extension__ using uint128 = unsigned __int128;
 9198|  61.0k|    const uint128 r = static_cast<uint128>(a) * b;
 9199|  61.0k|    return {static_cast<std::uint64_t>(r), static_cast<std::uint64_t>(r >> 64u)};
 9200|       |#elif defined(_MSC_VER) && defined(_M_X64)
 9201|       |    std::uint64_t high = 0;
 9202|       |    const std::uint64_t low = _umul128(a, b, &high);
 9203|       |    return {low, high};
 9204|       |#elif defined(_MSC_VER) && defined(_M_ARM64)
 9205|       |    return {a * b, __umulh(a, b)};
 9206|       |#else
 9207|       |    const std::uint64_t a_lo = a & 0xFFFFFFFFu;
 9208|       |    const std::uint64_t a_hi = a >> 32u;
 9209|       |    const std::uint64_t b_lo = b & 0xFFFFFFFFu;
 9210|       |    const std::uint64_t b_hi = b >> 32u;
 9211|       |    const std::uint64_t lo_lo = a_lo * b_lo;
 9212|       |    const std::uint64_t hi_lo = a_hi * b_lo;
 9213|       |    const std::uint64_t lo_hi = a_lo * b_hi;
 9214|       |    const std::uint64_t hi_hi = a_hi * b_hi;
 9215|       |    const std::uint64_t cross = (lo_lo >> 32u) + (hi_lo & 0xFFFFFFFFu) + lo_hi;
 9216|       |    return {(cross << 32u) | (lo_lo & 0xFFFFFFFFu), (hi_lo >> 32u) + (cross >> 32u) + hi_hi};
 9217|       |#endif
 9218|  61.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij12pow10_fixupsEv:
35959|  3.82k|{
35960|  3.82k|    static const std::array<std::uint32_t, 21> table =
35961|  3.82k|    {
35962|  3.82k|        {
35963|  3.82k|            0x8d8fc810u, 0x06100293u, 0x19000000u, 0x00100000u, 0x00000908u, 0x00000000u, 0x04e00300u, 0x3807e0b2u, 0x3d83d793u, 0x0006f5ccu,
35964|  3.82k|            0x00000000u, 0xffff0000u, 0x8076337du, 0x4ff45ba0u, 0x09405033u, 0x034376d9u, 0x09000000u, 0x4e100501u, 0x076d14dcu, 0xf964f45eu,
35965|  3.82k|            0x0000003du
35966|  3.82k|        }
35967|  3.82k|    };
35968|  3.82k|    return table;
35969|  3.82k|}
_ZN8nlohmann16json_abi_v3_12_06detail8pow5_128Ev:
11090|  26.8k|{
11091|  26.8k|    static const std::array<std::uint64_t, 1302> table =
11092|  26.8k|    {
11093|  26.8k|        {
11094|  26.8k|            0xeef453d6923bd65au, 0x113faa2906a13b3fu, 0x9558b4661b6565f8u, 0x4ac7ca59a424c507u,
11095|  26.8k|            0xbaaee17fa23ebf76u, 0x5d79bcf00d2df649u, 0xe95a99df8ace6f53u, 0xf4d82c2c107973dcu,
11096|  26.8k|            0x91d8a02bb6c10594u, 0x79071b9b8a4be869u, 0xb64ec836a47146f9u, 0x9748e2826cdee284u,
11097|  26.8k|            0xe3e27a444d8d98b7u, 0xfd1b1b2308169b25u, 0x8e6d8c6ab0787f72u, 0xfe30f0f5e50e20f7u,
11098|  26.8k|            0xb208ef855c969f4fu, 0xbdbd2d335e51a935u, 0xde8b2b66b3bc4723u, 0xad2c788035e61382u,
11099|  26.8k|            0x8b16fb203055ac76u, 0x4c3bcb5021afcc31u, 0xaddcb9e83c6b1793u, 0xdf4abe242a1bbf3du,
11100|  26.8k|            0xd953e8624b85dd78u, 0xd71d6dad34a2af0du, 0x87d4713d6f33aa6bu, 0x8672648c40e5ad68u,
11101|  26.8k|            0xa9c98d8ccb009506u, 0x680efdaf511f18c2u, 0xd43bf0effdc0ba48u, 0x0212bd1b2566def2u,
11102|  26.8k|            0x84a57695fe98746du, 0x014bb630f7604b57u, 0xa5ced43b7e3e9188u, 0x419ea3bd35385e2du,
11103|  26.8k|            0xcf42894a5dce35eau, 0x52064cac828675b9u, 0x818995ce7aa0e1b2u, 0x7343efebd1940993u,
11104|  26.8k|            0xa1ebfb4219491a1fu, 0x1014ebe6c5f90bf8u, 0xca66fa129f9b60a6u, 0xd41a26e077774ef6u,
11105|  26.8k|            0xfd00b897478238d0u, 0x8920b098955522b4u, 0x9e20735e8cb16382u, 0x55b46e5f5d5535b0u,
11106|  26.8k|            0xc5a890362fddbc62u, 0xeb2189f734aa831du, 0xf712b443bbd52b7bu, 0xa5e9ec7501d523e4u,
11107|  26.8k|            0x9a6bb0aa55653b2du, 0x47b233c92125366eu, 0xc1069cd4eabe89f8u, 0x999ec0bb696e840au,
11108|  26.8k|            0xf148440a256e2c76u, 0xc00670ea43ca250du, 0x96cd2a865764dbcau, 0x380406926a5e5728u,
11109|  26.8k|            0xbc807527ed3e12bcu, 0xc605083704f5ecf2u, 0xeba09271e88d976bu, 0xf7864a44c633682eu,
11110|  26.8k|            0x93445b8731587ea3u, 0x7ab3ee6afbe0211du, 0xb8157268fdae9e4cu, 0x5960ea05bad82964u,
11111|  26.8k|            0xe61acf033d1a45dfu, 0x6fb92487298e33bdu, 0x8fd0c16206306babu, 0xa5d3b6d479f8e056u,
11112|  26.8k|            0xb3c4f1ba87bc8696u, 0x8f48a4899877186cu, 0xe0b62e2929aba83cu, 0x331acdabfe94de87u,
11113|  26.8k|            0x8c71dcd9ba0b4925u, 0x9ff0c08b7f1d0b14u, 0xaf8e5410288e1b6fu, 0x07ecf0ae5ee44dd9u,
11114|  26.8k|            0xdb71e91432b1a24au, 0xc9e82cd9f69d6150u, 0x892731ac9faf056eu, 0xbe311c083a225cd2u,
11115|  26.8k|            0xab70fe17c79ac6cau, 0x6dbd630a48aaf406u, 0xd64d3d9db981787du, 0x092cbbccdad5b108u,
11116|  26.8k|            0x85f0468293f0eb4eu, 0x25bbf56008c58ea5u, 0xa76c582338ed2621u, 0xaf2af2b80af6f24eu,
11117|  26.8k|            0xd1476e2c07286faau, 0x1af5af660db4aee1u, 0x82cca4db847945cau, 0x50d98d9fc890ed4du,
11118|  26.8k|            0xa37fce126597973cu, 0xe50ff107bab528a0u, 0xcc5fc196fefd7d0cu, 0x1e53ed49a96272c8u,
11119|  26.8k|            0xff77b1fcbebcdc4fu, 0x25e8e89c13bb0f7au, 0x9faacf3df73609b1u, 0x77b191618c54e9acu,
11120|  26.8k|            0xc795830d75038c1du, 0xd59df5b9ef6a2417u, 0xf97ae3d0d2446f25u, 0x4b0573286b44ad1du,
11121|  26.8k|            0x9becce62836ac577u, 0x4ee367f9430aec32u, 0xc2e801fb244576d5u, 0x229c41f793cda73fu,
11122|  26.8k|            0xf3a20279ed56d48au, 0x6b43527578c1110fu, 0x9845418c345644d6u, 0x830a13896b78aaa9u,
11123|  26.8k|            0xbe5691ef416bd60cu, 0x23cc986bc656d553u, 0xedec366b11c6cb8fu, 0x2cbfbe86b7ec8aa8u,
11124|  26.8k|            0x94b3a202eb1c3f39u, 0x7bf7d71432f3d6a9u, 0xb9e08a83a5e34f07u, 0xdaf5ccd93fb0cc53u,
11125|  26.8k|            0xe858ad248f5c22c9u, 0xd1b3400f8f9cff68u, 0x91376c36d99995beu, 0x23100809b9c21fa1u,
11126|  26.8k|            0xb58547448ffffb2du, 0xabd40a0c2832a78au, 0xe2e69915b3fff9f9u, 0x16c90c8f323f516cu,
11127|  26.8k|            0x8dd01fad907ffc3bu, 0xae3da7d97f6792e3u, 0xb1442798f49ffb4au, 0x99cd11cfdf41779cu,
11128|  26.8k|            0xdd95317f31c7fa1du, 0x40405643d711d583u, 0x8a7d3eef7f1cfc52u, 0x482835ea666b2572u,
11129|  26.8k|            0xad1c8eab5ee43b66u, 0xda3243650005eecfu, 0xd863b256369d4a40u, 0x90bed43e40076a82u,
11130|  26.8k|            0x873e4f75e2224e68u, 0x5a7744a6e804a291u, 0xa90de3535aaae202u, 0x711515d0a205cb36u,
11131|  26.8k|            0xd3515c2831559a83u, 0x0d5a5b44ca873e03u, 0x8412d9991ed58091u, 0xe858790afe9486c2u,
11132|  26.8k|            0xa5178fff668ae0b6u, 0x626e974dbe39a872u, 0xce5d73ff402d98e3u, 0xfb0a3d212dc8128fu,
11133|  26.8k|            0x80fa687f881c7f8eu, 0x7ce66634bc9d0b99u, 0xa139029f6a239f72u, 0x1c1fffc1ebc44e80u,
11134|  26.8k|            0xc987434744ac874eu, 0xa327ffb266b56220u, 0xfbe9141915d7a922u, 0x4bf1ff9f0062baa8u,
11135|  26.8k|            0x9d71ac8fada6c9b5u, 0x6f773fc3603db4a9u, 0xc4ce17b399107c22u, 0xcb550fb4384d21d3u,
11136|  26.8k|            0xf6019da07f549b2bu, 0x7e2a53a146606a48u, 0x99c102844f94e0fbu, 0x2eda7444cbfc426du,
11137|  26.8k|            0xc0314325637a1939u, 0xfa911155fefb5308u, 0xf03d93eebc589f88u, 0x793555ab7eba27cau,
11138|  26.8k|            0x96267c7535b763b5u, 0x4bc1558b2f3458deu, 0xbbb01b9283253ca2u, 0x9eb1aaedfb016f16u,
11139|  26.8k|            0xea9c227723ee8bcbu, 0x465e15a979c1cadcu, 0x92a1958a7675175fu, 0x0bfacd89ec191ec9u,
11140|  26.8k|            0xb749faed14125d36u, 0xcef980ec671f667bu, 0xe51c79a85916f484u, 0x82b7e12780e7401au,
11141|  26.8k|            0x8f31cc0937ae58d2u, 0xd1b2ecb8b0908810u, 0xb2fe3f0b8599ef07u, 0x861fa7e6dcb4aa15u,
11142|  26.8k|            0xdfbdcece67006ac9u, 0x67a791e093e1d49au, 0x8bd6a141006042bdu, 0xe0c8bb2c5c6d24e0u,
11143|  26.8k|            0xaecc49914078536du, 0x58fae9f773886e18u, 0xda7f5bf590966848u, 0xaf39a475506a899eu,
11144|  26.8k|            0x888f99797a5e012du, 0x6d8406c952429603u, 0xaab37fd7d8f58178u, 0xc8e5087ba6d33b83u,
11145|  26.8k|            0xd5605fcdcf32e1d6u, 0xfb1e4a9a90880a64u, 0x855c3be0a17fcd26u, 0x5cf2eea09a55067fu,
11146|  26.8k|            0xa6b34ad8c9dfc06fu, 0xf42faa48c0ea481eu, 0xd0601d8efc57b08bu, 0xf13b94daf124da26u,
11147|  26.8k|            0x823c12795db6ce57u, 0x76c53d08d6b70858u, 0xa2cb1717b52481edu, 0x54768c4b0c64ca6eu,
11148|  26.8k|            0xcb7ddcdda26da268u, 0xa9942f5dcf7dfd09u, 0xfe5d54150b090b02u, 0xd3f93b35435d7c4cu,
11149|  26.8k|            0x9efa548d26e5a6e1u, 0xc47bc5014a1a6dafu, 0xc6b8e9b0709f109au, 0x359ab6419ca1091bu,
11150|  26.8k|            0xf867241c8cc6d4c0u, 0xc30163d203c94b62u, 0x9b407691d7fc44f8u, 0x79e0de63425dcf1du,
11151|  26.8k|            0xc21094364dfb5636u, 0x985915fc12f542e4u, 0xf294b943e17a2bc4u, 0x3e6f5b7b17b2939du,
11152|  26.8k|            0x979cf3ca6cec5b5au, 0xa705992ceecf9c42u, 0xbd8430bd08277231u, 0x50c6ff782a838353u,
11153|  26.8k|            0xece53cec4a314ebdu, 0xa4f8bf5635246428u, 0x940f4613ae5ed136u, 0x871b7795e136be99u,
11154|  26.8k|            0xb913179899f68584u, 0x28e2557b59846e3fu, 0xe757dd7ec07426e5u, 0x331aeada2fe589cfu,
11155|  26.8k|            0x9096ea6f3848984fu, 0x3ff0d2c85def7621u, 0xb4bca50b065abe63u, 0x0fed077a756b53a9u,
11156|  26.8k|            0xe1ebce4dc7f16dfbu, 0xd3e8495912c62894u, 0x8d3360f09cf6e4bdu, 0x64712dd7abbbd95cu,
11157|  26.8k|            0xb080392cc4349decu, 0xbd8d794d96aacfb3u, 0xdca04777f541c567u, 0xecf0d7a0fc5583a0u,
11158|  26.8k|            0x89e42caaf9491b60u, 0xf41686c49db57244u, 0xac5d37d5b79b6239u, 0x311c2875c522ced5u,
11159|  26.8k|            0xd77485cb25823ac7u, 0x7d633293366b828bu, 0x86a8d39ef77164bcu, 0xae5dff9c02033197u,
11160|  26.8k|            0xa8530886b54dbdebu, 0xd9f57f830283fdfcu, 0xd267caa862a12d66u, 0xd072df63c324fd7bu,
11161|  26.8k|            0x8380dea93da4bc60u, 0x4247cb9e59f71e6du, 0xa46116538d0deb78u, 0x52d9be85f074e608u,
11162|  26.8k|            0xcd795be870516656u, 0x67902e276c921f8bu, 0x806bd9714632dff6u, 0x00ba1cd8a3db53b6u,
11163|  26.8k|            0xa086cfcd97bf97f3u, 0x80e8a40eccd228a4u, 0xc8a883c0fdaf7df0u, 0x6122cd128006b2cdu,
11164|  26.8k|            0xfad2a4b13d1b5d6cu, 0x796b805720085f81u, 0x9cc3a6eec6311a63u, 0xcbe3303674053bb0u,
11165|  26.8k|            0xc3f490aa77bd60fcu, 0xbedbfc4411068a9cu, 0xf4f1b4d515acb93bu, 0xee92fb5515482d44u,
11166|  26.8k|            0x991711052d8bf3c5u, 0x751bdd152d4d1c4au, 0xbf5cd54678eef0b6u, 0xd262d45a78a0635du,
11167|  26.8k|            0xef340a98172aace4u, 0x86fb897116c87c34u, 0x9580869f0e7aac0eu, 0xd45d35e6ae3d4da0u,
11168|  26.8k|            0xbae0a846d2195712u, 0x8974836059cca109u, 0xe998d258869facd7u, 0x2bd1a438703fc94bu,
11169|  26.8k|            0x91ff83775423cc06u, 0x7b6306a34627ddcfu, 0xb67f6455292cbf08u, 0x1a3bc84c17b1d542u,
11170|  26.8k|            0xe41f3d6a7377eecau, 0x20caba5f1d9e4a93u, 0x8e938662882af53eu, 0x547eb47b7282ee9cu,
11171|  26.8k|            0xb23867fb2a35b28du, 0xe99e619a4f23aa43u, 0xdec681f9f4c31f31u, 0x6405fa00e2ec94d4u,
11172|  26.8k|            0x8b3c113c38f9f37eu, 0xde83bc408dd3dd04u, 0xae0b158b4738705eu, 0x9624ab50b148d445u,
11173|  26.8k|            0xd98ddaee19068c76u, 0x3badd624dd9b0957u, 0x87f8a8d4cfa417c9u, 0xe54ca5d70a80e5d6u,
11174|  26.8k|            0xa9f6d30a038d1dbcu, 0x5e9fcf4ccd211f4cu, 0xd47487cc8470652bu, 0x7647c3200069671fu,
11175|  26.8k|            0x84c8d4dfd2c63f3bu, 0x29ecd9f40041e073u, 0xa5fb0a17c777cf09u, 0xf468107100525890u,
11176|  26.8k|            0xcf79cc9db955c2ccu, 0x7182148d4066eeb4u, 0x81ac1fe293d599bfu, 0xc6f14cd848405530u,
11177|  26.8k|            0xa21727db38cb002fu, 0xb8ada00e5a506a7cu, 0xca9cf1d206fdc03bu, 0xa6d90811f0e4851cu,
11178|  26.8k|            0xfd442e4688bd304au, 0x908f4a166d1da663u, 0x9e4a9cec15763e2eu, 0x9a598e4e043287feu,
11179|  26.8k|            0xc5dd44271ad3cdbau, 0x40eff1e1853f29fdu, 0xf7549530e188c128u, 0xd12bee59e68ef47cu,
11180|  26.8k|            0x9a94dd3e8cf578b9u, 0x82bb74f8301958ceu, 0xc13a148e3032d6e7u, 0xe36a52363c1faf01u,
11181|  26.8k|            0xf18899b1bc3f8ca1u, 0xdc44e6c3cb279ac1u, 0x96f5600f15a7b7e5u, 0x29ab103a5ef8c0b9u,
11182|  26.8k|            0xbcb2b812db11a5deu, 0x7415d448f6b6f0e7u, 0xebdf661791d60f56u, 0x111b495b3464ad21u,
11183|  26.8k|            0x936b9fcebb25c995u, 0xcab10dd900beec34u, 0xb84687c269ef3bfbu, 0x3d5d514f40eea742u,
11184|  26.8k|            0xe65829b3046b0afau, 0x0cb4a5a3112a5112u, 0x8ff71a0fe2c2e6dcu, 0x47f0e785eaba72abu,
11185|  26.8k|            0xb3f4e093db73a093u, 0x59ed216765690f56u, 0xe0f218b8d25088b8u, 0x306869c13ec3532cu,
11186|  26.8k|            0x8c974f7383725573u, 0x1e414218c73a13fbu, 0xafbd2350644eeacfu, 0xe5d1929ef90898fau,
11187|  26.8k|            0xdbac6c247d62a583u, 0xdf45f746b74abf39u, 0x894bc396ce5da772u, 0x6b8bba8c328eb783u,
11188|  26.8k|            0xab9eb47c81f5114fu, 0x066ea92f3f326564u, 0xd686619ba27255a2u, 0xc80a537b0efefebdu,
11189|  26.8k|            0x8613fd0145877585u, 0xbd06742ce95f5f36u, 0xa798fc4196e952e7u, 0x2c48113823b73704u,
11190|  26.8k|            0xd17f3b51fca3a7a0u, 0xf75a15862ca504c5u, 0x82ef85133de648c4u, 0x9a984d73dbe722fbu,
11191|  26.8k|            0xa3ab66580d5fdaf5u, 0xc13e60d0d2e0ebbau, 0xcc963fee10b7d1b3u, 0x318df905079926a8u,
11192|  26.8k|            0xffbbcfe994e5c61fu, 0xfdf17746497f7052u, 0x9fd561f1fd0f9bd3u, 0xfeb6ea8bedefa633u,
11193|  26.8k|            0xc7caba6e7c5382c8u, 0xfe64a52ee96b8fc0u, 0xf9bd690a1b68637bu, 0x3dfdce7aa3c673b0u,
11194|  26.8k|            0x9c1661a651213e2du, 0x06bea10ca65c084eu, 0xc31bfa0fe5698db8u, 0x486e494fcff30a62u,
11195|  26.8k|            0xf3e2f893dec3f126u, 0x5a89dba3c3efccfau, 0x986ddb5c6b3a76b7u, 0xf89629465a75e01cu,
11196|  26.8k|            0xbe89523386091465u, 0xf6bbb397f1135823u, 0xee2ba6c0678b597fu, 0x746aa07ded582e2cu,
11197|  26.8k|            0x94db483840b717efu, 0xa8c2a44eb4571cdcu, 0xba121a4650e4ddebu, 0x92f34d62616ce413u,
11198|  26.8k|            0xe896a0d7e51e1566u, 0x77b020baf9c81d17u, 0x915e2486ef32cd60u, 0x0ace1474dc1d122eu,
11199|  26.8k|            0xb5b5ada8aaff80b8u, 0x0d819992132456bau, 0xe3231912d5bf60e6u, 0x10e1fff697ed6c69u,
11200|  26.8k|            0x8df5efabc5979c8fu, 0xca8d3ffa1ef463c1u, 0xb1736b96b6fd83b3u, 0xbd308ff8a6b17cb2u,
11201|  26.8k|            0xddd0467c64bce4a0u, 0xac7cb3f6d05ddbdeu, 0x8aa22c0dbef60ee4u, 0x6bcdf07a423aa96bu,
11202|  26.8k|            0xad4ab7112eb3929du, 0x86c16c98d2c953c6u, 0xd89d64d57a607744u, 0xe871c7bf077ba8b7u,
11203|  26.8k|            0x87625f056c7c4a8bu, 0x11471cd764ad4972u, 0xa93af6c6c79b5d2du, 0xd598e40d3dd89bcfu,
11204|  26.8k|            0xd389b47879823479u, 0x4aff1d108d4ec2c3u, 0x843610cb4bf160cbu, 0xcedf722a585139bau,
11205|  26.8k|            0xa54394fe1eedb8feu, 0xc2974eb4ee658828u, 0xce947a3da6a9273eu, 0x733d226229feea32u,
11206|  26.8k|            0x811ccc668829b887u, 0x0806357d5a3f525fu, 0xa163ff802a3426a8u, 0xca07c2dcb0cf26f7u,
11207|  26.8k|            0xc9bcff6034c13052u, 0xfc89b393dd02f0b5u, 0xfc2c3f3841f17c67u, 0xbbac2078d443ace2u,
11208|  26.8k|            0x9d9ba7832936edc0u, 0xd54b944b84aa4c0du, 0xc5029163f384a931u, 0x0a9e795e65d4df11u,
11209|  26.8k|            0xf64335bcf065d37du, 0x4d4617b5ff4a16d5u, 0x99ea0196163fa42eu, 0x504bced1bf8e4e45u,
11210|  26.8k|            0xc06481fb9bcf8d39u, 0xe45ec2862f71e1d6u, 0xf07da27a82c37088u, 0x5d767327bb4e5a4cu,
11211|  26.8k|            0x964e858c91ba2655u, 0x3a6a07f8d510f86fu, 0xbbe226efb628afeau, 0x890489f70a55368bu,
11212|  26.8k|            0xeadab0aba3b2dbe5u, 0x2b45ac74ccea842eu, 0x92c8ae6b464fc96fu, 0x3b0b8bc90012929du,
11213|  26.8k|            0xb77ada0617e3bbcbu, 0x09ce6ebb40173744u, 0xe55990879ddcaabdu, 0xcc420a6a101d0515u,
11214|  26.8k|            0x8f57fa54c2a9eab6u, 0x9fa946824a12232du, 0xb32df8e9f3546564u, 0x47939822dc96abf9u,
11215|  26.8k|            0xdff9772470297ebdu, 0x59787e2b93bc56f7u, 0x8bfbea76c619ef36u, 0x57eb4edb3c55b65au,
11216|  26.8k|            0xaefae51477a06b03u, 0xede622920b6b23f1u, 0xdab99e59958885c4u, 0xe95fab368e45ecedu,
11217|  26.8k|            0x88b402f7fd75539bu, 0x11dbcb0218ebb414u, 0xaae103b5fcd2a881u, 0xd652bdc29f26a119u,
11218|  26.8k|            0xd59944a37c0752a2u, 0x4be76d3346f0495fu, 0x857fcae62d8493a5u, 0x6f70a4400c562ddbu,
11219|  26.8k|            0xa6dfbd9fb8e5b88eu, 0xcb4ccd500f6bb952u, 0xd097ad07a71f26b2u, 0x7e2000a41346a7a7u,
11220|  26.8k|            0x825ecc24c873782fu, 0x8ed400668c0c28c8u, 0xa2f67f2dfa90563bu, 0x728900802f0f32fau,
11221|  26.8k|            0xcbb41ef979346bcau, 0x4f2b40a03ad2ffb9u, 0xfea126b7d78186bcu, 0xe2f610c84987bfa8u,
11222|  26.8k|            0x9f24b832e6b0f436u, 0x0dd9ca7d2df4d7c9u, 0xc6ede63fa05d3143u, 0x91503d1c79720dbbu,
11223|  26.8k|            0xf8a95fcf88747d94u, 0x75a44c6397ce912au, 0x9b69dbe1b548ce7cu, 0xc986afbe3ee11abau,
11224|  26.8k|            0xc24452da229b021bu, 0xfbe85badce996168u, 0xf2d56790ab41c2a2u, 0xfae27299423fb9c3u,
11225|  26.8k|            0x97c560ba6b0919a5u, 0xdccd879fc967d41au, 0xbdb6b8e905cb600fu, 0x5400e987bbc1c920u,
11226|  26.8k|            0xed246723473e3813u, 0x290123e9aab23b68u, 0x9436c0760c86e30bu, 0xf9a0b6720aaf6521u,
11227|  26.8k|            0xb94470938fa89bceu, 0xf808e40e8d5b3e69u, 0xe7958cb87392c2c2u, 0xb60b1d1230b20e04u,
11228|  26.8k|            0x90bd77f3483bb9b9u, 0xb1c6f22b5e6f48c2u, 0xb4ecd5f01a4aa828u, 0x1e38aeb6360b1af3u,
11229|  26.8k|            0xe2280b6c20dd5232u, 0x25c6da63c38de1b0u, 0x8d590723948a535fu, 0x579c487e5a38ad0eu,
11230|  26.8k|            0xb0af48ec79ace837u, 0x2d835a9df0c6d851u, 0xdcdb1b2798182244u, 0xf8e431456cf88e65u,
11231|  26.8k|            0x8a08f0f8bf0f156bu, 0x1b8e9ecb641b58ffu, 0xac8b2d36eed2dac5u, 0xe272467e3d222f3fu,
11232|  26.8k|            0xd7adf884aa879177u, 0x5b0ed81dcc6abb0fu, 0x86ccbb52ea94baeau, 0x98e947129fc2b4e9u,
11233|  26.8k|            0xa87fea27a539e9a5u, 0x3f2398d747b36224u, 0xd29fe4b18e88640eu, 0x8eec7f0d19a03aadu,
11234|  26.8k|            0x83a3eeeef9153e89u, 0x1953cf68300424acu, 0xa48ceaaab75a8e2bu, 0x5fa8c3423c052dd7u,
11235|  26.8k|            0xcdb02555653131b6u, 0x3792f412cb06794du, 0x808e17555f3ebf11u, 0xe2bbd88bbee40bd0u,
11236|  26.8k|            0xa0b19d2ab70e6ed6u, 0x5b6aceaeae9d0ec4u, 0xc8de047564d20a8bu, 0xf245825a5a445275u,
11237|  26.8k|            0xfb158592be068d2eu, 0xeed6e2f0f0d56712u, 0x9ced737bb6c4183du, 0x55464dd69685606bu,
11238|  26.8k|            0xc428d05aa4751e4cu, 0xaa97e14c3c26b886u, 0xf53304714d9265dfu, 0xd53dd99f4b3066a8u,
11239|  26.8k|            0x993fe2c6d07b7fabu, 0xe546a8038efe4029u, 0xbf8fdb78849a5f96u, 0xde98520472bdd033u,
11240|  26.8k|            0xef73d256a5c0f77cu, 0x963e66858f6d4440u, 0x95a8637627989aadu, 0xdde7001379a44aa8u,
11241|  26.8k|            0xbb127c53b17ec159u, 0x5560c018580d5d52u, 0xe9d71b689dde71afu, 0xaab8f01e6e10b4a6u,
11242|  26.8k|            0x9226712162ab070du, 0xcab3961304ca70e8u, 0xb6b00d69bb55c8d1u, 0x3d607b97c5fd0d22u,
11243|  26.8k|            0xe45c10c42a2b3b05u, 0x8cb89a7db77c506au, 0x8eb98a7a9a5b04e3u, 0x77f3608e92adb242u,
11244|  26.8k|            0xb267ed1940f1c61cu, 0x55f038b237591ed3u, 0xdf01e85f912e37a3u, 0x6b6c46dec52f6688u,
11245|  26.8k|            0x8b61313bbabce2c6u, 0x2323ac4b3b3da015u, 0xae397d8aa96c1b77u, 0xabec975e0a0d081au,
11246|  26.8k|            0xd9c7dced53c72255u, 0x96e7bd358c904a21u, 0x881cea14545c7575u, 0x7e50d64177da2e54u,
11247|  26.8k|            0xaa242499697392d2u, 0xdde50bd1d5d0b9e9u, 0xd4ad2dbfc3d07787u, 0x955e4ec64b44e864u,
11248|  26.8k|            0x84ec3c97da624ab4u, 0xbd5af13bef0b113eu, 0xa6274bbdd0fadd61u, 0xecb1ad8aeacdd58eu,
11249|  26.8k|            0xcfb11ead453994bau, 0x67de18eda5814af2u, 0x81ceb32c4b43fcf4u, 0x80eacf948770ced7u,
11250|  26.8k|            0xa2425ff75e14fc31u, 0xa1258379a94d028du, 0xcad2f7f5359a3b3eu, 0x096ee45813a04330u,
11251|  26.8k|            0xfd87b5f28300ca0du, 0x8bca9d6e188853fcu, 0x9e74d1b791e07e48u, 0x775ea264cf55347eu,
11252|  26.8k|            0xc612062576589ddau, 0x95364afe032a819eu, 0xf79687aed3eec551u, 0x3a83ddbd83f52205u,
11253|  26.8k|            0x9abe14cd44753b52u, 0xc4926a9672793543u, 0xc16d9a0095928a27u, 0x75b7053c0f178294u,
11254|  26.8k|            0xf1c90080baf72cb1u, 0x5324c68b12dd6339u, 0x971da05074da7beeu, 0xd3f6fc16ebca5e04u,
11255|  26.8k|            0xbce5086492111aeau, 0x88f4bb1ca6bcf585u, 0xec1e4a7db69561a5u, 0x2b31e9e3d06c32e6u,
11256|  26.8k|            0x9392ee8e921d5d07u, 0x3aff322e62439fd0u, 0xb877aa3236a4b449u, 0x09befeb9fad487c3u,
11257|  26.8k|            0xe69594bec44de15bu, 0x4c2ebe687989a9b4u, 0x901d7cf73ab0acd9u, 0x0f9d37014bf60a11u,
11258|  26.8k|            0xb424dc35095cd80fu, 0x538484c19ef38c95u, 0xe12e13424bb40e13u, 0x2865a5f206b06fbau,
11259|  26.8k|            0x8cbccc096f5088cbu, 0xf93f87b7442e45d4u, 0xafebff0bcb24aafeu, 0xf78f69a51539d749u,
11260|  26.8k|            0xdbe6fecebdedd5beu, 0xb573440e5a884d1cu, 0x89705f4136b4a597u, 0x31680a88f8953031u,
11261|  26.8k|            0xabcc77118461cefcu, 0xfdc20d2b36ba7c3eu, 0xd6bf94d5e57a42bcu, 0x3d32907604691b4du,
11262|  26.8k|            0x8637bd05af6c69b5u, 0xa63f9a49c2c1b110u, 0xa7c5ac471b478423u, 0x0fcf80dc33721d54u,
11263|  26.8k|            0xd1b71758e219652bu, 0xd3c36113404ea4a9u, 0x83126e978d4fdf3bu, 0x645a1cac083126eau,
11264|  26.8k|            0xa3d70a3d70a3d70au, 0x3d70a3d70a3d70a4u, 0xccccccccccccccccu, 0xcccccccccccccccdu,
11265|  26.8k|            0x8000000000000000u, 0x0000000000000000u, 0xa000000000000000u, 0x0000000000000000u,
11266|  26.8k|            0xc800000000000000u, 0x0000000000000000u, 0xfa00000000000000u, 0x0000000000000000u,
11267|  26.8k|            0x9c40000000000000u, 0x0000000000000000u, 0xc350000000000000u, 0x0000000000000000u,
11268|  26.8k|            0xf424000000000000u, 0x0000000000000000u, 0x9896800000000000u, 0x0000000000000000u,
11269|  26.8k|            0xbebc200000000000u, 0x0000000000000000u, 0xee6b280000000000u, 0x0000000000000000u,
11270|  26.8k|            0x9502f90000000000u, 0x0000000000000000u, 0xba43b74000000000u, 0x0000000000000000u,
11271|  26.8k|            0xe8d4a51000000000u, 0x0000000000000000u, 0x9184e72a00000000u, 0x0000000000000000u,
11272|  26.8k|            0xb5e620f480000000u, 0x0000000000000000u, 0xe35fa931a0000000u, 0x0000000000000000u,
11273|  26.8k|            0x8e1bc9bf04000000u, 0x0000000000000000u, 0xb1a2bc2ec5000000u, 0x0000000000000000u,
11274|  26.8k|            0xde0b6b3a76400000u, 0x0000000000000000u, 0x8ac7230489e80000u, 0x0000000000000000u,
11275|  26.8k|            0xad78ebc5ac620000u, 0x0000000000000000u, 0xd8d726b7177a8000u, 0x0000000000000000u,
11276|  26.8k|            0x878678326eac9000u, 0x0000000000000000u, 0xa968163f0a57b400u, 0x0000000000000000u,
11277|  26.8k|            0xd3c21bcecceda100u, 0x0000000000000000u, 0x84595161401484a0u, 0x0000000000000000u,
11278|  26.8k|            0xa56fa5b99019a5c8u, 0x0000000000000000u, 0xcecb8f27f4200f3au, 0x0000000000000000u,
11279|  26.8k|            0x813f3978f8940984u, 0x4000000000000000u, 0xa18f07d736b90be5u, 0x5000000000000000u,
11280|  26.8k|            0xc9f2c9cd04674edeu, 0xa400000000000000u, 0xfc6f7c4045812296u, 0x4d00000000000000u,
11281|  26.8k|            0x9dc5ada82b70b59du, 0xf020000000000000u, 0xc5371912364ce305u, 0x6c28000000000000u,
11282|  26.8k|            0xf684df56c3e01bc6u, 0xc732000000000000u, 0x9a130b963a6c115cu, 0x3c7f400000000000u,
11283|  26.8k|            0xc097ce7bc90715b3u, 0x4b9f100000000000u, 0xf0bdc21abb48db20u, 0x1e86d40000000000u,
11284|  26.8k|            0x96769950b50d88f4u, 0x1314448000000000u, 0xbc143fa4e250eb31u, 0x17d955a000000000u,
11285|  26.8k|            0xeb194f8e1ae525fdu, 0x5dcfab0800000000u, 0x92efd1b8d0cf37beu, 0x5aa1cae500000000u,
11286|  26.8k|            0xb7abc627050305adu, 0xf14a3d9e40000000u, 0xe596b7b0c643c719u, 0x6d9ccd05d0000000u,
11287|  26.8k|            0x8f7e32ce7bea5c6fu, 0xe4820023a2000000u, 0xb35dbf821ae4f38bu, 0xdda2802c8a800000u,
11288|  26.8k|            0xe0352f62a19e306eu, 0xd50b2037ad200000u, 0x8c213d9da502de45u, 0x4526f422cc340000u,
11289|  26.8k|            0xaf298d050e4395d6u, 0x9670b12b7f410000u, 0xdaf3f04651d47b4cu, 0x3c0cdd765f114000u,
11290|  26.8k|            0x88d8762bf324cd0fu, 0xa5880a69fb6ac800u, 0xab0e93b6efee0053u, 0x8eea0d047a457a00u,
11291|  26.8k|            0xd5d238a4abe98068u, 0x72a4904598d6d880u, 0x85a36366eb71f041u, 0x47a6da2b7f864750u,
11292|  26.8k|            0xa70c3c40a64e6c51u, 0x999090b65f67d924u, 0xd0cf4b50cfe20765u, 0xfff4b4e3f741cf6du,
11293|  26.8k|            0x82818f1281ed449fu, 0xbff8f10e7a8921a4u, 0xa321f2d7226895c7u, 0xaff72d52192b6a0du,
11294|  26.8k|            0xcbea6f8ceb02bb39u, 0x9bf4f8a69f764490u, 0xfee50b7025c36a08u, 0x02f236d04753d5b4u,
11295|  26.8k|            0x9f4f2726179a2245u, 0x01d762422c946590u, 0xc722f0ef9d80aad6u, 0x424d3ad2b7b97ef5u,
11296|  26.8k|            0xf8ebad2b84e0d58bu, 0xd2e0898765a7deb2u, 0x9b934c3b330c8577u, 0x63cc55f49f88eb2fu,
11297|  26.8k|            0xc2781f49ffcfa6d5u, 0x3cbf6b71c76b25fbu, 0xf316271c7fc3908au, 0x8bef464e3945ef7au,
11298|  26.8k|            0x97edd871cfda3a56u, 0x97758bf0e3cbb5acu, 0xbde94e8e43d0c8ecu, 0x3d52eeed1cbea317u,
11299|  26.8k|            0xed63a231d4c4fb27u, 0x4ca7aaa863ee4bddu, 0x945e455f24fb1cf8u, 0x8fe8caa93e74ef6au,
11300|  26.8k|            0xb975d6b6ee39e436u, 0xb3e2fd538e122b44u, 0xe7d34c64a9c85d44u, 0x60dbbca87196b616u,
11301|  26.8k|            0x90e40fbeea1d3a4au, 0xbc8955e946fe31cdu, 0xb51d13aea4a488ddu, 0x6babab6398bdbe41u,
11302|  26.8k|            0xe264589a4dcdab14u, 0xc696963c7eed2dd1u, 0x8d7eb76070a08aecu, 0xfc1e1de5cf543ca2u,
11303|  26.8k|            0xb0de65388cc8ada8u, 0x3b25a55f43294bcbu, 0xdd15fe86affad912u, 0x49ef0eb713f39ebeu,
11304|  26.8k|            0x8a2dbf142dfcc7abu, 0x6e3569326c784337u, 0xacb92ed9397bf996u, 0x49c2c37f07965404u,
11305|  26.8k|            0xd7e77a8f87daf7fbu, 0xdc33745ec97be906u, 0x86f0ac99b4e8dafdu, 0x69a028bb3ded71a3u,
11306|  26.8k|            0xa8acd7c0222311bcu, 0xc40832ea0d68ce0cu, 0xd2d80db02aabd62bu, 0xf50a3fa490c30190u,
11307|  26.8k|            0x83c7088e1aab65dbu, 0x792667c6da79e0fau, 0xa4b8cab1a1563f52u, 0x577001b891185938u,
11308|  26.8k|            0xcde6fd5e09abcf26u, 0xed4c0226b55e6f86u, 0x80b05e5ac60b6178u, 0x544f8158315b05b4u,
11309|  26.8k|            0xa0dc75f1778e39d6u, 0x696361ae3db1c721u, 0xc913936dd571c84cu, 0x03bc3a19cd1e38e9u,
11310|  26.8k|            0xfb5878494ace3a5fu, 0x04ab48a04065c723u, 0x9d174b2dcec0e47bu, 0x62eb0d64283f9c76u,
11311|  26.8k|            0xc45d1df942711d9au, 0x3ba5d0bd324f8394u, 0xf5746577930d6500u, 0xca8f44ec7ee36479u,
11312|  26.8k|            0x9968bf6abbe85f20u, 0x7e998b13cf4e1ecbu, 0xbfc2ef456ae276e8u, 0x9e3fedd8c321a67eu,
11313|  26.8k|            0xefb3ab16c59b14a2u, 0xc5cfe94ef3ea101eu, 0x95d04aee3b80ece5u, 0xbba1f1d158724a12u,
11314|  26.8k|            0xbb445da9ca61281fu, 0x2a8a6e45ae8edc97u, 0xea1575143cf97226u, 0xf52d09d71a3293bdu,
11315|  26.8k|            0x924d692ca61be758u, 0x593c2626705f9c56u, 0xb6e0c377cfa2e12eu, 0x6f8b2fb00c77836cu,
11316|  26.8k|            0xe498f455c38b997au, 0x0b6dfb9c0f956447u, 0x8edf98b59a373fecu, 0x4724bd4189bd5eacu,
11317|  26.8k|            0xb2977ee300c50fe7u, 0x58edec91ec2cb657u, 0xdf3d5e9bc0f653e1u, 0x2f2967b66737e3edu,
11318|  26.8k|            0x8b865b215899f46cu, 0xbd79e0d20082ee74u, 0xae67f1e9aec07187u, 0xecd8590680a3aa11u,
11319|  26.8k|            0xda01ee641a708de9u, 0xe80e6f4820cc9495u, 0x884134fe908658b2u, 0x3109058d147fdcddu,
11320|  26.8k|            0xaa51823e34a7eedeu, 0xbd4b46f0599fd415u, 0xd4e5e2cdc1d1ea96u, 0x6c9e18ac7007c91au,
11321|  26.8k|            0x850fadc09923329eu, 0x03e2cf6bc604ddb0u, 0xa6539930bf6bff45u, 0x84db8346b786151cu,
11322|  26.8k|            0xcfe87f7cef46ff16u, 0xe612641865679a63u, 0x81f14fae158c5f6eu, 0x4fcb7e8f3f60c07eu,
11323|  26.8k|            0xa26da3999aef7749u, 0xe3be5e330f38f09du, 0xcb090c8001ab551cu, 0x5cadf5bfd3072cc5u,
11324|  26.8k|            0xfdcb4fa002162a63u, 0x73d9732fc7c8f7f6u, 0x9e9f11c4014dda7eu, 0x2867e7fddcdd9afau,
11325|  26.8k|            0xc646d63501a1511du, 0xb281e1fd541501b8u, 0xf7d88bc24209a565u, 0x1f225a7ca91a4226u,
11326|  26.8k|            0x9ae757596946075fu, 0x3375788de9b06958u, 0xc1a12d2fc3978937u, 0x0052d6b1641c83aeu,
11327|  26.8k|            0xf209787bb47d6b84u, 0xc0678c5dbd23a49au, 0x9745eb4d50ce6332u, 0xf840b7ba963646e0u,
11328|  26.8k|            0xbd176620a501fbffu, 0xb650e5a93bc3d898u, 0xec5d3fa8ce427affu, 0xa3e51f138ab4cebeu,
11329|  26.8k|            0x93ba47c980e98cdfu, 0xc66f336c36b10137u, 0xb8a8d9bbe123f017u, 0xb80b0047445d4184u,
11330|  26.8k|            0xe6d3102ad96cec1du, 0xa60dc059157491e5u, 0x9043ea1ac7e41392u, 0x87c89837ad68db2fu,
11331|  26.8k|            0xb454e4a179dd1877u, 0x29babe4598c311fbu, 0xe16a1dc9d8545e94u, 0xf4296dd6fef3d67au,
11332|  26.8k|            0x8ce2529e2734bb1du, 0x1899e4a65f58660cu, 0xb01ae745b101e9e4u, 0x5ec05dcff72e7f8fu,
11333|  26.8k|            0xdc21a1171d42645du, 0x76707543f4fa1f73u, 0x899504ae72497ebau, 0x6a06494a791c53a8u,
11334|  26.8k|            0xabfa45da0edbde69u, 0x0487db9d17636892u, 0xd6f8d7509292d603u, 0x45a9d2845d3c42b6u,
11335|  26.8k|            0x865b86925b9bc5c2u, 0x0b8a2392ba45a9b2u, 0xa7f26836f282b732u, 0x8e6cac7768d7141eu,
11336|  26.8k|            0xd1ef0244af2364ffu, 0x3207d795430cd926u, 0x8335616aed761f1fu, 0x7f44e6bd49e807b8u,
11337|  26.8k|            0xa402b9c5a8d3a6e7u, 0x5f16206c9c6209a6u, 0xcd036837130890a1u, 0x36dba887c37a8c0fu,
11338|  26.8k|            0x802221226be55a64u, 0xc2494954da2c9789u, 0xa02aa96b06deb0fdu, 0xf2db9baa10b7bd6cu,
11339|  26.8k|            0xc83553c5c8965d3du, 0x6f92829494e5acc7u, 0xfa42a8b73abbf48cu, 0xcb772339ba1f17f9u,
11340|  26.8k|            0x9c69a97284b578d7u, 0xff2a760414536efbu, 0xc38413cf25e2d70du, 0xfef5138519684abau,
11341|  26.8k|            0xf46518c2ef5b8cd1u, 0x7eb258665fc25d69u, 0x98bf2f79d5993802u, 0xef2f773ffbd97a61u,
11342|  26.8k|            0xbeeefb584aff8603u, 0xaafb550ffacfd8fau, 0xeeaaba2e5dbf6784u, 0x95ba2a53f983cf38u,
11343|  26.8k|            0x952ab45cfa97a0b2u, 0xdd945a747bf26183u, 0xba756174393d88dfu, 0x94f971119aeef9e4u,
11344|  26.8k|            0xe912b9d1478ceb17u, 0x7a37cd5601aab85du, 0x91abb422ccb812eeu, 0xac62e055c10ab33au,
11345|  26.8k|            0xb616a12b7fe617aau, 0x577b986b314d6009u, 0xe39c49765fdf9d94u, 0xed5a7e85fda0b80bu,
11346|  26.8k|            0x8e41ade9fbebc27du, 0x14588f13be847307u, 0xb1d219647ae6b31cu, 0x596eb2d8ae258fc8u,
11347|  26.8k|            0xde469fbd99a05fe3u, 0x6fca5f8ed9aef3bbu, 0x8aec23d680043beeu, 0x25de7bb9480d5854u,
11348|  26.8k|            0xada72ccc20054ae9u, 0xaf561aa79a10ae6au, 0xd910f7ff28069da4u, 0x1b2ba1518094da04u,
11349|  26.8k|            0x87aa9aff79042286u, 0x90fb44d2f05d0842u, 0xa99541bf57452b28u, 0x353a1607ac744a53u,
11350|  26.8k|            0xd3fa922f2d1675f2u, 0x42889b8997915ce8u, 0x847c9b5d7c2e09b7u, 0x69956135febada11u,
11351|  26.8k|            0xa59bc234db398c25u, 0x43fab9837e699095u, 0xcf02b2c21207ef2eu, 0x94f967e45e03f4bbu,
11352|  26.8k|            0x8161afb94b44f57du, 0x1d1be0eebac278f5u, 0xa1ba1ba79e1632dcu, 0x6462d92a69731732u,
11353|  26.8k|            0xca28a291859bbf93u, 0x7d7b8f7503cfdcfeu, 0xfcb2cb35e702af78u, 0x5cda735244c3d43eu,
11354|  26.8k|            0x9defbf01b061adabu, 0x3a0888136afa64a7u, 0xc56baec21c7a1916u, 0x088aaa1845b8fdd0u,
11355|  26.8k|            0xf6c69a72a3989f5bu, 0x8aad549e57273d45u, 0x9a3c2087a63f6399u, 0x36ac54e2f678864bu,
11356|  26.8k|            0xc0cb28a98fcf3c7fu, 0x84576a1bb416a7ddu, 0xf0fdf2d3f3c30b9fu, 0x656d44a2a11c51d5u,
11357|  26.8k|            0x969eb7c47859e743u, 0x9f644ae5a4b1b325u, 0xbc4665b596706114u, 0x873d5d9f0dde1feeu,
11358|  26.8k|            0xeb57ff22fc0c7959u, 0xa90cb506d155a7eau, 0x9316ff75dd87cbd8u, 0x09a7f12442d588f2u,
11359|  26.8k|            0xb7dcbf5354e9beceu, 0x0c11ed6d538aeb2fu, 0xe5d3ef282a242e81u, 0x8f1668c8a86da5fau,
11360|  26.8k|            0x8fa475791a569d10u, 0xf96e017d694487bcu, 0xb38d92d760ec4455u, 0x37c981dcc395a9acu,
11361|  26.8k|            0xe070f78d3927556au, 0x85bbe253f47b1417u, 0x8c469ab843b89562u, 0x93956d7478ccec8eu,
11362|  26.8k|            0xaf58416654a6babbu, 0x387ac8d1970027b2u, 0xdb2e51bfe9d0696au, 0x06997b05fcc0319eu,
11363|  26.8k|            0x88fcf317f22241e2u, 0x441fece3bdf81f03u, 0xab3c2fddeeaad25au, 0xd527e81cad7626c3u,
11364|  26.8k|            0xd60b3bd56a5586f1u, 0x8a71e223d8d3b074u, 0x85c7056562757456u, 0xf6872d5667844e49u,
11365|  26.8k|            0xa738c6bebb12d16cu, 0xb428f8ac016561dbu, 0xd106f86e69d785c7u, 0xe13336d701beba52u,
11366|  26.8k|            0x82a45b450226b39cu, 0xecc0024661173473u, 0xa34d721642b06084u, 0x27f002d7f95d0190u,
11367|  26.8k|            0xcc20ce9bd35c78a5u, 0x31ec038df7b441f4u, 0xff290242c83396ceu, 0x7e67047175a15271u,
11368|  26.8k|            0x9f79a169bd203e41u, 0x0f0062c6e984d386u, 0xc75809c42c684dd1u, 0x52c07b78a3e60868u,
11369|  26.8k|            0xf92e0c3537826145u, 0xa7709a56ccdf8a82u, 0x9bbcc7a142b17ccbu, 0x88a66076400bb691u,
11370|  26.8k|            0xc2abf989935ddbfeu, 0x6acff893d00ea435u, 0xf356f7ebf83552feu, 0x0583f6b8c4124d43u,
11371|  26.8k|            0x98165af37b2153deu, 0xc3727a337a8b704au, 0xbe1bf1b059e9a8d6u, 0x744f18c0592e4c5cu,
11372|  26.8k|            0xeda2ee1c7064130cu, 0x1162def06f79df73u, 0x9485d4d1c63e8be7u, 0x8addcb5645ac2ba8u,
11373|  26.8k|            0xb9a74a0637ce2ee1u, 0x6d953e2bd7173692u, 0xe8111c87c5c1ba99u, 0xc8fa8db6ccdd0437u,
11374|  26.8k|            0x910ab1d4db9914a0u, 0x1d9c9892400a22a2u, 0xb54d5e4a127f59c8u, 0x2503beb6d00cab4bu,
11375|  26.8k|            0xe2a0b5dc971f303au, 0x2e44ae64840fd61du, 0x8da471a9de737e24u, 0x5ceaecfed289e5d2u,
11376|  26.8k|            0xb10d8e1456105dadu, 0x7425a83e872c5f47u, 0xdd50f1996b947518u, 0xd12f124e28f77719u,
11377|  26.8k|            0x8a5296ffe33cc92fu, 0x82bd6b70d99aaa6fu, 0xace73cbfdc0bfb7bu, 0x636cc64d1001550bu,
11378|  26.8k|            0xd8210befd30efa5au, 0x3c47f7e05401aa4eu, 0x8714a775e3e95c78u, 0x65acfaec34810a71u,
11379|  26.8k|            0xa8d9d1535ce3b396u, 0x7f1839a741a14d0du, 0xd31045a8341ca07cu, 0x1ede48111209a050u,
11380|  26.8k|            0x83ea2b892091e44du, 0x934aed0aab460432u, 0xa4e4b66b68b65d60u, 0xf81da84d5617853fu,
11381|  26.8k|            0xce1de40642e3f4b9u, 0x36251260ab9d668eu, 0x80d2ae83e9ce78f3u, 0xc1d72b7c6b426019u,
11382|  26.8k|            0xa1075a24e4421730u, 0xb24cf65b8612f81fu, 0xc94930ae1d529cfcu, 0xdee033f26797b627u,
11383|  26.8k|            0xfb9b7cd9a4a7443cu, 0x169840ef017da3b1u, 0x9d412e0806e88aa5u, 0x8e1f289560ee864eu,
11384|  26.8k|            0xc491798a08a2ad4eu, 0xf1a6f2bab92a27e2u, 0xf5b5d7ec8acb58a2u, 0xae10af696774b1dbu,
11385|  26.8k|            0x9991a6f3d6bf1765u, 0xacca6da1e0a8ef29u, 0xbff610b0cc6edd3fu, 0x17fd090a58d32af3u,
11386|  26.8k|            0xeff394dcff8a948eu, 0xddfc4b4cef07f5b0u, 0x95f83d0a1fb69cd9u, 0x4abdaf101564f98eu,
11387|  26.8k|            0xbb764c4ca7a4440fu, 0x9d6d1ad41abe37f1u, 0xea53df5fd18d5513u, 0x84c86189216dc5edu,
11388|  26.8k|            0x92746b9be2f8552cu, 0x32fd3cf5b4e49bb4u, 0xb7118682dbb66a77u, 0x3fbc8c33221dc2a1u,
11389|  26.8k|            0xe4d5e82392a40515u, 0x0fabaf3feaa5334au, 0x8f05b1163ba6832du, 0x29cb4d87f2a7400eu,
11390|  26.8k|            0xb2c71d5bca9023f8u, 0x743e20e9ef511012u, 0xdf78e4b2bd342cf6u, 0x914da9246b255416u,
11391|  26.8k|            0x8bab8eefb6409c1au, 0x1ad089b6c2f7548eu, 0xae9672aba3d0c320u, 0xa184ac2473b529b1u,
11392|  26.8k|            0xda3c0f568cc4f3e8u, 0xc9e5d72d90a2741eu, 0x8865899617fb1871u, 0x7e2fa67c7a658892u,
11393|  26.8k|            0xaa7eebfb9df9de8du, 0xddbb901b98feeab7u, 0xd51ea6fa85785631u, 0x552a74227f3ea565u,
11394|  26.8k|            0x8533285c936b35deu, 0xd53a88958f87275fu, 0xa67ff273b8460356u, 0x8a892abaf368f137u,
11395|  26.8k|            0xd01fef10a657842cu, 0x2d2b7569b0432d85u, 0x8213f56a67f6b29bu, 0x9c3b29620e29fc73u,
11396|  26.8k|            0xa298f2c501f45f42u, 0x8349f3ba91b47b8fu, 0xcb3f2f7642717713u, 0x241c70a936219a73u,
11397|  26.8k|            0xfe0efb53d30dd4d7u, 0xed238cd383aa0110u, 0x9ec95d1463e8a506u, 0xf4363804324a40aau,
11398|  26.8k|            0xc67bb4597ce2ce48u, 0xb143c6053edcd0d5u, 0xf81aa16fdc1b81dau, 0xdd94b7868e94050au,
11399|  26.8k|            0x9b10a4e5e9913128u, 0xca7cf2b4191c8326u, 0xc1d4ce1f63f57d72u, 0xfd1c2f611f63a3f0u,
11400|  26.8k|            0xf24a01a73cf2dccfu, 0xbc633b39673c8cecu, 0x976e41088617ca01u, 0xd5be0503e085d813u,
11401|  26.8k|            0xbd49d14aa79dbc82u, 0x4b2d8644d8a74e18u, 0xec9c459d51852ba2u, 0xddf8e7d60ed1219eu,
11402|  26.8k|            0x93e1ab8252f33b45u, 0xcabb90e5c942b503u, 0xb8da1662e7b00a17u, 0x3d6a751f3b936243u,
11403|  26.8k|            0xe7109bfba19c0c9du, 0x0cc512670a783ad4u, 0x906a617d450187e2u, 0x27fb2b80668b24c5u,
11404|  26.8k|            0xb484f9dc9641e9dau, 0xb1f9f660802dedf6u, 0xe1a63853bbd26451u, 0x5e7873f8a0396973u,
11405|  26.8k|            0x8d07e33455637eb2u, 0xdb0b487b6423e1e8u, 0xb049dc016abc5e5fu, 0x91ce1a9a3d2cda62u,
11406|  26.8k|            0xdc5c5301c56b75f7u, 0x7641a140cc7810fbu, 0x89b9b3e11b6329bau, 0xa9e904c87fcb0a9du,
11407|  26.8k|            0xac2820d9623bf429u, 0x546345fa9fbdcd44u, 0xd732290fbacaf133u, 0xa97c177947ad4095u,
11408|  26.8k|            0x867f59a9d4bed6c0u, 0x49ed8eabcccc485du, 0xa81f301449ee8c70u, 0x5c68f256bfff5a74u,
11409|  26.8k|            0xd226fc195c6a2f8cu, 0x73832eec6fff3111u, 0x83585d8fd9c25db7u, 0xc831fd53c5ff7eabu,
11410|  26.8k|            0xa42e74f3d032f525u, 0xba3e7ca8b77f5e55u, 0xcd3a1230c43fb26fu, 0x28ce1bd2e55f35ebu,
11411|  26.8k|            0x80444b5e7aa7cf85u, 0x7980d163cf5b81b3u, 0xa0555e361951c366u, 0xd7e105bcc332621fu,
11412|  26.8k|            0xc86ab5c39fa63440u, 0x8dd9472bf3fefaa7u, 0xfa856334878fc150u, 0xb14f98f6f0feb951u,
11413|  26.8k|            0x9c935e00d4b9d8d2u, 0x6ed1bf9a569f33d3u, 0xc3b8358109e84f07u, 0x0a862f80ec4700c8u,
11414|  26.8k|            0xf4a642e14c6262c8u, 0xcd27bb612758c0fau, 0x98e7e9cccfbd7dbdu, 0x8038d51cb897789cu,
11415|  26.8k|            0xbf21e44003acdd2cu, 0xe0470a63e6bd56c3u, 0xeeea5d5004981478u, 0x1858ccfce06cac74u,
11416|  26.8k|            0x95527a5202df0ccbu, 0x0f37801e0c43ebc8u, 0xbaa718e68396cffdu, 0xd30560258f54e6bau,
11417|  26.8k|            0xe950df20247c83fdu, 0x47c6b82ef32a2069u, 0x91d28b7416cdd27eu, 0x4cdc331d57fa5441u,
11418|  26.8k|            0xb6472e511c81471du, 0xe0133fe4adf8e952u, 0xe3d8f9e563a198e5u, 0x58180fddd97723a6u,
11419|  26.8k|            0x8e679c2f5e44ff8fu, 0x570f09eaa7ea7648u,
11420|  26.8k|        }
11421|  26.8k|    };
11422|  26.8k|    return table;
11423|  26.8k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij13umul192_hi128Emmm:
36019|  17.2k|{
36020|  17.2k|    const uint128_parts p = full_multiplication(x_hi, y);
36021|  17.2k|    uint128_parts r{};
36022|  17.2k|    r.low = p.low + full_multiplication(x_lo, y).high;
36023|  17.2k|    r.high = p.high + (r.low < p.low ? 1u : 0u);
  ------------------
  |  Branch (36023:24): [True: 252, False: 16.9k]
  ------------------
36024|  17.2k|    return r;
36025|  17.2k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij16umul128_add_hi64Emmm:
36029|  18.9k|{
36030|  18.9k|    const uint128_parts p = full_multiplication(x, y);
36031|  18.9k|    return p.high + (p.low + c < p.low ? 1u : 0u);
  ------------------
  |  Branch (36031:22): [True: 8.26k, False: 10.6k]
  ------------------
36032|  18.9k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_shortestEPcNS1_4zmij16shortest_decimalE:
37259|  17.2k|{
37260|  17.2k|    const std::uint64_t sig = d.integral;
37261|  17.2k|    if (JSON_HEDLEY_UNLIKELY(sig < 100000000000000u || sig >= 10000000000000000u))
  ------------------
  |  | 1697|  31.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.09k, False: 14.1k]
  |  |  |  Branch (1697:94): [True: 3.09k, False: 14.1k]
  |  |  |  Branch (1697:94): [True: 0, False: 14.1k]
  |  |  ------------------
  ------------------
37262|  3.09k|    {
37263|       |        // (subnormals)
37264|  3.09k|        return d.has_digit ? write_decimal(first, (sig * 10) + d.digit, d.exponent) : write_decimal(first, sig, d.exponent + 1);
  ------------------
  |  Branch (37264:16): [True: 1.27k, False: 1.81k]
  ------------------
37265|  3.09k|    }
37266|  14.1k|    const bool sixteen = sig >= 1000000000000000u; // (else 15 digits)
37267|  14.1k|    const int last = d.has_digit ? d.digit : 0;
  ------------------
  |  Branch (37267:22): [True: 5.07k, False: 9.08k]
  ------------------
37268|  14.1k|    const std::uint64_t upper = sig / 100000000u;
37269|  14.1k|#if JSON_DTOA_SSE2
37270|       |    // NOLINTBEGIN(portability-simd-intrinsics)
37271|       |    // the two halves in the 64-bit lanes, each as abcd * 2^32 + efgh, then as
37272|       |    // bytes (as eight_digit_bytes(), one lane each)
37273|  14.1k|    const __m128i x = _mm_set_epi64x(static_cast<long long>(sig - (upper * 100000000u)), static_cast<long long>(upper)); // NOLINT(runtime/int)
37274|  14.1k|    const __m128i abcd = _mm_srli_epi64(_mm_mul_epu32(x, _mm_set1_epi64x(109951163)), 40); // 2^40 / 10000 + 1
37275|  14.1k|    const __m128i abcd_efgh = _mm_add_epi64(x, _mm_mul_epu32(abcd, _mm_set1_epi64x(4294957296))); // 2^32 - 10000
37276|       |    // 32-bit lanes in the order of the text: abcd, efgh of both halves
37277|  14.1k|    const __m128i fours = _mm_shuffle_epi32(abcd_efgh, _MM_SHUFFLE(2, 3, 0, 1));
37278|  14.1k|    const __m128i ab = _mm_srli_epi16(_mm_mulhi_epu16(fours, _mm_set1_epi32(5243)), 3);
37279|  14.1k|    const __m128i ab_cd = _mm_or_si128(_mm_slli_epi32(_mm_sub_epi16(fours, _mm_mullo_epi16(ab, _mm_set1_epi32(100))), 16), ab);
37280|       |    // 16-bit lanes ab (< 100) -> bytes a, b: 256 * ab - 2559 * (ab / 10)
37281|  14.1k|    const __m128i bytes = _mm_sub_epi16(_mm_slli_epi16(ab_cd, 8), _mm_mullo_epi16(_mm_set1_epi16(2559), _mm_mulhi_epu16(ab_cd, _mm_set1_epi16(6554))));
37282|       |    // the last digit that is not 0 (sig is not 0)
37283|  14.1k|    const auto nonzero = static_cast<std::uint64_t>(_mm_movemask_epi8(_mm_cmpgt_epi8(bytes, _mm_setzero_si128())));
37284|  14.1k|    const int digits = 63 - count_leading_zeros(nonzero) + (sixteen ? 1 : 0); // without trailing zeros
  ------------------
  |  Branch (37284:61): [True: 11.2k, False: 2.87k]
  ------------------
37285|  14.1k|    const __m128i chars = _mm_add_epi8(bytes, _mm_set1_epi8('0'));
37286|       |    // the 16 characters from the first digit
37287|  14.1k|    const __m128i s = sixteen ? chars : _mm_or_si128(_mm_srli_si128(chars, 1), _mm_slli_si128(_mm_cvtsi32_si128('0' + last), 15));
  ------------------
  |  Branch (37287:23): [True: 11.2k, False: 2.87k]
  ------------------
37288|  14.1k|    const char s16 = static_cast<char>(sixteen ? '0' + last : '0'); // the 17th
  ------------------
  |  Branch (37288:40): [True: 11.2k, False: 2.87k]
  ------------------
37289|  14.1k|    const auto store_16 = [&s](char* p) noexcept
37290|  14.1k|    {
37291|  14.1k|        std::memcpy(p, &s, 16);
37292|  14.1k|    };
37293|  14.1k|    const char first_digit = static_cast<char>(_mm_cvtsi128_si32(s));
37294|       |    // NOLINTEND(portability-simd-intrinsics)
37295|       |#elif JSON_DTOA_NEON
37296|       |    // as with SSE2: the halves in 32-bit lanes, then abcd, efgh of both
37297|       |    const uint32x2_t halves = vcreate_u32(upper | ((sig - (upper * 100000000u)) << 32u));
37298|       |    const uint32x2_t abcd = vmovn_u64(vshrq_n_u64(vmull_n_u32(halves, static_cast<std::uint32_t>(((std::uint64_t{1} << 40u) / 10000u) + 1u)), 40));
37299|       |    const uint32x2_t efgh = vmls_n_u32(halves, abcd, 10000u);
37300|       |    const uint32x4_t fours = vcombine_u32(vzip1_u32(abcd, efgh), vzip2_u32(abcd, efgh));
37301|       |    const uint32x4_t ab = vshrq_n_u32(vmulq_n_u32(fours, 5243u), 19);
37302|       |    const uint16x8_t ab_cd = vreinterpretq_u16_u32(vorrq_u32(ab, vshlq_n_u32(vmlsq_n_u32(fours, ab, 100u), 16)));
37303|       |    const uint16x8_t tens = vshrq_n_u16(vmulq_n_u16(ab_cd, 103u), 10);
37304|       |    const uint8x16_t bytes = vreinterpretq_u8_u16(vorrq_u16(tens, vshlq_n_u16(vmlsq_n_u16(ab_cd, tens, 10u), 8)));
37305|       |    // the last digit that is not 0 (sig is not 0): a nibble per byte
37306|       |    const std::uint64_t nonzero = vget_lane_u64(vreinterpret_u64_u8(vshrn_n_u16(vreinterpretq_u16_u8(vtstq_u8(bytes, bytes)), 4)), 0);
37307|       |    const int digits = ((63 - count_leading_zeros(nonzero)) / 4) + (sixteen ? 1 : 0); // without trailing zeros
37308|       |    const uint8x16_t chars = vaddq_u8(bytes, vdupq_n_u8('0'));
37309|       |    // the 16 characters from the first digit
37310|       |    const uint8x16_t s = sixteen ? chars : vextq_u8(chars, vdupq_n_u8(static_cast<std::uint8_t>('0' + last)), 1);
37311|       |    const char s16 = static_cast<char>(sixteen ? '0' + last : '0'); // the 17th
37312|       |    const auto store_16 = [&s](char* p) noexcept
37313|       |    {
37314|       |        vst1q_u8(reinterpret_cast<std::uint8_t*>(p), s); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
37315|       |    };
37316|       |    const auto first_digit = static_cast<char>(vgetq_lane_u8(s, 0));
37317|       |#else
37318|       |    const std::uint64_t hi = eight_digit_bytes(upper);
37319|       |    const std::uint64_t lo = eight_digit_bytes(sig - (upper * 100000000u));
37320|       |    // trailing zero digits: zero bytes (sig is not 0)
37321|       |    const int zeros = lo != 0 ? count_trailing_zeros(lo) / 8 : 8 + (count_trailing_zeros(hi) / 8);
37322|       |    const int digits = 15 - zeros + (sixteen ? 1 : 0); // without trailing zeros
37323|       |    // the 16 characters from the first digit
37324|       |    const std::uint64_t s_hi = (sixteen ? hi : (hi << 8u) | (lo >> 56u)) + 0x3030303030303030u;
37325|       |    const std::uint64_t s_lo = (sixteen ? lo : (lo << 8u) | static_cast<std::uint64_t>(last)) + 0x3030303030303030u;
37326|       |    const char s16 = static_cast<char>(sixteen ? '0' + last : '0'); // the 17th
37327|       |    const auto store_16 = [s_hi, s_lo](char* p) noexcept
37328|       |    {
37329|       |        store_msb_first(p, s_hi);
37330|       |        store_msb_first(p + 8, s_lo);
37331|       |    };
37332|       |    const auto first_digit = static_cast<char>(s_hi >> 56u);
37333|       |#endif
37334|  14.1k|    const int len = d.has_digit ? 16 + (sixteen ? 1 : 0) : digits; // significant digits
  ------------------
  |  Branch (37334:21): [True: 5.07k, False: 9.08k]
  |  Branch (37334:41): [True: 3.57k, False: 1.50k]
  ------------------
37335|  14.1k|    const int n = 16 + (sixteen ? 1 : 0) + d.exponent;           // digits before the point
  ------------------
  |  Branch (37335:25): [True: 11.2k, False: 2.87k]
  ------------------
37336|       |
37337|  14.1k|    if (JSON_HEDLEY_LIKELY(n >= 1 && n <= 15))
  ------------------
  |  | 1696|  22.9k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 5.30k, False: 8.85k]
  |  |  |  Branch (1696:94): [True: 8.77k, False: 5.38k]
  |  |  |  Branch (1696:94): [True: 5.30k, False: 3.47k]
  |  |  ------------------
  ------------------
37338|  5.30k|    {
37339|       |        // "dig.its" and "digits[000].0": the digits after the point move by
37340|       |        // one byte ('0's follow the digits)
37341|  5.30k|#if JSON_DTOA_SSE2
37342|       |        // NOLINTBEGIN(portability-simd-intrinsics)
37343|       |        // (in the register: reading the digits back from memory right after
37344|       |        // storing them waits until the stores are done)
37345|  5.30k|        const __m128i at = _mm_set1_epi8(static_cast<char>(n));
37346|  5.30k|        const __m128i index = _mm_setr_epi8(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
37347|  5.30k|        const __m128i before = _mm_cmpgt_epi8(at, index);
37348|  5.30k|        const __m128i after = _mm_cmpgt_epi8(index, at);
37349|  5.30k|        const __m128i text = _mm_or_si128(_mm_or_si128(_mm_and_si128(s, before), _mm_and_si128(_mm_slli_si128(s, 1), after)),
37350|  5.30k|                                          _mm_andnot_si128(_mm_or_si128(before, after), _mm_set1_epi8('.')));
37351|  5.30k|        std::memcpy(first, &text, 16);
37352|  5.30k|        first[16] = static_cast<char>(_mm_extract_epi16(s, 7) >> 8);
37353|  5.30k|        first[17] = s16;
37354|       |        // NOLINTEND(portability-simd-intrinsics)
37355|       |#elif JSON_DTOA_NEON
37356|       |        const uint8x16_t index = vcombine_u8(vcreate_u8(0x0706050403020100u), vcreate_u8(0x0F0E0D0C0B0A0908u));
37357|       |        const uint8x16_t at = vdupq_n_u8(static_cast<std::uint8_t>(n));
37358|       |        const uint8x16_t after_point = vbslq_u8(vcgtq_u8(index, at), vextq_u8(vdupq_n_u8(0), s, 15), vdupq_n_u8('.'));
37359|       |        vst1q_u8(reinterpret_cast<std::uint8_t*>(first), vbslq_u8(vcltq_u8(index, at), s, after_point)); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast)
37360|       |        first[16] = static_cast<char>(vgetq_lane_u8(s, 15));
37361|       |        first[17] = s16;
37362|       |#else
37363|       |        store_16(first);
37364|       |        first[16] = s16;
37365|       |        std::uint64_t after_point[2]; // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays,cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
37366|       |        std::memcpy(after_point, first + n, 16);
37367|       |        std::memcpy(first + n + 1, after_point, 16);
37368|       |        first[n] = '.';
37369|       |#endif
37370|  5.30k|        return first + (n >= len ? n + 2 : len + 1);
  ------------------
  |  Branch (37370:25): [True: 3.97k, False: 1.33k]
  ------------------
37371|  5.30k|    }
37372|  8.85k|    if (n <= 0 && n > -4)
  ------------------
  |  Branch (37372:9): [True: 5.38k, False: 3.47k]
  |  Branch (37372:19): [True: 888, False: 4.49k]
  ------------------
37373|    888|    {
37374|       |        // "0.[000]digits"
37375|    888|        std::memset(first, '0', 8);
37376|    888|        first[1] = '.';
37377|    888|        store_16(first + 2 - n);
37378|    888|        first[18 - n] = s16;
37379|    888|        return first + 2 - n + len;
37380|    888|    }
37381|       |    // d.igitse+XX, with at least two exponent digits (as append_exponent())
37382|  7.96k|    store_16(first + 1);
37383|  7.96k|    first[17] = s16;
37384|  7.96k|    first[0] = first_digit;
37385|  7.96k|    first[1] = '.';
37386|  7.96k|    char* const end = first + (len == 1 ? 1 : len + 1);
  ------------------
  |  Branch (37386:32): [True: 72, False: 7.89k]
  ------------------
37387|  7.96k|    const int e = n - 1;
37388|  7.96k|    const auto ea = e < 0 ? 0u - static_cast<unsigned>(e) : static_cast<unsigned>(e); // (unsigned: no signed overflow to assume)
  ------------------
  |  Branch (37388:21): [True: 4.49k, False: 3.47k]
  ------------------
37389|  7.96k|    const bool three = ea >= 100;
37390|  7.96k|    end[0] = 'e';
37391|  7.96k|    end[1] = e < 0 ? '-' : '+';
  ------------------
  |  Branch (37391:14): [True: 4.49k, False: 3.47k]
  ------------------
37392|  7.96k|    end[2] = static_cast<char>('0' + (three ? ea / 100 : (ea / 10) % 10));
  ------------------
  |  Branch (37392:39): [True: 1.70k, False: 6.26k]
  ------------------
37393|  7.96k|    end[3] = static_cast<char>('0' + (three ? (ea / 10) % 10 : ea % 10));
  ------------------
  |  Branch (37393:39): [True: 1.70k, False: 6.26k]
  ------------------
37394|  7.96k|    end[4] = static_cast<char>('0' + (ea % 10));
37395|  7.96k|    return end + (three ? 5 : 4);
  ------------------
  |  Branch (37395:19): [True: 1.70k, False: 6.26k]
  ------------------
37396|  8.85k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl13write_decimalEPcmi:
37171|  3.09k|{
37172|  3.09k|    JSON_ASSERT(digits != 0 && digits < 100000000000000000u);
  ------------------
  |  | 2653|  3.09k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37172:5): [True: 3.09k, False: 0]
  |  Branch (37172:5): [True: 3.09k, False: 0]
  |  Branch (37172:5): [True: 3.09k, False: 0]
  ------------------
37173|  3.09k|    const std::uint64_t upper = digits / 100000000u;
37174|  3.09k|    const std::uint64_t b0 = upper / 100000000u; // (one digit: it is its own byte)
37175|  3.09k|    const std::uint64_t b1 = eight_digit_bytes(upper % 100000000u);
37176|  3.09k|    const std::uint64_t b2 = eight_digit_bytes(digits % 100000000u);
37177|       |    // leading and trailing zero digits: zero bytes, counted without division
37178|  3.09k|    int leading = 16;
37179|  3.09k|    int zeros = 16;
37180|  3.09k|    if (b0 != 0)
  ------------------
  |  Branch (37180:9): [True: 0, False: 3.09k]
  ------------------
37181|      0|    {
37182|      0|        leading = count_leading_zeros(b0) / 8;
37183|      0|    }
37184|  3.09k|    else if (b1 != 0)
  ------------------
  |  Branch (37184:14): [True: 1.20k, False: 1.89k]
  ------------------
37185|  1.20k|    {
37186|  1.20k|        leading = 8 + (count_leading_zeros(b1) / 8);
37187|  1.20k|    }
37188|  1.89k|    else
37189|  1.89k|    {
37190|  1.89k|        leading += count_leading_zeros(b2) / 8;
37191|  1.89k|    }
37192|  3.09k|    if (b2 != 0)
  ------------------
  |  Branch (37192:9): [True: 3.09k, False: 0]
  ------------------
37193|  3.09k|    {
37194|  3.09k|        zeros = count_trailing_zeros(b2) / 8;
37195|  3.09k|    }
37196|      0|    else if (b1 != 0)
  ------------------
  |  Branch (37196:14): [True: 0, False: 0]
  ------------------
37197|      0|    {
37198|      0|        zeros = 8 + (count_trailing_zeros(b1) / 8);
37199|      0|    }
37200|       |    // (else: 16, b0 is the one digit that is not 0)
37201|       |    // the digits as text at text + leading, then '0's, so that fixed-size
37202|       |    // moves need not check how many digits there are
37203|  3.09k|    std::array<char, 64> text; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
37204|  3.09k|    store_msb_first(text.data(), b0 + 0x3030303030303030u);
37205|  3.09k|    store_msb_first(text.data() + 8, b1 + 0x3030303030303030u);
37206|  3.09k|    store_msb_first(text.data() + 16, b2 + 0x3030303030303030u);
37207|  3.09k|    std::memset(text.data() + 24, '0', 40);
37208|  3.09k|    const int k = 24 - leading - zeros; // significant digits
37209|  3.09k|    const int n = k + exp + zeros;      // position of the decimal point after the first digit
37210|  3.09k|    const char* const s0 = text.data() + leading;
37211|       |
37212|  3.09k|    if (-4 < n && n <= 15)
  ------------------
  |  Branch (37212:9): [True: 0, False: 3.09k]
  |  Branch (37212:19): [True: 0, False: 0]
  ------------------
37213|      0|    {
37214|       |        // "0.[000]digits" (n <= 0) is the digits after 1 - n leading '0's
37215|       |        // with the point after the first; "digits[000].0" (n >= k) and
37216|       |        // "dig.its" put the point after n characters
37217|      0|        const int pad = n <= 0 ? 1 - n : 0;
  ------------------
  |  Branch (37217:25): [True: 0, False: 0]
  ------------------
37218|      0|        const char* const s = s0 - pad;
37219|      0|        const int len = k + pad;
37220|      0|        const int point = n + pad;
37221|      0|        std::memcpy(first, s, 16);
37222|      0|        std::memcpy(first + point + 1, s + point, 24);
37223|      0|        first[point] = '.';
37224|      0|        return first + (point >= len ? point + 2 : len + 1);
  ------------------
  |  Branch (37224:25): [True: 0, False: 0]
  ------------------
37225|      0|    }
37226|       |
37227|       |    // d.igitse+XX, with at least two exponent digits (as append_exponent())
37228|  3.09k|    std::memcpy(first, s0, 16);
37229|  3.09k|    std::memcpy(first + 2, s0 + 1, 16);
37230|  3.09k|    first[1] = '.';
37231|  3.09k|    char* const end = first + (k == 1 ? 1 : k + 1);
  ------------------
  |  Branch (37231:32): [True: 1.06k, False: 2.02k]
  ------------------
37232|  3.09k|    const int e = n - 1;
37233|  3.09k|    const auto ea = e < 0 ? 0u - static_cast<unsigned>(e) : static_cast<unsigned>(e); // (unsigned: no signed overflow to assume)
  ------------------
  |  Branch (37233:21): [True: 3.09k, False: 0]
  ------------------
37234|  3.09k|    const bool three = ea >= 100;
37235|  3.09k|    end[0] = 'e';
37236|  3.09k|    end[1] = e < 0 ? '-' : '+';
  ------------------
  |  Branch (37236:14): [True: 3.09k, False: 0]
  ------------------
37237|  3.09k|    end[2] = static_cast<char>('0' + (three ? ea / 100 : (ea / 10) % 10));
  ------------------
  |  Branch (37237:39): [True: 3.09k, False: 0]
  ------------------
37238|  3.09k|    end[3] = static_cast<char>('0' + (three ? (ea / 10) % 10 : ea % 10));
  ------------------
  |  Branch (37238:39): [True: 3.09k, False: 0]
  ------------------
37239|  3.09k|    end[4] = static_cast<char>('0' + (ea % 10));
37240|  3.09k|    return end + (three ? 5 : 4);
  ------------------
  |  Branch (37240:19): [True: 3.09k, False: 0]
  ------------------
37241|  3.09k|}
_ZZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_shortestEPcNS1_4zmij16shortest_decimalEENKUlS3_E_clES3_:
37290|  8.85k|    {
37291|  8.85k|        std::memcpy(p, &s, 16);
37292|  8.85k|    };
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE5flushEv:
39130|  33.7k|    {
39131|  33.7k|        o->write_characters(write_buffer.data(), write_buffer_pos);
39132|  33.7k|        write_buffer_pos = 0;
39133|  33.7k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvED2Ev:
42951|  2.35M|    {
42952|  2.35M|        assert_invariant(false);
42953|  2.35M|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16assert_invariantEb:
41279|  6.39M|    {
41280|  6.39M|        JSON_ASSERT(m_data.m_type != value_t::object || m_data.m_value.object != nullptr);
  ------------------
  |  | 2653|  6.39M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41280:9): [True: 6.10M, False: 284k]
  |  Branch (41280:9): [True: 284k, False: 0]
  |  Branch (41280:9): [True: 6.39M, False: 0]
  ------------------
41281|  6.39M|        JSON_ASSERT(m_data.m_type != value_t::array || m_data.m_value.array != nullptr);
  ------------------
  |  | 2653|  6.39M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41281:9): [True: 5.37M, False: 1.02M]
  |  Branch (41281:9): [True: 1.02M, False: 0]
  |  Branch (41281:9): [True: 6.39M, False: 0]
  ------------------
41282|  6.39M|        JSON_ASSERT(m_data.m_type != value_t::string || m_data.m_value.string != nullptr);
  ------------------
  |  | 2653|  6.39M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41282:9): [True: 6.03M, False: 353k]
  |  Branch (41282:9): [True: 353k, False: 0]
  |  Branch (41282:9): [True: 6.39M, False: 0]
  ------------------
41283|  6.39M|        JSON_ASSERT(m_data.m_type != value_t::binary || m_data.m_value.binary != nullptr);
  ------------------
  |  | 2653|  6.39M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41283:9): [True: 6.03M, False: 362k]
  |  Branch (41283:9): [True: 362k, False: 0]
  |  Branch (41283:9): [True: 6.39M, False: 0]
  ------------------
41284|       |
41285|       |#if JSON_DIAGNOSTICS
41286|       |        JSON_TRY
41287|       |        {
41288|       |            JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
41289|       |            {
41290|       |                return j.m_parent == this;
41291|       |            }));
41292|       |        }
41293|       |        JSON_CATCH(...) {} // LCOV_EXCL_LINE
41294|       |#endif
41295|  6.39M|        static_cast<void>(check_parents);
41296|  6.39M|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataD2Ev:
46531|  2.86M|        {
46532|  2.86M|            m_value.destroy(m_type);
46533|  2.86M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value7destroyENS0_6detail7value_tE:
41223|  3.87M|        {
41224|  3.87M|            if (JSON_HEDLEY_UNLIKELY(detail::owns_memory(t)))
  ------------------
  |  | 1697|  3.87M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 275k, False: 3.60M]
  |  |  ------------------
  ------------------
41225|   275k|            {
41226|   275k|                destroy_owned(t);
41227|   275k|            }
41228|  3.87M|        }
_ZN8nlohmann16json_abi_v3_12_06detail11owns_memoryENS1_7value_tE:
 3462|  3.87M|{
 3463|  3.87M|    switch (t)
 3464|  3.87M|    {
 3465|  21.1k|        case value_t::object:
  ------------------
  |  Branch (3465:9): [True: 21.1k, False: 3.85M]
  ------------------
 3466|  67.5k|        case value_t::array:
  ------------------
  |  Branch (3466:9): [True: 46.4k, False: 3.82M]
  ------------------
 3467|   161k|        case value_t::string:
  ------------------
  |  Branch (3467:9): [True: 93.9k, False: 3.78M]
  ------------------
 3468|   275k|        case value_t::binary:
  ------------------
  |  Branch (3468:9): [True: 113k, False: 3.76M]
  ------------------
 3469|   275k|            return true;
 3470|       |
 3471|  2.79M|        case value_t::null:
  ------------------
  |  Branch (3471:9): [True: 2.79M, False: 1.07M]
  ------------------
 3472|  2.83M|        case value_t::boolean:
  ------------------
  |  Branch (3472:9): [True: 33.1k, False: 3.84M]
  ------------------
 3473|  3.02M|        case value_t::number_integer:
  ------------------
  |  Branch (3473:9): [True: 189k, False: 3.68M]
  ------------------
 3474|  3.56M|        case value_t::number_unsigned:
  ------------------
  |  Branch (3474:9): [True: 546k, False: 3.32M]
  ------------------
 3475|  3.59M|        case value_t::number_float:
  ------------------
  |  Branch (3475:9): [True: 29.5k, False: 3.84M]
  ------------------
 3476|  3.60M|        case value_t::discarded:
  ------------------
  |  Branch (3476:9): [True: 4.39k, False: 3.87M]
  ------------------
 3477|  3.60M|        default:
  ------------------
  |  Branch (3477:9): [True: 0, False: 3.87M]
  ------------------
 3478|  3.60M|            return false;
 3479|  3.87M|    }
 3480|  3.87M|}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value13destroy_ownedENS0_6detail7value_tE:
41231|   275k|        {
41232|   275k|            switch (t)
41233|   275k|            {
41234|  93.9k|                case value_t::string:
  ------------------
  |  Branch (41234:17): [True: 93.9k, False: 181k]
  ------------------
41235|  93.9k|                    destroy_pointer(string);
41236|  93.9k|                    break;
41237|       |
41238|   113k|                case value_t::binary:
  ------------------
  |  Branch (41238:17): [True: 113k, False: 161k]
  ------------------
41239|   113k|                    destroy_pointer(binary);
41240|   113k|                    break;
41241|       |
41242|  21.1k|                case value_t::object:
  ------------------
  |  Branch (41242:17): [True: 21.1k, False: 254k]
  ------------------
41243|  67.5k|                case value_t::array:
  ------------------
  |  Branch (41243:17): [True: 46.4k, False: 228k]
  ------------------
41244|  67.5k|                    destroy_container(t);
41245|  67.5k|                    break;
41246|       |
41247|      0|                case value_t::null: // LCOV_EXCL_LINE
  ------------------
  |  Branch (41247:17): [True: 0, False: 275k]
  ------------------
41248|      0|                case value_t::boolean:
  ------------------
  |  Branch (41248:17): [True: 0, False: 275k]
  ------------------
41249|      0|                case value_t::number_integer:
  ------------------
  |  Branch (41249:17): [True: 0, False: 275k]
  ------------------
41250|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (41250:17): [True: 0, False: 275k]
  ------------------
41251|      0|                case value_t::number_float:
  ------------------
  |  Branch (41251:17): [True: 0, False: 275k]
  ------------------
41252|      0|                case value_t::discarded:
  ------------------
  |  Branch (41252:17): [True: 0, False: 275k]
  ------------------
41253|      0|                default:
  ------------------
  |  Branch (41253:17): [True: 0, False: 275k]
  ------------------
41254|      0|                    break; // LCOV_EXCL_LINE
41255|   275k|            }
41256|   275k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15destroy_pointerISA_EEvRPT_:
41063|  93.9k|        {
41064|  93.9k|            if (ptr == nullptr)
  ------------------
  |  Branch (41064:17): [True: 0, False: 93.9k]
  ------------------
41065|      0|            {
41066|       |                // not initialized (e.g., due to exception in the ctor)
41067|      0|                return;
41068|      0|            }
41069|  93.9k|            AllocatorType<T> alloc;
41070|  93.9k|            std::allocator_traits<decltype(alloc)>::destroy(alloc, ptr);
41071|  93.9k|            std::allocator_traits<decltype(alloc)>::deallocate(alloc, ptr, 1);
41072|  93.9k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15destroy_pointerINS0_27byte_container_with_subtypeISD_EEEEvRPT_:
41063|   113k|        {
41064|   113k|            if (ptr == nullptr)
  ------------------
  |  Branch (41064:17): [True: 0, False: 113k]
  ------------------
41065|      0|            {
41066|       |                // not initialized (e.g., due to exception in the ctor)
41067|      0|                return;
41068|      0|            }
41069|   113k|            AllocatorType<T> alloc;
41070|   113k|            std::allocator_traits<decltype(alloc)>::destroy(alloc, ptr);
41071|   113k|            std::allocator_traits<decltype(alloc)>::deallocate(alloc, ptr, 1);
41072|   113k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value17destroy_containerENS0_6detail7value_tE:
41076|  67.5k|        {
41077|  67.5k|            if (
41078|  67.5k|                (t == value_t::object && object == nullptr) ||
  ------------------
  |  Branch (41078:18): [True: 21.1k, False: 46.4k]
  |  Branch (41078:42): [True: 0, False: 21.1k]
  ------------------
41079|  67.5k|                (t == value_t::array && array == nullptr)
  ------------------
  |  Branch (41079:18): [True: 46.4k, False: 21.1k]
  |  Branch (41079:41): [True: 0, False: 46.4k]
  ------------------
41080|  67.5k|            )
41081|      0|            {
41082|       |                // not initialized (e.g., due to exception in the ctor)
41083|      0|                return;
41084|      0|            }
41085|       |
41086|       |            // This json_value is not itself a basic_json, so the top-level
41087|       |            // container is first moved into a local stand-in ("cur"); a
41088|       |            // default-constructed data has a null pointer in its m_value
41089|       |            // (see data::m_value's initializer), so swapping it with *this
41090|       |            // leaves this union's own pointer null, and it is never looked
41091|       |            // at or freed a second time. The stand-ins are data, not
41092|       |            // basic_json, so that destroying a value never constructs a
41093|       |            // CustomBaseClass, whose constructor may allocate (#5995).
41094|  67.5k|            data cur;
41095|  67.5k|            cur.m_type = t;
41096|  67.5k|            std::swap(cur.m_value, *this);
41097|       |
41098|  67.5k|            destroy_bounded(cur, 0);
41099|  67.5k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2Ev:
46524|  1.76M|        data() noexcept = default;
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15destroy_boundedERNSE_4dataEm:
41106|   731k|        {
41107|   731k|            if (JSON_HEDLEY_UNLIKELY(depth >= detail::recursion_depth_limit()))
  ------------------
  |  | 1697|   731k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 10.2k, False: 720k]
  |  |  ------------------
  ------------------
41108|  10.2k|            {
41109|  10.2k|                destroy_walk(v);
41110|  10.2k|                return;
41111|  10.2k|            }
41112|       |
41113|   720k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41113:17): [True: 625k, False: 95.5k]
  ------------------
41114|   625k|            {
41115|   625k|                for (auto& child : *v.m_value.array)
  ------------------
  |  Branch (41115:34): [True: 1.48M, False: 625k]
  ------------------
41116|  1.48M|                {
41117|  1.48M|                    if (child.m_data.m_type == value_t::array || child.m_data.m_type == value_t::object)
  ------------------
  |  Branch (41117:25): [True: 576k, False: 910k]
  |  Branch (41117:66): [True: 34.3k, False: 875k]
  ------------------
41118|   610k|                    {
41119|   610k|                        destroy_bounded(child.m_data, depth + 1);
41120|   610k|                    }
41121|  1.48M|                }
41122|   625k|            }
41123|  95.5k|            else
41124|  95.5k|            {
41125|  95.5k|                for (auto& child : *v.m_value.object)
  ------------------
  |  Branch (41125:34): [True: 110k, False: 95.5k]
  ------------------
41126|   110k|                {
41127|   110k|                    if (child.second.m_data.m_type == value_t::array || child.second.m_data.m_type == value_t::object)
  ------------------
  |  Branch (41127:25): [True: 7.97k, False: 102k]
  |  Branch (41127:73): [True: 44.9k, False: 57.8k]
  ------------------
41128|  52.9k|                    {
41129|  52.9k|                        destroy_bounded(child.second.m_data, depth + 1);
41130|  52.9k|                    }
41131|   110k|                }
41132|  95.5k|            }
41133|       |
41134|       |            // only leaves and already destroyed (null) children remain
41135|   720k|            free_container(v);
41136|   720k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value12destroy_walkERNSE_4dataE:
41160|  10.2k|        {
41161|  10.2k|            data cur;
41162|  10.2k|            take(cur, top);
41163|       |
41164|  10.2k|            data prev; // value_t::null: no parent
41165|       |
41166|       |            // true right after cur was entered: its children have not been
41167|       |            // looked at yet. If none of them has children of its own, cur is
41168|       |            // freed in one go instead of child by child; this is tried once
41169|       |            // per container, so the walk stays linear.
41170|  10.2k|            bool fresh = true;
41171|       |
41172|   475k|            while (true)
  ------------------
  |  Branch (41172:20): [True: 475k, Folded]
  ------------------
41173|   475k|            {
41174|   475k|                const bool fresh_now = fresh;
41175|   475k|                fresh = false;
41176|   475k|                if (has_no_children(cur) || (fresh_now && all_children_leaves(cur)))
  ------------------
  |  Branch (41176:21): [True: 216k, False: 259k]
  |  Branch (41176:46): [True: 221k, False: 38.7k]
  |  Branch (41176:59): [True: 8.72k, False: 212k]
  ------------------
41177|   224k|                {
41178|   224k|                    if (prev.m_type == value_t::null)
  ------------------
  |  Branch (41178:25): [True: 10.2k, False: 214k]
  ------------------
41179|  10.2k|                    {
41180|  10.2k|                        free_container(cur);
41181|  10.2k|                        return; // back at the top with nothing left to do
41182|  10.2k|                    }
41183|       |
41184|       |                    // ascend: detach the grandparent link from prev's
41185|       |                    // walk_child() slot, drop that (now null) slot, free cur
41186|       |                    // (it is empty), then move up one level
41187|   214k|                    data gp;
41188|   214k|                    take(gp, walk_child(prev));
41189|   214k|                    pop_walk_child(prev);
41190|       |
41191|   214k|                    free_container(cur);
41192|       |
41193|   214k|                    take(cur, prev);
41194|   214k|                    take(prev, gp);
41195|   214k|                    continue;
41196|   224k|                }
41197|       |
41198|   251k|                data& cur_child_ref = walk_child(cur);
41199|       |
41200|   251k|                if (has_no_children(cur_child_ref))
  ------------------
  |  Branch (41200:21): [True: 36.6k, False: 214k]
  ------------------
41201|  36.6k|                {
41202|       |                    // scalar, or already-empty array/object
41203|  36.6k|                    pop_walk_child(cur);
41204|  36.6k|                    continue;
41205|  36.6k|                }
41206|       |
41207|       |                // descend into the non-empty child, reversing the
41208|       |                // link: its slot takes over prev, and the child becomes
41209|       |                // the new cur
41210|   214k|                data tmp;
41211|   214k|                take(tmp, cur_child_ref);
41212|   214k|                take(cur_child_ref, prev);
41213|   214k|                take(prev, cur);
41214|   214k|                take(cur, tmp);
41215|   214k|                fresh = true;
41216|   214k|            }
41217|  10.2k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value4takeERNSE_4dataESH_:
40939|  1.51M|        {
40940|  1.51M|            dst.m_type = src.m_type;
40941|  1.51M|            dst.m_value = src.m_value;
40942|  1.51M|            src.m_type = value_t::null;
40943|  1.51M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15has_no_childrenERKNSE_4dataE:
40947|  3.54M|        {
40948|  3.54M|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (40948:17): [True: 1.66M, False: 1.88M]
  ------------------
40949|  1.66M|            {
40950|  1.66M|                return v.m_value.array->empty();
40951|  1.66M|            }
40952|  1.88M|            if (v.m_type == value_t::object)
  ------------------
  |  Branch (40952:17): [True: 210k, False: 1.67M]
  ------------------
40953|   210k|            {
40954|   210k|                return v.m_value.object->empty();
40955|   210k|            }
40956|  1.67M|            return true;
40957|  1.88M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value19all_children_leavesERKNSE_4dataE:
40964|   897k|        {
40965|       |            // array_t only needs forward iterators (see custom_array_type)
40966|   897k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (40966:17): [True: 806k, False: 90.3k]
  ------------------
40967|   806k|            {
40968|   806k|                const auto& a = *v.m_value.array;
40969|   806k|                return std::all_of(a.begin(), a.end(), [](const basic_json & el)
40970|   806k|                {
40971|   806k|                    return has_no_children(el.m_data);
40972|   806k|                });
40973|   806k|            }
40974|  90.3k|            const auto& o = *v.m_value.object;
40975|  90.3k|            return std::all_of(o.begin(), o.end(), [](const typename object_t::value_type & el)
40976|  90.3k|            {
40977|  90.3k|                return has_no_children(el.second.m_data);
40978|  90.3k|            });
40979|   897k|        }
_ZZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value19all_children_leavesERKNSE_4dataEENKUlRKSE_E_clESK_:
40970|  1.72M|                {
40971|  1.72M|                    return has_no_children(el.m_data);
40972|  1.72M|                });
_ZZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value19all_children_leavesERKNSE_4dataEENKUlRKNS2_4pairIKSA_SE_EEE_clESN_:
40976|   151k|            {
40977|   151k|                return has_no_children(el.second.m_data);
40978|   151k|            });
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value10walk_childERNSE_4dataE:
41010|   465k|        {
41011|   465k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41011:17): [True: 417k, False: 48.2k]
  ------------------
41012|   417k|            {
41013|   417k|                return v.m_value.array->back().m_data;
41014|   417k|            }
41015|  48.2k|            JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|  48.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41015:13): [True: 48.2k, False: 0]
  ------------------
41016|  48.2k|            return walk_child_it(*v.m_value.object)->second.m_data;
41017|  48.2k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value13walk_child_itINS3_ISA_SE_NS2_4lessISA_EENS8_INS2_4pairIKSA_SE_EEEEEEEENT_8iteratorERSO_:
41002|  81.8k|        {
41003|  81.8k|            JSON_ASSERT(!o.empty());
  ------------------
  |  | 2653|  81.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41003:13): [True: 81.8k, False: 0]
  ------------------
41004|  81.8k|            return walk_child_it(o, typename std::iterator_traits<typename ObjectType_::iterator>::iterator_category());
41005|  81.8k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value13walk_child_itINS3_ISA_SE_NS2_4lessISA_EENS8_INS2_4pairIKSA_SE_EEEEEEEENT_8iteratorERSO_NS2_26bidirectional_iterator_tagE:
40990|  81.8k|        {
40991|  81.8k|            return std::prev(o.end());
40992|  81.8k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value14pop_walk_childERNSE_4dataE:
41024|   251k|        {
41025|   251k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41025:17): [True: 217k, False: 33.5k]
  ------------------
41026|   217k|            {
41027|   217k|                v.m_value.array->pop_back();
41028|   217k|            }
41029|  33.5k|            else
41030|  33.5k|            {
41031|  33.5k|                JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|  33.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41031:17): [True: 33.5k, False: 0]
  ------------------
41032|  33.5k|                v.m_value.object->erase(walk_child_it(*v.m_value.object));
41033|  33.5k|            }
41034|   251k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value14free_containerERNSE_4dataE:
41042|   945k|        {
41043|   945k|            JSON_ASSERT(has_no_children(v) || all_children_leaves(v));
  ------------------
  |  | 2653|   945k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41043:13): [True: 269k, False: 675k]
  |  Branch (41043:13): [True: 675k, False: 0]
  |  Branch (41043:13): [True: 945k, False: 0]
  ------------------
41044|   945k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41044:17): [True: 829k, False: 115k]
  ------------------
41045|   829k|            {
41046|   829k|                AllocatorType<array_t> alloc;
41047|   829k|                std::allocator_traits<decltype(alloc)>::destroy(alloc, v.m_value.array);
41048|   829k|                std::allocator_traits<decltype(alloc)>::deallocate(alloc, v.m_value.array, 1);
41049|   829k|            }
41050|   115k|            else
41051|   115k|            {
41052|   115k|                JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|   115k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41052:17): [True: 115k, False: 0]
  ------------------
41053|   115k|                AllocatorType<object_t> alloc;
41054|   115k|                std::allocator_traits<decltype(alloc)>::destroy(alloc, v.m_value.object);
41055|   115k|                std::allocator_traits<decltype(alloc)>::deallocate(alloc, v.m_value.object, 1);
41056|   115k|            }
41057|   945k|            v.m_type = value_t::null; // avoid a double free if v is later destructed
41058|   945k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12from_msgpackIRKSD_EESE_OT_bbNS0_6detail15error_handler_tE:
46852|  24.5k|    {
46853|  24.5k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::msgpack, strict, allow_exceptions, error_handler);
46854|  24.5k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16from_binary_implINS0_6detail22iterator_input_adapterIPKhSJ_EEEESE_T_NSG_14input_format_tEbbNSG_15error_handler_tENSG_18cbor_tag_handler_tE:
46575|  34.1k|    {
46576|  34.1k|        basic_json result;
46577|  34.1k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  34.1k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  34.1k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 4.39k, False: 29.8k]
  ------------------
46580|  4.39k|        {
46581|  4.39k|            result = value_t::discarded;
46582|  4.39k|        }
46583|  34.1k|        return result;
46584|  34.1k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EDn:
42524|   242k|    {
42525|   242k|        assert_invariant();
42526|   242k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEEC2ERSG_bPNS1_5lexerISG_SK_Lb0EEE:
17821|  34.1k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  34.1k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_stateC2Eb:
16621|  63.1k|        : allow_exceptions(allow_exceptions_)
16622|  63.1k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEEC2EOSK_NS1_14input_format_tENS1_15error_handler_tE:
18992|  34.1k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  34.1k|    {
18994|  34.1k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  34.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11char_traitsIhE3eofEv:
 4463|   474k|    {
 4464|   474k|        return static_cast<int_type>(std::char_traits<char>::eof());
 4465|   474k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17little_endiannessEi:
18810|  73.6k|{
18811|  73.6k|    return *reinterpret_cast<char*>(&num) == 1;
18812|  73.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9sax_parseEPSM_bNS1_18cbor_tag_handler_tE:
19017|  34.1k|    {
19018|  34.1k|        sax = sax_;
19019|  34.1k|        container_stack.clear();
19020|  34.1k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  34.1k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  34.1k|        bool result = false;
19024|       |
19025|  34.1k|        switch (input_format)
19026|  34.1k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 34.1k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|      0|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 0, False: 34.1k]
  ------------------
19032|      0|                result = parse_cbor_internal(tag_handler);
19033|      0|                break;
19034|       |
19035|  34.1k|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 34.1k, False: 0]
  ------------------
19036|  34.1k|                result = parse_msgpack_internal();
19037|  34.1k|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 34.1k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 34.1k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 34.1k]
  ------------------
19045|      0|                result = parse_bon8_internal();
19046|      0|                break;
19047|       |
19048|      0|            case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (19048:13): [True: 0, False: 34.1k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 34.1k]
  ------------------
19050|      0|                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (19050:17): [Folded, False: 0]
  ------------------
19051|  34.1k|        }
19052|       |
19053|       |        // BON8: a string ends at the first byte that cannot continue it. If
19054|       |        // that byte follows the value, the reader has already taken it from
19055|       |        // the input and holds it in bon8_pushback. Without the end-of-input
19056|       |        // check below it would be dropped, and the next read would start
19057|       |        // behind it, so report the missing 0xFF instead.
19058|  25.9k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 21.8k, False: 4.11k]
  |  Branch (19058:23): [True: 0, False: 21.8k]
  |  Branch (19058:34): [True: 0, False: 0]
  |  Branch (19058:74): [True: 0, False: 0]
  ------------------
19059|      0|        {
19060|      0|            get_bon8();
19061|      0|            return last_byte_error(exception_id::unexpected_end_of_input, "string at the end of the value is not terminated by 0xFF", "value", "");
19062|      0|        }
19063|       |
19064|       |        // strict mode: next byte must be EOF
19065|  25.9k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 21.8k, False: 4.11k]
  |  Branch (19065:23): [True: 21.8k, False: 0]
  ------------------
19066|  21.8k|        {
19067|  21.8k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 21.8k]
  |  Branch (19067:59): [True: 0, False: 21.8k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  21.8k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 21.8k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  21.8k|            else
19077|  21.8k|            {
19078|  21.8k|                get();
19079|  21.8k|            }
19080|       |
19081|  21.8k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  21.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 846, False: 21.0k]
  |  |  ------------------
  ------------------
19082|    846|            {
19083|    846|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    846|            }
19085|  21.8k|        }
19086|       |
19087|  25.1k|        return result;
19088|  25.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE12bound_parserEPSM_NS4_17integral_constantIbLb1EEE:
19096|  34.1k|    {
19097|  34.1k|        return s;
19098|  34.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE16position_bindingC2EPNS1_24json_sax_dom_error_stateEPKm:
19119|  34.1k|            : parser(parser_), saved()
19120|  34.1k|        {
19121|  34.1k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 34.1k, False: 0]
  ------------------
19122|  34.1k|            {
19123|  34.1k|                saved = parser->get_reserve_state();
19124|  34.1k|                parser->set_input_position(position);
19125|  34.1k|            }
19126|  34.1k|        }
_ZNK8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state17get_reserve_stateEv:
16668|  63.1k|    {
16669|  63.1k|        return {input_position, credit_position, reserve_credit};
16670|  63.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state18set_input_positionEPKm:
16653|  63.1k|    {
16654|  63.1k|        input_position = position;
16655|  63.1k|        credit_position = 0;
16656|  63.1k|        reserve_credit = position != nullptr ? reserved_elements_base : (std::numeric_limits<std::size_t>::max)();
  ------------------
  |  Branch (16656:26): [True: 63.1k, False: 0]
  ------------------
16657|  63.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIiEEbRT_PKc:
23503|  1.12k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.12k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.12k|        chars_read += new_chars_read;
23508|  1.12k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.12k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 69, False: 1.05k]
  |  |  ------------------
  ------------------
23509|     69|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     69|            ++chars_read;
23512|     69|            static_cast<void>(report_eof(context));
23513|     69|            return false;
23514|     69|        }
23515|  1.05k|        return true;
23516|  1.12k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIiEEmPT_m:
10326|  1.12k|    {
10327|  1.12k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.12k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIiEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.12k|    {
10385|  1.12k|        const std::size_t wanted = count * sizeof(T);
10386|  1.12k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.12k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.12k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.12k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.08k, False: 36]
  |  |  ------------------
  ------------------
10389|  1.08k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  1.08k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  1.08k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 1.08k, False: 0]
  ------------------
10394|  1.08k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  1.08k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 1.08k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  1.08k|            std::memcpy(dest, &*current, copied);
10398|  1.08k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  1.08k|        }
10400|  1.12k|        return copied;
10401|  1.12k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E15remaining_countEv:
10345|   416k|    {
10346|       |#if JSON_HAS_RANGES && defined(__cpp_lib_concepts) && defined(JSON_HAS_CPP_20)
10347|       |        // std::ranges::distance also supports sized sentinels of a different
10348|       |        // type (e.g. std::counted_iterator + std::default_sentinel_t)
10349|       |        return static_cast<std::size_t>(std::ranges::distance(current, end));
10350|       |#else
10351|   416k|        return static_cast<std::size_t>(std::distance(current, end));
10352|   416k|#endif
10353|   416k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10report_eofEPKc:
23991|  12.2k|    {
23992|  12.2k|        return sax->parse_error(chars_read, "<end of file>",
23993|  12.2k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  12.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state11parse_errorINS1_11parse_errorEEEbmRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKT_:
16634|  26.3k|    {
16635|  26.3k|        errored = true;
16636|  26.3k|        static_cast<void>(ex);
16637|  26.3k|        if (allow_exceptions)
  ------------------
  |  Branch (16637:13): [True: 21.9k, False: 4.39k]
  ------------------
16638|  21.9k|        {
16639|  21.9k|            JSON_THROW(ex);
  ------------------
  |  | 2618|  21.9k|    #define JSON_THROW(exception) throw exception
  ------------------
16640|  21.9k|        }
16641|  4.39k|        return false;
16642|  26.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5802|  26.3k|    {
 5803|  26.3k|        return create(static_cast<int>(id_), byte_, what_arg, context);
 5804|  26.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5787|  26.3k|    {
 5788|  26.3k|        const std::string w = concat(exception::name("parse_error", id_), "parse error",
 5789|  26.3k|                                     (byte_ != 0 ? (concat(" at byte ", std::to_string(byte_))) : ""),
  ------------------
  |  Branch (5789:39): [True: 26.3k, False: 0]
  ------------------
 5790|  26.3k|                                     ": ", exception::diagnostics(context), what_arg);
 5791|  26.3k|        return {id_, byte_, w.c_str()};
 5792|  26.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_RA12_KcS9_RA3_SA_S9_RKS9_EEET_DpOT0_:
 5537|  26.3k|{
 5538|  26.3k|    OutStringType str;
 5539|  26.3k|    str.reserve(concat_length(args...));
 5540|  26.3k|    concat_into(str, std::forward<Args>(args)...);
 5541|  26.3k|    return str;
 5542|  26.3k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA12_cS9_A3_cS9_S9_EEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cS9_S9_EEEmPKcDpRKT_:
 5441|  26.3k|{
 5442|  26.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cS9_S9_EEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_EEEmPKcDpRKT_:
 5441|  26.3k|{
 5442|  26.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA12_KcS9_RA3_SA_S9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA12_KcJS9_RA3_SA_S9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA3_KcS9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJS9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA10_KcS9_EEET_DpOT0_:
 5537|  26.3k|{
 5538|  26.3k|    OutStringType str;
 5539|  26.3k|    str.reserve(concat_length(args...));
 5540|  26.3k|    concat_into(str, std::forward<Args>(args)...);
 5541|  26.3k|    return str;
 5542|  26.3k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA10_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11parse_errorC2EimPKc:
 5819|  26.3k|        : exception(id_, what_arg), byte(byte_) {}
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17exception_messageERKSC_SP_:
24102|  13.1k|    {
24103|  13.1k|        std::string error_msg = "syntax error while parsing ";
24104|  13.1k|        error_msg += input_format_name(input_format);
24105|       |
24106|  13.1k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  13.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17input_format_nameENS1_14input_format_tE:
 9338|  26.3k|{
 9339|  26.3k|    switch (format)
 9340|  26.3k|    {
 9341|      0|        case input_format_t::cbor:
  ------------------
  |  Branch (9341:9): [True: 0, False: 26.3k]
  ------------------
 9342|      0|            return "CBOR";
 9343|  26.3k|        case input_format_t::msgpack:
  ------------------
  |  Branch (9343:9): [True: 26.3k, False: 0]
  ------------------
 9344|  26.3k|            return "MessagePack";
 9345|      0|        case input_format_t::ubjson:
  ------------------
  |  Branch (9345:9): [True: 0, False: 26.3k]
  ------------------
 9346|      0|            return "UBJSON";
 9347|      0|        case input_format_t::bson:
  ------------------
  |  Branch (9347:9): [True: 0, False: 26.3k]
  ------------------
 9348|      0|            return "BSON";
 9349|      0|        case input_format_t::bjdata:
  ------------------
  |  Branch (9349:9): [True: 0, False: 26.3k]
  ------------------
 9350|      0|            return "BJData";
 9351|      0|        case input_format_t::bon8:
  ------------------
  |  Branch (9351:9): [True: 0, False: 26.3k]
  ------------------
 9352|      0|            return "BON8";
 9353|      0|        case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (9353:9): [True: 0, False: 26.3k]
  ------------------
 9354|      0|        default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (9354:9): [True: 0, False: 26.3k]
  ------------------
 9355|      0|            JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9355:13): [Folded, False: 0]
  ------------------
 9356|      0|            return ""; // LCOV_EXCL_LINE
 9357|  26.3k|    }
 9358|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRS9_cRKS9_RA3_KcSC_EEET_DpOT0_:
 5537|  26.3k|{
 5538|  26.3k|    OutStringType str;
 5539|  26.3k|    str.reserve(concat_length(args...));
 5540|  26.3k|    concat_into(str, std::forward<Args>(args)...);
 5541|  26.3k|    return str;
 5542|  26.3k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJcS9_A3_cS9_EEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cS9_EEEmcDpRKT_:
 5435|  26.3k|{
 5436|  26.3k|    return 1 + concat_length(rest...);
 5437|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cS9_EEEmRKT_DpRKT0_:
 5447|  26.3k|{
 5448|  26.3k|    return str.size() + concat_length(rest...);
 5449|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERS9_JcRKS9_RA3_KcSC_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSH_OSI_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcJRKS9_RA3_KcSB_ETnNS3_9enable_ifIXaantsr24detect_string_can_appendIT_T0_EE5valuesr27detect_string_can_append_opISG_SH_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5509|  26.3k|{
 5510|  26.3k|    out += std::forward<Arg>(arg);
 5511|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5512|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JRA3_KcSB_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJRKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  26.3k|{
 5501|  26.3k|    out.append(std::forward<Arg>(arg));
 5502|  26.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  26.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIiEEvRT_:
23555|  2.18k|    {
23556|  2.18k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  2.18k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  6.54k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 4.36k, False: 2.18k]
  ------------------
23572|  4.36k|            {
23573|  4.36k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  4.36k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.18k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15enter_containerEbmm:
19201|   522k|    {
19202|   522k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|  1.04M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 522k]
  |  |  |  Branch (1697:94): [True: 62.3k, False: 460k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   522k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   522k|        return true;
19209|   522k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12start_objectEm:
17878|  62.3k|    {
17879|  62.3k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
17880|       |
17881|       |#if JSON_DIAGNOSTIC_POSITIONS
17882|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17883|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17884|       |#endif
17885|       |
17886|  62.3k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  62.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   522k|    {
17962|   522k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 23.7k, False: 498k]
  ------------------
17963|  23.7k|        {
17964|  23.7k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  23.7k|            return &root;
17971|  23.7k|        }
17972|       |
17973|   498k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   498k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 456k, False: 42.5k]
  |  Branch (17973:9): [True: 42.5k, False: 0]
  |  Branch (17973:9): [True: 498k, False: 0]
  ------------------
17974|       |
17975|   498k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 456k, False: 42.5k]
  ------------------
17976|   456k|        {
17977|   456k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|   456k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   456k|        }
17985|       |
17986|  42.5k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  42.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 42.5k, False: 0]
  ------------------
17987|  42.5k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  42.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 42.5k, False: 0]
  ------------------
17988|  42.5k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  42.5k|        return object_element;
17995|  42.5k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8is_arrayEv:
43077|  4.73M|    {
43078|  4.73M|        return m_data.m_type == value_t::array;
43079|  4.73M|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9is_objectEv:
43069|   769k|    {
43070|   769k|        return m_data.m_type == value_t::object;
43071|   769k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EOSE_:
42896|   152k|        : json_base_class_t(std::move(static_cast<json_base_class_t&>(other))),
42897|   152k|          m_data(std::move(other.m_data))
42898|       |#if JSON_DIAGNOSTIC_POSITIONS
42899|       |        , start_position(other.start_position)
42900|       |        , end_position(other.end_position)
42901|       |#endif
42902|   152k|    {
42903|       |        // check that the passed value is valid
42904|   152k|        other.assert_invariant(false);
42905|       |
42906|       |        // invalidate payload
42907|   152k|        other.m_data.m_type = value_t::null;
42908|   152k|        other.m_data.m_value = {};
42909|       |
42910|       |#if JSON_DIAGNOSTIC_POSITIONS
42911|       |        other.start_position = std::string::npos;
42912|       |        other.end_position = std::string::npos;
42913|       |#endif
42914|       |
42915|   152k|        set_parents();
42916|   152k|        assert_invariant();
42917|   152k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE11set_parentsEv:
41299|  3.18M|    {
41300|       |#if JSON_DIAGNOSTICS
41301|       |        if (m_data.m_type == value_t::array)
41302|       |        {
41303|       |            for (auto& element : *m_data.m_value.array)
41304|       |            {
41305|       |                element.m_parent = this;
41306|       |            }
41307|       |        }
41308|       |        else if (m_data.m_type == value_t::object)
41309|       |        {
41310|       |            for (auto& element : *m_data.m_value.object)
41311|       |            {
41312|       |                element.second.m_parent = this;
41313|       |            }
41314|       |        }
41315|       |#endif
41316|  3.18M|    }
_ZN8nlohmann16json_abi_v3_12_06detail20check_container_sizeINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_22iterator_input_adapterIPKhSK_EEEESH_EEbRT_mPKcPT0_:
16469|   522k|{
16470|   522k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|  1.04M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 522k]
  |  |  |  Branch (1697:94): [True: 522k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 522k]
  |  |  ------------------
  ------------------
16471|      0|    {
16472|      0|        return container_too_large_error(sax, len, kind, ref);
16473|      0|    }
16474|   522k|    return true;
16475|   522k|}
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8max_sizeEv:
44948|   945k|    {
44949|   945k|        if (m_data.m_type == value_t::array)
  ------------------
  |  Branch (44949:13): [True: 829k, False: 115k]
  ------------------
44950|   829k|        {
44951|       |            // delegate call to array_t::max_size()
44952|   829k|            return m_data.m_value.array->max_size();
44953|   829k|        }
44954|       |
44955|   115k|        if (m_data.m_type == value_t::object)
  ------------------
  |  Branch (44955:13): [True: 115k, False: 0]
  ------------------
44956|   115k|        {
44957|       |            // delegate call to object_t::max_size()
44958|   115k|            return m_data.m_value.object->max_size();
44959|   115k|        }
44960|       |
44961|       |        // all other types have max_size() == size()
44962|      0|        return size();
44963|   115k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4sizeEv:
44908|  6.35k|    {
44909|  6.35k|        switch (m_data.m_type)
44910|  6.35k|        {
44911|      0|            case value_t::null:
  ------------------
  |  Branch (44911:13): [True: 0, False: 6.35k]
  ------------------
44912|      0|            {
44913|       |                // null values are empty
44914|      0|                return 0;
44915|      0|            }
44916|       |
44917|  5.45k|            case value_t::array:
  ------------------
  |  Branch (44917:13): [True: 5.45k, False: 892]
  ------------------
44918|  5.45k|            {
44919|       |                // delegate call to array_t::size()
44920|  5.45k|                return m_data.m_value.array->size();
44921|      0|            }
44922|       |
44923|    892|            case value_t::object:
  ------------------
  |  Branch (44923:13): [True: 892, False: 5.45k]
  ------------------
44924|    892|            {
44925|       |                // delegate call to object_t::size()
44926|    892|                return m_data.m_value.object->size();
44927|      0|            }
44928|       |
44929|      0|            case value_t::string:
  ------------------
  |  Branch (44929:13): [True: 0, False: 6.35k]
  ------------------
44930|      0|            case value_t::boolean:
  ------------------
  |  Branch (44930:13): [True: 0, False: 6.35k]
  ------------------
44931|      0|            case value_t::number_integer:
  ------------------
  |  Branch (44931:13): [True: 0, False: 6.35k]
  ------------------
44932|      0|            case value_t::number_unsigned:
  ------------------
  |  Branch (44932:13): [True: 0, False: 6.35k]
  ------------------
44933|      0|            case value_t::number_float:
  ------------------
  |  Branch (44933:13): [True: 0, False: 6.35k]
  ------------------
44934|      0|            case value_t::binary:
  ------------------
  |  Branch (44934:13): [True: 0, False: 6.35k]
  ------------------
44935|      0|            case value_t::discarded:
  ------------------
  |  Branch (44935:13): [True: 0, False: 6.35k]
  ------------------
44936|      0|            default:
  ------------------
  |  Branch (44936:13): [True: 0, False: 6.35k]
  ------------------
44937|      0|            {
44938|       |                // all other types have size 1
44939|      0|                return 1;
44940|      0|            }
44941|  6.35k|        }
44942|  6.35k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE11start_arrayEm:
17915|   460k|    {
17916|   460k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
17917|       |
17918|       |#if JSON_DIAGNOSTIC_POSITIONS
17919|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17920|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17921|       |#endif
17922|       |
17923|   460k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   460k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 460k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   460k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 460k, False: 0]
  ------------------
17929|   460k|        {
17930|   460k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   460k|        }
17932|       |
17933|   460k|        return true;
17934|   460k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20reserve_array_cappedINSt3__16vectorINS0_10basic_jsonINS3_3mapES4_NS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS4_IhNSA_IhEEEEvEENSA_ISG_EEEEEEDTcmcldtfp_7reservefp0_Ecvv_EERT_mNS1_12priority_tagILj1EEE:
16441|   829k|{
16442|   829k|    arr.reserve(count);
16443|   829k|}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state13reserve_countEm:
16700|   829k|    {
16701|   829k|        const std::size_t count = (std::min)(len, reserve_cap());
16702|   829k|        if (JSON_HEDLEY_LIKELY(count <= reserve_credit))
  ------------------
  |  | 1696|   829k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 808k, False: 20.9k]
  |  |  ------------------
  ------------------
16703|   808k|        {
16704|   808k|            reserve_credit -= count;
16705|   808k|            return count;
16706|   808k|        }
16707|  20.9k|        return reserve_count_slowly(count);
16708|   829k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11reserve_capEv:
16382|   829k|{
16383|   829k|    return 16384;
16384|   829k|}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state20reserve_count_slowlyEm:
16714|  20.9k|    {
16715|  20.9k|        constexpr std::size_t max_size = (std::numeric_limits<std::size_t>::max)();
16716|  20.9k|        if (input_position == nullptr)
  ------------------
  |  Branch (16716:13): [True: 0, False: 20.9k]
  ------------------
16717|      0|        {
16718|      0|            reserve_credit = max_size;
16719|      0|            return count;
16720|      0|        }
16721|       |
16722|       |        // refill the credit with 'reserved_elements_per_byte' for every
16723|       |        // character read since the last refill; it saturates instead of
16724|       |        // overflowing when size_t is 32 bits wide and a very large input has
16725|       |        // been read (the position goes back by up to two in BON8, which has
16726|       |        // no sizes)
16727|  20.9k|        const std::size_t position = *input_position;
16728|  20.9k|        if (position > credit_position)
  ------------------
  |  Branch (16728:13): [True: 20.9k, False: 0]
  ------------------
16729|  20.9k|        {
16730|  20.9k|            const std::size_t bytes = position - credit_position;
16731|  20.9k|            reserve_credit = bytes <= (max_size - reserve_credit) / reserved_elements_per_byte
  ------------------
  |  Branch (16731:30): [True: 20.9k, False: 0]
  ------------------
16732|  20.9k|                             ? reserve_credit + (reserved_elements_per_byte * bytes)
16733|  20.9k|                             : max_size;
16734|  20.9k|            credit_position = position;
16735|  20.9k|        }
16736|       |
16737|  20.9k|        count = (std::min)(count, reserve_credit);
16738|  20.9k|        reserve_credit -= count;
16739|  20.9k|        return count;
16740|  20.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15container_frameC2Embm:
19167|   522k|            : remaining(remaining_), type_marker(type_marker_), is_object(is_object_) {}
_ZN8nlohmann16json_abi_v3_12_06detail12unknown_sizeEv:
16376|  1.78M|{
16377|  1.78M|    return (std::numeric_limits<std::size_t>::max)();
16378|  1.78M|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15leave_containerEv:
19233|   426k|    {
19234|   426k|        const bool is_object = container_stack.back().is_object;
19235|   426k|        container_stack.pop_back();
19236|   426k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 45.1k, False: 380k]
  ------------------
19237|   426k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE10end_objectEv:
17901|  45.1k|    {
17902|  45.1k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  45.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 45.1k, False: 0]
  ------------------
17903|  45.1k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  45.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 45.1k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  45.1k|        ref_stack.back()->set_parents();
17910|  45.1k|        ref_stack.pop_back();
17911|  45.1k|        return true;
17912|  45.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE9end_arrayEv:
17937|   380k|    {
17938|   380k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|   380k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 380k, False: 0]
  ------------------
17939|   380k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|   380k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 380k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|   380k|        ref_stack.back()->set_parents();
17946|   380k|        ref_stack.pop_back();
17947|   380k|        return true;
17948|   380k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE12unexpect_eofEPKc:
23974|   170k|    {
23975|   170k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|   170k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 11.0k, False: 159k]
  |  |  ------------------
  ------------------
23976|  11.0k|        {
23977|  11.0k|            return report_eof(context);
23978|  11.0k|        }
23979|   159k|        return true;
23980|   170k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E14bulk_remainingEv:
10370|   285k|    {
10371|   285k|        return remaining_count();
10372|   285k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E9bulk_dataEv:
10364|   271k|    {
10365|   271k|        return &*current;
10366|   271k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E9bulk_skipEm:
10376|   213k|    {
10377|   213k|        std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(n));
10378|   213k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17check_string_utf8ERSC_PKc:
23811|   157k|    {
23812|   157k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 157k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|   157k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE3keyERSC_:
17890|   107k|    {
17891|   107k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|   107k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 107k, False: 0]
  ------------------
17892|   107k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|   107k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 107k, False: 0]
  ------------------
17893|       |
17894|       |        // add null at the given key and store the reference for later; the
17895|       |        // key is moved, as the lexer starts the next token with reset()
17896|   107k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|   107k|        return true;
17898|   107k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIdEEbRT_PKc:
23503|  2.43k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.43k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.43k|        chars_read += new_chars_read;
23508|  2.43k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.43k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 75, False: 2.35k]
  |  |  ------------------
  ------------------
23509|     75|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     75|            ++chars_read;
23512|     75|            static_cast<void>(report_eof(context));
23513|     75|            return false;
23514|     75|        }
23515|  2.35k|        return true;
23516|  2.43k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIdEEmPT_m:
10326|  2.43k|    {
10327|  2.43k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  2.43k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIdEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  2.43k|    {
10385|  2.43k|        const std::size_t wanted = count * sizeof(T);
10386|  2.43k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  2.43k|        const std::size_t copied = (std::min)(wanted, available);
10388|  2.43k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  2.43k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.39k, False: 39]
  |  |  ------------------
  ------------------
10389|  2.39k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  2.39k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  2.39k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 2.39k, False: 0]
  ------------------
10394|  2.39k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  2.39k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 2.39k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  2.39k|            std::memcpy(dest, &*current, copied);
10398|  2.39k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  2.39k|        }
10400|  2.43k|        return copied;
10401|  2.43k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapERd:
23535|  4.92k|    {
23536|  4.92k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  4.92k|        std::uint64_t bits{};
23538|  4.92k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  4.92k|        bits = byteswap(bits);
23540|  4.92k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  4.92k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10emit_floatIdEEbT_:
23682|  4.92k|    {
23683|  4.92k|        const auto result = static_cast<number_float_t>(number);
23684|  4.92k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  9.82k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.92k]
  |  |  |  Branch (1697:94): [True: 4.90k, False: 18]
  |  |  |  Branch (1697:94): [True: 0, False: 4.90k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  4.92k|        return sax->number_float(result, no_source);
23689|  4.92k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE16get_token_stringEv:
24091|  1.95k|    {
24092|  1.95k|        return hex_byte(static_cast<std::uint8_t>(current));
24093|  1.95k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12number_floatEdRKSC_:
17856|  16.4k|    {
17857|  16.4k|        handle_value(val);
17858|  16.4k|        return true;
17859|  16.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueIRdEEPSG_OT_:
17961|  16.4k|    {
17962|  16.4k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2.38k, False: 14.0k]
  ------------------
17963|  2.38k|        {
17964|  2.38k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  2.38k|            return &root;
17971|  2.38k|        }
17972|       |
17973|  14.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  14.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 12.7k, False: 1.35k]
  |  Branch (17973:9): [True: 1.35k, False: 0]
  |  Branch (17973:9): [True: 14.0k, False: 0]
  ------------------
17974|       |
17975|  14.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 12.7k, False: 1.35k]
  ------------------
17976|  12.7k|        {
17977|  12.7k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  12.7k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  12.7k|        }
17985|       |
17986|  1.35k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.35k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.35k, False: 0]
  ------------------
17987|  1.35k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.35k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.35k, False: 0]
  ------------------
17988|  1.35k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.35k|        return object_element;
17995|  1.35k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRddTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
42542|  29.5k|    {
42543|  29.5k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|  29.5k|        set_parents();
42545|  29.5k|        assert_invariant();
42546|  29.5k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerIdvE7to_jsonINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERdEEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8496|  29.5k|    {
 8497|  29.5k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|  29.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERdEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8440|  29.5k|    {
 8441|  29.5k|        return to_json(j, std::forward<T>(val));
 8442|  29.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEdTnNS4_9enable_ifIXsr3std17is_floating_pointIT0_EE5valueEiE4typeELi0EEEvRT_SI_:
 8128|  29.5k|{
 8129|  29.5k|    external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::number_float_t>(val));
 8130|  29.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE7EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_14number_float_tE:
 7918|  29.5k|    {
 7919|  29.5k|        j.replace_value(value_t::number_float, val);
 7920|  29.5k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE13replace_valueENS0_6detail7value_tERKNSE_10json_valueE:
41322|  1.00M|    {
41323|  1.00M|        m_data.m_value.destroy(m_data.m_type);
41324|  1.00M|        m_data.m_value = v;
41325|  1.00M|        m_data.m_type = t;
41326|  1.00M|        set_parents();
41327|  1.00M|        assert_invariant();
41328|  1.00M|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Ed:
40810|  29.5k|        json_value(number_float_t v) noexcept : number_float(v) {}
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIcEEmPT_m:
10326|  1.34k|    {
10327|  1.34k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIcEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.34k|    {
10385|  1.34k|        const std::size_t wanted = count * sizeof(T);
10386|  1.34k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.34k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.34k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.34k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 246, False: 1.10k]
  |  |  ------------------
  ------------------
10389|    246|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|    246|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|    246|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 246, False: 0]
  ------------------
10394|    246|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|    246|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 246, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|    246|            std::memcpy(dest, &*current, copied);
10398|    246|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|    246|        }
10400|  1.34k|        return copied;
10401|  1.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE6stringERSC_:
17862|  49.8k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  49.8k|        handle_value(std::move(val));
17866|  49.8k|        return true;
17867|  49.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueISC_EEPSG_OT_:
17961|  49.8k|    {
17962|  49.8k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2.55k, False: 47.3k]
  ------------------
17963|  2.55k|        {
17964|  2.55k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  2.55k|            return &root;
17971|  2.55k|        }
17972|       |
17973|  47.3k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  47.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 34.1k, False: 13.1k]
  |  Branch (17973:9): [True: 13.1k, False: 0]
  |  Branch (17973:9): [True: 47.3k, False: 0]
  ------------------
17974|       |
17975|  47.3k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 34.1k, False: 13.1k]
  ------------------
17976|  34.1k|        {
17977|  34.1k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  34.1k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  34.1k|        }
17985|       |
17986|  13.1k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  13.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 13.1k, False: 0]
  ------------------
17987|  13.1k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  13.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 13.1k, False: 0]
  ------------------
17988|  13.1k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  13.1k|        return object_element;
17995|  13.1k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ISA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_:
42542|  93.9k|    {
42543|  93.9k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|  93.9k|        set_parents();
42545|  93.9k|        assert_invariant();
42546|  93.9k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE7to_jsonINS0_10basic_jsonINS2_3mapENS2_6vectorES8_blmdS6_S1_NSD_IhNS6_IhEEEEvEES8_EEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 8496|  93.9k|    {
 8497|  93.9k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|  93.9k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEESD_EEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 8440|  93.9k|    {
 8441|  93.9k|        return to_json(j, std::forward<T>(val));
 8442|  93.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEvRT_ONSH_8string_tE:
 8121|  93.9k|{
 8122|  93.9k|    external_constructor<value_t::string>::construct(j, std::move(s));
 8123|  93.9k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE3EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_ONSK_8string_tE:
 7880|  93.9k|    {
 7881|  93.9k|        const typename BasicJsonType::json_value value(std::move(s));
 7882|  93.9k|        j.replace_value(value_t::string, value);
 7883|  93.9k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2EOSA_:
40901|  93.9k|        json_value(string_t&& value) : string(create<string_t>(std::move(value))) {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createISA_JSA_EEEPT_DpOT0_:
40734|  93.9k|    {
40735|  93.9k|        AllocatorType<T> alloc;
40736|  93.9k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|  93.9k|        auto deleter = [&](T * obj)
40739|  93.9k|        {
40740|  93.9k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|  93.9k|        };
40742|  93.9k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|  93.9k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|  93.9k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|  93.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 93.9k, False: 0]
  ------------------
40745|  93.9k|        return obj.release();
40746|  93.9k|    }
_ZN8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEEC2Ev:
 8534|   115k|        : container_type()
 8535|   115k|    {}
_ZN8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEE11set_subtypeEm:
 8575|  24.6k|    {
 8576|  24.6k|        m_subtype = subtype_;
 8577|  24.6k|        m_has_subtype = true;
 8578|  24.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_binaryIiEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  10.6k|    {
23868|  10.6k|        return get_bytes(len, "binary", result);
23869|  10.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesIiNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  10.6k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  10.6k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  10.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 10.6k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  10.6k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  21.1k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 10.6k, False: 10.4k]
  ------------------
23906|  10.6k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  10.6k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 10.6k, False: 0]
  ------------------
23910|  10.6k|                                       ? static_cast<std::size_t>(len)
23911|  10.6k|                                       : chunk_size;
23912|  10.6k|            const std::size_t old_size = result.size();
23913|  10.6k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  10.6k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  10.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 10.6k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  10.6k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  10.6k|            chars_read += bytes_read;
23921|  10.6k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  10.6k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 135, False: 10.4k]
  |  |  ------------------
  ------------------
23922|    135|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    135|                result.resize(old_size + bytes_read);
23927|    135|                ++chars_read;
23928|    135|                current = char_traits<char_type>::eof();
23929|    135|                return unexpect_eof(context);
23930|    135|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  10.4k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  10.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 10.4k, False: 0]
  ------------------
23933|  10.4k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  10.4k|        }
23935|  10.4k|        return true;
23936|  10.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockIiNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  10.6k|    {
23965|  10.6k|        return false;
23966|  10.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIhEEmPT_m:
10326|  71.4k|    {
10327|  71.4k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  71.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIhEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  71.4k|    {
10385|  71.4k|        const std::size_t wanted = count * sizeof(T);
10386|  71.4k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  71.4k|        const std::size_t copied = (std::min)(wanted, available);
10388|  71.4k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  71.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 70.8k, False: 579]
  |  |  ------------------
  ------------------
10389|  70.8k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  70.8k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  70.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 70.8k, False: 0]
  ------------------
10394|  70.8k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  70.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 70.8k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  70.8k|            std::memcpy(dest, &*current, copied);
10398|  70.8k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  70.8k|        }
10400|  71.4k|        return copied;
10401|  71.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|  62.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  62.9k|        handle_value(std::move(val));
17874|  62.9k|        return true;
17875|  62.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueINS0_27byte_container_with_subtypeISF_EEEEPSG_OT_:
17961|  62.9k|    {
17962|  62.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 523, False: 62.4k]
  ------------------
17963|    523|        {
17964|    523|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    523|            return &root;
17971|    523|        }
17972|       |
17973|  62.4k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  62.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 57.5k, False: 4.81k]
  |  Branch (17973:9): [True: 4.81k, False: 0]
  |  Branch (17973:9): [True: 62.4k, False: 0]
  ------------------
17974|       |
17975|  62.4k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 57.5k, False: 4.81k]
  ------------------
17976|  57.5k|        {
17977|  57.5k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  57.5k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  57.5k|        }
17985|       |
17986|  4.81k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.81k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.81k, False: 0]
  ------------------
17987|  4.81k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.81k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.81k, False: 0]
  ------------------
17988|  4.81k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.81k|        return object_element;
17995|  4.81k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2INS0_27byte_container_with_subtypeISD_EESH_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_:
42542|   113k|    {
42543|   113k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   113k|        set_parents();
42545|   113k|        assert_invariant();
42546|   113k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerINS0_27byte_container_with_subtypeINSt3__16vectorIhNS3_9allocatorIhEEEEEEvE7to_jsonINS0_10basic_jsonINS3_3mapES4_NS3_12basic_stringIcNS3_11char_traitsIcEENS5_IcEEEEblmdS5_S1_S7_vEES8_EEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSK_:
 8496|   113k|    {
 8497|   113k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   113k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS0_27byte_container_with_subtypeISG_EEEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSK_:
 8440|   113k|    {
 8441|   113k|        return to_json(j, std::forward<T>(val));
 8442|   113k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEvRT_RKNSH_8binary_tE:
 8261|   113k|{
 8262|   113k|    external_constructor<value_t::binary>::construct(j, bin);
 8263|   113k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE8EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_RKNSK_8binary_tE:
 7900|   113k|    {
 7901|   113k|        const typename BasicJsonType::json_value value(b);
 7902|   113k|        j.replace_value(value_t::binary, value);
 7903|   113k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ERKNS0_27byte_container_with_subtypeISD_EE:
40922|   113k|        json_value(const binary_t& value) : binary(create<binary_t>(value)) {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS0_27byte_container_with_subtypeISD_EEJRKSH_EEEPT_DpOT0_:
40734|   113k|    {
40735|   113k|        AllocatorType<T> alloc;
40736|   113k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   113k|        auto deleter = [&](T * obj)
40739|   113k|        {
40740|   113k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   113k|        };
40742|   113k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   113k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   113k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   113k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 113k, False: 0]
  ------------------
40745|   113k|        return obj.release();
40746|   113k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIhLb0EEEbRT_:
23596|  53.9k|    {
23597|       |        // read in the original format
23598|       |
23599|  53.9k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  53.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 42, False: 53.9k]
  |  |  ------------------
  ------------------
23600|     42|        {
23601|     42|            return false;
23602|     42|        }
23603|  53.9k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 53.8k, False: 84]
  |  Branch (23603:34): [Folded, False: 53.8k]
  |  Branch (23603:57): [True: 0, False: 53.8k]
  ------------------
23604|  53.8k|        {
23605|  53.8k|            byte_swap(result);
23606|  53.8k|        }
23607|  53.9k|        return true;
23608|  53.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIhEEbRT_PKc:
23503|  53.9k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  53.9k|        auto new_chars_read = ia.get_elements(&dest);
23507|  53.9k|        chars_read += new_chars_read;
23508|  53.9k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  53.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 126, False: 53.8k]
  |  |  ------------------
  ------------------
23509|    126|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    126|            ++chars_read;
23512|    126|            static_cast<void>(report_eof(context));
23513|    126|            return false;
23514|    126|        }
23515|  53.8k|        return true;
23516|  53.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIhEEvRT_:
23555|  53.8k|    {
23556|  53.8k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  53.8k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  53.8k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 53.8k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  53.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE7booleanEb:
17838|  17.3k|    {
17839|  17.3k|        handle_value(val);
17840|  17.3k|        return true;
17841|  17.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueIRbEEPSG_OT_:
17961|  17.3k|    {
17962|  17.3k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 14, False: 17.3k]
  ------------------
17963|     14|        {
17964|     14|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|     14|            return &root;
17971|     14|        }
17972|       |
17973|  17.3k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  17.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 12.9k, False: 4.39k]
  |  Branch (17973:9): [True: 4.39k, False: 0]
  |  Branch (17973:9): [True: 17.3k, False: 0]
  ------------------
17974|       |
17975|  17.3k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 12.9k, False: 4.39k]
  ------------------
17976|  12.9k|        {
17977|  12.9k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  12.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  12.9k|        }
17985|       |
17986|  4.39k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.39k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.39k, False: 0]
  ------------------
17987|  4.39k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.39k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.39k, False: 0]
  ------------------
17988|  4.39k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.39k|        return object_element;
17995|  4.39k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRbbTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
42542|  33.1k|    {
42543|  33.1k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|  33.1k|        set_parents();
42545|  33.1k|        assert_invariant();
42546|  33.1k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerIbvE7to_jsonINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERbEEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8496|  33.1k|    {
 8497|  33.1k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|  33.1k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERbEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8440|  33.1k|    {
 8441|  33.1k|        return to_json(j, std::forward<T>(val));
 8442|  33.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEbTnNS4_9enable_ifIXsr3std7is_sameIT0_NT_9boolean_tEEE5valueEiE4typeELi0EEEvRSJ_SI_:
 8095|  33.1k|{
 8096|  33.1k|    external_constructor<value_t::boolean>::construct(j, b);
 8097|  33.1k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE4EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_9boolean_tE:
 7863|  33.1k|    {
 7864|  33.1k|        j.replace_value(value_t::boolean, b);
 7865|  33.1k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Eb:
40804|  33.1k|        json_value(boolean_t v) noexcept : boolean(v) {}
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE4nullEv:
17832|  14.7k|    {
17833|  14.7k|        handle_value(nullptr);
17834|  14.7k|        return true;
17835|  14.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueIDnEEPSG_OT_:
17961|  14.7k|    {
17962|  14.7k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 7, False: 14.7k]
  ------------------
17963|      7|        {
17964|      7|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      7|            return &root;
17971|      7|        }
17972|       |
17973|  14.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  14.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 10.3k, False: 4.41k]
  |  Branch (17973:9): [True: 4.41k, False: 0]
  |  Branch (17973:9): [True: 14.7k, False: 0]
  ------------------
17974|       |
17975|  14.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 10.3k, False: 4.41k]
  ------------------
17976|  10.3k|        {
17977|  10.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  10.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  10.3k|        }
17985|       |
17986|  4.41k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.41k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.41k, False: 0]
  ------------------
17987|  4.41k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.41k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.41k, False: 0]
  ------------------
17988|  4.41k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.41k|        return object_element;
17995|  4.41k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE11emit_signedIiEEbT_:
23628|  2.18k|    {
23629|  2.18k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  2.18k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.18k, False: 0]
  |  |  ------------------
  ------------------
23630|  2.18k|        {
23631|  2.18k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  2.18k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIliEEbT0_:
 5316|  4.13k|{
 5317|  4.13k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.13k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IliLb1EvE4testEi:
 5309|  4.13k|    {
 5310|  4.13k|        return true;
 5311|  4.13k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE14number_integerEl:
17844|  98.6k|    {
17845|  98.6k|        handle_value(val);
17846|  98.6k|        return true;
17847|  98.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueIRlEEPSG_OT_:
17961|  98.6k|    {
17962|  98.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 1.42k, False: 97.2k]
  ------------------
17963|  1.42k|        {
17964|  1.42k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  1.42k|            return &root;
17971|  1.42k|        }
17972|       |
17973|  97.2k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  97.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 87.7k, False: 9.44k]
  |  Branch (17973:9): [True: 9.44k, False: 0]
  |  Branch (17973:9): [True: 97.2k, False: 0]
  ------------------
17974|       |
17975|  97.2k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 87.7k, False: 9.44k]
  ------------------
17976|  87.7k|        {
17977|  87.7k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  87.7k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  87.7k|        }
17985|       |
17986|  9.44k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  9.44k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 9.44k, False: 0]
  ------------------
17987|  9.44k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  9.44k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 9.44k, False: 0]
  ------------------
17988|  9.44k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  9.44k|        return object_element;
17995|  9.44k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRllTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
42542|   189k|    {
42543|   189k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   189k|        set_parents();
42545|   189k|        assert_invariant();
42546|   189k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerIlvE7to_jsonINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERlEEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8496|   189k|    {
 8497|   189k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   189k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERlEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8440|   189k|    {
 8441|   189k|        return to_json(j, std::forward<T>(val));
 8442|   189k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEElTnNS4_9enable_ifIXsr33is_compatible_number_integer_typeIT_T0_EE5valueEiE4typeELi0EEEvRSI_SJ_:
 8142|   189k|{
 8143|   189k|    external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::number_integer_t>(val));
 8144|   189k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE5EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_16number_integer_tE:
 7938|   189k|    {
 7939|   189k|        j.replace_value(value_t::number_integer, val);
 7940|   189k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2El:
40806|   189k|        json_value(number_integer_t v) noexcept : number_integer(v) {}
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE15number_unsignedEm:
17850|   285k|    {
17851|   285k|        handle_value(val);
17852|   285k|        return true;
17853|   285k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEE12handle_valueIRmEEPSG_OT_:
17961|   285k|    {
17962|   285k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2.15k, False: 283k]
  ------------------
17963|  2.15k|        {
17964|  2.15k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  2.15k|            return &root;
17971|  2.15k|        }
17972|       |
17973|   283k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   283k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 256k, False: 26.5k]
  |  Branch (17973:9): [True: 26.5k, False: 0]
  |  Branch (17973:9): [True: 283k, False: 0]
  ------------------
17974|       |
17975|   283k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 256k, False: 26.5k]
  ------------------
17976|   256k|        {
17977|   256k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|   256k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   256k|        }
17985|       |
17986|  26.5k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  26.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 26.5k, False: 0]
  ------------------
17987|  26.5k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  26.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 26.5k, False: 0]
  ------------------
17988|  26.5k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  26.5k|        return object_element;
17995|  26.5k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRmmTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
42542|   546k|    {
42543|   546k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   546k|        set_parents();
42545|   546k|        assert_invariant();
42546|   546k|    }
_ZN8nlohmann16json_abi_v3_12_014adl_serializerImvE7to_jsonINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERmEEDTcmclL_ZNS0_12_GLOBAL__N_17to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8496|   546k|    {
 8497|   546k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   546k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail10to_json_fnclINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERmEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 8440|   546k|    {
 8441|   546k|        return to_json(j, std::forward<T>(val));
 8442|   546k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEmTnNS4_9enable_ifIXsr26is_compatible_integer_typeINS4_11conditionalIXsr3std7is_sameINT_16number_integer_tENSJ_17number_unsigned_tEEE5valueENS1_27same_as_number_integer_typeESL_E4typeET0_EE5valueEiE4typeELi0EEEvRSJ_SP_:
 8135|   546k|{
 8136|   546k|    external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::number_unsigned_t>(val));
 8137|   546k|}
_ZN8nlohmann16json_abi_v3_12_06detail20external_constructorILNS1_7value_tE6EE9constructINS0_10basic_jsonINSt3__13mapENS7_6vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_17number_unsigned_tE:
 7928|   546k|    {
 7929|   546k|        j.replace_value(value_t::number_unsigned, val);
 7930|   546k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Em:
40808|   546k|        json_value(detail::number_unsigned_overload_type<NumberIntegerType, NumberUnsignedType> v) noexcept : number_unsigned(v) {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIlEEbRT_PKc:
23503|  1.93k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.93k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.93k|        chars_read += new_chars_read;
23508|  1.93k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.93k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 75, False: 1.86k]
  |  |  ------------------
  ------------------
23509|     75|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     75|            ++chars_read;
23512|     75|            static_cast<void>(report_eof(context));
23513|     75|            return false;
23514|     75|        }
23515|  1.86k|        return true;
23516|  1.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIlEEmPT_m:
10326|  1.93k|    {
10327|  1.93k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIlEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.93k|    {
10385|  1.93k|        const std::size_t wanted = count * sizeof(T);
10386|  1.93k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.93k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.93k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.93k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.89k, False: 39]
  |  |  ------------------
  ------------------
10389|  1.89k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  1.89k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  1.89k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 1.89k, False: 0]
  ------------------
10394|  1.89k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  1.89k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 1.89k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  1.89k|            std::memcpy(dest, &*current, copied);
10398|  1.89k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  1.89k|        }
10400|  1.93k|        return copied;
10401|  1.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIlEEvRT_:
23555|  3.23k|    {
23556|  3.23k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  3.23k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  16.1k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 12.9k, False: 3.23k]
  ------------------
23572|  12.9k|            {
23573|  12.9k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  12.9k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  3.23k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE11emit_signedIlEEbT_:
23628|  3.23k|    {
23629|  3.23k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  3.23k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 3.23k, False: 0]
  |  |  ------------------
  ------------------
23630|  3.23k|        {
23631|  3.23k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  3.23k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIllEEbT0_:
 5316|  6.03k|{
 5317|  6.03k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  6.03k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IllLb1EvE4testEl:
 5309|  6.03k|    {
 5310|  6.03k|        return true;
 5311|  6.03k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toImEEbRT_PKc:
23503|  1.86k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.86k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.86k|        chars_read += new_chars_read;
23508|  1.86k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.86k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 69, False: 1.79k]
  |  |  ------------------
  ------------------
23509|     69|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     69|            ++chars_read;
23512|     69|            static_cast<void>(report_eof(context));
23513|     69|            return false;
23514|     69|        }
23515|  1.79k|        return true;
23516|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsImEEmPT_m:
10326|  1.86k|    {
10327|  1.86k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implImEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.86k|    {
10385|  1.86k|        const std::size_t wanted = count * sizeof(T);
10386|  1.86k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.86k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.86k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.86k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.82k, False: 36]
  |  |  ------------------
  ------------------
10389|  1.82k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  1.82k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  1.82k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 1.82k, False: 0]
  ------------------
10394|  1.82k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  1.82k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 1.82k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  1.82k|            std::memcpy(dest, &*current, copied);
10398|  1.82k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  1.82k|        }
10400|  1.86k|        return copied;
10401|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapImEEvRT_:
23555|  3.09k|    {
23556|  3.09k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  3.09k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  15.4k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 12.3k, False: 3.09k]
  ------------------
23572|  12.3k|            {
23573|  12.3k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  12.3k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE13emit_unsignedImEEbT_:
23656|  3.09k|    {
23657|  3.09k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  3.09k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 3.09k, False: 0]
  |  |  ------------------
  ------------------
23658|  3.09k|        {
23659|  3.09k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  3.09k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImmEEbT0_:
 5316|  11.1k|{
 5317|  11.1k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  11.1k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImmLb1EvE4testEm:
 5309|  11.1k|    {
 5310|  11.1k|        return true;
 5311|  11.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE25leave_container_and_checkERb:
19250|   426k|    {
19251|   426k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   426k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 426k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   426k|        value_complete = container_stack.empty();
19256|   426k|        return true;
19257|   426k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberItLb0EEEbRT_:
23596|  20.3k|    {
23597|       |        // read in the original format
23598|       |
23599|  20.3k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  20.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 20.2k]
  |  |  ------------------
  ------------------
23600|     67|        {
23601|     67|            return false;
23602|     67|        }
23603|  20.2k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 20.1k, False: 134]
  |  Branch (23603:34): [Folded, False: 20.1k]
  |  Branch (23603:57): [True: 0, False: 20.1k]
  ------------------
23604|  20.1k|        {
23605|  20.1k|            byte_swap(result);
23606|  20.1k|        }
23607|  20.2k|        return true;
23608|  20.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toItEEbRT_PKc:
23503|  20.3k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  20.3k|        auto new_chars_read = ia.get_elements(&dest);
23507|  20.3k|        chars_read += new_chars_read;
23508|  20.3k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  20.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 201, False: 20.1k]
  |  |  ------------------
  ------------------
23509|    201|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    201|            ++chars_read;
23512|    201|            static_cast<void>(report_eof(context));
23513|    201|            return false;
23514|    201|        }
23515|  20.1k|        return true;
23516|  20.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsItEEmPT_m:
10326|  20.3k|    {
10327|  20.3k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  20.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implItEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  20.3k|    {
10385|  20.3k|        const std::size_t wanted = count * sizeof(T);
10386|  20.3k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  20.3k|        const std::size_t copied = (std::min)(wanted, available);
10388|  20.3k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  20.3k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 20.1k, False: 117]
  |  |  ------------------
  ------------------
10389|  20.1k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  20.1k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  20.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 20.1k, False: 0]
  ------------------
10394|  20.1k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  20.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 20.1k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  20.1k|            std::memcpy(dest, &*current, copied);
10398|  20.1k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  20.1k|        }
10400|  20.3k|        return copied;
10401|  20.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapItEEvRT_:
23555|  21.4k|    {
23556|  21.4k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  21.4k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  42.8k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 21.4k, False: 21.4k]
  ------------------
23572|  21.4k|            {
23573|  21.4k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  21.4k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  21.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIjLb0EEEbRT_:
23596|  7.87k|    {
23597|       |        // read in the original format
23598|       |
23599|  7.87k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  7.87k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 74, False: 7.80k]
  |  |  ------------------
  ------------------
23600|     74|        {
23601|     74|            return false;
23602|     74|        }
23603|  7.80k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 7.65k, False: 148]
  |  Branch (23603:34): [Folded, False: 7.65k]
  |  Branch (23603:57): [True: 0, False: 7.65k]
  ------------------
23604|  7.65k|        {
23605|  7.65k|            byte_swap(result);
23606|  7.65k|        }
23607|  7.80k|        return true;
23608|  7.87k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIjEEbRT_PKc:
23503|  7.87k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  7.87k|        auto new_chars_read = ia.get_elements(&dest);
23507|  7.87k|        chars_read += new_chars_read;
23508|  7.87k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  7.87k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 222, False: 7.65k]
  |  |  ------------------
  ------------------
23509|    222|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    222|            ++chars_read;
23512|    222|            static_cast<void>(report_eof(context));
23513|    222|            return false;
23514|    222|        }
23515|  7.65k|        return true;
23516|  7.87k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIjEEmPT_m:
10326|  7.87k|    {
10327|  7.87k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  7.87k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIjEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  7.87k|    {
10385|  7.87k|        const std::size_t wanted = count * sizeof(T);
10386|  7.87k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  7.87k|        const std::size_t copied = (std::min)(wanted, available);
10388|  7.87k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  7.87k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 7.76k, False: 117]
  |  |  ------------------
  ------------------
10389|  7.76k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  7.76k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  7.76k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 7.76k, False: 0]
  ------------------
10394|  7.76k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  7.76k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 7.76k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  7.76k|            std::memcpy(dest, &*current, copied);
10398|  7.76k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  7.76k|        }
10400|  7.87k|        return copied;
10401|  7.87k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIjEEvRT_:
23555|  8.35k|    {
23556|  8.35k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  8.35k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  25.0k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 16.7k, False: 8.35k]
  ------------------
23572|  16.7k|            {
23573|  16.7k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  16.7k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  8.35k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberImLb0EEEbRT_:
23596|  1.86k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.86k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.86k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 1.83k]
  |  |  ------------------
  ------------------
23600|     23|        {
23601|     23|            return false;
23602|     23|        }
23603|  1.83k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.79k, False: 46]
  |  Branch (23603:34): [Folded, False: 1.79k]
  |  Branch (23603:57): [True: 0, False: 1.79k]
  ------------------
23604|  1.79k|        {
23605|  1.79k|            byte_swap(result);
23606|  1.79k|        }
23607|  1.83k|        return true;
23608|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA16_cNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|  1.93k|{
 5442|  1.93k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  1.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA16_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  1.93k|{
 5501|  1.93k|    out.append(std::forward<Arg>(arg));
 5502|  1.93k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA16_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  1.93k|{
 5501|  1.93k|    out.append(std::forward<Arg>(arg));
 5502|  1.93k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_stringIjEEbT_RSC_:
23767|   150k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|   150k|        return get_bytes(len, "string", result);
23778|   150k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|   150k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|   150k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|   150k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 60.2k, False: 90.2k]
  ------------------
23898|  60.2k|        {
23899|  60.2k|            return true;
23900|  60.2k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  90.2k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  90.2k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.02k, False: 89.2k]
  ------------------
23906|  1.02k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.02k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 867, False: 159]
  ------------------
23910|  1.02k|                                       ? static_cast<std::size_t>(len)
23911|  1.02k|                                       : chunk_size;
23912|  1.02k|            const std::size_t old_size = result.size();
23913|  1.02k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  1.02k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.02k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.02k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.02k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.02k|            chars_read += bytes_read;
23921|  1.02k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1.02k, False: 0]
  |  |  ------------------
  ------------------
23922|  1.02k|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|  1.02k|                result.resize(old_size + bytes_read);
23927|  1.02k|                ++chars_read;
23928|  1.02k|                current = char_traits<char_type>::eof();
23929|  1.02k|                return unexpect_eof(context);
23930|  1.02k|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  89.2k|        return true;
23936|  90.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockIjEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|   150k|    {
23943|   150k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 89.2k, False: 61.3k]
  ------------------
23944|  89.2k|        {
23945|  89.2k|            return false;
23946|  89.2k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|  61.3k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  61.3k|        const std::size_t remaining = ia.bulk_remaining();
23951|  61.3k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 1.02k, False: 60.2k]
  ------------------
23952|  1.02k|        {
23953|  1.02k|            return false; // (the loop reports the premature end)
23954|  1.02k|        }
23955|  60.2k|        const auto n = static_cast<std::size_t>(ulen);
23956|  60.2k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  60.2k|        ia.bulk_skip(n);
23958|  60.2k|        chars_read += n;
23959|  60.2k|        return true;
23960|  61.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  5.71k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  5.71k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  5.71k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 2.35k, False: 3.36k]
  ------------------
23898|  2.35k|        {
23899|  2.35k|            return true;
23900|  2.35k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  3.36k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  3.36k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 120, False: 3.24k]
  ------------------
23906|    120|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    120|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 120, False: 0]
  ------------------
23910|    120|                                       ? static_cast<std::size_t>(len)
23911|    120|                                       : chunk_size;
23912|    120|            const std::size_t old_size = result.size();
23913|    120|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    120|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    120|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 120, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    120|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    120|            chars_read += bytes_read;
23921|    120|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    120|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 120, False: 0]
  |  |  ------------------
  ------------------
23922|    120|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    120|                result.resize(old_size + bytes_read);
23927|    120|                ++chars_read;
23928|    120|                current = char_traits<char_type>::eof();
23929|    120|                return unexpect_eof(context);
23930|    120|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  3.24k|        return true;
23936|  3.36k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockIhEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  5.71k|    {
23943|  5.71k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 3.24k, False: 2.47k]
  ------------------
23944|  3.24k|        {
23945|  3.24k|            return false;
23946|  3.24k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|  2.47k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  2.47k|        const std::size_t remaining = ia.bulk_remaining();
23951|  2.47k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 120, False: 2.35k]
  ------------------
23952|    120|        {
23953|    120|            return false; // (the loop reports the premature end)
23954|    120|        }
23955|  2.35k|        const auto n = static_cast<std::size_t>(ulen);
23956|  2.35k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  2.35k|        ia.bulk_skip(n);
23958|  2.35k|        chars_read += n;
23959|  2.35k|        return true;
23960|  2.47k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|  2.73k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  2.73k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  2.73k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 1.21k, False: 1.52k]
  ------------------
23898|  1.21k|        {
23899|  1.21k|            return true;
23900|  1.21k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.52k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.52k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 201, False: 1.32k]
  ------------------
23906|    201|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    201|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 147, False: 54]
  ------------------
23910|    201|                                       ? static_cast<std::size_t>(len)
23911|    201|                                       : chunk_size;
23912|    201|            const std::size_t old_size = result.size();
23913|    201|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    201|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    201|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 201, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    201|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    201|            chars_read += bytes_read;
23921|    201|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    201|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 201, False: 0]
  |  |  ------------------
  ------------------
23922|    201|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    201|                result.resize(old_size + bytes_read);
23927|    201|                ++chars_read;
23928|    201|                current = char_traits<char_type>::eof();
23929|    201|                return unexpect_eof(context);
23930|    201|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  1.32k|        return true;
23936|  1.52k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockItEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  2.73k|    {
23943|  2.73k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 1.32k, False: 1.41k]
  ------------------
23944|  1.32k|        {
23945|  1.32k|            return false;
23946|  1.32k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|  1.41k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  1.41k|        const std::size_t remaining = ia.bulk_remaining();
23951|  1.41k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 201, False: 1.21k]
  ------------------
23952|    201|        {
23953|    201|            return false; // (the loop reports the premature end)
23954|    201|        }
23955|  1.21k|        const auto n = static_cast<std::size_t>(ulen);
23956|  1.21k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  1.21k|        ia.bulk_skip(n);
23958|  1.21k|        chars_read += n;
23959|  1.21k|        return true;
23960|  1.41k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE20unsupported_key_typeEPKc:
20159|    120|    {
20160|    120|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|    120|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE13emit_unsignedIhEEbT_:
23656|  2.94k|    {
23657|  2.94k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  2.94k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.94k, False: 0]
  |  |  ------------------
  ------------------
23658|  2.94k|        {
23659|  2.94k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  2.94k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  2.94k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImhEEbT0_:
 5316|  5.78k|{
 5317|  5.78k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  5.78k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImhLb0EvE4testEh:
 5300|  5.78k|    {
 5301|  5.78k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  5.78k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImhLb0ELb0EE4testEh:
 5254|  5.78k|    {
 5255|  5.78k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  5.78k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  5.78k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE13emit_unsignedItEEbT_:
23656|  2.28k|    {
23657|  2.28k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  2.28k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.28k, False: 0]
  |  |  ------------------
  ------------------
23658|  2.28k|        {
23659|  2.28k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  2.28k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  2.28k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImtEEbT0_:
 5316|  4.38k|{
 5317|  4.38k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.38k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImtLb0EvE4testEt:
 5300|  4.38k|    {
 5301|  4.38k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  4.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImtLb0ELb0EE4testEt:
 5254|  4.38k|    {
 5255|  4.38k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  4.38k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  4.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE13emit_unsignedIjEEbT_:
23656|  1.51k|    {
23657|  1.51k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  1.51k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.51k, False: 0]
  |  |  ------------------
  ------------------
23658|  1.51k|        {
23659|  1.51k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  1.51k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  1.51k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImjEEbT0_:
 5316|  2.74k|{
 5317|  2.74k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  2.74k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImjLb0EvE4testEj:
 5300|  2.74k|    {
 5301|  2.74k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  2.74k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImjLb0ELb0EE4testEj:
 5254|  2.74k|    {
 5255|  2.74k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  2.74k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  2.74k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  2.59k|    {
23868|  2.59k|        return get_bytes(len, "binary", result);
23869|  2.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  2.59k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  2.59k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  2.59k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.59k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.59k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  3.05k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 777, False: 2.27k]
  ------------------
23906|    777|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    777|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 579, False: 198]
  ------------------
23910|    777|                                       ? static_cast<std::size_t>(len)
23911|    777|                                       : chunk_size;
23912|    777|            const std::size_t old_size = result.size();
23913|    777|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    777|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    777|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 777, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    777|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    777|            chars_read += bytes_read;
23921|    777|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    777|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 315, False: 462]
  |  |  ------------------
  ------------------
23922|    315|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    315|                result.resize(old_size + bytes_read);
23927|    315|                ++chars_read;
23928|    315|                current = char_traits<char_type>::eof();
23929|    315|                return unexpect_eof(context);
23930|    315|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    462|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    462|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 462, False: 0]
  ------------------
23933|    462|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    462|        }
23935|  2.27k|        return true;
23936|  2.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  2.59k|    {
23965|  2.59k|        return false;
23966|  2.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  46.5k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  46.5k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  46.5k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 46.5k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  46.5k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  51.6k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 5.14k, False: 46.5k]
  ------------------
23906|  5.14k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  5.14k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 5.14k, False: 0]
  ------------------
23910|  5.14k|                                       ? static_cast<std::size_t>(len)
23911|  5.14k|                                       : chunk_size;
23912|  5.14k|            const std::size_t old_size = result.size();
23913|  5.14k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  5.14k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  5.14k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 5.14k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  5.14k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  5.14k|            chars_read += bytes_read;
23921|  5.14k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  5.14k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 96, False: 5.04k]
  |  |  ------------------
  ------------------
23922|     96|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     96|                result.resize(old_size + bytes_read);
23927|     96|                ++chars_read;
23928|     96|                current = char_traits<char_type>::eof();
23929|     96|                return unexpect_eof(context);
23930|     96|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  5.04k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  5.04k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 5.04k, False: 0]
  ------------------
23933|  5.04k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  5.04k|        }
23935|  46.5k|        return true;
23936|  46.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockIhNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  46.5k|    {
23965|  46.5k|        return false;
23966|  46.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  3.84k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  3.84k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  3.84k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 3.84k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  3.84k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  4.64k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 979, False: 3.67k]
  ------------------
23906|    979|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    979|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 913, False: 66]
  ------------------
23910|    979|                                       ? static_cast<std::size_t>(len)
23911|    979|                                       : chunk_size;
23912|    979|            const std::size_t old_size = result.size();
23913|    979|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    979|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    979|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 979, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    979|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    979|            chars_read += bytes_read;
23921|    979|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    979|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 177, False: 802]
  |  |  ------------------
  ------------------
23922|    177|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    177|                result.resize(old_size + bytes_read);
23927|    177|                ++chars_read;
23928|    177|                current = char_traits<char_type>::eof();
23929|    177|                return unexpect_eof(context);
23930|    177|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    802|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    802|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 802, False: 0]
  ------------------
23933|    802|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    802|        }
23935|  3.67k|        return true;
23936|  3.84k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE17append_from_blockItNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  3.84k|    {
23965|  3.84k|        return false;
23966|  3.84k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE12bulk_advanceEmh:
20689|   149k|    {
20690|   149k|        ia.bulk_skip(size);
20691|   149k|        chars_read += size;
20692|   149k|        current = head;
20693|   149k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianItEET_SJ_:
20670|  1.32k|    {
20671|  1.32k|        NumberType result{};
20672|  1.32k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.32k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.32k, False: 0]
  ------------------
20674|  1.32k|        {
20675|  1.32k|            byte_swap(result);
20676|  1.32k|        }
20677|  1.32k|        return result;
20678|  1.32k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIjEET_SJ_:
20670|    702|    {
20671|    702|        NumberType result{};
20672|    702|        std::memcpy(&result, data, sizeof(NumberType));
20673|    702|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 702, False: 0]
  ------------------
20674|    702|        {
20675|    702|            byte_swap(result);
20676|    702|        }
20677|    702|        return result;
20678|    702|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianImEET_SJ_:
20670|  1.29k|    {
20671|  1.29k|        NumberType result{};
20672|  1.29k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.29k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.29k, False: 0]
  ------------------
20674|  1.29k|        {
20675|  1.29k|            byte_swap(result);
20676|  1.29k|        }
20677|  1.29k|        return result;
20678|  1.29k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10emit_floatIfEEbT_:
23682|  11.5k|    {
23683|  11.5k|        const auto result = static_cast<number_float_t>(number);
23684|  11.5k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  22.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 11.5k]
  |  |  |  Branch (1697:94): [True: 10.5k, False: 929]
  |  |  |  Branch (1697:94): [True: 0, False: 10.5k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  11.5k|        return sax->number_float(result, no_source);
23689|  11.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIfEET_SJ_:
20670|  6.56k|    {
20671|  6.56k|        NumberType result{};
20672|  6.56k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  6.56k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 6.56k, False: 0]
  ------------------
20674|  6.56k|        {
20675|  6.56k|            byte_swap(result);
20676|  6.56k|        }
20677|  6.56k|        return result;
20678|  6.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapERf:
23545|  11.5k|    {
23546|  11.5k|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|  11.5k|        std::uint32_t bits{};
23548|  11.5k|        std::memcpy(&bits, &number, sizeof(bits));
23549|  11.5k|        bits = byteswap(bits);
23550|  11.5k|        std::memcpy(&number, &bits, sizeof(bits));
23551|  11.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEj:
 9157|  25.3k|{
 9158|  25.3k|#if defined(__GNUC__) || defined(__clang__)
 9159|  25.3k|    return __builtin_bswap32(x);
 9160|       |#elif defined(_MSC_VER)
 9161|       |    return _byteswap_ulong(x);
 9162|       |#elif defined(__cpp_lib_byteswap)
 9163|       |    return std::byteswap(x);
 9164|       |#else
 9165|       |    return ((x & 0x000000FFu) << 24u) | ((x & 0x0000FF00u) << 8u)
 9166|       |           | ((x & 0x00FF0000u) >> 8u) | ((x & 0xFF000000u) >> 24u);
 9167|       |#endif
 9168|  25.3k|}
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIdEET_SJ_:
20670|  2.56k|    {
20671|  2.56k|        NumberType result{};
20672|  2.56k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  2.56k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 2.56k, False: 0]
  ------------------
20674|  2.56k|        {
20675|  2.56k|            byte_swap(result);
20676|  2.56k|        }
20677|  2.56k|        return result;
20678|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castImjTnNSt3__19enable_ifIXntsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_:
 5203|   915k|{
 5204|   915k|    return static_cast<T>(value);
 5205|   915k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18get_container_sizeEmRmPKc:
20656|  2.78k|    {
20657|  2.78k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  5.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.78k]
  |  |  |  Branch (1697:94): [True: 0, False: 2.78k]
  |  |  |  Branch (1697:94): [True: 0, False: 2.78k]
  |  |  ------------------
  ------------------
20658|      0|        {
20659|      0|            return container_size_error(context);
20660|      0|        }
20661|  2.78k|        result = conditional_static_cast<std::size_t>(len);
20662|  2.78k|        return true;
20663|  2.78k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE11enter_arrayEmm:
19213|   460k|    {
19214|   460k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   460k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE12enter_objectEmm:
19219|  62.3k|    {
19220|  62.3k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  62.3k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15unexpected_byteEPKcSP_:
24069|      6|    {
24070|      6|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|      6|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRPKcRA5_SA_S9_EEET_DpOT0_:
 5537|     12|{
 5538|     12|    OutStringType str;
 5539|     12|    str.reserve(concat_length(args...));
 5540|     12|    concat_into(str, std::forward<Args>(args)...);
 5541|     12|    return str;
 5542|     12|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA5_cNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|     12|{
 5442|     12|    return ::strlen(cstr) + concat_length(rest...);
 5443|     12|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA5_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|     12|{
 5501|     12|    out.append(std::forward<Arg>(arg));
 5502|     12|    concat_into(out, std::forward<Args>(rest)...);
 5503|     12|}
_ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castImmTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_:
 5209|  5.56k|{
 5210|  5.56k|    return value;
 5211|  5.56k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIfLb0EEEbRT_:
23596|  5.03k|    {
23597|       |        // read in the original format
23598|       |
23599|  5.03k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  5.03k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 5.00k]
  |  |  ------------------
  ------------------
23600|     23|        {
23601|     23|            return false;
23602|     23|        }
23603|  5.00k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.96k, False: 46]
  |  Branch (23603:34): [Folded, False: 4.96k]
  |  Branch (23603:57): [True: 0, False: 4.96k]
  ------------------
23604|  4.96k|        {
23605|  4.96k|            byte_swap(result);
23606|  4.96k|        }
23607|  5.00k|        return true;
23608|  5.03k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIfEEbRT_PKc:
23503|  5.03k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  5.03k|        auto new_chars_read = ia.get_elements(&dest);
23507|  5.03k|        chars_read += new_chars_read;
23508|  5.03k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  5.03k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 69, False: 4.96k]
  |  |  ------------------
  ------------------
23509|     69|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     69|            ++chars_read;
23512|     69|            static_cast<void>(report_eof(context));
23513|     69|            return false;
23514|     69|        }
23515|  4.96k|        return true;
23516|  5.03k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIfEEmPT_m:
10326|  5.03k|    {
10327|  5.03k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  5.03k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIfEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  5.03k|    {
10385|  5.03k|        const std::size_t wanted = count * sizeof(T);
10386|  5.03k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  5.03k|        const std::size_t copied = (std::min)(wanted, available);
10388|  5.03k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  5.03k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 4.99k, False: 36]
  |  |  ------------------
  ------------------
10389|  4.99k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  4.99k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  4.99k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 4.99k, False: 0]
  ------------------
10394|  4.99k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  4.99k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 4.99k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  4.99k|            std::memcpy(dest, &*current, copied);
10398|  4.99k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  4.99k|        }
10400|  5.03k|        return copied;
10401|  5.03k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIdLb0EEEbRT_:
23596|  2.43k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.43k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.43k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 2.40k]
  |  |  ------------------
  ------------------
23600|     25|        {
23601|     25|            return false;
23602|     25|        }
23603|  2.40k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.35k, False: 50]
  |  Branch (23603:34): [Folded, False: 2.35k]
  |  Branch (23603:57): [True: 0, False: 2.35k]
  ------------------
23604|  2.35k|        {
23605|  2.35k|            byte_swap(result);
23606|  2.35k|        }
23607|  2.40k|        return true;
23608|  2.43k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE22parse_msgpack_internalEv:
21745|  34.1k|    {
21746|       |        // the key currently being read; hoisted out of the loop so that its
21747|       |        // capacity is reused across elements and across nesting levels
21748|  34.1k|        string_t key;
21749|       |
21750|  1.36M|        while (true)
  ------------------
  |  Branch (21750:16): [True: 1.35M, Folded]
  ------------------
21751|  1.35M|        {
21752|  1.35M|            if (!container_stack.empty())
  ------------------
  |  Branch (21752:17): [True: 1.32M, False: 34.1k]
  ------------------
21753|  1.32M|            {
21754|       |                // copied out before anything can push onto the stack and
21755|       |                // invalidate a reference into it
21756|  1.32M|                const bool is_object = container_stack.back().is_object;
21757|       |
21758|  1.32M|                if (container_stack.back().remaining == 0)
  ------------------
  |  Branch (21758:21): [True: 426k, False: 896k]
  ------------------
21759|   426k|                {
21760|   426k|                    bool value_complete = false;
21761|   426k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   426k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 426k]
  |  |  ------------------
  ------------------
21762|      0|                    {
21763|      0|                        return false;
21764|      0|                    }
21765|   426k|                    if (value_complete)
  ------------------
  |  Branch (21765:25): [True: 12.7k, False: 413k]
  ------------------
21766|  12.7k|                    {
21767|  12.7k|                        return true;
21768|  12.7k|                    }
21769|   413k|                    continue;
21770|   426k|                }
21771|       |
21772|       |                // claim the element about to be read
21773|   896k|                --container_stack.back().remaining;
21774|       |
21775|   896k|                if (is_object)
  ------------------
  |  Branch (21775:21): [True: 109k, False: 786k]
  ------------------
21776|   109k|                {
21777|   109k|                    get();
21778|   109k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_msgpack_object_key>(key)))
  ------------------
  |  | 1697|   109k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 519, False: 108k]
  |  |  ------------------
  ------------------
21779|    519|                    {
21780|    519|                        return false;
21781|    519|                    }
21782|   109k|                }
21783|   896k|            }
21784|       |
21785|   929k|            if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_value()))
  ------------------
  |  | 1697|   929k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.59k, False: 926k]
  |  |  ------------------
  ------------------
21786|  3.59k|            {
21787|  3.59k|                return false;
21788|  3.59k|            }
21789|       |
21790|       |            // a value that opened a container left it on the stack; one that
21791|       |            // did not, and that was not inside a container, was the whole value
21792|   926k|            if (container_stack.empty())
  ------------------
  |  Branch (21792:17): [True: 9.06k, False: 917k]
  ------------------
21793|  9.06k|            {
21794|  9.06k|                return true;
21795|  9.06k|            }
21796|   926k|        }
21797|  34.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15read_object_keyIXadL_ZNSN_22get_msgpack_object_keyERSC_EEEEbSP_:
19268|   109k|    {
19269|   109k|        key.clear();
19270|   109k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 107k, False: 1.55k]
  |  Branch (19270:40): [True: 107k, False: 0]
  ------------------
19271|   109k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE22get_msgpack_object_keyERSC_:
21411|   109k|    {
21412|   109k|        const char* found = nullptr;
21413|   109k|        switch (current)
21414|   109k|        {
21415|      0|            case 0xC0:
  ------------------
  |  Branch (21415:13): [True: 0, False: 109k]
  ------------------
21416|      0|                found = "nil";
21417|      0|                break;
21418|      3|            case 0xC2:
  ------------------
  |  Branch (21418:13): [True: 3, False: 109k]
  ------------------
21419|      6|            case 0xC3:
  ------------------
  |  Branch (21419:13): [True: 3, False: 109k]
  ------------------
21420|      6|                found = "a boolean";
21421|      6|                break;
21422|      0|            case 0xCA:
  ------------------
  |  Branch (21422:13): [True: 0, False: 109k]
  ------------------
21423|      3|            case 0xCB:
  ------------------
  |  Branch (21423:13): [True: 3, False: 109k]
  ------------------
21424|      3|                found = "a float";
21425|      3|                break;
21426|      6|            case 0xC4:
  ------------------
  |  Branch (21426:13): [True: 6, False: 109k]
  ------------------
21427|      6|            case 0xC5:
  ------------------
  |  Branch (21427:13): [True: 0, False: 109k]
  ------------------
21428|      9|            case 0xC6:
  ------------------
  |  Branch (21428:13): [True: 3, False: 109k]
  ------------------
21429|      9|                found = "a bin";
21430|      9|                break;
21431|      0|            case 0xC7:
  ------------------
  |  Branch (21431:13): [True: 0, False: 109k]
  ------------------
21432|      0|            case 0xC8:
  ------------------
  |  Branch (21432:13): [True: 0, False: 109k]
  ------------------
21433|      0|            case 0xC9:
  ------------------
  |  Branch (21433:13): [True: 0, False: 109k]
  ------------------
21434|      0|            case 0xD4:
  ------------------
  |  Branch (21434:13): [True: 0, False: 109k]
  ------------------
21435|      0|            case 0xD5:
  ------------------
  |  Branch (21435:13): [True: 0, False: 109k]
  ------------------
21436|      0|            case 0xD6:
  ------------------
  |  Branch (21436:13): [True: 0, False: 109k]
  ------------------
21437|      0|            case 0xD7:
  ------------------
  |  Branch (21437:13): [True: 0, False: 109k]
  ------------------
21438|      0|            case 0xD8:
  ------------------
  |  Branch (21438:13): [True: 0, False: 109k]
  ------------------
21439|      0|                found = "an ext";
21440|      0|                break;
21441|      0|            case 0xCC:
  ------------------
  |  Branch (21441:13): [True: 0, False: 109k]
  ------------------
21442|      0|            case 0xCD:
  ------------------
  |  Branch (21442:13): [True: 0, False: 109k]
  ------------------
21443|      0|            case 0xCE:
  ------------------
  |  Branch (21443:13): [True: 0, False: 109k]
  ------------------
21444|      3|            case 0xCF:
  ------------------
  |  Branch (21444:13): [True: 3, False: 109k]
  ------------------
21445|      3|            case 0xD0:
  ------------------
  |  Branch (21445:13): [True: 0, False: 109k]
  ------------------
21446|      6|            case 0xD1:
  ------------------
  |  Branch (21446:13): [True: 3, False: 109k]
  ------------------
21447|      6|            case 0xD2:
  ------------------
  |  Branch (21447:13): [True: 0, False: 109k]
  ------------------
21448|      6|            case 0xD3:
  ------------------
  |  Branch (21448:13): [True: 0, False: 109k]
  ------------------
21449|      6|                found = "an integer";
21450|      6|                break;
21451|      0|            case 0xDC:
  ------------------
  |  Branch (21451:13): [True: 0, False: 109k]
  ------------------
21452|      3|            case 0xDD:
  ------------------
  |  Branch (21452:13): [True: 3, False: 109k]
  ------------------
21453|      3|                found = "an array";
21454|      3|                break;
21455|      0|            case 0xDE:
  ------------------
  |  Branch (21455:13): [True: 0, False: 109k]
  ------------------
21456|      3|            case 0xDF:
  ------------------
  |  Branch (21456:13): [True: 3, False: 109k]
  ------------------
21457|      3|                found = "a map";
21458|      3|                break;
21459|   109k|            default:
  ------------------
  |  Branch (21459:13): [True: 109k, False: 30]
  ------------------
21460|       |                // fixint, fixmap, and fixarray; strings, EOF, and the unused
21461|       |                // byte 0xC1 are left to get_msgpack_string
21462|   109k|                if (current == char_traits<char_type>::eof())
  ------------------
  |  Branch (21462:21): [True: 1.30k, False: 107k]
  ------------------
21463|  1.30k|                {
21464|  1.30k|                    return get_msgpack_string(result, "key");
21465|  1.30k|                }
21466|   107k|                if (current <= 0x7F || current >= 0xE0)
  ------------------
  |  Branch (21466:21): [True: 39, False: 107k]
  |  Branch (21466:40): [True: 15, False: 107k]
  ------------------
21467|     54|                {
21468|     54|                    found = "an integer";
21469|     54|                }
21470|   107k|                else if (current <= 0x8F)
  ------------------
  |  Branch (21470:26): [True: 21, False: 107k]
  ------------------
21471|     21|                {
21472|     21|                    found = "a map";
21473|     21|                }
21474|   107k|                else if (current <= 0x9F)
  ------------------
  |  Branch (21474:26): [True: 15, False: 107k]
  ------------------
21475|     15|                {
21476|     15|                    found = "an array";
21477|     15|                }
21478|   107k|                else
21479|   107k|                {
21480|   107k|                    return get_msgpack_string(result, "key");
21481|   107k|                }
21482|     90|                break;
21483|   109k|        }
21484|       |
21485|    120|        return unsupported_key_type(found);
21486|   109k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18get_msgpack_stringERSC_PKc:
21331|   160k|    {
21332|   160k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|   160k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 436, False: 160k]
  |  |  ------------------
  ------------------
21333|    436|        {
21334|    436|            return false;
21335|    436|        }
21336|       |
21337|   160k|        switch (current)
21338|   160k|        {
21339|       |            // fixstr
21340|  88.0k|            case 0xA0:
  ------------------
  |  Branch (21340:13): [True: 88.0k, False: 72.0k]
  ------------------
21341|   125k|            case 0xA1:
  ------------------
  |  Branch (21341:13): [True: 37.1k, False: 122k]
  ------------------
21342|   130k|            case 0xA2:
  ------------------
  |  Branch (21342:13): [True: 5.63k, False: 154k]
  ------------------
21343|   132k|            case 0xA3:
  ------------------
  |  Branch (21343:13): [True: 1.26k, False: 158k]
  ------------------
21344|   135k|            case 0xA4:
  ------------------
  |  Branch (21344:13): [True: 3.51k, False: 156k]
  ------------------
21345|   136k|            case 0xA5:
  ------------------
  |  Branch (21345:13): [True: 592, False: 159k]
  ------------------
21346|   136k|            case 0xA6:
  ------------------
  |  Branch (21346:13): [True: 768, False: 159k]
  ------------------
21347|   137k|            case 0xA7:
  ------------------
  |  Branch (21347:13): [True: 704, False: 159k]
  ------------------
21348|   139k|            case 0xA8:
  ------------------
  |  Branch (21348:13): [True: 1.38k, False: 158k]
  ------------------
21349|   139k|            case 0xA9:
  ------------------
  |  Branch (21349:13): [True: 797, False: 159k]
  ------------------
21350|   140k|            case 0xAA:
  ------------------
  |  Branch (21350:13): [True: 609, False: 159k]
  ------------------
21351|   141k|            case 0xAB:
  ------------------
  |  Branch (21351:13): [True: 608, False: 159k]
  ------------------
21352|   141k|            case 0xAC:
  ------------------
  |  Branch (21352:13): [True: 675, False: 159k]
  ------------------
21353|   142k|            case 0xAD:
  ------------------
  |  Branch (21353:13): [True: 499, False: 159k]
  ------------------
21354|   142k|            case 0xAE:
  ------------------
  |  Branch (21354:13): [True: 252, False: 159k]
  ------------------
21355|   142k|            case 0xAF:
  ------------------
  |  Branch (21355:13): [True: 294, False: 159k]
  ------------------
21356|   143k|            case 0xB0:
  ------------------
  |  Branch (21356:13): [True: 760, False: 159k]
  ------------------
21357|   143k|            case 0xB1:
  ------------------
  |  Branch (21357:13): [True: 474, False: 159k]
  ------------------
21358|   144k|            case 0xB2:
  ------------------
  |  Branch (21358:13): [True: 438, False: 159k]
  ------------------
21359|   144k|            case 0xB3:
  ------------------
  |  Branch (21359:13): [True: 290, False: 159k]
  ------------------
21360|   145k|            case 0xB4:
  ------------------
  |  Branch (21360:13): [True: 474, False: 159k]
  ------------------
21361|   145k|            case 0xB5:
  ------------------
  |  Branch (21361:13): [True: 389, False: 159k]
  ------------------
21362|   145k|            case 0xB6:
  ------------------
  |  Branch (21362:13): [True: 255, False: 159k]
  ------------------
21363|   146k|            case 0xB7:
  ------------------
  |  Branch (21363:13): [True: 801, False: 159k]
  ------------------
21364|   146k|            case 0xB8:
  ------------------
  |  Branch (21364:13): [True: 351, False: 159k]
  ------------------
21365|   147k|            case 0xB9:
  ------------------
  |  Branch (21365:13): [True: 390, False: 159k]
  ------------------
21366|   147k|            case 0xBA:
  ------------------
  |  Branch (21366:13): [True: 380, False: 159k]
  ------------------
21367|   147k|            case 0xBB:
  ------------------
  |  Branch (21367:13): [True: 231, False: 159k]
  ------------------
21368|   148k|            case 0xBC:
  ------------------
  |  Branch (21368:13): [True: 314, False: 159k]
  ------------------
21369|   148k|            case 0xBD:
  ------------------
  |  Branch (21369:13): [True: 354, False: 159k]
  ------------------
21370|   148k|            case 0xBE:
  ------------------
  |  Branch (21370:13): [True: 198, False: 159k]
  ------------------
21371|   149k|            case 0xBF:
  ------------------
  |  Branch (21371:13): [True: 249, False: 159k]
  ------------------
21372|   149k|            {
21373|   149k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (21373:24): [True: 148k, False: 786]
  |  Branch (21373:90): [True: 148k, False: 0]
  ------------------
21374|   148k|            }
21375|       |
21376|  5.77k|            case 0xD9: // str 8
  ------------------
  |  Branch (21376:13): [True: 5.77k, False: 154k]
  ------------------
21377|  5.77k|            {
21378|  5.77k|                return get_string_with_length<std::uint8_t>(result, context);
21379|   148k|            }
21380|       |
21381|  2.79k|            case 0xDA: // str 16
  ------------------
  |  Branch (21381:13): [True: 2.79k, False: 157k]
  ------------------
21382|  2.79k|            {
21383|  2.79k|                return get_string_with_length<std::uint16_t>(result, context);
21384|   148k|            }
21385|       |
21386|  1.50k|            case 0xDB: // str 32
  ------------------
  |  Branch (21386:13): [True: 1.50k, False: 158k]
  ------------------
21387|  1.50k|            {
21388|  1.50k|                return get_string_with_length<std::uint32_t>(result, context);
21389|   148k|            }
21390|       |
21391|      3|            default:
  ------------------
  |  Branch (21391:13): [True: 3, False: 160k]
  ------------------
21392|      3|            {
21393|      3|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0xA0-0xBF, 0xD9-0xDB)", "string", "");
21394|   148k|            }
21395|   160k|        }
21396|   160k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE22get_string_with_lengthIhEEbRSC_PKc:
23846|  5.77k|    {
23847|  5.77k|        NumberType len{};
23848|  5.77k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 5.71k, False: 57]
  |  Branch (23848:35): [True: 5.59k, False: 120]
  |  Branch (23848:62): [True: 5.59k, False: 0]
  ------------------
23849|  5.77k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_stringIhEEbT_RSC_:
23767|  5.71k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  5.71k|        return get_bytes(len, "string", result);
23778|  5.71k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE22get_string_with_lengthItEEbRSC_PKc:
23846|  2.79k|    {
23847|  2.79k|        NumberType len{};
23848|  2.79k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 2.73k, False: 51]
  |  Branch (23848:35): [True: 2.53k, False: 201]
  |  Branch (23848:62): [True: 2.53k, False: 0]
  ------------------
23849|  2.79k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_stringItEEbT_RSC_:
23767|  2.73k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  2.73k|        return get_bytes(len, "string", result);
23778|  2.73k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE22get_string_with_lengthIjEEbRSC_PKc:
23846|  1.50k|    {
23847|  1.50k|        NumberType len{};
23848|  1.50k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 1.44k, False: 57]
  |  Branch (23848:35): [True: 1.20k, False: 240]
  |  Branch (23848:62): [True: 1.20k, False: 0]
  ------------------
23849|  1.50k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE19parse_msgpack_valueEv:
20950|   928k|    {
20951|   928k|        switch (get())
20952|   928k|        {
20953|       |            // EOF
20954|  7.71k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (20954:13): [True: 7.71k, False: 920k]
  ------------------
20955|  7.71k|                return unexpect_eof("value");
20956|       |
20957|       |            // positive fixint
20958|  23.3k|            case 0x00:
  ------------------
  |  Branch (20958:13): [True: 23.3k, False: 905k]
  ------------------
20959|  25.8k|            case 0x01:
  ------------------
  |  Branch (20959:13): [True: 2.57k, False: 926k]
  ------------------
20960|  27.0k|            case 0x02:
  ------------------
  |  Branch (20960:13): [True: 1.13k, False: 927k]
  ------------------
20961|  28.1k|            case 0x03:
  ------------------
  |  Branch (20961:13): [True: 1.11k, False: 927k]
  ------------------
20962|  29.3k|            case 0x04:
  ------------------
  |  Branch (20962:13): [True: 1.20k, False: 927k]
  ------------------
20963|  30.9k|            case 0x05:
  ------------------
  |  Branch (20963:13): [True: 1.58k, False: 927k]
  ------------------
20964|  32.2k|            case 0x06:
  ------------------
  |  Branch (20964:13): [True: 1.29k, False: 927k]
  ------------------
20965|  33.5k|            case 0x07:
  ------------------
  |  Branch (20965:13): [True: 1.28k, False: 927k]
  ------------------
20966|  35.3k|            case 0x08:
  ------------------
  |  Branch (20966:13): [True: 1.88k, False: 926k]
  ------------------
20967|  36.7k|            case 0x09:
  ------------------
  |  Branch (20967:13): [True: 1.40k, False: 927k]
  ------------------
20968|  37.8k|            case 0x0A:
  ------------------
  |  Branch (20968:13): [True: 1.08k, False: 927k]
  ------------------
20969|  38.9k|            case 0x0B:
  ------------------
  |  Branch (20969:13): [True: 1.06k, False: 927k]
  ------------------
20970|  39.8k|            case 0x0C:
  ------------------
  |  Branch (20970:13): [True: 927, False: 927k]
  ------------------
20971|  41.0k|            case 0x0D:
  ------------------
  |  Branch (20971:13): [True: 1.19k, False: 927k]
  ------------------
20972|  42.3k|            case 0x0E:
  ------------------
  |  Branch (20972:13): [True: 1.29k, False: 927k]
  ------------------
20973|  43.3k|            case 0x0F:
  ------------------
  |  Branch (20973:13): [True: 1.03k, False: 927k]
  ------------------
20974|  44.6k|            case 0x10:
  ------------------
  |  Branch (20974:13): [True: 1.29k, False: 927k]
  ------------------
20975|  45.6k|            case 0x11:
  ------------------
  |  Branch (20975:13): [True: 938, False: 927k]
  ------------------
20976|  46.8k|            case 0x12:
  ------------------
  |  Branch (20976:13): [True: 1.25k, False: 927k]
  ------------------
20977|  47.8k|            case 0x13:
  ------------------
  |  Branch (20977:13): [True: 991, False: 927k]
  ------------------
20978|  49.2k|            case 0x14:
  ------------------
  |  Branch (20978:13): [True: 1.35k, False: 927k]
  ------------------
20979|  50.1k|            case 0x15:
  ------------------
  |  Branch (20979:13): [True: 969, False: 927k]
  ------------------
20980|  51.1k|            case 0x16:
  ------------------
  |  Branch (20980:13): [True: 945, False: 927k]
  ------------------
20981|  52.4k|            case 0x17:
  ------------------
  |  Branch (20981:13): [True: 1.37k, False: 927k]
  ------------------
20982|  54.4k|            case 0x18:
  ------------------
  |  Branch (20982:13): [True: 1.91k, False: 926k]
  ------------------
20983|  55.7k|            case 0x19:
  ------------------
  |  Branch (20983:13): [True: 1.37k, False: 927k]
  ------------------
20984|  58.1k|            case 0x1A:
  ------------------
  |  Branch (20984:13): [True: 2.31k, False: 926k]
  ------------------
20985|  59.3k|            case 0x1B:
  ------------------
  |  Branch (20985:13): [True: 1.19k, False: 927k]
  ------------------
20986|  60.2k|            case 0x1C:
  ------------------
  |  Branch (20986:13): [True: 968, False: 927k]
  ------------------
20987|  61.5k|            case 0x1D:
  ------------------
  |  Branch (20987:13): [True: 1.32k, False: 927k]
  ------------------
20988|  63.1k|            case 0x1E:
  ------------------
  |  Branch (20988:13): [True: 1.57k, False: 927k]
  ------------------
20989|  64.8k|            case 0x1F:
  ------------------
  |  Branch (20989:13): [True: 1.68k, False: 926k]
  ------------------
20990|  66.2k|            case 0x20:
  ------------------
  |  Branch (20990:13): [True: 1.40k, False: 927k]
  ------------------
20991|  67.8k|            case 0x21:
  ------------------
  |  Branch (20991:13): [True: 1.55k, False: 927k]
  ------------------
20992|  69.1k|            case 0x22:
  ------------------
  |  Branch (20992:13): [True: 1.36k, False: 927k]
  ------------------
20993|  70.3k|            case 0x23:
  ------------------
  |  Branch (20993:13): [True: 1.17k, False: 927k]
  ------------------
20994|  71.7k|            case 0x24:
  ------------------
  |  Branch (20994:13): [True: 1.43k, False: 927k]
  ------------------
20995|  73.4k|            case 0x25:
  ------------------
  |  Branch (20995:13): [True: 1.66k, False: 926k]
  ------------------
20996|  74.8k|            case 0x26:
  ------------------
  |  Branch (20996:13): [True: 1.37k, False: 927k]
  ------------------
20997|  75.9k|            case 0x27:
  ------------------
  |  Branch (20997:13): [True: 1.17k, False: 927k]
  ------------------
20998|  77.7k|            case 0x28:
  ------------------
  |  Branch (20998:13): [True: 1.71k, False: 926k]
  ------------------
20999|  78.8k|            case 0x29:
  ------------------
  |  Branch (20999:13): [True: 1.14k, False: 927k]
  ------------------
21000|  80.0k|            case 0x2A:
  ------------------
  |  Branch (21000:13): [True: 1.17k, False: 927k]
  ------------------
21001|  81.7k|            case 0x2B:
  ------------------
  |  Branch (21001:13): [True: 1.72k, False: 926k]
  ------------------
21002|  83.3k|            case 0x2C:
  ------------------
  |  Branch (21002:13): [True: 1.55k, False: 927k]
  ------------------
21003|  84.9k|            case 0x2D:
  ------------------
  |  Branch (21003:13): [True: 1.62k, False: 927k]
  ------------------
21004|  86.1k|            case 0x2E:
  ------------------
  |  Branch (21004:13): [True: 1.17k, False: 927k]
  ------------------
21005|  87.5k|            case 0x2F:
  ------------------
  |  Branch (21005:13): [True: 1.39k, False: 927k]
  ------------------
21006|  89.0k|            case 0x30:
  ------------------
  |  Branch (21006:13): [True: 1.55k, False: 927k]
  ------------------
21007|  90.4k|            case 0x31:
  ------------------
  |  Branch (21007:13): [True: 1.37k, False: 927k]
  ------------------
21008|  91.5k|            case 0x32:
  ------------------
  |  Branch (21008:13): [True: 1.17k, False: 927k]
  ------------------
21009|  92.6k|            case 0x33:
  ------------------
  |  Branch (21009:13): [True: 1.04k, False: 927k]
  ------------------
21010|  93.6k|            case 0x34:
  ------------------
  |  Branch (21010:13): [True: 1.01k, False: 927k]
  ------------------
21011|  94.7k|            case 0x35:
  ------------------
  |  Branch (21011:13): [True: 1.04k, False: 927k]
  ------------------
21012|  96.0k|            case 0x36:
  ------------------
  |  Branch (21012:13): [True: 1.30k, False: 927k]
  ------------------
21013|  96.9k|            case 0x37:
  ------------------
  |  Branch (21013:13): [True: 991, False: 927k]
  ------------------
21014|  98.1k|            case 0x38:
  ------------------
  |  Branch (21014:13): [True: 1.16k, False: 927k]
  ------------------
21015|  99.1k|            case 0x39:
  ------------------
  |  Branch (21015:13): [True: 948, False: 927k]
  ------------------
21016|   101k|            case 0x3A:
  ------------------
  |  Branch (21016:13): [True: 2.07k, False: 926k]
  ------------------
21017|   102k|            case 0x3B:
  ------------------
  |  Branch (21017:13): [True: 1.29k, False: 927k]
  ------------------
21018|   103k|            case 0x3C:
  ------------------
  |  Branch (21018:13): [True: 1.26k, False: 927k]
  ------------------
21019|   104k|            case 0x3D:
  ------------------
  |  Branch (21019:13): [True: 1.13k, False: 927k]
  ------------------
21020|   107k|            case 0x3E:
  ------------------
  |  Branch (21020:13): [True: 2.26k, False: 926k]
  ------------------
21021|   109k|            case 0x3F:
  ------------------
  |  Branch (21021:13): [True: 1.90k, False: 926k]
  ------------------
21022|   110k|            case 0x40:
  ------------------
  |  Branch (21022:13): [True: 1.20k, False: 927k]
  ------------------
21023|   112k|            case 0x41:
  ------------------
  |  Branch (21023:13): [True: 1.88k, False: 926k]
  ------------------
21024|   113k|            case 0x42:
  ------------------
  |  Branch (21024:13): [True: 1.08k, False: 927k]
  ------------------
21025|   114k|            case 0x43:
  ------------------
  |  Branch (21025:13): [True: 1.13k, False: 927k]
  ------------------
21026|   115k|            case 0x44:
  ------------------
  |  Branch (21026:13): [True: 1.15k, False: 927k]
  ------------------
21027|   116k|            case 0x45:
  ------------------
  |  Branch (21027:13): [True: 962, False: 927k]
  ------------------
21028|   117k|            case 0x46:
  ------------------
  |  Branch (21028:13): [True: 913, False: 927k]
  ------------------
21029|   118k|            case 0x47:
  ------------------
  |  Branch (21029:13): [True: 1.30k, False: 927k]
  ------------------
21030|   119k|            case 0x48:
  ------------------
  |  Branch (21030:13): [True: 1.17k, False: 927k]
  ------------------
21031|   120k|            case 0x49:
  ------------------
  |  Branch (21031:13): [True: 861, False: 927k]
  ------------------
21032|   121k|            case 0x4A:
  ------------------
  |  Branch (21032:13): [True: 950, False: 927k]
  ------------------
21033|   122k|            case 0x4B:
  ------------------
  |  Branch (21033:13): [True: 915, False: 927k]
  ------------------
21034|   123k|            case 0x4C:
  ------------------
  |  Branch (21034:13): [True: 1.08k, False: 927k]
  ------------------
21035|   124k|            case 0x4D:
  ------------------
  |  Branch (21035:13): [True: 969, False: 927k]
  ------------------
21036|   125k|            case 0x4E:
  ------------------
  |  Branch (21036:13): [True: 894, False: 927k]
  ------------------
21037|   126k|            case 0x4F:
  ------------------
  |  Branch (21037:13): [True: 925, False: 927k]
  ------------------
21038|   127k|            case 0x50:
  ------------------
  |  Branch (21038:13): [True: 1.15k, False: 927k]
  ------------------
21039|   128k|            case 0x51:
  ------------------
  |  Branch (21039:13): [True: 964, False: 927k]
  ------------------
21040|   129k|            case 0x52:
  ------------------
  |  Branch (21040:13): [True: 1.03k, False: 927k]
  ------------------
21041|   130k|            case 0x53:
  ------------------
  |  Branch (21041:13): [True: 1.36k, False: 927k]
  ------------------
21042|   131k|            case 0x54:
  ------------------
  |  Branch (21042:13): [True: 946, False: 927k]
  ------------------
21043|   132k|            case 0x55:
  ------------------
  |  Branch (21043:13): [True: 922, False: 927k]
  ------------------
21044|   133k|            case 0x56:
  ------------------
  |  Branch (21044:13): [True: 971, False: 927k]
  ------------------
21045|   134k|            case 0x57:
  ------------------
  |  Branch (21045:13): [True: 913, False: 927k]
  ------------------
21046|   135k|            case 0x58:
  ------------------
  |  Branch (21046:13): [True: 908, False: 927k]
  ------------------
21047|   136k|            case 0x59:
  ------------------
  |  Branch (21047:13): [True: 918, False: 927k]
  ------------------
21048|   137k|            case 0x5A:
  ------------------
  |  Branch (21048:13): [True: 1.01k, False: 927k]
  ------------------
21049|   138k|            case 0x5B:
  ------------------
  |  Branch (21049:13): [True: 1.22k, False: 927k]
  ------------------
21050|   139k|            case 0x5C:
  ------------------
  |  Branch (21050:13): [True: 1.16k, False: 927k]
  ------------------
21051|   141k|            case 0x5D:
  ------------------
  |  Branch (21051:13): [True: 1.28k, False: 927k]
  ------------------
21052|   142k|            case 0x5E:
  ------------------
  |  Branch (21052:13): [True: 972, False: 927k]
  ------------------
21053|   143k|            case 0x5F:
  ------------------
  |  Branch (21053:13): [True: 1.21k, False: 927k]
  ------------------
21054|   145k|            case 0x60:
  ------------------
  |  Branch (21054:13): [True: 1.78k, False: 926k]
  ------------------
21055|   146k|            case 0x61:
  ------------------
  |  Branch (21055:13): [True: 1.12k, False: 927k]
  ------------------
21056|   147k|            case 0x62:
  ------------------
  |  Branch (21056:13): [True: 964, False: 927k]
  ------------------
21057|   148k|            case 0x63:
  ------------------
  |  Branch (21057:13): [True: 871, False: 927k]
  ------------------
21058|   149k|            case 0x64:
  ------------------
  |  Branch (21058:13): [True: 1.22k, False: 927k]
  ------------------
21059|   150k|            case 0x65:
  ------------------
  |  Branch (21059:13): [True: 1.23k, False: 927k]
  ------------------
21060|   151k|            case 0x66:
  ------------------
  |  Branch (21060:13): [True: 987, False: 927k]
  ------------------
21061|   153k|            case 0x67:
  ------------------
  |  Branch (21061:13): [True: 1.79k, False: 926k]
  ------------------
21062|   154k|            case 0x68:
  ------------------
  |  Branch (21062:13): [True: 1.18k, False: 927k]
  ------------------
21063|   155k|            case 0x69:
  ------------------
  |  Branch (21063:13): [True: 1.04k, False: 927k]
  ------------------
21064|   156k|            case 0x6A:
  ------------------
  |  Branch (21064:13): [True: 1.21k, False: 927k]
  ------------------
21065|   158k|            case 0x6B:
  ------------------
  |  Branch (21065:13): [True: 1.68k, False: 926k]
  ------------------
21066|   159k|            case 0x6C:
  ------------------
  |  Branch (21066:13): [True: 923, False: 927k]
  ------------------
21067|   160k|            case 0x6D:
  ------------------
  |  Branch (21067:13): [True: 986, False: 927k]
  ------------------
21068|   162k|            case 0x6E:
  ------------------
  |  Branch (21068:13): [True: 1.86k, False: 926k]
  ------------------
21069|   163k|            case 0x6F:
  ------------------
  |  Branch (21069:13): [True: 1.50k, False: 927k]
  ------------------
21070|   165k|            case 0x70:
  ------------------
  |  Branch (21070:13): [True: 1.45k, False: 927k]
  ------------------
21071|   166k|            case 0x71:
  ------------------
  |  Branch (21071:13): [True: 1.10k, False: 927k]
  ------------------
21072|   167k|            case 0x72:
  ------------------
  |  Branch (21072:13): [True: 919, False: 927k]
  ------------------
21073|   168k|            case 0x73:
  ------------------
  |  Branch (21073:13): [True: 1.25k, False: 927k]
  ------------------
21074|   169k|            case 0x74:
  ------------------
  |  Branch (21074:13): [True: 1.41k, False: 927k]
  ------------------
21075|   171k|            case 0x75:
  ------------------
  |  Branch (21075:13): [True: 1.11k, False: 927k]
  ------------------
21076|   172k|            case 0x76:
  ------------------
  |  Branch (21076:13): [True: 1.15k, False: 927k]
  ------------------
21077|   173k|            case 0x77:
  ------------------
  |  Branch (21077:13): [True: 1.55k, False: 927k]
  ------------------
21078|   174k|            case 0x78:
  ------------------
  |  Branch (21078:13): [True: 1.19k, False: 927k]
  ------------------
21079|   175k|            case 0x79:
  ------------------
  |  Branch (21079:13): [True: 970, False: 927k]
  ------------------
21080|   177k|            case 0x7A:
  ------------------
  |  Branch (21080:13): [True: 1.70k, False: 926k]
  ------------------
21081|   178k|            case 0x7B:
  ------------------
  |  Branch (21081:13): [True: 921, False: 927k]
  ------------------
21082|   180k|            case 0x7C:
  ------------------
  |  Branch (21082:13): [True: 1.69k, False: 926k]
  ------------------
21083|   181k|            case 0x7D:
  ------------------
  |  Branch (21083:13): [True: 899, False: 927k]
  ------------------
21084|   182k|            case 0x7E:
  ------------------
  |  Branch (21084:13): [True: 1.20k, False: 927k]
  ------------------
21085|   184k|            case 0x7F:
  ------------------
  |  Branch (21085:13): [True: 1.66k, False: 926k]
  ------------------
21086|   184k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
21087|       |
21088|       |            // fixmap
21089|  13.3k|            case 0x80:
  ------------------
  |  Branch (21089:13): [True: 13.3k, False: 915k]
  ------------------
21090|  35.7k|            case 0x81:
  ------------------
  |  Branch (21090:13): [True: 22.4k, False: 906k]
  ------------------
21091|  40.2k|            case 0x82:
  ------------------
  |  Branch (21091:13): [True: 4.48k, False: 924k]
  ------------------
21092|  42.8k|            case 0x83:
  ------------------
  |  Branch (21092:13): [True: 2.54k, False: 926k]
  ------------------
21093|  44.4k|            case 0x84:
  ------------------
  |  Branch (21093:13): [True: 1.65k, False: 927k]
  ------------------
21094|  46.2k|            case 0x85:
  ------------------
  |  Branch (21094:13): [True: 1.73k, False: 926k]
  ------------------
21095|  47.0k|            case 0x86:
  ------------------
  |  Branch (21095:13): [True: 892, False: 927k]
  ------------------
21096|  48.3k|            case 0x87:
  ------------------
  |  Branch (21096:13): [True: 1.24k, False: 927k]
  ------------------
21097|  49.4k|            case 0x88:
  ------------------
  |  Branch (21097:13): [True: 1.06k, False: 927k]
  ------------------
21098|  50.2k|            case 0x89:
  ------------------
  |  Branch (21098:13): [True: 871, False: 927k]
  ------------------
21099|  51.3k|            case 0x8A:
  ------------------
  |  Branch (21099:13): [True: 1.05k, False: 927k]
  ------------------
21100|  52.9k|            case 0x8B:
  ------------------
  |  Branch (21100:13): [True: 1.63k, False: 927k]
  ------------------
21101|  55.0k|            case 0x8C:
  ------------------
  |  Branch (21101:13): [True: 2.09k, False: 926k]
  ------------------
21102|  57.0k|            case 0x8D:
  ------------------
  |  Branch (21102:13): [True: 1.98k, False: 926k]
  ------------------
21103|  58.1k|            case 0x8E:
  ------------------
  |  Branch (21103:13): [True: 1.11k, False: 927k]
  ------------------
21104|  59.7k|            case 0x8F:
  ------------------
  |  Branch (21104:13): [True: 1.63k, False: 927k]
  ------------------
21105|  59.7k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21106|       |
21107|       |            // fixarray
21108|  13.3k|            case 0x90:
  ------------------
  |  Branch (21108:13): [True: 13.3k, False: 915k]
  ------------------
21109|   385k|            case 0x91:
  ------------------
  |  Branch (21109:13): [True: 372k, False: 556k]
  ------------------
21110|   394k|            case 0x92:
  ------------------
  |  Branch (21110:13): [True: 8.99k, False: 919k]
  ------------------
21111|   400k|            case 0x93:
  ------------------
  |  Branch (21111:13): [True: 5.31k, False: 923k]
  ------------------
21112|   403k|            case 0x94:
  ------------------
  |  Branch (21112:13): [True: 3.75k, False: 924k]
  ------------------
21113|   410k|            case 0x95:
  ------------------
  |  Branch (21113:13): [True: 6.86k, False: 921k]
  ------------------
21114|   414k|            case 0x96:
  ------------------
  |  Branch (21114:13): [True: 3.55k, False: 925k]
  ------------------
21115|   416k|            case 0x97:
  ------------------
  |  Branch (21115:13): [True: 1.87k, False: 926k]
  ------------------
21116|   421k|            case 0x98:
  ------------------
  |  Branch (21116:13): [True: 5.16k, False: 923k]
  ------------------
21117|   426k|            case 0x99:
  ------------------
  |  Branch (21117:13): [True: 4.71k, False: 923k]
  ------------------
21118|   431k|            case 0x9A:
  ------------------
  |  Branch (21118:13): [True: 5.17k, False: 923k]
  ------------------
21119|   434k|            case 0x9B:
  ------------------
  |  Branch (21119:13): [True: 3.56k, False: 925k]
  ------------------
21120|   437k|            case 0x9C:
  ------------------
  |  Branch (21120:13): [True: 2.99k, False: 925k]
  ------------------
21121|   442k|            case 0x9D:
  ------------------
  |  Branch (21121:13): [True: 4.60k, False: 924k]
  ------------------
21122|   445k|            case 0x9E:
  ------------------
  |  Branch (21122:13): [True: 2.97k, False: 925k]
  ------------------
21123|   447k|            case 0x9F:
  ------------------
  |  Branch (21123:13): [True: 2.19k, False: 926k]
  ------------------
21124|   447k|                return enter_msgpack_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21125|       |
21126|       |            // fixstr
21127|  22.9k|            case 0xA0:
  ------------------
  |  Branch (21127:13): [True: 22.9k, False: 905k]
  ------------------
21128|  25.9k|            case 0xA1:
  ------------------
  |  Branch (21128:13): [True: 2.96k, False: 925k]
  ------------------
21129|  28.1k|            case 0xA2:
  ------------------
  |  Branch (21129:13): [True: 2.27k, False: 926k]
  ------------------
21130|  29.2k|            case 0xA3:
  ------------------
  |  Branch (21130:13): [True: 1.10k, False: 927k]
  ------------------
21131|  32.1k|            case 0xA4:
  ------------------
  |  Branch (21131:13): [True: 2.87k, False: 925k]
  ------------------
21132|  32.6k|            case 0xA5:
  ------------------
  |  Branch (21132:13): [True: 527, False: 928k]
  ------------------
21133|  33.3k|            case 0xA6:
  ------------------
  |  Branch (21133:13): [True: 690, False: 927k]
  ------------------
21134|  34.0k|            case 0xA7:
  ------------------
  |  Branch (21134:13): [True: 668, False: 927k]
  ------------------
21135|  35.2k|            case 0xA8:
  ------------------
  |  Branch (21135:13): [True: 1.16k, False: 927k]
  ------------------
21136|  35.9k|            case 0xA9:
  ------------------
  |  Branch (21136:13): [True: 695, False: 927k]
  ------------------
21137|  36.4k|            case 0xAA:
  ------------------
  |  Branch (21137:13): [True: 545, False: 928k]
  ------------------
21138|  36.9k|            case 0xAB:
  ------------------
  |  Branch (21138:13): [True: 499, False: 928k]
  ------------------
21139|  37.5k|            case 0xAC:
  ------------------
  |  Branch (21139:13): [True: 611, False: 928k]
  ------------------
21140|  37.9k|            case 0xAD:
  ------------------
  |  Branch (21140:13): [True: 370, False: 928k]
  ------------------
21141|  38.1k|            case 0xAE:
  ------------------
  |  Branch (21141:13): [True: 241, False: 928k]
  ------------------
21142|  38.3k|            case 0xAF:
  ------------------
  |  Branch (21142:13): [True: 220, False: 928k]
  ------------------
21143|  39.0k|            case 0xB0:
  ------------------
  |  Branch (21143:13): [True: 639, False: 928k]
  ------------------
21144|  39.4k|            case 0xB1:
  ------------------
  |  Branch (21144:13): [True: 378, False: 928k]
  ------------------
21145|  39.8k|            case 0xB2:
  ------------------
  |  Branch (21145:13): [True: 411, False: 928k]
  ------------------
21146|  40.1k|            case 0xB3:
  ------------------
  |  Branch (21146:13): [True: 287, False: 928k]
  ------------------
21147|  40.5k|            case 0xB4:
  ------------------
  |  Branch (21147:13): [True: 471, False: 928k]
  ------------------
21148|  40.9k|            case 0xB5:
  ------------------
  |  Branch (21148:13): [True: 373, False: 928k]
  ------------------
21149|  41.1k|            case 0xB6:
  ------------------
  |  Branch (21149:13): [True: 243, False: 928k]
  ------------------
21150|  41.5k|            case 0xB7:
  ------------------
  |  Branch (21150:13): [True: 379, False: 928k]
  ------------------
21151|  41.8k|            case 0xB8:
  ------------------
  |  Branch (21151:13): [True: 288, False: 928k]
  ------------------
21152|  42.2k|            case 0xB9:
  ------------------
  |  Branch (21152:13): [True: 372, False: 928k]
  ------------------
21153|  42.4k|            case 0xBA:
  ------------------
  |  Branch (21153:13): [True: 246, False: 928k]
  ------------------
21154|  42.7k|            case 0xBB:
  ------------------
  |  Branch (21154:13): [True: 231, False: 928k]
  ------------------
21155|  42.9k|            case 0xBC:
  ------------------
  |  Branch (21155:13): [True: 282, False: 928k]
  ------------------
21156|  43.2k|            case 0xBD:
  ------------------
  |  Branch (21156:13): [True: 300, False: 928k]
  ------------------
21157|  43.4k|            case 0xBE:
  ------------------
  |  Branch (21157:13): [True: 190, False: 928k]
  ------------------
21158|  43.6k|            case 0xBF:
  ------------------
  |  Branch (21158:13): [True: 209, False: 928k]
  ------------------
21159|  47.3k|            case 0xD9: // str 8
  ------------------
  |  Branch (21159:13): [True: 3.71k, False: 924k]
  ------------------
21160|  49.8k|            case 0xDA: // str 16
  ------------------
  |  Branch (21160:13): [True: 2.43k, False: 926k]
  ------------------
21161|  51.2k|            case 0xDB: // str 32
  ------------------
  |  Branch (21161:13): [True: 1.44k, False: 927k]
  ------------------
21162|  51.2k|            {
21163|  51.2k|                string_t s;
21164|  51.2k|                return get_msgpack_string(s) && sax->string(s);
  ------------------
  |  Branch (21164:24): [True: 49.8k, False: 1.38k]
  |  Branch (21164:49): [True: 49.8k, False: 0]
  ------------------
21165|  49.8k|            }
21166|       |
21167|  10.3k|            case 0xC0: // nil
  ------------------
  |  Branch (21167:13): [True: 10.3k, False: 918k]
  ------------------
21168|  10.3k|                return sax->null();
21169|       |
21170|  6.08k|            case 0xC2: // false
  ------------------
  |  Branch (21170:13): [True: 6.08k, False: 922k]
  ------------------
21171|  6.08k|                return sax->boolean(false);
21172|       |
21173|  5.99k|            case 0xC3: // true
  ------------------
  |  Branch (21173:13): [True: 5.99k, False: 922k]
  ------------------
21174|  5.99k|                return sax->boolean(true);
21175|       |
21176|  45.3k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21176:13): [True: 45.3k, False: 883k]
  ------------------
21177|  48.2k|            case 0xC5: // bin 16
  ------------------
  |  Branch (21177:13): [True: 2.88k, False: 925k]
  ------------------
21178|  50.2k|            case 0xC6: // bin 32
  ------------------
  |  Branch (21178:13): [True: 2.00k, False: 926k]
  ------------------
21179|  51.5k|            case 0xC7: // ext 8
  ------------------
  |  Branch (21179:13): [True: 1.29k, False: 927k]
  ------------------
21180|  52.6k|            case 0xC8: // ext 16
  ------------------
  |  Branch (21180:13): [True: 1.08k, False: 927k]
  ------------------
21181|  53.3k|            case 0xC9: // ext 32
  ------------------
  |  Branch (21181:13): [True: 708, False: 927k]
  ------------------
21182|  60.2k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21182:13): [True: 6.92k, False: 921k]
  ------------------
21183|  61.6k|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21183:13): [True: 1.43k, False: 927k]
  ------------------
21184|  62.8k|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21184:13): [True: 1.17k, False: 927k]
  ------------------
21185|  63.6k|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21185:13): [True: 746, False: 927k]
  ------------------
21186|  64.0k|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21186:13): [True: 421, False: 928k]
  ------------------
21187|  64.0k|            {
21188|  64.0k|                binary_t b;
21189|  64.0k|                return get_msgpack_binary(b) && sax->binary(b);
  ------------------
  |  Branch (21189:24): [True: 62.9k, False: 1.11k]
  |  Branch (21189:49): [True: 62.9k, False: 0]
  ------------------
21190|  63.6k|            }
21191|       |
21192|  5.03k|            case 0xCA: // float 32
  ------------------
  |  Branch (21192:13): [True: 5.03k, False: 923k]
  ------------------
21193|  5.03k|            {
21194|  5.03k|                float number{};
21195|  5.03k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21195:24): [True: 4.96k, False: 69]
  |  Branch (21195:46): [True: 4.96k, False: 0]
  ------------------
21196|  63.6k|            }
21197|       |
21198|  2.43k|            case 0xCB: // float 64
  ------------------
  |  Branch (21198:13): [True: 2.43k, False: 926k]
  ------------------
21199|  2.43k|            {
21200|  2.43k|                double number{};
21201|  2.43k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21201:24): [True: 2.35k, False: 75]
  |  Branch (21201:46): [True: 2.35k, False: 0]
  ------------------
21202|  63.6k|            }
21203|       |
21204|  1.51k|            case 0xCC: // uint 8
  ------------------
  |  Branch (21204:13): [True: 1.51k, False: 927k]
  ------------------
21205|  1.51k|            {
21206|  1.51k|                std::uint8_t number{};
21207|  1.51k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21207:24): [True: 1.49k, False: 24]
  |  Branch (21207:46): [True: 1.49k, False: 0]
  ------------------
21208|  63.6k|            }
21209|       |
21210|    965|            case 0xCD: // uint 16
  ------------------
  |  Branch (21210:13): [True: 965, False: 927k]
  ------------------
21211|    965|            {
21212|    965|                std::uint16_t number{};
21213|    965|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21213:24): [True: 956, False: 9]
  |  Branch (21213:46): [True: 956, False: 0]
  ------------------
21214|  63.6k|            }
21215|       |
21216|    832|            case 0xCE: // uint 32
  ------------------
  |  Branch (21216:13): [True: 832, False: 927k]
  ------------------
21217|    832|            {
21218|    832|                std::uint32_t number{};
21219|    832|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21219:24): [True: 817, False: 15]
  |  Branch (21219:46): [True: 817, False: 0]
  ------------------
21220|  63.6k|            }
21221|       |
21222|  1.86k|            case 0xCF: // uint 64
  ------------------
  |  Branch (21222:13): [True: 1.86k, False: 926k]
  ------------------
21223|  1.86k|            {
21224|  1.86k|                std::uint64_t number{};
21225|  1.86k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21225:24): [True: 1.79k, False: 69]
  |  Branch (21225:46): [True: 1.79k, False: 0]
  ------------------
21226|  63.6k|            }
21227|       |
21228|  2.57k|            case 0xD0: // int 8
  ------------------
  |  Branch (21228:13): [True: 2.57k, False: 926k]
  ------------------
21229|  2.57k|            {
21230|  2.57k|                std::int8_t number{};
21231|  2.57k|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21231:24): [True: 2.55k, False: 21]
  |  Branch (21231:46): [True: 2.55k, False: 0]
  ------------------
21232|  63.6k|            }
21233|       |
21234|  1.31k|            case 0xD1: // int 16
  ------------------
  |  Branch (21234:13): [True: 1.31k, False: 927k]
  ------------------
21235|  1.31k|            {
21236|  1.31k|                std::int16_t number{};
21237|  1.31k|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21237:24): [True: 1.27k, False: 45]
  |  Branch (21237:46): [True: 1.27k, False: 0]
  ------------------
21238|  63.6k|            }
21239|       |
21240|  1.12k|            case 0xD2: // int 32
  ------------------
  |  Branch (21240:13): [True: 1.12k, False: 927k]
  ------------------
21241|  1.12k|            {
21242|  1.12k|                std::int32_t number{};
21243|  1.12k|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21243:24): [True: 1.05k, False: 69]
  |  Branch (21243:46): [True: 1.05k, False: 0]
  ------------------
21244|  63.6k|            }
21245|       |
21246|  1.93k|            case 0xD3: // int 64
  ------------------
  |  Branch (21246:13): [True: 1.93k, False: 926k]
  ------------------
21247|  1.93k|            {
21248|  1.93k|                std::int64_t number{};
21249|  1.93k|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21249:24): [True: 1.86k, False: 75]
  |  Branch (21249:46): [True: 1.86k, False: 0]
  ------------------
21250|  63.6k|            }
21251|       |
21252|  10.7k|            case 0xDC: // array 16
  ------------------
  |  Branch (21252:13): [True: 10.7k, False: 917k]
  ------------------
21253|  10.7k|            {
21254|  10.7k|                std::uint16_t len{};
21255|  10.7k|                return get_number(len) && enter_msgpack_array(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21255:24): [True: 10.7k, False: 39]
  |  Branch (21255:43): [True: 10.7k, False: 0]
  ------------------
21256|  63.6k|            }
21257|       |
21258|  2.09k|            case 0xDD: // array 32
  ------------------
  |  Branch (21258:13): [True: 2.09k, False: 926k]
  ------------------
21259|  2.09k|            {
21260|  2.09k|                std::uint32_t len{};
21261|  2.09k|                std::size_t size{};
21262|  2.09k|                return get_number(len) && get_container_size(len, size, "array") && enter_msgpack_array(size);
  ------------------
  |  Branch (21262:24): [True: 2.05k, False: 42]
  |  Branch (21262:43): [True: 2.05k, False: 0]
  |  Branch (21262:85): [True: 2.05k, False: 0]
  ------------------
21263|  63.6k|            }
21264|       |
21265|  1.78k|            case 0xDE: // map 16
  ------------------
  |  Branch (21265:13): [True: 1.78k, False: 926k]
  ------------------
21266|  1.78k|            {
21267|  1.78k|                std::uint16_t len{};
21268|  1.78k|                return get_number(len) && enter_object(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21268:24): [True: 1.78k, False: 3]
  |  Branch (21268:43): [True: 1.78k, False: 0]
  ------------------
21269|  63.6k|            }
21270|       |
21271|    738|            case 0xDF: // map 32
  ------------------
  |  Branch (21271:13): [True: 738, False: 927k]
  ------------------
21272|    738|            {
21273|    738|                std::uint32_t len{};
21274|    738|                std::size_t size{};
21275|    738|                return get_number(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (21275:24): [True: 729, False: 9]
  |  Branch (21275:43): [True: 729, False: 0]
  |  Branch (21275:83): [True: 729, False: 0]
  ------------------
21276|  63.6k|            }
21277|       |
21278|       |            // negative fixint
21279|  2.34k|            case 0xE0:
  ------------------
  |  Branch (21279:13): [True: 2.34k, False: 926k]
  ------------------
21280|  4.32k|            case 0xE1:
  ------------------
  |  Branch (21280:13): [True: 1.97k, False: 926k]
  ------------------
21281|  5.26k|            case 0xE2:
  ------------------
  |  Branch (21281:13): [True: 942, False: 927k]
  ------------------
21282|  6.28k|            case 0xE3:
  ------------------
  |  Branch (21282:13): [True: 1.02k, False: 927k]
  ------------------
21283|  7.55k|            case 0xE4:
  ------------------
  |  Branch (21283:13): [True: 1.26k, False: 927k]
  ------------------
21284|  9.20k|            case 0xE5:
  ------------------
  |  Branch (21284:13): [True: 1.64k, False: 927k]
  ------------------
21285|  10.2k|            case 0xE6:
  ------------------
  |  Branch (21285:13): [True: 1.08k, False: 927k]
  ------------------
21286|  11.4k|            case 0xE7:
  ------------------
  |  Branch (21286:13): [True: 1.21k, False: 927k]
  ------------------
21287|  12.5k|            case 0xE8:
  ------------------
  |  Branch (21287:13): [True: 1.04k, False: 927k]
  ------------------
21288|  13.6k|            case 0xE9:
  ------------------
  |  Branch (21288:13): [True: 1.15k, False: 927k]
  ------------------
21289|  15.0k|            case 0xEA:
  ------------------
  |  Branch (21289:13): [True: 1.36k, False: 927k]
  ------------------
21290|  15.9k|            case 0xEB:
  ------------------
  |  Branch (21290:13): [True: 929, False: 927k]
  ------------------
21291|  18.5k|            case 0xEC:
  ------------------
  |  Branch (21291:13): [True: 2.56k, False: 926k]
  ------------------
21292|  19.7k|            case 0xED:
  ------------------
  |  Branch (21292:13): [True: 1.16k, False: 927k]
  ------------------
21293|  21.2k|            case 0xEE:
  ------------------
  |  Branch (21293:13): [True: 1.54k, False: 927k]
  ------------------
21294|  22.2k|            case 0xEF:
  ------------------
  |  Branch (21294:13): [True: 1.00k, False: 927k]
  ------------------
21295|  23.6k|            case 0xF0:
  ------------------
  |  Branch (21295:13): [True: 1.39k, False: 927k]
  ------------------
21296|  24.7k|            case 0xF1:
  ------------------
  |  Branch (21296:13): [True: 1.06k, False: 927k]
  ------------------
21297|  25.9k|            case 0xF2:
  ------------------
  |  Branch (21297:13): [True: 1.23k, False: 927k]
  ------------------
21298|  27.0k|            case 0xF3:
  ------------------
  |  Branch (21298:13): [True: 1.04k, False: 927k]
  ------------------
21299|  28.2k|            case 0xF4:
  ------------------
  |  Branch (21299:13): [True: 1.22k, False: 927k]
  ------------------
21300|  29.2k|            case 0xF5:
  ------------------
  |  Branch (21300:13): [True: 1.01k, False: 927k]
  ------------------
21301|  30.3k|            case 0xF6:
  ------------------
  |  Branch (21301:13): [True: 1.10k, False: 927k]
  ------------------
21302|  32.0k|            case 0xF7:
  ------------------
  |  Branch (21302:13): [True: 1.72k, False: 926k]
  ------------------
21303|  34.1k|            case 0xF8:
  ------------------
  |  Branch (21303:13): [True: 2.02k, False: 926k]
  ------------------
21304|  35.1k|            case 0xF9:
  ------------------
  |  Branch (21304:13): [True: 1.08k, False: 927k]
  ------------------
21305|  36.6k|            case 0xFA:
  ------------------
  |  Branch (21305:13): [True: 1.48k, False: 927k]
  ------------------
21306|  38.7k|            case 0xFB:
  ------------------
  |  Branch (21306:13): [True: 2.05k, False: 926k]
  ------------------
21307|  40.6k|            case 0xFC:
  ------------------
  |  Branch (21307:13): [True: 1.90k, False: 926k]
  ------------------
21308|  42.4k|            case 0xFD:
  ------------------
  |  Branch (21308:13): [True: 1.86k, False: 926k]
  ------------------
21309|  44.2k|            case 0xFE:
  ------------------
  |  Branch (21309:13): [True: 1.71k, False: 926k]
  ------------------
21310|  56.7k|            case 0xFF:
  ------------------
  |  Branch (21310:13): [True: 12.5k, False: 916k]
  ------------------
21311|  56.7k|                return sax->number_integer(static_cast<std::int8_t>(current));
21312|       |
21313|      6|            default: // anything else
  ------------------
  |  Branch (21313:13): [True: 6, False: 928k]
  ------------------
21314|      6|            {
21315|      6|                return unexpected_byte("invalid byte", "value");
21316|  44.2k|            }
21317|   928k|        }
21318|   928k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE19enter_msgpack_arrayEm:
21725|   460k|    {
21726|   460k|        return enter_array(len) && (len <= 1 || parse_msgpack_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (21726:16): [True: 460k, False: 0]
  |  Branch (21726:37): [True: 386k, False: 73.5k]
  |  Branch (21726:49): [True: 73.5k, False: 0]
  ------------------
21727|   460k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE24parse_msgpack_scalar_runENS4_17integral_constantIbLb1EEE:
21623|  73.5k|    {
21624|       |        // nothing pushes onto the stack while the run reads scalars
21625|  73.5k|        std::size_t& remaining = container_stack.back().remaining;
21626|   223k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (21626:16): [True: 220k, False: 3.06k]
  |  Branch (21626:34): [True: 207k, False: 13.0k]
  ------------------
21627|   207k|        {
21628|   207k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
21629|   207k|            const unsigned char head = data[0];
21630|   207k|            bool accepted = false;
21631|   207k|            switch (head)
21632|   207k|            {
21633|  4.41k|                case 0xC0: // nil
  ------------------
  |  Branch (21633:17): [True: 4.41k, False: 202k]
  ------------------
21634|  4.41k|                    bulk_advance(1, head);
21635|  4.41k|                    accepted = sax->null();
21636|  4.41k|                    break;
21637|  2.43k|                case 0xC2: // false
  ------------------
  |  Branch (21637:17): [True: 2.43k, False: 204k]
  ------------------
21638|  2.43k|                    bulk_advance(1, head);
21639|  2.43k|                    accepted = sax->boolean(false);
21640|  2.43k|                    break;
21641|  2.80k|                case 0xC3: // true
  ------------------
  |  Branch (21641:17): [True: 2.80k, False: 204k]
  ------------------
21642|  2.80k|                    bulk_advance(1, head);
21643|  2.80k|                    accepted = sax->boolean(true);
21644|  2.80k|                    break;
21645|  6.56k|                case 0xCA: // float 32
  ------------------
  |  Branch (21645:17): [True: 6.56k, False: 200k]
  ------------------
21646|  6.56k|                    bulk_advance(5, head);
21647|  6.56k|                    accepted = emit_float(load_big_endian<float>(data + 1));
21648|  6.56k|                    break;
21649|  2.56k|                case 0xCB: // float 64
  ------------------
  |  Branch (21649:17): [True: 2.56k, False: 204k]
  ------------------
21650|  2.56k|                    bulk_advance(9, head);
21651|  2.56k|                    accepted = emit_float(load_big_endian<double>(data + 1));
21652|  2.56k|                    break;
21653|  1.45k|                case 0xCC: // uint 8
  ------------------
  |  Branch (21653:17): [True: 1.45k, False: 205k]
  ------------------
21654|  1.45k|                    bulk_advance(2, head);
21655|  1.45k|                    accepted = emit_unsigned(data[1]);
21656|  1.45k|                    break;
21657|  1.32k|                case 0xCD: // uint 16
  ------------------
  |  Branch (21657:17): [True: 1.32k, False: 206k]
  ------------------
21658|  1.32k|                    bulk_advance(3, head);
21659|  1.32k|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
21660|  1.32k|                    break;
21661|    702|                case 0xCE: // uint 32
  ------------------
  |  Branch (21661:17): [True: 702, False: 206k]
  ------------------
21662|    702|                    bulk_advance(5, head);
21663|    702|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
21664|    702|                    break;
21665|  1.29k|                case 0xCF: // uint 64
  ------------------
  |  Branch (21665:17): [True: 1.29k, False: 206k]
  ------------------
21666|  1.29k|                    bulk_advance(9, head);
21667|  1.29k|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
21668|  1.29k|                    break;
21669|  1.53k|                case 0xD0: // int 8
  ------------------
  |  Branch (21669:17): [True: 1.53k, False: 205k]
  ------------------
21670|  1.53k|                    bulk_advance(2, head);
21671|  1.53k|                    accepted = emit_signed(static_cast<std::int8_t>(data[1]));
21672|  1.53k|                    break;
21673|  1.46k|                case 0xD1: // int 16
  ------------------
  |  Branch (21673:17): [True: 1.46k, False: 205k]
  ------------------
21674|  1.46k|                    bulk_advance(3, head);
21675|  1.46k|                    accepted = emit_signed(load_big_endian<std::int16_t>(data + 1));
21676|  1.46k|                    break;
21677|  1.13k|                case 0xD2: // int 32
  ------------------
  |  Branch (21677:17): [True: 1.13k, False: 206k]
  ------------------
21678|  1.13k|                    bulk_advance(5, head);
21679|  1.13k|                    accepted = emit_signed(load_big_endian<std::int32_t>(data + 1));
21680|  1.13k|                    break;
21681|  1.37k|                case 0xD3: // int 64
  ------------------
  |  Branch (21681:17): [True: 1.37k, False: 206k]
  ------------------
21682|  1.37k|                    bulk_advance(9, head);
21683|  1.37k|                    accepted = emit_signed(load_big_endian<std::int64_t>(data + 1));
21684|  1.37k|                    break;
21685|   178k|                default:
  ------------------
  |  Branch (21685:17): [True: 178k, False: 29.0k]
  ------------------
21686|   178k|                    if (head <= 0x7F)
  ------------------
  |  Branch (21686:25): [True: 91.3k, False: 87.0k]
  ------------------
21687|  91.3k|                    {
21688|       |                        // positive fixint
21689|  91.3k|                        bulk_advance(1, head);
21690|  91.3k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
21691|  91.3k|                    }
21692|  87.0k|                    else if (head >= 0xE0)
  ------------------
  |  Branch (21692:30): [True: 29.6k, False: 57.3k]
  ------------------
21693|  29.6k|                    {
21694|       |                        // negative fixint
21695|  29.6k|                        bulk_advance(1, head);
21696|  29.6k|                        accepted = sax->number_integer(static_cast<std::int8_t>(head));
21697|  29.6k|                    }
21698|  57.3k|                    else
21699|  57.3k|                    {
21700|       |                        // any other value is read by parse_msgpack_value
21701|  57.3k|                        return true;
21702|  57.3k|                    }
21703|   120k|                    break;
21704|   207k|            }
21705|   149k|            --remaining;
21706|   149k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|   149k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 149k]
  |  |  ------------------
  ------------------
21707|      0|            {
21708|      0|                return false;
21709|      0|            }
21710|   149k|        }
21711|  16.1k|        return true;
21712|  73.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIsEET_SJ_:
20670|  1.46k|    {
20671|  1.46k|        NumberType result{};
20672|  1.46k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.46k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.46k, False: 0]
  ------------------
20674|  1.46k|        {
20675|  1.46k|            byte_swap(result);
20676|  1.46k|        }
20677|  1.46k|        return result;
20678|  1.46k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIsEEvRT_:
23555|  2.73k|    {
23556|  2.73k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  2.73k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  5.46k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 2.73k, False: 2.73k]
  ------------------
23572|  2.73k|            {
23573|  2.73k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  2.73k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.73k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIiEET_SJ_:
20670|  1.13k|    {
20671|  1.13k|        NumberType result{};
20672|  1.13k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.13k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.13k, False: 0]
  ------------------
20674|  1.13k|        {
20675|  1.13k|            byte_swap(result);
20676|  1.13k|        }
20677|  1.13k|        return result;
20678|  1.13k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15load_big_endianIlEET_SJ_:
20670|  1.37k|    {
20671|  1.37k|        NumberType result{};
20672|  1.37k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.37k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.37k, False: 0]
  ------------------
20674|  1.37k|        {
20675|  1.37k|            byte_swap(result);
20676|  1.37k|        }
20677|  1.37k|        return result;
20678|  1.37k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EE:
21499|  64.0k|    {
21500|       |        // helper function to set the subtype
21501|  64.0k|        auto assign_and_return_true = [&result](std::int8_t subtype)
21502|  64.0k|        {
21503|  64.0k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  64.0k|            return true;
21505|  64.0k|        };
21506|       |
21507|  64.0k|        switch (current)
21508|  64.0k|        {
21509|  45.3k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21509:13): [True: 45.3k, False: 18.6k]
  ------------------
21510|  45.3k|            {
21511|  45.3k|                std::uint8_t len{};
21512|  45.3k|                return get_number(len) &&
  ------------------
  |  Branch (21512:24): [True: 45.3k, False: 33]
  ------------------
21513|  45.3k|                       get_binary(len, result);
  ------------------
  |  Branch (21513:24): [True: 45.2k, False: 87]
  ------------------
21514|      0|            }
21515|       |
21516|  2.88k|            case 0xC5: // bin 16
  ------------------
  |  Branch (21516:13): [True: 2.88k, False: 61.1k]
  ------------------
21517|  2.88k|            {
21518|  2.88k|                std::uint16_t len{};
21519|  2.88k|                return get_number(len) &&
  ------------------
  |  Branch (21519:24): [True: 2.83k, False: 54]
  ------------------
21520|  2.83k|                       get_binary(len, result);
  ------------------
  |  Branch (21520:24): [True: 2.67k, False: 156]
  ------------------
21521|      0|            }
21522|       |
21523|  2.00k|            case 0xC6: // bin 32
  ------------------
  |  Branch (21523:13): [True: 2.00k, False: 62.0k]
  ------------------
21524|  2.00k|            {
21525|  2.00k|                std::uint32_t len{};
21526|  2.00k|                return get_number(len) &&
  ------------------
  |  Branch (21526:24): [True: 1.94k, False: 57]
  ------------------
21527|  1.94k|                       get_binary(len, result);
  ------------------
  |  Branch (21527:24): [True: 1.65k, False: 288]
  ------------------
21528|      0|            }
21529|       |
21530|  1.29k|            case 0xC7: // ext 8
  ------------------
  |  Branch (21530:13): [True: 1.29k, False: 62.7k]
  ------------------
21531|  1.29k|            {
21532|  1.29k|                std::uint8_t len{};
21533|  1.29k|                std::int8_t subtype{};
21534|  1.29k|                return get_number(len) &&
  ------------------
  |  Branch (21534:24): [True: 1.28k, False: 12]
  ------------------
21535|  1.28k|                       get_number(subtype) &&
  ------------------
  |  Branch (21535:24): [True: 1.26k, False: 18]
  ------------------
21536|  1.26k|                       get_binary(len, result) &&
  ------------------
  |  Branch (21536:24): [True: 1.25k, False: 9]
  ------------------
21537|  1.25k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21537:24): [True: 1.25k, False: 0]
  ------------------
21538|      0|            }
21539|       |
21540|  1.08k|            case 0xC8: // ext 16
  ------------------
  |  Branch (21540:13): [True: 1.08k, False: 62.9k]
  ------------------
21541|  1.08k|            {
21542|  1.08k|                std::uint16_t len{};
21543|  1.08k|                std::int8_t subtype{};
21544|  1.08k|                return get_number(len) &&
  ------------------
  |  Branch (21544:24): [True: 1.04k, False: 45]
  ------------------
21545|  1.04k|                       get_number(subtype) &&
  ------------------
  |  Branch (21545:24): [True: 1.01k, False: 24]
  ------------------
21546|  1.01k|                       get_binary(len, result) &&
  ------------------
  |  Branch (21546:24): [True: 996, False: 21]
  ------------------
21547|    996|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21547:24): [True: 996, False: 0]
  ------------------
21548|      0|            }
21549|       |
21550|    708|            case 0xC9: // ext 32
  ------------------
  |  Branch (21550:13): [True: 708, False: 63.3k]
  ------------------
21551|    708|            {
21552|    708|                std::uint32_t len{};
21553|    708|                std::int8_t subtype{};
21554|    708|                return get_number(len) &&
  ------------------
  |  Branch (21554:24): [True: 666, False: 42]
  ------------------
21555|    666|                       get_number(subtype) &&
  ------------------
  |  Branch (21555:24): [True: 645, False: 21]
  ------------------
21556|    645|                       get_binary(len, result) &&
  ------------------
  |  Branch (21556:24): [True: 618, False: 27]
  ------------------
21557|    618|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21557:24): [True: 618, False: 0]
  ------------------
21558|      0|            }
21559|       |
21560|  6.92k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21560:13): [True: 6.92k, False: 57.1k]
  ------------------
21561|  6.92k|            {
21562|  6.92k|                std::int8_t subtype{};
21563|  6.92k|                return get_number(subtype) &&
  ------------------
  |  Branch (21563:24): [True: 6.90k, False: 21]
  ------------------
21564|  6.90k|                       get_binary(1, result) &&
  ------------------
  |  Branch (21564:24): [True: 6.88k, False: 24]
  ------------------
21565|  6.88k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21565:24): [True: 6.88k, False: 0]
  ------------------
21566|      0|            }
21567|       |
21568|  1.43k|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21568:13): [True: 1.43k, False: 62.6k]
  ------------------
21569|  1.43k|            {
21570|  1.43k|                std::int8_t subtype{};
21571|  1.43k|                return get_number(subtype) &&
  ------------------
  |  Branch (21571:24): [True: 1.41k, False: 15]
  ------------------
21572|  1.41k|                       get_binary(2, result) &&
  ------------------
  |  Branch (21572:24): [True: 1.39k, False: 18]
  ------------------
21573|  1.39k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21573:24): [True: 1.39k, False: 0]
  ------------------
21574|      0|            }
21575|       |
21576|  1.17k|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21576:13): [True: 1.17k, False: 62.8k]
  ------------------
21577|  1.17k|            {
21578|  1.17k|                std::int8_t subtype{};
21579|  1.17k|                return get_number(subtype) &&
  ------------------
  |  Branch (21579:24): [True: 1.16k, False: 18]
  ------------------
21580|  1.16k|                       get_binary(4, result) &&
  ------------------
  |  Branch (21580:24): [True: 1.13k, False: 21]
  ------------------
21581|  1.13k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21581:24): [True: 1.13k, False: 0]
  ------------------
21582|      0|            }
21583|       |
21584|    746|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21584:13): [True: 746, False: 63.2k]
  ------------------
21585|    746|            {
21586|    746|                std::int8_t subtype{};
21587|    746|                return get_number(subtype) &&
  ------------------
  |  Branch (21587:24): [True: 734, False: 12]
  ------------------
21588|    734|                       get_binary(8, result) &&
  ------------------
  |  Branch (21588:24): [True: 707, False: 27]
  ------------------
21589|    707|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21589:24): [True: 707, False: 0]
  ------------------
21590|      0|            }
21591|       |
21592|    421|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21592:13): [True: 421, False: 63.6k]
  ------------------
21593|    421|            {
21594|    421|                std::int8_t subtype{};
21595|    421|                return get_number(subtype) &&
  ------------------
  |  Branch (21595:24): [True: 403, False: 18]
  ------------------
21596|    403|                       get_binary(16, result) &&
  ------------------
  |  Branch (21596:24): [True: 358, False: 45]
  ------------------
21597|    358|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21597:24): [True: 358, False: 0]
  ------------------
21598|      0|            }
21599|       |
21600|      0|            default:           // LCOV_EXCL_LINE
  ------------------
  |  Branch (21600:13): [True: 0, False: 64.0k]
  ------------------
21601|      0|                return false;  // LCOV_EXCL_LINE
21602|  64.0k|        }
21603|  64.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_binaryIhEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  46.5k|    {
23868|  46.5k|        return get_bytes(len, "binary", result);
23869|  46.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_binaryItEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  3.84k|    {
23868|  3.84k|        return get_bytes(len, "binary", result);
23869|  3.84k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EEENKUlaE_clEa:
21502|  13.3k|        {
21503|  13.3k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  13.3k|            return true;
21505|  13.3k|        };
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIaLb0EEEbRT_:
23596|  16.2k|    {
23597|       |        // read in the original format
23598|       |
23599|  16.2k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  16.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 56, False: 16.2k]
  |  |  ------------------
  ------------------
23600|     56|        {
23601|     56|            return false;
23602|     56|        }
23603|  16.2k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 16.0k, False: 112]
  |  Branch (23603:34): [Folded, False: 16.0k]
  |  Branch (23603:57): [True: 0, False: 16.0k]
  ------------------
23604|  16.0k|        {
23605|  16.0k|            byte_swap(result);
23606|  16.0k|        }
23607|  16.2k|        return true;
23608|  16.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIaEEbRT_PKc:
23503|  16.2k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  16.2k|        auto new_chars_read = ia.get_elements(&dest);
23507|  16.2k|        chars_read += new_chars_read;
23508|  16.2k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  16.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 168, False: 16.0k]
  |  |  ------------------
  ------------------
23509|    168|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    168|            ++chars_read;
23512|    168|            static_cast<void>(report_eof(context));
23513|    168|            return false;
23514|    168|        }
23515|  16.0k|        return true;
23516|  16.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIaEEmPT_m:
10326|  16.2k|    {
10327|  16.2k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  16.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIaEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  16.2k|    {
10385|  16.2k|        const std::size_t wanted = count * sizeof(T);
10386|  16.2k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  16.2k|        const std::size_t copied = (std::min)(wanted, available);
10388|  16.2k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  16.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 16.0k, False: 168]
  |  |  ------------------
  ------------------
10389|  16.0k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  16.0k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  16.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 16.0k, False: 0]
  ------------------
10394|  16.0k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  16.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 16.0k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  16.0k|            std::memcpy(dest, &*current, copied);
10398|  16.0k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  16.0k|        }
10400|  16.2k|        return copied;
10401|  16.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE9byte_swapIaEEvRT_:
23555|  16.0k|    {
23556|  16.0k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  16.0k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  16.0k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 16.0k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  16.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE11emit_signedIaEEbT_:
23628|  4.08k|    {
23629|  4.08k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  4.08k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 4.08k, False: 0]
  |  |  ------------------
  ------------------
23630|  4.08k|        {
23631|  4.08k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  4.08k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIlaEEbT0_:
 5316|  8.10k|{
 5317|  8.10k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  8.10k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IlaLb1EvE4testEa:
 5309|  8.10k|    {
 5310|  8.10k|        return true;
 5311|  8.10k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIsLb0EEEbRT_:
23596|  1.31k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.31k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.31k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 1.30k]
  |  |  ------------------
  ------------------
23600|     15|        {
23601|     15|            return false;
23602|     15|        }
23603|  1.30k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.27k, False: 30]
  |  Branch (23603:34): [Folded, False: 1.27k]
  |  Branch (23603:57): [True: 0, False: 1.27k]
  ------------------
23604|  1.27k|        {
23605|  1.27k|            byte_swap(result);
23606|  1.27k|        }
23607|  1.30k|        return true;
23608|  1.31k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE6get_toIsEEbRT_PKc:
23503|  1.31k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.31k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.31k|        chars_read += new_chars_read;
23508|  1.31k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.31k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 45, False: 1.27k]
  |  |  ------------------
  ------------------
23509|     45|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     45|            ++chars_read;
23512|     45|            static_cast<void>(report_eof(context));
23513|     45|            return false;
23514|     45|        }
23515|  1.27k|        return true;
23516|  1.31k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIsEEmPT_m:
10326|  1.31k|    {
10327|  1.31k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.31k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIsEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.31k|    {
10385|  1.31k|        const std::size_t wanted = count * sizeof(T);
10386|  1.31k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.31k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.31k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.31k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.29k, False: 27]
  |  |  ------------------
  ------------------
10389|  1.29k|        {
10390|       |            // the copy must stay within both buffers: the caller-provided
10391|       |            // destination holds `wanted` bytes and the remaining input range
10392|       |            // holds `available` bytes, and `copied` is the minimum of the two
10393|  1.29k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  1.29k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 1.29k, False: 0]
  ------------------
10394|  1.29k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  1.29k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 1.29k, False: 0]
  ------------------
10395|       |            // &*current yields the raw address for both raw pointers and
10396|       |            // non-pointer contiguous iterators (e.g. std::vector's iterator)
10397|  1.29k|            std::memcpy(dest, &*current, copied);
10398|  1.29k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  1.29k|        }
10400|  1.31k|        return copied;
10401|  1.31k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE11emit_signedIsEEbT_:
23628|  2.73k|    {
23629|  2.73k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  2.73k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.73k, False: 0]
  |  |  ------------------
  ------------------
23630|  2.73k|        {
23631|  2.73k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  2.73k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIlsEEbT0_:
 5316|  5.31k|{
 5317|  5.31k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  5.31k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IlsLb1EvE4testEs:
 5309|  5.31k|    {
 5310|  5.31k|        return true;
 5311|  5.31k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIiLb0EEEbRT_:
23596|  1.12k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.12k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.12k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 1.09k]
  |  |  ------------------
  ------------------
23600|     23|        {
23601|     23|            return false;
23602|     23|        }
23603|  1.09k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.05k, False: 46]
  |  Branch (23603:34): [Folded, False: 1.05k]
  |  Branch (23603:57): [True: 0, False: 1.05k]
  ------------------
23604|  1.05k|        {
23605|  1.05k|            byte_swap(result);
23606|  1.05k|        }
23607|  1.09k|        return true;
23608|  1.12k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE10get_numberIlLb0EEEbRT_:
23596|  1.93k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.93k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.93k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 1.91k]
  |  |  ------------------
  ------------------
23600|     25|        {
23601|     25|            return false;
23602|     25|        }
23603|  1.91k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.86k, False: 50]
  |  Branch (23603:34): [Folded, False: 1.86k]
  |  Branch (23603:57): [True: 0, False: 1.86k]
  ------------------
23604|  1.86k|        {
23605|  1.86k|            byte_swap(result);
23606|  1.86k|        }
23607|  1.91k|        return true;
23608|  1.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcEC2Ev:
 9400|  19.2k|    token_text_buffer() = default;
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcED2Ev:
 9416|  38.5k|    ~token_text_buffer() = default;
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE15last_byte_errorENS1_12exception_idERKSC_PKcSS_:
24055|    975|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    975|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    975|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 6, False: 969]
  ------------------
24059|    975|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRKS9_RPKcRA16_SC_S9_EEET_DpOT0_:
 5537|  1.93k|{
 5538|  1.93k|    OutStringType str;
 5539|  1.93k|    str.reserve(concat_length(args...));
 5540|  1.93k|    concat_into(str, std::forward<Args>(args)...);
 5541|  1.93k|    return str;
 5542|  1.93k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJPKcA16_cS9_EEEmRKT_DpRKT0_:
 5447|  1.93k|{
 5448|  1.93k|    return str.size() + concat_length(rest...);
 5449|  1.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JRPKcRA16_SC_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|  1.93k|{
 5501|  1.93k|    out.append(std::forward<Arg>(arg));
 5502|  1.93k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE3getEv:
23488|  1.05M|    {
23489|  1.05M|        ++chars_read;
23490|  1.05M|        return current = ia.get_character();
23491|  1.05M|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E13get_characterEv:
10272|  1.05M|    {
10273|  1.05M|        if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  1.05M|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.02M, False: 30.0k]
  |  |  ------------------
  ------------------
10274|  1.02M|        {
10275|  1.02M|            auto result = char_traits<char_type>::to_int_type(*current);
10276|  1.02M|            std::advance(current, 1);
10277|  1.02M|            return result;
10278|  1.02M|        }
10279|       |
10280|  30.0k|        ++eof_reads;
10281|  30.0k|        return char_traits<char_type>::eof();
10282|  1.05M|    }
_ZN8nlohmann16json_abi_v3_12_06detail11char_traitsIhE11to_int_typeEh:
 4453|  1.36M|    {
 4454|  1.36M|        return static_cast<int_type>(c);
 4455|  1.36M|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE16position_bindingD2Ev:
19134|  34.1k|        {
19135|  34.1k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 34.1k, False: 0]
  ------------------
19136|  34.1k|            {
19137|  34.1k|                parser->set_reserve_state(saved);
19138|  34.1k|            }
19139|  34.1k|        }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state17set_reserve_stateERKNS2_13reserve_stateE:
16673|  63.1k|    {
16674|  63.1k|        input_position = state.position;
16675|  63.1k|        credit_position = state.position_at_refill;
16676|  63.1k|        reserve_credit = state.credit;
16677|  63.1k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ENS0_6detail7value_tE:
42516|   950k|        : m_data(stored_kind(v))
42517|   950k|    {
42518|   950k|        assert_invariant();
42519|   950k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE11stored_kindENS0_6detail7value_tE:
40726|   950k|    {
40727|   950k|        return (std::is_same<number_integer_t, number_unsigned_t>::value && t == value_t::number_unsigned) ? value_t::number_integer : t;
  ------------------
  |  Branch (40727:17): [Folded, False: 950k]
  |  Branch (40727:77): [True: 0, False: 0]
  ------------------
40728|   950k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2ENS0_6detail7value_tE:
46514|   950k|            : m_type(v), m_value(v)
46515|   950k|        {
46516|   950k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ENS0_6detail7value_tE:
40813|   950k|        {
40814|   950k|            switch (t)
40815|   950k|            {
40816|   115k|                case value_t::object:
  ------------------
  |  Branch (40816:17): [True: 115k, False: 834k]
  ------------------
40817|   945k|                case value_t::array:
  ------------------
  |  Branch (40817:17): [True: 829k, False: 120k]
  ------------------
40818|   945k|                case value_t::string:
  ------------------
  |  Branch (40818:17): [True: 0, False: 950k]
  ------------------
40819|   945k|                case value_t::binary:
  ------------------
  |  Branch (40819:17): [True: 0, False: 950k]
  ------------------
40820|   945k|                {
40821|       |                    // allocating: kept out of line, so the scalar cases below inline
40822|   945k|                    init_owned(t);
40823|   945k|                    break;
40824|   945k|                }
40825|       |
40826|      0|                case value_t::boolean:
  ------------------
  |  Branch (40826:17): [True: 0, False: 950k]
  ------------------
40827|      0|                {
40828|      0|                    boolean = static_cast<boolean_t>(false);
40829|      0|                    break;
40830|   945k|                }
40831|       |
40832|      0|                case value_t::number_integer:
  ------------------
  |  Branch (40832:17): [True: 0, False: 950k]
  ------------------
40833|      0|                {
40834|      0|                    number_integer = static_cast<number_integer_t>(0);
40835|      0|                    break;
40836|   945k|                }
40837|       |
40838|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (40838:17): [True: 0, False: 950k]
  ------------------
40839|      0|                {
40840|      0|                    number_unsigned = static_cast<number_unsigned_t>(0);
40841|      0|                    break;
40842|   945k|                }
40843|       |
40844|      0|                case value_t::number_float:
  ------------------
  |  Branch (40844:17): [True: 0, False: 950k]
  ------------------
40845|      0|                {
40846|      0|                    number_float = static_cast<number_float_t>(0.0);
40847|      0|                    break;
40848|   945k|                }
40849|       |
40850|      0|                case value_t::null:
  ------------------
  |  Branch (40850:17): [True: 0, False: 950k]
  ------------------
40851|      0|                {
40852|      0|                    object = nullptr;  // silence warning, see #821
40853|      0|                    break;
40854|   945k|                }
40855|       |
40856|  4.39k|                case value_t::discarded:
  ------------------
  |  Branch (40856:17): [True: 4.39k, False: 945k]
  ------------------
40857|  4.39k|                default:
  ------------------
  |  Branch (40857:17): [True: 0, False: 950k]
  ------------------
40858|  4.39k|                {
40859|  4.39k|                    object = nullptr;  // silence warning, see #821
40860|  4.39k|                    if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
  ------------------
  |  | 1697|  4.39k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.39k]
  |  |  ------------------
  ------------------
40861|      0|                    {
40862|      0|                        detail::throw_literal<other_error>(detail::exception_id::internal_error, "961c151d2e87f2686a955a9be24d316f1362bf21 3.12.0", nullptr); // LCOV_EXCL_LINE
40863|      0|                    }
40864|  4.39k|                    break;
40865|  4.39k|                }
40866|   950k|            }
40867|   950k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value10init_ownedENS0_6detail7value_tE:
40871|   945k|        {
40872|   945k|            switch (t)
40873|   945k|            {
40874|   115k|                case value_t::object:
  ------------------
  |  Branch (40874:17): [True: 115k, False: 829k]
  ------------------
40875|   115k|                    object = create<object_t>();
40876|   115k|                    break;
40877|   829k|                case value_t::array:
  ------------------
  |  Branch (40877:17): [True: 829k, False: 115k]
  ------------------
40878|   829k|                    array = create<array_t>();
40879|   829k|                    break;
40880|      0|                case value_t::string:
  ------------------
  |  Branch (40880:17): [True: 0, False: 945k]
  ------------------
40881|      0|                    string = create<string_t>("");
40882|      0|                    break;
40883|      0|                case value_t::binary:
  ------------------
  |  Branch (40883:17): [True: 0, False: 945k]
  ------------------
40884|      0|                    binary = create<binary_t>();
40885|      0|                    break;
40886|      0|                case value_t::null: // LCOV_EXCL_LINE
  ------------------
  |  Branch (40886:17): [True: 0, False: 945k]
  ------------------
40887|      0|                case value_t::boolean:
  ------------------
  |  Branch (40887:17): [True: 0, False: 945k]
  ------------------
40888|      0|                case value_t::number_integer:
  ------------------
  |  Branch (40888:17): [True: 0, False: 945k]
  ------------------
40889|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (40889:17): [True: 0, False: 945k]
  ------------------
40890|      0|                case value_t::number_float:
  ------------------
  |  Branch (40890:17): [True: 0, False: 945k]
  ------------------
40891|      0|                case value_t::discarded:
  ------------------
  |  Branch (40891:17): [True: 0, False: 945k]
  ------------------
40892|      0|                default:
  ------------------
  |  Branch (40892:17): [True: 0, False: 945k]
  ------------------
40893|      0|                    break; // LCOV_EXCL_LINE
40894|   945k|            }
40895|   945k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS3_ISA_SE_NS2_4lessISA_EENS8_INS2_4pairIKSA_SE_EEEEEEJEEEPT_DpOT0_:
40734|   115k|    {
40735|   115k|        AllocatorType<T> alloc;
40736|   115k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   115k|        auto deleter = [&](T * obj)
40739|   115k|        {
40740|   115k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   115k|        };
40742|   115k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   115k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   115k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   115k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 115k, False: 0]
  ------------------
40745|   115k|        return obj.release();
40746|   115k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS4_ISE_NS8_ISE_EEEEJEEEPT_DpOT0_:
40734|   829k|    {
40735|   829k|        AllocatorType<T> alloc;
40736|   829k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   829k|        auto deleter = [&](T * obj)
40739|   829k|        {
40740|   829k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   829k|        };
40742|   829k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   829k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   829k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   829k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 829k, False: 0]
  ------------------
40745|   829k|        return obj.release();
40746|   829k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEaSESE_:
42928|   265k|    {
42929|       |        // check that the passed value is valid
42930|   265k|        other.assert_invariant();
42931|       |
42932|   265k|        using std::swap;
42933|   265k|        swap(m_data.m_type, other.m_data.m_type);
42934|   265k|        swap(m_data.m_value, other.m_data.m_value);
42935|       |
42936|       |#if JSON_DIAGNOSTIC_POSITIONS
42937|       |        swap(start_position, other.start_position);
42938|       |        swap(end_position, other.end_position);
42939|       |#endif
42940|       |
42941|   265k|        json_base_class_t::operator=(std::move(other));
42942|       |
42943|   265k|        set_parents();
42944|   265k|        assert_invariant();
42945|   265k|        return *this;
42946|   265k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEED2Ev:
19002|  34.1k|    ~binary_reader() = default;
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EEED2Ev:
17829|  34.1k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterINSt3__16vectorIhNS3_9allocatorIhEEEETnNS3_9enable_ifIXsr28is_contiguous_byte_containerIT_EE5valueEiE4typeELi0EEEDTcl13input_adaptercldtfp_4dataEplcldtfp_4dataEcldtfp_4sizeEEERKS9_:
10852|  24.5k|{
10853|  24.5k|    return input_adapter(container.data(), container.data() + container.size());
10854|  24.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterIPKhS4_vEENS1_30iterator_input_adapter_factoryIT_T0_vE12adapter_typeES6_S7_:
10755|  34.1k|{
10756|  34.1k|    using factory_type = iterator_input_adapter_factory<IteratorType, SentinelType>;
10757|  34.1k|    return factory_type::create(first, last);
10758|  34.1k|}
_ZN8nlohmann16json_abi_v3_12_06detail30iterator_input_adapter_factoryIPKhS4_vE6createES4_S4_:
10617|  34.1k|    {
10618|  34.1k|        return adapter_type(std::move(first), std::move(last));
10619|  34.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_EC2ES4_S4_:
10268|  34.1k|        : begin(first), current(std::move(first)), end(std::move(last))
10269|  34.1k|    {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10to_msgpackERKSE_NS0_6detail15error_handler_tE:
46629|  10.5k|    {
46630|  10.5k|        return to_binary_vector(j, error_handler, [&](vector_binary_writer<std::uint8_t>& w)
46631|  10.5k|        {
46632|  10.5k|            w.write_msgpack(j);
46633|  10.5k|        });
46634|  10.5k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16to_binary_vectorIZNSE_10to_msgpackERKSE_NS0_6detail15error_handler_tEEUlRNSI_13binary_writerISE_hNSI_18output_vector_sinkIhSC_EEEEE_EESD_SH_SJ_T_:
43400|  10.5k|    {
43401|  10.5k|        std::vector<std::uint8_t> result;
43402|  10.5k|        result.reserve(detail::binary_initial_capacity(j));
43403|  10.5k|        {
43404|       |            // the sink sets the size of result when it is destroyed, which
43405|       |            // must happen before result is returned (without NRVO, it is moved)
43406|  10.5k|            auto writer = vector_writer(result, error_handler);
43407|  10.5k|            write(writer);
43408|  10.5k|        }
43409|  10.5k|        return result;
43410|  10.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23binary_initial_capacityINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEmRKT_:
30426|  10.5k|{
30427|  10.5k|    return (std::max)(binary_reserve_hint(j), min_vector_sink_capacity);
30428|  10.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail19binary_reserve_hintINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEmRKT_:
30401|  10.5k|{
30402|  10.5k|    if (j.is_array())
  ------------------
  |  Branch (30402:9): [True: 5.45k, False: 5.05k]
  ------------------
30403|  5.45k|    {
30404|  5.45k|        return j.size() + 1;
30405|  5.45k|    }
30406|       |
30407|  5.05k|    if (j.is_object())
  ------------------
  |  Branch (30407:9): [True: 892, False: 4.15k]
  ------------------
30408|    892|    {
30409|    892|        return (j.size() * 2) + 1;
30410|    892|    }
30411|       |
30412|  4.15k|    return 0;
30413|  5.05k|}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE13vector_writerIhEENS0_6detail13binary_writerISE_T_NSG_18output_vector_sinkISI_NS8_ISI_EEEEEERNS4_ISI_SK_EENSG_15error_handler_tE:
40416|  10.5k|    {
40417|  10.5k|        return vector_binary_writer<CharType>(::nlohmann::detail::output_vector_sink<CharType>(v), error_handler);
40418|  10.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEEC2ERNS3_6vectorIhS5_EE:
29861|  10.5k|        : v(&vec), cursor(vec.data() + vec.size()), limit(cursor)
29862|  10.5k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEEC2ESI_NS1_15error_handler_tE:
30458|  10.5k|        : oa(std::move(sink)), error_handler(error_handler_)
30459|  10.5k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEEC2EOS6_:
29869|  10.5k|        : v(other.v), cursor(other.cursor), limit(other.limit)
29870|  10.5k|    {
29871|  10.5k|        other.v = nullptr;
29872|  10.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEED2Ev:
29875|  21.0k|    {
29876|  21.0k|        if (v != nullptr)
  ------------------
  |  Branch (29876:13): [True: 10.5k, False: 10.5k]
  ------------------
29877|  10.5k|        {
29878|  10.5k|            v->resize(position());
29879|  10.5k|        }
29880|  21.0k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE8positionEv:
29978|  29.9k|    {
29979|  29.9k|        return static_cast<std::size_t>(cursor - v->data());
29980|  29.9k|    }
_ZZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10to_msgpackERKSE_NS0_6detail15error_handler_tEENKUlRNSH_13binary_writerISE_hNSH_18output_vector_sinkIhSC_EEEEE_clESN_:
46631|  10.5k|        {
46632|  10.5k|            w.write_msgpack(j);
46633|  10.5k|        });
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE13write_msgpackERKSG_m:
30732|   186k|    {
30733|   186k|        if (JSON_HEDLEY_UNLIKELY(depth >= recursion_depth_limit()) && (j.is_array() || j.is_object()))
  ------------------
  |  | 1697|   373k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2.86k, False: 183k]
  |  |  ------------------
  ------------------
  |  Branch (30733:72): [True: 1.26k, False: 1.60k]
  |  Branch (30733:88): [True: 1.02k, False: 576]
  ------------------
30734|  2.29k|        {
30735|  2.29k|            write_msgpack_iterative(j);
30736|  2.29k|            return;
30737|  2.29k|        }
30738|       |
30739|   184k|        switch (j.type())
30740|   184k|        {
30741|  1.66k|            case value_t::null: // nil
  ------------------
  |  Branch (30741:13): [True: 1.66k, False: 182k]
  ------------------
30742|  1.66k|            {
30743|  1.66k|                oa.write_character(to_char_type(0xC0));
30744|  1.66k|                break;
30745|      0|            }
30746|       |
30747|  2.17k|            case value_t::boolean: // true and false
  ------------------
  |  Branch (30747:13): [True: 2.17k, False: 182k]
  ------------------
30748|  2.17k|            {
30749|  2.17k|                oa.write_character(j.m_data.m_value.boolean
  ------------------
  |  Branch (30749:36): [True: 1.26k, False: 912]
  ------------------
30750|  2.17k|                                   ? to_char_type(0xC3)
30751|  2.17k|                                   : to_char_type(0xC2));
30752|  2.17k|                break;
30753|      0|            }
30754|       |
30755|  2.37k|            case value_t::number_integer:
  ------------------
  |  Branch (30755:13): [True: 2.37k, False: 182k]
  ------------------
30756|  9.71k|            case value_t::number_unsigned:
  ------------------
  |  Branch (30756:13): [True: 7.34k, False: 177k]
  ------------------
30757|  9.71k|            {
30758|       |                // one case for both, so that an array mixing negative
30759|       |                // (number_integer) and non-negative (number_unsigned) values
30760|       |                // does not mispredict the switch
30761|  9.71k|                write_msgpack_integer(j, std::integral_constant<bool, integers_fit_64_bits()>());
30762|  9.71k|                break;
30763|  2.37k|            }
30764|       |
30765|  1.33k|            case value_t::number_float:
  ------------------
  |  Branch (30765:13): [True: 1.33k, False: 183k]
  ------------------
30766|  1.33k|            {
30767|  1.33k|                write_msgpack_float(j.m_data.m_value.number_float);
30768|  1.33k|                break;
30769|  2.37k|            }
30770|       |
30771|  10.7k|            case value_t::string:
  ------------------
  |  Branch (30771:13): [True: 10.7k, False: 173k]
  ------------------
30772|  10.7k|            {
30773|  10.7k|                write_msgpack_string(*j.m_data.m_value.string, j);
30774|  10.7k|                break;
30775|  2.37k|            }
30776|       |
30777|   122k|            case value_t::array:
  ------------------
  |  Branch (30777:13): [True: 122k, False: 61.4k]
  ------------------
30778|   122k|            {
30779|   122k|                write_msgpack_array(j, depth);
30780|   122k|                break;
30781|  2.37k|            }
30782|       |
30783|  24.3k|            case value_t::binary:
  ------------------
  |  Branch (30783:13): [True: 24.3k, False: 160k]
  ------------------
30784|  24.3k|            {
30785|       |                // step 0: determine if the binary type has a set subtype to
30786|       |                // determine whether to use the ext or fixext types
30787|  24.3k|                const bool use_ext = j.m_data.m_value.binary->has_subtype();
30788|       |
30789|       |                // step 1: write control byte and the byte string length
30790|  24.3k|                const auto N = to_msgpack_length(j.m_data.m_value.binary->size(), j);
30791|  24.3k|                if (N <= (std::numeric_limits<std::uint8_t>::max)())
  ------------------
  |  Branch (30791:21): [True: 24.3k, False: 32]
  ------------------
30792|  24.3k|                {
30793|  24.3k|                    std::uint8_t output_type{};
30794|  24.3k|                    bool fixed = true;
30795|  24.3k|                    if (use_ext)
  ------------------
  |  Branch (30795:25): [True: 4.09k, False: 20.2k]
  ------------------
30796|  4.09k|                    {
30797|  4.09k|                        switch (N)
30798|  4.09k|                        {
30799|  2.59k|                            case 1:
  ------------------
  |  Branch (30799:29): [True: 2.59k, False: 1.50k]
  ------------------
30800|  2.59k|                                output_type = 0xD4; // fixext 1
30801|  2.59k|                                break;
30802|    582|                            case 2:
  ------------------
  |  Branch (30802:29): [True: 582, False: 3.51k]
  ------------------
30803|    582|                                output_type = 0xD5; // fixext 2
30804|    582|                                break;
30805|    358|                            case 4:
  ------------------
  |  Branch (30805:29): [True: 358, False: 3.73k]
  ------------------
30806|    358|                                output_type = 0xD6; // fixext 4
30807|    358|                                break;
30808|    160|                            case 8:
  ------------------
  |  Branch (30808:29): [True: 160, False: 3.93k]
  ------------------
30809|    160|                                output_type = 0xD7; // fixext 8
30810|    160|                                break;
30811|     74|                            case 16:
  ------------------
  |  Branch (30811:29): [True: 74, False: 4.02k]
  ------------------
30812|     74|                                output_type = 0xD8; // fixext 16
30813|     74|                                break;
30814|    332|                            default:
  ------------------
  |  Branch (30814:29): [True: 332, False: 3.76k]
  ------------------
30815|    332|                                output_type = 0xC7; // ext 8
30816|    332|                                fixed = false;
30817|    332|                                break;
30818|  4.09k|                        }
30819|       |
30820|  4.09k|                    }
30821|  20.2k|                    else
30822|  20.2k|                    {
30823|  20.2k|                        output_type = 0xC4; // bin 8
30824|  20.2k|                        fixed = false;
30825|  20.2k|                    }
30826|       |
30827|  24.3k|                    oa.write_character(to_char_type(output_type));
30828|  24.3k|                    if (!fixed)
  ------------------
  |  Branch (30828:25): [True: 20.5k, False: 3.76k]
  ------------------
30829|  20.5k|                    {
30830|  20.5k|                        write_number(static_cast<std::uint8_t>(N));
30831|  20.5k|                    }
30832|  24.3k|                }
30833|     32|                else if (N <= (std::numeric_limits<std::uint16_t>::max)())
  ------------------
  |  Branch (30833:26): [True: 32, False: 0]
  ------------------
30834|     32|                {
30835|     32|                    const std::uint8_t output_type = use_ext
  ------------------
  |  Branch (30835:54): [True: 6, False: 26]
  ------------------
30836|     32|                                                     ? 0xC8 // ext 16
30837|     32|                                                     : 0xC5; // bin 16
30838|       |
30839|     32|                    oa.write_character(to_char_type(output_type));
30840|     32|                    write_number(static_cast<std::uint16_t>(N));
30841|     32|                }
30842|      0|                else
30843|      0|                {
30844|      0|                    const std::uint8_t output_type = use_ext
  ------------------
  |  Branch (30844:54): [True: 0, False: 0]
  ------------------
30845|      0|                                                     ? 0xC9 // ext 32
30846|      0|                                                     : 0xC6; // bin 32
30847|       |
30848|      0|                    oa.write_character(to_char_type(output_type));
30849|      0|                    write_number(static_cast<std::uint32_t>(N));
30850|      0|                }
30851|       |
30852|       |                // step 1.5: if this is an ext type, write the subtype
30853|  24.3k|                if (use_ext)
  ------------------
  |  Branch (30853:21): [True: 4.10k, False: 20.2k]
  ------------------
30854|  4.10k|                {
30855|  4.10k|                    if (JSON_HEDLEY_UNLIKELY(j.m_data.m_value.binary->subtype() > (std::numeric_limits<std::uint8_t>::max)()))
  ------------------
  |  | 1697|  4.10k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.10k]
  |  |  ------------------
  ------------------
30856|      0|                    {
30857|      0|                        throw_subtype_out_of_range(j.m_data.m_value.binary->subtype(), "the MessagePack ext type", j);
30858|      0|                    }
30859|       |
30860|  4.10k|                    write_number(static_cast<std::int8_t>(j.m_data.m_value.binary->subtype()));
30861|  4.10k|                }
30862|       |
30863|       |                // step 2: write the byte string
30864|  24.3k|                write_bytes(j.m_data.m_value.binary->data(), N);
30865|       |
30866|  24.3k|                break;
30867|  24.3k|            }
30868|       |
30869|  11.4k|            case value_t::object:
  ------------------
  |  Branch (30869:13): [True: 11.4k, False: 172k]
  ------------------
30870|  11.4k|            {
30871|       |                // step 1: write control byte and the object size
30872|  11.4k|                write_msgpack_object(j, depth);
30873|  11.4k|                break;
30874|  24.3k|            }
30875|       |
30876|      0|            case value_t::discarded:
  ------------------
  |  Branch (30876:13): [True: 0, False: 184k]
  ------------------
30877|      0|            default:
  ------------------
  |  Branch (30877:13): [True: 0, False: 184k]
  ------------------
30878|      0|                throw_on_discarded(j, input_format_t::msgpack);
30879|   184k|        }
30880|   184k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE23write_msgpack_iterativeERKSG_:
31504|  2.29k|    {
31505|  2.29k|        write_container_iterative<msgpack_walk>(root);
31506|  2.29k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_container_iterativeINSJ_12msgpack_walkEEEvRKSG_:
31456|  2.29k|    {
31457|       |        // only a container with elements is ever pushed; see write_container_value_or_push
31458|  2.29k|        std::vector<binary_container_frame> stack;
31459|  2.29k|        write_container_value_or_push<Walk>(root, stack);
31460|       |
31461|   136k|        while (!stack.empty())
  ------------------
  |  Branch (31461:16): [True: 133k, False: 2.29k]
  ------------------
31462|   133k|        {
31463|   133k|            const binary_container_frame current = stack.back();
31464|       |
31465|   133k|            if (current.value->is_array())
  ------------------
  |  Branch (31465:17): [True: 121k, False: 12.5k]
  ------------------
31466|   121k|            {
31467|   121k|                const auto& array = *current.value->m_data.m_value.array;
31468|   121k|                if (current.array_it == array.cend())
  ------------------
  |  Branch (31468:21): [True: 56.8k, False: 64.5k]
  ------------------
31469|  56.8k|                {
31470|  56.8k|                    stack.pop_back();
31471|  56.8k|                    continue;
31472|  56.8k|                }
31473|       |
31474|       |                // read the child before pushing: entering it can move every frame
31475|  64.5k|                const BasicJsonType* child = &(*current.array_it);
31476|  64.5k|                ++stack.back().array_it;
31477|  64.5k|                write_container_value_or_push<Walk>(*child, stack);
31478|  64.5k|            }
31479|  12.5k|            else
31480|  12.5k|            {
31481|  12.5k|                const auto& object = *current.value->m_data.m_value.object;
31482|  12.5k|                if (current.object_it == object.cend())
  ------------------
  |  Branch (31482:21): [True: 4.40k, False: 8.11k]
  ------------------
31483|  4.40k|                {
31484|  4.40k|                    stack.pop_back();
31485|  4.40k|                    continue;
31486|  4.40k|                }
31487|       |
31488|       |                // the key is written directly (not via a temporary basic_json),
31489|       |                // with the object as diagnostics context, as in the recursive writer
31490|  8.11k|                Walk::key(*this, current.object_it->first, *current.value);
31491|  8.11k|                const BasicJsonType* child = &(current.object_it->second);
31492|  8.11k|                ++stack.back().object_it;
31493|  8.11k|                write_container_value_or_push<Walk>(*child, stack);
31494|  8.11k|            }
31495|   133k|        }
31496|  2.29k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE29write_container_value_or_pushINSJ_12msgpack_walkEEEvRKSG_RNS6_INSJ_22binary_container_frameENSA_ISO_EEEE:
31419|  74.9k|    {
31420|  74.9k|        if (j.is_array())
  ------------------
  |  Branch (31420:13): [True: 59.0k, False: 15.8k]
  ------------------
31421|  59.0k|        {
31422|  59.0k|            Walk::array_head(*this, j);
31423|  59.0k|            if (!j.m_data.m_value.array->empty())
  ------------------
  |  Branch (31423:17): [True: 56.8k, False: 2.21k]
  ------------------
31424|  56.8k|            {
31425|  56.8k|                stack.emplace_back(&j);
31426|  56.8k|            }
31427|  59.0k|            return;
31428|  59.0k|        }
31429|       |
31430|  15.8k|        if (j.is_object())
  ------------------
  |  Branch (31430:13): [True: 6.08k, False: 9.78k]
  ------------------
31431|  6.08k|        {
31432|  6.08k|            Walk::object_head(*this, j);
31433|  6.08k|            if (!j.m_data.m_value.object->empty())
  ------------------
  |  Branch (31433:17): [True: 4.40k, False: 1.68k]
  ------------------
31434|  4.40k|            {
31435|  4.40k|                stack.emplace_back(&j);
31436|  4.40k|            }
31437|  6.08k|            return;
31438|  6.08k|        }
31439|       |
31440|  9.78k|        Walk::scalar(*this, j);
31441|  9.78k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12msgpack_walk10array_headERSJ_RKSG_:
31381|  59.0k|        {
31382|  59.0k|            w.write_msgpack_array_prefix(j.m_data.m_value.array->size(), j);
31383|  59.0k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE26write_msgpack_array_prefixEmRKSG_:
31298|   182k|    {
31299|   182k|        write_msgpack_container_prefix(N, j, 0x90, 0xDC, 0xDD);
31300|   182k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE30write_msgpack_container_prefixEmRKSG_hhh:
31275|   199k|    {
31276|   199k|        const auto n = to_msgpack_length(N, j);
31277|   199k|        if (n <= 15)
  ------------------
  |  Branch (31277:13): [True: 198k, False: 746]
  ------------------
31278|   198k|        {
31279|       |            // fixarray, fixmap
31280|   198k|            oa.write_character(to_char_type(static_cast<std::uint8_t>(fix_marker | n)));
31281|   198k|        }
31282|    746|        else if (n <= (std::numeric_limits<std::uint16_t>::max)())
  ------------------
  |  Branch (31282:18): [True: 746, False: 0]
  ------------------
31283|    746|        {
31284|       |            // array 16, map 16
31285|    746|            oa.write_character(to_char_type(marker_16));
31286|    746|            write_number(static_cast<std::uint16_t>(n));
31287|    746|        }
31288|      0|        else
31289|      0|        {
31290|       |            // array 32, map 32
31291|      0|            oa.write_character(to_char_type(marker_32));
31292|      0|            write_number(static_cast<std::uint32_t>(n));
31293|      0|        }
31294|   199k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE22binary_container_frameC2EPKSG_:
31315|  61.2k|            : value(value_)
31316|  61.2k|        {
31317|  61.2k|            if (value->is_object())
  ------------------
  |  Branch (31317:17): [True: 4.40k, False: 56.8k]
  ------------------
31318|  4.40k|            {
31319|  4.40k|                object_it = value->m_data.m_value.object->cbegin();
31320|  4.40k|            }
31321|  56.8k|            else
31322|  56.8k|            {
31323|  56.8k|                array_it = value->m_data.m_value.array->cbegin();
31324|  56.8k|            }
31325|  61.2k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12msgpack_walk11object_headERSJ_RKSG_:
31386|  6.08k|        {
31387|  6.08k|            w.write_msgpack_object_prefix(j.m_data.m_value.object->size(), j);
31388|  6.08k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE27write_msgpack_object_prefixEmRKSG_:
31304|  17.5k|    {
31305|  17.5k|        write_msgpack_container_prefix(N, j, 0x80, 0xDE, 0xDF);
31306|  17.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12msgpack_walk6scalarERSJ_RKSG_:
31391|  9.78k|        {
31392|  9.78k|            w.write_msgpack(j);
31393|  9.78k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12msgpack_walk3keyISC_EEvRSJ_RKT_RKSG_:
31402|  8.11k|        {
31403|  8.11k|            w.write_msgpack_key(k, object);
31404|  8.11k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE17write_msgpack_keyERKSC_RKSG_:
33635|  25.5k|    {
33636|  25.5k|        write_object_key<msgpack_walk>(key, context);
33637|  25.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE16write_object_keyINSJ_12msgpack_walkESC_TnNS4_9enable_ifIXsr3std14is_convertibleIT0_SC_EE5valueEiE4typeELi0EEEvRKSC_RKSG_:
33616|  25.5k|    {
33617|  25.5k|        Walk::string(*this, key, context);
33618|  25.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12msgpack_walk6stringERSJ_RKSC_RKSG_:
31396|  25.5k|        {
31397|  25.5k|            w.write_msgpack_string(key, context);
31398|  25.5k|        }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4typeEv:
42997|   201k|    {
42998|   201k|        return m_data.m_type;
42999|   201k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE15write_characterEh:
29886|   229k|    {
29887|   229k|        if (JSON_HEDLEY_UNLIKELY(cursor == limit))
  ------------------
  |  | 1697|   229k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 7.97k, False: 221k]
  |  |  ------------------
  ------------------
29888|  7.97k|        {
29889|  7.97k|            grow(1);
29890|  7.97k|        }
29891|   229k|        *cursor++ = c;
29892|   229k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE4growEm:
29993|  19.2k|    {
29994|       |        // use the capacity the vector already has, else at least double it;
29995|       |        // never less than min_vector_sink_capacity, so that a small value does not
29996|       |        // reallocate for every few bytes
29997|  19.2k|        const std::size_t written = position();
29998|  19.2k|        const std::size_t needed = written + length;
29999|  19.2k|        const std::size_t capacity = (std::max)(min_vector_sink_capacity, needed <= v->capacity()
  ------------------
  |  Branch (29999:75): [True: 10.4k, False: 8.85k]
  ------------------
30000|  19.2k|                                                ? v->capacity()
30001|  19.2k|                                                : (std::max)(needed, v->capacity() * 2));
30002|  19.2k|        v->reserve(capacity);
30003|       |        // resize() zeroes the characters it adds. Zeroing all of a doubled
30004|       |        // capacity, megabytes of a fresh allocation, at once faults in its
30005|       |        // pages and evicts them from the cache before the writer gets there,
30006|       |        // so its stores miss again; a window ahead of the position is still
30007|       |        // cached when they come (the binary writers on a long array of
30008|       |        // numbers: 4-26 % faster on x86, 1-2.5 % on Apple M1)
30009|  19.2k|        v->resize((std::min)(capacity, (std::max)(needed, written + vector_sink_window)));
30010|  19.2k|        cursor = v->data() + written;
30011|  19.2k|        limit = v->data() + v->size();
30012|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12to_char_typeIhTnPNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEvE4typeELPv0EEEhh:
35772|   345k|    {
35773|   345k|        return x;
35774|   345k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE21write_msgpack_integerERKSG_NS4_17integral_constantIbLb1EEE:
33418|  16.4k|    {
33419|  16.4k|        oa.commit(encode_msgpack_integer(oa.reserve(integer_encoding_space), j));
33420|  16.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE6commitEm:
29942|  73.9k|    {
29943|  73.9k|        cursor += length;
29944|  73.9k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE22encode_msgpack_integerEPhRKSG_:
33425|  62.7k|    {
33426|  62.7k|        std::uint64_t sign_mask = 0;
33427|  62.7k|        const std::uint64_t raw = integer_bits(j, sign_mask);
33428|       |
33429|       |        // A negative n fits int 8/16/32 exactly if 2 * (-1 - n) + 1 fits
33430|       |        // uint 8/16/32, so x gives the size class of either sign.
33431|  62.7k|        const std::uint64_t is_negative = sign_mask & 1u;
33432|  62.7k|        const std::uint64_t x = ((raw ^ sign_mask) << is_negative) | is_negative;
33433|       |
33434|       |        // A fixint is at most 127, or at least -32 (x at most 63). It is in
33435|       |        // size class 1 and is moved to class 0, the first byte, by subtracting 1.
33436|  62.7k|        const auto is_fixint = static_cast<unsigned>(x <= (127u ^ (sign_mask & 64u)));
33437|  62.7k|        const unsigned size_class = integer_size_class(x) - is_fixint;
33438|       |
33439|       |        // the first byte: the low byte of the integer for a fixint, else the
33440|       |        // marker 0xCC..0xCF (uint) or 0xD0..0xD3 (int), selected through a mask
33441|  62.7k|        const std::uint64_t fixint_mask = std::uint64_t{0} - is_fixint;
33442|  62.7k|        const std::uint64_t marker = 0xCBu + size_class + (sign_mask & 4u);
33443|  62.7k|        const auto first_byte = static_cast<std::uint8_t>((raw & fixint_mask) | (marker & ~fixint_mask));
33444|  62.7k|        return encode_first_byte_and_tail(out, first_byte, size_class, raw);
33445|  62.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12integer_bitsERKSG_Rm:
33140|  62.7k|    {
33141|  62.7k|        const bool is_signed = j.m_data.m_type == value_t::number_integer;
33142|  62.7k|        const std::uint64_t raw = is_signed
  ------------------
  |  Branch (33142:35): [True: 15.2k, False: 47.4k]
  ------------------
33143|  62.7k|                                  ? static_cast<std::uint64_t>(j.m_data.m_value.number_integer)
33144|  62.7k|                                  : static_cast<std::uint64_t>(j.m_data.m_value.number_unsigned);
33145|  62.7k|        sign_mask = (std::uint64_t{0} - static_cast<std::uint64_t>(is_signed)) & (std::uint64_t{0} - (raw >> 63u));
33146|  62.7k|        return raw;
33147|  62.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE18integer_size_classEm:
33089|  62.7k|    {
33090|  62.7k|        static constexpr std::array<std::uint8_t, 64> size_class_by_leading_zeros =
33091|  62.7k|        {
33092|  62.7k|            {
33093|  62.7k|                4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
33094|  62.7k|                3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
33095|  62.7k|                2, 2, 2, 2, 2, 2, 2, 2,
33096|  62.7k|                1, 1, 1, 1, 1, 1, 1, 1
33097|  62.7k|            }
33098|  62.7k|        };
33099|       |        // x | 1 keeps count_leading_zeros() away from 0
33100|  62.7k|        return size_class_by_leading_zeros[static_cast<std::size_t>(count_leading_zeros(x | 1u))];
33101|  62.7k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE26encode_first_byte_and_tailEPhhjm:
33116|  62.7k|    {
33117|  62.7k|        out[0] = to_char_type(first_byte);
33118|  62.7k|        const unsigned unused_bits = 64u - ((8u << size_class) >> 1u);
33119|  62.7k|        const std::uint64_t tail = is_little_endian ? byteswap(value) >> unused_bits : value << unused_bits;
  ------------------
  |  Branch (33119:36): [True: 62.7k, False: 0]
  ------------------
33120|  62.7k|        std::memcpy(out + 1, &tail, sizeof(tail));
33121|  62.7k|        return ((std::size_t{1} << size_class) >> 1u) + 1;
33122|  62.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE7reserveEm:
29930|  73.9k|    {
29931|  73.9k|        JSON_ASSERT(length <= max_reserve_size);
  ------------------
  |  | 2653|  73.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (29931:9): [True: 73.9k, False: 0]
  ------------------
29932|  73.9k|        if (JSON_HEDLEY_UNLIKELY(space() < length))
  ------------------
  |  | 1697|  73.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 11.1k, False: 62.8k]
  |  |  ------------------
  ------------------
29933|  11.1k|        {
29934|  11.1k|            grow(length);
29935|  11.1k|        }
29936|  73.9k|        return cursor;
29937|  73.9k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE5spaceEv:
29984|   123k|    {
29985|   123k|        return static_cast<std::size_t>(limit - cursor);
29986|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE19write_msgpack_floatEd:
33512|  1.71k|    {
33513|  1.71k|        oa.commit(encode_compact_float(oa.reserve(integer_encoding_space), n, to_char_type(0xCA), to_char_type(0xCB)));
33514|  1.71k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20encode_compact_floatEPhdhh:
35678|  6.65k|    {
35679|  6.65k|        if (fits_float32(n))
  ------------------
  |  Branch (35679:13): [True: 4.61k, False: 2.04k]
  ------------------
35680|  4.61k|        {
35681|  4.61k|            *out = float32_marker;
35682|  4.61k|            store_number(out + 1, static_cast<float>(n), false);
35683|  4.61k|            return 1 + sizeof(float);
35684|  4.61k|        }
35685|  2.04k|        *out = float64_marker;
35686|  2.04k|        store_number(out + 1, n, false);
35687|  2.04k|        return 1 + sizeof(number_float_t);
35688|  6.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12fits_float32Ed:
35655|  6.65k|    {
35656|  6.65k|        static_assert(std::is_same<number_float_t, float>::value || std::is_same<number_float_t, double>::value,
35657|  6.65k|                      "number_float_t must be float or double for the CBOR/MessagePack/BON8 writer");
35658|  6.65k|#ifdef __GNUC__
35659|  6.65k|        JSON_HEDLEY_DIAGNOSTIC_PUSH
35660|  6.65k|        JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wfloat-equal")
35661|  6.65k|#endif
35662|       |#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 7)
35663|       |        JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wduplicated-branches")
35664|       |#endif
35665|  6.65k|        return !std::isfinite(n) || ((static_cast<double>(n) >= static_cast<double>(std::numeric_limits<float>::lowest()) &&
  ------------------
  |  Branch (35665:16): [True: 472, False: 6.18k]
  |  Branch (35665:39): [True: 5.89k, False: 296]
  ------------------
35666|  5.89k|                                      static_cast<double>(n) <= static_cast<double>((std::numeric_limits<float>::max)()) &&
  ------------------
  |  Branch (35666:39): [True: 5.70k, False: 182]
  ------------------
35667|  5.70k|                                      static_cast<double>(static_cast<float>(n)) == static_cast<double>(n)));
  ------------------
  |  Branch (35667:39): [True: 4.14k, False: 1.56k]
  ------------------
35668|  6.65k|#ifdef __GNUC__
35669|  6.65k|        JSON_HEDLEY_DIAGNOSTIC_POP
35670|  6.65k|#endif
35671|  6.65k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12store_numberIfEEPhSL_T_b:
34212|  4.61k|    {
34213|  4.61k|        std::array<CharType, sizeof(NumberType)> vec{};
34214|  4.61k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
34215|  4.61k|        if (is_little_endian != output_little_endian)
  ------------------
  |  Branch (34215:13): [True: 4.61k, False: 0]
  ------------------
34216|  4.61k|        {
34217|  4.61k|            reverse_bytes(vec);
34218|  4.61k|        }
34219|  4.61k|        std::memcpy(out, vec.data(), sizeof(NumberType));
34220|  4.61k|        return out + sizeof(NumberType);
34221|  4.61k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE13reverse_bytesERNS4_5arrayIhLm4EEE:
35608|  4.61k|    {
35609|  4.61k|        byte_swap_buffer<std::uint32_t>(a);
35610|  4.61k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE16byte_swap_bufferIjLm4EEEvRNS4_5arrayIhXT0_EEE:
35592|  4.61k|    {
35593|  4.61k|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|  4.61k|        UIntType v{};
35595|  4.61k|        std::memcpy(&v, a.data(), sizeof(v));
35596|  4.61k|        v = byteswap(v);
35597|  4.61k|        std::memcpy(a.data(), &v, sizeof(v));
35598|  4.61k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12store_numberIdEEPhSL_T_b:
34212|  2.04k|    {
34213|  2.04k|        std::array<CharType, sizeof(NumberType)> vec{};
34214|  2.04k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
34215|  2.04k|        if (is_little_endian != output_little_endian)
  ------------------
  |  Branch (34215:13): [True: 2.04k, False: 0]
  ------------------
34216|  2.04k|        {
34217|  2.04k|            reverse_bytes(vec);
34218|  2.04k|        }
34219|  2.04k|        std::memcpy(out, vec.data(), sizeof(NumberType));
34220|  2.04k|        return out + sizeof(NumberType);
34221|  2.04k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE13reverse_bytesERNS4_5arrayIhLm8EEE:
35613|  2.04k|    {
35614|  2.04k|        byte_swap_buffer<std::uint64_t>(a);
35615|  2.04k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE16byte_swap_bufferImLm8EEEvRNS4_5arrayIhXT0_EEE:
35592|  2.04k|    {
35593|  2.04k|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|  2.04k|        UIntType v{};
35595|  2.04k|        std::memcpy(&v, a.data(), sizeof(v));
35596|  2.04k|        v = byteswap(v);
35597|  2.04k|        std::memcpy(a.data(), &v, sizeof(v));
35598|  2.04k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20write_msgpack_stringERKSC_RKSG_:
33764|  37.2k|    {
33765|  37.2k|        if (JSON_HEDLEY_LIKELY(error_handler == error_handler_t::keep))
  ------------------
  |  | 1696|  37.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 37.2k, False: 0]
  |  |  ------------------
  ------------------
33766|  37.2k|        {
33767|       |            // the string is written as it is: head and characters in one reservation
33768|  37.2k|            if (JSON_HEDLEY_LIKELY(value.size() <= max_text_in_reservation))
  ------------------
  |  | 1696|  37.2k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 37.1k, False: 92]
  |  |  ------------------
  ------------------
33769|  37.1k|            {
33770|  37.1k|                write_msgpack_string_reserved(value);
33771|  37.1k|                return;
33772|  37.1k|            }
33773|  37.2k|        }
33774|       |
33775|     92|        write_msgpack_checked_string(value, context);
33776|     92|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE29write_msgpack_string_reservedERKSC_:
33735|  37.1k|    {
33736|  37.1k|        CharType* const out = oa.reserve(value.size() + 2);
33737|  37.1k|        CharType* p = out;
33738|  37.1k|        if (value.size() <= 31)
  ------------------
  |  Branch (33738:13): [True: 36.8k, False: 328]
  ------------------
33739|  36.8k|        {
33740|       |            // fixstr
33741|  36.8k|            *p++ = to_char_type(static_cast<std::uint8_t>(0xA0 | value.size()));
33742|  36.8k|        }
33743|    328|        else
33744|    328|        {
33745|       |            // str 8
33746|    328|            *p++ = to_char_type(0xD9);
33747|    328|            *p++ = to_char_type(static_cast<std::uint8_t>(value.size()));
33748|    328|        }
33749|  37.1k|        copy_characters(p, reinterpret_cast<const CharType*>(value.data()), value.size());
33750|  37.1k|        oa.commit(static_cast<std::size_t>(p - out) + value.size());
33751|  37.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE15copy_charactersEPhPKhm:
33646|  37.1k|    {
33647|  37.1k|        if (length <= 32)
  ------------------
  |  Branch (33647:13): [True: 36.8k, False: 296]
  ------------------
33648|  36.8k|        {
33649|  36.8k|            copy_short(dst, src, length, std::integral_constant<bool, sizeof(CharType) == 1>());
33650|  36.8k|        }
33651|    296|        else
33652|    296|        {
33653|    296|            std::memcpy(dst, src, length * sizeof(CharType));
33654|    296|        }
33655|  37.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10copy_shortIhEEvPT_PKS3_mNSt3__117integral_constantIbLb1EEE:
29782|  86.5k|{
29783|  86.5k|    JSON_ASSERT(length <= 32);
  ------------------
  |  | 2653|  86.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (29783:5): [True: 86.5k, False: 0]
  ------------------
29784|  86.5k|    if (length >= 16)
  ------------------
  |  Branch (29784:9): [True: 2.23k, False: 84.3k]
  ------------------
29785|  2.23k|    {
29786|  2.23k|        std::array<char, 16> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29787|  2.23k|        std::array<char, 16> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29788|  2.23k|        std::memcpy(first.data(), src, 16);
29789|  2.23k|        std::memcpy(last.data(), src + (length - 16), 16);
29790|  2.23k|        std::memcpy(dst, first.data(), 16);
29791|  2.23k|        std::memcpy(dst + (length - 16), last.data(), 16);
29792|  2.23k|    }
29793|  84.3k|    else if (length >= 8)
  ------------------
  |  Branch (29793:14): [True: 1.90k, False: 82.4k]
  ------------------
29794|  1.90k|    {
29795|  1.90k|        std::array<char, 8> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29796|  1.90k|        std::array<char, 8> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29797|  1.90k|        std::memcpy(first.data(), src, 8);
29798|  1.90k|        std::memcpy(last.data(), src + (length - 8), 8);
29799|  1.90k|        std::memcpy(dst, first.data(), 8);
29800|  1.90k|        std::memcpy(dst + (length - 8), last.data(), 8);
29801|  1.90k|    }
29802|  82.4k|    else if (length >= 4)
  ------------------
  |  Branch (29802:14): [True: 2.68k, False: 79.7k]
  ------------------
29803|  2.68k|    {
29804|  2.68k|        std::array<char, 4> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29805|  2.68k|        std::array<char, 4> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29806|  2.68k|        std::memcpy(first.data(), src, 4);
29807|  2.68k|        std::memcpy(last.data(), src + (length - 4), 4);
29808|  2.68k|        std::memcpy(dst, first.data(), 4);
29809|  2.68k|        std::memcpy(dst + (length - 4), last.data(), 4);
29810|  2.68k|    }
29811|  79.7k|    else if (length != 0)
  ------------------
  |  Branch (29811:14): [True: 45.3k, False: 34.4k]
  ------------------
29812|  45.3k|    {
29813|       |        // 1 to 3: the first, the middle, and the last character
29814|  45.3k|        const CharType a = src[0];
29815|  45.3k|        const CharType b = src[length >> 1];
29816|  45.3k|        const CharType c = src[length - 1];
29817|  45.3k|        dst[0] = a;
29818|  45.3k|        dst[length >> 1] = b;
29819|  45.3k|        dst[length - 1] = c;
29820|  45.3k|    }
29821|  86.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE28write_msgpack_checked_stringERKSC_RKSG_:
33782|     92|    {
33783|     92|        if (error_handler == error_handler_t::strict && value.size() <= max_text_in_reservation)
  ------------------
  |  Branch (33783:13): [True: 0, False: 92]
  |  Branch (33783:57): [True: 0, False: 0]
  ------------------
33784|      0|        {
33785|      0|            check_utf8(value, context);
33786|      0|            write_msgpack_string_reserved(value);
33787|      0|            return;
33788|      0|        }
33789|       |
33790|     92|        string_t storage;
33791|     92|        const string_t& sanitized = sanitize_utf8_for_write(value, context, storage);
33792|       |
33793|       |        // step 1: write control byte and the string length
33794|     92|        const auto N = to_msgpack_length(sanitized.size(), context);
33795|     92|        if (N <= 31)
  ------------------
  |  Branch (33795:13): [True: 0, False: 92]
  ------------------
33796|      0|        {
33797|       |            // fixstr
33798|      0|            write_number(static_cast<std::uint8_t>(0xA0 | N));
33799|      0|        }
33800|     92|        else if (N <= (std::numeric_limits<std::uint8_t>::max)())
  ------------------
  |  Branch (33800:18): [True: 8, False: 84]
  ------------------
33801|      8|        {
33802|       |            // str 8
33803|      8|            oa.write_character(to_char_type(0xD9));
33804|      8|            write_number(static_cast<std::uint8_t>(N));
33805|      8|        }
33806|     84|        else if (N <= (std::numeric_limits<std::uint16_t>::max)())
  ------------------
  |  Branch (33806:18): [True: 84, False: 0]
  ------------------
33807|     84|        {
33808|       |            // str 16
33809|     84|            oa.write_character(to_char_type(0xDA));
33810|     84|            write_number(static_cast<std::uint16_t>(N));
33811|     84|        }
33812|      0|        else
33813|      0|        {
33814|       |            // str 32
33815|      0|            oa.write_character(to_char_type(0xDB));
33816|      0|            write_number(static_cast<std::uint32_t>(N));
33817|      0|        }
33818|       |
33819|       |        // step 2: write the string
33820|     92|        write_bytes(sanitized.data(), sanitized.size());
33821|     92|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE23sanitize_utf8_for_writeERKSC_RKSG_RSC_:
35414|     92|    {
35415|     92|        switch (error_handler)
35416|     92|        {
35417|     92|            case error_handler_t::keep:
  ------------------
  |  Branch (35417:13): [True: 92, False: 0]
  ------------------
35418|     92|                return s; // NOLINT(bugprone-return-const-ref-from-parameter): callers pass lvalues that outlive the call
35419|       |
35420|      0|            case error_handler_t::strict:
  ------------------
  |  Branch (35420:13): [True: 0, False: 92]
  ------------------
35421|      0|                check_utf8(s, context);
35422|      0|                return s; // NOLINT(bugprone-return-const-ref-from-parameter): callers pass lvalues that outlive the call
35423|       |
35424|      0|            case error_handler_t::replace:
  ------------------
  |  Branch (35424:13): [True: 0, False: 92]
  ------------------
35425|      0|            case error_handler_t::ignore:
  ------------------
  |  Branch (35425:13): [True: 0, False: 92]
  ------------------
35426|      0|            default:
  ------------------
  |  Branch (35426:13): [True: 0, False: 92]
  ------------------
35427|      0|                if (is_valid_utf8(s))
  ------------------
  |  Branch (35427:21): [True: 0, False: 0]
  ------------------
35428|      0|                {
35429|      0|                    return s; // NOLINT(bugprone-return-const-ref-from-parameter): callers pass lvalues that outlive the call
35430|      0|                }
35431|      0|                storage = sanitize_utf8(s, error_handler);
35432|      0|                return storage;
35433|     92|        }
35434|     92|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE19write_msgpack_arrayERKSG_m:
33574|   122k|    {
33575|   122k|        write_msgpack_array_prefix(j.m_data.m_value.array->size(), j);
33576|   122k|        if (!j.m_data.m_value.array->empty())
  ------------------
  |  Branch (33576:13): [True: 121k, False: 1.41k]
  ------------------
33577|   121k|        {
33578|   121k|            write_msgpack_array_elements(j, depth, std::integral_constant<bool, integers_fit_64_bits()>());
33579|   121k|        }
33580|   122k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEE:
33584|   121k|    {
33585|   121k|        write_array_elements(j, [this](CharType * out, const BasicJsonType & el)
33586|   121k|        {
33587|   121k|            return encode_msgpack_integer(out, el);
33588|   121k|        }, [this](CharType * out, const number_float_t n)
33589|   121k|        {
33590|   121k|            return encode_compact_float(out, n, to_char_type(0xCA), to_char_type(0xCB));
33591|   121k|        }, [this, depth](const BasicJsonType & el)
33592|   121k|        {
33593|   121k|            write_msgpack(el, depth + 1);
33594|   121k|        });
33595|   121k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20write_array_elementsIZNSJ_28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEEUlPhSM_E_ZNSJ_28write_msgpack_array_elementsESM_mSO_EUlSP_dE_ZNSJ_28write_msgpack_array_elementsESM_mSO_EUlSM_E_EEvSM_T_T0_T1_:
33287|   121k|    {
33288|   121k|        constexpr std::size_t max_run = max_reserve_size / integer_encoding_space;
33289|   121k|        auto it = j.m_data.m_value.array->begin();
33290|   121k|        const auto end = j.m_data.m_value.array->end();
33291|   298k|        while (it != end)
  ------------------
  |  Branch (33291:16): [True: 177k, False: 121k]
  ------------------
33292|   177k|        {
33293|   177k|            if (!it->is_number())
  ------------------
  |  Branch (33293:17): [True: 158k, False: 18.6k]
  ------------------
33294|   158k|            {
33295|   158k|                write_value(*it);
33296|   158k|                ++it;
33297|   158k|            }
33298|  18.6k|            else if (!it->is_number_float())
  ------------------
  |  Branch (33298:22): [True: 15.8k, False: 2.79k]
  ------------------
33299|  15.8k|            {
33300|  15.8k|                CharType* const start = oa.reserve(max_run * integer_encoding_space);
33301|  15.8k|                CharType* out = start;
33302|  62.1k|                for (std::size_t n = 0; n < max_run && it != end && it->is_number_integer(); ++n, ++it)
  ------------------
  |  Branch (33302:41): [True: 61.9k, False: 206]
  |  Branch (33302:56): [True: 55.2k, False: 6.74k]
  |  Branch (33302:69): [True: 46.2k, False: 8.94k]
  ------------------
33303|  46.2k|                {
33304|  46.2k|                    out += encode_integer(out, *it);
33305|  46.2k|                }
33306|  15.8k|                oa.commit(static_cast<std::size_t>(out - start));
33307|  15.8k|            }
33308|  2.79k|            else
33309|  2.79k|            {
33310|  2.79k|                it = write_float_elements(it, end, encode_float);
33311|  2.79k|            }
33312|   177k|        }
33313|   121k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9is_numberEv:
43037|   177k|    {
43038|   177k|        return is_number_integer() || is_number_float();
  ------------------
  |  Branch (43038:16): [True: 15.8k, False: 161k]
  |  Branch (43038:39): [True: 2.79k, False: 158k]
  ------------------
43039|   177k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlSL_E_clESL_:
33592|   158k|        {
33593|   158k|            write_msgpack(el, depth + 1);
33594|   158k|        });
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE15is_number_floatEv:
43061|   187k|    {
43062|   187k|        return m_data.m_type == value_t::number_float;
43063|   187k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE17is_number_integerEv:
43045|   232k|    {
43046|   232k|        return m_data.m_type == value_t::number_integer || m_data.m_type == value_t::number_unsigned;
  ------------------
  |  Branch (43046:16): [True: 14.1k, False: 218k]
  |  Branch (43046:60): [True: 48.0k, False: 170k]
  ------------------
43047|   232k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlPhSL_E_clESO_SL_:
33586|  46.2k|        {
33587|  46.2k|            return encode_msgpack_integer(out, el);
33588|  46.2k|        }, [this](CharType * out, const number_float_t n)
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20write_float_elementsINS4_11__wrap_iterIPSG_EEZNSJ_28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEEUlPhdE_EET_SU_SU_T0_:
33325|  2.79k|    {
33326|  2.79k|        constexpr std::size_t max_run = max_reserve_size / integer_encoding_space;
33327|  2.79k|        CharType* const start = oa.reserve(max_run * integer_encoding_space);
33328|  2.79k|        CharType* out = start;
33329|  7.74k|        for (std::size_t n = 0; n < max_run && it != end && it->is_number_float(); ++n, ++it)
  ------------------
  |  Branch (33329:33): [True: 7.73k, False: 14]
  |  Branch (33329:48): [True: 7.08k, False: 650]
  |  Branch (33329:61): [True: 4.94k, False: 2.13k]
  ------------------
33330|  4.94k|        {
33331|  4.94k|            out += encode_float(out, it->m_data.m_value.number_float);
33332|  4.94k|        }
33333|  2.79k|        oa.commit(static_cast<std::size_t>(out - start));
33334|  2.79k|        return it;
33335|  2.79k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE28write_msgpack_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlPhdE_clESO_d:
33589|  4.94k|        {
33590|  4.94k|            return encode_compact_float(out, n, to_char_type(0xCA), to_char_type(0xCB));
33591|  4.94k|        }, [this, depth](const BasicJsonType & el)
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE17to_msgpack_lengthEmRKSG_:
30675|   224k|    {
30676|   224k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::uint32_t>(length)))
  ------------------
  |  | 1697|   224k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 224k]
  |  |  ------------------
  ------------------
30677|      0|        {
30678|      0|            throw_msgpack_length_too_large(length, j);
30679|      0|        }
30680|       |
30681|   224k|        static_cast<void>(j);
30682|   224k|        return static_cast<std::uint32_t>(length);
30683|   224k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIjmEEbT0_:
 5316|   224k|{
 5317|   224k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|   224k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IjmLb0EvE4testEm:
 5300|   224k|    {
 5301|   224k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|   224k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2IjmLb0ELb0EE4testEm:
 5254|   224k|    {
 5255|   224k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|   224k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|   224k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12write_numberIhEEvT_b:
35638|  20.5k|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|  20.5k|        std::array<CharType, sizeof(NumberType)> vec{};
35641|  20.5k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|  20.5k|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 20.5k, False: 0]
  ------------------
35645|  20.5k|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|  20.5k|            reverse_bytes(vec);
35648|  20.5k|        }
35649|       |
35650|  20.5k|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|  20.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE13reverse_bytesILm1EEEvRNS4_5arrayIhXT_EEE:
35619|  24.6k|    {
35620|  24.6k|        std::reverse(a.begin(), a.end());
35621|  24.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE16write_charactersEPKhm:
29899|  50.0k|    {
29900|  50.0k|        if (JSON_HEDLEY_UNLIKELY(space() < length))
  ------------------
  |  | 1697|  50.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 304, False: 49.6k]
  |  |  ------------------
  ------------------
29901|    304|        {
29902|    304|            if (length >= max_reserve_size)
  ------------------
  |  Branch (29902:17): [True: 102, False: 202]
  ------------------
29903|    102|            {
29904|    102|                append(s, length);
29905|    102|                return;
29906|    102|            }
29907|    202|            grow(length);
29908|    202|        }
29909|  49.8k|        if (length <= 32)
  ------------------
  |  Branch (29909:13): [True: 49.7k, False: 184]
  ------------------
29910|  49.7k|        {
29911|  49.7k|            copy_short(cursor, s, length, std::integral_constant<bool, sizeof(CharType) == 1>());
29912|  49.7k|            cursor += length;
29913|  49.7k|        }
29914|    184|        else
29915|    184|        {
29916|    184|            std::memcpy(cursor, s, length * sizeof(CharType));
29917|    184|            cursor += length;
29918|    184|        }
29919|  49.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE6appendEPKhm:
30020|    102|    {
30021|    102|        const std::size_t written = position();
30022|    102|        v->resize(written);
30023|    102|        if (v->capacity() - written < length)
  ------------------
  |  Branch (30023:13): [True: 102, False: 0]
  ------------------
30024|    102|        {
30025|       |            // grow geometrically, with room for the writes that follow, so
30026|       |            // that the next grow() need not reallocate right away
30027|    102|            v->reserve((std::max)(v->capacity() * 2, written + length + max_reserve_size));
30028|    102|        }
30029|    102|        v->insert(v->end(), s, s + length);
30030|    102|        cursor = v->data() + v->size();
30031|    102|        limit = cursor;
30032|    102|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12write_numberItEEvT_b:
35638|    862|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|    862|        std::array<CharType, sizeof(NumberType)> vec{};
35641|    862|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|    862|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 862, False: 0]
  ------------------
35645|    862|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|    862|            reverse_bytes(vec);
35648|    862|        }
35649|       |
35650|    862|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE13reverse_bytesERNS4_5arrayIhLm2EEE:
35603|    862|    {
35604|    862|        byte_swap_buffer<std::uint16_t>(a);
35605|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE16byte_swap_bufferItLm2EEEvRNS4_5arrayIhXT0_EEE:
35592|    862|    {
35593|    862|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|    862|        UIntType v{};
35595|    862|        std::memcpy(&v, a.data(), sizeof(v));
35596|    862|        v = byteswap(v);
35597|    862|        std::memcpy(a.data(), &v, sizeof(v));
35598|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEt:
 9143|    862|{
 9144|    862|#if defined(__GNUC__) || defined(__clang__)
 9145|    862|    return __builtin_bswap16(x);
 9146|       |#elif defined(_MSC_VER)
 9147|       |    return _byteswap_ushort(x);
 9148|       |#elif defined(__cpp_lib_byteswap)
 9149|       |    return std::byteswap(x);
 9150|       |#else
 9151|       |    return static_cast<std::uint16_t>((x >> 8u) | (x << 8u));
 9152|       |#endif
 9153|    862|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12write_numberIaEEvT_b:
35638|  4.10k|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|  4.10k|        std::array<CharType, sizeof(NumberType)> vec{};
35641|  4.10k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|  4.10k|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 4.10k, False: 0]
  ------------------
35645|  4.10k|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|  4.10k|            reverse_bytes(vec);
35648|  4.10k|        }
35649|       |
35650|  4.10k|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|  4.10k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE11write_bytesEPKvm:
31265|  24.4k|    {
31266|  24.4k|        oa.write_characters(static_cast<const CharType*>(data), size);
31267|  24.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20write_msgpack_objectERKSG_m:
33523|  11.4k|    {
33524|  11.4k|        write_msgpack_object_prefix(j.m_data.m_value.object->size(), j);
33525|       |
33526|  11.4k|        for (const auto& el : *j.m_data.m_value.object)
  ------------------
  |  Branch (33526:29): [True: 17.3k, False: 11.4k]
  ------------------
33527|  17.3k|        {
33528|       |            // as in write_cbor, el.first is written directly with the
33529|       |            // object as diagnostics context
33530|  17.3k|            write_msgpack_key(el.first, j);
33531|       |
33532|  17.3k|            const BasicJsonType& value = el.second;
33533|  17.3k|            switch (value.type())
33534|  17.3k|            {
33535|    640|                case value_t::null:
  ------------------
  |  Branch (33535:17): [True: 640, False: 16.7k]
  ------------------
33536|    640|                    oa.write_character(to_char_type(0xC0));
33537|    640|                    break;
33538|       |
33539|    856|                case value_t::boolean:
  ------------------
  |  Branch (33539:17): [True: 856, False: 16.5k]
  ------------------
33540|    856|                    oa.write_character(value.m_data.m_value.boolean ? to_char_type(0xC3) : to_char_type(0xC2));
  ------------------
  |  Branch (33540:40): [True: 680, False: 176]
  ------------------
33541|    856|                    break;
33542|       |
33543|  2.00k|                case value_t::number_integer:
  ------------------
  |  Branch (33543:17): [True: 2.00k, False: 15.3k]
  ------------------
33544|  6.73k|                case value_t::number_unsigned:
  ------------------
  |  Branch (33544:17): [True: 4.73k, False: 12.6k]
  ------------------
33545|  6.73k|                    write_msgpack_integer(value, std::integral_constant<bool, integers_fit_64_bits()>());
33546|  6.73k|                    break;
33547|       |
33548|    380|                case value_t::number_float:
  ------------------
  |  Branch (33548:17): [True: 380, False: 17.0k]
  ------------------
33549|    380|                    write_msgpack_float(value.m_data.m_value.number_float);
33550|    380|                    break;
33551|       |
33552|  1.00k|                case value_t::string:
  ------------------
  |  Branch (33552:17): [True: 1.00k, False: 16.3k]
  ------------------
33553|  1.00k|                    write_msgpack_string(*value.m_data.m_value.string, value);
33554|  1.00k|                    break;
33555|       |
33556|  4.63k|                case value_t::object:
  ------------------
  |  Branch (33556:17): [True: 4.63k, False: 12.7k]
  ------------------
33557|  6.52k|                case value_t::array:
  ------------------
  |  Branch (33557:17): [True: 1.88k, False: 15.5k]
  ------------------
33558|  7.78k|                case value_t::binary:
  ------------------
  |  Branch (33558:17): [True: 1.25k, False: 16.1k]
  ------------------
33559|  7.78k|                case value_t::discarded:
  ------------------
  |  Branch (33559:17): [True: 0, False: 17.3k]
  ------------------
33560|  7.78k|                default:
  ------------------
  |  Branch (33560:17): [True: 0, False: 17.3k]
  ------------------
33561|  7.78k|                    write_msgpack(value, depth + 1);
33562|  7.78k|                    break;
33563|  17.3k|            }
33564|  17.3k|        }
33565|  11.4k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12from_msgpackIPKhSH_TnNS2_9enable_ifIXsr6detail14can_compare_neIT_T0_EE5valueEiE4typeELi0EEESE_SJ_SK_bbNS0_6detail15error_handler_tE:
46865|  9.64k|    {
46866|  9.64k|        return from_binary_impl(detail::input_adapter(std::move(first), std::move(last)), input_format_t::msgpack, strict, allow_exceptions, error_handler);
46867|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12from_msgpackIRNS2_19basic_istringstreamIcS7_S9_EEEESE_OT_bbNS0_6detail15error_handler_tE:
46852|  9.64k|    {
46853|  9.64k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::msgpack, strict, allow_exceptions, error_handler);
46854|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16from_binary_implINS0_6detail20input_stream_adapterEEESE_T_NSG_14input_format_tEbbNSG_15error_handler_tENSG_18cbor_tag_handler_tE:
46575|  9.64k|    {
46576|  9.64k|        basic_json result;
46577|  9.64k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.64k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.64k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.64k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.64k|        return result;
46584|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEEC2ERSG_bPNS1_5lexerISG_SH_Lb0EEE:
17821|  9.64k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.64k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEEC2EOSH_NS1_14input_format_tENS1_15error_handler_tE:
18992|  9.64k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.64k|    {
18994|  9.64k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterC2EOS2_:
 9815|  9.64k|        : is(rhs.is), sb(rhs.sb)
 9816|       |#if JSON_PRECISE_STREAM_POSITION
 9817|       |        , lookahead(rhs.lookahead)
 9818|       |#endif
 9819|       |#if !JSON_DISABLE_STREAM_BULK_SCAN
 9820|  9.64k|        , token_carry(std::move(rhs.token_carry))
 9821|  9.64k|        , token_segment(rhs.token_segment)
 9822|  9.64k|        , current_in_get_area(rhs.current_in_get_area)
 9823|  9.64k|        , tracking_token(rhs.tracking_token)
 9824|  9.64k|        , no_get_area(rhs.no_get_area)
 9825|       |#endif
 9826|  9.64k|    {
 9827|  9.64k|        rhs.is = nullptr;
 9828|  9.64k|        rhs.sb = nullptr;
 9829|       |#if JSON_PRECISE_STREAM_POSITION
 9830|       |        rhs.lookahead = false;
 9831|       |#endif
 9832|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcEC2EOS3_:
 9404|  19.2k|        : m_data(std::move(rhs.m_data)), m_end(rhs.m_end), m_capacity_end(rhs.m_capacity_end)
 9405|  19.2k|    {
 9406|  19.2k|        rhs.m_end = rhs.m_capacity_end = nullptr;
 9407|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9sax_parseEPSJ_bNS1_18cbor_tag_handler_tE:
19017|  9.64k|    {
19018|  9.64k|        sax = sax_;
19019|  9.64k|        container_stack.clear();
19020|  9.64k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.64k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.64k|        bool result = false;
19024|       |
19025|  9.64k|        switch (input_format)
19026|  9.64k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.64k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|      0|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 0, False: 9.64k]
  ------------------
19032|      0|                result = parse_cbor_internal(tag_handler);
19033|      0|                break;
19034|       |
19035|  9.64k|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 9.64k, False: 0]
  ------------------
19036|  9.64k|                result = parse_msgpack_internal();
19037|  9.64k|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.64k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.64k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.64k]
  ------------------
19045|      0|                result = parse_bon8_internal();
19046|      0|                break;
19047|       |
19048|      0|            case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (19048:13): [True: 0, False: 9.64k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.64k]
  ------------------
19050|      0|                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (19050:17): [Folded, False: 0]
  ------------------
19051|  9.64k|        }
19052|       |
19053|       |        // BON8: a string ends at the first byte that cannot continue it. If
19054|       |        // that byte follows the value, the reader has already taken it from
19055|       |        // the input and holds it in bon8_pushback. Without the end-of-input
19056|       |        // check below it would be dropped, and the next read would start
19057|       |        // behind it, so report the missing 0xFF instead.
19058|  5.53k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 5.53k, False: 0]
  |  Branch (19058:23): [True: 0, False: 5.53k]
  |  Branch (19058:34): [True: 0, False: 0]
  |  Branch (19058:74): [True: 0, False: 0]
  ------------------
19059|      0|        {
19060|      0|            get_bon8();
19061|      0|            return last_byte_error(exception_id::unexpected_end_of_input, "string at the end of the value is not terminated by 0xFF", "value", "");
19062|      0|        }
19063|       |
19064|       |        // strict mode: next byte must be EOF
19065|  5.53k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 5.53k, False: 0]
  |  Branch (19065:23): [True: 5.53k, False: 0]
  ------------------
19066|  5.53k|        {
19067|  5.53k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 5.53k]
  |  Branch (19067:59): [True: 0, False: 5.53k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  5.53k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 5.53k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  5.53k|            else
19077|  5.53k|            {
19078|  5.53k|                get();
19079|  5.53k|            }
19080|       |
19081|  5.53k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  5.53k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 282, False: 5.25k]
  |  |  ------------------
  ------------------
19082|    282|            {
19083|    282|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    282|            }
19085|  5.53k|        }
19086|       |
19087|  5.25k|        return result;
19088|  5.53k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12bound_parserEPSJ_NS4_17integral_constantIbLb1EEE:
19096|  9.64k|    {
19097|  9.64k|        return s;
19098|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16position_bindingC2EPNS1_24json_sax_dom_error_stateEPKm:
19119|  9.64k|            : parser(parser_), saved()
19120|  9.64k|        {
19121|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.64k, False: 0]
  ------------------
19122|  9.64k|            {
19123|  9.64k|                saved = parser->get_reserve_state();
19124|  9.64k|                parser->set_input_position(position);
19125|  9.64k|            }
19126|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIiEEbRT_PKc:
23503|    337|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    337|        auto new_chars_read = ia.get_elements(&dest);
23507|    337|        chars_read += new_chars_read;
23508|    337|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    337|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 314]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    314|        return true;
23516|    337|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIiEEmPT_m:
 9930|    337|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    337|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    337|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    337|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    337|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|    651|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 314, False: 23]
  |  |  |  Branch (1696:94): [True: 314, False: 23]
  |  |  |  Branch (1696:94): [True: 314, False: 0]
  |  |  ------------------
  ------------------
 9940|    314|        {
 9941|    314|            std::memcpy(dest, first, count * sizeof(T));
 9942|    314|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    314|            return count * sizeof(T);
 9944|    314|        }
 9945|     23|#endif
 9946|     23|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     23|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     23|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 0]
  |  |  ------------------
  ------------------
 9948|     23|        {
 9949|     23|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     23|        }
 9951|     23|        return res;
 9952|    337|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access7get_ptrEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEE:
10087|   569k|        {
10088|   569k|            return (s->*(&streambuf_access::gptr))();
10089|   569k|        }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access7get_endEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEE:
10091|   487k|        {
10092|   487k|            return (s->*(&streambuf_access::egptr))();
10093|   487k|        }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access4bumpEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEEi:
10099|   391k|        {
10100|   391k|            (s->*(&streambuf_access::gbump))(n);
10101|   391k|        }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10report_eofEPKc:
23991|  4.06k|    {
23992|  4.06k|        return sax->parse_error(chars_read, "<end of file>",
23993|  4.06k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  4.06k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17exception_messageERKSC_SM_:
24102|  4.39k|    {
24103|  4.39k|        std::string error_msg = "syntax error while parsing ";
24104|  4.39k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.39k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.39k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIiEEvRT_:
23555|    651|    {
23556|    651|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    651|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.95k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 1.30k, False: 651]
  ------------------
23572|  1.30k|            {
23573|  1.30k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  1.30k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    651|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15enter_containerEbmi:
19201|   140k|    {
19202|   140k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 17.8k, False: 123k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   140k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   140k|        return true;
19209|   140k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12start_objectEm:
17878|  17.8k|    {
17879|  17.8k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
17880|       |
17881|       |#if JSON_DIAGNOSTIC_POSITIONS
17882|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17883|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17884|       |#endif
17885|       |
17886|  17.8k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  17.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   140k|    {
17962|   140k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.86k, False: 134k]
  ------------------
17963|  6.86k|        {
17964|  6.86k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  6.86k|            return &root;
17971|  6.86k|        }
17972|       |
17973|   134k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   134k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 121k, False: 12.4k]
  |  Branch (17973:9): [True: 12.4k, False: 0]
  |  Branch (17973:9): [True: 134k, False: 0]
  ------------------
17974|       |
17975|   134k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 121k, False: 12.4k]
  ------------------
17976|   121k|        {
17977|   121k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|   121k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   121k|        }
17985|       |
17986|  12.4k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 12.4k, False: 0]
  ------------------
17987|  12.4k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 12.4k, False: 0]
  ------------------
17988|  12.4k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  12.4k|        return object_element;
17995|  12.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20check_container_sizeINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_20input_stream_adapterEEESH_EEbRT_mPKcPT0_:
16469|   140k|{
16470|   140k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 140k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 140k]
  |  |  ------------------
  ------------------
16471|      0|    {
16472|      0|        return container_too_large_error(sax, len, kind, ref);
16473|      0|    }
16474|   140k|    return true;
16475|   140k|}
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE11start_arrayEm:
17915|   123k|    {
17916|   123k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
17917|       |
17918|       |#if JSON_DIAGNOSTIC_POSITIONS
17919|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17920|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17921|       |#endif
17922|       |
17923|   123k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   123k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 123k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   123k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 123k, False: 0]
  ------------------
17929|   123k|        {
17930|   123k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   123k|        }
17932|       |
17933|   123k|        return true;
17934|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15container_frameC2Embi:
19167|   140k|            : remaining(remaining_), type_marker(type_marker_), is_object(is_object_) {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15leave_containerEv:
19233|   108k|    {
19234|   108k|        const bool is_object = container_stack.back().is_object;
19235|   108k|        container_stack.pop_back();
19236|   108k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 12.1k, False: 96.6k]
  ------------------
19237|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE10end_objectEv:
17901|  12.1k|    {
17902|  12.1k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 12.1k, False: 0]
  ------------------
17903|  12.1k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 12.1k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  12.1k|        ref_stack.back()->set_parents();
17910|  12.1k|        ref_stack.pop_back();
17911|  12.1k|        return true;
17912|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE9end_arrayEv:
17937|  96.6k|    {
17938|  96.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 96.6k, False: 0]
  ------------------
17939|  96.6k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 96.6k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  96.6k|        ref_stack.back()->set_parents();
17946|  96.6k|        ref_stack.pop_back();
17947|  96.6k|        return true;
17948|  96.6k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12unexpect_eofEPKc:
23974|  50.5k|    {
23975|  50.5k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  50.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.69k, False: 46.8k]
  |  |  ------------------
  ------------------
23976|  3.69k|        {
23977|  3.69k|            return report_eof(context);
23978|  3.69k|        }
23979|  46.8k|        return true;
23980|  50.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter14bulk_remainingEv:
 9974|   151k|    {
 9975|   151k|        if (!current_in_get_area)
  ------------------
  |  Branch (9975:13): [True: 0, False: 151k]
  ------------------
 9976|      0|        {
 9977|      0|            return 0;
 9978|      0|        }
 9979|   151k|        return static_cast<std::size_t>(streambuf_access::get_end(sb) - current_end());
 9980|   151k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter11current_endEv:
10112|   233k|    {
10113|       |#if JSON_PRECISE_STREAM_POSITION
10114|       |        // the character is peeked at gptr() and not stepped over yet, unless
10115|       |        // it was given back with release_lookahead()
10116|       |        return streambuf_access::get_ptr(sb) + (lookahead ? 1 : 0);
10117|       |#else
10118|   233k|        return streambuf_access::get_ptr(sb);
10119|   233k|#endif
10120|   233k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter9bulk_dataEv:
 9968|  82.1k|    {
 9969|  82.1k|        return current_end();
 9970|  82.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter9bulk_skipEm:
 9985|  64.8k|    {
 9986|  64.8k|        JSON_ASSERT(n <= bulk_remaining());
  ------------------
  |  | 2653|  64.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9986:9): [True: 64.8k, False: 0]
  ------------------
 9987|       |        // gbump() takes an int, but a get area (e.g., of a std::stringbuf) can
 9988|       |        // be larger
 9989|  64.8k|        constexpr auto max_bump = static_cast<std::size_t>((std::numeric_limits<int>::max)());
 9990|  64.8k|        for (; n > max_bump; n -= max_bump)
  ------------------
  |  Branch (9990:16): [True: 0, False: 64.8k]
  ------------------
 9991|      0|        {
 9992|      0|            streambuf_access::bump(sb, static_cast<int>(max_bump));
 9993|      0|        }
 9994|  64.8k|        streambuf_access::bump(sb, static_cast<int>(n));
 9995|  64.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17check_string_utf8ERSC_PKc:
23811|  46.3k|    {
23812|  46.3k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 46.3k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  46.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE3keyERSC_:
17890|  31.6k|    {
17891|  31.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 31.6k, False: 0]
  ------------------
17892|  31.6k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 31.6k, False: 0]
  ------------------
17893|       |
17894|       |        // add null at the given key and store the reference for later; the
17895|       |        // key is moved, as the lexer starts the next token with reset()
17896|  31.6k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  31.6k|        return true;
17898|  31.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIdEEbRT_PKc:
23503|    645|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    645|        auto new_chars_read = ia.get_elements(&dest);
23507|    645|        chars_read += new_chars_read;
23508|    645|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    645|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 620]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|    620|        return true;
23516|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIdEEmPT_m:
 9930|    645|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    645|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    645|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    645|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    645|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  1.26k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 620, False: 25]
  |  |  |  Branch (1696:94): [True: 620, False: 25]
  |  |  |  Branch (1696:94): [True: 620, False: 0]
  |  |  ------------------
  ------------------
 9940|    620|        {
 9941|    620|            std::memcpy(dest, first, count * sizeof(T));
 9942|    620|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    620|            return count * sizeof(T);
 9944|    620|        }
 9945|     25|#endif
 9946|     25|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     25|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     25|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 0]
  |  |  ------------------
  ------------------
 9948|     25|        {
 9949|     25|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     25|        }
 9951|     25|        return res;
 9952|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapERd:
23535|  1.30k|    {
23536|  1.30k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.30k|        std::uint64_t bits{};
23538|  1.30k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.30k|        bits = byteswap(bits);
23540|  1.30k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10emit_floatIdEEbT_:
23682|  1.30k|    {
23683|  1.30k|        const auto result = static_cast<number_float_t>(number);
23684|  1.30k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.59k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.30k]
  |  |  |  Branch (1697:94): [True: 1.29k, False: 6]
  |  |  |  Branch (1697:94): [True: 0, False: 1.29k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.30k|        return sax->number_float(result, no_source);
23689|  1.30k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16get_token_stringEv:
24091|    650|    {
24092|    650|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    650|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12number_floatEdRKSC_:
17856|  4.37k|    {
17857|  4.37k|        handle_value(val);
17858|  4.37k|        return true;
17859|  4.37k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueIRdEEPSG_OT_:
17961|  4.37k|    {
17962|  4.37k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 596, False: 3.77k]
  ------------------
17963|    596|        {
17964|    596|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    596|            return &root;
17971|    596|        }
17972|       |
17973|  3.77k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.77k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.38k, False: 387]
  |  Branch (17973:9): [True: 387, False: 0]
  |  Branch (17973:9): [True: 3.77k, False: 0]
  ------------------
17974|       |
17975|  3.77k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.38k, False: 387]
  ------------------
17976|  3.38k|        {
17977|  3.38k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.38k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.38k|        }
17985|       |
17986|    387|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 387, False: 0]
  ------------------
17987|    387|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 387, False: 0]
  ------------------
17988|    387|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|    387|        return object_element;
17995|    387|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIcEEmPT_m:
 9930|    449|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    449|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    449|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    449|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    449|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|    449|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 0, False: 449]
  |  |  |  Branch (1696:94): [True: 0, False: 449]
  |  |  |  Branch (1696:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 9940|      0|        {
 9941|      0|            std::memcpy(dest, first, count * sizeof(T));
 9942|      0|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|      0|            return count * sizeof(T);
 9944|      0|        }
 9945|    449|#endif
 9946|    449|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    449|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    449|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 449, False: 0]
  |  |  ------------------
  ------------------
 9948|    449|        {
 9949|    449|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    449|        }
 9951|    449|        return res;
 9952|    449|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE6stringERSC_:
17862|  14.6k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  14.6k|        handle_value(std::move(val));
17866|  14.6k|        return true;
17867|  14.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueISC_EEPSG_OT_:
17961|  14.6k|    {
17962|  14.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 647, False: 14.0k]
  ------------------
17963|    647|        {
17964|    647|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    647|            return &root;
17971|    647|        }
17972|       |
17973|  14.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  14.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 9.85k, False: 4.17k]
  |  Branch (17973:9): [True: 4.17k, False: 0]
  |  Branch (17973:9): [True: 14.0k, False: 0]
  ------------------
17974|       |
17975|  14.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 9.85k, False: 4.17k]
  ------------------
17976|  9.85k|        {
17977|  9.85k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  9.85k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  9.85k|        }
17985|       |
17986|  4.17k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.17k, False: 0]
  ------------------
17987|  4.17k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.17k, False: 0]
  ------------------
17988|  4.17k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.17k|        return object_element;
17995|  4.17k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIiEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  2.91k|    {
23868|  2.91k|        return get_bytes(len, "binary", result);
23869|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIiNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  2.91k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  2.91k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  2.91k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.91k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.91k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  5.77k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 2.91k, False: 2.86k]
  ------------------
23906|  2.91k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  2.91k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 2.91k, False: 0]
  ------------------
23910|  2.91k|                                       ? static_cast<std::size_t>(len)
23911|  2.91k|                                       : chunk_size;
23912|  2.91k|            const std::size_t old_size = result.size();
23913|  2.91k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  2.91k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  2.91k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 2.91k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  2.91k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  2.91k|            chars_read += bytes_read;
23921|  2.91k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  2.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 45, False: 2.86k]
  |  |  ------------------
  ------------------
23922|     45|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     45|                result.resize(old_size + bytes_read);
23927|     45|                ++chars_read;
23928|     45|                current = char_traits<char_type>::eof();
23929|     45|                return unexpect_eof(context);
23930|     45|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  2.86k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  2.86k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 2.86k, False: 0]
  ------------------
23933|  2.86k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  2.86k|        }
23935|  2.86k|        return true;
23936|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIiNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  2.91k|    {
23965|  2.91k|        return false;
23966|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIhEEmPT_m:
 9930|  19.2k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  19.2k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|  19.2k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  19.2k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  19.2k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  38.3k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 19.0k, False: 283]
  |  |  |  Branch (1696:94): [True: 19.0k, False: 283]
  |  |  |  Branch (1696:94): [True: 19.0k, False: 0]
  |  |  ------------------
  ------------------
 9940|  19.0k|        {
 9941|  19.0k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  19.0k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  19.0k|            return count * sizeof(T);
 9944|  19.0k|        }
 9945|    283|#endif
 9946|    283|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    283|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    283|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 283, False: 0]
  |  |  ------------------
  ------------------
 9948|    283|        {
 9949|    283|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    283|        }
 9951|    283|        return res;
 9952|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|  16.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  16.9k|        handle_value(std::move(val));
17874|  16.9k|        return true;
17875|  16.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueINS0_27byte_container_with_subtypeISF_EEEEPSG_OT_:
17961|  16.9k|    {
17962|  16.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 142, False: 16.7k]
  ------------------
17963|    142|        {
17964|    142|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    142|            return &root;
17971|    142|        }
17972|       |
17973|  16.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 1.38k]
  |  Branch (17973:9): [True: 1.38k, False: 0]
  |  Branch (17973:9): [True: 16.7k, False: 0]
  ------------------
17974|       |
17975|  16.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 1.38k]
  ------------------
17976|  15.3k|        {
17977|  15.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  15.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  15.3k|        }
17985|       |
17986|  1.38k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.38k, False: 0]
  ------------------
17987|  1.38k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.38k, False: 0]
  ------------------
17988|  1.38k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.38k|        return object_element;
17995|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIhLb0EEEbRT_:
23596|  14.4k|    {
23597|       |        // read in the original format
23598|       |
23599|  14.4k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  14.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 14.4k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  14.4k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 14.4k, False: 42]
  |  Branch (23603:34): [Folded, False: 14.4k]
  |  Branch (23603:57): [True: 0, False: 14.4k]
  ------------------
23604|  14.4k|        {
23605|  14.4k|            byte_swap(result);
23606|  14.4k|        }
23607|  14.4k|        return true;
23608|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIhEEbRT_PKc:
23503|  14.4k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  14.4k|        auto new_chars_read = ia.get_elements(&dest);
23507|  14.4k|        chars_read += new_chars_read;
23508|  14.4k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  14.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 42, False: 14.4k]
  |  |  ------------------
  ------------------
23509|     42|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     42|            ++chars_read;
23512|     42|            static_cast<void>(report_eof(context));
23513|     42|            return false;
23514|     42|        }
23515|  14.4k|        return true;
23516|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIhEEvRT_:
23555|  14.4k|    {
23556|  14.4k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  14.4k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  14.4k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 14.4k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE7booleanEb:
17838|  5.26k|    {
17839|  5.26k|        handle_value(val);
17840|  5.26k|        return true;
17841|  5.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueIRbEEPSG_OT_:
17961|  5.26k|    {
17962|  5.26k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 4, False: 5.26k]
  ------------------
17963|      4|        {
17964|      4|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      4|            return &root;
17971|      4|        }
17972|       |
17973|  5.26k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.26k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.94k, False: 1.32k]
  |  Branch (17973:9): [True: 1.32k, False: 0]
  |  Branch (17973:9): [True: 5.26k, False: 0]
  ------------------
17974|       |
17975|  5.26k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.94k, False: 1.32k]
  ------------------
17976|  3.94k|        {
17977|  3.94k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.94k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.94k|        }
17985|       |
17986|  1.32k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.32k, False: 0]
  ------------------
17987|  1.32k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.32k, False: 0]
  ------------------
17988|  1.32k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.32k|        return object_element;
17995|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE4nullEv:
17832|  4.54k|    {
17833|  4.54k|        handle_value(nullptr);
17834|  4.54k|        return true;
17835|  4.54k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueIDnEEPSG_OT_:
17961|  4.54k|    {
17962|  4.54k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2, False: 4.54k]
  ------------------
17963|      2|        {
17964|      2|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      2|            return &root;
17971|      2|        }
17972|       |
17973|  4.54k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.54k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.19k, False: 1.34k]
  |  Branch (17973:9): [True: 1.34k, False: 0]
  |  Branch (17973:9): [True: 4.54k, False: 0]
  ------------------
17974|       |
17975|  4.54k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.19k, False: 1.34k]
  ------------------
17976|  3.19k|        {
17977|  3.19k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.19k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.19k|        }
17985|       |
17986|  1.34k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.34k, False: 0]
  ------------------
17987|  1.34k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.34k, False: 0]
  ------------------
17988|  1.34k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.34k|        return object_element;
17995|  1.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIiEEbT_:
23628|    651|    {
23629|    651|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    651|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 651, False: 0]
  |  |  ------------------
  ------------------
23630|    651|        {
23631|    651|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    651|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE14number_integerEl:
17844|  30.4k|    {
17845|  30.4k|        handle_value(val);
17846|  30.4k|        return true;
17847|  30.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueIRlEEPSG_OT_:
17961|  30.4k|    {
17962|  30.4k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 415, False: 30.0k]
  ------------------
17963|    415|        {
17964|    415|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    415|            return &root;
17971|    415|        }
17972|       |
17973|  30.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  30.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.3k, False: 2.70k]
  |  Branch (17973:9): [True: 2.70k, False: 0]
  |  Branch (17973:9): [True: 30.0k, False: 0]
  ------------------
17974|       |
17975|  30.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.3k, False: 2.70k]
  ------------------
17976|  27.3k|        {
17977|  27.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  27.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.3k|        }
17985|       |
17986|  2.70k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.70k, False: 0]
  ------------------
17987|  2.70k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.70k, False: 0]
  ------------------
17988|  2.70k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  2.70k|        return object_element;
17995|  2.70k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE15number_unsignedEm:
17850|  87.0k|    {
17851|  87.0k|        handle_value(val);
17852|  87.0k|        return true;
17853|  87.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEE12handle_valueIRmEEPSG_OT_:
17961|  87.0k|    {
17962|  87.0k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 522, False: 86.5k]
  ------------------
17963|    522|        {
17964|    522|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    522|            return &root;
17971|    522|        }
17972|       |
17973|  86.5k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  86.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 78.9k, False: 7.59k]
  |  Branch (17973:9): [True: 7.59k, False: 0]
  |  Branch (17973:9): [True: 86.5k, False: 0]
  ------------------
17974|       |
17975|  86.5k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 78.9k, False: 7.59k]
  ------------------
17976|  78.9k|        {
17977|  78.9k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  78.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  78.9k|        }
17985|       |
17986|  7.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 7.59k, False: 0]
  ------------------
17987|  7.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 7.59k, False: 0]
  ------------------
17988|  7.59k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  7.59k|        return object_element;
17995|  7.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIlEEbRT_PKc:
23503|    563|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    563|        auto new_chars_read = ia.get_elements(&dest);
23507|    563|        chars_read += new_chars_read;
23508|    563|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    563|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 538]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|    538|        return true;
23516|    563|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIlEEmPT_m:
 9930|    563|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    563|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    563|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    563|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    563|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  1.10k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 538, False: 25]
  |  |  |  Branch (1696:94): [True: 538, False: 25]
  |  |  |  Branch (1696:94): [True: 538, False: 0]
  |  |  ------------------
  ------------------
 9940|    538|        {
 9941|    538|            std::memcpy(dest, first, count * sizeof(T));
 9942|    538|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    538|            return count * sizeof(T);
 9944|    538|        }
 9945|     25|#endif
 9946|     25|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     25|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     25|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 0]
  |  |  ------------------
  ------------------
 9948|     25|        {
 9949|     25|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     25|        }
 9951|     25|        return res;
 9952|    563|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIlEEvRT_:
23555|    935|    {
23556|    935|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    935|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.67k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.74k, False: 935]
  ------------------
23572|  3.74k|            {
23573|  3.74k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.74k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    935|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIlEEbT_:
23628|    935|    {
23629|    935|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    935|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 935, False: 0]
  |  |  ------------------
  ------------------
23630|    935|        {
23631|    935|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    935|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toImEEbRT_PKc:
23503|    496|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    496|        auto new_chars_read = ia.get_elements(&dest);
23507|    496|        chars_read += new_chars_read;
23508|    496|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    496|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 473]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    473|        return true;
23516|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsImEEmPT_m:
 9930|    496|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    496|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    496|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    496|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    496|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|    969|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 473, False: 23]
  |  |  |  Branch (1696:94): [True: 473, False: 23]
  |  |  |  Branch (1696:94): [True: 473, False: 0]
  |  |  ------------------
  ------------------
 9940|    473|        {
 9941|    473|            std::memcpy(dest, first, count * sizeof(T));
 9942|    473|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    473|            return count * sizeof(T);
 9944|    473|        }
 9945|     23|#endif
 9946|     23|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     23|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     23|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 0]
  |  |  ------------------
  ------------------
 9948|     23|        {
 9949|     23|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     23|        }
 9951|     23|        return res;
 9952|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapImEEvRT_:
23555|    839|    {
23556|    839|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    839|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.19k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.35k, False: 839]
  ------------------
23572|  3.35k|            {
23573|  3.35k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.35k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedImEEbT_:
23656|    839|    {
23657|    839|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    839|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 839, False: 0]
  |  |  ------------------
  ------------------
23658|    839|        {
23659|    839|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    839|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE25leave_container_and_checkERb:
19250|   108k|    {
19251|   108k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   108k|        value_complete = container_stack.empty();
19256|   108k|        return true;
19257|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberItLb0EEEbRT_:
23596|  6.58k|    {
23597|       |        // read in the original format
23598|       |
23599|  6.58k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  6.58k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 6.58k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  6.58k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 6.52k, False: 67]
  |  Branch (23603:34): [Folded, False: 6.52k]
  |  Branch (23603:57): [True: 0, False: 6.52k]
  ------------------
23604|  6.52k|        {
23605|  6.52k|            byte_swap(result);
23606|  6.52k|        }
23607|  6.58k|        return true;
23608|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toItEEbRT_PKc:
23503|  6.58k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  6.58k|        auto new_chars_read = ia.get_elements(&dest);
23507|  6.58k|        chars_read += new_chars_read;
23508|  6.58k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  6.58k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 6.52k]
  |  |  ------------------
  ------------------
23509|     67|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     67|            ++chars_read;
23512|     67|            static_cast<void>(report_eof(context));
23513|     67|            return false;
23514|     67|        }
23515|  6.52k|        return true;
23516|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsItEEmPT_m:
 9930|  6.58k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  6.58k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|  6.58k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  6.58k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  6.58k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  13.1k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 6.52k, False: 67]
  |  |  |  Branch (1696:94): [True: 6.52k, False: 67]
  |  |  |  Branch (1696:94): [True: 6.52k, False: 0]
  |  |  ------------------
  ------------------
 9940|  6.52k|        {
 9941|  6.52k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  6.52k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  6.52k|            return count * sizeof(T);
 9944|  6.52k|        }
 9945|     67|#endif
 9946|     67|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     67|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     67|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 0]
  |  |  ------------------
  ------------------
 9948|     67|        {
 9949|     67|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     67|        }
 9951|     67|        return res;
 9952|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapItEEvRT_:
23555|  6.94k|    {
23556|  6.94k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  6.94k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  13.8k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 6.94k, False: 6.94k]
  ------------------
23572|  6.94k|            {
23573|  6.94k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  6.94k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  6.94k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIjLb0EEEbRT_:
23596|  2.56k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.56k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.56k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.56k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.49k, False: 74]
  |  Branch (23603:34): [Folded, False: 2.49k]
  |  Branch (23603:57): [True: 0, False: 2.49k]
  ------------------
23604|  2.49k|        {
23605|  2.49k|            byte_swap(result);
23606|  2.49k|        }
23607|  2.56k|        return true;
23608|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIjEEbRT_PKc:
23503|  2.56k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.56k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.56k|        chars_read += new_chars_read;
23508|  2.56k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 74, False: 2.49k]
  |  |  ------------------
  ------------------
23509|     74|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     74|            ++chars_read;
23512|     74|            static_cast<void>(report_eof(context));
23513|     74|            return false;
23514|     74|        }
23515|  2.49k|        return true;
23516|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIjEEmPT_m:
 9930|  2.56k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  2.56k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|  2.56k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  2.56k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  2.56k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  5.06k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.49k, False: 74]
  |  |  |  Branch (1696:94): [True: 2.49k, False: 74]
  |  |  |  Branch (1696:94): [True: 2.49k, False: 0]
  |  |  ------------------
  ------------------
 9940|  2.49k|        {
 9941|  2.49k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  2.49k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  2.49k|            return count * sizeof(T);
 9944|  2.49k|        }
 9945|     74|#endif
 9946|     74|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     74|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     74|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 74, False: 0]
  |  |  ------------------
  ------------------
 9948|     74|        {
 9949|     74|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     74|        }
 9951|     74|        return res;
 9952|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIjEEvRT_:
23555|  2.69k|    {
23556|  2.69k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  2.69k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.07k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.38k, False: 2.69k]
  ------------------
23572|  5.38k|            {
23573|  5.38k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.38k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.69k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberImLb0EEEbRT_:
23596|    496|    {
23597|       |        // read in the original format
23598|       |
23599|    496|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    496|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 496]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    496|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 473, False: 23]
  |  Branch (23603:34): [Folded, False: 473]
  |  Branch (23603:57): [True: 0, False: 473]
  ------------------
23604|    473|        {
23605|    473|            byte_swap(result);
23606|    473|        }
23607|    496|        return true;
23608|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringIjEEbT_RSC_:
23767|  44.0k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  44.0k|        return get_bytes(len, "string", result);
23778|  44.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  44.0k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  44.0k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  44.0k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 16.6k, False: 27.3k]
  ------------------
23898|  16.6k|        {
23899|  16.6k|            return true;
23900|  16.6k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  27.3k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  27.3k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 342, False: 27.0k]
  ------------------
23906|    342|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    342|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 289, False: 53]
  ------------------
23910|    342|                                       ? static_cast<std::size_t>(len)
23911|    342|                                       : chunk_size;
23912|    342|            const std::size_t old_size = result.size();
23913|    342|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    342|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    342|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 342, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    342|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    342|            chars_read += bytes_read;
23921|    342|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    342|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 342, False: 0]
  |  |  ------------------
  ------------------
23922|    342|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    342|                result.resize(old_size + bytes_read);
23927|    342|                ++chars_read;
23928|    342|                current = char_traits<char_type>::eof();
23929|    342|                return unexpect_eof(context);
23930|    342|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  27.0k|        return true;
23936|  27.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIjEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  44.0k|    {
23943|  44.0k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 27.0k, False: 17.0k]
  ------------------
23944|  27.0k|        {
23945|  27.0k|            return false;
23946|  27.0k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|  17.0k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  17.0k|        const std::size_t remaining = ia.bulk_remaining();
23951|  17.0k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 342, False: 16.6k]
  ------------------
23952|    342|        {
23953|    342|            return false; // (the loop reports the premature end)
23954|    342|        }
23955|  16.6k|        const auto n = static_cast<std::size_t>(ulen);
23956|  16.6k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  16.6k|        ia.bulk_skip(n);
23958|  16.6k|        chars_read += n;
23959|  16.6k|        return true;
23960|  17.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.85k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.85k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  1.85k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 728, False: 1.12k]
  ------------------
23898|    728|        {
23899|    728|            return true;
23900|    728|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.12k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.12k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 40, False: 1.08k]
  ------------------
23906|     40|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     40|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 40, False: 0]
  ------------------
23910|     40|                                       ? static_cast<std::size_t>(len)
23911|     40|                                       : chunk_size;
23912|     40|            const std::size_t old_size = result.size();
23913|     40|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|     40|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     40|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 40, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     40|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     40|            chars_read += bytes_read;
23921|     40|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     40|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 40, False: 0]
  |  |  ------------------
  ------------------
23922|     40|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     40|                result.resize(old_size + bytes_read);
23927|     40|                ++chars_read;
23928|     40|                current = char_traits<char_type>::eof();
23929|     40|                return unexpect_eof(context);
23930|     40|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  1.08k|        return true;
23936|  1.12k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIhEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  1.85k|    {
23943|  1.85k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 1.08k, False: 768]
  ------------------
23944|  1.08k|        {
23945|  1.08k|            return false;
23946|  1.08k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|    768|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    768|        const std::size_t remaining = ia.bulk_remaining();
23951|    768|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 40, False: 728]
  ------------------
23952|     40|        {
23953|     40|            return false; // (the loop reports the premature end)
23954|     40|        }
23955|    728|        const auto n = static_cast<std::size_t>(ulen);
23956|    728|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    728|        ia.bulk_skip(n);
23958|    728|        chars_read += n;
23959|    728|        return true;
23960|    768|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|    899|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    899|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|    899|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 390, False: 509]
  ------------------
23898|    390|        {
23899|    390|            return true;
23900|    390|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    509|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    509|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 67, False: 442]
  ------------------
23906|     67|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     67|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 49, False: 18]
  ------------------
23910|     67|                                       ? static_cast<std::size_t>(len)
23911|     67|                                       : chunk_size;
23912|     67|            const std::size_t old_size = result.size();
23913|     67|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|     67|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     67|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 67, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     67|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     67|            chars_read += bytes_read;
23921|     67|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     67|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 0]
  |  |  ------------------
  ------------------
23922|     67|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     67|                result.resize(old_size + bytes_read);
23927|     67|                ++chars_read;
23928|     67|                current = char_traits<char_type>::eof();
23929|     67|                return unexpect_eof(context);
23930|     67|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|    442|        return true;
23936|    509|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockItEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|    899|    {
23943|    899|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 442, False: 457]
  ------------------
23944|    442|        {
23945|    442|            return false;
23946|    442|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|    457|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    457|        const std::size_t remaining = ia.bulk_remaining();
23951|    457|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 67, False: 390]
  ------------------
23952|     67|        {
23953|     67|            return false; // (the loop reports the premature end)
23954|     67|        }
23955|    390|        const auto n = static_cast<std::size_t>(ulen);
23956|    390|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    390|        ia.bulk_skip(n);
23958|    390|        chars_read += n;
23959|    390|        return true;
23960|    457|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE20unsupported_key_typeEPKc:
20159|     40|    {
20160|     40|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     40|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedIhEEbT_:
23656|    947|    {
23657|    947|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    947|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 947, False: 0]
  |  |  ------------------
  ------------------
23658|    947|        {
23659|    947|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    947|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    947|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedItEEbT_:
23656|    700|    {
23657|    700|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    700|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 700, False: 0]
  |  |  ------------------
  ------------------
23658|    700|        {
23659|    700|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    700|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    700|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedIjEEbT_:
23656|    410|    {
23657|    410|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    410|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 410, False: 0]
  |  |  ------------------
  ------------------
23658|    410|        {
23659|    410|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    410|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    410|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|    864|    {
23868|    864|        return get_bytes(len, "binary", result);
23869|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    864|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    864|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    864|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 864]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    864|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.01k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 259, False: 759]
  ------------------
23906|    259|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    259|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 193, False: 66]
  ------------------
23910|    259|                                       ? static_cast<std::size_t>(len)
23911|    259|                                       : chunk_size;
23912|    259|            const std::size_t old_size = result.size();
23913|    259|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    259|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    259|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 259, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    259|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    259|            chars_read += bytes_read;
23921|    259|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    259|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 105, False: 154]
  |  |  ------------------
  ------------------
23922|    105|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    105|                result.resize(old_size + bytes_read);
23927|    105|                ++chars_read;
23928|    105|                current = char_traits<char_type>::eof();
23929|    105|                return unexpect_eof(context);
23930|    105|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    154|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    154|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 154, False: 0]
  ------------------
23933|    154|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    154|        }
23935|    759|        return true;
23936|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    864|    {
23965|    864|        return false;
23966|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  12.1k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  12.1k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  12.1k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 12.1k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  12.1k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  13.3k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.32k, False: 12.0k]
  ------------------
23906|  1.32k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.32k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 1.32k, False: 0]
  ------------------
23910|  1.32k|                                       ? static_cast<std::size_t>(len)
23911|  1.32k|                                       : chunk_size;
23912|  1.32k|            const std::size_t old_size = result.size();
23913|  1.32k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  1.32k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.32k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.32k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.32k|            chars_read += bytes_read;
23921|  1.32k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.32k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 32, False: 1.28k]
  |  |  ------------------
  ------------------
23922|     32|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     32|                result.resize(old_size + bytes_read);
23927|     32|                ++chars_read;
23928|     32|                current = char_traits<char_type>::eof();
23929|     32|                return unexpect_eof(context);
23930|     32|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  1.28k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  1.28k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 1.28k, False: 0]
  ------------------
23933|  1.28k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  1.28k|        }
23935|  12.0k|        return true;
23936|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIhNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  12.1k|    {
23965|  12.1k|        return false;
23966|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  1.27k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.27k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  1.27k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.27k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.27k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.53k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 321, False: 1.21k]
  ------------------
23906|    321|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    321|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 299, False: 22]
  ------------------
23910|    321|                                       ? static_cast<std::size_t>(len)
23911|    321|                                       : chunk_size;
23912|    321|            const std::size_t old_size = result.size();
23913|    321|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    321|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    321|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 321, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    321|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    321|            chars_read += bytes_read;
23921|    321|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    321|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 59, False: 262]
  |  |  ------------------
  ------------------
23922|     59|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     59|                result.resize(old_size + bytes_read);
23927|     59|                ++chars_read;
23928|     59|                current = char_traits<char_type>::eof();
23929|     59|                return unexpect_eof(context);
23930|     59|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    262|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    262|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 262, False: 0]
  ------------------
23933|    262|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    262|        }
23935|  1.21k|        return true;
23936|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockItNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.27k|    {
23965|  1.27k|        return false;
23966|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12bulk_advanceEmh:
20689|  47.0k|    {
20690|  47.0k|        ia.bulk_skip(size);
20691|  47.0k|        chars_read += size;
20692|  47.0k|        current = head;
20693|  47.0k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianItEET_PKh:
20670|    419|    {
20671|    419|        NumberType result{};
20672|    419|        std::memcpy(&result, data, sizeof(NumberType));
20673|    419|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 419, False: 0]
  ------------------
20674|    419|        {
20675|    419|            byte_swap(result);
20676|    419|        }
20677|    419|        return result;
20678|    419|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIjEET_PKh:
20670|    197|    {
20671|    197|        NumberType result{};
20672|    197|        std::memcpy(&result, data, sizeof(NumberType));
20673|    197|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 197, False: 0]
  ------------------
20674|    197|        {
20675|    197|            byte_swap(result);
20676|    197|        }
20677|    197|        return result;
20678|    197|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianImEET_PKh:
20670|    366|    {
20671|    366|        NumberType result{};
20672|    366|        std::memcpy(&result, data, sizeof(NumberType));
20673|    366|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 366, False: 0]
  ------------------
20674|    366|        {
20675|    366|            byte_swap(result);
20676|    366|        }
20677|    366|        return result;
20678|    366|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10emit_floatIfEEbT_:
23682|  3.07k|    {
23683|  3.07k|        const auto result = static_cast<number_float_t>(number);
23684|  3.07k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  5.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.07k]
  |  |  |  Branch (1697:94): [True: 2.84k, False: 231]
  |  |  |  Branch (1697:94): [True: 0, False: 2.84k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  3.07k|        return sax->number_float(result, no_source);
23689|  3.07k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIfEET_PKh:
20670|  1.71k|    {
20671|  1.71k|        NumberType result{};
20672|  1.71k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.71k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.71k, False: 0]
  ------------------
20674|  1.71k|        {
20675|  1.71k|            byte_swap(result);
20676|  1.71k|        }
20677|  1.71k|        return result;
20678|  1.71k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapERf:
23545|  3.07k|    {
23546|  3.07k|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|  3.07k|        std::uint32_t bits{};
23548|  3.07k|        std::memcpy(&bits, &number, sizeof(bits));
23549|  3.07k|        bits = byteswap(bits);
23550|  3.07k|        std::memcpy(&number, &bits, sizeof(bits));
23551|  3.07k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIdEET_PKh:
20670|    680|    {
20671|    680|        NumberType result{};
20672|    680|        std::memcpy(&result, data, sizeof(NumberType));
20673|    680|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 680, False: 0]
  ------------------
20674|    680|        {
20675|    680|            byte_swap(result);
20676|    680|        }
20677|    680|        return result;
20678|    680|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_container_sizeEmRmPKc:
20656|    927|    {
20657|    927|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  1.85k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  ------------------
  ------------------
20658|      0|        {
20659|      0|            return container_size_error(context);
20660|      0|        }
20661|    927|        result = conditional_static_cast<std::size_t>(len);
20662|    927|        return true;
20663|    927|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11enter_arrayEmi:
19213|   123k|    {
19214|   123k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12enter_objectEmi:
19219|  17.8k|    {
19220|  17.8k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  17.8k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15unexpected_byteEPKcSM_:
24069|      2|    {
24070|      2|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|      2|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIfLb0EEEbRT_:
23596|  1.38k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.38k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.38k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  1.38k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.35k, False: 23]
  |  Branch (23603:34): [Folded, False: 1.35k]
  |  Branch (23603:57): [True: 0, False: 1.35k]
  ------------------
23604|  1.35k|        {
23605|  1.35k|            byte_swap(result);
23606|  1.35k|        }
23607|  1.38k|        return true;
23608|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIfEEbRT_PKc:
23503|  1.38k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.38k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.38k|        chars_read += new_chars_read;
23508|  1.38k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 1.35k]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|  1.35k|        return true;
23516|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIfEEmPT_m:
 9930|  1.38k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  1.38k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|  1.38k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  1.38k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  1.38k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  2.73k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.35k, False: 23]
  |  |  |  Branch (1696:94): [True: 1.35k, False: 23]
  |  |  |  Branch (1696:94): [True: 1.35k, False: 0]
  |  |  ------------------
  ------------------
 9940|  1.35k|        {
 9941|  1.35k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  1.35k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  1.35k|            return count * sizeof(T);
 9944|  1.35k|        }
 9945|     23|#endif
 9946|     23|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     23|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     23|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 0]
  |  |  ------------------
  ------------------
 9948|     23|        {
 9949|     23|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     23|        }
 9951|     23|        return res;
 9952|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIdLb0EEEbRT_:
23596|    645|    {
23597|       |        // read in the original format
23598|       |
23599|    645|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    645|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 645]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    645|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 620, False: 25]
  |  Branch (23603:34): [Folded, False: 620]
  |  Branch (23603:57): [True: 0, False: 620]
  ------------------
23604|    620|        {
23605|    620|            byte_swap(result);
23606|    620|        }
23607|    645|        return true;
23608|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22parse_msgpack_internalEv:
21745|  9.64k|    {
21746|       |        // the key currently being read; hoisted out of the loop so that its
21747|       |        // capacity is reused across elements and across nesting levels
21748|  9.64k|        string_t key;
21749|       |
21750|   374k|        while (true)
  ------------------
  |  Branch (21750:16): [True: 370k, Folded]
  ------------------
21751|   370k|        {
21752|   370k|            if (!container_stack.empty())
  ------------------
  |  Branch (21752:17): [True: 360k, False: 9.64k]
  ------------------
21753|   360k|            {
21754|       |                // copied out before anything can push onto the stack and
21755|       |                // invalidate a reference into it
21756|   360k|                const bool is_object = container_stack.back().is_object;
21757|       |
21758|   360k|                if (container_stack.back().remaining == 0)
  ------------------
  |  Branch (21758:21): [True: 108k, False: 251k]
  ------------------
21759|   108k|                {
21760|   108k|                    bool value_complete = false;
21761|   108k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
21762|      0|                    {
21763|      0|                        return false;
21764|      0|                    }
21765|   108k|                    if (value_complete)
  ------------------
  |  Branch (21765:25): [True: 3.20k, False: 105k]
  ------------------
21766|  3.20k|                    {
21767|  3.20k|                        return true;
21768|  3.20k|                    }
21769|   105k|                    continue;
21770|   108k|                }
21771|       |
21772|       |                // claim the element about to be read
21773|   251k|                --container_stack.back().remaining;
21774|       |
21775|   251k|                if (is_object)
  ------------------
  |  Branch (21775:21): [True: 32.1k, False: 219k]
  ------------------
21776|  32.1k|                {
21777|  32.1k|                    get();
21778|  32.1k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_msgpack_object_key>(key)))
  ------------------
  |  | 1697|  32.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 32.1k]
  |  |  ------------------
  ------------------
21779|      0|                    {
21780|      0|                        return false;
21781|      0|                    }
21782|  32.1k|                }
21783|   251k|            }
21784|       |
21785|   261k|            if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_value()))
  ------------------
  |  | 1697|   261k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 261k]
  |  |  ------------------
  ------------------
21786|      0|            {
21787|      0|                return false;
21788|      0|            }
21789|       |
21790|       |            // a value that opened a container left it on the stack; one that
21791|       |            // did not, and that was not inside a container, was the whole value
21792|   261k|            if (container_stack.empty())
  ------------------
  |  Branch (21792:17): [True: 2.32k, False: 258k]
  ------------------
21793|  2.32k|            {
21794|  2.32k|                return true;
21795|  2.32k|            }
21796|   261k|        }
21797|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15read_object_keyIXadL_ZNSK_22get_msgpack_object_keyERSC_EEEEbSM_:
19268|  32.1k|    {
19269|  32.1k|        key.clear();
19270|  32.1k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 31.6k, False: 519]
  |  Branch (19270:40): [True: 31.6k, False: 0]
  ------------------
19271|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_msgpack_object_keyERSC_:
21411|  32.1k|    {
21412|  32.1k|        const char* found = nullptr;
21413|  32.1k|        switch (current)
21414|  32.1k|        {
21415|      0|            case 0xC0:
  ------------------
  |  Branch (21415:13): [True: 0, False: 32.1k]
  ------------------
21416|      0|                found = "nil";
21417|      0|                break;
21418|      1|            case 0xC2:
  ------------------
  |  Branch (21418:13): [True: 1, False: 32.1k]
  ------------------
21419|      2|            case 0xC3:
  ------------------
  |  Branch (21419:13): [True: 1, False: 32.1k]
  ------------------
21420|      2|                found = "a boolean";
21421|      2|                break;
21422|      0|            case 0xCA:
  ------------------
  |  Branch (21422:13): [True: 0, False: 32.1k]
  ------------------
21423|      1|            case 0xCB:
  ------------------
  |  Branch (21423:13): [True: 1, False: 32.1k]
  ------------------
21424|      1|                found = "a float";
21425|      1|                break;
21426|      2|            case 0xC4:
  ------------------
  |  Branch (21426:13): [True: 2, False: 32.1k]
  ------------------
21427|      2|            case 0xC5:
  ------------------
  |  Branch (21427:13): [True: 0, False: 32.1k]
  ------------------
21428|      3|            case 0xC6:
  ------------------
  |  Branch (21428:13): [True: 1, False: 32.1k]
  ------------------
21429|      3|                found = "a bin";
21430|      3|                break;
21431|      0|            case 0xC7:
  ------------------
  |  Branch (21431:13): [True: 0, False: 32.1k]
  ------------------
21432|      0|            case 0xC8:
  ------------------
  |  Branch (21432:13): [True: 0, False: 32.1k]
  ------------------
21433|      0|            case 0xC9:
  ------------------
  |  Branch (21433:13): [True: 0, False: 32.1k]
  ------------------
21434|      0|            case 0xD4:
  ------------------
  |  Branch (21434:13): [True: 0, False: 32.1k]
  ------------------
21435|      0|            case 0xD5:
  ------------------
  |  Branch (21435:13): [True: 0, False: 32.1k]
  ------------------
21436|      0|            case 0xD6:
  ------------------
  |  Branch (21436:13): [True: 0, False: 32.1k]
  ------------------
21437|      0|            case 0xD7:
  ------------------
  |  Branch (21437:13): [True: 0, False: 32.1k]
  ------------------
21438|      0|            case 0xD8:
  ------------------
  |  Branch (21438:13): [True: 0, False: 32.1k]
  ------------------
21439|      0|                found = "an ext";
21440|      0|                break;
21441|      0|            case 0xCC:
  ------------------
  |  Branch (21441:13): [True: 0, False: 32.1k]
  ------------------
21442|      0|            case 0xCD:
  ------------------
  |  Branch (21442:13): [True: 0, False: 32.1k]
  ------------------
21443|      0|            case 0xCE:
  ------------------
  |  Branch (21443:13): [True: 0, False: 32.1k]
  ------------------
21444|      1|            case 0xCF:
  ------------------
  |  Branch (21444:13): [True: 1, False: 32.1k]
  ------------------
21445|      1|            case 0xD0:
  ------------------
  |  Branch (21445:13): [True: 0, False: 32.1k]
  ------------------
21446|      2|            case 0xD1:
  ------------------
  |  Branch (21446:13): [True: 1, False: 32.1k]
  ------------------
21447|      2|            case 0xD2:
  ------------------
  |  Branch (21447:13): [True: 0, False: 32.1k]
  ------------------
21448|      2|            case 0xD3:
  ------------------
  |  Branch (21448:13): [True: 0, False: 32.1k]
  ------------------
21449|      2|                found = "an integer";
21450|      2|                break;
21451|      0|            case 0xDC:
  ------------------
  |  Branch (21451:13): [True: 0, False: 32.1k]
  ------------------
21452|      1|            case 0xDD:
  ------------------
  |  Branch (21452:13): [True: 1, False: 32.1k]
  ------------------
21453|      1|                found = "an array";
21454|      1|                break;
21455|      0|            case 0xDE:
  ------------------
  |  Branch (21455:13): [True: 0, False: 32.1k]
  ------------------
21456|      1|            case 0xDF:
  ------------------
  |  Branch (21456:13): [True: 1, False: 32.1k]
  ------------------
21457|      1|                found = "a map";
21458|      1|                break;
21459|  32.1k|            default:
  ------------------
  |  Branch (21459:13): [True: 32.1k, False: 10]
  ------------------
21460|       |                // fixint, fixmap, and fixarray; strings, EOF, and the unused
21461|       |                // byte 0xC1 are left to get_msgpack_string
21462|  32.1k|                if (current == char_traits<char_type>::eof())
  ------------------
  |  Branch (21462:21): [True: 436, False: 31.7k]
  ------------------
21463|    436|                {
21464|    436|                    return get_msgpack_string(result, "key");
21465|    436|                }
21466|  31.7k|                if (current <= 0x7F || current >= 0xE0)
  ------------------
  |  Branch (21466:21): [True: 13, False: 31.7k]
  |  Branch (21466:40): [True: 5, False: 31.7k]
  ------------------
21467|     18|                {
21468|     18|                    found = "an integer";
21469|     18|                }
21470|  31.7k|                else if (current <= 0x8F)
  ------------------
  |  Branch (21470:26): [True: 7, False: 31.7k]
  ------------------
21471|      7|                {
21472|      7|                    found = "a map";
21473|      7|                }
21474|  31.7k|                else if (current <= 0x9F)
  ------------------
  |  Branch (21474:26): [True: 5, False: 31.7k]
  ------------------
21475|      5|                {
21476|      5|                    found = "an array";
21477|      5|                }
21478|  31.7k|                else
21479|  31.7k|                {
21480|  31.7k|                    return get_msgpack_string(result, "key");
21481|  31.7k|                }
21482|     30|                break;
21483|  32.1k|        }
21484|       |
21485|     40|        return unsupported_key_type(found);
21486|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_stringERSC_PKc:
21331|  47.2k|    {
21332|  47.2k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  47.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 47.2k]
  |  |  ------------------
  ------------------
21333|      0|        {
21334|      0|            return false;
21335|      0|        }
21336|       |
21337|  47.2k|        switch (current)
21338|  47.2k|        {
21339|       |            // fixstr
21340|  26.6k|            case 0xA0:
  ------------------
  |  Branch (21340:13): [True: 26.6k, False: 20.6k]
  ------------------
21341|  37.0k|            case 0xA1:
  ------------------
  |  Branch (21341:13): [True: 10.4k, False: 36.8k]
  ------------------
21342|  38.5k|            case 0xA2:
  ------------------
  |  Branch (21342:13): [True: 1.49k, False: 45.7k]
  ------------------
21343|  38.8k|            case 0xA3:
  ------------------
  |  Branch (21343:13): [True: 340, False: 46.9k]
  ------------------
21344|  39.7k|            case 0xA4:
  ------------------
  |  Branch (21344:13): [True: 902, False: 46.3k]
  ------------------
21345|  39.9k|            case 0xA5:
  ------------------
  |  Branch (21345:13): [True: 171, False: 47.1k]
  ------------------
21346|  40.1k|            case 0xA6:
  ------------------
  |  Branch (21346:13): [True: 215, False: 47.0k]
  ------------------
21347|  40.3k|            case 0xA7:
  ------------------
  |  Branch (21347:13): [True: 193, False: 47.0k]
  ------------------
21348|  40.7k|            case 0xA8:
  ------------------
  |  Branch (21348:13): [True: 366, False: 46.9k]
  ------------------
21349|  40.9k|            case 0xA9:
  ------------------
  |  Branch (21349:13): [True: 218, False: 47.0k]
  ------------------
21350|  41.1k|            case 0xAA:
  ------------------
  |  Branch (21350:13): [True: 173, False: 47.1k]
  ------------------
21351|  41.2k|            case 0xAB:
  ------------------
  |  Branch (21351:13): [True: 173, False: 47.1k]
  ------------------
21352|  41.4k|            case 0xAC:
  ------------------
  |  Branch (21352:13): [True: 190, False: 47.0k]
  ------------------
21353|  41.6k|            case 0xAD:
  ------------------
  |  Branch (21353:13): [True: 147, False: 47.1k]
  ------------------
21354|  41.7k|            case 0xAE:
  ------------------
  |  Branch (21354:13): [True: 71, False: 47.2k]
  ------------------
21355|  41.7k|            case 0xAF:
  ------------------
  |  Branch (21355:13): [True: 89, False: 47.1k]
  ------------------
21356|  41.9k|            case 0xB0:
  ------------------
  |  Branch (21356:13): [True: 202, False: 47.0k]
  ------------------
21357|  42.1k|            case 0xB1:
  ------------------
  |  Branch (21357:13): [True: 135, False: 47.1k]
  ------------------
21358|  42.2k|            case 0xB2:
  ------------------
  |  Branch (21358:13): [True: 120, False: 47.1k]
  ------------------
21359|  42.3k|            case 0xB3:
  ------------------
  |  Branch (21359:13): [True: 81, False: 47.2k]
  ------------------
21360|  42.4k|            case 0xB4:
  ------------------
  |  Branch (21360:13): [True: 127, False: 47.1k]
  ------------------
21361|  42.5k|            case 0xB5:
  ------------------
  |  Branch (21361:13): [True: 106, False: 47.1k]
  ------------------
21362|  42.6k|            case 0xB6:
  ------------------
  |  Branch (21362:13): [True: 72, False: 47.2k]
  ------------------
21363|  42.8k|            case 0xB7:
  ------------------
  |  Branch (21363:13): [True: 226, False: 47.0k]
  ------------------
21364|  42.9k|            case 0xB8:
  ------------------
  |  Branch (21364:13): [True: 101, False: 47.1k]
  ------------------
21365|  43.0k|            case 0xB9:
  ------------------
  |  Branch (21365:13): [True: 106, False: 47.1k]
  ------------------
21366|  43.1k|            case 0xBA:
  ------------------
  |  Branch (21366:13): [True: 108, False: 47.1k]
  ------------------
21367|  43.2k|            case 0xBB:
  ------------------
  |  Branch (21367:13): [True: 66, False: 47.2k]
  ------------------
21368|  43.3k|            case 0xBC:
  ------------------
  |  Branch (21368:13): [True: 91, False: 47.1k]
  ------------------
21369|  43.4k|            case 0xBD:
  ------------------
  |  Branch (21369:13): [True: 104, False: 47.1k]
  ------------------
21370|  43.4k|            case 0xBE:
  ------------------
  |  Branch (21370:13): [True: 54, False: 47.2k]
  ------------------
21371|  43.5k|            case 0xBF:
  ------------------
  |  Branch (21371:13): [True: 68, False: 47.2k]
  ------------------
21372|  43.5k|            {
21373|  43.5k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (21373:24): [True: 43.2k, False: 262]
  |  Branch (21373:90): [True: 43.2k, False: 0]
  ------------------
21374|  43.4k|            }
21375|       |
21376|  1.86k|            case 0xD9: // str 8
  ------------------
  |  Branch (21376:13): [True: 1.86k, False: 45.4k]
  ------------------
21377|  1.86k|            {
21378|  1.86k|                return get_string_with_length<std::uint8_t>(result, context);
21379|  43.4k|            }
21380|       |
21381|    916|            case 0xDA: // str 16
  ------------------
  |  Branch (21381:13): [True: 916, False: 46.3k]
  ------------------
21382|    916|            {
21383|    916|                return get_string_with_length<std::uint16_t>(result, context);
21384|  43.4k|            }
21385|       |
21386|    501|            case 0xDB: // str 32
  ------------------
  |  Branch (21386:13): [True: 501, False: 46.7k]
  ------------------
21387|    501|            {
21388|    501|                return get_string_with_length<std::uint32_t>(result, context);
21389|  43.4k|            }
21390|       |
21391|      1|            default:
  ------------------
  |  Branch (21391:13): [True: 1, False: 47.2k]
  ------------------
21392|      1|            {
21393|      1|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0xA0-0xBF, 0xD9-0xDB)", "string", "");
21394|  43.4k|            }
21395|  47.2k|        }
21396|  47.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthIhEEbRSC_PKc:
23846|  1.86k|    {
23847|  1.86k|        NumberType len{};
23848|  1.86k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 1.85k, False: 19]
  |  Branch (23848:35): [True: 1.81k, False: 40]
  |  Branch (23848:62): [True: 1.81k, False: 0]
  ------------------
23849|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringIhEEbT_RSC_:
23767|  1.85k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  1.85k|        return get_bytes(len, "string", result);
23778|  1.85k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthItEEbRSC_PKc:
23846|    916|    {
23847|    916|        NumberType len{};
23848|    916|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 899, False: 17]
  |  Branch (23848:35): [True: 832, False: 67]
  |  Branch (23848:62): [True: 832, False: 0]
  ------------------
23849|    916|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringItEEbT_RSC_:
23767|    899|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|    899|        return get_bytes(len, "string", result);
23778|    899|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthIjEEbRSC_PKc:
23846|    501|    {
23847|    501|        NumberType len{};
23848|    501|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 482, False: 19]
  |  Branch (23848:35): [True: 402, False: 80]
  |  Branch (23848:62): [True: 402, False: 0]
  ------------------
23849|    501|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE19parse_msgpack_valueEv:
20950|   260k|    {
20951|   260k|        switch (get())
20952|   260k|        {
20953|       |            // EOF
20954|  2.57k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (20954:13): [True: 2.57k, False: 258k]
  ------------------
20955|  2.57k|                return unexpect_eof("value");
20956|       |
20957|       |            // positive fixint
20958|  6.31k|            case 0x00:
  ------------------
  |  Branch (20958:13): [True: 6.31k, False: 254k]
  ------------------
20959|  7.03k|            case 0x01:
  ------------------
  |  Branch (20959:13): [True: 724, False: 260k]
  ------------------
20960|  7.39k|            case 0x02:
  ------------------
  |  Branch (20960:13): [True: 352, False: 260k]
  ------------------
20961|  7.73k|            case 0x03:
  ------------------
  |  Branch (20961:13): [True: 347, False: 260k]
  ------------------
20962|  8.09k|            case 0x04:
  ------------------
  |  Branch (20962:13): [True: 361, False: 260k]
  ------------------
20963|  8.55k|            case 0x05:
  ------------------
  |  Branch (20963:13): [True: 455, False: 260k]
  ------------------
20964|  8.94k|            case 0x06:
  ------------------
  |  Branch (20964:13): [True: 387, False: 260k]
  ------------------
20965|  9.32k|            case 0x07:
  ------------------
  |  Branch (20965:13): [True: 379, False: 260k]
  ------------------
20966|  9.86k|            case 0x08:
  ------------------
  |  Branch (20966:13): [True: 549, False: 260k]
  ------------------
20967|  10.2k|            case 0x09:
  ------------------
  |  Branch (20967:13): [True: 424, False: 260k]
  ------------------
20968|  10.6k|            case 0x0A:
  ------------------
  |  Branch (20968:13): [True: 334, False: 260k]
  ------------------
20969|  10.9k|            case 0x0B:
  ------------------
  |  Branch (20969:13): [True: 330, False: 260k]
  ------------------
20970|  11.2k|            case 0x0C:
  ------------------
  |  Branch (20970:13): [True: 294, False: 260k]
  ------------------
20971|  11.6k|            case 0x0D:
  ------------------
  |  Branch (20971:13): [True: 379, False: 260k]
  ------------------
20972|  12.0k|            case 0x0E:
  ------------------
  |  Branch (20972:13): [True: 382, False: 260k]
  ------------------
20973|  12.3k|            case 0x0F:
  ------------------
  |  Branch (20973:13): [True: 310, False: 260k]
  ------------------
20974|  12.7k|            case 0x10:
  ------------------
  |  Branch (20974:13): [True: 389, False: 260k]
  ------------------
20975|  12.9k|            case 0x11:
  ------------------
  |  Branch (20975:13): [True: 288, False: 260k]
  ------------------
20976|  13.3k|            case 0x12:
  ------------------
  |  Branch (20976:13): [True: 378, False: 260k]
  ------------------
20977|  13.6k|            case 0x13:
  ------------------
  |  Branch (20977:13): [True: 314, False: 260k]
  ------------------
20978|  14.0k|            case 0x14:
  ------------------
  |  Branch (20978:13): [True: 403, False: 260k]
  ------------------
20979|  14.3k|            case 0x15:
  ------------------
  |  Branch (20979:13): [True: 295, False: 260k]
  ------------------
20980|  14.6k|            case 0x16:
  ------------------
  |  Branch (20980:13): [True: 300, False: 260k]
  ------------------
20981|  15.0k|            case 0x17:
  ------------------
  |  Branch (20981:13): [True: 408, False: 260k]
  ------------------
20982|  15.6k|            case 0x18:
  ------------------
  |  Branch (20982:13): [True: 596, False: 260k]
  ------------------
20983|  16.1k|            case 0x19:
  ------------------
  |  Branch (20983:13): [True: 414, False: 260k]
  ------------------
20984|  16.8k|            case 0x1A:
  ------------------
  |  Branch (20984:13): [True: 730, False: 260k]
  ------------------
20985|  17.1k|            case 0x1B:
  ------------------
  |  Branch (20985:13): [True: 356, False: 260k]
  ------------------
20986|  17.5k|            case 0x1C:
  ------------------
  |  Branch (20986:13): [True: 307, False: 260k]
  ------------------
20987|  17.9k|            case 0x1D:
  ------------------
  |  Branch (20987:13): [True: 414, False: 260k]
  ------------------
20988|  18.3k|            case 0x1E:
  ------------------
  |  Branch (20988:13): [True: 463, False: 260k]
  ------------------
20989|  18.8k|            case 0x1F:
  ------------------
  |  Branch (20989:13): [True: 493, False: 260k]
  ------------------
20990|  19.2k|            case 0x20:
  ------------------
  |  Branch (20990:13): [True: 414, False: 260k]
  ------------------
20991|  19.7k|            case 0x21:
  ------------------
  |  Branch (20991:13): [True: 457, False: 260k]
  ------------------
20992|  20.1k|            case 0x22:
  ------------------
  |  Branch (20992:13): [True: 428, False: 260k]
  ------------------
20993|  20.5k|            case 0x23:
  ------------------
  |  Branch (20993:13): [True: 351, False: 260k]
  ------------------
20994|  20.9k|            case 0x24:
  ------------------
  |  Branch (20994:13): [True: 434, False: 260k]
  ------------------
20995|  21.4k|            case 0x25:
  ------------------
  |  Branch (20995:13): [True: 499, False: 260k]
  ------------------
20996|  21.8k|            case 0x26:
  ------------------
  |  Branch (20996:13): [True: 417, False: 260k]
  ------------------
20997|  22.2k|            case 0x27:
  ------------------
  |  Branch (20997:13): [True: 359, False: 260k]
  ------------------
20998|  22.7k|            case 0x28:
  ------------------
  |  Branch (20998:13): [True: 506, False: 260k]
  ------------------
20999|  23.0k|            case 0x29:
  ------------------
  |  Branch (20999:13): [True: 353, False: 260k]
  ------------------
21000|  23.4k|            case 0x2A:
  ------------------
  |  Branch (21000:13): [True: 351, False: 260k]
  ------------------
21001|  23.9k|            case 0x2B:
  ------------------
  |  Branch (21001:13): [True: 516, False: 260k]
  ------------------
21002|  24.4k|            case 0x2C:
  ------------------
  |  Branch (21002:13): [True: 459, False: 260k]
  ------------------
21003|  24.8k|            case 0x2D:
  ------------------
  |  Branch (21003:13): [True: 485, False: 260k]
  ------------------
21004|  25.2k|            case 0x2E:
  ------------------
  |  Branch (21004:13): [True: 362, False: 260k]
  ------------------
21005|  25.6k|            case 0x2F:
  ------------------
  |  Branch (21005:13): [True: 403, False: 260k]
  ------------------
21006|  26.1k|            case 0x30:
  ------------------
  |  Branch (21006:13): [True: 469, False: 260k]
  ------------------
21007|  26.5k|            case 0x31:
  ------------------
  |  Branch (21007:13): [True: 420, False: 260k]
  ------------------
21008|  26.9k|            case 0x32:
  ------------------
  |  Branch (21008:13): [True: 350, False: 260k]
  ------------------
21009|  27.2k|            case 0x33:
  ------------------
  |  Branch (21009:13): [True: 327, False: 260k]
  ------------------
21010|  27.5k|            case 0x34:
  ------------------
  |  Branch (21010:13): [True: 315, False: 260k]
  ------------------
21011|  27.8k|            case 0x35:
  ------------------
  |  Branch (21011:13): [True: 324, False: 260k]
  ------------------
21012|  28.2k|            case 0x36:
  ------------------
  |  Branch (21012:13): [True: 419, False: 260k]
  ------------------
21013|  28.5k|            case 0x37:
  ------------------
  |  Branch (21013:13): [True: 300, False: 260k]
  ------------------
21014|  28.9k|            case 0x38:
  ------------------
  |  Branch (21014:13): [True: 355, False: 260k]
  ------------------
21015|  29.2k|            case 0x39:
  ------------------
  |  Branch (21015:13): [True: 288, False: 260k]
  ------------------
21016|  29.8k|            case 0x3A:
  ------------------
  |  Branch (21016:13): [True: 574, False: 260k]
  ------------------
21017|  30.1k|            case 0x3B:
  ------------------
  |  Branch (21017:13): [True: 389, False: 260k]
  ------------------
21018|  30.5k|            case 0x3C:
  ------------------
  |  Branch (21018:13): [True: 403, False: 260k]
  ------------------
21019|  30.9k|            case 0x3D:
  ------------------
  |  Branch (21019:13): [True: 349, False: 260k]
  ------------------
21020|  31.5k|            case 0x3E:
  ------------------
  |  Branch (21020:13): [True: 627, False: 260k]
  ------------------
21021|  32.1k|            case 0x3F:
  ------------------
  |  Branch (21021:13): [True: 550, False: 260k]
  ------------------
21022|  32.4k|            case 0x40:
  ------------------
  |  Branch (21022:13): [True: 359, False: 260k]
  ------------------
21023|  33.0k|            case 0x41:
  ------------------
  |  Branch (21023:13): [True: 562, False: 260k]
  ------------------
21024|  33.3k|            case 0x42:
  ------------------
  |  Branch (21024:13): [True: 338, False: 260k]
  ------------------
21025|  33.7k|            case 0x43:
  ------------------
  |  Branch (21025:13): [True: 354, False: 260k]
  ------------------
21026|  34.0k|            case 0x44:
  ------------------
  |  Branch (21026:13): [True: 341, False: 260k]
  ------------------
21027|  34.3k|            case 0x45:
  ------------------
  |  Branch (21027:13): [True: 308, False: 260k]
  ------------------
21028|  34.6k|            case 0x46:
  ------------------
  |  Branch (21028:13): [True: 293, False: 260k]
  ------------------
21029|  35.0k|            case 0x47:
  ------------------
  |  Branch (21029:13): [True: 415, False: 260k]
  ------------------
21030|  35.4k|            case 0x48:
  ------------------
  |  Branch (21030:13): [True: 363, False: 260k]
  ------------------
21031|  35.7k|            case 0x49:
  ------------------
  |  Branch (21031:13): [True: 267, False: 260k]
  ------------------
21032|  36.0k|            case 0x4A:
  ------------------
  |  Branch (21032:13): [True: 300, False: 260k]
  ------------------
21033|  36.3k|            case 0x4B:
  ------------------
  |  Branch (21033:13): [True: 293, False: 260k]
  ------------------
21034|  36.6k|            case 0x4C:
  ------------------
  |  Branch (21034:13): [True: 348, False: 260k]
  ------------------
21035|  36.9k|            case 0x4D:
  ------------------
  |  Branch (21035:13): [True: 299, False: 260k]
  ------------------
21036|  37.2k|            case 0x4E:
  ------------------
  |  Branch (21036:13): [True: 283, False: 260k]
  ------------------
21037|  37.5k|            case 0x4F:
  ------------------
  |  Branch (21037:13): [True: 293, False: 260k]
  ------------------
21038|  37.8k|            case 0x50:
  ------------------
  |  Branch (21038:13): [True: 350, False: 260k]
  ------------------
21039|  38.1k|            case 0x51:
  ------------------
  |  Branch (21039:13): [True: 305, False: 260k]
  ------------------
21040|  38.5k|            case 0x52:
  ------------------
  |  Branch (21040:13): [True: 311, False: 260k]
  ------------------
21041|  38.9k|            case 0x53:
  ------------------
  |  Branch (21041:13): [True: 422, False: 260k]
  ------------------
21042|  39.2k|            case 0x54:
  ------------------
  |  Branch (21042:13): [True: 302, False: 260k]
  ------------------
21043|  39.5k|            case 0x55:
  ------------------
  |  Branch (21043:13): [True: 283, False: 260k]
  ------------------
21044|  39.8k|            case 0x56:
  ------------------
  |  Branch (21044:13): [True: 293, False: 260k]
  ------------------
21045|  40.0k|            case 0x57:
  ------------------
  |  Branch (21045:13): [True: 281, False: 260k]
  ------------------
21046|  40.3k|            case 0x58:
  ------------------
  |  Branch (21046:13): [True: 279, False: 260k]
  ------------------
21047|  40.6k|            case 0x59:
  ------------------
  |  Branch (21047:13): [True: 284, False: 260k]
  ------------------
21048|  40.9k|            case 0x5A:
  ------------------
  |  Branch (21048:13): [True: 325, False: 260k]
  ------------------
21049|  41.3k|            case 0x5B:
  ------------------
  |  Branch (21049:13): [True: 364, False: 260k]
  ------------------
21050|  41.6k|            case 0x5C:
  ------------------
  |  Branch (21050:13): [True: 355, False: 260k]
  ------------------
21051|  42.0k|            case 0x5D:
  ------------------
  |  Branch (21051:13): [True: 387, False: 260k]
  ------------------
21052|  42.3k|            case 0x5E:
  ------------------
  |  Branch (21052:13): [True: 308, False: 260k]
  ------------------
21053|  42.7k|            case 0x5F:
  ------------------
  |  Branch (21053:13): [True: 374, False: 260k]
  ------------------
21054|  43.2k|            case 0x60:
  ------------------
  |  Branch (21054:13): [True: 524, False: 260k]
  ------------------
21055|  43.6k|            case 0x61:
  ------------------
  |  Branch (21055:13): [True: 350, False: 260k]
  ------------------
21056|  43.9k|            case 0x62:
  ------------------
  |  Branch (21056:13): [True: 305, False: 260k]
  ------------------
21057|  44.2k|            case 0x63:
  ------------------
  |  Branch (21057:13): [True: 269, False: 260k]
  ------------------
21058|  44.5k|            case 0x64:
  ------------------
  |  Branch (21058:13): [True: 367, False: 260k]
  ------------------
21059|  44.9k|            case 0x65:
  ------------------
  |  Branch (21059:13): [True: 368, False: 260k]
  ------------------
21060|  45.2k|            case 0x66:
  ------------------
  |  Branch (21060:13): [True: 314, False: 260k]
  ------------------
21061|  45.7k|            case 0x67:
  ------------------
  |  Branch (21061:13): [True: 520, False: 260k]
  ------------------
21062|  46.1k|            case 0x68:
  ------------------
  |  Branch (21062:13): [True: 381, False: 260k]
  ------------------
21063|  46.4k|            case 0x69:
  ------------------
  |  Branch (21063:13): [True: 324, False: 260k]
  ------------------
21064|  46.8k|            case 0x6A:
  ------------------
  |  Branch (21064:13): [True: 358, False: 260k]
  ------------------
21065|  47.3k|            case 0x6B:
  ------------------
  |  Branch (21065:13): [True: 538, False: 260k]
  ------------------
21066|  47.6k|            case 0x6C:
  ------------------
  |  Branch (21066:13): [True: 294, False: 260k]
  ------------------
21067|  47.9k|            case 0x6D:
  ------------------
  |  Branch (21067:13): [True: 310, False: 260k]
  ------------------
21068|  48.5k|            case 0x6E:
  ------------------
  |  Branch (21068:13): [True: 540, False: 260k]
  ------------------
21069|  48.9k|            case 0x6F:
  ------------------
  |  Branch (21069:13): [True: 428, False: 260k]
  ------------------
21070|  49.3k|            case 0x70:
  ------------------
  |  Branch (21070:13): [True: 420, False: 260k]
  ------------------
21071|  49.7k|            case 0x71:
  ------------------
  |  Branch (21071:13): [True: 332, False: 260k]
  ------------------
21072|  50.0k|            case 0x72:
  ------------------
  |  Branch (21072:13): [True: 297, False: 260k]
  ------------------
21073|  50.3k|            case 0x73:
  ------------------
  |  Branch (21073:13): [True: 394, False: 260k]
  ------------------
21074|  50.8k|            case 0x74:
  ------------------
  |  Branch (21074:13): [True: 422, False: 260k]
  ------------------
21075|  51.1k|            case 0x75:
  ------------------
  |  Branch (21075:13): [True: 344, False: 260k]
  ------------------
21076|  51.5k|            case 0x76:
  ------------------
  |  Branch (21076:13): [True: 368, False: 260k]
  ------------------
21077|  52.0k|            case 0x77:
  ------------------
  |  Branch (21077:13): [True: 474, False: 260k]
  ------------------
21078|  52.3k|            case 0x78:
  ------------------
  |  Branch (21078:13): [True: 362, False: 260k]
  ------------------
21079|  52.6k|            case 0x79:
  ------------------
  |  Branch (21079:13): [True: 306, False: 260k]
  ------------------
21080|  53.1k|            case 0x7A:
  ------------------
  |  Branch (21080:13): [True: 516, False: 260k]
  ------------------
21081|  53.4k|            case 0x7B:
  ------------------
  |  Branch (21081:13): [True: 296, False: 260k]
  ------------------
21082|  53.9k|            case 0x7C:
  ------------------
  |  Branch (21082:13): [True: 516, False: 260k]
  ------------------
21083|  54.2k|            case 0x7D:
  ------------------
  |  Branch (21083:13): [True: 289, False: 260k]
  ------------------
21084|  54.6k|            case 0x7E:
  ------------------
  |  Branch (21084:13): [True: 382, False: 260k]
  ------------------
21085|  55.1k|            case 0x7F:
  ------------------
  |  Branch (21085:13): [True: 478, False: 260k]
  ------------------
21086|  55.1k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
21087|       |
21088|       |            // fixmap
21089|  3.83k|            case 0x80:
  ------------------
  |  Branch (21089:13): [True: 3.83k, False: 256k]
  ------------------
21090|  9.56k|            case 0x81:
  ------------------
  |  Branch (21090:13): [True: 5.73k, False: 255k]
  ------------------
21091|  10.8k|            case 0x82:
  ------------------
  |  Branch (21091:13): [True: 1.23k, False: 259k]
  ------------------
21092|  11.5k|            case 0x83:
  ------------------
  |  Branch (21092:13): [True: 725, False: 260k]
  ------------------
21093|  12.0k|            case 0x84:
  ------------------
  |  Branch (21093:13): [True: 503, False: 260k]
  ------------------
21094|  12.5k|            case 0x85:
  ------------------
  |  Branch (21094:13): [True: 538, False: 260k]
  ------------------
21095|  12.8k|            case 0x86:
  ------------------
  |  Branch (21095:13): [True: 292, False: 260k]
  ------------------
21096|  13.2k|            case 0x87:
  ------------------
  |  Branch (21096:13): [True: 412, False: 260k]
  ------------------
21097|  13.6k|            case 0x88:
  ------------------
  |  Branch (21097:13): [True: 351, False: 260k]
  ------------------
21098|  13.9k|            case 0x89:
  ------------------
  |  Branch (21098:13): [True: 286, False: 260k]
  ------------------
21099|  14.2k|            case 0x8A:
  ------------------
  |  Branch (21099:13): [True: 350, False: 260k]
  ------------------
21100|  14.8k|            case 0x8B:
  ------------------
  |  Branch (21100:13): [True: 544, False: 260k]
  ------------------
21101|  15.4k|            case 0x8C:
  ------------------
  |  Branch (21101:13): [True: 685, False: 260k]
  ------------------
21102|  16.1k|            case 0x8D:
  ------------------
  |  Branch (21102:13): [True: 651, False: 260k]
  ------------------
21103|  16.5k|            case 0x8E:
  ------------------
  |  Branch (21103:13): [True: 361, False: 260k]
  ------------------
21104|  17.0k|            case 0x8F:
  ------------------
  |  Branch (21104:13): [True: 540, False: 260k]
  ------------------
21105|  17.0k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21106|       |
21107|       |            // fixarray
21108|  3.86k|            case 0x90:
  ------------------
  |  Branch (21108:13): [True: 3.86k, False: 256k]
  ------------------
21109|   100k|            case 0x91:
  ------------------
  |  Branch (21109:13): [True: 96.7k, False: 164k]
  ------------------
21110|   103k|            case 0x92:
  ------------------
  |  Branch (21110:13): [True: 2.51k, False: 258k]
  ------------------
21111|   104k|            case 0x93:
  ------------------
  |  Branch (21111:13): [True: 1.48k, False: 259k]
  ------------------
21112|   105k|            case 0x94:
  ------------------
  |  Branch (21112:13): [True: 1.04k, False: 259k]
  ------------------
21113|   107k|            case 0x95:
  ------------------
  |  Branch (21113:13): [True: 2.19k, False: 258k]
  ------------------
21114|   108k|            case 0x96:
  ------------------
  |  Branch (21114:13): [True: 1.02k, False: 259k]
  ------------------
21115|   109k|            case 0x97:
  ------------------
  |  Branch (21115:13): [True: 585, False: 260k]
  ------------------
21116|   110k|            case 0x98:
  ------------------
  |  Branch (21116:13): [True: 1.50k, False: 259k]
  ------------------
21117|   112k|            case 0x99:
  ------------------
  |  Branch (21117:13): [True: 1.45k, False: 259k]
  ------------------
21118|   113k|            case 0x9A:
  ------------------
  |  Branch (21118:13): [True: 1.53k, False: 259k]
  ------------------
21119|   115k|            case 0x9B:
  ------------------
  |  Branch (21119:13): [True: 1.15k, False: 259k]
  ------------------
21120|   116k|            case 0x9C:
  ------------------
  |  Branch (21120:13): [True: 908, False: 259k]
  ------------------
21121|   117k|            case 0x9D:
  ------------------
  |  Branch (21121:13): [True: 1.30k, False: 259k]
  ------------------
21122|   118k|            case 0x9E:
  ------------------
  |  Branch (21122:13): [True: 933, False: 259k]
  ------------------
21123|   118k|            case 0x9F:
  ------------------
  |  Branch (21123:13): [True: 708, False: 260k]
  ------------------
21124|   118k|                return enter_msgpack_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21125|       |
21126|       |            // fixstr
21127|  7.02k|            case 0xA0:
  ------------------
  |  Branch (21127:13): [True: 7.02k, False: 253k]
  ------------------
21128|  7.82k|            case 0xA1:
  ------------------
  |  Branch (21128:13): [True: 801, False: 259k]
  ------------------
21129|  8.45k|            case 0xA2:
  ------------------
  |  Branch (21129:13): [True: 625, False: 260k]
  ------------------
21130|  8.74k|            case 0xA3:
  ------------------
  |  Branch (21130:13): [True: 291, False: 260k]
  ------------------
21131|  9.48k|            case 0xA4:
  ------------------
  |  Branch (21131:13): [True: 739, False: 260k]
  ------------------
21132|  9.63k|            case 0xA5:
  ------------------
  |  Branch (21132:13): [True: 150, False: 260k]
  ------------------
21133|  9.82k|            case 0xA6:
  ------------------
  |  Branch (21133:13): [True: 191, False: 260k]
  ------------------
21134|  10.0k|            case 0xA7:
  ------------------
  |  Branch (21134:13): [True: 183, False: 260k]
  ------------------
21135|  10.3k|            case 0xA8:
  ------------------
  |  Branch (21135:13): [True: 307, False: 260k]
  ------------------
21136|  10.5k|            case 0xA9:
  ------------------
  |  Branch (21136:13): [True: 190, False: 260k]
  ------------------
21137|  10.6k|            case 0xAA:
  ------------------
  |  Branch (21137:13): [True: 152, False: 260k]
  ------------------
21138|  10.7k|            case 0xAB:
  ------------------
  |  Branch (21138:13): [True: 142, False: 260k]
  ------------------
21139|  10.9k|            case 0xAC:
  ------------------
  |  Branch (21139:13): [True: 169, False: 260k]
  ------------------
21140|  11.0k|            case 0xAD:
  ------------------
  |  Branch (21140:13): [True: 109, False: 260k]
  ------------------
21141|  11.1k|            case 0xAE:
  ------------------
  |  Branch (21141:13): [True: 68, False: 260k]
  ------------------
21142|  11.2k|            case 0xAF:
  ------------------
  |  Branch (21142:13): [True: 65, False: 260k]
  ------------------
21143|  11.3k|            case 0xB0:
  ------------------
  |  Branch (21143:13): [True: 168, False: 260k]
  ------------------
21144|  11.4k|            case 0xB1:
  ------------------
  |  Branch (21144:13): [True: 105, False: 260k]
  ------------------
21145|  11.5k|            case 0xB2:
  ------------------
  |  Branch (21145:13): [True: 111, False: 260k]
  ------------------
21146|  11.6k|            case 0xB3:
  ------------------
  |  Branch (21146:13): [True: 80, False: 260k]
  ------------------
21147|  11.7k|            case 0xB4:
  ------------------
  |  Branch (21147:13): [True: 126, False: 260k]
  ------------------
21148|  11.8k|            case 0xB5:
  ------------------
  |  Branch (21148:13): [True: 102, False: 260k]
  ------------------
21149|  11.9k|            case 0xB6:
  ------------------
  |  Branch (21149:13): [True: 69, False: 260k]
  ------------------
21150|  12.0k|            case 0xB7:
  ------------------
  |  Branch (21150:13): [True: 103, False: 260k]
  ------------------
21151|  12.1k|            case 0xB8:
  ------------------
  |  Branch (21151:13): [True: 82, False: 260k]
  ------------------
21152|  12.2k|            case 0xB9:
  ------------------
  |  Branch (21152:13): [True: 101, False: 260k]
  ------------------
21153|  12.3k|            case 0xBA:
  ------------------
  |  Branch (21153:13): [True: 70, False: 260k]
  ------------------
21154|  12.3k|            case 0xBB:
  ------------------
  |  Branch (21154:13): [True: 66, False: 260k]
  ------------------
21155|  12.4k|            case 0xBC:
  ------------------
  |  Branch (21155:13): [True: 81, False: 260k]
  ------------------
21156|  12.5k|            case 0xBD:
  ------------------
  |  Branch (21156:13): [True: 87, False: 260k]
  ------------------
21157|  12.6k|            case 0xBE:
  ------------------
  |  Branch (21157:13): [True: 52, False: 260k]
  ------------------
21158|  12.6k|            case 0xBF:
  ------------------
  |  Branch (21158:13): [True: 57, False: 260k]
  ------------------
21159|  13.8k|            case 0xD9: // str 8
  ------------------
  |  Branch (21159:13): [True: 1.19k, False: 259k]
  ------------------
21160|  14.6k|            case 0xDA: // str 16
  ------------------
  |  Branch (21160:13): [True: 798, False: 259k]
  ------------------
21161|  15.1k|            case 0xDB: // str 32
  ------------------
  |  Branch (21161:13): [True: 481, False: 260k]
  ------------------
21162|  15.1k|            {
21163|  15.1k|                string_t s;
21164|  15.1k|                return get_msgpack_string(s) && sax->string(s);
  ------------------
  |  Branch (21164:24): [True: 14.6k, False: 462]
  |  Branch (21164:49): [True: 14.6k, False: 0]
  ------------------
21165|  14.6k|            }
21166|       |
21167|  3.13k|            case 0xC0: // nil
  ------------------
  |  Branch (21167:13): [True: 3.13k, False: 257k]
  ------------------
21168|  3.13k|                return sax->null();
21169|       |
21170|  1.87k|            case 0xC2: // false
  ------------------
  |  Branch (21170:13): [True: 1.87k, False: 258k]
  ------------------
21171|  1.87k|                return sax->boolean(false);
21172|       |
21173|  1.73k|            case 0xC3: // true
  ------------------
  |  Branch (21173:13): [True: 1.73k, False: 259k]
  ------------------
21174|  1.73k|                return sax->boolean(true);
21175|       |
21176|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21176:13): [True: 11.7k, False: 249k]
  ------------------
21177|  12.7k|            case 0xC5: // bin 16
  ------------------
  |  Branch (21177:13): [True: 957, False: 259k]
  ------------------
21178|  13.3k|            case 0xC6: // bin 32
  ------------------
  |  Branch (21178:13): [True: 668, False: 260k]
  ------------------
21179|  13.7k|            case 0xC7: // ext 8
  ------------------
  |  Branch (21179:13): [True: 376, False: 260k]
  ------------------
21180|  14.1k|            case 0xC8: // ext 16
  ------------------
  |  Branch (21180:13): [True: 361, False: 260k]
  ------------------
21181|  14.3k|            case 0xC9: // ext 32
  ------------------
  |  Branch (21181:13): [True: 236, False: 260k]
  ------------------
21182|  16.2k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21182:13): [True: 1.87k, False: 258k]
  ------------------
21183|  16.6k|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21183:13): [True: 380, False: 260k]
  ------------------
21184|  16.9k|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21184:13): [True: 333, False: 260k]
  ------------------
21185|  17.1k|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21185:13): [True: 222, False: 260k]
  ------------------
21186|  17.2k|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21186:13): [True: 128, False: 260k]
  ------------------
21187|  17.2k|            {
21188|  17.2k|                binary_t b;
21189|  17.2k|                return get_msgpack_binary(b) && sax->binary(b);
  ------------------
  |  Branch (21189:24): [True: 16.9k, False: 371]
  |  Branch (21189:49): [True: 16.9k, False: 0]
  ------------------
21190|  17.1k|            }
21191|       |
21192|  1.38k|            case 0xCA: // float 32
  ------------------
  |  Branch (21192:13): [True: 1.38k, False: 259k]
  ------------------
21193|  1.38k|            {
21194|  1.38k|                float number{};
21195|  1.38k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21195:24): [True: 1.35k, False: 23]
  |  Branch (21195:46): [True: 1.35k, False: 0]
  ------------------
21196|  17.1k|            }
21197|       |
21198|    645|            case 0xCB: // float 64
  ------------------
  |  Branch (21198:13): [True: 645, False: 260k]
  ------------------
21199|    645|            {
21200|    645|                double number{};
21201|    645|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21201:24): [True: 620, False: 25]
  |  Branch (21201:46): [True: 620, False: 0]
  ------------------
21202|  17.1k|            }
21203|       |
21204|    490|            case 0xCC: // uint 8
  ------------------
  |  Branch (21204:13): [True: 490, False: 260k]
  ------------------
21205|    490|            {
21206|    490|                std::uint8_t number{};
21207|    490|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21207:24): [True: 482, False: 8]
  |  Branch (21207:46): [True: 482, False: 0]
  ------------------
21208|  17.1k|            }
21209|       |
21210|    284|            case 0xCD: // uint 16
  ------------------
  |  Branch (21210:13): [True: 284, False: 260k]
  ------------------
21211|    284|            {
21212|    284|                std::uint16_t number{};
21213|    284|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21213:24): [True: 281, False: 3]
  |  Branch (21213:46): [True: 281, False: 0]
  ------------------
21214|  17.1k|            }
21215|       |
21216|    218|            case 0xCE: // uint 32
  ------------------
  |  Branch (21216:13): [True: 218, False: 260k]
  ------------------
21217|    218|            {
21218|    218|                std::uint32_t number{};
21219|    218|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21219:24): [True: 213, False: 5]
  |  Branch (21219:46): [True: 213, False: 0]
  ------------------
21220|  17.1k|            }
21221|       |
21222|    496|            case 0xCF: // uint 64
  ------------------
  |  Branch (21222:13): [True: 496, False: 260k]
  ------------------
21223|    496|            {
21224|    496|                std::uint64_t number{};
21225|    496|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21225:24): [True: 473, False: 23]
  |  Branch (21225:46): [True: 473, False: 0]
  ------------------
21226|  17.1k|            }
21227|       |
21228|    845|            case 0xD0: // int 8
  ------------------
  |  Branch (21228:13): [True: 845, False: 259k]
  ------------------
21229|    845|            {
21230|    845|                std::int8_t number{};
21231|    845|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21231:24): [True: 838, False: 7]
  |  Branch (21231:46): [True: 838, False: 0]
  ------------------
21232|  17.1k|            }
21233|       |
21234|    407|            case 0xD1: // int 16
  ------------------
  |  Branch (21234:13): [True: 407, False: 260k]
  ------------------
21235|    407|            {
21236|    407|                std::int16_t number{};
21237|    407|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21237:24): [True: 392, False: 15]
  |  Branch (21237:46): [True: 392, False: 0]
  ------------------
21238|  17.1k|            }
21239|       |
21240|    337|            case 0xD2: // int 32
  ------------------
  |  Branch (21240:13): [True: 337, False: 260k]
  ------------------
21241|    337|            {
21242|    337|                std::int32_t number{};
21243|    337|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21243:24): [True: 314, False: 23]
  |  Branch (21243:46): [True: 314, False: 0]
  ------------------
21244|  17.1k|            }
21245|       |
21246|    563|            case 0xD3: // int 64
  ------------------
  |  Branch (21246:13): [True: 563, False: 260k]
  ------------------
21247|    563|            {
21248|    563|                std::int64_t number{};
21249|    563|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21249:24): [True: 538, False: 25]
  |  Branch (21249:46): [True: 538, False: 0]
  ------------------
21250|  17.1k|            }
21251|       |
21252|  3.50k|            case 0xDC: // array 16
  ------------------
  |  Branch (21252:13): [True: 3.50k, False: 257k]
  ------------------
21253|  3.50k|            {
21254|  3.50k|                std::uint16_t len{};
21255|  3.50k|                return get_number(len) && enter_msgpack_array(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21255:24): [True: 3.48k, False: 13]
  |  Branch (21255:43): [True: 3.48k, False: 0]
  ------------------
21256|  17.1k|            }
21257|       |
21258|    698|            case 0xDD: // array 32
  ------------------
  |  Branch (21258:13): [True: 698, False: 260k]
  ------------------
21259|    698|            {
21260|    698|                std::uint32_t len{};
21261|    698|                std::size_t size{};
21262|    698|                return get_number(len) && get_container_size(len, size, "array") && enter_msgpack_array(size);
  ------------------
  |  Branch (21262:24): [True: 684, False: 14]
  |  Branch (21262:43): [True: 684, False: 0]
  |  Branch (21262:85): [True: 684, False: 0]
  ------------------
21263|  17.1k|            }
21264|       |
21265|    570|            case 0xDE: // map 16
  ------------------
  |  Branch (21265:13): [True: 570, False: 260k]
  ------------------
21266|    570|            {
21267|    570|                std::uint16_t len{};
21268|    570|                return get_number(len) && enter_object(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21268:24): [True: 569, False: 1]
  |  Branch (21268:43): [True: 569, False: 0]
  ------------------
21269|  17.1k|            }
21270|       |
21271|    246|            case 0xDF: // map 32
  ------------------
  |  Branch (21271:13): [True: 246, False: 260k]
  ------------------
21272|    246|            {
21273|    246|                std::uint32_t len{};
21274|    246|                std::size_t size{};
21275|    246|                return get_number(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (21275:24): [True: 243, False: 3]
  |  Branch (21275:43): [True: 243, False: 0]
  |  Branch (21275:83): [True: 243, False: 0]
  ------------------
21276|  17.1k|            }
21277|       |
21278|       |            // negative fixint
21279|    696|            case 0xE0:
  ------------------
  |  Branch (21279:13): [True: 696, False: 260k]
  ------------------
21280|  1.27k|            case 0xE1:
  ------------------
  |  Branch (21280:13): [True: 575, False: 260k]
  ------------------
21281|  1.56k|            case 0xE2:
  ------------------
  |  Branch (21281:13): [True: 298, False: 260k]
  ------------------
21282|  1.88k|            case 0xE3:
  ------------------
  |  Branch (21282:13): [True: 316, False: 260k]
  ------------------
21283|  2.26k|            case 0xE4:
  ------------------
  |  Branch (21283:13): [True: 379, False: 260k]
  ------------------
21284|  2.74k|            case 0xE5:
  ------------------
  |  Branch (21284:13): [True: 485, False: 260k]
  ------------------
21285|  3.08k|            case 0xE6:
  ------------------
  |  Branch (21285:13): [True: 336, False: 260k]
  ------------------
21286|  3.48k|            case 0xE7:
  ------------------
  |  Branch (21286:13): [True: 395, False: 260k]
  ------------------
21287|  3.80k|            case 0xE8:
  ------------------
  |  Branch (21287:13): [True: 326, False: 260k]
  ------------------
21288|  4.16k|            case 0xE9:
  ------------------
  |  Branch (21288:13): [True: 357, False: 260k]
  ------------------
21289|  4.58k|            case 0xEA:
  ------------------
  |  Branch (21289:13): [True: 423, False: 260k]
  ------------------
21290|  4.87k|            case 0xEB:
  ------------------
  |  Branch (21290:13): [True: 284, False: 260k]
  ------------------
21291|  5.71k|            case 0xEC:
  ------------------
  |  Branch (21291:13): [True: 842, False: 259k]
  ------------------
21292|  6.05k|            case 0xED:
  ------------------
  |  Branch (21292:13): [True: 347, False: 260k]
  ------------------
21293|  6.52k|            case 0xEE:
  ------------------
  |  Branch (21293:13): [True: 467, False: 260k]
  ------------------
21294|  6.84k|            case 0xEF:
  ------------------
  |  Branch (21294:13): [True: 316, False: 260k]
  ------------------
21295|  7.26k|            case 0xF0:
  ------------------
  |  Branch (21295:13): [True: 422, False: 260k]
  ------------------
21296|  7.58k|            case 0xF1:
  ------------------
  |  Branch (21296:13): [True: 318, False: 260k]
  ------------------
21297|  7.94k|            case 0xF2:
  ------------------
  |  Branch (21297:13): [True: 363, False: 260k]
  ------------------
21298|  8.27k|            case 0xF3:
  ------------------
  |  Branch (21298:13): [True: 331, False: 260k]
  ------------------
21299|  8.65k|            case 0xF4:
  ------------------
  |  Branch (21299:13): [True: 382, False: 260k]
  ------------------
21300|  8.96k|            case 0xF5:
  ------------------
  |  Branch (21300:13): [True: 309, False: 260k]
  ------------------
21301|  9.31k|            case 0xF6:
  ------------------
  |  Branch (21301:13): [True: 343, False: 260k]
  ------------------
21302|  9.82k|            case 0xF7:
  ------------------
  |  Branch (21302:13): [True: 512, False: 260k]
  ------------------
21303|  10.4k|            case 0xF8:
  ------------------
  |  Branch (21303:13): [True: 594, False: 260k]
  ------------------
21304|  10.7k|            case 0xF9:
  ------------------
  |  Branch (21304:13): [True: 346, False: 260k]
  ------------------
21305|  11.2k|            case 0xFA:
  ------------------
  |  Branch (21305:13): [True: 469, False: 260k]
  ------------------
21306|  11.8k|            case 0xFB:
  ------------------
  |  Branch (21306:13): [True: 593, False: 260k]
  ------------------
21307|  12.4k|            case 0xFC:
  ------------------
  |  Branch (21307:13): [True: 584, False: 260k]
  ------------------
21308|  12.9k|            case 0xFD:
  ------------------
  |  Branch (21308:13): [True: 569, False: 260k]
  ------------------
21309|  13.4k|            case 0xFE:
  ------------------
  |  Branch (21309:13): [True: 519, False: 260k]
  ------------------
21310|  17.1k|            case 0xFF:
  ------------------
  |  Branch (21310:13): [True: 3.69k, False: 257k]
  ------------------
21311|  17.1k|                return sax->number_integer(static_cast<std::int8_t>(current));
21312|       |
21313|      2|            default: // anything else
  ------------------
  |  Branch (21313:13): [True: 2, False: 260k]
  ------------------
21314|      2|            {
21315|      2|                return unexpected_byte("invalid byte", "value");
21316|  13.4k|            }
21317|   260k|        }
21318|   260k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE19enter_msgpack_arrayEm:
21725|   123k|    {
21726|   123k|        return enter_array(len) && (len <= 1 || parse_msgpack_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (21726:16): [True: 123k, False: 0]
  |  Branch (21726:37): [True: 100k, False: 22.1k]
  |  Branch (21726:49): [True: 22.1k, False: 0]
  ------------------
21727|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE24parse_msgpack_scalar_runENS4_17integral_constantIbLb1EEE:
21623|  22.1k|    {
21624|       |        // nothing pushes onto the stack while the run reads scalars
21625|  22.1k|        std::size_t& remaining = container_stack.back().remaining;
21626|  69.2k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (21626:16): [True: 68.3k, False: 873]
  |  Branch (21626:34): [True: 64.4k, False: 3.96k]
  ------------------
21627|  64.4k|        {
21628|  64.4k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
21629|  64.4k|            const unsigned char head = data[0];
21630|  64.4k|            bool accepted = false;
21631|  64.4k|            switch (head)
21632|  64.4k|            {
21633|  1.40k|                case 0xC0: // nil
  ------------------
  |  Branch (21633:17): [True: 1.40k, False: 63.0k]
  ------------------
21634|  1.40k|                    bulk_advance(1, head);
21635|  1.40k|                    accepted = sax->null();
21636|  1.40k|                    break;
21637|    786|                case 0xC2: // false
  ------------------
  |  Branch (21637:17): [True: 786, False: 63.6k]
  ------------------
21638|    786|                    bulk_advance(1, head);
21639|    786|                    accepted = sax->boolean(false);
21640|    786|                    break;
21641|    869|                case 0xC3: // true
  ------------------
  |  Branch (21641:17): [True: 869, False: 63.5k]
  ------------------
21642|    869|                    bulk_advance(1, head);
21643|    869|                    accepted = sax->boolean(true);
21644|    869|                    break;
21645|  1.71k|                case 0xCA: // float 32
  ------------------
  |  Branch (21645:17): [True: 1.71k, False: 62.7k]
  ------------------
21646|  1.71k|                    bulk_advance(5, head);
21647|  1.71k|                    accepted = emit_float(load_big_endian<float>(data + 1));
21648|  1.71k|                    break;
21649|    680|                case 0xCB: // float 64
  ------------------
  |  Branch (21649:17): [True: 680, False: 63.7k]
  ------------------
21650|    680|                    bulk_advance(9, head);
21651|    680|                    accepted = emit_float(load_big_endian<double>(data + 1));
21652|    680|                    break;
21653|    465|                case 0xCC: // uint 8
  ------------------
  |  Branch (21653:17): [True: 465, False: 63.9k]
  ------------------
21654|    465|                    bulk_advance(2, head);
21655|    465|                    accepted = emit_unsigned(data[1]);
21656|    465|                    break;
21657|    419|                case 0xCD: // uint 16
  ------------------
  |  Branch (21657:17): [True: 419, False: 63.9k]
  ------------------
21658|    419|                    bulk_advance(3, head);
21659|    419|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
21660|    419|                    break;
21661|    197|                case 0xCE: // uint 32
  ------------------
  |  Branch (21661:17): [True: 197, False: 64.2k]
  ------------------
21662|    197|                    bulk_advance(5, head);
21663|    197|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
21664|    197|                    break;
21665|    366|                case 0xCF: // uint 64
  ------------------
  |  Branch (21665:17): [True: 366, False: 64.0k]
  ------------------
21666|    366|                    bulk_advance(9, head);
21667|    366|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
21668|    366|                    break;
21669|    502|                case 0xD0: // int 8
  ------------------
  |  Branch (21669:17): [True: 502, False: 63.9k]
  ------------------
21670|    502|                    bulk_advance(2, head);
21671|    502|                    accepted = emit_signed(static_cast<std::int8_t>(data[1]));
21672|    502|                    break;
21673|    467|                case 0xD1: // int 16
  ------------------
  |  Branch (21673:17): [True: 467, False: 63.9k]
  ------------------
21674|    467|                    bulk_advance(3, head);
21675|    467|                    accepted = emit_signed(load_big_endian<std::int16_t>(data + 1));
21676|    467|                    break;
21677|    337|                case 0xD2: // int 32
  ------------------
  |  Branch (21677:17): [True: 337, False: 64.0k]
  ------------------
21678|    337|                    bulk_advance(5, head);
21679|    337|                    accepted = emit_signed(load_big_endian<std::int32_t>(data + 1));
21680|    337|                    break;
21681|    397|                case 0xD3: // int 64
  ------------------
  |  Branch (21681:17): [True: 397, False: 64.0k]
  ------------------
21682|    397|                    bulk_advance(9, head);
21683|    397|                    accepted = emit_signed(load_big_endian<std::int64_t>(data + 1));
21684|    397|                    break;
21685|  55.8k|                default:
  ------------------
  |  Branch (21685:17): [True: 55.8k, False: 8.60k]
  ------------------
21686|  55.8k|                    if (head <= 0x7F)
  ------------------
  |  Branch (21686:25): [True: 28.9k, False: 26.8k]
  ------------------
21687|  28.9k|                    {
21688|       |                        // positive fixint
21689|  28.9k|                        bulk_advance(1, head);
21690|  28.9k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
21691|  28.9k|                    }
21692|  26.8k|                    else if (head >= 0xE0)
  ------------------
  |  Branch (21692:30): [True: 9.47k, False: 17.3k]
  ------------------
21693|  9.47k|                    {
21694|       |                        // negative fixint
21695|  9.47k|                        bulk_advance(1, head);
21696|  9.47k|                        accepted = sax->number_integer(static_cast<std::int8_t>(head));
21697|  9.47k|                    }
21698|  17.3k|                    else
21699|  17.3k|                    {
21700|       |                        // any other value is read by parse_msgpack_value
21701|  17.3k|                        return true;
21702|  17.3k|                    }
21703|  38.4k|                    break;
21704|  64.4k|            }
21705|  47.0k|            --remaining;
21706|  47.0k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|  47.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 47.0k]
  |  |  ------------------
  ------------------
21707|      0|            {
21708|      0|                return false;
21709|      0|            }
21710|  47.0k|        }
21711|  4.83k|        return true;
21712|  22.1k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIsEET_PKh:
20670|    467|    {
20671|    467|        NumberType result{};
20672|    467|        std::memcpy(&result, data, sizeof(NumberType));
20673|    467|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 467, False: 0]
  ------------------
20674|    467|        {
20675|    467|            byte_swap(result);
20676|    467|        }
20677|    467|        return result;
20678|    467|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIsEEvRT_:
23555|    859|    {
23556|    859|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    859|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.71k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 859, False: 859]
  ------------------
23572|    859|            {
23573|    859|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|    859|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    859|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIiEET_PKh:
20670|    337|    {
20671|    337|        NumberType result{};
20672|    337|        std::memcpy(&result, data, sizeof(NumberType));
20673|    337|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 337, False: 0]
  ------------------
20674|    337|        {
20675|    337|            byte_swap(result);
20676|    337|        }
20677|    337|        return result;
20678|    337|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIlEET_PKh:
20670|    397|    {
20671|    397|        NumberType result{};
20672|    397|        std::memcpy(&result, data, sizeof(NumberType));
20673|    397|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 397, False: 0]
  ------------------
20674|    397|        {
20675|    397|            byte_swap(result);
20676|    397|        }
20677|    397|        return result;
20678|    397|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EE:
21499|  17.2k|    {
21500|       |        // helper function to set the subtype
21501|  17.2k|        auto assign_and_return_true = [&result](std::int8_t subtype)
21502|  17.2k|        {
21503|  17.2k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  17.2k|            return true;
21505|  17.2k|        };
21506|       |
21507|  17.2k|        switch (current)
21508|  17.2k|        {
21509|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21509:13): [True: 11.7k, False: 5.53k]
  ------------------
21510|  11.7k|            {
21511|  11.7k|                std::uint8_t len{};
21512|  11.7k|                return get_number(len) &&
  ------------------
  |  Branch (21512:24): [True: 11.7k, False: 11]
  ------------------
21513|  11.7k|                       get_binary(len, result);
  ------------------
  |  Branch (21513:24): [True: 11.7k, False: 29]
  ------------------
21514|      0|            }
21515|       |
21516|    957|            case 0xC5: // bin 16
  ------------------
  |  Branch (21516:13): [True: 957, False: 16.3k]
  ------------------
21517|    957|            {
21518|    957|                std::uint16_t len{};
21519|    957|                return get_number(len) &&
  ------------------
  |  Branch (21519:24): [True: 939, False: 18]
  ------------------
21520|    939|                       get_binary(len, result);
  ------------------
  |  Branch (21520:24): [True: 887, False: 52]
  ------------------
21521|      0|            }
21522|       |
21523|    668|            case 0xC6: // bin 32
  ------------------
  |  Branch (21523:13): [True: 668, False: 16.6k]
  ------------------
21524|    668|            {
21525|    668|                std::uint32_t len{};
21526|    668|                return get_number(len) &&
  ------------------
  |  Branch (21526:24): [True: 649, False: 19]
  ------------------
21527|    649|                       get_binary(len, result);
  ------------------
  |  Branch (21527:24): [True: 553, False: 96]
  ------------------
21528|      0|            }
21529|       |
21530|    376|            case 0xC7: // ext 8
  ------------------
  |  Branch (21530:13): [True: 376, False: 16.9k]
  ------------------
21531|    376|            {
21532|    376|                std::uint8_t len{};
21533|    376|                std::int8_t subtype{};
21534|    376|                return get_number(len) &&
  ------------------
  |  Branch (21534:24): [True: 372, False: 4]
  ------------------
21535|    372|                       get_number(subtype) &&
  ------------------
  |  Branch (21535:24): [True: 366, False: 6]
  ------------------
21536|    366|                       get_binary(len, result) &&
  ------------------
  |  Branch (21536:24): [True: 363, False: 3]
  ------------------
21537|    363|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21537:24): [True: 363, False: 0]
  ------------------
21538|      0|            }
21539|       |
21540|    361|            case 0xC8: // ext 16
  ------------------
  |  Branch (21540:13): [True: 361, False: 16.9k]
  ------------------
21541|    361|            {
21542|    361|                std::uint16_t len{};
21543|    361|                std::int8_t subtype{};
21544|    361|                return get_number(len) &&
  ------------------
  |  Branch (21544:24): [True: 346, False: 15]
  ------------------
21545|    346|                       get_number(subtype) &&
  ------------------
  |  Branch (21545:24): [True: 338, False: 8]
  ------------------
21546|    338|                       get_binary(len, result) &&
  ------------------
  |  Branch (21546:24): [True: 331, False: 7]
  ------------------
21547|    331|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21547:24): [True: 331, False: 0]
  ------------------
21548|      0|            }
21549|       |
21550|    236|            case 0xC9: // ext 32
  ------------------
  |  Branch (21550:13): [True: 236, False: 17.0k]
  ------------------
21551|    236|            {
21552|    236|                std::uint32_t len{};
21553|    236|                std::int8_t subtype{};
21554|    236|                return get_number(len) &&
  ------------------
  |  Branch (21554:24): [True: 222, False: 14]
  ------------------
21555|    222|                       get_number(subtype) &&
  ------------------
  |  Branch (21555:24): [True: 215, False: 7]
  ------------------
21556|    215|                       get_binary(len, result) &&
  ------------------
  |  Branch (21556:24): [True: 206, False: 9]
  ------------------
21557|    206|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21557:24): [True: 206, False: 0]
  ------------------
21558|      0|            }
21559|       |
21560|  1.87k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21560:13): [True: 1.87k, False: 15.4k]
  ------------------
21561|  1.87k|            {
21562|  1.87k|                std::int8_t subtype{};
21563|  1.87k|                return get_number(subtype) &&
  ------------------
  |  Branch (21563:24): [True: 1.87k, False: 7]
  ------------------
21564|  1.87k|                       get_binary(1, result) &&
  ------------------
  |  Branch (21564:24): [True: 1.86k, False: 8]
  ------------------
21565|  1.86k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21565:24): [True: 1.86k, False: 0]
  ------------------
21566|      0|            }
21567|       |
21568|    380|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21568:13): [True: 380, False: 16.9k]
  ------------------
21569|    380|            {
21570|    380|                std::int8_t subtype{};
21571|    380|                return get_number(subtype) &&
  ------------------
  |  Branch (21571:24): [True: 375, False: 5]
  ------------------
21572|    375|                       get_binary(2, result) &&
  ------------------
  |  Branch (21572:24): [True: 369, False: 6]
  ------------------
21573|    369|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21573:24): [True: 369, False: 0]
  ------------------
21574|      0|            }
21575|       |
21576|    333|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21576:13): [True: 333, False: 16.9k]
  ------------------
21577|    333|            {
21578|    333|                std::int8_t subtype{};
21579|    333|                return get_number(subtype) &&
  ------------------
  |  Branch (21579:24): [True: 327, False: 6]
  ------------------
21580|    327|                       get_binary(4, result) &&
  ------------------
  |  Branch (21580:24): [True: 320, False: 7]
  ------------------
21581|    320|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21581:24): [True: 320, False: 0]
  ------------------
21582|      0|            }
21583|       |
21584|    222|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21584:13): [True: 222, False: 17.0k]
  ------------------
21585|    222|            {
21586|    222|                std::int8_t subtype{};
21587|    222|                return get_number(subtype) &&
  ------------------
  |  Branch (21587:24): [True: 218, False: 4]
  ------------------
21588|    218|                       get_binary(8, result) &&
  ------------------
  |  Branch (21588:24): [True: 209, False: 9]
  ------------------
21589|    209|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21589:24): [True: 209, False: 0]
  ------------------
21590|      0|            }
21591|       |
21592|    128|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21592:13): [True: 128, False: 17.1k]
  ------------------
21593|    128|            {
21594|    128|                std::int8_t subtype{};
21595|    128|                return get_number(subtype) &&
  ------------------
  |  Branch (21595:24): [True: 122, False: 6]
  ------------------
21596|    122|                       get_binary(16, result) &&
  ------------------
  |  Branch (21596:24): [True: 107, False: 15]
  ------------------
21597|    107|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21597:24): [True: 107, False: 0]
  ------------------
21598|      0|            }
21599|       |
21600|      0|            default:           // LCOV_EXCL_LINE
  ------------------
  |  Branch (21600:13): [True: 0, False: 17.2k]
  ------------------
21601|      0|                return false;  // LCOV_EXCL_LINE
21602|  17.2k|        }
21603|  17.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIhEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  12.1k|    {
23868|  12.1k|        return get_bytes(len, "binary", result);
23869|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryItEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  1.27k|    {
23868|  1.27k|        return get_bytes(len, "binary", result);
23869|  1.27k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EEENKUlaE_clEa:
21502|  3.76k|        {
21503|  3.76k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  3.76k|            return true;
21505|  3.76k|        };
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIaLb0EEEbRT_:
23596|  4.72k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.72k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.72k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.72k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.72k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.66k, False: 56]
  |  Branch (23603:34): [Folded, False: 4.66k]
  |  Branch (23603:57): [True: 0, False: 4.66k]
  ------------------
23604|  4.66k|        {
23605|  4.66k|            byte_swap(result);
23606|  4.66k|        }
23607|  4.72k|        return true;
23608|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIaEEbRT_PKc:
23503|  4.72k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.72k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.72k|        chars_read += new_chars_read;
23508|  4.72k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.72k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 56, False: 4.66k]
  |  |  ------------------
  ------------------
23509|     56|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     56|            ++chars_read;
23512|     56|            static_cast<void>(report_eof(context));
23513|     56|            return false;
23514|     56|        }
23515|  4.66k|        return true;
23516|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIaEEmPT_m:
 9930|  4.72k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  4.72k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|  4.72k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  4.72k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  4.72k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  9.39k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 4.66k, False: 56]
  |  |  |  Branch (1696:94): [True: 4.66k, False: 56]
  |  |  |  Branch (1696:94): [True: 4.66k, False: 0]
  |  |  ------------------
  ------------------
 9940|  4.66k|        {
 9941|  4.66k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  4.66k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  4.66k|            return count * sizeof(T);
 9944|  4.66k|        }
 9945|     56|#endif
 9946|     56|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     56|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     56|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 56, False: 0]
  |  |  ------------------
  ------------------
 9948|     56|        {
 9949|     56|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     56|        }
 9951|     56|        return res;
 9952|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIaEEvRT_:
23555|  4.66k|    {
23556|  4.66k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  4.66k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.66k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 4.66k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.66k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIaEEbT_:
23628|  1.34k|    {
23629|  1.34k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.34k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.34k, False: 0]
  |  |  ------------------
  ------------------
23630|  1.34k|        {
23631|  1.34k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  1.34k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIsLb0EEEbRT_:
23596|    407|    {
23597|       |        // read in the original format
23598|       |
23599|    407|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    407|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 407]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    407|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 392, False: 15]
  |  Branch (23603:34): [Folded, False: 392]
  |  Branch (23603:57): [True: 0, False: 392]
  ------------------
23604|    392|        {
23605|    392|            byte_swap(result);
23606|    392|        }
23607|    407|        return true;
23608|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIsEEbRT_PKc:
23503|    407|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    407|        auto new_chars_read = ia.get_elements(&dest);
23507|    407|        chars_read += new_chars_read;
23508|    407|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    407|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 392]
  |  |  ------------------
  ------------------
23509|     15|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     15|            ++chars_read;
23512|     15|            static_cast<void>(report_eof(context));
23513|     15|            return false;
23514|     15|        }
23515|    392|        return true;
23516|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIsEEmPT_m:
 9930|    407|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    407|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9935|       |        // the elements are in the get area: copy them, as sgetn() does, but
 9936|       |        // without the virtual call
 9937|    407|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    407|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    407|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|    799|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 392, False: 15]
  |  |  |  Branch (1696:94): [True: 392, False: 15]
  |  |  |  Branch (1696:94): [True: 392, False: 0]
  |  |  ------------------
  ------------------
 9940|    392|        {
 9941|    392|            std::memcpy(dest, first, count * sizeof(T));
 9942|    392|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    392|            return count * sizeof(T);
 9944|    392|        }
 9945|     15|#endif
 9946|     15|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     15|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     15|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 0]
  |  |  ------------------
  ------------------
 9948|     15|        {
 9949|     15|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     15|        }
 9951|     15|        return res;
 9952|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIsEEbT_:
23628|    859|    {
23629|    859|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    859|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 859, False: 0]
  |  |  ------------------
  ------------------
23630|    859|        {
23631|    859|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    859|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIiLb0EEEbRT_:
23596|    337|    {
23597|       |        // read in the original format
23598|       |
23599|    337|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    337|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 337]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    337|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 314, False: 23]
  |  Branch (23603:34): [Folded, False: 314]
  |  Branch (23603:57): [True: 0, False: 314]
  ------------------
23604|    314|        {
23605|    314|            byte_swap(result);
23606|    314|        }
23607|    337|        return true;
23608|    337|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIlLb0EEEbRT_:
23596|    563|    {
23597|       |        // read in the original format
23598|       |
23599|    563|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    563|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 563]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    563|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 538, False: 25]
  |  Branch (23603:34): [Folded, False: 538]
  |  Branch (23603:57): [True: 0, False: 538]
  ------------------
23604|    538|        {
23605|    538|            byte_swap(result);
23606|    538|        }
23607|    563|        return true;
23608|    563|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15last_byte_errorENS1_12exception_idERKSC_PKcSP_:
24055|    325|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    325|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    325|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 2, False: 323]
  ------------------
24059|    325|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE3getEv:
23488|   298k|    {
23489|   298k|        ++chars_read;
23490|   298k|        return current = ia.get_character();
23491|   298k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter13get_characterEv:
 9909|   298k|    {
 9910|   298k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9911|       |        // the character is in the get area: step over it, as sbumpc() does
 9912|   298k|        const char* const next = streambuf_access::get_ptr(sb);
 9913|   298k|        if (JSON_HEDLEY_LIKELY(next != streambuf_access::get_end(sb)))
  ------------------
  |  | 1696|   298k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 290k, False: 8.26k]
  |  |  ------------------
  ------------------
 9914|   290k|        {
 9915|   290k|            current_in_get_area = true;
 9916|   290k|            streambuf_access::bump(sb, 1);
 9917|   290k|            return std::char_traits<char>::to_int_type(*next);
 9918|   290k|        }
 9919|  8.26k|        if (no_get_area)
  ------------------
  |  Branch (9919:13): [True: 0, False: 8.26k]
  ------------------
 9920|      0|        {
 9921|      0|            return get_character_no_get_area();
 9922|      0|        }
 9923|  8.26k|#endif
 9924|  8.26k|        return get_character_slow();
 9925|  8.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter18get_character_slowEv:
10051|  8.26k|    {
10052|  8.26k|#if !JSON_DISABLE_STREAM_BULK_SCAN
10053|       |        // the get area is exhausted (get_character() handles the other case),
10054|       |        // so sbumpc() refills it
10055|  8.26k|        save_token_segment();
10056|  8.26k|#endif
10057|       |
10058|  8.26k|        auto res = sb->sbumpc();
10059|       |        // set eof manually, as we don't use the istream interface.
10060|  8.26k|        if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof()))
  ------------------
  |  | 1697|  8.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 8.26k, False: 0]
  |  |  ------------------
  ------------------
10061|  8.26k|        {
10062|  8.26k|#if !JSON_DISABLE_STREAM_BULK_SCAN
10063|  8.26k|            current_in_get_area = false;
10064|  8.26k|#endif
10065|  8.26k|            is->clear(is->rdstate() | std::ios::eofbit);
10066|  8.26k|        }
10067|      0|#if !JSON_DISABLE_STREAM_BULK_SCAN
10068|      0|        else
10069|      0|        {
10070|       |            // the consumed character is at gptr() - 1, unless the streambuf
10071|       |            // has no get area and returned it from uflow()
10072|      0|            const char* const next = streambuf_access::get_ptr(sb);
10073|      0|            after_refill(res, next != nullptr && next != streambuf_access::get_begin(sb));
  ------------------
  |  Branch (10073:31): [True: 0, False: 0]
  |  Branch (10073:50): [True: 0, False: 0]
  ------------------
10074|      0|        }
10075|  8.26k|#endif
10076|  8.26k|        return res;
10077|  8.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter18save_token_segmentEv:
10124|  8.26k|    {
10125|  8.26k|        if (token_segment != nullptr)
  ------------------
  |  Branch (10125:13): [True: 0, False: 8.26k]
  ------------------
10126|      0|        {
10127|      0|            token_carry.append(token_segment, streambuf_access::get_end(sb));
10128|      0|            token_segment = nullptr;
10129|      0|        }
10130|  8.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16position_bindingD2Ev:
19134|  9.64k|        {
19135|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.64k, False: 0]
  ------------------
19136|  9.64k|            {
19137|  9.64k|                parser->set_reserve_state(saved);
19138|  9.64k|            }
19139|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEED2Ev:
19002|  9.64k|    ~binary_reader() = default;
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterEED2Ev:
17829|  9.64k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterERNSt3__113basic_istreamIcNS2_11char_traitsIcEEEE:
10871|  9.64k|{
10872|  9.64k|    if (stream.rdbuf() == nullptr)
  ------------------
  |  Branch (10872:9): [True: 0, False: 9.64k]
  ------------------
10873|      0|    {
10874|      0|        JSON_THROW(parse_error::create(exception_id::syntax_error, 0, empty_input_message(), nullptr));
  ------------------
  |  | 2618|      0|    #define JSON_THROW(exception) throw exception
  ------------------
10875|      0|    }
10876|  9.64k|    return input_stream_adapter(stream);
10877|  9.64k|}
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterC2ERNSt3__113basic_istreamIcNS3_11char_traitsIcEEEE:
 9806|  9.64k|        : is(&i), sb(i.rdbuf())
 9807|  9.64k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterD2Ev:
 9785|  19.2k|    {
 9786|       |        // clear stream flags; we use underlying streambuf I/O, do not
 9787|       |        // maintain ifstream flags, except eof
 9788|  19.2k|        if (is != nullptr)
  ------------------
  |  Branch (9788:13): [True: 9.64k, False: 9.64k]
  ------------------
 9789|  9.64k|        {
 9790|       |#if JSON_PRECISE_STREAM_POSITION
 9791|       |            // consume the character last returned by get_character() unless it
 9792|       |            // was given back with release_lookahead()
 9793|       |            commit_lookahead();
 9794|       |#endif
 9795|       |            // only call clear() if there is something to clear: it throws
 9796|       |            // std::ios_base::failure if the stream has exceptions() enabled
 9797|       |            // for a state bit that remains set, and a destructor must not throw
 9798|  9.64k|            if ((is->rdstate() & ~std::ios::eofbit) != 0)
  ------------------
  |  Branch (9798:17): [True: 0, False: 9.64k]
  ------------------
 9799|      0|            {
 9800|      0|                is->clear(is->rdstate() & std::ios::eofbit);
 9801|      0|            }
 9802|  9.64k|        }
 9803|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12from_msgpackINS2_21__list_const_iteratorIhPvEESI_TnNS2_9enable_ifIXsr6detail14can_compare_neIT_T0_EE5valueEiE4typeELi0EEESE_SK_SL_bbNS0_6detail15error_handler_tE:
46865|  9.64k|    {
46866|  9.64k|        return from_binary_impl(detail::input_adapter(std::move(first), std::move(last)), input_format_t::msgpack, strict, allow_exceptions, error_handler);
46867|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16from_binary_implINS0_6detail22iterator_input_adapterINS2_21__list_const_iteratorIhPvEESK_EEEESE_T_NSG_14input_format_tEbbNSG_15error_handler_tENSG_18cbor_tag_handler_tE:
46575|  9.64k|    {
46576|  9.64k|        basic_json result;
46577|  9.64k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.64k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.64k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.64k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.64k|        return result;
46584|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEEC2ERSG_bPNS1_5lexerISG_SL_Lb0EEE:
17821|  9.64k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.64k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEEC2EOSL_NS1_14input_format_tENS1_15error_handler_tE:
18992|  9.64k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.64k|    {
18994|  9.64k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9sax_parseEPSN_bNS1_18cbor_tag_handler_tE:
19017|  9.64k|    {
19018|  9.64k|        sax = sax_;
19019|  9.64k|        container_stack.clear();
19020|  9.64k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.64k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.64k|        bool result = false;
19024|       |
19025|  9.64k|        switch (input_format)
19026|  9.64k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.64k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|      0|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 0, False: 9.64k]
  ------------------
19032|      0|                result = parse_cbor_internal(tag_handler);
19033|      0|                break;
19034|       |
19035|  9.64k|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 9.64k, False: 0]
  ------------------
19036|  9.64k|                result = parse_msgpack_internal();
19037|  9.64k|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.64k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.64k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.64k]
  ------------------
19045|      0|                result = parse_bon8_internal();
19046|      0|                break;
19047|       |
19048|      0|            case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (19048:13): [True: 0, False: 9.64k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.64k]
  ------------------
19050|      0|                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (19050:17): [Folded, False: 0]
  ------------------
19051|  9.64k|        }
19052|       |
19053|       |        // BON8: a string ends at the first byte that cannot continue it. If
19054|       |        // that byte follows the value, the reader has already taken it from
19055|       |        // the input and holds it in bon8_pushback. Without the end-of-input
19056|       |        // check below it would be dropped, and the next read would start
19057|       |        // behind it, so report the missing 0xFF instead.
19058|  5.53k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 5.53k, False: 0]
  |  Branch (19058:23): [True: 0, False: 5.53k]
  |  Branch (19058:34): [True: 0, False: 0]
  |  Branch (19058:74): [True: 0, False: 0]
  ------------------
19059|      0|        {
19060|      0|            get_bon8();
19061|      0|            return last_byte_error(exception_id::unexpected_end_of_input, "string at the end of the value is not terminated by 0xFF", "value", "");
19062|      0|        }
19063|       |
19064|       |        // strict mode: next byte must be EOF
19065|  5.53k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 5.53k, False: 0]
  |  Branch (19065:23): [True: 5.53k, False: 0]
  ------------------
19066|  5.53k|        {
19067|  5.53k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 5.53k]
  |  Branch (19067:59): [True: 0, False: 5.53k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  5.53k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 5.53k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  5.53k|            else
19077|  5.53k|            {
19078|  5.53k|                get();
19079|  5.53k|            }
19080|       |
19081|  5.53k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  5.53k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 282, False: 5.25k]
  |  |  ------------------
  ------------------
19082|    282|            {
19083|    282|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    282|            }
19085|  5.53k|        }
19086|       |
19087|  5.25k|        return result;
19088|  5.53k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE12bound_parserEPSN_NS4_17integral_constantIbLb1EEE:
19096|  9.64k|    {
19097|  9.64k|        return s;
19098|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE16position_bindingC2EPNS1_24json_sax_dom_error_stateEPKm:
19119|  9.64k|            : parser(parser_), saved()
19120|  9.64k|        {
19121|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.64k, False: 0]
  ------------------
19122|  9.64k|            {
19123|  9.64k|                saved = parser->get_reserve_state();
19124|  9.64k|                parser->set_input_position(position);
19125|  9.64k|            }
19126|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIiEEbRT_PKc:
23503|    674|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    674|        auto new_chars_read = ia.get_elements(&dest);
23507|    674|        chars_read += new_chars_read;
23508|    674|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    674|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 651]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    651|        return true;
23516|    674|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIiEEmPT_m:
10326|    674|    {
10327|    674|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|    674|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIiEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|    674|    {
10407|    674|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  3.30k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 2.65k, False: 651]
  ------------------
10409|  2.65k|        {
10410|  2.65k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  2.65k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.62k, False: 23]
  |  |  ------------------
  ------------------
10411|  2.62k|            {
10412|  2.62k|                ptr[read_index] = static_cast<char>(*current);
10413|  2.62k|                std::advance(current, 1);
10414|  2.62k|            }
10415|     23|            else
10416|     23|            {
10417|     23|                return read_index;
10418|     23|            }
10419|  2.65k|        }
10420|    651|        return count * sizeof(T);
10421|    674|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10report_eofEPKc:
23991|  4.06k|    {
23992|  4.06k|        return sax->parse_error(chars_read, "<end of file>",
23993|  4.06k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  4.06k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17exception_messageERKSC_SQ_:
24102|  4.39k|    {
24103|  4.39k|        std::string error_msg = "syntax error while parsing ";
24104|  4.39k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.39k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.39k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIiEEvRT_:
23555|    651|    {
23556|    651|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    651|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.95k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 1.30k, False: 651]
  ------------------
23572|  1.30k|            {
23573|  1.30k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  1.30k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    651|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15enter_containerEbmm:
19201|   140k|    {
19202|   140k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 17.8k, False: 123k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   140k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   140k|        return true;
19209|   140k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12start_objectEm:
17878|  17.8k|    {
17879|  17.8k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
17880|       |
17881|       |#if JSON_DIAGNOSTIC_POSITIONS
17882|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17883|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17884|       |#endif
17885|       |
17886|  17.8k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  17.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   140k|    {
17962|   140k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.86k, False: 134k]
  ------------------
17963|  6.86k|        {
17964|  6.86k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  6.86k|            return &root;
17971|  6.86k|        }
17972|       |
17973|   134k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   134k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 121k, False: 12.4k]
  |  Branch (17973:9): [True: 12.4k, False: 0]
  |  Branch (17973:9): [True: 134k, False: 0]
  ------------------
17974|       |
17975|   134k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 121k, False: 12.4k]
  ------------------
17976|   121k|        {
17977|   121k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|   121k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   121k|        }
17985|       |
17986|  12.4k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 12.4k, False: 0]
  ------------------
17987|  12.4k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 12.4k, False: 0]
  ------------------
17988|  12.4k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  12.4k|        return object_element;
17995|  12.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20check_container_sizeINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_22iterator_input_adapterINS5_21__list_const_iteratorIhPvEESL_EEEESH_EEbRT_mPKcPT0_:
16469|   140k|{
16470|   140k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 140k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 140k]
  |  |  ------------------
  ------------------
16471|      0|    {
16472|      0|        return container_too_large_error(sax, len, kind, ref);
16473|      0|    }
16474|   140k|    return true;
16475|   140k|}
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE11start_arrayEm:
17915|   123k|    {
17916|   123k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
17917|       |
17918|       |#if JSON_DIAGNOSTIC_POSITIONS
17919|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17920|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17921|       |#endif
17922|       |
17923|   123k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   123k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 123k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   123k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 123k, False: 0]
  ------------------
17929|   123k|        {
17930|   123k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   123k|        }
17932|       |
17933|   123k|        return true;
17934|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15container_frameC2Embm:
19167|   140k|            : remaining(remaining_), type_marker(type_marker_), is_object(is_object_) {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15leave_containerEv:
19233|   108k|    {
19234|   108k|        const bool is_object = container_stack.back().is_object;
19235|   108k|        container_stack.pop_back();
19236|   108k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 12.1k, False: 96.6k]
  ------------------
19237|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE10end_objectEv:
17901|  12.1k|    {
17902|  12.1k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 12.1k, False: 0]
  ------------------
17903|  12.1k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 12.1k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  12.1k|        ref_stack.back()->set_parents();
17910|  12.1k|        ref_stack.pop_back();
17911|  12.1k|        return true;
17912|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE9end_arrayEv:
17937|  96.6k|    {
17938|  96.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 96.6k, False: 0]
  ------------------
17939|  96.6k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 96.6k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  96.6k|        ref_stack.back()->set_parents();
17946|  96.6k|        ref_stack.pop_back();
17947|  96.6k|        return true;
17948|  96.6k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE12unexpect_eofEPKc:
23974|  50.5k|    {
23975|  50.5k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  50.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.69k, False: 46.8k]
  |  |  ------------------
  ------------------
23976|  3.69k|        {
23977|  3.69k|            return report_eof(context);
23978|  3.69k|        }
23979|  46.8k|        return true;
23980|  50.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17check_string_utf8ERSC_PKc:
23811|  46.3k|    {
23812|  46.3k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 46.3k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  46.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE3keyERSC_:
17890|  31.6k|    {
17891|  31.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 31.6k, False: 0]
  ------------------
17892|  31.6k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 31.6k, False: 0]
  ------------------
17893|       |
17894|       |        // add null at the given key and store the reference for later; the
17895|       |        // key is moved, as the lexer starts the next token with reset()
17896|  31.6k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  31.6k|        return true;
17898|  31.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIdEEbRT_PKc:
23503|  1.32k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.32k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.32k|        chars_read += new_chars_read;
23508|  1.32k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.32k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 1.30k]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|  1.30k|        return true;
23516|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIdEEmPT_m:
10326|  1.32k|    {
10327|  1.32k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIdEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  1.32k|    {
10407|  1.32k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  11.7k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 10.4k, False: 1.30k]
  ------------------
10409|  10.4k|        {
10410|  10.4k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  10.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 10.4k, False: 25]
  |  |  ------------------
  ------------------
10411|  10.4k|            {
10412|  10.4k|                ptr[read_index] = static_cast<char>(*current);
10413|  10.4k|                std::advance(current, 1);
10414|  10.4k|            }
10415|     25|            else
10416|     25|            {
10417|     25|                return read_index;
10418|     25|            }
10419|  10.4k|        }
10420|  1.30k|        return count * sizeof(T);
10421|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapERd:
23535|  1.30k|    {
23536|  1.30k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.30k|        std::uint64_t bits{};
23538|  1.30k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.30k|        bits = byteswap(bits);
23540|  1.30k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10emit_floatIdEEbT_:
23682|  1.30k|    {
23683|  1.30k|        const auto result = static_cast<number_float_t>(number);
23684|  1.30k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.59k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.30k]
  |  |  |  Branch (1697:94): [True: 1.29k, False: 6]
  |  |  |  Branch (1697:94): [True: 0, False: 1.29k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.30k|        return sax->number_float(result, no_source);
23689|  1.30k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE16get_token_stringEv:
24091|    650|    {
24092|    650|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    650|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12number_floatEdRKSC_:
17856|  4.37k|    {
17857|  4.37k|        handle_value(val);
17858|  4.37k|        return true;
17859|  4.37k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueIRdEEPSG_OT_:
17961|  4.37k|    {
17962|  4.37k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 596, False: 3.77k]
  ------------------
17963|    596|        {
17964|    596|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    596|            return &root;
17971|    596|        }
17972|       |
17973|  3.77k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.77k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.38k, False: 387]
  |  Branch (17973:9): [True: 387, False: 0]
  |  Branch (17973:9): [True: 3.77k, False: 0]
  ------------------
17974|       |
17975|  3.77k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.38k, False: 387]
  ------------------
17976|  3.38k|        {
17977|  3.38k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.38k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.38k|        }
17985|       |
17986|    387|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 387, False: 0]
  ------------------
17987|    387|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 387, False: 0]
  ------------------
17988|    387|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|    387|        return object_element;
17995|    387|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIcEEmPT_m:
10326|  18.2k|    {
10327|  18.2k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  18.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIcEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  18.2k|    {
10407|  18.2k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|   126k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 108k, False: 17.7k]
  ------------------
10409|   108k|        {
10410|   108k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|   108k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 108k, False: 449]
  |  |  ------------------
  ------------------
10411|   108k|            {
10412|   108k|                ptr[read_index] = static_cast<char>(*current);
10413|   108k|                std::advance(current, 1);
10414|   108k|            }
10415|    449|            else
10416|    449|            {
10417|    449|                return read_index;
10418|    449|            }
10419|   108k|        }
10420|  17.7k|        return count * sizeof(T);
10421|  18.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE6stringERSC_:
17862|  14.6k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  14.6k|        handle_value(std::move(val));
17866|  14.6k|        return true;
17867|  14.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueISC_EEPSG_OT_:
17961|  14.6k|    {
17962|  14.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 647, False: 14.0k]
  ------------------
17963|    647|        {
17964|    647|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    647|            return &root;
17971|    647|        }
17972|       |
17973|  14.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  14.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 9.85k, False: 4.17k]
  |  Branch (17973:9): [True: 4.17k, False: 0]
  |  Branch (17973:9): [True: 14.0k, False: 0]
  ------------------
17974|       |
17975|  14.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 9.85k, False: 4.17k]
  ------------------
17976|  9.85k|        {
17977|  9.85k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  9.85k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  9.85k|        }
17985|       |
17986|  4.17k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.17k, False: 0]
  ------------------
17987|  4.17k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.17k, False: 0]
  ------------------
17988|  4.17k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.17k|        return object_element;
17995|  4.17k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_binaryIiEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  2.91k|    {
23868|  2.91k|        return get_bytes(len, "binary", result);
23869|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesIiNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  2.91k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  2.91k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 2.91k]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  2.91k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.91k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.91k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  5.77k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 2.91k, False: 2.86k]
  ------------------
23906|  2.91k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  2.91k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 2.91k, False: 0]
  ------------------
23910|  2.91k|                                       ? static_cast<std::size_t>(len)
23911|  2.91k|                                       : chunk_size;
23912|  2.91k|            const std::size_t old_size = result.size();
23913|  2.91k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  2.91k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  2.91k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 2.91k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  2.91k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  2.91k|            chars_read += bytes_read;
23921|  2.91k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  2.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 45, False: 2.86k]
  |  |  ------------------
  ------------------
23922|     45|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     45|                result.resize(old_size + bytes_read);
23927|     45|                ++chars_read;
23928|     45|                current = char_traits<char_type>::eof();
23929|     45|                return unexpect_eof(context);
23930|     45|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  2.86k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  2.86k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 2.86k, False: 0]
  ------------------
23933|  2.86k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  2.86k|        }
23935|  2.86k|        return true;
23936|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIiNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  2.91k|    {
23965|  2.91k|        return false;
23966|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIhEEmPT_m:
10326|  19.7k|    {
10327|  19.7k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  19.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIhEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  19.7k|    {
10407|  19.7k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  59.2k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 39.7k, False: 19.4k]
  ------------------
10409|  39.7k|        {
10410|  39.7k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  39.7k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 39.4k, False: 283]
  |  |  ------------------
  ------------------
10411|  39.4k|            {
10412|  39.4k|                ptr[read_index] = static_cast<char>(*current);
10413|  39.4k|                std::advance(current, 1);
10414|  39.4k|            }
10415|    283|            else
10416|    283|            {
10417|    283|                return read_index;
10418|    283|            }
10419|  39.7k|        }
10420|  19.4k|        return count * sizeof(T);
10421|  19.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|  16.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  16.9k|        handle_value(std::move(val));
17874|  16.9k|        return true;
17875|  16.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueINS0_27byte_container_with_subtypeISF_EEEEPSG_OT_:
17961|  16.9k|    {
17962|  16.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 142, False: 16.7k]
  ------------------
17963|    142|        {
17964|    142|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    142|            return &root;
17971|    142|        }
17972|       |
17973|  16.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 1.38k]
  |  Branch (17973:9): [True: 1.38k, False: 0]
  |  Branch (17973:9): [True: 16.7k, False: 0]
  ------------------
17974|       |
17975|  16.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 1.38k]
  ------------------
17976|  15.3k|        {
17977|  15.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  15.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  15.3k|        }
17985|       |
17986|  1.38k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.38k, False: 0]
  ------------------
17987|  1.38k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.38k, False: 0]
  ------------------
17988|  1.38k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.38k|        return object_element;
17995|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIhLb0EEEbRT_:
23596|  14.9k|    {
23597|       |        // read in the original format
23598|       |
23599|  14.9k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  14.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 14.9k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  14.9k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 14.9k, False: 42]
  |  Branch (23603:34): [Folded, False: 14.9k]
  |  Branch (23603:57): [True: 0, False: 14.9k]
  ------------------
23604|  14.9k|        {
23605|  14.9k|            byte_swap(result);
23606|  14.9k|        }
23607|  14.9k|        return true;
23608|  14.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIhEEbRT_PKc:
23503|  14.9k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  14.9k|        auto new_chars_read = ia.get_elements(&dest);
23507|  14.9k|        chars_read += new_chars_read;
23508|  14.9k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  14.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 42, False: 14.9k]
  |  |  ------------------
  ------------------
23509|     42|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     42|            ++chars_read;
23512|     42|            static_cast<void>(report_eof(context));
23513|     42|            return false;
23514|     42|        }
23515|  14.9k|        return true;
23516|  14.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIhEEvRT_:
23555|  14.9k|    {
23556|  14.9k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  14.9k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  14.9k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 14.9k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  14.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE7booleanEb:
17838|  5.26k|    {
17839|  5.26k|        handle_value(val);
17840|  5.26k|        return true;
17841|  5.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueIRbEEPSG_OT_:
17961|  5.26k|    {
17962|  5.26k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 4, False: 5.26k]
  ------------------
17963|      4|        {
17964|      4|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      4|            return &root;
17971|      4|        }
17972|       |
17973|  5.26k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.26k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.94k, False: 1.32k]
  |  Branch (17973:9): [True: 1.32k, False: 0]
  |  Branch (17973:9): [True: 5.26k, False: 0]
  ------------------
17974|       |
17975|  5.26k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.94k, False: 1.32k]
  ------------------
17976|  3.94k|        {
17977|  3.94k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.94k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.94k|        }
17985|       |
17986|  1.32k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.32k, False: 0]
  ------------------
17987|  1.32k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.32k, False: 0]
  ------------------
17988|  1.32k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.32k|        return object_element;
17995|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE4nullEv:
17832|  4.54k|    {
17833|  4.54k|        handle_value(nullptr);
17834|  4.54k|        return true;
17835|  4.54k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueIDnEEPSG_OT_:
17961|  4.54k|    {
17962|  4.54k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2, False: 4.54k]
  ------------------
17963|      2|        {
17964|      2|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      2|            return &root;
17971|      2|        }
17972|       |
17973|  4.54k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.54k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.19k, False: 1.34k]
  |  Branch (17973:9): [True: 1.34k, False: 0]
  |  Branch (17973:9): [True: 4.54k, False: 0]
  ------------------
17974|       |
17975|  4.54k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.19k, False: 1.34k]
  ------------------
17976|  3.19k|        {
17977|  3.19k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.19k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.19k|        }
17985|       |
17986|  1.34k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.34k, False: 0]
  ------------------
17987|  1.34k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.34k, False: 0]
  ------------------
17988|  1.34k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.34k|        return object_element;
17995|  1.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE11emit_signedIiEEbT_:
23628|    651|    {
23629|    651|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    651|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 651, False: 0]
  |  |  ------------------
  ------------------
23630|    651|        {
23631|    651|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    651|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE14number_integerEl:
17844|  30.4k|    {
17845|  30.4k|        handle_value(val);
17846|  30.4k|        return true;
17847|  30.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueIRlEEPSG_OT_:
17961|  30.4k|    {
17962|  30.4k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 415, False: 30.0k]
  ------------------
17963|    415|        {
17964|    415|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    415|            return &root;
17971|    415|        }
17972|       |
17973|  30.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  30.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.3k, False: 2.70k]
  |  Branch (17973:9): [True: 2.70k, False: 0]
  |  Branch (17973:9): [True: 30.0k, False: 0]
  ------------------
17974|       |
17975|  30.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.3k, False: 2.70k]
  ------------------
17976|  27.3k|        {
17977|  27.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  27.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.3k|        }
17985|       |
17986|  2.70k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.70k, False: 0]
  ------------------
17987|  2.70k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.70k, False: 0]
  ------------------
17988|  2.70k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  2.70k|        return object_element;
17995|  2.70k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE15number_unsignedEm:
17850|  87.0k|    {
17851|  87.0k|        handle_value(val);
17852|  87.0k|        return true;
17853|  87.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEE12handle_valueIRmEEPSG_OT_:
17961|  87.0k|    {
17962|  87.0k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 522, False: 86.5k]
  ------------------
17963|    522|        {
17964|    522|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    522|            return &root;
17971|    522|        }
17972|       |
17973|  86.5k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  86.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 78.9k, False: 7.59k]
  |  Branch (17973:9): [True: 7.59k, False: 0]
  |  Branch (17973:9): [True: 86.5k, False: 0]
  ------------------
17974|       |
17975|  86.5k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 78.9k, False: 7.59k]
  ------------------
17976|  78.9k|        {
17977|  78.9k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  78.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  78.9k|        }
17985|       |
17986|  7.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 7.59k, False: 0]
  ------------------
17987|  7.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 7.59k, False: 0]
  ------------------
17988|  7.59k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  7.59k|        return object_element;
17995|  7.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIlEEbRT_PKc:
23503|    960|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    960|        auto new_chars_read = ia.get_elements(&dest);
23507|    960|        chars_read += new_chars_read;
23508|    960|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    960|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 935]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|    935|        return true;
23516|    960|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIlEEmPT_m:
10326|    960|    {
10327|    960|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|    960|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIlEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|    960|    {
10407|    960|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  8.47k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 7.54k, False: 935]
  ------------------
10409|  7.54k|        {
10410|  7.54k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  7.54k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 7.51k, False: 25]
  |  |  ------------------
  ------------------
10411|  7.51k|            {
10412|  7.51k|                ptr[read_index] = static_cast<char>(*current);
10413|  7.51k|                std::advance(current, 1);
10414|  7.51k|            }
10415|     25|            else
10416|     25|            {
10417|     25|                return read_index;
10418|     25|            }
10419|  7.54k|        }
10420|    935|        return count * sizeof(T);
10421|    960|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIlEEvRT_:
23555|    935|    {
23556|    935|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    935|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.67k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.74k, False: 935]
  ------------------
23572|  3.74k|            {
23573|  3.74k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.74k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    935|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE11emit_signedIlEEbT_:
23628|    935|    {
23629|    935|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    935|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 935, False: 0]
  |  |  ------------------
  ------------------
23630|    935|        {
23631|    935|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    935|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toImEEbRT_PKc:
23503|    862|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    862|        auto new_chars_read = ia.get_elements(&dest);
23507|    862|        chars_read += new_chars_read;
23508|    862|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    862|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 839]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    839|        return true;
23516|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsImEEmPT_m:
10326|    862|    {
10327|    862|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implImEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|    862|    {
10407|    862|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  7.61k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 6.77k, False: 839]
  ------------------
10409|  6.77k|        {
10410|  6.77k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  6.77k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 6.74k, False: 23]
  |  |  ------------------
  ------------------
10411|  6.74k|            {
10412|  6.74k|                ptr[read_index] = static_cast<char>(*current);
10413|  6.74k|                std::advance(current, 1);
10414|  6.74k|            }
10415|     23|            else
10416|     23|            {
10417|     23|                return read_index;
10418|     23|            }
10419|  6.77k|        }
10420|    839|        return count * sizeof(T);
10421|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapImEEvRT_:
23555|    839|    {
23556|    839|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    839|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.19k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.35k, False: 839]
  ------------------
23572|  3.35k|            {
23573|  3.35k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.35k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE13emit_unsignedImEEbT_:
23656|    839|    {
23657|    839|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    839|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 839, False: 0]
  |  |  ------------------
  ------------------
23658|    839|        {
23659|    839|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    839|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE25leave_container_and_checkERb:
19250|   108k|    {
19251|   108k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   108k|        value_complete = container_stack.empty();
19256|   108k|        return true;
19257|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberItLb0EEEbRT_:
23596|  7.00k|    {
23597|       |        // read in the original format
23598|       |
23599|  7.00k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  7.00k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.00k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  7.00k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 6.94k, False: 67]
  |  Branch (23603:34): [Folded, False: 6.94k]
  |  Branch (23603:57): [True: 0, False: 6.94k]
  ------------------
23604|  6.94k|        {
23605|  6.94k|            byte_swap(result);
23606|  6.94k|        }
23607|  7.00k|        return true;
23608|  7.00k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toItEEbRT_PKc:
23503|  7.00k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  7.00k|        auto new_chars_read = ia.get_elements(&dest);
23507|  7.00k|        chars_read += new_chars_read;
23508|  7.00k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  7.00k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 6.94k]
  |  |  ------------------
  ------------------
23509|     67|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     67|            ++chars_read;
23512|     67|            static_cast<void>(report_eof(context));
23513|     67|            return false;
23514|     67|        }
23515|  6.94k|        return true;
23516|  7.00k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsItEEmPT_m:
10326|  7.00k|    {
10327|  7.00k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  7.00k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implItEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  7.00k|    {
10407|  7.00k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  20.9k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 13.9k, False: 6.94k]
  ------------------
10409|  13.9k|        {
10410|  13.9k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  13.9k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 13.9k, False: 67]
  |  |  ------------------
  ------------------
10411|  13.9k|            {
10412|  13.9k|                ptr[read_index] = static_cast<char>(*current);
10413|  13.9k|                std::advance(current, 1);
10414|  13.9k|            }
10415|     67|            else
10416|     67|            {
10417|     67|                return read_index;
10418|     67|            }
10419|  13.9k|        }
10420|  6.94k|        return count * sizeof(T);
10421|  7.00k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapItEEvRT_:
23555|  6.94k|    {
23556|  6.94k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  6.94k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  13.8k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 6.94k, False: 6.94k]
  ------------------
23572|  6.94k|            {
23573|  6.94k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  6.94k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  6.94k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIjLb0EEEbRT_:
23596|  2.76k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.76k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.76k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.76k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.76k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.69k, False: 74]
  |  Branch (23603:34): [Folded, False: 2.69k]
  |  Branch (23603:57): [True: 0, False: 2.69k]
  ------------------
23604|  2.69k|        {
23605|  2.69k|            byte_swap(result);
23606|  2.69k|        }
23607|  2.76k|        return true;
23608|  2.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIjEEbRT_PKc:
23503|  2.76k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.76k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.76k|        chars_read += new_chars_read;
23508|  2.76k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.76k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 74, False: 2.69k]
  |  |  ------------------
  ------------------
23509|     74|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     74|            ++chars_read;
23512|     74|            static_cast<void>(report_eof(context));
23513|     74|            return false;
23514|     74|        }
23515|  2.69k|        return true;
23516|  2.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIjEEmPT_m:
10326|  2.76k|    {
10327|  2.76k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  2.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIjEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  2.76k|    {
10407|  2.76k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  13.5k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 10.8k, False: 2.69k]
  ------------------
10409|  10.8k|        {
10410|  10.8k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  10.8k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 10.8k, False: 74]
  |  |  ------------------
  ------------------
10411|  10.8k|            {
10412|  10.8k|                ptr[read_index] = static_cast<char>(*current);
10413|  10.8k|                std::advance(current, 1);
10414|  10.8k|            }
10415|     74|            else
10416|     74|            {
10417|     74|                return read_index;
10418|     74|            }
10419|  10.8k|        }
10420|  2.69k|        return count * sizeof(T);
10421|  2.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIjEEvRT_:
23555|  2.69k|    {
23556|  2.69k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  2.69k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.07k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.38k, False: 2.69k]
  ------------------
23572|  5.38k|            {
23573|  5.38k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.38k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.69k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberImLb0EEEbRT_:
23596|    862|    {
23597|       |        // read in the original format
23598|       |
23599|    862|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    862|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 862]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    862|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 839, False: 23]
  |  Branch (23603:34): [Folded, False: 839]
  |  Branch (23603:57): [True: 0, False: 839]
  ------------------
23604|    839|        {
23605|    839|            byte_swap(result);
23606|    839|        }
23607|    862|        return true;
23608|    862|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_stringIjEEbT_RSC_:
23767|  44.0k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  44.0k|        return get_bytes(len, "string", result);
23778|  44.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  44.0k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  44.0k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 44.0k]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  44.0k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 44.0k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  44.0k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  60.7k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 17.0k, False: 43.6k]
  ------------------
23906|  17.0k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  17.0k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 16.9k, False: 53]
  ------------------
23910|  17.0k|                                       ? static_cast<std::size_t>(len)
23911|  17.0k|                                       : chunk_size;
23912|  17.0k|            const std::size_t old_size = result.size();
23913|  17.0k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  17.0k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  17.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 17.0k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  17.0k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  17.0k|            chars_read += bytes_read;
23921|  17.0k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  17.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 342, False: 16.6k]
  |  |  ------------------
  ------------------
23922|    342|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    342|                result.resize(old_size + bytes_read);
23927|    342|                ++chars_read;
23928|    342|                current = char_traits<char_type>::eof();
23929|    342|                return unexpect_eof(context);
23930|    342|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  16.6k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  16.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 16.6k, False: 0]
  ------------------
23933|  16.6k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  16.6k|        }
23935|  43.6k|        return true;
23936|  44.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIjSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  44.0k|    {
23965|  44.0k|        return false;
23966|  44.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.85k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.85k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 1.85k]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  1.85k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.85k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.85k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  2.57k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 768, False: 1.81k]
  ------------------
23906|    768|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    768|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 768, False: 0]
  ------------------
23910|    768|                                       ? static_cast<std::size_t>(len)
23911|    768|                                       : chunk_size;
23912|    768|            const std::size_t old_size = result.size();
23913|    768|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    768|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    768|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 768, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    768|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    768|            chars_read += bytes_read;
23921|    768|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    768|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 40, False: 728]
  |  |  ------------------
  ------------------
23922|     40|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     40|                result.resize(old_size + bytes_read);
23927|     40|                ++chars_read;
23928|     40|                current = char_traits<char_type>::eof();
23929|     40|                return unexpect_eof(context);
23930|     40|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    728|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    728|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 728, False: 0]
  ------------------
23933|    728|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    728|        }
23935|  1.81k|        return true;
23936|  1.85k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIhSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.85k|    {
23965|  1.85k|        return false;
23966|  1.85k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|    899|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    899|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 899]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|    899|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 899]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    899|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.28k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 457, False: 832]
  ------------------
23906|    457|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    457|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 439, False: 18]
  ------------------
23910|    457|                                       ? static_cast<std::size_t>(len)
23911|    457|                                       : chunk_size;
23912|    457|            const std::size_t old_size = result.size();
23913|    457|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    457|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    457|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 457, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    457|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    457|            chars_read += bytes_read;
23921|    457|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    457|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 390]
  |  |  ------------------
  ------------------
23922|     67|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     67|                result.resize(old_size + bytes_read);
23927|     67|                ++chars_read;
23928|     67|                current = char_traits<char_type>::eof();
23929|     67|                return unexpect_eof(context);
23930|     67|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    390|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    390|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 390, False: 0]
  ------------------
23933|    390|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    390|        }
23935|    832|        return true;
23936|    899|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockItSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    899|    {
23965|    899|        return false;
23966|    899|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE20unsupported_key_typeEPKc:
20159|     40|    {
20160|     40|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     40|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE13emit_unsignedIhEEbT_:
23656|    947|    {
23657|    947|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    947|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 947, False: 0]
  |  |  ------------------
  ------------------
23658|    947|        {
23659|    947|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    947|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    947|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE13emit_unsignedItEEbT_:
23656|    700|    {
23657|    700|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    700|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 700, False: 0]
  |  |  ------------------
  ------------------
23658|    700|        {
23659|    700|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    700|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    700|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE13emit_unsignedIjEEbT_:
23656|    410|    {
23657|    410|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    410|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 410, False: 0]
  |  |  ------------------
  ------------------
23658|    410|        {
23659|    410|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    410|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    410|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|    864|    {
23868|    864|        return get_bytes(len, "binary", result);
23869|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    864|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    864|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 864]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    864|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 864]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    864|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.01k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 259, False: 759]
  ------------------
23906|    259|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    259|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 193, False: 66]
  ------------------
23910|    259|                                       ? static_cast<std::size_t>(len)
23911|    259|                                       : chunk_size;
23912|    259|            const std::size_t old_size = result.size();
23913|    259|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    259|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    259|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 259, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    259|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    259|            chars_read += bytes_read;
23921|    259|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    259|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 105, False: 154]
  |  |  ------------------
  ------------------
23922|    105|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    105|                result.resize(old_size + bytes_read);
23927|    105|                ++chars_read;
23928|    105|                current = char_traits<char_type>::eof();
23929|    105|                return unexpect_eof(context);
23930|    105|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    154|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    154|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 154, False: 0]
  ------------------
23933|    154|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    154|        }
23935|    759|        return true;
23936|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    864|    {
23965|    864|        return false;
23966|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  12.1k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  12.1k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 12.1k]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  12.1k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 12.1k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  12.1k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  13.3k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.32k, False: 12.0k]
  ------------------
23906|  1.32k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.32k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 1.32k, False: 0]
  ------------------
23910|  1.32k|                                       ? static_cast<std::size_t>(len)
23911|  1.32k|                                       : chunk_size;
23912|  1.32k|            const std::size_t old_size = result.size();
23913|  1.32k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  1.32k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.32k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.32k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.32k|            chars_read += bytes_read;
23921|  1.32k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.32k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 32, False: 1.28k]
  |  |  ------------------
  ------------------
23922|     32|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     32|                result.resize(old_size + bytes_read);
23927|     32|                ++chars_read;
23928|     32|                current = char_traits<char_type>::eof();
23929|     32|                return unexpect_eof(context);
23930|     32|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  1.28k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  1.28k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 1.28k, False: 0]
  ------------------
23933|  1.28k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  1.28k|        }
23935|  12.0k|        return true;
23936|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIhNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  12.1k|    {
23965|  12.1k|        return false;
23966|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  1.27k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.27k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 1.27k]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  1.27k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.27k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.27k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.53k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 321, False: 1.21k]
  ------------------
23906|    321|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    321|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 299, False: 22]
  ------------------
23910|    321|                                       ? static_cast<std::size_t>(len)
23911|    321|                                       : chunk_size;
23912|    321|            const std::size_t old_size = result.size();
23913|    321|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    321|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    321|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 321, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    321|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    321|            chars_read += bytes_read;
23921|    321|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    321|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 59, False: 262]
  |  |  ------------------
  ------------------
23922|     59|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     59|                result.resize(old_size + bytes_read);
23927|     59|                ++chars_read;
23928|     59|                current = char_traits<char_type>::eof();
23929|     59|                return unexpect_eof(context);
23930|     59|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    262|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    262|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 262, False: 0]
  ------------------
23933|    262|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    262|        }
23935|  1.21k|        return true;
23936|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockItNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.27k|    {
23965|  1.27k|        return false;
23966|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE18get_container_sizeEmRmPKc:
20656|    927|    {
20657|    927|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  1.85k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  ------------------
  ------------------
20658|      0|        {
20659|      0|            return container_size_error(context);
20660|      0|        }
20661|    927|        result = conditional_static_cast<std::size_t>(len);
20662|    927|        return true;
20663|    927|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE11enter_arrayEmm:
19213|   123k|    {
19214|   123k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE12enter_objectEmm:
19219|  17.8k|    {
19220|  17.8k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  17.8k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15unexpected_byteEPKcSQ_:
24069|      2|    {
24070|      2|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|      2|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIfLb0EEEbRT_:
23596|  3.09k|    {
23597|       |        // read in the original format
23598|       |
23599|  3.09k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  3.09k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.09k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  3.09k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 3.07k, False: 23]
  |  Branch (23603:34): [Folded, False: 3.07k]
  |  Branch (23603:57): [True: 0, False: 3.07k]
  ------------------
23604|  3.07k|        {
23605|  3.07k|            byte_swap(result);
23606|  3.07k|        }
23607|  3.09k|        return true;
23608|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIfEEbRT_PKc:
23503|  3.09k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  3.09k|        auto new_chars_read = ia.get_elements(&dest);
23507|  3.09k|        chars_read += new_chars_read;
23508|  3.09k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  3.09k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 3.07k]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|  3.07k|        return true;
23516|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIfEEmPT_m:
10326|  3.09k|    {
10327|  3.09k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIfEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  3.09k|    {
10407|  3.09k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  15.4k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 12.3k, False: 3.07k]
  ------------------
10409|  12.3k|        {
10410|  12.3k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  12.3k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 12.3k, False: 23]
  |  |  ------------------
  ------------------
10411|  12.3k|            {
10412|  12.3k|                ptr[read_index] = static_cast<char>(*current);
10413|  12.3k|                std::advance(current, 1);
10414|  12.3k|            }
10415|     23|            else
10416|     23|            {
10417|     23|                return read_index;
10418|     23|            }
10419|  12.3k|        }
10420|  3.07k|        return count * sizeof(T);
10421|  3.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapERf:
23545|  3.07k|    {
23546|  3.07k|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|  3.07k|        std::uint32_t bits{};
23548|  3.07k|        std::memcpy(&bits, &number, sizeof(bits));
23549|  3.07k|        bits = byteswap(bits);
23550|  3.07k|        std::memcpy(&number, &bits, sizeof(bits));
23551|  3.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10emit_floatIfEEbT_:
23682|  3.07k|    {
23683|  3.07k|        const auto result = static_cast<number_float_t>(number);
23684|  3.07k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  5.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.07k]
  |  |  |  Branch (1697:94): [True: 2.84k, False: 231]
  |  |  |  Branch (1697:94): [True: 0, False: 2.84k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  3.07k|        return sax->number_float(result, no_source);
23689|  3.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIdLb0EEEbRT_:
23596|  1.32k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.32k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.32k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.32k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  1.32k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.30k, False: 25]
  |  Branch (23603:34): [Folded, False: 1.30k]
  |  Branch (23603:57): [True: 0, False: 1.30k]
  ------------------
23604|  1.30k|        {
23605|  1.30k|            byte_swap(result);
23606|  1.30k|        }
23607|  1.32k|        return true;
23608|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE22parse_msgpack_internalEv:
21745|  9.64k|    {
21746|       |        // the key currently being read; hoisted out of the loop so that its
21747|       |        // capacity is reused across elements and across nesting levels
21748|  9.64k|        string_t key;
21749|       |
21750|   421k|        while (true)
  ------------------
  |  Branch (21750:16): [True: 417k, Folded]
  ------------------
21751|   417k|        {
21752|   417k|            if (!container_stack.empty())
  ------------------
  |  Branch (21752:17): [True: 407k, False: 9.64k]
  ------------------
21753|   407k|            {
21754|       |                // copied out before anything can push onto the stack and
21755|       |                // invalidate a reference into it
21756|   407k|                const bool is_object = container_stack.back().is_object;
21757|       |
21758|   407k|                if (container_stack.back().remaining == 0)
  ------------------
  |  Branch (21758:21): [True: 108k, False: 298k]
  ------------------
21759|   108k|                {
21760|   108k|                    bool value_complete = false;
21761|   108k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
21762|      0|                    {
21763|      0|                        return false;
21764|      0|                    }
21765|   108k|                    if (value_complete)
  ------------------
  |  Branch (21765:25): [True: 3.20k, False: 105k]
  ------------------
21766|  3.20k|                    {
21767|  3.20k|                        return true;
21768|  3.20k|                    }
21769|   105k|                    continue;
21770|   108k|                }
21771|       |
21772|       |                // claim the element about to be read
21773|   298k|                --container_stack.back().remaining;
21774|       |
21775|   298k|                if (is_object)
  ------------------
  |  Branch (21775:21): [True: 32.1k, False: 266k]
  ------------------
21776|  32.1k|                {
21777|  32.1k|                    get();
21778|  32.1k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_msgpack_object_key>(key)))
  ------------------
  |  | 1697|  32.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 32.1k]
  |  |  ------------------
  ------------------
21779|      0|                    {
21780|      0|                        return false;
21781|      0|                    }
21782|  32.1k|                }
21783|   298k|            }
21784|       |
21785|   308k|            if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_value()))
  ------------------
  |  | 1697|   308k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 308k]
  |  |  ------------------
  ------------------
21786|      0|            {
21787|      0|                return false;
21788|      0|            }
21789|       |
21790|       |            // a value that opened a container left it on the stack; one that
21791|       |            // did not, and that was not inside a container, was the whole value
21792|   308k|            if (container_stack.empty())
  ------------------
  |  Branch (21792:17): [True: 2.32k, False: 306k]
  ------------------
21793|  2.32k|            {
21794|  2.32k|                return true;
21795|  2.32k|            }
21796|   308k|        }
21797|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15read_object_keyIXadL_ZNSO_22get_msgpack_object_keyERSC_EEEEbSQ_:
19268|  32.1k|    {
19269|  32.1k|        key.clear();
19270|  32.1k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 31.6k, False: 519]
  |  Branch (19270:40): [True: 31.6k, False: 0]
  ------------------
19271|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE22get_msgpack_object_keyERSC_:
21411|  32.1k|    {
21412|  32.1k|        const char* found = nullptr;
21413|  32.1k|        switch (current)
21414|  32.1k|        {
21415|      0|            case 0xC0:
  ------------------
  |  Branch (21415:13): [True: 0, False: 32.1k]
  ------------------
21416|      0|                found = "nil";
21417|      0|                break;
21418|      1|            case 0xC2:
  ------------------
  |  Branch (21418:13): [True: 1, False: 32.1k]
  ------------------
21419|      2|            case 0xC3:
  ------------------
  |  Branch (21419:13): [True: 1, False: 32.1k]
  ------------------
21420|      2|                found = "a boolean";
21421|      2|                break;
21422|      0|            case 0xCA:
  ------------------
  |  Branch (21422:13): [True: 0, False: 32.1k]
  ------------------
21423|      1|            case 0xCB:
  ------------------
  |  Branch (21423:13): [True: 1, False: 32.1k]
  ------------------
21424|      1|                found = "a float";
21425|      1|                break;
21426|      2|            case 0xC4:
  ------------------
  |  Branch (21426:13): [True: 2, False: 32.1k]
  ------------------
21427|      2|            case 0xC5:
  ------------------
  |  Branch (21427:13): [True: 0, False: 32.1k]
  ------------------
21428|      3|            case 0xC6:
  ------------------
  |  Branch (21428:13): [True: 1, False: 32.1k]
  ------------------
21429|      3|                found = "a bin";
21430|      3|                break;
21431|      0|            case 0xC7:
  ------------------
  |  Branch (21431:13): [True: 0, False: 32.1k]
  ------------------
21432|      0|            case 0xC8:
  ------------------
  |  Branch (21432:13): [True: 0, False: 32.1k]
  ------------------
21433|      0|            case 0xC9:
  ------------------
  |  Branch (21433:13): [True: 0, False: 32.1k]
  ------------------
21434|      0|            case 0xD4:
  ------------------
  |  Branch (21434:13): [True: 0, False: 32.1k]
  ------------------
21435|      0|            case 0xD5:
  ------------------
  |  Branch (21435:13): [True: 0, False: 32.1k]
  ------------------
21436|      0|            case 0xD6:
  ------------------
  |  Branch (21436:13): [True: 0, False: 32.1k]
  ------------------
21437|      0|            case 0xD7:
  ------------------
  |  Branch (21437:13): [True: 0, False: 32.1k]
  ------------------
21438|      0|            case 0xD8:
  ------------------
  |  Branch (21438:13): [True: 0, False: 32.1k]
  ------------------
21439|      0|                found = "an ext";
21440|      0|                break;
21441|      0|            case 0xCC:
  ------------------
  |  Branch (21441:13): [True: 0, False: 32.1k]
  ------------------
21442|      0|            case 0xCD:
  ------------------
  |  Branch (21442:13): [True: 0, False: 32.1k]
  ------------------
21443|      0|            case 0xCE:
  ------------------
  |  Branch (21443:13): [True: 0, False: 32.1k]
  ------------------
21444|      1|            case 0xCF:
  ------------------
  |  Branch (21444:13): [True: 1, False: 32.1k]
  ------------------
21445|      1|            case 0xD0:
  ------------------
  |  Branch (21445:13): [True: 0, False: 32.1k]
  ------------------
21446|      2|            case 0xD1:
  ------------------
  |  Branch (21446:13): [True: 1, False: 32.1k]
  ------------------
21447|      2|            case 0xD2:
  ------------------
  |  Branch (21447:13): [True: 0, False: 32.1k]
  ------------------
21448|      2|            case 0xD3:
  ------------------
  |  Branch (21448:13): [True: 0, False: 32.1k]
  ------------------
21449|      2|                found = "an integer";
21450|      2|                break;
21451|      0|            case 0xDC:
  ------------------
  |  Branch (21451:13): [True: 0, False: 32.1k]
  ------------------
21452|      1|            case 0xDD:
  ------------------
  |  Branch (21452:13): [True: 1, False: 32.1k]
  ------------------
21453|      1|                found = "an array";
21454|      1|                break;
21455|      0|            case 0xDE:
  ------------------
  |  Branch (21455:13): [True: 0, False: 32.1k]
  ------------------
21456|      1|            case 0xDF:
  ------------------
  |  Branch (21456:13): [True: 1, False: 32.1k]
  ------------------
21457|      1|                found = "a map";
21458|      1|                break;
21459|  32.1k|            default:
  ------------------
  |  Branch (21459:13): [True: 32.1k, False: 10]
  ------------------
21460|       |                // fixint, fixmap, and fixarray; strings, EOF, and the unused
21461|       |                // byte 0xC1 are left to get_msgpack_string
21462|  32.1k|                if (current == char_traits<char_type>::eof())
  ------------------
  |  Branch (21462:21): [True: 436, False: 31.7k]
  ------------------
21463|    436|                {
21464|    436|                    return get_msgpack_string(result, "key");
21465|    436|                }
21466|  31.7k|                if (current <= 0x7F || current >= 0xE0)
  ------------------
  |  Branch (21466:21): [True: 13, False: 31.7k]
  |  Branch (21466:40): [True: 5, False: 31.7k]
  ------------------
21467|     18|                {
21468|     18|                    found = "an integer";
21469|     18|                }
21470|  31.7k|                else if (current <= 0x8F)
  ------------------
  |  Branch (21470:26): [True: 7, False: 31.7k]
  ------------------
21471|      7|                {
21472|      7|                    found = "a map";
21473|      7|                }
21474|  31.7k|                else if (current <= 0x9F)
  ------------------
  |  Branch (21474:26): [True: 5, False: 31.7k]
  ------------------
21475|      5|                {
21476|      5|                    found = "an array";
21477|      5|                }
21478|  31.7k|                else
21479|  31.7k|                {
21480|  31.7k|                    return get_msgpack_string(result, "key");
21481|  31.7k|                }
21482|     30|                break;
21483|  32.1k|        }
21484|       |
21485|     40|        return unsupported_key_type(found);
21486|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE18get_msgpack_stringERSC_PKc:
21331|  47.2k|    {
21332|  47.2k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  47.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 47.2k]
  |  |  ------------------
  ------------------
21333|      0|        {
21334|      0|            return false;
21335|      0|        }
21336|       |
21337|  47.2k|        switch (current)
21338|  47.2k|        {
21339|       |            // fixstr
21340|  26.6k|            case 0xA0:
  ------------------
  |  Branch (21340:13): [True: 26.6k, False: 20.6k]
  ------------------
21341|  37.0k|            case 0xA1:
  ------------------
  |  Branch (21341:13): [True: 10.4k, False: 36.8k]
  ------------------
21342|  38.5k|            case 0xA2:
  ------------------
  |  Branch (21342:13): [True: 1.49k, False: 45.7k]
  ------------------
21343|  38.8k|            case 0xA3:
  ------------------
  |  Branch (21343:13): [True: 340, False: 46.9k]
  ------------------
21344|  39.7k|            case 0xA4:
  ------------------
  |  Branch (21344:13): [True: 902, False: 46.3k]
  ------------------
21345|  39.9k|            case 0xA5:
  ------------------
  |  Branch (21345:13): [True: 171, False: 47.1k]
  ------------------
21346|  40.1k|            case 0xA6:
  ------------------
  |  Branch (21346:13): [True: 215, False: 47.0k]
  ------------------
21347|  40.3k|            case 0xA7:
  ------------------
  |  Branch (21347:13): [True: 193, False: 47.0k]
  ------------------
21348|  40.7k|            case 0xA8:
  ------------------
  |  Branch (21348:13): [True: 366, False: 46.9k]
  ------------------
21349|  40.9k|            case 0xA9:
  ------------------
  |  Branch (21349:13): [True: 218, False: 47.0k]
  ------------------
21350|  41.1k|            case 0xAA:
  ------------------
  |  Branch (21350:13): [True: 173, False: 47.1k]
  ------------------
21351|  41.2k|            case 0xAB:
  ------------------
  |  Branch (21351:13): [True: 173, False: 47.1k]
  ------------------
21352|  41.4k|            case 0xAC:
  ------------------
  |  Branch (21352:13): [True: 190, False: 47.0k]
  ------------------
21353|  41.6k|            case 0xAD:
  ------------------
  |  Branch (21353:13): [True: 147, False: 47.1k]
  ------------------
21354|  41.7k|            case 0xAE:
  ------------------
  |  Branch (21354:13): [True: 71, False: 47.2k]
  ------------------
21355|  41.7k|            case 0xAF:
  ------------------
  |  Branch (21355:13): [True: 89, False: 47.1k]
  ------------------
21356|  41.9k|            case 0xB0:
  ------------------
  |  Branch (21356:13): [True: 202, False: 47.0k]
  ------------------
21357|  42.1k|            case 0xB1:
  ------------------
  |  Branch (21357:13): [True: 135, False: 47.1k]
  ------------------
21358|  42.2k|            case 0xB2:
  ------------------
  |  Branch (21358:13): [True: 120, False: 47.1k]
  ------------------
21359|  42.3k|            case 0xB3:
  ------------------
  |  Branch (21359:13): [True: 81, False: 47.2k]
  ------------------
21360|  42.4k|            case 0xB4:
  ------------------
  |  Branch (21360:13): [True: 127, False: 47.1k]
  ------------------
21361|  42.5k|            case 0xB5:
  ------------------
  |  Branch (21361:13): [True: 106, False: 47.1k]
  ------------------
21362|  42.6k|            case 0xB6:
  ------------------
  |  Branch (21362:13): [True: 72, False: 47.2k]
  ------------------
21363|  42.8k|            case 0xB7:
  ------------------
  |  Branch (21363:13): [True: 226, False: 47.0k]
  ------------------
21364|  42.9k|            case 0xB8:
  ------------------
  |  Branch (21364:13): [True: 101, False: 47.1k]
  ------------------
21365|  43.0k|            case 0xB9:
  ------------------
  |  Branch (21365:13): [True: 106, False: 47.1k]
  ------------------
21366|  43.1k|            case 0xBA:
  ------------------
  |  Branch (21366:13): [True: 108, False: 47.1k]
  ------------------
21367|  43.2k|            case 0xBB:
  ------------------
  |  Branch (21367:13): [True: 66, False: 47.2k]
  ------------------
21368|  43.3k|            case 0xBC:
  ------------------
  |  Branch (21368:13): [True: 91, False: 47.1k]
  ------------------
21369|  43.4k|            case 0xBD:
  ------------------
  |  Branch (21369:13): [True: 104, False: 47.1k]
  ------------------
21370|  43.4k|            case 0xBE:
  ------------------
  |  Branch (21370:13): [True: 54, False: 47.2k]
  ------------------
21371|  43.5k|            case 0xBF:
  ------------------
  |  Branch (21371:13): [True: 68, False: 47.2k]
  ------------------
21372|  43.5k|            {
21373|  43.5k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (21373:24): [True: 43.2k, False: 262]
  |  Branch (21373:90): [True: 43.2k, False: 0]
  ------------------
21374|  43.4k|            }
21375|       |
21376|  1.86k|            case 0xD9: // str 8
  ------------------
  |  Branch (21376:13): [True: 1.86k, False: 45.4k]
  ------------------
21377|  1.86k|            {
21378|  1.86k|                return get_string_with_length<std::uint8_t>(result, context);
21379|  43.4k|            }
21380|       |
21381|    916|            case 0xDA: // str 16
  ------------------
  |  Branch (21381:13): [True: 916, False: 46.3k]
  ------------------
21382|    916|            {
21383|    916|                return get_string_with_length<std::uint16_t>(result, context);
21384|  43.4k|            }
21385|       |
21386|    501|            case 0xDB: // str 32
  ------------------
  |  Branch (21386:13): [True: 501, False: 46.7k]
  ------------------
21387|    501|            {
21388|    501|                return get_string_with_length<std::uint32_t>(result, context);
21389|  43.4k|            }
21390|       |
21391|      1|            default:
  ------------------
  |  Branch (21391:13): [True: 1, False: 47.2k]
  ------------------
21392|      1|            {
21393|      1|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0xA0-0xBF, 0xD9-0xDB)", "string", "");
21394|  43.4k|            }
21395|  47.2k|        }
21396|  47.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE22get_string_with_lengthIhEEbRSC_PKc:
23846|  1.86k|    {
23847|  1.86k|        NumberType len{};
23848|  1.86k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 1.85k, False: 19]
  |  Branch (23848:35): [True: 1.81k, False: 40]
  |  Branch (23848:62): [True: 1.81k, False: 0]
  ------------------
23849|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_stringIhEEbT_RSC_:
23767|  1.85k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  1.85k|        return get_bytes(len, "string", result);
23778|  1.85k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE22get_string_with_lengthItEEbRSC_PKc:
23846|    916|    {
23847|    916|        NumberType len{};
23848|    916|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 899, False: 17]
  |  Branch (23848:35): [True: 832, False: 67]
  |  Branch (23848:62): [True: 832, False: 0]
  ------------------
23849|    916|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_stringItEEbT_RSC_:
23767|    899|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|    899|        return get_bytes(len, "string", result);
23778|    899|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE22get_string_with_lengthIjEEbRSC_PKc:
23846|    501|    {
23847|    501|        NumberType len{};
23848|    501|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 482, False: 19]
  |  Branch (23848:35): [True: 402, False: 80]
  |  Branch (23848:62): [True: 402, False: 0]
  ------------------
23849|    501|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE19parse_msgpack_valueEv:
20950|   307k|    {
20951|   307k|        switch (get())
20952|   307k|        {
20953|       |            // EOF
20954|  2.57k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (20954:13): [True: 2.57k, False: 305k]
  ------------------
20955|  2.57k|                return unexpect_eof("value");
20956|       |
20957|       |            // positive fixint
20958|  9.48k|            case 0x00:
  ------------------
  |  Branch (20958:13): [True: 9.48k, False: 298k]
  ------------------
20959|  10.6k|            case 0x01:
  ------------------
  |  Branch (20959:13): [True: 1.19k, False: 306k]
  ------------------
20960|  11.2k|            case 0x02:
  ------------------
  |  Branch (20960:13): [True: 589, False: 307k]
  ------------------
20961|  11.7k|            case 0x03:
  ------------------
  |  Branch (20961:13): [True: 535, False: 307k]
  ------------------
20962|  12.3k|            case 0x04:
  ------------------
  |  Branch (20962:13): [True: 568, False: 307k]
  ------------------
20963|  12.9k|            case 0x05:
  ------------------
  |  Branch (20963:13): [True: 630, False: 307k]
  ------------------
20964|  13.5k|            case 0x06:
  ------------------
  |  Branch (20964:13): [True: 555, False: 307k]
  ------------------
20965|  14.1k|            case 0x07:
  ------------------
  |  Branch (20965:13): [True: 560, False: 307k]
  ------------------
20966|  14.9k|            case 0x08:
  ------------------
  |  Branch (20966:13): [True: 809, False: 307k]
  ------------------
20967|  15.3k|            case 0x09:
  ------------------
  |  Branch (20967:13): [True: 480, False: 307k]
  ------------------
20968|  15.9k|            case 0x0A:
  ------------------
  |  Branch (20968:13): [True: 521, False: 307k]
  ------------------
20969|  16.4k|            case 0x0B:
  ------------------
  |  Branch (20969:13): [True: 502, False: 307k]
  ------------------
20970|  16.8k|            case 0x0C:
  ------------------
  |  Branch (20970:13): [True: 419, False: 307k]
  ------------------
20971|  17.3k|            case 0x0D:
  ------------------
  |  Branch (20971:13): [True: 554, False: 307k]
  ------------------
20972|  17.9k|            case 0x0E:
  ------------------
  |  Branch (20972:13): [True: 579, False: 307k]
  ------------------
20973|  18.4k|            case 0x0F:
  ------------------
  |  Branch (20973:13): [True: 493, False: 307k]
  ------------------
20974|  18.9k|            case 0x10:
  ------------------
  |  Branch (20974:13): [True: 455, False: 307k]
  ------------------
20975|  19.3k|            case 0x11:
  ------------------
  |  Branch (20975:13): [True: 451, False: 307k]
  ------------------
20976|  19.9k|            case 0x12:
  ------------------
  |  Branch (20976:13): [True: 563, False: 307k]
  ------------------
20977|  20.4k|            case 0x13:
  ------------------
  |  Branch (20977:13): [True: 492, False: 307k]
  ------------------
20978|  20.8k|            case 0x14:
  ------------------
  |  Branch (20978:13): [True: 448, False: 307k]
  ------------------
20979|  21.3k|            case 0x15:
  ------------------
  |  Branch (20979:13): [True: 474, False: 307k]
  ------------------
20980|  21.8k|            case 0x16:
  ------------------
  |  Branch (20980:13): [True: 462, False: 307k]
  ------------------
20981|  22.4k|            case 0x17:
  ------------------
  |  Branch (20981:13): [True: 589, False: 307k]
  ------------------
20982|  23.4k|            case 0x18:
  ------------------
  |  Branch (20982:13): [True: 1.01k, False: 306k]
  ------------------
20983|  24.0k|            case 0x19:
  ------------------
  |  Branch (20983:13): [True: 602, False: 307k]
  ------------------
20984|  24.7k|            case 0x1A:
  ------------------
  |  Branch (20984:13): [True: 774, False: 307k]
  ------------------
20985|  25.3k|            case 0x1B:
  ------------------
  |  Branch (20985:13): [True: 566, False: 307k]
  ------------------
20986|  25.8k|            case 0x1C:
  ------------------
  |  Branch (20986:13): [True: 466, False: 307k]
  ------------------
20987|  26.2k|            case 0x1D:
  ------------------
  |  Branch (20987:13): [True: 455, False: 307k]
  ------------------
20988|  26.9k|            case 0x1E:
  ------------------
  |  Branch (20988:13): [True: 632, False: 307k]
  ------------------
20989|  27.5k|            case 0x1F:
  ------------------
  |  Branch (20989:13): [True: 676, False: 307k]
  ------------------
20990|  28.9k|            case 0x20:
  ------------------
  |  Branch (20990:13): [True: 1.38k, False: 306k]
  ------------------
20991|  29.6k|            case 0x21:
  ------------------
  |  Branch (20991:13): [True: 690, False: 307k]
  ------------------
20992|  30.3k|            case 0x22:
  ------------------
  |  Branch (20992:13): [True: 681, False: 307k]
  ------------------
20993|  30.8k|            case 0x23:
  ------------------
  |  Branch (20993:13): [True: 554, False: 307k]
  ------------------
20994|  31.5k|            case 0x24:
  ------------------
  |  Branch (20994:13): [True: 637, False: 307k]
  ------------------
20995|  32.2k|            case 0x25:
  ------------------
  |  Branch (20995:13): [True: 734, False: 307k]
  ------------------
20996|  32.9k|            case 0x26:
  ------------------
  |  Branch (20996:13): [True: 688, False: 307k]
  ------------------
20997|  33.5k|            case 0x27:
  ------------------
  |  Branch (20997:13): [True: 597, False: 307k]
  ------------------
20998|  34.2k|            case 0x28:
  ------------------
  |  Branch (20998:13): [True: 688, False: 307k]
  ------------------
20999|  34.7k|            case 0x29:
  ------------------
  |  Branch (20999:13): [True: 557, False: 307k]
  ------------------
21000|  35.3k|            case 0x2A:
  ------------------
  |  Branch (21000:13): [True: 543, False: 307k]
  ------------------
21001|  36.0k|            case 0x2B:
  ------------------
  |  Branch (21001:13): [True: 728, False: 307k]
  ------------------
21002|  36.7k|            case 0x2C:
  ------------------
  |  Branch (21002:13): [True: 720, False: 307k]
  ------------------
21003|  37.6k|            case 0x2D:
  ------------------
  |  Branch (21003:13): [True: 859, False: 306k]
  ------------------
21004|  38.2k|            case 0x2E:
  ------------------
  |  Branch (21004:13): [True: 586, False: 307k]
  ------------------
21005|  38.8k|            case 0x2F:
  ------------------
  |  Branch (21005:13): [True: 613, False: 307k]
  ------------------
21006|  39.5k|            case 0x30:
  ------------------
  |  Branch (21006:13): [True: 725, False: 307k]
  ------------------
21007|  40.1k|            case 0x31:
  ------------------
  |  Branch (21007:13): [True: 626, False: 307k]
  ------------------
21008|  40.7k|            case 0x32:
  ------------------
  |  Branch (21008:13): [True: 576, False: 307k]
  ------------------
21009|  41.3k|            case 0x33:
  ------------------
  |  Branch (21009:13): [True: 581, False: 307k]
  ------------------
21010|  41.8k|            case 0x34:
  ------------------
  |  Branch (21010:13): [True: 507, False: 307k]
  ------------------
21011|  42.4k|            case 0x35:
  ------------------
  |  Branch (21011:13): [True: 576, False: 307k]
  ------------------
21012|  43.0k|            case 0x36:
  ------------------
  |  Branch (21012:13): [True: 606, False: 307k]
  ------------------
21013|  43.5k|            case 0x37:
  ------------------
  |  Branch (21013:13): [True: 483, False: 307k]
  ------------------
21014|  44.1k|            case 0x38:
  ------------------
  |  Branch (21014:13): [True: 668, False: 307k]
  ------------------
21015|  44.6k|            case 0x39:
  ------------------
  |  Branch (21015:13): [True: 480, False: 307k]
  ------------------
21016|  45.4k|            case 0x3A:
  ------------------
  |  Branch (21016:13): [True: 775, False: 307k]
  ------------------
21017|  46.1k|            case 0x3B:
  ------------------
  |  Branch (21017:13): [True: 668, False: 307k]
  ------------------
21018|  46.6k|            case 0x3C:
  ------------------
  |  Branch (21018:13): [True: 580, False: 307k]
  ------------------
21019|  47.2k|            case 0x3D:
  ------------------
  |  Branch (21019:13): [True: 538, False: 307k]
  ------------------
21020|  48.0k|            case 0x3E:
  ------------------
  |  Branch (21020:13): [True: 815, False: 307k]
  ------------------
21021|  48.8k|            case 0x3F:
  ------------------
  |  Branch (21021:13): [True: 768, False: 307k]
  ------------------
21022|  49.3k|            case 0x40:
  ------------------
  |  Branch (21022:13): [True: 548, False: 307k]
  ------------------
21023|  50.1k|            case 0x41:
  ------------------
  |  Branch (21023:13): [True: 807, False: 307k]
  ------------------
21024|  50.7k|            case 0x42:
  ------------------
  |  Branch (21024:13): [True: 541, False: 307k]
  ------------------
21025|  51.2k|            case 0x43:
  ------------------
  |  Branch (21025:13): [True: 522, False: 307k]
  ------------------
21026|  51.7k|            case 0x44:
  ------------------
  |  Branch (21026:13): [True: 523, False: 307k]
  ------------------
21027|  52.2k|            case 0x45:
  ------------------
  |  Branch (21027:13): [True: 470, False: 307k]
  ------------------
21028|  52.7k|            case 0x46:
  ------------------
  |  Branch (21028:13): [True: 491, False: 307k]
  ------------------
21029|  53.2k|            case 0x47:
  ------------------
  |  Branch (21029:13): [True: 572, False: 307k]
  ------------------
21030|  53.8k|            case 0x48:
  ------------------
  |  Branch (21030:13): [True: 542, False: 307k]
  ------------------
21031|  54.2k|            case 0x49:
  ------------------
  |  Branch (21031:13): [True: 426, False: 307k]
  ------------------
21032|  54.7k|            case 0x4A:
  ------------------
  |  Branch (21032:13): [True: 459, False: 307k]
  ------------------
21033|  55.0k|            case 0x4B:
  ------------------
  |  Branch (21033:13): [True: 340, False: 307k]
  ------------------
21034|  55.5k|            case 0x4C:
  ------------------
  |  Branch (21034:13): [True: 528, False: 307k]
  ------------------
21035|  56.1k|            case 0x4D:
  ------------------
  |  Branch (21035:13): [True: 521, False: 307k]
  ------------------
21036|  56.5k|            case 0x4E:
  ------------------
  |  Branch (21036:13): [True: 468, False: 307k]
  ------------------
21037|  57.0k|            case 0x4F:
  ------------------
  |  Branch (21037:13): [True: 496, False: 307k]
  ------------------
21038|  57.6k|            case 0x50:
  ------------------
  |  Branch (21038:13): [True: 582, False: 307k]
  ------------------
21039|  58.1k|            case 0x51:
  ------------------
  |  Branch (21039:13): [True: 466, False: 307k]
  ------------------
21040|  58.5k|            case 0x52:
  ------------------
  |  Branch (21040:13): [True: 472, False: 307k]
  ------------------
21041|  59.0k|            case 0x53:
  ------------------
  |  Branch (21041:13): [True: 464, False: 307k]
  ------------------
21042|  59.5k|            case 0x54:
  ------------------
  |  Branch (21042:13): [True: 459, False: 307k]
  ------------------
21043|  59.9k|            case 0x55:
  ------------------
  |  Branch (21043:13): [True: 444, False: 307k]
  ------------------
21044|  60.4k|            case 0x56:
  ------------------
  |  Branch (21044:13): [True: 469, False: 307k]
  ------------------
21045|  60.8k|            case 0x57:
  ------------------
  |  Branch (21045:13): [True: 465, False: 307k]
  ------------------
21046|  61.3k|            case 0x58:
  ------------------
  |  Branch (21046:13): [True: 451, False: 307k]
  ------------------
21047|  61.8k|            case 0x59:
  ------------------
  |  Branch (21047:13): [True: 488, False: 307k]
  ------------------
21048|  62.3k|            case 0x5A:
  ------------------
  |  Branch (21048:13): [True: 530, False: 307k]
  ------------------
21049|  62.8k|            case 0x5B:
  ------------------
  |  Branch (21049:13): [True: 535, False: 307k]
  ------------------
21050|  63.4k|            case 0x5C:
  ------------------
  |  Branch (21050:13): [True: 570, False: 307k]
  ------------------
21051|  64.0k|            case 0x5D:
  ------------------
  |  Branch (21051:13): [True: 568, False: 307k]
  ------------------
21052|  64.5k|            case 0x5E:
  ------------------
  |  Branch (21052:13): [True: 476, False: 307k]
  ------------------
21053|  65.0k|            case 0x5F:
  ------------------
  |  Branch (21053:13): [True: 565, False: 307k]
  ------------------
21054|  65.8k|            case 0x60:
  ------------------
  |  Branch (21054:13): [True: 745, False: 307k]
  ------------------
21055|  66.3k|            case 0x61:
  ------------------
  |  Branch (21055:13): [True: 535, False: 307k]
  ------------------
21056|  66.8k|            case 0x62:
  ------------------
  |  Branch (21056:13): [True: 469, False: 307k]
  ------------------
21057|  67.2k|            case 0x63:
  ------------------
  |  Branch (21057:13): [True: 445, False: 307k]
  ------------------
21058|  67.8k|            case 0x64:
  ------------------
  |  Branch (21058:13): [True: 555, False: 307k]
  ------------------
21059|  68.4k|            case 0x65:
  ------------------
  |  Branch (21059:13): [True: 630, False: 307k]
  ------------------
21060|  68.9k|            case 0x66:
  ------------------
  |  Branch (21060:13): [True: 480, False: 307k]
  ------------------
21061|  69.6k|            case 0x67:
  ------------------
  |  Branch (21061:13): [True: 702, False: 307k]
  ------------------
21062|  70.2k|            case 0x68:
  ------------------
  |  Branch (21062:13): [True: 668, False: 307k]
  ------------------
21063|  70.8k|            case 0x69:
  ------------------
  |  Branch (21063:13): [True: 530, False: 307k]
  ------------------
21064|  71.3k|            case 0x6A:
  ------------------
  |  Branch (21064:13): [True: 522, False: 307k]
  ------------------
21065|  72.1k|            case 0x6B:
  ------------------
  |  Branch (21065:13): [True: 778, False: 307k]
  ------------------
21066|  72.7k|            case 0x6C:
  ------------------
  |  Branch (21066:13): [True: 584, False: 307k]
  ------------------
21067|  73.2k|            case 0x6D:
  ------------------
  |  Branch (21067:13): [True: 503, False: 307k]
  ------------------
21068|  73.9k|            case 0x6E:
  ------------------
  |  Branch (21068:13): [True: 722, False: 307k]
  ------------------
21069|  74.6k|            case 0x6F:
  ------------------
  |  Branch (21069:13): [True: 679, False: 307k]
  ------------------
21070|  75.3k|            case 0x70:
  ------------------
  |  Branch (21070:13): [True: 694, False: 307k]
  ------------------
21071|  76.1k|            case 0x71:
  ------------------
  |  Branch (21071:13): [True: 806, False: 307k]
  ------------------
21072|  76.5k|            case 0x72:
  ------------------
  |  Branch (21072:13): [True: 459, False: 307k]
  ------------------
21073|  77.1k|            case 0x73:
  ------------------
  |  Branch (21073:13): [True: 577, False: 307k]
  ------------------
21074|  77.7k|            case 0x74:
  ------------------
  |  Branch (21074:13): [True: 576, False: 307k]
  ------------------
21075|  78.2k|            case 0x75:
  ------------------
  |  Branch (21075:13): [True: 515, False: 307k]
  ------------------
21076|  78.7k|            case 0x76:
  ------------------
  |  Branch (21076:13): [True: 525, False: 307k]
  ------------------
21077|  79.4k|            case 0x77:
  ------------------
  |  Branch (21077:13): [True: 637, False: 307k]
  ------------------
21078|  79.9k|            case 0x78:
  ------------------
  |  Branch (21078:13): [True: 562, False: 307k]
  ------------------
21079|  80.4k|            case 0x79:
  ------------------
  |  Branch (21079:13): [True: 485, False: 307k]
  ------------------
21080|  81.2k|            case 0x7A:
  ------------------
  |  Branch (21080:13): [True: 766, False: 307k]
  ------------------
21081|  81.6k|            case 0x7B:
  ------------------
  |  Branch (21081:13): [True: 407, False: 307k]
  ------------------
21082|  82.3k|            case 0x7C:
  ------------------
  |  Branch (21082:13): [True: 699, False: 307k]
  ------------------
21083|  82.8k|            case 0x7D:
  ------------------
  |  Branch (21083:13): [True: 529, False: 307k]
  ------------------
21084|  83.4k|            case 0x7E:
  ------------------
  |  Branch (21084:13): [True: 566, False: 307k]
  ------------------
21085|  84.1k|            case 0x7F:
  ------------------
  |  Branch (21085:13): [True: 718, False: 307k]
  ------------------
21086|  84.1k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
21087|       |
21088|       |            // fixmap
21089|  3.83k|            case 0x80:
  ------------------
  |  Branch (21089:13): [True: 3.83k, False: 303k]
  ------------------
21090|  9.56k|            case 0x81:
  ------------------
  |  Branch (21090:13): [True: 5.73k, False: 302k]
  ------------------
21091|  10.8k|            case 0x82:
  ------------------
  |  Branch (21091:13): [True: 1.23k, False: 306k]
  ------------------
21092|  11.5k|            case 0x83:
  ------------------
  |  Branch (21092:13): [True: 725, False: 307k]
  ------------------
21093|  12.0k|            case 0x84:
  ------------------
  |  Branch (21093:13): [True: 503, False: 307k]
  ------------------
21094|  12.5k|            case 0x85:
  ------------------
  |  Branch (21094:13): [True: 538, False: 307k]
  ------------------
21095|  12.8k|            case 0x86:
  ------------------
  |  Branch (21095:13): [True: 292, False: 307k]
  ------------------
21096|  13.2k|            case 0x87:
  ------------------
  |  Branch (21096:13): [True: 412, False: 307k]
  ------------------
21097|  13.6k|            case 0x88:
  ------------------
  |  Branch (21097:13): [True: 351, False: 307k]
  ------------------
21098|  13.9k|            case 0x89:
  ------------------
  |  Branch (21098:13): [True: 286, False: 307k]
  ------------------
21099|  14.2k|            case 0x8A:
  ------------------
  |  Branch (21099:13): [True: 350, False: 307k]
  ------------------
21100|  14.8k|            case 0x8B:
  ------------------
  |  Branch (21100:13): [True: 544, False: 307k]
  ------------------
21101|  15.4k|            case 0x8C:
  ------------------
  |  Branch (21101:13): [True: 685, False: 307k]
  ------------------
21102|  16.1k|            case 0x8D:
  ------------------
  |  Branch (21102:13): [True: 651, False: 307k]
  ------------------
21103|  16.5k|            case 0x8E:
  ------------------
  |  Branch (21103:13): [True: 361, False: 307k]
  ------------------
21104|  17.0k|            case 0x8F:
  ------------------
  |  Branch (21104:13): [True: 540, False: 307k]
  ------------------
21105|  17.0k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21106|       |
21107|       |            // fixarray
21108|  3.86k|            case 0x90:
  ------------------
  |  Branch (21108:13): [True: 3.86k, False: 303k]
  ------------------
21109|   100k|            case 0x91:
  ------------------
  |  Branch (21109:13): [True: 96.7k, False: 211k]
  ------------------
21110|   103k|            case 0x92:
  ------------------
  |  Branch (21110:13): [True: 2.51k, False: 305k]
  ------------------
21111|   104k|            case 0x93:
  ------------------
  |  Branch (21111:13): [True: 1.48k, False: 306k]
  ------------------
21112|   105k|            case 0x94:
  ------------------
  |  Branch (21112:13): [True: 1.04k, False: 306k]
  ------------------
21113|   107k|            case 0x95:
  ------------------
  |  Branch (21113:13): [True: 2.19k, False: 305k]
  ------------------
21114|   108k|            case 0x96:
  ------------------
  |  Branch (21114:13): [True: 1.02k, False: 306k]
  ------------------
21115|   109k|            case 0x97:
  ------------------
  |  Branch (21115:13): [True: 585, False: 307k]
  ------------------
21116|   110k|            case 0x98:
  ------------------
  |  Branch (21116:13): [True: 1.50k, False: 306k]
  ------------------
21117|   112k|            case 0x99:
  ------------------
  |  Branch (21117:13): [True: 1.45k, False: 306k]
  ------------------
21118|   113k|            case 0x9A:
  ------------------
  |  Branch (21118:13): [True: 1.53k, False: 306k]
  ------------------
21119|   115k|            case 0x9B:
  ------------------
  |  Branch (21119:13): [True: 1.15k, False: 306k]
  ------------------
21120|   116k|            case 0x9C:
  ------------------
  |  Branch (21120:13): [True: 908, False: 306k]
  ------------------
21121|   117k|            case 0x9D:
  ------------------
  |  Branch (21121:13): [True: 1.30k, False: 306k]
  ------------------
21122|   118k|            case 0x9E:
  ------------------
  |  Branch (21122:13): [True: 933, False: 306k]
  ------------------
21123|   118k|            case 0x9F:
  ------------------
  |  Branch (21123:13): [True: 708, False: 307k]
  ------------------
21124|   118k|                return enter_msgpack_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21125|       |
21126|       |            // fixstr
21127|  7.02k|            case 0xA0:
  ------------------
  |  Branch (21127:13): [True: 7.02k, False: 300k]
  ------------------
21128|  7.82k|            case 0xA1:
  ------------------
  |  Branch (21128:13): [True: 801, False: 307k]
  ------------------
21129|  8.45k|            case 0xA2:
  ------------------
  |  Branch (21129:13): [True: 625, False: 307k]
  ------------------
21130|  8.74k|            case 0xA3:
  ------------------
  |  Branch (21130:13): [True: 291, False: 307k]
  ------------------
21131|  9.48k|            case 0xA4:
  ------------------
  |  Branch (21131:13): [True: 739, False: 307k]
  ------------------
21132|  9.63k|            case 0xA5:
  ------------------
  |  Branch (21132:13): [True: 150, False: 307k]
  ------------------
21133|  9.82k|            case 0xA6:
  ------------------
  |  Branch (21133:13): [True: 191, False: 307k]
  ------------------
21134|  10.0k|            case 0xA7:
  ------------------
  |  Branch (21134:13): [True: 183, False: 307k]
  ------------------
21135|  10.3k|            case 0xA8:
  ------------------
  |  Branch (21135:13): [True: 307, False: 307k]
  ------------------
21136|  10.5k|            case 0xA9:
  ------------------
  |  Branch (21136:13): [True: 190, False: 307k]
  ------------------
21137|  10.6k|            case 0xAA:
  ------------------
  |  Branch (21137:13): [True: 152, False: 307k]
  ------------------
21138|  10.7k|            case 0xAB:
  ------------------
  |  Branch (21138:13): [True: 142, False: 307k]
  ------------------
21139|  10.9k|            case 0xAC:
  ------------------
  |  Branch (21139:13): [True: 169, False: 307k]
  ------------------
21140|  11.0k|            case 0xAD:
  ------------------
  |  Branch (21140:13): [True: 109, False: 307k]
  ------------------
21141|  11.1k|            case 0xAE:
  ------------------
  |  Branch (21141:13): [True: 68, False: 307k]
  ------------------
21142|  11.2k|            case 0xAF:
  ------------------
  |  Branch (21142:13): [True: 65, False: 307k]
  ------------------
21143|  11.3k|            case 0xB0:
  ------------------
  |  Branch (21143:13): [True: 168, False: 307k]
  ------------------
21144|  11.4k|            case 0xB1:
  ------------------
  |  Branch (21144:13): [True: 105, False: 307k]
  ------------------
21145|  11.5k|            case 0xB2:
  ------------------
  |  Branch (21145:13): [True: 111, False: 307k]
  ------------------
21146|  11.6k|            case 0xB3:
  ------------------
  |  Branch (21146:13): [True: 80, False: 307k]
  ------------------
21147|  11.7k|            case 0xB4:
  ------------------
  |  Branch (21147:13): [True: 126, False: 307k]
  ------------------
21148|  11.8k|            case 0xB5:
  ------------------
  |  Branch (21148:13): [True: 102, False: 307k]
  ------------------
21149|  11.9k|            case 0xB6:
  ------------------
  |  Branch (21149:13): [True: 69, False: 307k]
  ------------------
21150|  12.0k|            case 0xB7:
  ------------------
  |  Branch (21150:13): [True: 103, False: 307k]
  ------------------
21151|  12.1k|            case 0xB8:
  ------------------
  |  Branch (21151:13): [True: 82, False: 307k]
  ------------------
21152|  12.2k|            case 0xB9:
  ------------------
  |  Branch (21152:13): [True: 101, False: 307k]
  ------------------
21153|  12.3k|            case 0xBA:
  ------------------
  |  Branch (21153:13): [True: 70, False: 307k]
  ------------------
21154|  12.3k|            case 0xBB:
  ------------------
  |  Branch (21154:13): [True: 66, False: 307k]
  ------------------
21155|  12.4k|            case 0xBC:
  ------------------
  |  Branch (21155:13): [True: 81, False: 307k]
  ------------------
21156|  12.5k|            case 0xBD:
  ------------------
  |  Branch (21156:13): [True: 87, False: 307k]
  ------------------
21157|  12.6k|            case 0xBE:
  ------------------
  |  Branch (21157:13): [True: 52, False: 307k]
  ------------------
21158|  12.6k|            case 0xBF:
  ------------------
  |  Branch (21158:13): [True: 57, False: 307k]
  ------------------
21159|  13.8k|            case 0xD9: // str 8
  ------------------
  |  Branch (21159:13): [True: 1.19k, False: 306k]
  ------------------
21160|  14.6k|            case 0xDA: // str 16
  ------------------
  |  Branch (21160:13): [True: 798, False: 307k]
  ------------------
21161|  15.1k|            case 0xDB: // str 32
  ------------------
  |  Branch (21161:13): [True: 481, False: 307k]
  ------------------
21162|  15.1k|            {
21163|  15.1k|                string_t s;
21164|  15.1k|                return get_msgpack_string(s) && sax->string(s);
  ------------------
  |  Branch (21164:24): [True: 14.6k, False: 462]
  |  Branch (21164:49): [True: 14.6k, False: 0]
  ------------------
21165|  14.6k|            }
21166|       |
21167|  4.54k|            case 0xC0: // nil
  ------------------
  |  Branch (21167:13): [True: 4.54k, False: 303k]
  ------------------
21168|  4.54k|                return sax->null();
21169|       |
21170|  2.66k|            case 0xC2: // false
  ------------------
  |  Branch (21170:13): [True: 2.66k, False: 305k]
  ------------------
21171|  2.66k|                return sax->boolean(false);
21172|       |
21173|  2.60k|            case 0xC3: // true
  ------------------
  |  Branch (21173:13): [True: 2.60k, False: 305k]
  ------------------
21174|  2.60k|                return sax->boolean(true);
21175|       |
21176|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21176:13): [True: 11.7k, False: 296k]
  ------------------
21177|  12.7k|            case 0xC5: // bin 16
  ------------------
  |  Branch (21177:13): [True: 957, False: 306k]
  ------------------
21178|  13.3k|            case 0xC6: // bin 32
  ------------------
  |  Branch (21178:13): [True: 668, False: 307k]
  ------------------
21179|  13.7k|            case 0xC7: // ext 8
  ------------------
  |  Branch (21179:13): [True: 376, False: 307k]
  ------------------
21180|  14.1k|            case 0xC8: // ext 16
  ------------------
  |  Branch (21180:13): [True: 361, False: 307k]
  ------------------
21181|  14.3k|            case 0xC9: // ext 32
  ------------------
  |  Branch (21181:13): [True: 236, False: 307k]
  ------------------
21182|  16.2k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21182:13): [True: 1.87k, False: 305k]
  ------------------
21183|  16.6k|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21183:13): [True: 380, False: 307k]
  ------------------
21184|  16.9k|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21184:13): [True: 333, False: 307k]
  ------------------
21185|  17.1k|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21185:13): [True: 222, False: 307k]
  ------------------
21186|  17.2k|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21186:13): [True: 128, False: 307k]
  ------------------
21187|  17.2k|            {
21188|  17.2k|                binary_t b;
21189|  17.2k|                return get_msgpack_binary(b) && sax->binary(b);
  ------------------
  |  Branch (21189:24): [True: 16.9k, False: 371]
  |  Branch (21189:49): [True: 16.9k, False: 0]
  ------------------
21190|  17.1k|            }
21191|       |
21192|  3.09k|            case 0xCA: // float 32
  ------------------
  |  Branch (21192:13): [True: 3.09k, False: 304k]
  ------------------
21193|  3.09k|            {
21194|  3.09k|                float number{};
21195|  3.09k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21195:24): [True: 3.07k, False: 23]
  |  Branch (21195:46): [True: 3.07k, False: 0]
  ------------------
21196|  17.1k|            }
21197|       |
21198|  1.32k|            case 0xCB: // float 64
  ------------------
  |  Branch (21198:13): [True: 1.32k, False: 306k]
  ------------------
21199|  1.32k|            {
21200|  1.32k|                double number{};
21201|  1.32k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21201:24): [True: 1.30k, False: 25]
  |  Branch (21201:46): [True: 1.30k, False: 0]
  ------------------
21202|  17.1k|            }
21203|       |
21204|    955|            case 0xCC: // uint 8
  ------------------
  |  Branch (21204:13): [True: 955, False: 306k]
  ------------------
21205|    955|            {
21206|    955|                std::uint8_t number{};
21207|    955|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21207:24): [True: 947, False: 8]
  |  Branch (21207:46): [True: 947, False: 0]
  ------------------
21208|  17.1k|            }
21209|       |
21210|    703|            case 0xCD: // uint 16
  ------------------
  |  Branch (21210:13): [True: 703, False: 307k]
  ------------------
21211|    703|            {
21212|    703|                std::uint16_t number{};
21213|    703|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21213:24): [True: 700, False: 3]
  |  Branch (21213:46): [True: 700, False: 0]
  ------------------
21214|  17.1k|            }
21215|       |
21216|    415|            case 0xCE: // uint 32
  ------------------
  |  Branch (21216:13): [True: 415, False: 307k]
  ------------------
21217|    415|            {
21218|    415|                std::uint32_t number{};
21219|    415|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21219:24): [True: 410, False: 5]
  |  Branch (21219:46): [True: 410, False: 0]
  ------------------
21220|  17.1k|            }
21221|       |
21222|    862|            case 0xCF: // uint 64
  ------------------
  |  Branch (21222:13): [True: 862, False: 306k]
  ------------------
21223|    862|            {
21224|    862|                std::uint64_t number{};
21225|    862|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21225:24): [True: 839, False: 23]
  |  Branch (21225:46): [True: 839, False: 0]
  ------------------
21226|  17.1k|            }
21227|       |
21228|  1.34k|            case 0xD0: // int 8
  ------------------
  |  Branch (21228:13): [True: 1.34k, False: 306k]
  ------------------
21229|  1.34k|            {
21230|  1.34k|                std::int8_t number{};
21231|  1.34k|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21231:24): [True: 1.34k, False: 7]
  |  Branch (21231:46): [True: 1.34k, False: 0]
  ------------------
21232|  17.1k|            }
21233|       |
21234|    874|            case 0xD1: // int 16
  ------------------
  |  Branch (21234:13): [True: 874, False: 306k]
  ------------------
21235|    874|            {
21236|    874|                std::int16_t number{};
21237|    874|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21237:24): [True: 859, False: 15]
  |  Branch (21237:46): [True: 859, False: 0]
  ------------------
21238|  17.1k|            }
21239|       |
21240|    674|            case 0xD2: // int 32
  ------------------
  |  Branch (21240:13): [True: 674, False: 307k]
  ------------------
21241|    674|            {
21242|    674|                std::int32_t number{};
21243|    674|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21243:24): [True: 651, False: 23]
  |  Branch (21243:46): [True: 651, False: 0]
  ------------------
21244|  17.1k|            }
21245|       |
21246|    960|            case 0xD3: // int 64
  ------------------
  |  Branch (21246:13): [True: 960, False: 306k]
  ------------------
21247|    960|            {
21248|    960|                std::int64_t number{};
21249|    960|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21249:24): [True: 935, False: 25]
  |  Branch (21249:46): [True: 935, False: 0]
  ------------------
21250|  17.1k|            }
21251|       |
21252|  3.50k|            case 0xDC: // array 16
  ------------------
  |  Branch (21252:13): [True: 3.50k, False: 304k]
  ------------------
21253|  3.50k|            {
21254|  3.50k|                std::uint16_t len{};
21255|  3.50k|                return get_number(len) && enter_msgpack_array(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21255:24): [True: 3.48k, False: 13]
  |  Branch (21255:43): [True: 3.48k, False: 0]
  ------------------
21256|  17.1k|            }
21257|       |
21258|    698|            case 0xDD: // array 32
  ------------------
  |  Branch (21258:13): [True: 698, False: 307k]
  ------------------
21259|    698|            {
21260|    698|                std::uint32_t len{};
21261|    698|                std::size_t size{};
21262|    698|                return get_number(len) && get_container_size(len, size, "array") && enter_msgpack_array(size);
  ------------------
  |  Branch (21262:24): [True: 684, False: 14]
  |  Branch (21262:43): [True: 684, False: 0]
  |  Branch (21262:85): [True: 684, False: 0]
  ------------------
21263|  17.1k|            }
21264|       |
21265|    570|            case 0xDE: // map 16
  ------------------
  |  Branch (21265:13): [True: 570, False: 307k]
  ------------------
21266|    570|            {
21267|    570|                std::uint16_t len{};
21268|    570|                return get_number(len) && enter_object(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21268:24): [True: 569, False: 1]
  |  Branch (21268:43): [True: 569, False: 0]
  ------------------
21269|  17.1k|            }
21270|       |
21271|    246|            case 0xDF: // map 32
  ------------------
  |  Branch (21271:13): [True: 246, False: 307k]
  ------------------
21272|    246|            {
21273|    246|                std::uint32_t len{};
21274|    246|                std::size_t size{};
21275|    246|                return get_number(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (21275:24): [True: 243, False: 3]
  |  Branch (21275:43): [True: 243, False: 0]
  |  Branch (21275:83): [True: 243, False: 0]
  ------------------
21276|  17.1k|            }
21277|       |
21278|       |            // negative fixint
21279|    861|            case 0xE0:
  ------------------
  |  Branch (21279:13): [True: 861, False: 306k]
  ------------------
21280|  1.82k|            case 0xE1:
  ------------------
  |  Branch (21280:13): [True: 959, False: 306k]
  ------------------
21281|  2.30k|            case 0xE2:
  ------------------
  |  Branch (21281:13): [True: 484, False: 307k]
  ------------------
21282|  2.76k|            case 0xE3:
  ------------------
  |  Branch (21282:13): [True: 460, False: 307k]
  ------------------
21283|  3.35k|            case 0xE4:
  ------------------
  |  Branch (21283:13): [True: 588, False: 307k]
  ------------------
21284|  4.00k|            case 0xE5:
  ------------------
  |  Branch (21284:13): [True: 649, False: 307k]
  ------------------
21285|  4.55k|            case 0xE6:
  ------------------
  |  Branch (21285:13): [True: 556, False: 307k]
  ------------------
21286|  4.99k|            case 0xE7:
  ------------------
  |  Branch (21286:13): [True: 434, False: 307k]
  ------------------
21287|  5.50k|            case 0xE8:
  ------------------
  |  Branch (21287:13): [True: 516, False: 307k]
  ------------------
21288|  6.08k|            case 0xE9:
  ------------------
  |  Branch (21288:13): [True: 581, False: 307k]
  ------------------
21289|  6.72k|            case 0xEA:
  ------------------
  |  Branch (21289:13): [True: 640, False: 307k]
  ------------------
21290|  7.05k|            case 0xEB:
  ------------------
  |  Branch (21290:13): [True: 324, False: 307k]
  ------------------
21291|  8.08k|            case 0xEC:
  ------------------
  |  Branch (21291:13): [True: 1.02k, False: 306k]
  ------------------
21292|  8.63k|            case 0xED:
  ------------------
  |  Branch (21292:13): [True: 550, False: 307k]
  ------------------
21293|  9.45k|            case 0xEE:
  ------------------
  |  Branch (21293:13): [True: 820, False: 307k]
  ------------------
21294|  9.93k|            case 0xEF:
  ------------------
  |  Branch (21294:13): [True: 488, False: 307k]
  ------------------
21295|  10.6k|            case 0xF0:
  ------------------
  |  Branch (21295:13): [True: 665, False: 307k]
  ------------------
21296|  11.0k|            case 0xF1:
  ------------------
  |  Branch (21296:13): [True: 469, False: 307k]
  ------------------
21297|  11.8k|            case 0xF2:
  ------------------
  |  Branch (21297:13): [True: 753, False: 307k]
  ------------------
21298|  12.3k|            case 0xF3:
  ------------------
  |  Branch (21298:13): [True: 497, False: 307k]
  ------------------
21299|  12.8k|            case 0xF4:
  ------------------
  |  Branch (21299:13): [True: 541, False: 307k]
  ------------------
21300|  13.3k|            case 0xF5:
  ------------------
  |  Branch (21300:13): [True: 536, False: 307k]
  ------------------
21301|  13.9k|            case 0xF6:
  ------------------
  |  Branch (21301:13): [True: 578, False: 307k]
  ------------------
21302|  14.6k|            case 0xF7:
  ------------------
  |  Branch (21302:13): [True: 680, False: 307k]
  ------------------
21303|  15.4k|            case 0xF8:
  ------------------
  |  Branch (21303:13): [True: 798, False: 307k]
  ------------------
21304|  15.9k|            case 0xF9:
  ------------------
  |  Branch (21304:13): [True: 512, False: 307k]
  ------------------
21305|  16.7k|            case 0xFA:
  ------------------
  |  Branch (21305:13): [True: 825, False: 306k]
  ------------------
21306|  17.5k|            case 0xFB:
  ------------------
  |  Branch (21306:13): [True: 758, False: 307k]
  ------------------
21307|  18.2k|            case 0xFC:
  ------------------
  |  Branch (21307:13): [True: 706, False: 307k]
  ------------------
21308|  19.0k|            case 0xFD:
  ------------------
  |  Branch (21308:13): [True: 804, False: 307k]
  ------------------
21309|  19.9k|            case 0xFE:
  ------------------
  |  Branch (21309:13): [True: 846, False: 306k]
  ------------------
21310|  26.6k|            case 0xFF:
  ------------------
  |  Branch (21310:13): [True: 6.75k, False: 301k]
  ------------------
21311|  26.6k|                return sax->number_integer(static_cast<std::int8_t>(current));
21312|       |
21313|      2|            default: // anything else
  ------------------
  |  Branch (21313:13): [True: 2, False: 307k]
  ------------------
21314|      2|            {
21315|      2|                return unexpected_byte("invalid byte", "value");
21316|  19.9k|            }
21317|   307k|        }
21318|   307k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE19enter_msgpack_arrayEm:
21725|   123k|    {
21726|   123k|        return enter_array(len) && (len <= 1 || parse_msgpack_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (21726:16): [True: 123k, False: 0]
  |  Branch (21726:37): [True: 100k, False: 22.1k]
  |  Branch (21726:49): [True: 22.1k, False: 0]
  ------------------
21727|   123k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE24parse_msgpack_scalar_runENS4_17integral_constantIbLb0EEE:
21731|  22.1k|    {
21732|  22.1k|        return true;
21733|  22.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EE:
21499|  17.2k|    {
21500|       |        // helper function to set the subtype
21501|  17.2k|        auto assign_and_return_true = [&result](std::int8_t subtype)
21502|  17.2k|        {
21503|  17.2k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  17.2k|            return true;
21505|  17.2k|        };
21506|       |
21507|  17.2k|        switch (current)
21508|  17.2k|        {
21509|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21509:13): [True: 11.7k, False: 5.53k]
  ------------------
21510|  11.7k|            {
21511|  11.7k|                std::uint8_t len{};
21512|  11.7k|                return get_number(len) &&
  ------------------
  |  Branch (21512:24): [True: 11.7k, False: 11]
  ------------------
21513|  11.7k|                       get_binary(len, result);
  ------------------
  |  Branch (21513:24): [True: 11.7k, False: 29]
  ------------------
21514|      0|            }
21515|       |
21516|    957|            case 0xC5: // bin 16
  ------------------
  |  Branch (21516:13): [True: 957, False: 16.3k]
  ------------------
21517|    957|            {
21518|    957|                std::uint16_t len{};
21519|    957|                return get_number(len) &&
  ------------------
  |  Branch (21519:24): [True: 939, False: 18]
  ------------------
21520|    939|                       get_binary(len, result);
  ------------------
  |  Branch (21520:24): [True: 887, False: 52]
  ------------------
21521|      0|            }
21522|       |
21523|    668|            case 0xC6: // bin 32
  ------------------
  |  Branch (21523:13): [True: 668, False: 16.6k]
  ------------------
21524|    668|            {
21525|    668|                std::uint32_t len{};
21526|    668|                return get_number(len) &&
  ------------------
  |  Branch (21526:24): [True: 649, False: 19]
  ------------------
21527|    649|                       get_binary(len, result);
  ------------------
  |  Branch (21527:24): [True: 553, False: 96]
  ------------------
21528|      0|            }
21529|       |
21530|    376|            case 0xC7: // ext 8
  ------------------
  |  Branch (21530:13): [True: 376, False: 16.9k]
  ------------------
21531|    376|            {
21532|    376|                std::uint8_t len{};
21533|    376|                std::int8_t subtype{};
21534|    376|                return get_number(len) &&
  ------------------
  |  Branch (21534:24): [True: 372, False: 4]
  ------------------
21535|    372|                       get_number(subtype) &&
  ------------------
  |  Branch (21535:24): [True: 366, False: 6]
  ------------------
21536|    366|                       get_binary(len, result) &&
  ------------------
  |  Branch (21536:24): [True: 363, False: 3]
  ------------------
21537|    363|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21537:24): [True: 363, False: 0]
  ------------------
21538|      0|            }
21539|       |
21540|    361|            case 0xC8: // ext 16
  ------------------
  |  Branch (21540:13): [True: 361, False: 16.9k]
  ------------------
21541|    361|            {
21542|    361|                std::uint16_t len{};
21543|    361|                std::int8_t subtype{};
21544|    361|                return get_number(len) &&
  ------------------
  |  Branch (21544:24): [True: 346, False: 15]
  ------------------
21545|    346|                       get_number(subtype) &&
  ------------------
  |  Branch (21545:24): [True: 338, False: 8]
  ------------------
21546|    338|                       get_binary(len, result) &&
  ------------------
  |  Branch (21546:24): [True: 331, False: 7]
  ------------------
21547|    331|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21547:24): [True: 331, False: 0]
  ------------------
21548|      0|            }
21549|       |
21550|    236|            case 0xC9: // ext 32
  ------------------
  |  Branch (21550:13): [True: 236, False: 17.0k]
  ------------------
21551|    236|            {
21552|    236|                std::uint32_t len{};
21553|    236|                std::int8_t subtype{};
21554|    236|                return get_number(len) &&
  ------------------
  |  Branch (21554:24): [True: 222, False: 14]
  ------------------
21555|    222|                       get_number(subtype) &&
  ------------------
  |  Branch (21555:24): [True: 215, False: 7]
  ------------------
21556|    215|                       get_binary(len, result) &&
  ------------------
  |  Branch (21556:24): [True: 206, False: 9]
  ------------------
21557|    206|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21557:24): [True: 206, False: 0]
  ------------------
21558|      0|            }
21559|       |
21560|  1.87k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21560:13): [True: 1.87k, False: 15.4k]
  ------------------
21561|  1.87k|            {
21562|  1.87k|                std::int8_t subtype{};
21563|  1.87k|                return get_number(subtype) &&
  ------------------
  |  Branch (21563:24): [True: 1.87k, False: 7]
  ------------------
21564|  1.87k|                       get_binary(1, result) &&
  ------------------
  |  Branch (21564:24): [True: 1.86k, False: 8]
  ------------------
21565|  1.86k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21565:24): [True: 1.86k, False: 0]
  ------------------
21566|      0|            }
21567|       |
21568|    380|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21568:13): [True: 380, False: 16.9k]
  ------------------
21569|    380|            {
21570|    380|                std::int8_t subtype{};
21571|    380|                return get_number(subtype) &&
  ------------------
  |  Branch (21571:24): [True: 375, False: 5]
  ------------------
21572|    375|                       get_binary(2, result) &&
  ------------------
  |  Branch (21572:24): [True: 369, False: 6]
  ------------------
21573|    369|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21573:24): [True: 369, False: 0]
  ------------------
21574|      0|            }
21575|       |
21576|    333|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21576:13): [True: 333, False: 16.9k]
  ------------------
21577|    333|            {
21578|    333|                std::int8_t subtype{};
21579|    333|                return get_number(subtype) &&
  ------------------
  |  Branch (21579:24): [True: 327, False: 6]
  ------------------
21580|    327|                       get_binary(4, result) &&
  ------------------
  |  Branch (21580:24): [True: 320, False: 7]
  ------------------
21581|    320|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21581:24): [True: 320, False: 0]
  ------------------
21582|      0|            }
21583|       |
21584|    222|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21584:13): [True: 222, False: 17.0k]
  ------------------
21585|    222|            {
21586|    222|                std::int8_t subtype{};
21587|    222|                return get_number(subtype) &&
  ------------------
  |  Branch (21587:24): [True: 218, False: 4]
  ------------------
21588|    218|                       get_binary(8, result) &&
  ------------------
  |  Branch (21588:24): [True: 209, False: 9]
  ------------------
21589|    209|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21589:24): [True: 209, False: 0]
  ------------------
21590|      0|            }
21591|       |
21592|    128|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21592:13): [True: 128, False: 17.1k]
  ------------------
21593|    128|            {
21594|    128|                std::int8_t subtype{};
21595|    128|                return get_number(subtype) &&
  ------------------
  |  Branch (21595:24): [True: 122, False: 6]
  ------------------
21596|    122|                       get_binary(16, result) &&
  ------------------
  |  Branch (21596:24): [True: 107, False: 15]
  ------------------
21597|    107|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21597:24): [True: 107, False: 0]
  ------------------
21598|      0|            }
21599|       |
21600|      0|            default:           // LCOV_EXCL_LINE
  ------------------
  |  Branch (21600:13): [True: 0, False: 17.2k]
  ------------------
21601|      0|                return false;  // LCOV_EXCL_LINE
21602|  17.2k|        }
21603|  17.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_binaryIhEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  12.1k|    {
23868|  12.1k|        return get_bytes(len, "binary", result);
23869|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_binaryItEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  1.27k|    {
23868|  1.27k|        return get_bytes(len, "binary", result);
23869|  1.27k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EEENKUlaE_clEa:
21502|  3.76k|        {
21503|  3.76k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  3.76k|            return true;
21505|  3.76k|        };
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIaLb0EEEbRT_:
23596|  5.22k|    {
23597|       |        // read in the original format
23598|       |
23599|  5.22k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  5.22k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 5.22k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  5.22k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 5.17k, False: 56]
  |  Branch (23603:34): [Folded, False: 5.17k]
  |  Branch (23603:57): [True: 0, False: 5.17k]
  ------------------
23604|  5.17k|        {
23605|  5.17k|            byte_swap(result);
23606|  5.17k|        }
23607|  5.22k|        return true;
23608|  5.22k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIaEEbRT_PKc:
23503|  5.22k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  5.22k|        auto new_chars_read = ia.get_elements(&dest);
23507|  5.22k|        chars_read += new_chars_read;
23508|  5.22k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  5.22k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 56, False: 5.17k]
  |  |  ------------------
  ------------------
23509|     56|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     56|            ++chars_read;
23512|     56|            static_cast<void>(report_eof(context));
23513|     56|            return false;
23514|     56|        }
23515|  5.17k|        return true;
23516|  5.22k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIaEEmPT_m:
10326|  5.22k|    {
10327|  5.22k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  5.22k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIaEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  5.22k|    {
10407|  5.22k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  10.3k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 5.22k, False: 5.17k]
  ------------------
10409|  5.22k|        {
10410|  5.22k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  5.22k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 5.17k, False: 56]
  |  |  ------------------
  ------------------
10411|  5.17k|            {
10412|  5.17k|                ptr[read_index] = static_cast<char>(*current);
10413|  5.17k|                std::advance(current, 1);
10414|  5.17k|            }
10415|     56|            else
10416|     56|            {
10417|     56|                return read_index;
10418|     56|            }
10419|  5.22k|        }
10420|  5.17k|        return count * sizeof(T);
10421|  5.22k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIaEEvRT_:
23555|  5.17k|    {
23556|  5.17k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  5.17k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  5.17k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 5.17k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  5.17k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE11emit_signedIaEEbT_:
23628|  1.34k|    {
23629|  1.34k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.34k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.34k, False: 0]
  |  |  ------------------
  ------------------
23630|  1.34k|        {
23631|  1.34k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  1.34k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIsLb0EEEbRT_:
23596|    874|    {
23597|       |        // read in the original format
23598|       |
23599|    874|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    874|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 874]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    874|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 859, False: 15]
  |  Branch (23603:34): [Folded, False: 859]
  |  Branch (23603:57): [True: 0, False: 859]
  ------------------
23604|    859|        {
23605|    859|            byte_swap(result);
23606|    859|        }
23607|    874|        return true;
23608|    874|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE6get_toIsEEbRT_PKc:
23503|    874|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    874|        auto new_chars_read = ia.get_elements(&dest);
23507|    874|        chars_read += new_chars_read;
23508|    874|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    874|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 859]
  |  |  ------------------
  ------------------
23509|     15|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     15|            ++chars_read;
23512|     15|            static_cast<void>(report_eof(context));
23513|     15|            return false;
23514|     15|        }
23515|    859|        return true;
23516|    874|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIsEEmPT_m:
10326|    874|    {
10327|    874|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|    874|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIsEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|    874|    {
10407|    874|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  2.59k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 1.73k, False: 859]
  ------------------
10409|  1.73k|        {
10410|  1.73k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  1.73k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.72k, False: 15]
  |  |  ------------------
  ------------------
10411|  1.72k|            {
10412|  1.72k|                ptr[read_index] = static_cast<char>(*current);
10413|  1.72k|                std::advance(current, 1);
10414|  1.72k|            }
10415|     15|            else
10416|     15|            {
10417|     15|                return read_index;
10418|     15|            }
10419|  1.73k|        }
10420|    859|        return count * sizeof(T);
10421|    874|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE9byte_swapIsEEvRT_:
23555|    859|    {
23556|    859|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    859|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.71k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 859, False: 859]
  ------------------
23572|    859|            {
23573|    859|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|    859|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    859|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE11emit_signedIsEEbT_:
23628|    859|    {
23629|    859|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    859|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 859, False: 0]
  |  |  ------------------
  ------------------
23630|    859|        {
23631|    859|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    859|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIiLb0EEEbRT_:
23596|    674|    {
23597|       |        // read in the original format
23598|       |
23599|    674|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    674|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 674]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    674|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 651, False: 23]
  |  Branch (23603:34): [Folded, False: 651]
  |  Branch (23603:57): [True: 0, False: 651]
  ------------------
23604|    651|        {
23605|    651|            byte_swap(result);
23606|    651|        }
23607|    674|        return true;
23608|    674|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE10get_numberIlLb0EEEbRT_:
23596|    960|    {
23597|       |        // read in the original format
23598|       |
23599|    960|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    960|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 960]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    960|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 935, False: 25]
  |  Branch (23603:34): [Folded, False: 935]
  |  Branch (23603:57): [True: 0, False: 935]
  ------------------
23604|    935|        {
23605|    935|            byte_swap(result);
23606|    935|        }
23607|    960|        return true;
23608|    960|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE15last_byte_errorENS1_12exception_idERKSC_PKcST_:
24055|    325|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    325|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    325|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 2, False: 323]
  ------------------
24059|    325|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE3getEv:
23488|   345k|    {
23489|   345k|        ++chars_read;
23490|   345k|        return current = ia.get_character();
23491|   345k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E13get_characterEv:
10272|   345k|    {
10273|   345k|        if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|   345k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 337k, False: 8.26k]
  |  |  ------------------
  ------------------
10274|   337k|        {
10275|   337k|            auto result = char_traits<char_type>::to_int_type(*current);
10276|   337k|            std::advance(current, 1);
10277|   337k|            return result;
10278|   337k|        }
10279|       |
10280|  8.26k|        ++eof_reads;
10281|  8.26k|        return char_traits<char_type>::eof();
10282|   345k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE16position_bindingD2Ev:
19134|  9.64k|        {
19135|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.64k, False: 0]
  ------------------
19136|  9.64k|            {
19137|  9.64k|                parser->set_reserve_state(saved);
19138|  9.64k|            }
19139|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEED2Ev:
19002|  9.64k|    ~binary_reader() = default;
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterINS4_21__list_const_iteratorIhPvEESK_EEED2Ev:
17829|  9.64k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterINSt3__121__list_const_iteratorIhPvEES6_vEENS1_30iterator_input_adapter_factoryIT_T0_vE12adapter_typeES8_S9_:
10755|  9.64k|{
10756|  9.64k|    using factory_type = iterator_input_adapter_factory<IteratorType, SentinelType>;
10757|  9.64k|    return factory_type::create(first, last);
10758|  9.64k|}
_ZN8nlohmann16json_abi_v3_12_06detail30iterator_input_adapter_factoryINSt3__121__list_const_iteratorIhPvEES6_vE6createES6_S6_:
10617|  9.64k|    {
10618|  9.64k|        return adapter_type(std::move(first), std::move(last));
10619|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_EC2ES6_S6_:
10268|  9.64k|        : begin(first), current(std::move(first)), end(std::move(last))
10269|  9.64k|    {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12from_msgpackIRP8_IO_FILEEESE_OT_bbNS0_6detail15error_handler_tE:
46852|  9.64k|    {
46853|  9.64k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::msgpack, strict, allow_exceptions, error_handler);
46854|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16from_binary_implINS0_6detail18file_input_adapterEEESE_T_NSG_14input_format_tEbbNSG_15error_handler_tENSG_18cbor_tag_handler_tE:
46575|  9.64k|    {
46576|  9.64k|        basic_json result;
46577|  9.64k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.64k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.64k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.64k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.64k|        return result;
46584|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEEC2ERSG_bPNS1_5lexerISG_SH_Lb0EEE:
17821|  9.64k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.64k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEEC2EOSH_NS1_14input_format_tENS1_15error_handler_tE:
18992|  9.64k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.64k|    {
18994|  9.64k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterC2EOS2_:
 9548|  9.64k|        : m_file(rhs.m_file)
 9549|       |#if JSON_FILE_WINDOW
 9550|  9.64k|        , token_carry(std::move(rhs.token_carry))
 9551|  9.64k|        , token_segment(rhs.token_segment)
 9552|  9.64k|        , current_in_buffer(rhs.current_in_buffer)
 9553|  9.64k|        , tracking_token(rhs.tracking_token)
 9554|       |#endif
 9555|  9.64k|    {
 9556|       |        // the lock is owned by the thread, not the adapter: hand it over
 9557|  9.64k|        rhs.m_file = nullptr;
 9558|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9sax_parseEPSJ_bNS1_18cbor_tag_handler_tE:
19017|  9.64k|    {
19018|  9.64k|        sax = sax_;
19019|  9.64k|        container_stack.clear();
19020|  9.64k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.64k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.64k|        bool result = false;
19024|       |
19025|  9.64k|        switch (input_format)
19026|  9.64k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.64k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|      0|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 0, False: 9.64k]
  ------------------
19032|      0|                result = parse_cbor_internal(tag_handler);
19033|      0|                break;
19034|       |
19035|  9.64k|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 9.64k, False: 0]
  ------------------
19036|  9.64k|                result = parse_msgpack_internal();
19037|  9.64k|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.64k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.64k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.64k]
  ------------------
19045|      0|                result = parse_bon8_internal();
19046|      0|                break;
19047|       |
19048|      0|            case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (19048:13): [True: 0, False: 9.64k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.64k]
  ------------------
19050|      0|                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (19050:17): [Folded, False: 0]
  ------------------
19051|  9.64k|        }
19052|       |
19053|       |        // BON8: a string ends at the first byte that cannot continue it. If
19054|       |        // that byte follows the value, the reader has already taken it from
19055|       |        // the input and holds it in bon8_pushback. Without the end-of-input
19056|       |        // check below it would be dropped, and the next read would start
19057|       |        // behind it, so report the missing 0xFF instead.
19058|  5.53k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 5.53k, False: 0]
  |  Branch (19058:23): [True: 0, False: 5.53k]
  |  Branch (19058:34): [True: 0, False: 0]
  |  Branch (19058:74): [True: 0, False: 0]
  ------------------
19059|      0|        {
19060|      0|            get_bon8();
19061|      0|            return last_byte_error(exception_id::unexpected_end_of_input, "string at the end of the value is not terminated by 0xFF", "value", "");
19062|      0|        }
19063|       |
19064|       |        // strict mode: next byte must be EOF
19065|  5.53k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 5.53k, False: 0]
  |  Branch (19065:23): [True: 5.53k, False: 0]
  ------------------
19066|  5.53k|        {
19067|  5.53k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 5.53k]
  |  Branch (19067:59): [True: 0, False: 5.53k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  5.53k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 5.53k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  5.53k|            else
19077|  5.53k|            {
19078|  5.53k|                get();
19079|  5.53k|            }
19080|       |
19081|  5.53k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  5.53k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 282, False: 5.25k]
  |  |  ------------------
  ------------------
19082|    282|            {
19083|    282|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    282|            }
19085|  5.53k|        }
19086|       |
19087|  5.25k|        return result;
19088|  5.53k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12bound_parserEPSJ_NS4_17integral_constantIbLb1EEE:
19096|  9.64k|    {
19097|  9.64k|        return s;
19098|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16position_bindingC2EPNS1_24json_sax_dom_error_stateEPKm:
19119|  9.64k|            : parser(parser_), saved()
19120|  9.64k|        {
19121|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.64k, False: 0]
  ------------------
19122|  9.64k|            {
19123|  9.64k|                saved = parser->get_reserve_state();
19124|  9.64k|                parser->set_input_position(position);
19125|  9.64k|            }
19126|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIiEEbRT_PKc:
23503|    337|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    337|        auto new_chars_read = ia.get_elements(&dest);
23507|    337|        chars_read += new_chars_read;
23508|    337|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    337|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 314]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    314|        return true;
23516|    337|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIiEEmPT_m:
 9597|    337|    {
 9598|    337|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    337|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10report_eofEPKc:
23991|  4.06k|    {
23992|  4.06k|        return sax->parse_error(chars_read, "<end of file>",
23993|  4.06k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  4.06k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17exception_messageERKSC_SM_:
24102|  4.39k|    {
24103|  4.39k|        std::string error_msg = "syntax error while parsing ";
24104|  4.39k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.39k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.39k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIiEEvRT_:
23555|    651|    {
23556|    651|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    651|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.95k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 1.30k, False: 651]
  ------------------
23572|  1.30k|            {
23573|  1.30k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  1.30k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    651|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15enter_containerEbmi:
19201|   140k|    {
19202|   140k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 17.8k, False: 123k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   140k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   140k|        return true;
19209|   140k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12start_objectEm:
17878|  17.8k|    {
17879|  17.8k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
17880|       |
17881|       |#if JSON_DIAGNOSTIC_POSITIONS
17882|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17883|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17884|       |#endif
17885|       |
17886|  17.8k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  17.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   140k|    {
17962|   140k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.86k, False: 134k]
  ------------------
17963|  6.86k|        {
17964|  6.86k|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|  6.86k|            return &root;
17971|  6.86k|        }
17972|       |
17973|   134k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   134k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 121k, False: 12.4k]
  |  Branch (17973:9): [True: 12.4k, False: 0]
  |  Branch (17973:9): [True: 134k, False: 0]
  ------------------
17974|       |
17975|   134k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 121k, False: 12.4k]
  ------------------
17976|   121k|        {
17977|   121k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|   121k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   121k|        }
17985|       |
17986|  12.4k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 12.4k, False: 0]
  ------------------
17987|  12.4k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  12.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 12.4k, False: 0]
  ------------------
17988|  12.4k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  12.4k|        return object_element;
17995|  12.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20check_container_sizeINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_18file_input_adapterEEESH_EEbRT_mPKcPT0_:
16469|   140k|{
16470|   140k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   281k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 140k]
  |  |  |  Branch (1697:94): [True: 140k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 140k]
  |  |  ------------------
  ------------------
16471|      0|    {
16472|      0|        return container_too_large_error(sax, len, kind, ref);
16473|      0|    }
16474|   140k|    return true;
16475|   140k|}
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE11start_arrayEm:
17915|   123k|    {
17916|   123k|        ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
17917|       |
17918|       |#if JSON_DIAGNOSTIC_POSITIONS
17919|       |        // Ensure this is after the call to handle_value to ensure correct start position.
17920|       |        diagnostic_positions::set_container_start(*ref_stack.back(), m_lexer_ref);
17921|       |#endif
17922|       |
17923|   123k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   123k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 123k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   123k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 123k, False: 0]
  ------------------
17929|   123k|        {
17930|   123k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   123k|        }
17932|       |
17933|   123k|        return true;
17934|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15container_frameC2Embi:
19167|   140k|            : remaining(remaining_), type_marker(type_marker_), is_object(is_object_) {}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15leave_containerEv:
19233|   108k|    {
19234|   108k|        const bool is_object = container_stack.back().is_object;
19235|   108k|        container_stack.pop_back();
19236|   108k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 12.1k, False: 96.6k]
  ------------------
19237|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE10end_objectEv:
17901|  12.1k|    {
17902|  12.1k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 12.1k, False: 0]
  ------------------
17903|  12.1k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 12.1k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  12.1k|        ref_stack.back()->set_parents();
17910|  12.1k|        ref_stack.pop_back();
17911|  12.1k|        return true;
17912|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE9end_arrayEv:
17937|  96.6k|    {
17938|  96.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 96.6k, False: 0]
  ------------------
17939|  96.6k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  96.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 96.6k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  96.6k|        ref_stack.back()->set_parents();
17946|  96.6k|        ref_stack.pop_back();
17947|  96.6k|        return true;
17948|  96.6k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12unexpect_eofEPKc:
23974|  50.5k|    {
23975|  50.5k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  50.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.69k, False: 46.8k]
  |  |  ------------------
  ------------------
23976|  3.69k|        {
23977|  3.69k|            return report_eof(context);
23978|  3.69k|        }
23979|  46.8k|        return true;
23980|  50.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter14bulk_remainingEv:
 9616|   151k|    {
 9617|   151k|        if (!current_in_buffer)
  ------------------
  |  Branch (9617:13): [True: 0, False: 151k]
  ------------------
 9618|      0|        {
 9619|      0|            return 0;
 9620|      0|        }
 9621|   151k|        return static_cast<std::size_t>(buffer_end() - buffer_ptr());
 9622|   151k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter10buffer_endEv:
 9681|   449k|    {
 9682|   449k|        return m_file->_IO_read_end;
 9683|   449k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter10buffer_ptrEv:
 9677|   532k|    {
 9678|   532k|        return m_file->_IO_read_ptr;
 9679|   532k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter9bulk_dataEv:
 9610|  82.1k|    {
 9611|  82.1k|        return buffer_ptr();
 9612|  82.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter9bulk_skipEm:
 9626|  64.8k|    {
 9627|  64.8k|        JSON_ASSERT(n <= bulk_remaining());
  ------------------
  |  | 2653|  64.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9627:9): [True: 64.8k, False: 0]
  ------------------
 9628|  64.8k|        buffer_bump(n);
 9629|  64.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter11buffer_bumpEm:
 9685|   345k|    {
 9686|   345k|        m_file->_IO_read_ptr += n;
 9687|   345k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17check_string_utf8ERSC_PKc:
23811|  46.3k|    {
23812|  46.3k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 46.3k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  46.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE3keyERSC_:
17890|  31.6k|    {
17891|  31.6k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 31.6k, False: 0]
  ------------------
17892|  31.6k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  31.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 31.6k, False: 0]
  ------------------
17893|       |
17894|       |        // add null at the given key and store the reference for later; the
17895|       |        // key is moved, as the lexer starts the next token with reset()
17896|  31.6k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  31.6k|        return true;
17898|  31.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIdEEbRT_PKc:
23503|    645|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    645|        auto new_chars_read = ia.get_elements(&dest);
23507|    645|        chars_read += new_chars_read;
23508|    645|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    645|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 620]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|    620|        return true;
23516|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIdEEmPT_m:
 9597|    645|    {
 9598|    645|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapERd:
23535|  1.30k|    {
23536|  1.30k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.30k|        std::uint64_t bits{};
23538|  1.30k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.30k|        bits = byteswap(bits);
23540|  1.30k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10emit_floatIdEEbT_:
23682|  1.30k|    {
23683|  1.30k|        const auto result = static_cast<number_float_t>(number);
23684|  1.30k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.59k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.30k]
  |  |  |  Branch (1697:94): [True: 1.29k, False: 6]
  |  |  |  Branch (1697:94): [True: 0, False: 1.29k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.30k|        return sax->number_float(result, no_source);
23689|  1.30k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16get_token_stringEv:
24091|    650|    {
24092|    650|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    650|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12number_floatEdRKSC_:
17856|  4.37k|    {
17857|  4.37k|        handle_value(val);
17858|  4.37k|        return true;
17859|  4.37k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueIRdEEPSG_OT_:
17961|  4.37k|    {
17962|  4.37k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 596, False: 3.77k]
  ------------------
17963|    596|        {
17964|    596|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    596|            return &root;
17971|    596|        }
17972|       |
17973|  3.77k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.77k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.38k, False: 387]
  |  Branch (17973:9): [True: 387, False: 0]
  |  Branch (17973:9): [True: 3.77k, False: 0]
  ------------------
17974|       |
17975|  3.77k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.38k, False: 387]
  ------------------
17976|  3.38k|        {
17977|  3.38k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.38k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.38k|        }
17985|       |
17986|    387|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 387, False: 0]
  ------------------
17987|    387|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    387|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 387, False: 0]
  ------------------
17988|    387|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|    387|        return object_element;
17995|    387|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIcEEmPT_m:
 9597|    449|    {
 9598|    449|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    449|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE6stringERSC_:
17862|  14.6k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  14.6k|        handle_value(std::move(val));
17866|  14.6k|        return true;
17867|  14.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueISC_EEPSG_OT_:
17961|  14.6k|    {
17962|  14.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 647, False: 14.0k]
  ------------------
17963|    647|        {
17964|    647|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    647|            return &root;
17971|    647|        }
17972|       |
17973|  14.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  14.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 9.85k, False: 4.17k]
  |  Branch (17973:9): [True: 4.17k, False: 0]
  |  Branch (17973:9): [True: 14.0k, False: 0]
  ------------------
17974|       |
17975|  14.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 9.85k, False: 4.17k]
  ------------------
17976|  9.85k|        {
17977|  9.85k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  9.85k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  9.85k|        }
17985|       |
17986|  4.17k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.17k, False: 0]
  ------------------
17987|  4.17k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.17k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.17k, False: 0]
  ------------------
17988|  4.17k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  4.17k|        return object_element;
17995|  4.17k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIiEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  2.91k|    {
23868|  2.91k|        return get_bytes(len, "binary", result);
23869|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIiNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  2.91k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  2.91k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  2.91k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.91k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.91k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  5.77k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 2.91k, False: 2.86k]
  ------------------
23906|  2.91k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  2.91k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 2.91k, False: 0]
  ------------------
23910|  2.91k|                                       ? static_cast<std::size_t>(len)
23911|  2.91k|                                       : chunk_size;
23912|  2.91k|            const std::size_t old_size = result.size();
23913|  2.91k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  2.91k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  2.91k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 2.91k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  2.91k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  2.91k|            chars_read += bytes_read;
23921|  2.91k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  2.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 45, False: 2.86k]
  |  |  ------------------
  ------------------
23922|     45|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     45|                result.resize(old_size + bytes_read);
23927|     45|                ++chars_read;
23928|     45|                current = char_traits<char_type>::eof();
23929|     45|                return unexpect_eof(context);
23930|     45|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  2.86k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  2.86k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 2.86k, False: 0]
  ------------------
23933|  2.86k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  2.86k|        }
23935|  2.86k|        return true;
23936|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIiNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  2.91k|    {
23965|  2.91k|        return false;
23966|  2.91k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIhEEmPT_m:
 9597|  19.2k|    {
 9598|  19.2k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|  16.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  16.9k|        handle_value(std::move(val));
17874|  16.9k|        return true;
17875|  16.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueINS0_27byte_container_with_subtypeISF_EEEEPSG_OT_:
17961|  16.9k|    {
17962|  16.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 142, False: 16.7k]
  ------------------
17963|    142|        {
17964|    142|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    142|            return &root;
17971|    142|        }
17972|       |
17973|  16.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 1.38k]
  |  Branch (17973:9): [True: 1.38k, False: 0]
  |  Branch (17973:9): [True: 16.7k, False: 0]
  ------------------
17974|       |
17975|  16.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 1.38k]
  ------------------
17976|  15.3k|        {
17977|  15.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  15.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  15.3k|        }
17985|       |
17986|  1.38k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.38k, False: 0]
  ------------------
17987|  1.38k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.38k, False: 0]
  ------------------
17988|  1.38k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.38k|        return object_element;
17995|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIhLb0EEEbRT_:
23596|  14.4k|    {
23597|       |        // read in the original format
23598|       |
23599|  14.4k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  14.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 14.4k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  14.4k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 14.4k, False: 42]
  |  Branch (23603:34): [Folded, False: 14.4k]
  |  Branch (23603:57): [True: 0, False: 14.4k]
  ------------------
23604|  14.4k|        {
23605|  14.4k|            byte_swap(result);
23606|  14.4k|        }
23607|  14.4k|        return true;
23608|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIhEEbRT_PKc:
23503|  14.4k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  14.4k|        auto new_chars_read = ia.get_elements(&dest);
23507|  14.4k|        chars_read += new_chars_read;
23508|  14.4k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  14.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 42, False: 14.4k]
  |  |  ------------------
  ------------------
23509|     42|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     42|            ++chars_read;
23512|     42|            static_cast<void>(report_eof(context));
23513|     42|            return false;
23514|     42|        }
23515|  14.4k|        return true;
23516|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIhEEvRT_:
23555|  14.4k|    {
23556|  14.4k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  14.4k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  14.4k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 14.4k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  14.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE7booleanEb:
17838|  5.26k|    {
17839|  5.26k|        handle_value(val);
17840|  5.26k|        return true;
17841|  5.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueIRbEEPSG_OT_:
17961|  5.26k|    {
17962|  5.26k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 4, False: 5.26k]
  ------------------
17963|      4|        {
17964|      4|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      4|            return &root;
17971|      4|        }
17972|       |
17973|  5.26k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.26k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.94k, False: 1.32k]
  |  Branch (17973:9): [True: 1.32k, False: 0]
  |  Branch (17973:9): [True: 5.26k, False: 0]
  ------------------
17974|       |
17975|  5.26k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.94k, False: 1.32k]
  ------------------
17976|  3.94k|        {
17977|  3.94k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.94k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.94k|        }
17985|       |
17986|  1.32k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.32k, False: 0]
  ------------------
17987|  1.32k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.32k, False: 0]
  ------------------
17988|  1.32k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.32k|        return object_element;
17995|  1.32k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE4nullEv:
17832|  4.54k|    {
17833|  4.54k|        handle_value(nullptr);
17834|  4.54k|        return true;
17835|  4.54k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueIDnEEPSG_OT_:
17961|  4.54k|    {
17962|  4.54k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2, False: 4.54k]
  ------------------
17963|      2|        {
17964|      2|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|      2|            return &root;
17971|      2|        }
17972|       |
17973|  4.54k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.54k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.19k, False: 1.34k]
  |  Branch (17973:9): [True: 1.34k, False: 0]
  |  Branch (17973:9): [True: 4.54k, False: 0]
  ------------------
17974|       |
17975|  4.54k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.19k, False: 1.34k]
  ------------------
17976|  3.19k|        {
17977|  3.19k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  3.19k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.19k|        }
17985|       |
17986|  1.34k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.34k, False: 0]
  ------------------
17987|  1.34k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.34k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.34k, False: 0]
  ------------------
17988|  1.34k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  1.34k|        return object_element;
17995|  1.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIiEEbT_:
23628|    651|    {
23629|    651|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    651|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 651, False: 0]
  |  |  ------------------
  ------------------
23630|    651|        {
23631|    651|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    651|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE14number_integerEl:
17844|  30.4k|    {
17845|  30.4k|        handle_value(val);
17846|  30.4k|        return true;
17847|  30.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueIRlEEPSG_OT_:
17961|  30.4k|    {
17962|  30.4k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 415, False: 30.0k]
  ------------------
17963|    415|        {
17964|    415|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    415|            return &root;
17971|    415|        }
17972|       |
17973|  30.0k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  30.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.3k, False: 2.70k]
  |  Branch (17973:9): [True: 2.70k, False: 0]
  |  Branch (17973:9): [True: 30.0k, False: 0]
  ------------------
17974|       |
17975|  30.0k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.3k, False: 2.70k]
  ------------------
17976|  27.3k|        {
17977|  27.3k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  27.3k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.3k|        }
17985|       |
17986|  2.70k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.70k, False: 0]
  ------------------
17987|  2.70k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.70k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.70k, False: 0]
  ------------------
17988|  2.70k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  2.70k|        return object_element;
17995|  2.70k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE15number_unsignedEm:
17850|  87.0k|    {
17851|  87.0k|        handle_value(val);
17852|  87.0k|        return true;
17853|  87.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEE12handle_valueIRmEEPSG_OT_:
17961|  87.0k|    {
17962|  87.0k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 522, False: 86.5k]
  ------------------
17963|    522|        {
17964|    522|            root = BasicJsonType(std::forward<Value>(v));
17965|       |
17966|       |#if JSON_DIAGNOSTIC_POSITIONS
17967|       |            diagnostic_positions::set_from_lexer(root, m_lexer_ref);
17968|       |#endif
17969|       |
17970|    522|            return &root;
17971|    522|        }
17972|       |
17973|  86.5k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  86.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 78.9k, False: 7.59k]
  |  Branch (17973:9): [True: 7.59k, False: 0]
  |  Branch (17973:9): [True: 86.5k, False: 0]
  ------------------
17974|       |
17975|  86.5k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 78.9k, False: 7.59k]
  ------------------
17976|  78.9k|        {
17977|  78.9k|            ref_stack.back()->m_data.m_value.array->emplace_back(std::forward<Value>(v));
17978|       |
17979|       |#if JSON_DIAGNOSTIC_POSITIONS
17980|       |            diagnostic_positions::set_from_lexer(ref_stack.back()->m_data.m_value.array->back(), m_lexer_ref);
17981|       |#endif
17982|       |
17983|  78.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  78.9k|        }
17985|       |
17986|  7.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 7.59k, False: 0]
  ------------------
17987|  7.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  7.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 7.59k, False: 0]
  ------------------
17988|  7.59k|        *object_element = BasicJsonType(std::forward<Value>(v));
17989|       |
17990|       |#if JSON_DIAGNOSTIC_POSITIONS
17991|       |        diagnostic_positions::set_from_lexer(*object_element, m_lexer_ref);
17992|       |#endif
17993|       |
17994|  7.59k|        return object_element;
17995|  7.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIlEEbRT_PKc:
23503|    563|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    563|        auto new_chars_read = ia.get_elements(&dest);
23507|    563|        chars_read += new_chars_read;
23508|    563|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    563|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 25, False: 538]
  |  |  ------------------
  ------------------
23509|     25|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     25|            ++chars_read;
23512|     25|            static_cast<void>(report_eof(context));
23513|     25|            return false;
23514|     25|        }
23515|    538|        return true;
23516|    563|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIlEEmPT_m:
 9597|    563|    {
 9598|    563|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    563|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIlEEvRT_:
23555|    935|    {
23556|    935|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    935|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.67k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.74k, False: 935]
  ------------------
23572|  3.74k|            {
23573|  3.74k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.74k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    935|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIlEEbT_:
23628|    935|    {
23629|    935|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    935|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 935, False: 0]
  |  |  ------------------
  ------------------
23630|    935|        {
23631|    935|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    935|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toImEEbRT_PKc:
23503|    496|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    496|        auto new_chars_read = ia.get_elements(&dest);
23507|    496|        chars_read += new_chars_read;
23508|    496|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    496|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 473]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|    473|        return true;
23516|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsImEEmPT_m:
 9597|    496|    {
 9598|    496|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapImEEvRT_:
23555|    839|    {
23556|    839|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    839|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.19k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 3.35k, False: 839]
  ------------------
23572|  3.35k|            {
23573|  3.35k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  3.35k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedImEEbT_:
23656|    839|    {
23657|    839|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    839|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 839, False: 0]
  |  |  ------------------
  ------------------
23658|    839|        {
23659|    839|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    839|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    839|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE25leave_container_and_checkERb:
19250|   108k|    {
19251|   108k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   108k|        value_complete = container_stack.empty();
19256|   108k|        return true;
19257|   108k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberItLb0EEEbRT_:
23596|  6.58k|    {
23597|       |        // read in the original format
23598|       |
23599|  6.58k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  6.58k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 6.58k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  6.58k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 6.52k, False: 67]
  |  Branch (23603:34): [Folded, False: 6.52k]
  |  Branch (23603:57): [True: 0, False: 6.52k]
  ------------------
23604|  6.52k|        {
23605|  6.52k|            byte_swap(result);
23606|  6.52k|        }
23607|  6.58k|        return true;
23608|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toItEEbRT_PKc:
23503|  6.58k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  6.58k|        auto new_chars_read = ia.get_elements(&dest);
23507|  6.58k|        chars_read += new_chars_read;
23508|  6.58k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  6.58k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 6.52k]
  |  |  ------------------
  ------------------
23509|     67|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     67|            ++chars_read;
23512|     67|            static_cast<void>(report_eof(context));
23513|     67|            return false;
23514|     67|        }
23515|  6.52k|        return true;
23516|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsItEEmPT_m:
 9597|  6.58k|    {
 9598|  6.58k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  6.58k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapItEEvRT_:
23555|  6.94k|    {
23556|  6.94k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  6.94k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  13.8k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 6.94k, False: 6.94k]
  ------------------
23572|  6.94k|            {
23573|  6.94k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  6.94k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  6.94k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIjLb0EEEbRT_:
23596|  2.56k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.56k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.56k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.56k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.49k, False: 74]
  |  Branch (23603:34): [Folded, False: 2.49k]
  |  Branch (23603:57): [True: 0, False: 2.49k]
  ------------------
23604|  2.49k|        {
23605|  2.49k|            byte_swap(result);
23606|  2.49k|        }
23607|  2.56k|        return true;
23608|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIjEEbRT_PKc:
23503|  2.56k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.56k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.56k|        chars_read += new_chars_read;
23508|  2.56k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 74, False: 2.49k]
  |  |  ------------------
  ------------------
23509|     74|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     74|            ++chars_read;
23512|     74|            static_cast<void>(report_eof(context));
23513|     74|            return false;
23514|     74|        }
23515|  2.49k|        return true;
23516|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIjEEmPT_m:
 9597|  2.56k|    {
 9598|  2.56k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  2.56k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIjEEvRT_:
23555|  2.69k|    {
23556|  2.69k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  2.69k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.07k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.38k, False: 2.69k]
  ------------------
23572|  5.38k|            {
23573|  5.38k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.38k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.69k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberImLb0EEEbRT_:
23596|    496|    {
23597|       |        // read in the original format
23598|       |
23599|    496|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    496|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 496]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    496|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 473, False: 23]
  |  Branch (23603:34): [Folded, False: 473]
  |  Branch (23603:57): [True: 0, False: 473]
  ------------------
23604|    473|        {
23605|    473|            byte_swap(result);
23606|    473|        }
23607|    496|        return true;
23608|    496|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringIjEEbT_RSC_:
23767|  44.0k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  44.0k|        return get_bytes(len, "string", result);
23778|  44.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  44.0k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  44.0k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  44.0k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 16.6k, False: 27.3k]
  ------------------
23898|  16.6k|        {
23899|  16.6k|            return true;
23900|  16.6k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  27.3k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  27.3k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 342, False: 27.0k]
  ------------------
23906|    342|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    342|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 289, False: 53]
  ------------------
23910|    342|                                       ? static_cast<std::size_t>(len)
23911|    342|                                       : chunk_size;
23912|    342|            const std::size_t old_size = result.size();
23913|    342|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    342|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    342|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 342, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    342|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    342|            chars_read += bytes_read;
23921|    342|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    342|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 342, False: 0]
  |  |  ------------------
  ------------------
23922|    342|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    342|                result.resize(old_size + bytes_read);
23927|    342|                ++chars_read;
23928|    342|                current = char_traits<char_type>::eof();
23929|    342|                return unexpect_eof(context);
23930|    342|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  27.0k|        return true;
23936|  27.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIjEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  44.0k|    {
23943|  44.0k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 27.0k, False: 17.0k]
  ------------------
23944|  27.0k|        {
23945|  27.0k|            return false;
23946|  27.0k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|  17.0k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  17.0k|        const std::size_t remaining = ia.bulk_remaining();
23951|  17.0k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 342, False: 16.6k]
  ------------------
23952|    342|        {
23953|    342|            return false; // (the loop reports the premature end)
23954|    342|        }
23955|  16.6k|        const auto n = static_cast<std::size_t>(ulen);
23956|  16.6k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  16.6k|        ia.bulk_skip(n);
23958|  16.6k|        chars_read += n;
23959|  16.6k|        return true;
23960|  17.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.85k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.85k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  1.85k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 728, False: 1.12k]
  ------------------
23898|    728|        {
23899|    728|            return true;
23900|    728|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.12k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.12k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 40, False: 1.08k]
  ------------------
23906|     40|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     40|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 40, False: 0]
  ------------------
23910|     40|                                       ? static_cast<std::size_t>(len)
23911|     40|                                       : chunk_size;
23912|     40|            const std::size_t old_size = result.size();
23913|     40|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|     40|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     40|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 40, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     40|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     40|            chars_read += bytes_read;
23921|     40|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     40|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 40, False: 0]
  |  |  ------------------
  ------------------
23922|     40|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     40|                result.resize(old_size + bytes_read);
23927|     40|                ++chars_read;
23928|     40|                current = char_traits<char_type>::eof();
23929|     40|                return unexpect_eof(context);
23930|     40|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|  1.08k|        return true;
23936|  1.12k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIhEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  1.85k|    {
23943|  1.85k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 1.08k, False: 768]
  ------------------
23944|  1.08k|        {
23945|  1.08k|            return false;
23946|  1.08k|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|    768|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    768|        const std::size_t remaining = ia.bulk_remaining();
23951|    768|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 40, False: 728]
  ------------------
23952|     40|        {
23953|     40|            return false; // (the loop reports the premature end)
23954|     40|        }
23955|    728|        const auto n = static_cast<std::size_t>(ulen);
23956|    728|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    728|        ia.bulk_skip(n);
23958|    728|        chars_read += n;
23959|    728|        return true;
23960|    768|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|    899|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    899|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|    899|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 390, False: 509]
  ------------------
23898|    390|        {
23899|    390|            return true;
23900|    390|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    509|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    509|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 67, False: 442]
  ------------------
23906|     67|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     67|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 49, False: 18]
  ------------------
23910|     67|                                       ? static_cast<std::size_t>(len)
23911|     67|                                       : chunk_size;
23912|     67|            const std::size_t old_size = result.size();
23913|     67|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|     67|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     67|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 67, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     67|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     67|            chars_read += bytes_read;
23921|     67|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     67|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 67, False: 0]
  |  |  ------------------
  ------------------
23922|     67|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     67|                result.resize(old_size + bytes_read);
23927|     67|                ++chars_read;
23928|     67|                current = char_traits<char_type>::eof();
23929|     67|                return unexpect_eof(context);
23930|     67|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|      0|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 0, False: 0]
  ------------------
23933|      0|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|      0|        }
23935|    442|        return true;
23936|    509|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockItEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|    899|    {
23943|    899|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 442, False: 457]
  ------------------
23944|    442|        {
23945|    442|            return false;
23946|    442|        }
23947|       |        // (len > 0, so the unsigned type holds it; casting a signed char
23948|       |        // straight to std::size_t would trip bugprone-signed-char-misuse)
23949|    457|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    457|        const std::size_t remaining = ia.bulk_remaining();
23951|    457|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 67, False: 390]
  ------------------
23952|     67|        {
23953|     67|            return false; // (the loop reports the premature end)
23954|     67|        }
23955|    390|        const auto n = static_cast<std::size_t>(ulen);
23956|    390|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    390|        ia.bulk_skip(n);
23958|    390|        chars_read += n;
23959|    390|        return true;
23960|    457|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE20unsupported_key_typeEPKc:
20159|     40|    {
20160|     40|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     40|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedIhEEbT_:
23656|    947|    {
23657|    947|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    947|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 947, False: 0]
  |  |  ------------------
  ------------------
23658|    947|        {
23659|    947|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    947|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    947|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedItEEbT_:
23656|    700|    {
23657|    700|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    700|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 700, False: 0]
  |  |  ------------------
  ------------------
23658|    700|        {
23659|    700|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    700|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    700|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE13emit_unsignedIjEEbT_:
23656|    410|    {
23657|    410|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    410|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 410, False: 0]
  |  |  ------------------
  ------------------
23658|    410|        {
23659|    410|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    410|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    410|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|    864|    {
23868|    864|        return get_bytes(len, "binary", result);
23869|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    864|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|    864|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    864|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 864]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    864|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.01k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 259, False: 759]
  ------------------
23906|    259|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    259|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 193, False: 66]
  ------------------
23910|    259|                                       ? static_cast<std::size_t>(len)
23911|    259|                                       : chunk_size;
23912|    259|            const std::size_t old_size = result.size();
23913|    259|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    259|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    259|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 259, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    259|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    259|            chars_read += bytes_read;
23921|    259|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    259|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 105, False: 154]
  |  |  ------------------
  ------------------
23922|    105|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|    105|                result.resize(old_size + bytes_read);
23927|    105|                ++chars_read;
23928|    105|                current = char_traits<char_type>::eof();
23929|    105|                return unexpect_eof(context);
23930|    105|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    154|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    154|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 154, False: 0]
  ------------------
23933|    154|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    154|        }
23935|    759|        return true;
23936|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    864|    {
23965|    864|        return false;
23966|    864|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  12.1k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  12.1k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  12.1k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 12.1k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  12.1k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  13.3k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.32k, False: 12.0k]
  ------------------
23906|  1.32k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.32k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 1.32k, False: 0]
  ------------------
23910|  1.32k|                                       ? static_cast<std::size_t>(len)
23911|  1.32k|                                       : chunk_size;
23912|  1.32k|            const std::size_t old_size = result.size();
23913|  1.32k|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|  1.32k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.32k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.32k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.32k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.32k|            chars_read += bytes_read;
23921|  1.32k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.32k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 32, False: 1.28k]
  |  |  ------------------
  ------------------
23922|     32|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     32|                result.resize(old_size + bytes_read);
23927|     32|                ++chars_read;
23928|     32|                current = char_traits<char_type>::eof();
23929|     32|                return unexpect_eof(context);
23930|     32|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  1.28k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  1.28k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 1.28k, False: 0]
  ------------------
23933|  1.28k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  1.28k|        }
23935|  12.0k|        return true;
23936|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockIhNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  12.1k|    {
23965|  12.1k|        return false;
23966|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  1.27k|    {
23894|       |        // a string that is in the block of input as a whole is appended from
23895|       |        // it, without the zero-filling resize() below
23896|  1.27k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [True: 0, Folded]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  1.27k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.27k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.27k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.53k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 321, False: 1.21k]
  ------------------
23906|    321|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    321|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 299, False: 22]
  ------------------
23910|    321|                                       ? static_cast<std::size_t>(len)
23911|    321|                                       : chunk_size;
23912|    321|            const std::size_t old_size = result.size();
23913|    321|            result.resize(old_size + wanted);
23914|       |            // resize() is required to make size() exactly old_size + wanted;
23915|       |            // that is the room get_elements() is allowed to write into
23916|    321|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    321|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 321, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    321|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    321|            chars_read += bytes_read;
23921|    321|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    321|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 59, False: 262]
  |  |  ------------------
  ------------------
23922|     59|            {
23923|       |                // premature end of input: shrink to what was actually read and
23924|       |                // report the failure at the first missing byte (same position
23925|       |                // accounting as get_to() for partial number reads)
23926|     59|                result.resize(old_size + bytes_read);
23927|     59|                ++chars_read;
23928|     59|                current = char_traits<char_type>::eof();
23929|     59|                return unexpect_eof(context);
23930|     59|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    262|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    262|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 262, False: 0]
  ------------------
23933|    262|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    262|        }
23935|  1.21k|        return true;
23936|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE17append_from_blockItNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.27k|    {
23965|  1.27k|        return false;
23966|  1.27k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12bulk_advanceEmh:
20689|  47.0k|    {
20690|  47.0k|        ia.bulk_skip(size);
20691|  47.0k|        chars_read += size;
20692|  47.0k|        current = head;
20693|  47.0k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianItEET_PKh:
20670|    419|    {
20671|    419|        NumberType result{};
20672|    419|        std::memcpy(&result, data, sizeof(NumberType));
20673|    419|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 419, False: 0]
  ------------------
20674|    419|        {
20675|    419|            byte_swap(result);
20676|    419|        }
20677|    419|        return result;
20678|    419|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIjEET_PKh:
20670|    197|    {
20671|    197|        NumberType result{};
20672|    197|        std::memcpy(&result, data, sizeof(NumberType));
20673|    197|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 197, False: 0]
  ------------------
20674|    197|        {
20675|    197|            byte_swap(result);
20676|    197|        }
20677|    197|        return result;
20678|    197|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianImEET_PKh:
20670|    366|    {
20671|    366|        NumberType result{};
20672|    366|        std::memcpy(&result, data, sizeof(NumberType));
20673|    366|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 366, False: 0]
  ------------------
20674|    366|        {
20675|    366|            byte_swap(result);
20676|    366|        }
20677|    366|        return result;
20678|    366|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10emit_floatIfEEbT_:
23682|  3.07k|    {
23683|  3.07k|        const auto result = static_cast<number_float_t>(number);
23684|  3.07k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  5.91k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.07k]
  |  |  |  Branch (1697:94): [True: 2.84k, False: 231]
  |  |  |  Branch (1697:94): [True: 0, False: 2.84k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  3.07k|        return sax->number_float(result, no_source);
23689|  3.07k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIfEET_PKh:
20670|  1.71k|    {
20671|  1.71k|        NumberType result{};
20672|  1.71k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.71k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.71k, False: 0]
  ------------------
20674|  1.71k|        {
20675|  1.71k|            byte_swap(result);
20676|  1.71k|        }
20677|  1.71k|        return result;
20678|  1.71k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapERf:
23545|  3.07k|    {
23546|  3.07k|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|  3.07k|        std::uint32_t bits{};
23548|  3.07k|        std::memcpy(&bits, &number, sizeof(bits));
23549|  3.07k|        bits = byteswap(bits);
23550|  3.07k|        std::memcpy(&number, &bits, sizeof(bits));
23551|  3.07k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIdEET_PKh:
20670|    680|    {
20671|    680|        NumberType result{};
20672|    680|        std::memcpy(&result, data, sizeof(NumberType));
20673|    680|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 680, False: 0]
  ------------------
20674|    680|        {
20675|    680|            byte_swap(result);
20676|    680|        }
20677|    680|        return result;
20678|    680|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_container_sizeEmRmPKc:
20656|    927|    {
20657|    927|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  1.85k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  |  Branch (1697:94): [True: 0, False: 927]
  |  |  ------------------
  ------------------
20658|      0|        {
20659|      0|            return container_size_error(context);
20660|      0|        }
20661|    927|        result = conditional_static_cast<std::size_t>(len);
20662|    927|        return true;
20663|    927|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11enter_arrayEmi:
19213|   123k|    {
19214|   123k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE12enter_objectEmi:
19219|  17.8k|    {
19220|  17.8k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  17.8k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15unexpected_byteEPKcSM_:
24069|      2|    {
24070|      2|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|      2|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIfLb0EEEbRT_:
23596|  1.38k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.38k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.38k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  1.38k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.35k, False: 23]
  |  Branch (23603:34): [Folded, False: 1.35k]
  |  Branch (23603:57): [True: 0, False: 1.35k]
  ------------------
23604|  1.35k|        {
23605|  1.35k|            byte_swap(result);
23606|  1.35k|        }
23607|  1.38k|        return true;
23608|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIfEEbRT_PKc:
23503|  1.38k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.38k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.38k|        chars_read += new_chars_read;
23508|  1.38k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 23, False: 1.35k]
  |  |  ------------------
  ------------------
23509|     23|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     23|            ++chars_read;
23512|     23|            static_cast<void>(report_eof(context));
23513|     23|            return false;
23514|     23|        }
23515|  1.35k|        return true;
23516|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIfEEmPT_m:
 9597|  1.38k|    {
 9598|  1.38k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  1.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIdLb0EEEbRT_:
23596|    645|    {
23597|       |        // read in the original format
23598|       |
23599|    645|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    645|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 645]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    645|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 620, False: 25]
  |  Branch (23603:34): [Folded, False: 620]
  |  Branch (23603:57): [True: 0, False: 620]
  ------------------
23604|    620|        {
23605|    620|            byte_swap(result);
23606|    620|        }
23607|    645|        return true;
23608|    645|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22parse_msgpack_internalEv:
21745|  9.64k|    {
21746|       |        // the key currently being read; hoisted out of the loop so that its
21747|       |        // capacity is reused across elements and across nesting levels
21748|  9.64k|        string_t key;
21749|       |
21750|   374k|        while (true)
  ------------------
  |  Branch (21750:16): [True: 370k, Folded]
  ------------------
21751|   370k|        {
21752|   370k|            if (!container_stack.empty())
  ------------------
  |  Branch (21752:17): [True: 360k, False: 9.64k]
  ------------------
21753|   360k|            {
21754|       |                // copied out before anything can push onto the stack and
21755|       |                // invalidate a reference into it
21756|   360k|                const bool is_object = container_stack.back().is_object;
21757|       |
21758|   360k|                if (container_stack.back().remaining == 0)
  ------------------
  |  Branch (21758:21): [True: 108k, False: 251k]
  ------------------
21759|   108k|                {
21760|   108k|                    bool value_complete = false;
21761|   108k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   108k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 108k]
  |  |  ------------------
  ------------------
21762|      0|                    {
21763|      0|                        return false;
21764|      0|                    }
21765|   108k|                    if (value_complete)
  ------------------
  |  Branch (21765:25): [True: 3.20k, False: 105k]
  ------------------
21766|  3.20k|                    {
21767|  3.20k|                        return true;
21768|  3.20k|                    }
21769|   105k|                    continue;
21770|   108k|                }
21771|       |
21772|       |                // claim the element about to be read
21773|   251k|                --container_stack.back().remaining;
21774|       |
21775|   251k|                if (is_object)
  ------------------
  |  Branch (21775:21): [True: 32.1k, False: 219k]
  ------------------
21776|  32.1k|                {
21777|  32.1k|                    get();
21778|  32.1k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_msgpack_object_key>(key)))
  ------------------
  |  | 1697|  32.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 32.1k]
  |  |  ------------------
  ------------------
21779|      0|                    {
21780|      0|                        return false;
21781|      0|                    }
21782|  32.1k|                }
21783|   251k|            }
21784|       |
21785|   261k|            if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_value()))
  ------------------
  |  | 1697|   261k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 261k]
  |  |  ------------------
  ------------------
21786|      0|            {
21787|      0|                return false;
21788|      0|            }
21789|       |
21790|       |            // a value that opened a container left it on the stack; one that
21791|       |            // did not, and that was not inside a container, was the whole value
21792|   261k|            if (container_stack.empty())
  ------------------
  |  Branch (21792:17): [True: 2.32k, False: 258k]
  ------------------
21793|  2.32k|            {
21794|  2.32k|                return true;
21795|  2.32k|            }
21796|   261k|        }
21797|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15read_object_keyIXadL_ZNSK_22get_msgpack_object_keyERSC_EEEEbSM_:
19268|  32.1k|    {
19269|  32.1k|        key.clear();
19270|  32.1k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 31.6k, False: 519]
  |  Branch (19270:40): [True: 31.6k, False: 0]
  ------------------
19271|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_msgpack_object_keyERSC_:
21411|  32.1k|    {
21412|  32.1k|        const char* found = nullptr;
21413|  32.1k|        switch (current)
21414|  32.1k|        {
21415|      0|            case 0xC0:
  ------------------
  |  Branch (21415:13): [True: 0, False: 32.1k]
  ------------------
21416|      0|                found = "nil";
21417|      0|                break;
21418|      1|            case 0xC2:
  ------------------
  |  Branch (21418:13): [True: 1, False: 32.1k]
  ------------------
21419|      2|            case 0xC3:
  ------------------
  |  Branch (21419:13): [True: 1, False: 32.1k]
  ------------------
21420|      2|                found = "a boolean";
21421|      2|                break;
21422|      0|            case 0xCA:
  ------------------
  |  Branch (21422:13): [True: 0, False: 32.1k]
  ------------------
21423|      1|            case 0xCB:
  ------------------
  |  Branch (21423:13): [True: 1, False: 32.1k]
  ------------------
21424|      1|                found = "a float";
21425|      1|                break;
21426|      2|            case 0xC4:
  ------------------
  |  Branch (21426:13): [True: 2, False: 32.1k]
  ------------------
21427|      2|            case 0xC5:
  ------------------
  |  Branch (21427:13): [True: 0, False: 32.1k]
  ------------------
21428|      3|            case 0xC6:
  ------------------
  |  Branch (21428:13): [True: 1, False: 32.1k]
  ------------------
21429|      3|                found = "a bin";
21430|      3|                break;
21431|      0|            case 0xC7:
  ------------------
  |  Branch (21431:13): [True: 0, False: 32.1k]
  ------------------
21432|      0|            case 0xC8:
  ------------------
  |  Branch (21432:13): [True: 0, False: 32.1k]
  ------------------
21433|      0|            case 0xC9:
  ------------------
  |  Branch (21433:13): [True: 0, False: 32.1k]
  ------------------
21434|      0|            case 0xD4:
  ------------------
  |  Branch (21434:13): [True: 0, False: 32.1k]
  ------------------
21435|      0|            case 0xD5:
  ------------------
  |  Branch (21435:13): [True: 0, False: 32.1k]
  ------------------
21436|      0|            case 0xD6:
  ------------------
  |  Branch (21436:13): [True: 0, False: 32.1k]
  ------------------
21437|      0|            case 0xD7:
  ------------------
  |  Branch (21437:13): [True: 0, False: 32.1k]
  ------------------
21438|      0|            case 0xD8:
  ------------------
  |  Branch (21438:13): [True: 0, False: 32.1k]
  ------------------
21439|      0|                found = "an ext";
21440|      0|                break;
21441|      0|            case 0xCC:
  ------------------
  |  Branch (21441:13): [True: 0, False: 32.1k]
  ------------------
21442|      0|            case 0xCD:
  ------------------
  |  Branch (21442:13): [True: 0, False: 32.1k]
  ------------------
21443|      0|            case 0xCE:
  ------------------
  |  Branch (21443:13): [True: 0, False: 32.1k]
  ------------------
21444|      1|            case 0xCF:
  ------------------
  |  Branch (21444:13): [True: 1, False: 32.1k]
  ------------------
21445|      1|            case 0xD0:
  ------------------
  |  Branch (21445:13): [True: 0, False: 32.1k]
  ------------------
21446|      2|            case 0xD1:
  ------------------
  |  Branch (21446:13): [True: 1, False: 32.1k]
  ------------------
21447|      2|            case 0xD2:
  ------------------
  |  Branch (21447:13): [True: 0, False: 32.1k]
  ------------------
21448|      2|            case 0xD3:
  ------------------
  |  Branch (21448:13): [True: 0, False: 32.1k]
  ------------------
21449|      2|                found = "an integer";
21450|      2|                break;
21451|      0|            case 0xDC:
  ------------------
  |  Branch (21451:13): [True: 0, False: 32.1k]
  ------------------
21452|      1|            case 0xDD:
  ------------------
  |  Branch (21452:13): [True: 1, False: 32.1k]
  ------------------
21453|      1|                found = "an array";
21454|      1|                break;
21455|      0|            case 0xDE:
  ------------------
  |  Branch (21455:13): [True: 0, False: 32.1k]
  ------------------
21456|      1|            case 0xDF:
  ------------------
  |  Branch (21456:13): [True: 1, False: 32.1k]
  ------------------
21457|      1|                found = "a map";
21458|      1|                break;
21459|  32.1k|            default:
  ------------------
  |  Branch (21459:13): [True: 32.1k, False: 10]
  ------------------
21460|       |                // fixint, fixmap, and fixarray; strings, EOF, and the unused
21461|       |                // byte 0xC1 are left to get_msgpack_string
21462|  32.1k|                if (current == char_traits<char_type>::eof())
  ------------------
  |  Branch (21462:21): [True: 436, False: 31.7k]
  ------------------
21463|    436|                {
21464|    436|                    return get_msgpack_string(result, "key");
21465|    436|                }
21466|  31.7k|                if (current <= 0x7F || current >= 0xE0)
  ------------------
  |  Branch (21466:21): [True: 13, False: 31.7k]
  |  Branch (21466:40): [True: 5, False: 31.7k]
  ------------------
21467|     18|                {
21468|     18|                    found = "an integer";
21469|     18|                }
21470|  31.7k|                else if (current <= 0x8F)
  ------------------
  |  Branch (21470:26): [True: 7, False: 31.7k]
  ------------------
21471|      7|                {
21472|      7|                    found = "a map";
21473|      7|                }
21474|  31.7k|                else if (current <= 0x9F)
  ------------------
  |  Branch (21474:26): [True: 5, False: 31.7k]
  ------------------
21475|      5|                {
21476|      5|                    found = "an array";
21477|      5|                }
21478|  31.7k|                else
21479|  31.7k|                {
21480|  31.7k|                    return get_msgpack_string(result, "key");
21481|  31.7k|                }
21482|     30|                break;
21483|  32.1k|        }
21484|       |
21485|     40|        return unsupported_key_type(found);
21486|  32.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_stringERSC_PKc:
21331|  47.2k|    {
21332|  47.2k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  47.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 47.2k]
  |  |  ------------------
  ------------------
21333|      0|        {
21334|      0|            return false;
21335|      0|        }
21336|       |
21337|  47.2k|        switch (current)
21338|  47.2k|        {
21339|       |            // fixstr
21340|  26.6k|            case 0xA0:
  ------------------
  |  Branch (21340:13): [True: 26.6k, False: 20.6k]
  ------------------
21341|  37.0k|            case 0xA1:
  ------------------
  |  Branch (21341:13): [True: 10.4k, False: 36.8k]
  ------------------
21342|  38.5k|            case 0xA2:
  ------------------
  |  Branch (21342:13): [True: 1.49k, False: 45.7k]
  ------------------
21343|  38.8k|            case 0xA3:
  ------------------
  |  Branch (21343:13): [True: 340, False: 46.9k]
  ------------------
21344|  39.7k|            case 0xA4:
  ------------------
  |  Branch (21344:13): [True: 902, False: 46.3k]
  ------------------
21345|  39.9k|            case 0xA5:
  ------------------
  |  Branch (21345:13): [True: 171, False: 47.1k]
  ------------------
21346|  40.1k|            case 0xA6:
  ------------------
  |  Branch (21346:13): [True: 215, False: 47.0k]
  ------------------
21347|  40.3k|            case 0xA7:
  ------------------
  |  Branch (21347:13): [True: 193, False: 47.0k]
  ------------------
21348|  40.7k|            case 0xA8:
  ------------------
  |  Branch (21348:13): [True: 366, False: 46.9k]
  ------------------
21349|  40.9k|            case 0xA9:
  ------------------
  |  Branch (21349:13): [True: 218, False: 47.0k]
  ------------------
21350|  41.1k|            case 0xAA:
  ------------------
  |  Branch (21350:13): [True: 173, False: 47.1k]
  ------------------
21351|  41.2k|            case 0xAB:
  ------------------
  |  Branch (21351:13): [True: 173, False: 47.1k]
  ------------------
21352|  41.4k|            case 0xAC:
  ------------------
  |  Branch (21352:13): [True: 190, False: 47.0k]
  ------------------
21353|  41.6k|            case 0xAD:
  ------------------
  |  Branch (21353:13): [True: 147, False: 47.1k]
  ------------------
21354|  41.7k|            case 0xAE:
  ------------------
  |  Branch (21354:13): [True: 71, False: 47.2k]
  ------------------
21355|  41.7k|            case 0xAF:
  ------------------
  |  Branch (21355:13): [True: 89, False: 47.1k]
  ------------------
21356|  41.9k|            case 0xB0:
  ------------------
  |  Branch (21356:13): [True: 202, False: 47.0k]
  ------------------
21357|  42.1k|            case 0xB1:
  ------------------
  |  Branch (21357:13): [True: 135, False: 47.1k]
  ------------------
21358|  42.2k|            case 0xB2:
  ------------------
  |  Branch (21358:13): [True: 120, False: 47.1k]
  ------------------
21359|  42.3k|            case 0xB3:
  ------------------
  |  Branch (21359:13): [True: 81, False: 47.2k]
  ------------------
21360|  42.4k|            case 0xB4:
  ------------------
  |  Branch (21360:13): [True: 127, False: 47.1k]
  ------------------
21361|  42.5k|            case 0xB5:
  ------------------
  |  Branch (21361:13): [True: 106, False: 47.1k]
  ------------------
21362|  42.6k|            case 0xB6:
  ------------------
  |  Branch (21362:13): [True: 72, False: 47.2k]
  ------------------
21363|  42.8k|            case 0xB7:
  ------------------
  |  Branch (21363:13): [True: 226, False: 47.0k]
  ------------------
21364|  42.9k|            case 0xB8:
  ------------------
  |  Branch (21364:13): [True: 101, False: 47.1k]
  ------------------
21365|  43.0k|            case 0xB9:
  ------------------
  |  Branch (21365:13): [True: 106, False: 47.1k]
  ------------------
21366|  43.1k|            case 0xBA:
  ------------------
  |  Branch (21366:13): [True: 108, False: 47.1k]
  ------------------
21367|  43.2k|            case 0xBB:
  ------------------
  |  Branch (21367:13): [True: 66, False: 47.2k]
  ------------------
21368|  43.3k|            case 0xBC:
  ------------------
  |  Branch (21368:13): [True: 91, False: 47.1k]
  ------------------
21369|  43.4k|            case 0xBD:
  ------------------
  |  Branch (21369:13): [True: 104, False: 47.1k]
  ------------------
21370|  43.4k|            case 0xBE:
  ------------------
  |  Branch (21370:13): [True: 54, False: 47.2k]
  ------------------
21371|  43.5k|            case 0xBF:
  ------------------
  |  Branch (21371:13): [True: 68, False: 47.2k]
  ------------------
21372|  43.5k|            {
21373|  43.5k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (21373:24): [True: 43.2k, False: 262]
  |  Branch (21373:90): [True: 43.2k, False: 0]
  ------------------
21374|  43.4k|            }
21375|       |
21376|  1.86k|            case 0xD9: // str 8
  ------------------
  |  Branch (21376:13): [True: 1.86k, False: 45.4k]
  ------------------
21377|  1.86k|            {
21378|  1.86k|                return get_string_with_length<std::uint8_t>(result, context);
21379|  43.4k|            }
21380|       |
21381|    916|            case 0xDA: // str 16
  ------------------
  |  Branch (21381:13): [True: 916, False: 46.3k]
  ------------------
21382|    916|            {
21383|    916|                return get_string_with_length<std::uint16_t>(result, context);
21384|  43.4k|            }
21385|       |
21386|    501|            case 0xDB: // str 32
  ------------------
  |  Branch (21386:13): [True: 501, False: 46.7k]
  ------------------
21387|    501|            {
21388|    501|                return get_string_with_length<std::uint32_t>(result, context);
21389|  43.4k|            }
21390|       |
21391|      1|            default:
  ------------------
  |  Branch (21391:13): [True: 1, False: 47.2k]
  ------------------
21392|      1|            {
21393|      1|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0xA0-0xBF, 0xD9-0xDB)", "string", "");
21394|  43.4k|            }
21395|  47.2k|        }
21396|  47.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthIhEEbRSC_PKc:
23846|  1.86k|    {
23847|  1.86k|        NumberType len{};
23848|  1.86k|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 1.85k, False: 19]
  |  Branch (23848:35): [True: 1.81k, False: 40]
  |  Branch (23848:62): [True: 1.81k, False: 0]
  ------------------
23849|  1.86k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringIhEEbT_RSC_:
23767|  1.85k|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|  1.85k|        return get_bytes(len, "string", result);
23778|  1.85k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthItEEbRSC_PKc:
23846|    916|    {
23847|    916|        NumberType len{};
23848|    916|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 899, False: 17]
  |  Branch (23848:35): [True: 832, False: 67]
  |  Branch (23848:62): [True: 832, False: 0]
  ------------------
23849|    916|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_stringItEEbT_RSC_:
23767|    899|    {
23768|       |        // Strings are taken as is by default: none of CBOR (RFC 8949 §3.1
23769|       |        // leaves the choice to the decoder), MessagePack (whose spec
23770|       |        // explicitly allows a str object to contain an invalid byte
23771|       |        // sequence), UBJSON, BJData, or BSON requires a decoder to reject
23772|       |        // ill-formed UTF-8. Checking (and, with @ref error_handler_t::strict,
23773|       |        // rejecting, or with `replace`/`ignore`, sanitizing) is opt-in via
23774|       |        // @ref error_handler, applied by @ref check_string_utf8 at the call
23775|       |        // site to the whole string or, for an indefinite-length CBOR string,
23776|       |        // to each chunk on its own (RFC 8949, Section 3.2.3).
23777|    899|        return get_bytes(len, "string", result);
23778|    899|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE22get_string_with_lengthIjEEbRSC_PKc:
23846|    501|    {
23847|    501|        NumberType len{};
23848|    501|        return get_number(len) && get_string(len, result) && check_string_utf8(result, context);
  ------------------
  |  Branch (23848:16): [True: 482, False: 19]
  |  Branch (23848:35): [True: 402, False: 80]
  |  Branch (23848:62): [True: 402, False: 0]
  ------------------
23849|    501|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE19parse_msgpack_valueEv:
20950|   260k|    {
20951|   260k|        switch (get())
20952|   260k|        {
20953|       |            // EOF
20954|  2.57k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (20954:13): [True: 2.57k, False: 258k]
  ------------------
20955|  2.57k|                return unexpect_eof("value");
20956|       |
20957|       |            // positive fixint
20958|  6.31k|            case 0x00:
  ------------------
  |  Branch (20958:13): [True: 6.31k, False: 254k]
  ------------------
20959|  7.03k|            case 0x01:
  ------------------
  |  Branch (20959:13): [True: 724, False: 260k]
  ------------------
20960|  7.39k|            case 0x02:
  ------------------
  |  Branch (20960:13): [True: 352, False: 260k]
  ------------------
20961|  7.73k|            case 0x03:
  ------------------
  |  Branch (20961:13): [True: 347, False: 260k]
  ------------------
20962|  8.09k|            case 0x04:
  ------------------
  |  Branch (20962:13): [True: 361, False: 260k]
  ------------------
20963|  8.55k|            case 0x05:
  ------------------
  |  Branch (20963:13): [True: 455, False: 260k]
  ------------------
20964|  8.94k|            case 0x06:
  ------------------
  |  Branch (20964:13): [True: 387, False: 260k]
  ------------------
20965|  9.32k|            case 0x07:
  ------------------
  |  Branch (20965:13): [True: 379, False: 260k]
  ------------------
20966|  9.86k|            case 0x08:
  ------------------
  |  Branch (20966:13): [True: 549, False: 260k]
  ------------------
20967|  10.2k|            case 0x09:
  ------------------
  |  Branch (20967:13): [True: 424, False: 260k]
  ------------------
20968|  10.6k|            case 0x0A:
  ------------------
  |  Branch (20968:13): [True: 334, False: 260k]
  ------------------
20969|  10.9k|            case 0x0B:
  ------------------
  |  Branch (20969:13): [True: 330, False: 260k]
  ------------------
20970|  11.2k|            case 0x0C:
  ------------------
  |  Branch (20970:13): [True: 294, False: 260k]
  ------------------
20971|  11.6k|            case 0x0D:
  ------------------
  |  Branch (20971:13): [True: 379, False: 260k]
  ------------------
20972|  12.0k|            case 0x0E:
  ------------------
  |  Branch (20972:13): [True: 382, False: 260k]
  ------------------
20973|  12.3k|            case 0x0F:
  ------------------
  |  Branch (20973:13): [True: 310, False: 260k]
  ------------------
20974|  12.7k|            case 0x10:
  ------------------
  |  Branch (20974:13): [True: 389, False: 260k]
  ------------------
20975|  12.9k|            case 0x11:
  ------------------
  |  Branch (20975:13): [True: 288, False: 260k]
  ------------------
20976|  13.3k|            case 0x12:
  ------------------
  |  Branch (20976:13): [True: 378, False: 260k]
  ------------------
20977|  13.6k|            case 0x13:
  ------------------
  |  Branch (20977:13): [True: 314, False: 260k]
  ------------------
20978|  14.0k|            case 0x14:
  ------------------
  |  Branch (20978:13): [True: 403, False: 260k]
  ------------------
20979|  14.3k|            case 0x15:
  ------------------
  |  Branch (20979:13): [True: 295, False: 260k]
  ------------------
20980|  14.6k|            case 0x16:
  ------------------
  |  Branch (20980:13): [True: 300, False: 260k]
  ------------------
20981|  15.0k|            case 0x17:
  ------------------
  |  Branch (20981:13): [True: 408, False: 260k]
  ------------------
20982|  15.6k|            case 0x18:
  ------------------
  |  Branch (20982:13): [True: 596, False: 260k]
  ------------------
20983|  16.1k|            case 0x19:
  ------------------
  |  Branch (20983:13): [True: 414, False: 260k]
  ------------------
20984|  16.8k|            case 0x1A:
  ------------------
  |  Branch (20984:13): [True: 730, False: 260k]
  ------------------
20985|  17.1k|            case 0x1B:
  ------------------
  |  Branch (20985:13): [True: 356, False: 260k]
  ------------------
20986|  17.5k|            case 0x1C:
  ------------------
  |  Branch (20986:13): [True: 307, False: 260k]
  ------------------
20987|  17.9k|            case 0x1D:
  ------------------
  |  Branch (20987:13): [True: 414, False: 260k]
  ------------------
20988|  18.3k|            case 0x1E:
  ------------------
  |  Branch (20988:13): [True: 463, False: 260k]
  ------------------
20989|  18.8k|            case 0x1F:
  ------------------
  |  Branch (20989:13): [True: 493, False: 260k]
  ------------------
20990|  19.2k|            case 0x20:
  ------------------
  |  Branch (20990:13): [True: 414, False: 260k]
  ------------------
20991|  19.7k|            case 0x21:
  ------------------
  |  Branch (20991:13): [True: 457, False: 260k]
  ------------------
20992|  20.1k|            case 0x22:
  ------------------
  |  Branch (20992:13): [True: 428, False: 260k]
  ------------------
20993|  20.5k|            case 0x23:
  ------------------
  |  Branch (20993:13): [True: 351, False: 260k]
  ------------------
20994|  20.9k|            case 0x24:
  ------------------
  |  Branch (20994:13): [True: 434, False: 260k]
  ------------------
20995|  21.4k|            case 0x25:
  ------------------
  |  Branch (20995:13): [True: 499, False: 260k]
  ------------------
20996|  21.8k|            case 0x26:
  ------------------
  |  Branch (20996:13): [True: 417, False: 260k]
  ------------------
20997|  22.2k|            case 0x27:
  ------------------
  |  Branch (20997:13): [True: 359, False: 260k]
  ------------------
20998|  22.7k|            case 0x28:
  ------------------
  |  Branch (20998:13): [True: 506, False: 260k]
  ------------------
20999|  23.0k|            case 0x29:
  ------------------
  |  Branch (20999:13): [True: 353, False: 260k]
  ------------------
21000|  23.4k|            case 0x2A:
  ------------------
  |  Branch (21000:13): [True: 351, False: 260k]
  ------------------
21001|  23.9k|            case 0x2B:
  ------------------
  |  Branch (21001:13): [True: 516, False: 260k]
  ------------------
21002|  24.4k|            case 0x2C:
  ------------------
  |  Branch (21002:13): [True: 459, False: 260k]
  ------------------
21003|  24.8k|            case 0x2D:
  ------------------
  |  Branch (21003:13): [True: 485, False: 260k]
  ------------------
21004|  25.2k|            case 0x2E:
  ------------------
  |  Branch (21004:13): [True: 362, False: 260k]
  ------------------
21005|  25.6k|            case 0x2F:
  ------------------
  |  Branch (21005:13): [True: 403, False: 260k]
  ------------------
21006|  26.1k|            case 0x30:
  ------------------
  |  Branch (21006:13): [True: 469, False: 260k]
  ------------------
21007|  26.5k|            case 0x31:
  ------------------
  |  Branch (21007:13): [True: 420, False: 260k]
  ------------------
21008|  26.9k|            case 0x32:
  ------------------
  |  Branch (21008:13): [True: 350, False: 260k]
  ------------------
21009|  27.2k|            case 0x33:
  ------------------
  |  Branch (21009:13): [True: 327, False: 260k]
  ------------------
21010|  27.5k|            case 0x34:
  ------------------
  |  Branch (21010:13): [True: 315, False: 260k]
  ------------------
21011|  27.8k|            case 0x35:
  ------------------
  |  Branch (21011:13): [True: 324, False: 260k]
  ------------------
21012|  28.2k|            case 0x36:
  ------------------
  |  Branch (21012:13): [True: 419, False: 260k]
  ------------------
21013|  28.5k|            case 0x37:
  ------------------
  |  Branch (21013:13): [True: 300, False: 260k]
  ------------------
21014|  28.9k|            case 0x38:
  ------------------
  |  Branch (21014:13): [True: 355, False: 260k]
  ------------------
21015|  29.2k|            case 0x39:
  ------------------
  |  Branch (21015:13): [True: 288, False: 260k]
  ------------------
21016|  29.8k|            case 0x3A:
  ------------------
  |  Branch (21016:13): [True: 574, False: 260k]
  ------------------
21017|  30.1k|            case 0x3B:
  ------------------
  |  Branch (21017:13): [True: 389, False: 260k]
  ------------------
21018|  30.5k|            case 0x3C:
  ------------------
  |  Branch (21018:13): [True: 403, False: 260k]
  ------------------
21019|  30.9k|            case 0x3D:
  ------------------
  |  Branch (21019:13): [True: 349, False: 260k]
  ------------------
21020|  31.5k|            case 0x3E:
  ------------------
  |  Branch (21020:13): [True: 627, False: 260k]
  ------------------
21021|  32.1k|            case 0x3F:
  ------------------
  |  Branch (21021:13): [True: 550, False: 260k]
  ------------------
21022|  32.4k|            case 0x40:
  ------------------
  |  Branch (21022:13): [True: 359, False: 260k]
  ------------------
21023|  33.0k|            case 0x41:
  ------------------
  |  Branch (21023:13): [True: 562, False: 260k]
  ------------------
21024|  33.3k|            case 0x42:
  ------------------
  |  Branch (21024:13): [True: 338, False: 260k]
  ------------------
21025|  33.7k|            case 0x43:
  ------------------
  |  Branch (21025:13): [True: 354, False: 260k]
  ------------------
21026|  34.0k|            case 0x44:
  ------------------
  |  Branch (21026:13): [True: 341, False: 260k]
  ------------------
21027|  34.3k|            case 0x45:
  ------------------
  |  Branch (21027:13): [True: 308, False: 260k]
  ------------------
21028|  34.6k|            case 0x46:
  ------------------
  |  Branch (21028:13): [True: 293, False: 260k]
  ------------------
21029|  35.0k|            case 0x47:
  ------------------
  |  Branch (21029:13): [True: 415, False: 260k]
  ------------------
21030|  35.4k|            case 0x48:
  ------------------
  |  Branch (21030:13): [True: 363, False: 260k]
  ------------------
21031|  35.7k|            case 0x49:
  ------------------
  |  Branch (21031:13): [True: 267, False: 260k]
  ------------------
21032|  36.0k|            case 0x4A:
  ------------------
  |  Branch (21032:13): [True: 300, False: 260k]
  ------------------
21033|  36.3k|            case 0x4B:
  ------------------
  |  Branch (21033:13): [True: 293, False: 260k]
  ------------------
21034|  36.6k|            case 0x4C:
  ------------------
  |  Branch (21034:13): [True: 348, False: 260k]
  ------------------
21035|  36.9k|            case 0x4D:
  ------------------
  |  Branch (21035:13): [True: 299, False: 260k]
  ------------------
21036|  37.2k|            case 0x4E:
  ------------------
  |  Branch (21036:13): [True: 283, False: 260k]
  ------------------
21037|  37.5k|            case 0x4F:
  ------------------
  |  Branch (21037:13): [True: 293, False: 260k]
  ------------------
21038|  37.8k|            case 0x50:
  ------------------
  |  Branch (21038:13): [True: 350, False: 260k]
  ------------------
21039|  38.1k|            case 0x51:
  ------------------
  |  Branch (21039:13): [True: 305, False: 260k]
  ------------------
21040|  38.5k|            case 0x52:
  ------------------
  |  Branch (21040:13): [True: 311, False: 260k]
  ------------------
21041|  38.9k|            case 0x53:
  ------------------
  |  Branch (21041:13): [True: 422, False: 260k]
  ------------------
21042|  39.2k|            case 0x54:
  ------------------
  |  Branch (21042:13): [True: 302, False: 260k]
  ------------------
21043|  39.5k|            case 0x55:
  ------------------
  |  Branch (21043:13): [True: 283, False: 260k]
  ------------------
21044|  39.8k|            case 0x56:
  ------------------
  |  Branch (21044:13): [True: 293, False: 260k]
  ------------------
21045|  40.0k|            case 0x57:
  ------------------
  |  Branch (21045:13): [True: 281, False: 260k]
  ------------------
21046|  40.3k|            case 0x58:
  ------------------
  |  Branch (21046:13): [True: 279, False: 260k]
  ------------------
21047|  40.6k|            case 0x59:
  ------------------
  |  Branch (21047:13): [True: 284, False: 260k]
  ------------------
21048|  40.9k|            case 0x5A:
  ------------------
  |  Branch (21048:13): [True: 325, False: 260k]
  ------------------
21049|  41.3k|            case 0x5B:
  ------------------
  |  Branch (21049:13): [True: 364, False: 260k]
  ------------------
21050|  41.6k|            case 0x5C:
  ------------------
  |  Branch (21050:13): [True: 355, False: 260k]
  ------------------
21051|  42.0k|            case 0x5D:
  ------------------
  |  Branch (21051:13): [True: 387, False: 260k]
  ------------------
21052|  42.3k|            case 0x5E:
  ------------------
  |  Branch (21052:13): [True: 308, False: 260k]
  ------------------
21053|  42.7k|            case 0x5F:
  ------------------
  |  Branch (21053:13): [True: 374, False: 260k]
  ------------------
21054|  43.2k|            case 0x60:
  ------------------
  |  Branch (21054:13): [True: 524, False: 260k]
  ------------------
21055|  43.6k|            case 0x61:
  ------------------
  |  Branch (21055:13): [True: 350, False: 260k]
  ------------------
21056|  43.9k|            case 0x62:
  ------------------
  |  Branch (21056:13): [True: 305, False: 260k]
  ------------------
21057|  44.2k|            case 0x63:
  ------------------
  |  Branch (21057:13): [True: 269, False: 260k]
  ------------------
21058|  44.5k|            case 0x64:
  ------------------
  |  Branch (21058:13): [True: 367, False: 260k]
  ------------------
21059|  44.9k|            case 0x65:
  ------------------
  |  Branch (21059:13): [True: 368, False: 260k]
  ------------------
21060|  45.2k|            case 0x66:
  ------------------
  |  Branch (21060:13): [True: 314, False: 260k]
  ------------------
21061|  45.7k|            case 0x67:
  ------------------
  |  Branch (21061:13): [True: 520, False: 260k]
  ------------------
21062|  46.1k|            case 0x68:
  ------------------
  |  Branch (21062:13): [True: 381, False: 260k]
  ------------------
21063|  46.4k|            case 0x69:
  ------------------
  |  Branch (21063:13): [True: 324, False: 260k]
  ------------------
21064|  46.8k|            case 0x6A:
  ------------------
  |  Branch (21064:13): [True: 358, False: 260k]
  ------------------
21065|  47.3k|            case 0x6B:
  ------------------
  |  Branch (21065:13): [True: 538, False: 260k]
  ------------------
21066|  47.6k|            case 0x6C:
  ------------------
  |  Branch (21066:13): [True: 294, False: 260k]
  ------------------
21067|  47.9k|            case 0x6D:
  ------------------
  |  Branch (21067:13): [True: 310, False: 260k]
  ------------------
21068|  48.5k|            case 0x6E:
  ------------------
  |  Branch (21068:13): [True: 540, False: 260k]
  ------------------
21069|  48.9k|            case 0x6F:
  ------------------
  |  Branch (21069:13): [True: 428, False: 260k]
  ------------------
21070|  49.3k|            case 0x70:
  ------------------
  |  Branch (21070:13): [True: 420, False: 260k]
  ------------------
21071|  49.7k|            case 0x71:
  ------------------
  |  Branch (21071:13): [True: 332, False: 260k]
  ------------------
21072|  50.0k|            case 0x72:
  ------------------
  |  Branch (21072:13): [True: 297, False: 260k]
  ------------------
21073|  50.3k|            case 0x73:
  ------------------
  |  Branch (21073:13): [True: 394, False: 260k]
  ------------------
21074|  50.8k|            case 0x74:
  ------------------
  |  Branch (21074:13): [True: 422, False: 260k]
  ------------------
21075|  51.1k|            case 0x75:
  ------------------
  |  Branch (21075:13): [True: 344, False: 260k]
  ------------------
21076|  51.5k|            case 0x76:
  ------------------
  |  Branch (21076:13): [True: 368, False: 260k]
  ------------------
21077|  52.0k|            case 0x77:
  ------------------
  |  Branch (21077:13): [True: 474, False: 260k]
  ------------------
21078|  52.3k|            case 0x78:
  ------------------
  |  Branch (21078:13): [True: 362, False: 260k]
  ------------------
21079|  52.6k|            case 0x79:
  ------------------
  |  Branch (21079:13): [True: 306, False: 260k]
  ------------------
21080|  53.1k|            case 0x7A:
  ------------------
  |  Branch (21080:13): [True: 516, False: 260k]
  ------------------
21081|  53.4k|            case 0x7B:
  ------------------
  |  Branch (21081:13): [True: 296, False: 260k]
  ------------------
21082|  53.9k|            case 0x7C:
  ------------------
  |  Branch (21082:13): [True: 516, False: 260k]
  ------------------
21083|  54.2k|            case 0x7D:
  ------------------
  |  Branch (21083:13): [True: 289, False: 260k]
  ------------------
21084|  54.6k|            case 0x7E:
  ------------------
  |  Branch (21084:13): [True: 382, False: 260k]
  ------------------
21085|  55.1k|            case 0x7F:
  ------------------
  |  Branch (21085:13): [True: 478, False: 260k]
  ------------------
21086|  55.1k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
21087|       |
21088|       |            // fixmap
21089|  3.83k|            case 0x80:
  ------------------
  |  Branch (21089:13): [True: 3.83k, False: 256k]
  ------------------
21090|  9.56k|            case 0x81:
  ------------------
  |  Branch (21090:13): [True: 5.73k, False: 255k]
  ------------------
21091|  10.8k|            case 0x82:
  ------------------
  |  Branch (21091:13): [True: 1.23k, False: 259k]
  ------------------
21092|  11.5k|            case 0x83:
  ------------------
  |  Branch (21092:13): [True: 725, False: 260k]
  ------------------
21093|  12.0k|            case 0x84:
  ------------------
  |  Branch (21093:13): [True: 503, False: 260k]
  ------------------
21094|  12.5k|            case 0x85:
  ------------------
  |  Branch (21094:13): [True: 538, False: 260k]
  ------------------
21095|  12.8k|            case 0x86:
  ------------------
  |  Branch (21095:13): [True: 292, False: 260k]
  ------------------
21096|  13.2k|            case 0x87:
  ------------------
  |  Branch (21096:13): [True: 412, False: 260k]
  ------------------
21097|  13.6k|            case 0x88:
  ------------------
  |  Branch (21097:13): [True: 351, False: 260k]
  ------------------
21098|  13.9k|            case 0x89:
  ------------------
  |  Branch (21098:13): [True: 286, False: 260k]
  ------------------
21099|  14.2k|            case 0x8A:
  ------------------
  |  Branch (21099:13): [True: 350, False: 260k]
  ------------------
21100|  14.8k|            case 0x8B:
  ------------------
  |  Branch (21100:13): [True: 544, False: 260k]
  ------------------
21101|  15.4k|            case 0x8C:
  ------------------
  |  Branch (21101:13): [True: 685, False: 260k]
  ------------------
21102|  16.1k|            case 0x8D:
  ------------------
  |  Branch (21102:13): [True: 651, False: 260k]
  ------------------
21103|  16.5k|            case 0x8E:
  ------------------
  |  Branch (21103:13): [True: 361, False: 260k]
  ------------------
21104|  17.0k|            case 0x8F:
  ------------------
  |  Branch (21104:13): [True: 540, False: 260k]
  ------------------
21105|  17.0k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21106|       |
21107|       |            // fixarray
21108|  3.86k|            case 0x90:
  ------------------
  |  Branch (21108:13): [True: 3.86k, False: 256k]
  ------------------
21109|   100k|            case 0x91:
  ------------------
  |  Branch (21109:13): [True: 96.7k, False: 164k]
  ------------------
21110|   103k|            case 0x92:
  ------------------
  |  Branch (21110:13): [True: 2.51k, False: 258k]
  ------------------
21111|   104k|            case 0x93:
  ------------------
  |  Branch (21111:13): [True: 1.48k, False: 259k]
  ------------------
21112|   105k|            case 0x94:
  ------------------
  |  Branch (21112:13): [True: 1.04k, False: 259k]
  ------------------
21113|   107k|            case 0x95:
  ------------------
  |  Branch (21113:13): [True: 2.19k, False: 258k]
  ------------------
21114|   108k|            case 0x96:
  ------------------
  |  Branch (21114:13): [True: 1.02k, False: 259k]
  ------------------
21115|   109k|            case 0x97:
  ------------------
  |  Branch (21115:13): [True: 585, False: 260k]
  ------------------
21116|   110k|            case 0x98:
  ------------------
  |  Branch (21116:13): [True: 1.50k, False: 259k]
  ------------------
21117|   112k|            case 0x99:
  ------------------
  |  Branch (21117:13): [True: 1.45k, False: 259k]
  ------------------
21118|   113k|            case 0x9A:
  ------------------
  |  Branch (21118:13): [True: 1.53k, False: 259k]
  ------------------
21119|   115k|            case 0x9B:
  ------------------
  |  Branch (21119:13): [True: 1.15k, False: 259k]
  ------------------
21120|   116k|            case 0x9C:
  ------------------
  |  Branch (21120:13): [True: 908, False: 259k]
  ------------------
21121|   117k|            case 0x9D:
  ------------------
  |  Branch (21121:13): [True: 1.30k, False: 259k]
  ------------------
21122|   118k|            case 0x9E:
  ------------------
  |  Branch (21122:13): [True: 933, False: 259k]
  ------------------
21123|   118k|            case 0x9F:
  ------------------
  |  Branch (21123:13): [True: 708, False: 260k]
  ------------------
21124|   118k|                return enter_msgpack_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
21125|       |
21126|       |            // fixstr
21127|  7.02k|            case 0xA0:
  ------------------
  |  Branch (21127:13): [True: 7.02k, False: 253k]
  ------------------
21128|  7.82k|            case 0xA1:
  ------------------
  |  Branch (21128:13): [True: 801, False: 259k]
  ------------------
21129|  8.45k|            case 0xA2:
  ------------------
  |  Branch (21129:13): [True: 625, False: 260k]
  ------------------
21130|  8.74k|            case 0xA3:
  ------------------
  |  Branch (21130:13): [True: 291, False: 260k]
  ------------------
21131|  9.48k|            case 0xA4:
  ------------------
  |  Branch (21131:13): [True: 739, False: 260k]
  ------------------
21132|  9.63k|            case 0xA5:
  ------------------
  |  Branch (21132:13): [True: 150, False: 260k]
  ------------------
21133|  9.82k|            case 0xA6:
  ------------------
  |  Branch (21133:13): [True: 191, False: 260k]
  ------------------
21134|  10.0k|            case 0xA7:
  ------------------
  |  Branch (21134:13): [True: 183, False: 260k]
  ------------------
21135|  10.3k|            case 0xA8:
  ------------------
  |  Branch (21135:13): [True: 307, False: 260k]
  ------------------
21136|  10.5k|            case 0xA9:
  ------------------
  |  Branch (21136:13): [True: 190, False: 260k]
  ------------------
21137|  10.6k|            case 0xAA:
  ------------------
  |  Branch (21137:13): [True: 152, False: 260k]
  ------------------
21138|  10.7k|            case 0xAB:
  ------------------
  |  Branch (21138:13): [True: 142, False: 260k]
  ------------------
21139|  10.9k|            case 0xAC:
  ------------------
  |  Branch (21139:13): [True: 169, False: 260k]
  ------------------
21140|  11.0k|            case 0xAD:
  ------------------
  |  Branch (21140:13): [True: 109, False: 260k]
  ------------------
21141|  11.1k|            case 0xAE:
  ------------------
  |  Branch (21141:13): [True: 68, False: 260k]
  ------------------
21142|  11.2k|            case 0xAF:
  ------------------
  |  Branch (21142:13): [True: 65, False: 260k]
  ------------------
21143|  11.3k|            case 0xB0:
  ------------------
  |  Branch (21143:13): [True: 168, False: 260k]
  ------------------
21144|  11.4k|            case 0xB1:
  ------------------
  |  Branch (21144:13): [True: 105, False: 260k]
  ------------------
21145|  11.5k|            case 0xB2:
  ------------------
  |  Branch (21145:13): [True: 111, False: 260k]
  ------------------
21146|  11.6k|            case 0xB3:
  ------------------
  |  Branch (21146:13): [True: 80, False: 260k]
  ------------------
21147|  11.7k|            case 0xB4:
  ------------------
  |  Branch (21147:13): [True: 126, False: 260k]
  ------------------
21148|  11.8k|            case 0xB5:
  ------------------
  |  Branch (21148:13): [True: 102, False: 260k]
  ------------------
21149|  11.9k|            case 0xB6:
  ------------------
  |  Branch (21149:13): [True: 69, False: 260k]
  ------------------
21150|  12.0k|            case 0xB7:
  ------------------
  |  Branch (21150:13): [True: 103, False: 260k]
  ------------------
21151|  12.1k|            case 0xB8:
  ------------------
  |  Branch (21151:13): [True: 82, False: 260k]
  ------------------
21152|  12.2k|            case 0xB9:
  ------------------
  |  Branch (21152:13): [True: 101, False: 260k]
  ------------------
21153|  12.3k|            case 0xBA:
  ------------------
  |  Branch (21153:13): [True: 70, False: 260k]
  ------------------
21154|  12.3k|            case 0xBB:
  ------------------
  |  Branch (21154:13): [True: 66, False: 260k]
  ------------------
21155|  12.4k|            case 0xBC:
  ------------------
  |  Branch (21155:13): [True: 81, False: 260k]
  ------------------
21156|  12.5k|            case 0xBD:
  ------------------
  |  Branch (21156:13): [True: 87, False: 260k]
  ------------------
21157|  12.6k|            case 0xBE:
  ------------------
  |  Branch (21157:13): [True: 52, False: 260k]
  ------------------
21158|  12.6k|            case 0xBF:
  ------------------
  |  Branch (21158:13): [True: 57, False: 260k]
  ------------------
21159|  13.8k|            case 0xD9: // str 8
  ------------------
  |  Branch (21159:13): [True: 1.19k, False: 259k]
  ------------------
21160|  14.6k|            case 0xDA: // str 16
  ------------------
  |  Branch (21160:13): [True: 798, False: 259k]
  ------------------
21161|  15.1k|            case 0xDB: // str 32
  ------------------
  |  Branch (21161:13): [True: 481, False: 260k]
  ------------------
21162|  15.1k|            {
21163|  15.1k|                string_t s;
21164|  15.1k|                return get_msgpack_string(s) && sax->string(s);
  ------------------
  |  Branch (21164:24): [True: 14.6k, False: 462]
  |  Branch (21164:49): [True: 14.6k, False: 0]
  ------------------
21165|  14.6k|            }
21166|       |
21167|  3.13k|            case 0xC0: // nil
  ------------------
  |  Branch (21167:13): [True: 3.13k, False: 257k]
  ------------------
21168|  3.13k|                return sax->null();
21169|       |
21170|  1.87k|            case 0xC2: // false
  ------------------
  |  Branch (21170:13): [True: 1.87k, False: 258k]
  ------------------
21171|  1.87k|                return sax->boolean(false);
21172|       |
21173|  1.73k|            case 0xC3: // true
  ------------------
  |  Branch (21173:13): [True: 1.73k, False: 259k]
  ------------------
21174|  1.73k|                return sax->boolean(true);
21175|       |
21176|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21176:13): [True: 11.7k, False: 249k]
  ------------------
21177|  12.7k|            case 0xC5: // bin 16
  ------------------
  |  Branch (21177:13): [True: 957, False: 259k]
  ------------------
21178|  13.3k|            case 0xC6: // bin 32
  ------------------
  |  Branch (21178:13): [True: 668, False: 260k]
  ------------------
21179|  13.7k|            case 0xC7: // ext 8
  ------------------
  |  Branch (21179:13): [True: 376, False: 260k]
  ------------------
21180|  14.1k|            case 0xC8: // ext 16
  ------------------
  |  Branch (21180:13): [True: 361, False: 260k]
  ------------------
21181|  14.3k|            case 0xC9: // ext 32
  ------------------
  |  Branch (21181:13): [True: 236, False: 260k]
  ------------------
21182|  16.2k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21182:13): [True: 1.87k, False: 258k]
  ------------------
21183|  16.6k|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21183:13): [True: 380, False: 260k]
  ------------------
21184|  16.9k|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21184:13): [True: 333, False: 260k]
  ------------------
21185|  17.1k|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21185:13): [True: 222, False: 260k]
  ------------------
21186|  17.2k|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21186:13): [True: 128, False: 260k]
  ------------------
21187|  17.2k|            {
21188|  17.2k|                binary_t b;
21189|  17.2k|                return get_msgpack_binary(b) && sax->binary(b);
  ------------------
  |  Branch (21189:24): [True: 16.9k, False: 371]
  |  Branch (21189:49): [True: 16.9k, False: 0]
  ------------------
21190|  17.1k|            }
21191|       |
21192|  1.38k|            case 0xCA: // float 32
  ------------------
  |  Branch (21192:13): [True: 1.38k, False: 259k]
  ------------------
21193|  1.38k|            {
21194|  1.38k|                float number{};
21195|  1.38k|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21195:24): [True: 1.35k, False: 23]
  |  Branch (21195:46): [True: 1.35k, False: 0]
  ------------------
21196|  17.1k|            }
21197|       |
21198|    645|            case 0xCB: // float 64
  ------------------
  |  Branch (21198:13): [True: 645, False: 260k]
  ------------------
21199|    645|            {
21200|    645|                double number{};
21201|    645|                return get_number(number) && emit_float(number);
  ------------------
  |  Branch (21201:24): [True: 620, False: 25]
  |  Branch (21201:46): [True: 620, False: 0]
  ------------------
21202|  17.1k|            }
21203|       |
21204|    490|            case 0xCC: // uint 8
  ------------------
  |  Branch (21204:13): [True: 490, False: 260k]
  ------------------
21205|    490|            {
21206|    490|                std::uint8_t number{};
21207|    490|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21207:24): [True: 482, False: 8]
  |  Branch (21207:46): [True: 482, False: 0]
  ------------------
21208|  17.1k|            }
21209|       |
21210|    284|            case 0xCD: // uint 16
  ------------------
  |  Branch (21210:13): [True: 284, False: 260k]
  ------------------
21211|    284|            {
21212|    284|                std::uint16_t number{};
21213|    284|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21213:24): [True: 281, False: 3]
  |  Branch (21213:46): [True: 281, False: 0]
  ------------------
21214|  17.1k|            }
21215|       |
21216|    218|            case 0xCE: // uint 32
  ------------------
  |  Branch (21216:13): [True: 218, False: 260k]
  ------------------
21217|    218|            {
21218|    218|                std::uint32_t number{};
21219|    218|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21219:24): [True: 213, False: 5]
  |  Branch (21219:46): [True: 213, False: 0]
  ------------------
21220|  17.1k|            }
21221|       |
21222|    496|            case 0xCF: // uint 64
  ------------------
  |  Branch (21222:13): [True: 496, False: 260k]
  ------------------
21223|    496|            {
21224|    496|                std::uint64_t number{};
21225|    496|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (21225:24): [True: 473, False: 23]
  |  Branch (21225:46): [True: 473, False: 0]
  ------------------
21226|  17.1k|            }
21227|       |
21228|    845|            case 0xD0: // int 8
  ------------------
  |  Branch (21228:13): [True: 845, False: 259k]
  ------------------
21229|    845|            {
21230|    845|                std::int8_t number{};
21231|    845|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21231:24): [True: 838, False: 7]
  |  Branch (21231:46): [True: 838, False: 0]
  ------------------
21232|  17.1k|            }
21233|       |
21234|    407|            case 0xD1: // int 16
  ------------------
  |  Branch (21234:13): [True: 407, False: 260k]
  ------------------
21235|    407|            {
21236|    407|                std::int16_t number{};
21237|    407|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21237:24): [True: 392, False: 15]
  |  Branch (21237:46): [True: 392, False: 0]
  ------------------
21238|  17.1k|            }
21239|       |
21240|    337|            case 0xD2: // int 32
  ------------------
  |  Branch (21240:13): [True: 337, False: 260k]
  ------------------
21241|    337|            {
21242|    337|                std::int32_t number{};
21243|    337|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21243:24): [True: 314, False: 23]
  |  Branch (21243:46): [True: 314, False: 0]
  ------------------
21244|  17.1k|            }
21245|       |
21246|    563|            case 0xD3: // int 64
  ------------------
  |  Branch (21246:13): [True: 563, False: 260k]
  ------------------
21247|    563|            {
21248|    563|                std::int64_t number{};
21249|    563|                return get_number(number) && emit_signed(number);
  ------------------
  |  Branch (21249:24): [True: 538, False: 25]
  |  Branch (21249:46): [True: 538, False: 0]
  ------------------
21250|  17.1k|            }
21251|       |
21252|  3.50k|            case 0xDC: // array 16
  ------------------
  |  Branch (21252:13): [True: 3.50k, False: 257k]
  ------------------
21253|  3.50k|            {
21254|  3.50k|                std::uint16_t len{};
21255|  3.50k|                return get_number(len) && enter_msgpack_array(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21255:24): [True: 3.48k, False: 13]
  |  Branch (21255:43): [True: 3.48k, False: 0]
  ------------------
21256|  17.1k|            }
21257|       |
21258|    698|            case 0xDD: // array 32
  ------------------
  |  Branch (21258:13): [True: 698, False: 260k]
  ------------------
21259|    698|            {
21260|    698|                std::uint32_t len{};
21261|    698|                std::size_t size{};
21262|    698|                return get_number(len) && get_container_size(len, size, "array") && enter_msgpack_array(size);
  ------------------
  |  Branch (21262:24): [True: 684, False: 14]
  |  Branch (21262:43): [True: 684, False: 0]
  |  Branch (21262:85): [True: 684, False: 0]
  ------------------
21263|  17.1k|            }
21264|       |
21265|    570|            case 0xDE: // map 16
  ------------------
  |  Branch (21265:13): [True: 570, False: 260k]
  ------------------
21266|    570|            {
21267|    570|                std::uint16_t len{};
21268|    570|                return get_number(len) && enter_object(static_cast<std::size_t>(len));
  ------------------
  |  Branch (21268:24): [True: 569, False: 1]
  |  Branch (21268:43): [True: 569, False: 0]
  ------------------
21269|  17.1k|            }
21270|       |
21271|    246|            case 0xDF: // map 32
  ------------------
  |  Branch (21271:13): [True: 246, False: 260k]
  ------------------
21272|    246|            {
21273|    246|                std::uint32_t len{};
21274|    246|                std::size_t size{};
21275|    246|                return get_number(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (21275:24): [True: 243, False: 3]
  |  Branch (21275:43): [True: 243, False: 0]
  |  Branch (21275:83): [True: 243, False: 0]
  ------------------
21276|  17.1k|            }
21277|       |
21278|       |            // negative fixint
21279|    696|            case 0xE0:
  ------------------
  |  Branch (21279:13): [True: 696, False: 260k]
  ------------------
21280|  1.27k|            case 0xE1:
  ------------------
  |  Branch (21280:13): [True: 575, False: 260k]
  ------------------
21281|  1.56k|            case 0xE2:
  ------------------
  |  Branch (21281:13): [True: 298, False: 260k]
  ------------------
21282|  1.88k|            case 0xE3:
  ------------------
  |  Branch (21282:13): [True: 316, False: 260k]
  ------------------
21283|  2.26k|            case 0xE4:
  ------------------
  |  Branch (21283:13): [True: 379, False: 260k]
  ------------------
21284|  2.74k|            case 0xE5:
  ------------------
  |  Branch (21284:13): [True: 485, False: 260k]
  ------------------
21285|  3.08k|            case 0xE6:
  ------------------
  |  Branch (21285:13): [True: 336, False: 260k]
  ------------------
21286|  3.48k|            case 0xE7:
  ------------------
  |  Branch (21286:13): [True: 395, False: 260k]
  ------------------
21287|  3.80k|            case 0xE8:
  ------------------
  |  Branch (21287:13): [True: 326, False: 260k]
  ------------------
21288|  4.16k|            case 0xE9:
  ------------------
  |  Branch (21288:13): [True: 357, False: 260k]
  ------------------
21289|  4.58k|            case 0xEA:
  ------------------
  |  Branch (21289:13): [True: 423, False: 260k]
  ------------------
21290|  4.87k|            case 0xEB:
  ------------------
  |  Branch (21290:13): [True: 284, False: 260k]
  ------------------
21291|  5.71k|            case 0xEC:
  ------------------
  |  Branch (21291:13): [True: 842, False: 259k]
  ------------------
21292|  6.05k|            case 0xED:
  ------------------
  |  Branch (21292:13): [True: 347, False: 260k]
  ------------------
21293|  6.52k|            case 0xEE:
  ------------------
  |  Branch (21293:13): [True: 467, False: 260k]
  ------------------
21294|  6.84k|            case 0xEF:
  ------------------
  |  Branch (21294:13): [True: 316, False: 260k]
  ------------------
21295|  7.26k|            case 0xF0:
  ------------------
  |  Branch (21295:13): [True: 422, False: 260k]
  ------------------
21296|  7.58k|            case 0xF1:
  ------------------
  |  Branch (21296:13): [True: 318, False: 260k]
  ------------------
21297|  7.94k|            case 0xF2:
  ------------------
  |  Branch (21297:13): [True: 363, False: 260k]
  ------------------
21298|  8.27k|            case 0xF3:
  ------------------
  |  Branch (21298:13): [True: 331, False: 260k]
  ------------------
21299|  8.65k|            case 0xF4:
  ------------------
  |  Branch (21299:13): [True: 382, False: 260k]
  ------------------
21300|  8.96k|            case 0xF5:
  ------------------
  |  Branch (21300:13): [True: 309, False: 260k]
  ------------------
21301|  9.31k|            case 0xF6:
  ------------------
  |  Branch (21301:13): [True: 343, False: 260k]
  ------------------
21302|  9.82k|            case 0xF7:
  ------------------
  |  Branch (21302:13): [True: 512, False: 260k]
  ------------------
21303|  10.4k|            case 0xF8:
  ------------------
  |  Branch (21303:13): [True: 594, False: 260k]
  ------------------
21304|  10.7k|            case 0xF9:
  ------------------
  |  Branch (21304:13): [True: 346, False: 260k]
  ------------------
21305|  11.2k|            case 0xFA:
  ------------------
  |  Branch (21305:13): [True: 469, False: 260k]
  ------------------
21306|  11.8k|            case 0xFB:
  ------------------
  |  Branch (21306:13): [True: 593, False: 260k]
  ------------------
21307|  12.4k|            case 0xFC:
  ------------------
  |  Branch (21307:13): [True: 584, False: 260k]
  ------------------
21308|  12.9k|            case 0xFD:
  ------------------
  |  Branch (21308:13): [True: 569, False: 260k]
  ------------------
21309|  13.4k|            case 0xFE:
  ------------------
  |  Branch (21309:13): [True: 519, False: 260k]
  ------------------
21310|  17.1k|            case 0xFF:
  ------------------
  |  Branch (21310:13): [True: 3.69k, False: 257k]
  ------------------
21311|  17.1k|                return sax->number_integer(static_cast<std::int8_t>(current));
21312|       |
21313|      2|            default: // anything else
  ------------------
  |  Branch (21313:13): [True: 2, False: 260k]
  ------------------
21314|      2|            {
21315|      2|                return unexpected_byte("invalid byte", "value");
21316|  13.4k|            }
21317|   260k|        }
21318|   260k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE19enter_msgpack_arrayEm:
21725|   123k|    {
21726|   123k|        return enter_array(len) && (len <= 1 || parse_msgpack_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (21726:16): [True: 123k, False: 0]
  |  Branch (21726:37): [True: 100k, False: 22.1k]
  |  Branch (21726:49): [True: 22.1k, False: 0]
  ------------------
21727|   123k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE24parse_msgpack_scalar_runENS4_17integral_constantIbLb1EEE:
21623|  22.1k|    {
21624|       |        // nothing pushes onto the stack while the run reads scalars
21625|  22.1k|        std::size_t& remaining = container_stack.back().remaining;
21626|  69.2k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (21626:16): [True: 68.3k, False: 873]
  |  Branch (21626:34): [True: 64.4k, False: 3.96k]
  ------------------
21627|  64.4k|        {
21628|  64.4k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
21629|  64.4k|            const unsigned char head = data[0];
21630|  64.4k|            bool accepted = false;
21631|  64.4k|            switch (head)
21632|  64.4k|            {
21633|  1.40k|                case 0xC0: // nil
  ------------------
  |  Branch (21633:17): [True: 1.40k, False: 63.0k]
  ------------------
21634|  1.40k|                    bulk_advance(1, head);
21635|  1.40k|                    accepted = sax->null();
21636|  1.40k|                    break;
21637|    786|                case 0xC2: // false
  ------------------
  |  Branch (21637:17): [True: 786, False: 63.6k]
  ------------------
21638|    786|                    bulk_advance(1, head);
21639|    786|                    accepted = sax->boolean(false);
21640|    786|                    break;
21641|    869|                case 0xC3: // true
  ------------------
  |  Branch (21641:17): [True: 869, False: 63.5k]
  ------------------
21642|    869|                    bulk_advance(1, head);
21643|    869|                    accepted = sax->boolean(true);
21644|    869|                    break;
21645|  1.71k|                case 0xCA: // float 32
  ------------------
  |  Branch (21645:17): [True: 1.71k, False: 62.7k]
  ------------------
21646|  1.71k|                    bulk_advance(5, head);
21647|  1.71k|                    accepted = emit_float(load_big_endian<float>(data + 1));
21648|  1.71k|                    break;
21649|    680|                case 0xCB: // float 64
  ------------------
  |  Branch (21649:17): [True: 680, False: 63.7k]
  ------------------
21650|    680|                    bulk_advance(9, head);
21651|    680|                    accepted = emit_float(load_big_endian<double>(data + 1));
21652|    680|                    break;
21653|    465|                case 0xCC: // uint 8
  ------------------
  |  Branch (21653:17): [True: 465, False: 63.9k]
  ------------------
21654|    465|                    bulk_advance(2, head);
21655|    465|                    accepted = emit_unsigned(data[1]);
21656|    465|                    break;
21657|    419|                case 0xCD: // uint 16
  ------------------
  |  Branch (21657:17): [True: 419, False: 63.9k]
  ------------------
21658|    419|                    bulk_advance(3, head);
21659|    419|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
21660|    419|                    break;
21661|    197|                case 0xCE: // uint 32
  ------------------
  |  Branch (21661:17): [True: 197, False: 64.2k]
  ------------------
21662|    197|                    bulk_advance(5, head);
21663|    197|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
21664|    197|                    break;
21665|    366|                case 0xCF: // uint 64
  ------------------
  |  Branch (21665:17): [True: 366, False: 64.0k]
  ------------------
21666|    366|                    bulk_advance(9, head);
21667|    366|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
21668|    366|                    break;
21669|    502|                case 0xD0: // int 8
  ------------------
  |  Branch (21669:17): [True: 502, False: 63.9k]
  ------------------
21670|    502|                    bulk_advance(2, head);
21671|    502|                    accepted = emit_signed(static_cast<std::int8_t>(data[1]));
21672|    502|                    break;
21673|    467|                case 0xD1: // int 16
  ------------------
  |  Branch (21673:17): [True: 467, False: 63.9k]
  ------------------
21674|    467|                    bulk_advance(3, head);
21675|    467|                    accepted = emit_signed(load_big_endian<std::int16_t>(data + 1));
21676|    467|                    break;
21677|    337|                case 0xD2: // int 32
  ------------------
  |  Branch (21677:17): [True: 337, False: 64.0k]
  ------------------
21678|    337|                    bulk_advance(5, head);
21679|    337|                    accepted = emit_signed(load_big_endian<std::int32_t>(data + 1));
21680|    337|                    break;
21681|    397|                case 0xD3: // int 64
  ------------------
  |  Branch (21681:17): [True: 397, False: 64.0k]
  ------------------
21682|    397|                    bulk_advance(9, head);
21683|    397|                    accepted = emit_signed(load_big_endian<std::int64_t>(data + 1));
21684|    397|                    break;
21685|  55.8k|                default:
  ------------------
  |  Branch (21685:17): [True: 55.8k, False: 8.60k]
  ------------------
21686|  55.8k|                    if (head <= 0x7F)
  ------------------
  |  Branch (21686:25): [True: 28.9k, False: 26.8k]
  ------------------
21687|  28.9k|                    {
21688|       |                        // positive fixint
21689|  28.9k|                        bulk_advance(1, head);
21690|  28.9k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
21691|  28.9k|                    }
21692|  26.8k|                    else if (head >= 0xE0)
  ------------------
  |  Branch (21692:30): [True: 9.47k, False: 17.3k]
  ------------------
21693|  9.47k|                    {
21694|       |                        // negative fixint
21695|  9.47k|                        bulk_advance(1, head);
21696|  9.47k|                        accepted = sax->number_integer(static_cast<std::int8_t>(head));
21697|  9.47k|                    }
21698|  17.3k|                    else
21699|  17.3k|                    {
21700|       |                        // any other value is read by parse_msgpack_value
21701|  17.3k|                        return true;
21702|  17.3k|                    }
21703|  38.4k|                    break;
21704|  64.4k|            }
21705|  47.0k|            --remaining;
21706|  47.0k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|  47.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 47.0k]
  |  |  ------------------
  ------------------
21707|      0|            {
21708|      0|                return false;
21709|      0|            }
21710|  47.0k|        }
21711|  4.83k|        return true;
21712|  22.1k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIsEET_PKh:
20670|    467|    {
20671|    467|        NumberType result{};
20672|    467|        std::memcpy(&result, data, sizeof(NumberType));
20673|    467|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 467, False: 0]
  ------------------
20674|    467|        {
20675|    467|            byte_swap(result);
20676|    467|        }
20677|    467|        return result;
20678|    467|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIsEEvRT_:
23555|    859|    {
23556|    859|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|    859|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  1.71k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 859, False: 859]
  ------------------
23572|    859|            {
23573|    859|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|    859|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|    859|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIiEET_PKh:
20670|    337|    {
20671|    337|        NumberType result{};
20672|    337|        std::memcpy(&result, data, sizeof(NumberType));
20673|    337|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 337, False: 0]
  ------------------
20674|    337|        {
20675|    337|            byte_swap(result);
20676|    337|        }
20677|    337|        return result;
20678|    337|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15load_big_endianIlEET_PKh:
20670|    397|    {
20671|    397|        NumberType result{};
20672|    397|        std::memcpy(&result, data, sizeof(NumberType));
20673|    397|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 397, False: 0]
  ------------------
20674|    397|        {
20675|    397|            byte_swap(result);
20676|    397|        }
20677|    397|        return result;
20678|    397|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EE:
21499|  17.2k|    {
21500|       |        // helper function to set the subtype
21501|  17.2k|        auto assign_and_return_true = [&result](std::int8_t subtype)
21502|  17.2k|        {
21503|  17.2k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  17.2k|            return true;
21505|  17.2k|        };
21506|       |
21507|  17.2k|        switch (current)
21508|  17.2k|        {
21509|  11.7k|            case 0xC4: // bin 8
  ------------------
  |  Branch (21509:13): [True: 11.7k, False: 5.53k]
  ------------------
21510|  11.7k|            {
21511|  11.7k|                std::uint8_t len{};
21512|  11.7k|                return get_number(len) &&
  ------------------
  |  Branch (21512:24): [True: 11.7k, False: 11]
  ------------------
21513|  11.7k|                       get_binary(len, result);
  ------------------
  |  Branch (21513:24): [True: 11.7k, False: 29]
  ------------------
21514|      0|            }
21515|       |
21516|    957|            case 0xC5: // bin 16
  ------------------
  |  Branch (21516:13): [True: 957, False: 16.3k]
  ------------------
21517|    957|            {
21518|    957|                std::uint16_t len{};
21519|    957|                return get_number(len) &&
  ------------------
  |  Branch (21519:24): [True: 939, False: 18]
  ------------------
21520|    939|                       get_binary(len, result);
  ------------------
  |  Branch (21520:24): [True: 887, False: 52]
  ------------------
21521|      0|            }
21522|       |
21523|    668|            case 0xC6: // bin 32
  ------------------
  |  Branch (21523:13): [True: 668, False: 16.6k]
  ------------------
21524|    668|            {
21525|    668|                std::uint32_t len{};
21526|    668|                return get_number(len) &&
  ------------------
  |  Branch (21526:24): [True: 649, False: 19]
  ------------------
21527|    649|                       get_binary(len, result);
  ------------------
  |  Branch (21527:24): [True: 553, False: 96]
  ------------------
21528|      0|            }
21529|       |
21530|    376|            case 0xC7: // ext 8
  ------------------
  |  Branch (21530:13): [True: 376, False: 16.9k]
  ------------------
21531|    376|            {
21532|    376|                std::uint8_t len{};
21533|    376|                std::int8_t subtype{};
21534|    376|                return get_number(len) &&
  ------------------
  |  Branch (21534:24): [True: 372, False: 4]
  ------------------
21535|    372|                       get_number(subtype) &&
  ------------------
  |  Branch (21535:24): [True: 366, False: 6]
  ------------------
21536|    366|                       get_binary(len, result) &&
  ------------------
  |  Branch (21536:24): [True: 363, False: 3]
  ------------------
21537|    363|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21537:24): [True: 363, False: 0]
  ------------------
21538|      0|            }
21539|       |
21540|    361|            case 0xC8: // ext 16
  ------------------
  |  Branch (21540:13): [True: 361, False: 16.9k]
  ------------------
21541|    361|            {
21542|    361|                std::uint16_t len{};
21543|    361|                std::int8_t subtype{};
21544|    361|                return get_number(len) &&
  ------------------
  |  Branch (21544:24): [True: 346, False: 15]
  ------------------
21545|    346|                       get_number(subtype) &&
  ------------------
  |  Branch (21545:24): [True: 338, False: 8]
  ------------------
21546|    338|                       get_binary(len, result) &&
  ------------------
  |  Branch (21546:24): [True: 331, False: 7]
  ------------------
21547|    331|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21547:24): [True: 331, False: 0]
  ------------------
21548|      0|            }
21549|       |
21550|    236|            case 0xC9: // ext 32
  ------------------
  |  Branch (21550:13): [True: 236, False: 17.0k]
  ------------------
21551|    236|            {
21552|    236|                std::uint32_t len{};
21553|    236|                std::int8_t subtype{};
21554|    236|                return get_number(len) &&
  ------------------
  |  Branch (21554:24): [True: 222, False: 14]
  ------------------
21555|    222|                       get_number(subtype) &&
  ------------------
  |  Branch (21555:24): [True: 215, False: 7]
  ------------------
21556|    215|                       get_binary(len, result) &&
  ------------------
  |  Branch (21556:24): [True: 206, False: 9]
  ------------------
21557|    206|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21557:24): [True: 206, False: 0]
  ------------------
21558|      0|            }
21559|       |
21560|  1.87k|            case 0xD4: // fixext 1
  ------------------
  |  Branch (21560:13): [True: 1.87k, False: 15.4k]
  ------------------
21561|  1.87k|            {
21562|  1.87k|                std::int8_t subtype{};
21563|  1.87k|                return get_number(subtype) &&
  ------------------
  |  Branch (21563:24): [True: 1.87k, False: 7]
  ------------------
21564|  1.87k|                       get_binary(1, result) &&
  ------------------
  |  Branch (21564:24): [True: 1.86k, False: 8]
  ------------------
21565|  1.86k|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21565:24): [True: 1.86k, False: 0]
  ------------------
21566|      0|            }
21567|       |
21568|    380|            case 0xD5: // fixext 2
  ------------------
  |  Branch (21568:13): [True: 380, False: 16.9k]
  ------------------
21569|    380|            {
21570|    380|                std::int8_t subtype{};
21571|    380|                return get_number(subtype) &&
  ------------------
  |  Branch (21571:24): [True: 375, False: 5]
  ------------------
21572|    375|                       get_binary(2, result) &&
  ------------------
  |  Branch (21572:24): [True: 369, False: 6]
  ------------------
21573|    369|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21573:24): [True: 369, False: 0]
  ------------------
21574|      0|            }
21575|       |
21576|    333|            case 0xD6: // fixext 4
  ------------------
  |  Branch (21576:13): [True: 333, False: 16.9k]
  ------------------
21577|    333|            {
21578|    333|                std::int8_t subtype{};
21579|    333|                return get_number(subtype) &&
  ------------------
  |  Branch (21579:24): [True: 327, False: 6]
  ------------------
21580|    327|                       get_binary(4, result) &&
  ------------------
  |  Branch (21580:24): [True: 320, False: 7]
  ------------------
21581|    320|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21581:24): [True: 320, False: 0]
  ------------------
21582|      0|            }
21583|       |
21584|    222|            case 0xD7: // fixext 8
  ------------------
  |  Branch (21584:13): [True: 222, False: 17.0k]
  ------------------
21585|    222|            {
21586|    222|                std::int8_t subtype{};
21587|    222|                return get_number(subtype) &&
  ------------------
  |  Branch (21587:24): [True: 218, False: 4]
  ------------------
21588|    218|                       get_binary(8, result) &&
  ------------------
  |  Branch (21588:24): [True: 209, False: 9]
  ------------------
21589|    209|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21589:24): [True: 209, False: 0]
  ------------------
21590|      0|            }
21591|       |
21592|    128|            case 0xD8: // fixext 16
  ------------------
  |  Branch (21592:13): [True: 128, False: 17.1k]
  ------------------
21593|    128|            {
21594|    128|                std::int8_t subtype{};
21595|    128|                return get_number(subtype) &&
  ------------------
  |  Branch (21595:24): [True: 122, False: 6]
  ------------------
21596|    122|                       get_binary(16, result) &&
  ------------------
  |  Branch (21596:24): [True: 107, False: 15]
  ------------------
21597|    107|                       assign_and_return_true(subtype);
  ------------------
  |  Branch (21597:24): [True: 107, False: 0]
  ------------------
21598|      0|            }
21599|       |
21600|      0|            default:           // LCOV_EXCL_LINE
  ------------------
  |  Branch (21600:13): [True: 0, False: 17.2k]
  ------------------
21601|      0|                return false;  // LCOV_EXCL_LINE
21602|  17.2k|        }
21603|  17.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryIhEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  12.1k|    {
23868|  12.1k|        return get_bytes(len, "binary", result);
23869|  12.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_binaryItEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  1.27k|    {
23868|  1.27k|        return get_bytes(len, "binary", result);
23869|  1.27k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18get_msgpack_binaryERNS0_27byte_container_with_subtypeISF_EEENKUlaE_clEa:
21502|  3.76k|        {
21503|  3.76k|            result.set_subtype(static_cast<std::uint8_t>(subtype));
21504|  3.76k|            return true;
21505|  3.76k|        };
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIaLb0EEEbRT_:
23596|  4.72k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.72k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.72k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.72k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.72k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.66k, False: 56]
  |  Branch (23603:34): [Folded, False: 4.66k]
  |  Branch (23603:57): [True: 0, False: 4.66k]
  ------------------
23604|  4.66k|        {
23605|  4.66k|            byte_swap(result);
23606|  4.66k|        }
23607|  4.72k|        return true;
23608|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIaEEbRT_PKc:
23503|  4.72k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.72k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.72k|        chars_read += new_chars_read;
23508|  4.72k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.72k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 56, False: 4.66k]
  |  |  ------------------
  ------------------
23509|     56|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     56|            ++chars_read;
23512|     56|            static_cast<void>(report_eof(context));
23513|     56|            return false;
23514|     56|        }
23515|  4.66k|        return true;
23516|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIaEEmPT_m:
 9597|  4.72k|    {
 9598|  4.72k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  4.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE9byte_swapIaEEvRT_:
23555|  4.66k|    {
23556|  4.66k|        constexpr std::size_t sz = sizeof(number);
23557|       |#ifdef __cpp_lib_byteswap
23558|       |        if constexpr (sz == 1)
23559|       |        {
23560|       |            return;
23561|       |        }
23562|       |        else if constexpr(std::is_integral_v<NumberType>)
23563|       |        {
23564|       |            number = std::byteswap(number);
23565|       |            return;
23566|       |        }
23567|       |        else
23568|       |        {
23569|       |#endif
23570|  4.66k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.66k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 4.66k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.66k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIaEEbT_:
23628|  1.34k|    {
23629|  1.34k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.34k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.34k, False: 0]
  |  |  ------------------
  ------------------
23630|  1.34k|        {
23631|  1.34k|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|  1.34k|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIsLb0EEEbRT_:
23596|    407|    {
23597|       |        // read in the original format
23598|       |
23599|    407|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    407|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 407]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    407|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 392, False: 15]
  |  Branch (23603:34): [Folded, False: 392]
  |  Branch (23603:57): [True: 0, False: 392]
  ------------------
23604|    392|        {
23605|    392|            byte_swap(result);
23606|    392|        }
23607|    407|        return true;
23608|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE6get_toIsEEbRT_PKc:
23503|    407|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    407|        auto new_chars_read = ia.get_elements(&dest);
23507|    407|        chars_read += new_chars_read;
23508|    407|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    407|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 392]
  |  |  ------------------
  ------------------
23509|     15|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     15|            ++chars_read;
23512|     15|            static_cast<void>(report_eof(context));
23513|     15|            return false;
23514|     15|        }
23515|    392|        return true;
23516|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIsEEmPT_m:
 9597|    407|    {
 9598|    407|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    407|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE11emit_signedIsEEbT_:
23628|    859|    {
23629|    859|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    859|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 859, False: 0]
  |  |  ------------------
  ------------------
23630|    859|        {
23631|    859|            return sax->number_integer(static_cast<number_integer_t>(number));
23632|    859|        }
23633|      0|        if (value_in_range_of<number_unsigned_t>(number))
  ------------------
  |  Branch (23633:13): [True: 0, False: 0]
  ------------------
23634|      0|        {
23635|      0|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23636|      0|        }
23637|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23638|      0|        return emit_float(static_cast<long double>(number));
23639|      0|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIiLb0EEEbRT_:
23596|    337|    {
23597|       |        // read in the original format
23598|       |
23599|    337|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    337|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 337]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    337|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 314, False: 23]
  |  Branch (23603:34): [Folded, False: 314]
  |  Branch (23603:57): [True: 0, False: 314]
  ------------------
23604|    314|        {
23605|    314|            byte_swap(result);
23606|    314|        }
23607|    337|        return true;
23608|    337|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE10get_numberIlLb0EEEbRT_:
23596|    563|    {
23597|       |        // read in the original format
23598|       |
23599|    563|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    563|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 563]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    563|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 538, False: 25]
  |  Branch (23603:34): [Folded, False: 538]
  |  Branch (23603:57): [True: 0, False: 538]
  ------------------
23604|    538|        {
23605|    538|            byte_swap(result);
23606|    538|        }
23607|    563|        return true;
23608|    563|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE15last_byte_errorENS1_12exception_idERKSC_PKcSP_:
24055|    325|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    325|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    325|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 2, False: 323]
  ------------------
24059|    325|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE3getEv:
23488|   298k|    {
23489|   298k|        ++chars_read;
23490|   298k|        return current = ia.get_character();
23491|   298k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter13get_characterEv:
 9568|   298k|    {
 9569|       |        // what getc_unlocked() does, while the buffer has characters
 9570|   298k|        const char* const next = buffer_ptr();
 9571|   298k|        if (JSON_HEDLEY_LIKELY(next != buffer_end()))
  ------------------
  |  | 1696|   298k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 280k, False: 17.9k]
  |  |  ------------------
  ------------------
 9572|   280k|        {
 9573|   280k|            current_in_buffer = true;
 9574|   280k|            buffer_bump(1);
 9575|   280k|            return std::char_traits<char>::to_int_type(*next);
 9576|   280k|        }
 9577|  17.9k|        return get_character_slow();
 9578|   298k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter18get_character_slowEv:
 9706|  17.9k|    {
 9707|  17.9k|        if (token_segment != nullptr)
  ------------------
  |  Branch (9707:13): [True: 0, False: 17.9k]
  ------------------
 9708|      0|        {
 9709|      0|            token_carry.append(token_segment, buffer_end());
 9710|      0|            token_segment = nullptr;
 9711|      0|        }
 9712|  17.9k|        const auto res = getc_unlocked(m_file);
 9713|  17.9k|        if (res == EOF)
  ------------------
  |  Branch (9713:13): [True: 8.26k, False: 9.64k]
  ------------------
 9714|  8.26k|        {
 9715|  8.26k|            current_in_buffer = false;
 9716|  8.26k|            return std::char_traits<char>::eof();
 9717|  8.26k|        }
 9718|       |        // the character was taken from the refilled buffer, at buffer_ptr() - 1
 9719|  9.64k|        current_in_buffer = true;
 9720|  9.64k|        if (tracking_token)
  ------------------
  |  Branch (9720:13): [True: 0, False: 9.64k]
  ------------------
 9721|      0|        {
 9722|      0|            token_segment = buffer_ptr() - 1;
 9723|      0|        }
 9724|  9.64k|        return res;
 9725|  17.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE16position_bindingD2Ev:
19134|  9.64k|        {
19135|  9.64k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.64k, False: 0]
  ------------------
19136|  9.64k|            {
19137|  9.64k|                parser->set_reserve_state(saved);
19138|  9.64k|            }
19139|  9.64k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEED2Ev:
19002|  9.64k|    ~binary_reader() = default;
_ZN8nlohmann16json_abi_v3_12_06detail26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterEED2Ev:
17829|  9.64k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterEP8_IO_FILE:
10862|  9.64k|{
10863|  9.64k|    if (file == nullptr)
  ------------------
  |  Branch (10863:9): [True: 0, False: 9.64k]
  ------------------
10864|      0|    {
10865|      0|        JSON_THROW(parse_error::create(exception_id::syntax_error, 0, empty_input_message(), nullptr));
  ------------------
  |  | 2618|      0|    #define JSON_THROW(exception) throw exception
  ------------------
10866|      0|    }
10867|  9.64k|    return file_input_adapter(file);
10868|  9.64k|}
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterC2EP8_IO_FILE:
 9539|  9.64k|        : m_file(f)
 9540|  9.64k|    {
 9541|  9.64k|        JSON_ASSERT(m_file != nullptr);
  ------------------
  |  | 2653|  9.64k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9541:9): [True: 9.64k, False: 0]
  ------------------
 9542|  9.64k|        lock();
 9543|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter4lockEv:
 9733|  9.64k|    {
 9734|  9.64k|#if JSON_UNLOCKED_FILE_IO == 1
 9735|  9.64k|        flockfile(m_file);
 9736|       |#elif JSON_UNLOCKED_FILE_IO == 2
 9737|       |        _lock_file(m_file);
 9738|       |#endif
 9739|  9.64k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterD2Ev:
 9562|  19.2k|    {
 9563|  19.2k|        unlock();
 9564|  19.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter6unlockEv:
 9742|  19.2k|    {
 9743|       |        // a moved-from adapter has no file and holds no lock
 9744|  19.2k|        if (m_file == nullptr)
  ------------------
  |  Branch (9744:13): [True: 9.64k, False: 9.64k]
  ------------------
 9745|  9.64k|        {
 9746|  9.64k|            return;
 9747|  9.64k|        }
 9748|  9.64k|#if JSON_UNLOCKED_FILE_IO == 1
 9749|  9.64k|        funlockfile(m_file);
 9750|       |#elif JSON_UNLOCKED_FILE_IO == 2
 9751|       |        _unlock_file(m_file);
 9752|       |#endif
 9753|  9.64k|    }

LLVMFuzzerTestOneInput:
   46|  9.64k|{
   47|  9.64k|    std::vector<uint8_t> const vec1(data, data + size);
   48|       |
   49|       |    // step 0: parse input without exceptions
   50|  9.64k|    bool noexcept_threw = false;
   51|  9.64k|    json const j_noexcept = parse_without_exceptions([&] { return json::from_msgpack(vec1, true, false); }, noexcept_threw);
   52|       |    // whether step 1 succeeded; if not, the catch blocks below check that
   53|       |    // step 0 failed, too
   54|  9.64k|    bool parsed = false;
   55|       |
   56|  9.64k|    try
   57|  9.64k|    {
   58|       |        // step 1: parse input
   59|  9.64k|        json const j1 = json::from_msgpack(vec1);
   60|  9.64k|        parsed = true;
   61|       |
   62|       |        // without exceptions, the same input must give the same value
   63|  9.64k|        assert(!noexcept_threw && !j_noexcept.is_discarded() && same_value(j_noexcept, j1));
  ------------------
  |  Branch (63:9): [True: 5.25k, False: 4.39k]
  |  Branch (63:9): [True: 5.25k, False: 0]
  |  Branch (63:9): [True: 5.25k, False: 0]
  |  Branch (63:9): [True: 5.25k, False: 4.39k]
  ------------------
   64|       |
   65|  5.25k|        try
   66|  5.25k|        {
   67|       |            // step 2: round trip
   68|  5.25k|            std::vector<uint8_t> const vec2 = json::to_msgpack(j1);
   69|       |
   70|       |            // parse serialization
   71|  5.25k|            json const j2 = json::from_msgpack(vec2);
   72|       |
   73|       |            // serializations must match
   74|  5.25k|            assert(json::to_msgpack(j2) == vec2);
  ------------------
  |  Branch (74:13): [True: 5.25k, False: 0]
  ------------------
   75|  5.25k|        }
   76|  5.25k|        catch (const json::parse_error&)
   77|  5.25k|        {
   78|       |            // parsing a MessagePack serialization must not fail
   79|      0|            assert(false);
  ------------------
  |  Branch (79:13): [Folded, False: 0]
  ------------------
   80|      0|        }
   81|  5.25k|    }
   82|  9.64k|    catch (const json::parse_error&)
   83|  9.64k|    {
   84|       |        // parse errors are ok, because input may be random bytes
   85|  4.39k|        assert(parsed || noexcept_threw || j_noexcept.is_discarded());
  ------------------
  |  Branch (85:9): [True: 0, False: 4.39k]
  |  Branch (85:9): [True: 0, False: 4.39k]
  |  Branch (85:9): [True: 4.39k, False: 0]
  |  Branch (85:9): [True: 4.39k, False: 0]
  ------------------
   86|  4.39k|    }
   87|  9.64k|    catch (const json::type_error&)
   88|  9.64k|    {
   89|       |        // type errors can occur during parsing, too
   90|      0|        assert(parsed || noexcept_threw || j_noexcept.is_discarded());
  ------------------
  |  Branch (90:9): [True: 0, False: 0]
  |  Branch (90:9): [True: 0, False: 0]
  |  Branch (90:9): [True: 0, False: 0]
  |  Branch (90:9): [True: 0, False: 0]
  ------------------
   91|      0|    }
   92|  9.64k|    catch (const json::out_of_range&)
   93|  9.64k|    {
   94|       |        // out of range errors may happen if provided sizes are excessive
   95|      0|        assert(parsed || noexcept_threw || j_noexcept.is_discarded());
  ------------------
  |  Branch (95:9): [True: 0, False: 0]
  |  Branch (95:9): [True: 0, False: 0]
  |  Branch (95:9): [True: 0, False: 0]
  |  Branch (95:9): [True: 0, False: 0]
  ------------------
   96|      0|    }
   97|       |
   98|       |    // step 3: the other input adapters must read the data alike
   99|  9.64k|    check_input_adapters(data, size, read_msgpack());
  100|       |
  101|       |    // return 0 - non-zero return values are reserved for future use
  102|  9.64k|    return 0;
  103|  9.64k|}
fuzzer-parse_msgpack.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clEv:
   51|  9.64k|    json const j_noexcept = parse_without_exceptions([&] { return json::from_msgpack(vec1, true, false); }, noexcept_threw);
fuzzer-parse_msgpack.cpp:_ZNK12_GLOBAL__N_112read_msgpackclIJRPKhS3_EEEN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS8_6vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSE_NS6_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.64k|    {
   39|  9.64k|        return json::from_msgpack(std::forward<Args>(args)...);
   40|  9.64k|    }
fuzzer-parse_msgpack.cpp:_ZNK12_GLOBAL__N_112read_msgpackclIJRNSt3__119basic_istringstreamIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEN8nlohmann16json_abi_v3_12_010basic_jsonINS2_3mapENS2_6vectorENS2_12basic_stringIcS5_S7_EEblmdS6_NSB_14adl_serializerENSE_IhNS6_IhEEEEvEEDpOT_:
   38|  9.64k|    {
   39|  9.64k|        return json::from_msgpack(std::forward<Args>(args)...);
   40|  9.64k|    }
fuzzer-parse_msgpack.cpp:_ZNK12_GLOBAL__N_112read_msgpackclIJNSt3__121__list_const_iteratorIhPvEES5_EEEN8nlohmann16json_abi_v3_12_010basic_jsonINS2_3mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdSE_NS7_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.64k|    {
   39|  9.64k|        return json::from_msgpack(std::forward<Args>(args)...);
   40|  9.64k|    }
fuzzer-parse_msgpack.cpp:_ZNK12_GLOBAL__N_112read_msgpackclIJRP8_IO_FILEEEEN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS8_6vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSE_NS6_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.64k|    {
   39|  9.64k|        return json::from_msgpack(std::forward<Args>(args)...);
   40|  9.64k|    }

_Z10same_valueRKN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEESG_:
   34|  5.25k|{
   35|  5.25k|    return lhs.dump(-1, ' ', false, json::error_handler_t::keep) == rhs.dump(-1, ' ', false, json::error_handler_t::keep);
   36|  5.25k|}
fuzzer-parse_msgpack.cpp:_Z24parse_without_exceptionsIZ22LLVMFuzzerTestOneInputE3$_0EN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEET_Rb:
   44|  9.64k|{
   45|  9.64k|    threw = false;
   46|  9.64k|    try
   47|  9.64k|    {
   48|  9.64k|        return parse();
   49|  9.64k|    }
   50|  9.64k|    catch (const json::parse_error&)
   51|  9.64k|    {
   52|      0|        assert(false);
  ------------------
  |  Branch (52:9): [Folded, False: 0]
  ------------------
   53|      0|    }
   54|  9.64k|    catch (const json::exception&)
   55|  9.64k|    {
   56|      0|        threw = true;
   57|      0|    }
   58|      0|    return {};
   59|  9.64k|}
fuzzer-parse_msgpack.cpp:_Z20check_input_adaptersIN12_GLOBAL__N_112read_msgpackEEvPKhmRKT_:
  117|  9.64k|{
  118|  9.64k|    const read_outcome expected = read_with(parse, data, data + size);
  119|       |
  120|       |    // stream adapter
  121|  9.64k|    {
  122|  9.64k|        std::istringstream stream(std::string(reinterpret_cast<const char*>(data), size));
  123|  9.64k|        assert(read_with(parse, stream) == expected);
  ------------------
  |  Branch (123:9): [True: 9.64k, False: 0]
  ------------------
  124|  9.64k|    }
  125|       |
  126|       |    // iterator adapter on a non-contiguous range
  127|  9.64k|    {
  128|  9.64k|        const std::list<std::uint8_t> list(data, data + size);
  129|  9.64k|        assert(read_with(parse, list.begin(), list.end()) == expected);
  ------------------
  |  Branch (129:9): [True: 9.64k, False: 0]
  ------------------
  130|  9.64k|    }
  131|       |
  132|  9.64k|#if defined(__unix__) || defined(__APPLE__)
  133|       |    // FILE* adapter; fmemopen may refuse an empty buffer
  134|  9.64k|    {
  135|  9.64k|        std::vector<std::uint8_t> buffer(data, data + size);
  136|  9.64k|        std::FILE* file = buffer.empty() ? nullptr : fmemopen(buffer.data(), buffer.size(), "rb");
  ------------------
  |  Branch (136:27): [True: 0, False: 9.64k]
  ------------------
  137|  9.64k|        if (file != nullptr)
  ------------------
  |  Branch (137:13): [True: 9.64k, False: 0]
  ------------------
  138|  9.64k|        {
  139|  9.64k|            const read_outcome actual = read_with(parse, file);
  140|  9.64k|            std::fclose(file);
  141|       |            assert(actual == expected);
  ------------------
  |  Branch (141:13): [True: 9.64k, False: 0]
  ------------------
  142|  9.64k|        }
  143|  9.64k|    }
  144|  9.64k|#endif
  145|  9.64k|}
fuzzer-parse_msgpack.cpp:_Z9read_withIN12_GLOBAL__N_112read_msgpackEJRPKhS3_EE12read_outcomeRKT_DpOT0_:
   88|  9.64k|{
   89|  9.64k|    read_outcome result;
   90|  9.64k|    try
   91|  9.64k|    {
   92|  9.64k|        result.value = outcome_value(parse(std::forward<Args>(args)...));
   93|  9.64k|    }
   94|  9.64k|    catch (const json::parse_error& e)
   95|  9.64k|    {
   96|  4.39k|        result.id = e.id;
   97|  4.39k|        result.what = e.what();
   98|  4.39k|        result.byte = e.byte;
   99|  4.39k|    }
  100|  9.64k|    catch (const json::exception& e)
  101|  9.64k|    {
  102|      0|        result.id = e.id;
  103|      0|        result.what = e.what();
  104|      0|    }
  105|  9.64k|    return result;
  106|  9.64k|}
_Z13outcome_valueRKN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEE:
   77|  21.0k|{
   78|  21.0k|    return j.dump(-1, ' ', false, json::error_handler_t::keep);
   79|  21.0k|}
fuzzer-parse_msgpack.cpp:_Z9read_withIN12_GLOBAL__N_112read_msgpackEJRNSt3__119basic_istringstreamIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE12read_outcomeRKT_DpOT0_:
   88|  9.64k|{
   89|  9.64k|    read_outcome result;
   90|  9.64k|    try
   91|  9.64k|    {
   92|  9.64k|        result.value = outcome_value(parse(std::forward<Args>(args)...));
   93|  9.64k|    }
   94|  9.64k|    catch (const json::parse_error& e)
   95|  9.64k|    {
   96|  4.39k|        result.id = e.id;
   97|  4.39k|        result.what = e.what();
   98|  4.39k|        result.byte = e.byte;
   99|  4.39k|    }
  100|  9.64k|    catch (const json::exception& e)
  101|  9.64k|    {
  102|      0|        result.id = e.id;
  103|      0|        result.what = e.what();
  104|      0|    }
  105|  9.64k|    return result;
  106|  9.64k|}
_ZNK12read_outcomeeqERKS_:
   71|  28.9k|    {
   72|  28.9k|        return value == rhs.value && id == rhs.id && what == rhs.what && byte == rhs.byte;
  ------------------
  |  Branch (72:16): [True: 28.9k, False: 0]
  |  Branch (72:38): [True: 28.9k, False: 0]
  |  Branch (72:54): [True: 28.9k, False: 0]
  |  Branch (72:74): [True: 28.9k, False: 0]
  ------------------
   73|  28.9k|    }
fuzzer-parse_msgpack.cpp:_Z9read_withIN12_GLOBAL__N_112read_msgpackEJNSt3__121__list_const_iteratorIhPvEES5_EE12read_outcomeRKT_DpOT0_:
   88|  9.64k|{
   89|  9.64k|    read_outcome result;
   90|  9.64k|    try
   91|  9.64k|    {
   92|  9.64k|        result.value = outcome_value(parse(std::forward<Args>(args)...));
   93|  9.64k|    }
   94|  9.64k|    catch (const json::parse_error& e)
   95|  9.64k|    {
   96|  4.39k|        result.id = e.id;
   97|  4.39k|        result.what = e.what();
   98|  4.39k|        result.byte = e.byte;
   99|  4.39k|    }
  100|  9.64k|    catch (const json::exception& e)
  101|  9.64k|    {
  102|      0|        result.id = e.id;
  103|      0|        result.what = e.what();
  104|      0|    }
  105|  9.64k|    return result;
  106|  9.64k|}
fuzzer-parse_msgpack.cpp:_Z9read_withIN12_GLOBAL__N_112read_msgpackEJRP8_IO_FILEEE12read_outcomeRKT_DpOT0_:
   88|  9.64k|{
   89|  9.64k|    read_outcome result;
   90|  9.64k|    try
   91|  9.64k|    {
   92|  9.64k|        result.value = outcome_value(parse(std::forward<Args>(args)...));
   93|  9.64k|    }
   94|  9.64k|    catch (const json::parse_error& e)
   95|  9.64k|    {
   96|  4.39k|        result.id = e.id;
   97|  4.39k|        result.what = e.what();
   98|  4.39k|        result.byte = e.byte;
   99|  4.39k|    }
  100|  9.64k|    catch (const json::exception& e)
  101|  9.64k|    {
  102|      0|        result.id = e.id;
  103|      0|        result.what = e.what();
  104|      0|    }
  105|  9.64k|    return result;
  106|  9.64k|}

