_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12is_discardedEv:
43101|  9.02k|    {
43102|  9.02k|        return m_data.m_type == value_t::discarded;
43103|  9.02k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dumpEicbNS0_6detail15error_handler_tE:
42973|  26.7k|    {
42974|  26.7k|        string_t result;
42975|  26.7k|        detail::output_string_adapter<char, string_t> string_adapter(result);
42976|       |
42977|  26.7k|        if (indent >= 0)
  ------------------
  |  Branch (42977:13): [True: 0, False: 26.7k]
  ------------------
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|  26.7k|        else
42984|  26.7k|        {
42985|  26.7k|            serializer s(string_adapter, indent_char,
42986|  26.7k|                         false, ensure_ascii, 0, error_handler);
42987|  26.7k|            s.dump(*this);
42988|  26.7k|        }
42989|       |
42990|  26.7k|        return result;
42991|  26.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEC2ERS9_:
30100|  26.7k|        : str(s)
30101|  26.7k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail23output_adapter_protocolIcEC2Ev:
29758|  26.7k|    output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_12_06detail23output_adapter_protocolIcED2Ev:
29756|  26.7k|    virtual ~output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_12_06detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEE16write_charactersEPKcm:
30109|  30.5k|    {
30110|  30.5k|        str.append(s, length);
30111|  30.5k|    }
_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|  26.7k|        : o(&s)
37674|  26.7k|        , number_buffer() // NOLINT(readability-redundant-member-init)
37675|  26.7k|        , string_buffer() // NOLINT(readability-redundant-member-init)
37676|  26.7k|        , indent_char(ichar)
37677|  26.7k|        , pretty_print(pretty_print_)
37678|  26.7k|        , ensure_ascii(ensure_ascii_)
37679|  26.7k|        , indent_step(indent_step_)
37680|  26.7k|        , error_handler(error_handler_)
37681|  26.7k|        , write_buffer() // NOLINT(readability-redundant-member-init)
37682|  26.7k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE20uninitialized_bufferILm64EEC2Ev:
39810|  26.7k|        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|  26.7k|        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|  26.7k|        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|  26.7k|    {
37712|  26.7k|        dump_element(val, current_indent, 0);
37713|  26.7k|        flush();
37714|  26.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_elementERKSG_mm:
37862|   686k|    {
37863|   686k|        if (val.m_data.m_type == value_t::object || val.m_data.m_type == value_t::array)
  ------------------
  |  Branch (37863:13): [True: 42.6k, False: 643k]
  |  Branch (37863:53): [True: 322k, False: 320k]
  ------------------
37864|   365k|        {
37865|   365k|            dump_container(val, current_indent, depth);
37866|   365k|        }
37867|   320k|        else
37868|   320k|        {
37869|   320k|            dump_scalar(val, current_indent);
37870|   320k|        }
37871|   686k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14dump_containerERKSG_mm:
37737|   365k|    {
37738|   365k|        JSON_ASSERT(val.m_data.m_type == value_t::object || val.m_data.m_type == value_t::array);
  ------------------
  |  | 2653|   365k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37738:9): [True: 42.6k, False: 322k]
  |  Branch (37738:9): [True: 322k, False: 0]
  |  Branch (37738:9): [True: 365k, False: 0]
  ------------------
37739|       |
37740|   365k|        if (JSON_HEDLEY_UNLIKELY(depth >= recursion_depth_limit()))
  ------------------
  |  | 1697|   365k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 12.4k, False: 353k]
  |  |  ------------------
  ------------------
37741|  12.4k|        {
37742|  12.4k|            dump_iteratively(val, current_indent);
37743|  12.4k|            return;
37744|  12.4k|        }
37745|       |
37746|   353k|        if (val.m_data.m_type == value_t::object)
  ------------------
  |  Branch (37746:13): [True: 34.8k, False: 318k]
  ------------------
37747|  34.8k|        {
37748|  34.8k|            if (val.m_data.m_value.object->empty())
  ------------------
  |  Branch (37748:17): [True: 10.1k, False: 24.6k]
  ------------------
37749|  10.1k|            {
37750|  10.1k|                put_literal("{}");
37751|  10.1k|                return;
37752|  10.1k|            }
37753|       |
37754|  24.6k|            if (pretty_print)
  ------------------
  |  Branch (37754:17): [True: 0, False: 24.6k]
  ------------------
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|  24.6k|            else
37780|  24.6k|            {
37781|  24.6k|                put_char('{');
37782|       |
37783|       |                // first n-1 elements
37784|  24.6k|                auto i = val.m_data.m_value.object->cbegin();
37785|  48.6k|                for (std::size_t cnt = 0; cnt < val.m_data.m_value.object->size() - 1; ++cnt, ++i)
  ------------------
  |  Branch (37785:43): [True: 23.9k, False: 24.6k]
  ------------------
37786|  23.9k|                {
37787|  23.9k|                    put_object_key(i->first, "\":");
37788|  23.9k|                    dump_element(i->second, 0, depth + 1);
37789|  23.9k|                    put_char(',');
37790|  23.9k|                }
37791|       |
37792|       |                // last element
37793|  24.6k|                JSON_ASSERT(i != val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|  24.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37793:17): [True: 24.6k, False: 0]
  ------------------
37794|  24.6k|                JSON_ASSERT(std::next(i) == val.m_data.m_value.object->cend());
  ------------------
  |  | 2653|  24.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37794:17): [True: 24.6k, False: 0]
  ------------------
37795|  24.6k|                put_object_key(i->first, "\":");
37796|  24.6k|                dump_element(i->second, 0, depth + 1);
37797|       |
37798|  24.6k|                put_char('}');
37799|  24.6k|            }
37800|  24.6k|            return;
37801|  24.6k|        }
37802|       |
37803|   318k|        if (val.m_data.m_value.array->empty())
  ------------------
  |  Branch (37803:13): [True: 8.28k, False: 309k]
  ------------------
37804|  8.28k|        {
37805|  8.28k|            put_literal("[]");
37806|  8.28k|            return;
37807|  8.28k|        }
37808|       |
37809|   309k|        if (pretty_print)
  ------------------
  |  Branch (37809:13): [True: 0, False: 309k]
  ------------------
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|   309k|        else
37832|   309k|        {
37833|   309k|            put_char('[');
37834|       |
37835|       |            // first n-1 elements
37836|   309k|            for (auto i = val.m_data.m_value.array->cbegin();
37837|   610k|                    i != val.m_data.m_value.array->cend() - 1; ++i)
  ------------------
  |  Branch (37837:21): [True: 300k, False: 309k]
  ------------------
37838|   300k|            {
37839|   300k|                dump_element(*i, 0, depth + 1);
37840|   300k|                put_char(',');
37841|   300k|            }
37842|       |
37843|       |            // last element
37844|   309k|            JSON_ASSERT(!val.m_data.m_value.array->empty());
  ------------------
  |  | 2653|   309k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37844:13): [True: 309k, False: 0]
  ------------------
37845|   309k|            dump_element(val.m_data.m_value.array->back(), 0, depth + 1);
37846|       |
37847|   309k|            put_char(']');
37848|   309k|        }
37849|   309k|    }
_ZN8nlohmann16json_abi_v3_12_06detail21recursion_depth_limitEv:
 8762|  1.26M|{
 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.26M|    static_assert(std::is_integral<decltype(JSON_RECURSION_DEPTH_LIMIT)>::value
 8767|  1.26M|                  && !recursion_depth_limit_is_char_or_bool<typename std::remove_cv<decltype(JSON_RECURSION_DEPTH_LIMIT)>::type>::value,
 8768|  1.26M|                  "JSON_RECURSION_DEPTH_LIMIT must be an integer constant (not bool or a character type)");
 8769|  1.26M|    static_assert(JSON_RECURSION_DEPTH_LIMIT >= 0 && JSON_RECURSION_DEPTH_LIMIT <= 254,
 8770|  1.26M|                  "JSON_RECURSION_DEPTH_LIMIT must be between 0 and 254: the nesting depth is counted in a byte per thread "
 8771|  1.26M|                  "and may exceed the limit by one (see https://json.nlohmann.me/api/macros/json_recursion_depth_limit/)");
 8772|  1.26M|    return static_cast<std::size_t>(JSON_RECURSION_DEPTH_LIMIT);
  ------------------
  |  | 8697|  1.26M|    #define JSON_RECURSION_DEPTH_LIMIT 128
  ------------------
 8773|  1.26M|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16dump_iterativelyERKSG_m:
37884|  12.4k|    {
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|  12.4k|        std::vector<dump_frame> stack;
37889|       |
37890|  12.4k|        dump_value(val, current_indent, stack);
37891|       |
37892|   457k|        while (!stack.empty())
  ------------------
  |  Branch (37892:16): [True: 444k, False: 12.4k]
  ------------------
37893|   444k|        {
37894|   444k|            dump_frame& frame = stack.back();
37895|       |
37896|   444k|            if (frame.value->m_data.m_type == value_t::object)
  ------------------
  |  Branch (37896:17): [True: 81.5k, False: 363k]
  ------------------
37897|  81.5k|            {
37898|  81.5k|                const auto* object = frame.value->m_data.m_value.object;
37899|       |
37900|  81.5k|                if (frame.object_it == object->cend())
  ------------------
  |  Branch (37900:21): [True: 36.0k, False: 45.4k]
  ------------------
37901|  36.0k|                {
37902|  36.0k|                    if (pretty_print)
  ------------------
  |  Branch (37902:25): [True: 0, False: 36.0k]
  ------------------
37903|      0|                    {
37904|      0|                        put_literal_indent("\n", frame.current_indent);
37905|      0|                    }
37906|       |
37907|  36.0k|                    put_char('}');
37908|  36.0k|                    stack.pop_back();
37909|  36.0k|                    continue;
37910|  36.0k|                }
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|  45.4k|                if (frame.object_it != object->cbegin())
  ------------------
  |  Branch (37914:21): [True: 9.47k, False: 36.0k]
  ------------------
37915|  9.47k|                {
37916|  9.47k|                    if (pretty_print)
  ------------------
  |  Branch (37916:25): [True: 0, False: 9.47k]
  ------------------
37917|      0|                    {
37918|      0|                        put_literal(",\n");
37919|      0|                    }
37920|  9.47k|                    else
37921|  9.47k|                    {
37922|  9.47k|                        put_char(',');
37923|  9.47k|                    }
37924|  9.47k|                }
37925|       |
37926|  45.4k|                if (pretty_print)
  ------------------
  |  Branch (37926:21): [True: 0, False: 45.4k]
  ------------------
37927|      0|                {
37928|      0|                    put_indent(frame.child_indent);
37929|      0|                }
37930|       |
37931|  45.4k|                if (pretty_print)
  ------------------
  |  Branch (37931:21): [True: 0, False: 45.4k]
  ------------------
37932|      0|                {
37933|      0|                    put_object_key(frame.object_it->first, "\": ");
37934|      0|                }
37935|  45.4k|                else
37936|  45.4k|                {
37937|  45.4k|                    put_object_key(frame.object_it->first, "\":");
37938|  45.4k|                }
37939|       |
37940|  45.4k|                const BasicJsonType& element = frame.object_it->second;
37941|  45.4k|                ++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|  45.4k|                const std::size_t element_indent = frame.child_indent;
37946|  45.4k|                dump_value(element, element_indent, stack);
37947|  45.4k|            }
37948|   363k|            else
37949|   363k|            {
37950|   363k|                const auto* array = frame.value->m_data.m_value.array;
37951|       |
37952|   363k|                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: 22.9k, False: 170k]
  ------------------
37965|  22.9k|                {
37966|  22.9k|                    if (pretty_print)
  ------------------
  |  Branch (37966:25): [True: 0, False: 22.9k]
  ------------------
37967|      0|                    {
37968|      0|                        put_literal(",\n");
37969|      0|                    }
37970|  22.9k|                    else
37971|  22.9k|                    {
37972|  22.9k|                        put_char(',');
37973|  22.9k|                    }
37974|  22.9k|                }
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|   444k|        }
37989|  12.4k|    }
_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|   251k|    {
38028|   251k|        switch (val.m_data.m_type)
38029|   251k|        {
38030|  46.2k|            case value_t::object:
  ------------------
  |  Branch (38030:13): [True: 46.2k, False: 204k]
  ------------------
38031|  46.2k|            {
38032|  46.2k|                if (val.m_data.m_value.object->empty())
  ------------------
  |  Branch (38032:21): [True: 10.1k, False: 36.0k]
  ------------------
38033|  10.1k|                {
38034|  10.1k|                    put_literal("{}");
38035|  10.1k|                    return;
38036|  10.1k|                }
38037|       |
38038|  36.0k|                std::size_t child_indent = current_indent;
38039|       |
38040|  36.0k|                if (pretty_print)
  ------------------
  |  Branch (38040:21): [True: 0, False: 36.0k]
  ------------------
38041|      0|                {
38042|      0|                    put_literal("{\n");
38043|      0|                    child_indent = next_indent(current_indent, indent_step);
38044|      0|                }
38045|  36.0k|                else
38046|  36.0k|                {
38047|  36.0k|                    put_char('{');
38048|  36.0k|                }
38049|       |
38050|  36.0k|                stack.emplace_back(&val, current_indent, child_indent);
38051|  36.0k|                stack.back().object_it = val.m_data.m_value.object->cbegin();
38052|  36.0k|                return;
38053|  46.2k|            }
38054|       |
38055|   176k|            case value_t::array:
  ------------------
  |  Branch (38055:13): [True: 176k, False: 74.8k]
  ------------------
38056|   176k|            {
38057|   176k|                if (val.m_data.m_value.array->empty())
  ------------------
  |  Branch (38057:21): [True: 5.98k, False: 170k]
  ------------------
38058|  5.98k|                {
38059|  5.98k|                    put_literal("[]");
38060|  5.98k|                    return;
38061|  5.98k|                }
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|   176k|            }
38079|       |
38080|  2.53k|            case value_t::string:
  ------------------
  |  Branch (38080:13): [True: 2.53k, False: 248k]
  ------------------
38081|  11.3k|            case value_t::binary:
  ------------------
  |  Branch (38081:13): [True: 8.79k, False: 242k]
  ------------------
38082|  11.8k|            case value_t::boolean:
  ------------------
  |  Branch (38082:13): [True: 558, False: 250k]
  ------------------
38083|  18.2k|            case value_t::number_integer:
  ------------------
  |  Branch (38083:13): [True: 6.37k, False: 244k]
  ------------------
38084|  25.8k|            case value_t::number_unsigned:
  ------------------
  |  Branch (38084:13): [True: 7.56k, False: 243k]
  ------------------
38085|  28.2k|            case value_t::number_float:
  ------------------
  |  Branch (38085:13): [True: 2.44k, False: 248k]
  ------------------
38086|  28.2k|            case value_t::discarded:
  ------------------
  |  Branch (38086:13): [True: 0, False: 251k]
  ------------------
38087|  28.6k|            case value_t::null:
  ------------------
  |  Branch (38087:13): [True: 396, False: 250k]
  ------------------
38088|  28.6k|            default:
  ------------------
  |  Branch (38088:13): [True: 0, False: 251k]
  ------------------
38089|  28.6k|                dump_scalar(val, current_indent);
38090|  28.6k|                return;
38091|   251k|        }
38092|   251k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_frameC2EPKSG_mm:
37997|   206k|            : value(value_)
37998|   206k|            , current_indent(current_indent_)
37999|   206k|            , child_indent(child_indent_)
38000|   206k|        {}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm3EEEvRAT__Kc:
39040|  50.7k|    {
39041|  50.7k|        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|  50.7k|        constexpr std::size_t length = N - 1;
39044|  50.7k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  50.7k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  50.7k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 372, False: 50.3k]
  |  |  ------------------
  ------------------
39047|    372|        {
39048|    372|            flush();
39049|    372|        }
39050|  50.7k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  50.7k|        write_buffer_pos += length;
39052|  50.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18copy_plain_vectorsEPcPKcm:
38458|  4.94k|    {
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|  4.94k|        const __m128i a = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
38477|  4.94k|        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|  4.94k|        const __m128i backslash = _mm_set1_epi8('\\');
38481|  4.94k|        const __m128i del = _mm_set1_epi8(0x7F);
38482|  4.94k|        const __m128i flip = _mm_set1_epi8(2);
38483|  4.94k|        const __m128i limit = _mm_set1_epi8(33);
38484|  4.94k|        const __m128i special = _mm_or_si128(_mm_or_si128(_mm_or_si128(_mm_cmpeq_epi8(a, backslash), _mm_cmpeq_epi8(b, backslash)),
38485|  4.94k|                                             _mm_or_si128(_mm_cmpeq_epi8(a, del), _mm_cmpeq_epi8(b, del))),
38486|  4.94k|                                             _mm_or_si128(_mm_cmplt_epi8(_mm_xor_si128(a, flip), limit), _mm_cmplt_epi8(_mm_xor_si128(b, flip), limit)));
38487|  4.94k|        if (_mm_movemask_epi8(special) != 0)
  ------------------
  |  Branch (38487:13): [True: 4.41k, False: 534]
  ------------------
38488|  4.41k|        {
38489|  4.41k|            return false;
38490|  4.41k|        }
38491|    534|        _mm_storeu_si128(static_cast<__m128i*>(static_cast<void*>(d)), a); // NOLINT(bugprone-casting-through-void)
38492|    534|        _mm_storeu_si128(static_cast<__m128i*>(static_cast<void*>(d + n - 16)), b); // NOLINT(bugprone-casting-through-void)
38493|    534|#endif
38494|    534|        return true;
38495|  4.94k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17copy_plain_halvesEPcPKcm:
38423|  6.43k|    {
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|  6.43k|        const __m128i lo = _mm_loadl_epi64(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
38440|  6.43k|        const __m128i hi = _mm_loadl_epi64(static_cast<const __m128i*>(static_cast<const void*>(p + n - 8))); // NOLINT(bugprone-casting-through-void)
38441|  6.43k|        const __m128i in = _mm_unpacklo_epi64(lo, hi);
38442|  6.43k|        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|  6.43k|                                             _mm_cmplt_epi8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(33)));
38444|  6.43k|        if (_mm_movemask_epi8(special) != 0)
  ------------------
  |  Branch (38444:13): [True: 4.79k, False: 1.64k]
  ------------------
38445|  4.79k|        {
38446|  4.79k|            return false;
38447|  4.79k|        }
38448|  1.64k|        _mm_storel_epi64(static_cast<__m128i*>(static_cast<void*>(d)), lo); // NOLINT(bugprone-casting-through-void)
38449|  1.64k|        _mm_storel_epi64(static_cast<__m128i*>(static_cast<void*>(d + n - 8)), hi); // NOLINT(bugprone-casting-through-void)
38450|  1.64k|#endif
38451|  1.64k|        return true;
38452|  6.43k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9load_wordIjEET_PKc:
38324|  17.1k|    {
38325|  17.1k|        WordType w;
38326|  17.1k|        std::memcpy(&w, p, sizeof(w));
38327|  17.1k|        return w;
38328|  17.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14swar_not_plainEm:
38314|  51.3k|    {
38315|  51.3k|        constexpr std::uint64_t ones = 0x0101010101010101ull;
38316|  51.3k|        const std::uint64_t q = v ^ 0x2222222222222222ull; // '"'
38317|  51.3k|        const std::uint64_t b = v ^ 0x5C5C5C5C5C5C5C5Cull; // '\\'
38318|       |        // (see swar_string_special(): the bytes from 0x80 are flagged anyway)
38319|  51.3k|        return ((q - ones) | (b - ones) | (v - 0x2020202020202020ull) | v | (v + ones)) & 0x8080808080808080ull;
38320|  51.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10store_wordIjEEvPcT_:
38332|  4.26k|    {
38333|  4.26k|        std::memcpy(p, &w, sizeof(w));
38334|  4.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9load_wordItEET_PKc:
38324|  11.3k|    {
38325|  11.3k|        WordType w;
38326|  11.3k|        std::memcpy(&w, p, sizeof(w));
38327|  11.3k|        return w;
38328|  11.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10store_wordItEEvPcT_:
38332|  3.76k|    {
38333|  3.76k|        std::memcpy(p, &w, sizeof(w));
38334|  3.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_escapedERKSC_:
38517|  37.0k|    {
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|  37.0k|        if (ensure_ascii)
  ------------------
  |  Branch (38554:13): [True: 0, False: 37.0k]
  ------------------
38555|      0|        {
38556|      0|            dump_escaped_impl<true>(s);
38557|      0|        }
38558|  37.0k|        else
38559|  37.0k|        {
38560|  37.0k|            dump_escaped_impl<false>(s);
38561|  37.0k|        }
38562|  37.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail16read_eight_bytesEPKh:
 9223|   125k|{
 9224|   125k|#if JSON_LITTLE_ENDIAN_TARGET
 9225|       |    // the byte order already matches
 9226|   125k|    std::uint64_t result = 0;
 9227|   125k|    std::memcpy(&result, b, sizeof(result));
 9228|   125k|    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|   125k|}
_ZN8nlohmann16json_abi_v3_12_06detail20count_trailing_zerosEm:
 9095|   149k|{
 9096|   149k|#if defined(__GNUC__) || defined(__clang__)
 9097|   149k|    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|   149k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12emit_pendingERm:
38566|   115k|    {
38567|   115k|        if (bytes != 0)
  ------------------
  |  Branch (38567:13): [True: 30.0k, False: 84.9k]
  ------------------
38568|  30.0k|        {
38569|  30.0k|            put_buffer(string_buffer, bytes);
38570|  30.0k|            bytes = 0;
38571|  30.0k|        }
38572|   115k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE7put_runISC_EEvRKT_mm:
39064|  43.5k|    {
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|  43.5k|        if (JSON_HEDLEY_UNLIKELY(length <= 16 && start + 16 <= str.size() && write_buffer_pos + 16 <= write_buffer.size()))
  ------------------
  |  | 1697|   144k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15.0k, False: 28.4k]
  |  |  |  Branch (1697:94): [True: 42.5k, False: 1.02k]
  |  |  |  Branch (1697:94): [True: 15.1k, False: 27.3k]
  |  |  |  Branch (1697:94): [True: 15.0k, False: 114]
  |  |  ------------------
  ------------------
39068|  15.0k|        {
39069|  15.0k|            std::memcpy(write_buffer.data() + write_buffer_pos, str.data() + start, 16);
39070|  15.0k|            write_buffer_pos += length;
39071|  15.0k|            return;
39072|  15.0k|        }
39073|  28.4k|        put_string(str, start, start + length);
39074|  28.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_stringISC_EEvRKT_mm:
39087|  28.4k|    {
39088|  28.4k|        JSON_ASSERT(start <= end);
  ------------------
  |  | 2653|  28.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39088:9): [True: 28.4k, False: 0]
  ------------------
39089|  28.4k|        JSON_ASSERT(end <= str.size());
  ------------------
  |  | 2653|  28.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39089:9): [True: 28.4k, False: 0]
  ------------------
39090|       |
39091|  28.4k|        const char* const s = str.data() + start;
39092|  28.4k|        const std::size_t length = end - start;
39093|       |
39094|  28.4k|        if (JSON_HEDLEY_UNLIKELY(length >= write_buffer.size()))
  ------------------
  |  | 1697|  28.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 28.4k]
  |  |  ------------------
  ------------------
39095|      0|        {
39096|      0|            flush();
39097|      0|            o->write_characters(s, length);
39098|      0|            return;
39099|      0|        }
39100|  28.4k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  28.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 90, False: 28.4k]
  |  |  ------------------
  ------------------
39101|     90|        {
39102|     90|            flush();
39103|     90|        }
39104|  28.4k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39105|  28.4k|        write_buffer_pos += length;
39106|  28.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE13ascii_escapesEv:
39200|  71.4k|    {
39201|  71.4k|        static const std::array<std::array<char, 8>, 0x60> escapes =
39202|  71.4k|        {
39203|  71.4k|            {
39204|  71.4k|                {{'\\', 'u', '0', '0', '0', '0', 0, 6}}, // 0x00
39205|  71.4k|                {{'\\', 'u', '0', '0', '0', '1', 0, 6}}, // 0x01
39206|  71.4k|                {{'\\', 'u', '0', '0', '0', '2', 0, 6}}, // 0x02
39207|  71.4k|                {{'\\', 'u', '0', '0', '0', '3', 0, 6}}, // 0x03
39208|  71.4k|                {{'\\', 'u', '0', '0', '0', '4', 0, 6}}, // 0x04
39209|  71.4k|                {{'\\', 'u', '0', '0', '0', '5', 0, 6}}, // 0x05
39210|  71.4k|                {{'\\', 'u', '0', '0', '0', '6', 0, 6}}, // 0x06
39211|  71.4k|                {{'\\', 'u', '0', '0', '0', '7', 0, 6}}, // 0x07
39212|  71.4k|                {{'\\', 'b', 0, 0, 0, 0, 0, 2}}, // 0x08
39213|  71.4k|                {{'\\', 't', 0, 0, 0, 0, 0, 2}}, // 0x09
39214|  71.4k|                {{'\\', 'n', 0, 0, 0, 0, 0, 2}}, // 0x0A
39215|  71.4k|                {{'\\', 'u', '0', '0', '0', 'b', 0, 6}}, // 0x0B
39216|  71.4k|                {{'\\', 'f', 0, 0, 0, 0, 0, 2}}, // 0x0C
39217|  71.4k|                {{'\\', 'r', 0, 0, 0, 0, 0, 2}}, // 0x0D
39218|  71.4k|                {{'\\', 'u', '0', '0', '0', 'e', 0, 6}}, // 0x0E
39219|  71.4k|                {{'\\', 'u', '0', '0', '0', 'f', 0, 6}}, // 0x0F
39220|  71.4k|                {{'\\', 'u', '0', '0', '1', '0', 0, 6}}, // 0x10
39221|  71.4k|                {{'\\', 'u', '0', '0', '1', '1', 0, 6}}, // 0x11
39222|  71.4k|                {{'\\', 'u', '0', '0', '1', '2', 0, 6}}, // 0x12
39223|  71.4k|                {{'\\', 'u', '0', '0', '1', '3', 0, 6}}, // 0x13
39224|  71.4k|                {{'\\', 'u', '0', '0', '1', '4', 0, 6}}, // 0x14
39225|  71.4k|                {{'\\', 'u', '0', '0', '1', '5', 0, 6}}, // 0x15
39226|  71.4k|                {{'\\', 'u', '0', '0', '1', '6', 0, 6}}, // 0x16
39227|  71.4k|                {{'\\', 'u', '0', '0', '1', '7', 0, 6}}, // 0x17
39228|  71.4k|                {{'\\', 'u', '0', '0', '1', '8', 0, 6}}, // 0x18
39229|  71.4k|                {{'\\', 'u', '0', '0', '1', '9', 0, 6}}, // 0x19
39230|  71.4k|                {{'\\', 'u', '0', '0', '1', 'a', 0, 6}}, // 0x1A
39231|  71.4k|                {{'\\', 'u', '0', '0', '1', 'b', 0, 6}}, // 0x1B
39232|  71.4k|                {{'\\', 'u', '0', '0', '1', 'c', 0, 6}}, // 0x1C
39233|  71.4k|                {{'\\', 'u', '0', '0', '1', 'd', 0, 6}}, // 0x1D
39234|  71.4k|                {{'\\', 'u', '0', '0', '1', 'e', 0, 6}}, // 0x1E
39235|  71.4k|                {{'\\', 'u', '0', '0', '1', 'f', 0, 6}}, // 0x1F
39236|  71.4k|                {{' ', 0, 0, 0, 0, 0, 0, 1}}, // 0x20
39237|  71.4k|                {{'!', 0, 0, 0, 0, 0, 0, 1}}, // 0x21
39238|  71.4k|                {{'\\', '"', 0, 0, 0, 0, 0, 2}}, // 0x22
39239|  71.4k|                {{'#', 0, 0, 0, 0, 0, 0, 1}}, // 0x23
39240|  71.4k|                {{'$', 0, 0, 0, 0, 0, 0, 1}}, // 0x24
39241|  71.4k|                {{'%', 0, 0, 0, 0, 0, 0, 1}}, // 0x25
39242|  71.4k|                {{'&', 0, 0, 0, 0, 0, 0, 1}}, // 0x26
39243|  71.4k|                {{'\'', 0, 0, 0, 0, 0, 0, 1}}, // 0x27
39244|  71.4k|                {{'(', 0, 0, 0, 0, 0, 0, 1}}, // 0x28
39245|  71.4k|                {{')', 0, 0, 0, 0, 0, 0, 1}}, // 0x29
39246|  71.4k|                {{'*', 0, 0, 0, 0, 0, 0, 1}}, // 0x2A
39247|  71.4k|                {{'+', 0, 0, 0, 0, 0, 0, 1}}, // 0x2B
39248|  71.4k|                {{',', 0, 0, 0, 0, 0, 0, 1}}, // 0x2C
39249|  71.4k|                {{'-', 0, 0, 0, 0, 0, 0, 1}}, // 0x2D
39250|  71.4k|                {{'.', 0, 0, 0, 0, 0, 0, 1}}, // 0x2E
39251|  71.4k|                {{'/', 0, 0, 0, 0, 0, 0, 1}}, // 0x2F
39252|  71.4k|                {{'0', 0, 0, 0, 0, 0, 0, 1}}, // 0x30
39253|  71.4k|                {{'1', 0, 0, 0, 0, 0, 0, 1}}, // 0x31
39254|  71.4k|                {{'2', 0, 0, 0, 0, 0, 0, 1}}, // 0x32
39255|  71.4k|                {{'3', 0, 0, 0, 0, 0, 0, 1}}, // 0x33
39256|  71.4k|                {{'4', 0, 0, 0, 0, 0, 0, 1}}, // 0x34
39257|  71.4k|                {{'5', 0, 0, 0, 0, 0, 0, 1}}, // 0x35
39258|  71.4k|                {{'6', 0, 0, 0, 0, 0, 0, 1}}, // 0x36
39259|  71.4k|                {{'7', 0, 0, 0, 0, 0, 0, 1}}, // 0x37
39260|  71.4k|                {{'8', 0, 0, 0, 0, 0, 0, 1}}, // 0x38
39261|  71.4k|                {{'9', 0, 0, 0, 0, 0, 0, 1}}, // 0x39
39262|  71.4k|                {{':', 0, 0, 0, 0, 0, 0, 1}}, // 0x3A
39263|  71.4k|                {{';', 0, 0, 0, 0, 0, 0, 1}}, // 0x3B
39264|  71.4k|                {{'<', 0, 0, 0, 0, 0, 0, 1}}, // 0x3C
39265|  71.4k|                {{'=', 0, 0, 0, 0, 0, 0, 1}}, // 0x3D
39266|  71.4k|                {{'>', 0, 0, 0, 0, 0, 0, 1}}, // 0x3E
39267|  71.4k|                {{'?', 0, 0, 0, 0, 0, 0, 1}}, // 0x3F
39268|  71.4k|                {{'@', 0, 0, 0, 0, 0, 0, 1}}, // 0x40
39269|  71.4k|                {{'A', 0, 0, 0, 0, 0, 0, 1}}, // 0x41
39270|  71.4k|                {{'B', 0, 0, 0, 0, 0, 0, 1}}, // 0x42
39271|  71.4k|                {{'C', 0, 0, 0, 0, 0, 0, 1}}, // 0x43
39272|  71.4k|                {{'D', 0, 0, 0, 0, 0, 0, 1}}, // 0x44
39273|  71.4k|                {{'E', 0, 0, 0, 0, 0, 0, 1}}, // 0x45
39274|  71.4k|                {{'F', 0, 0, 0, 0, 0, 0, 1}}, // 0x46
39275|  71.4k|                {{'G', 0, 0, 0, 0, 0, 0, 1}}, // 0x47
39276|  71.4k|                {{'H', 0, 0, 0, 0, 0, 0, 1}}, // 0x48
39277|  71.4k|                {{'I', 0, 0, 0, 0, 0, 0, 1}}, // 0x49
39278|  71.4k|                {{'J', 0, 0, 0, 0, 0, 0, 1}}, // 0x4A
39279|  71.4k|                {{'K', 0, 0, 0, 0, 0, 0, 1}}, // 0x4B
39280|  71.4k|                {{'L', 0, 0, 0, 0, 0, 0, 1}}, // 0x4C
39281|  71.4k|                {{'M', 0, 0, 0, 0, 0, 0, 1}}, // 0x4D
39282|  71.4k|                {{'N', 0, 0, 0, 0, 0, 0, 1}}, // 0x4E
39283|  71.4k|                {{'O', 0, 0, 0, 0, 0, 0, 1}}, // 0x4F
39284|  71.4k|                {{'P', 0, 0, 0, 0, 0, 0, 1}}, // 0x50
39285|  71.4k|                {{'Q', 0, 0, 0, 0, 0, 0, 1}}, // 0x51
39286|  71.4k|                {{'R', 0, 0, 0, 0, 0, 0, 1}}, // 0x52
39287|  71.4k|                {{'S', 0, 0, 0, 0, 0, 0, 1}}, // 0x53
39288|  71.4k|                {{'T', 0, 0, 0, 0, 0, 0, 1}}, // 0x54
39289|  71.4k|                {{'U', 0, 0, 0, 0, 0, 0, 1}}, // 0x55
39290|  71.4k|                {{'V', 0, 0, 0, 0, 0, 0, 1}}, // 0x56
39291|  71.4k|                {{'W', 0, 0, 0, 0, 0, 0, 1}}, // 0x57
39292|  71.4k|                {{'X', 0, 0, 0, 0, 0, 0, 1}}, // 0x58
39293|  71.4k|                {{'Y', 0, 0, 0, 0, 0, 0, 1}}, // 0x59
39294|  71.4k|                {{'Z', 0, 0, 0, 0, 0, 0, 1}}, // 0x5A
39295|  71.4k|                {{'[', 0, 0, 0, 0, 0, 0, 1}}, // 0x5B
39296|  71.4k|                {{'\\', '\\', 0, 0, 0, 0, 0, 2}}, // 0x5C
39297|  71.4k|                {{']', 0, 0, 0, 0, 0, 0, 1}}, // 0x5D
39298|  71.4k|                {{'^', 0, 0, 0, 0, 0, 0, 1}}, // 0x5E
39299|  71.4k|                {{'_', 0, 0, 0, 0, 0, 0, 1}}, // 0x5F
39300|  71.4k|            }
39301|  71.4k|        };
39302|  71.4k|        return escapes;
39303|  71.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_bufferILm512EEEvRKNS4_5arrayIcXT_EEEm:
39113|  48.0k|    {
39114|  48.0k|        put_string(buffer, 0, length);
39115|  48.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10put_stringINS4_5arrayIcLm512EEEEEvRKT_mm:
39087|  48.0k|    {
39088|  48.0k|        JSON_ASSERT(start <= end);
  ------------------
  |  | 2653|  48.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39088:9): [True: 48.0k, False: 0]
  ------------------
39089|  48.0k|        JSON_ASSERT(end <= str.size());
  ------------------
  |  | 2653|  48.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39089:9): [True: 48.0k, False: 0]
  ------------------
39090|       |
39091|  48.0k|        const char* const s = str.data() + start;
39092|  48.0k|        const std::size_t length = end - start;
39093|       |
39094|  48.0k|        if (JSON_HEDLEY_UNLIKELY(length >= write_buffer.size()))
  ------------------
  |  | 1697|  48.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 48.0k]
  |  |  ------------------
  ------------------
39095|      0|        {
39096|      0|            flush();
39097|      0|            o->write_characters(s, length);
39098|      0|            return;
39099|      0|        }
39100|  48.0k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  48.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 78, False: 47.9k]
  |  |  ------------------
  ------------------
39101|     78|        {
39102|     78|            flush();
39103|     78|        }
39104|  48.0k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39105|  48.0k|        write_buffer_pos += length;
39106|  48.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17validate_one_utf8EPKhm:
13120|   125k|{
13121|   125k|    const unsigned char c0 = data[0];
13122|   125k|    if (c0 >= 0xC2 && c0 <= 0xDF)  // U+0080..U+07FF
  ------------------
  |  Branch (13122:9): [True: 88.7k, False: 36.7k]
  |  Branch (13122:23): [True: 9.61k, False: 79.1k]
  ------------------
13123|  9.61k|    {
13124|  9.61k|        if (avail >= 2 && data[1] >= 0x80 && data[1] <= 0xBF)
  ------------------
  |  Branch (13124:13): [True: 6.75k, False: 2.86k]
  |  Branch (13124:27): [True: 5.05k, False: 1.69k]
  |  Branch (13124:46): [True: 1.80k, False: 3.25k]
  ------------------
13125|  1.80k|        {
13126|  1.80k|            return 2;
13127|  1.80k|        }
13128|  9.61k|    }
13129|   115k|    else if (c0 == 0xE0)  // U+0800..U+0FFF
  ------------------
  |  Branch (13129:14): [True: 4.62k, False: 111k]
  ------------------
13130|  4.62k|    {
13131|  4.62k|        if (avail >= 3 && data[1] >= 0xA0 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13131:13): [True: 4.01k, False: 612]
  |  Branch (13131:27): [True: 2.88k, False: 1.13k]
  |  Branch (13131:46): [True: 1.57k, False: 1.30k]
  |  Branch (13131:65): [True: 1.09k, False: 480]
  |  Branch (13131:84): [True: 468, False: 624]
  ------------------
13132|    468|        {
13133|    468|            return 3;
13134|    468|        }
13135|  4.62k|    }
13136|   111k|    else if ((c0 >= 0xE1 && c0 <= 0xEC) || c0 == 0xEE || c0 == 0xEF)  // U+1000..U+CFFF, U+E000..U+FFFF
  ------------------
  |  Branch (13136:15): [True: 74.4k, False: 36.7k]
  |  Branch (13136:29): [True: 8.36k, False: 66.1k]
  |  Branch (13136:44): [True: 2.36k, False: 100k]
  |  Branch (13136:58): [True: 804, False: 99.6k]
  ------------------
13137|  11.5k|    {
13138|  11.5k|        if (avail >= 3 && data[1] >= 0x80 && data[1] <= 0xBF && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13138:13): [True: 9.35k, False: 2.17k]
  |  Branch (13138:27): [True: 7.96k, False: 1.38k]
  |  Branch (13138:46): [True: 2.08k, False: 5.88k]
  |  Branch (13138:65): [True: 1.45k, False: 624]
  |  Branch (13138:84): [True: 816, False: 642]
  ------------------
13139|    816|        {
13140|    816|            return 3;
13141|    816|        }
13142|  11.5k|    }
13143|  99.6k|    else if (c0 == 0xED)  // U+D000..U+D7FF (excludes surrogates)
  ------------------
  |  Branch (13143:14): [True: 4.94k, False: 94.7k]
  ------------------
13144|  4.94k|    {
13145|  4.94k|        if (avail >= 3 && data[1] >= 0x80 && data[1] <= 0x9F && data[2] >= 0x80 && data[2] <= 0xBF)
  ------------------
  |  Branch (13145:13): [True: 4.20k, False: 744]
  |  Branch (13145:27): [True: 3.43k, False: 762]
  |  Branch (13145:46): [True: 2.01k, False: 1.42k]
  |  Branch (13145:65): [True: 1.54k, False: 468]
  |  Branch (13145:84): [True: 1.00k, False: 534]
  ------------------
13146|  1.00k|        {
13147|  1.00k|            return 3;
13148|  1.00k|        }
13149|  4.94k|    }
13150|  94.7k|    else if (c0 == 0xF0)  // U+10000..U+3FFFF
  ------------------
  |  Branch (13150:14): [True: 5.88k, False: 88.8k]
  ------------------
13151|  5.88k|    {
13152|  5.88k|        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: 5.19k, False: 696]
  |  Branch (13152:27): [True: 4.46k, False: 726]
  |  Branch (13152:46): [True: 2.84k, False: 1.62k]
  |  Branch (13152:65): [True: 2.32k, False: 522]
  |  Branch (13152:84): [True: 1.68k, False: 636]
  |  Branch (13152:103): [True: 1.17k, False: 510]
  |  Branch (13152:122): [True: 648, False: 528]
  ------------------
13153|    648|        {
13154|    648|            return 4;
13155|    648|        }
13156|  5.88k|    }
13157|  88.8k|    else if (c0 >= 0xF1 && c0 <= 0xF3)  // U+40000..U+FFFFF
  ------------------
  |  Branch (13157:14): [True: 52.1k, False: 36.7k]
  |  Branch (13157:28): [True: 7.74k, False: 44.3k]
  ------------------
13158|  7.74k|    {
13159|  7.74k|        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: 6.52k, False: 1.21k]
  |  Branch (13159:27): [True: 5.16k, False: 1.36k]
  |  Branch (13159:46): [True: 3.37k, False: 1.78k]
  |  Branch (13159:65): [True: 2.74k, False: 630]
  |  Branch (13159:84): [True: 2.37k, False: 372]
  |  Branch (13159:103): [True: 1.83k, False: 546]
  |  Branch (13159:122): [True: 1.32k, False: 504]
  ------------------
13160|  1.32k|        {
13161|  1.32k|            return 4;
13162|  1.32k|        }
13163|  7.74k|    }
13164|  81.1k|    else if (c0 == 0xF4)  // U+100000..U+10FFFF
  ------------------
  |  Branch (13164:14): [True: 9.40k, False: 71.7k]
  ------------------
13165|  9.40k|    {
13166|  9.40k|        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: 6.97k, False: 2.43k]
  |  Branch (13166:27): [True: 5.77k, False: 1.20k]
  |  Branch (13166:46): [True: 2.60k, False: 3.16k]
  |  Branch (13166:65): [True: 2.08k, False: 516]
  |  Branch (13166:84): [True: 1.57k, False: 510]
  |  Branch (13166:103): [True: 1.06k, False: 510]
  |  Branch (13166:122): [True: 534, False: 534]
  ------------------
13167|    534|        {
13168|    534|            return 4;
13169|    534|        }
13170|  9.40k|    }
13171|   118k|    return 0; // invalid, incomplete, or must be diagnosed by the byte path
13172|   125k|}
_ZN8nlohmann16json_abi_v3_12_06detail6decodeERhRjh:
 7414|   171k|{
 7415|   171k|    static const std::array<std::uint8_t, 400> utf8d =
 7416|   171k|    {
 7417|   171k|        {
 7418|   171k|            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|   171k|            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|   171k|            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|   171k|            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|   171k|            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|   171k|            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|   171k|            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|   171k|            0xA, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, // E0..EF
 7426|   171k|            0xB, 0x6, 0x6, 0x6, 0x5, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, // F0..FF
 7427|   171k|            0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0
 7428|   171k|            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|   171k|            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|   171k|            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|   171k|            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|   171k|        }
 7433|   171k|    };
 7434|       |
 7435|   171k|    JSON_ASSERT(static_cast<std::size_t>(byte) < utf8d.size());
  ------------------
  |  | 2653|   171k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (7435:5): [True: 171k, False: 0]
  ------------------
 7436|   171k|    const std::uint8_t type = utf8d[byte];
 7437|       |
 7438|   171k|    codep = (state != UTF8_ACCEPT)
  ------------------
  |  Branch (7438:13): [True: 53.0k, False: 118k]
  ------------------
 7439|   171k|            ? (byte & 0x3fu) | (codep << 6u)
 7440|   171k|            : (0xFFu >> type) & (byte);
 7441|       |
 7442|   171k|    const std::size_t index = 256u + (static_cast<std::size_t>(state) * 16u) + static_cast<std::size_t>(type);
 7443|   171k|    JSON_ASSERT(index < utf8d.size());
  ------------------
  |  | 2653|   171k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (7443:5): [True: 171k, False: 0]
  ------------------
 7444|   171k|    state = utf8d[index];
 7445|   171k|    return state;
 7446|   171k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE21reserve_string_bufferERm:
38578|   111k|    {
38579|   111k|        if (string_buffer.size() - bytes < 13)
  ------------------
  |  Branch (38579:13): [True: 0, False: 111k]
  ------------------
38580|      0|        {
38581|      0|            put_buffer(string_buffer, bytes);
38582|      0|            bytes = 0;
38583|      0|        }
38584|   111k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exception9what_implIDnEENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERKSA_iSC_T_:
 5676|     12|    {
 5677|     12|        return concat(name(ename, id_), diagnostics(context), what_arg);
 5678|     12|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_S9_RKS9_EEET_DpOT0_:
 5537|  1.66k|{
 5538|  1.66k|    OutStringType str;
 5539|  1.66k|    str.reserve(concat_length(args...));
 5540|  1.66k|    concat_into(str, std::forward<Args>(args)...);
 5541|  1.66k|    return str;
 5542|  1.66k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_S9_EEEmRKT_DpRKT0_:
 5447|  1.66k|{
 5448|  1.66k|    return str.size() + concat_length(rest...);
 5449|  1.66k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_EEEmRKT_DpRKT0_:
 5447|  27.3k|{
 5448|  27.3k|    return str.size() + concat_length(rest...);
 5449|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJEEEmRKT_DpRKT0_:
 5447|  82.3k|{
 5448|  82.3k|    return str.size() + concat_length(rest...);
 5449|  82.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthEv:
 5423|   109k|{
 5424|   109k|    return 0;
 5425|   109k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JS9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 5500|  1.66k|{
 5501|  1.66k|    out.append(std::forward<Arg>(arg));
 5502|  1.66k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.66k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 5500|  27.3k|{
 5501|  27.3k|    out.append(std::forward<Arg>(arg));
 5502|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 5500|  53.0k|{
 5501|  53.0k|    out.append(std::forward<Arg>(arg));
 5502|  53.0k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  53.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEvRT_:
 5453|   109k|{}
_ZN8nlohmann16json_abi_v3_12_06detail9exception4nameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEi:
 5669|  27.3k|    {
 5670|  27.3k|        return concat("[json.exception.", ename, '.', std::to_string(id_), "] ");
 5671|  27.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA17_KcRKS9_cS9_RA3_SA_EEET_DpOT0_:
 5537|  27.3k|{
 5538|  27.3k|    OutStringType str;
 5539|  27.3k|    str.reserve(concat_length(args...));
 5540|  27.3k|    concat_into(str, std::forward<Args>(args)...);
 5541|  27.3k|    return str;
 5542|  27.3k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcS9_A3_cEEEmPKcDpRKT_:
 5441|  27.3k|{
 5442|  27.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJcS9_A3_cEEEmRKT_DpRKT0_:
 5447|  27.3k|{
 5448|  27.3k|    return str.size() + concat_length(rest...);
 5449|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cEEEmcDpRKT_:
 5435|  27.3k|{
 5436|  27.3k|    return 1 + concat_length(rest...);
 5437|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cEEEmRKT_DpRKT0_:
 5447|  27.3k|{
 5448|  27.3k|    return str.size() + concat_length(rest...);
 5449|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJEEEmPKcDpRKT_:
 5441|  27.3k|{
 5442|  27.3k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  27.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|  27.3k|{
 5501|  27.3k|    out.append(std::forward<Arg>(arg));
 5502|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  27.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|  27.3k|{
 5501|  27.3k|    out.append(std::forward<Arg>(arg));
 5502|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  27.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|  27.3k|{
 5510|  27.3k|    out += std::forward<Arg>(arg);
 5511|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5512|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA3_KcETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  27.3k|{
 5501|  27.3k|    out.append(std::forward<Arg>(arg));
 5502|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  27.3k|{
 5501|  27.3k|    out.append(std::forward<Arg>(arg));
 5502|  27.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  27.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail9exception11diagnosticsEDn:
 5681|  25.6k|    {
 5682|  25.6k|        return "";
 5683|  25.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exceptionC2EiPKc:
 5666|  27.3k|    exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} // NOLINT(bugprone-throw-keyword-missing)
_ZNK8nlohmann16json_abi_v3_12_06detail9exception4whatEv:
 5657|  18.2k|    {
 5658|  18.2k|        return m.what();
 5659|  18.2k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|  55.0k|{
 5442|  55.0k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  55.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA5_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|    558|{
 5501|    558|    out.append(std::forward<Arg>(arg));
 5502|    558|    concat_into(out, std::forward<Args>(rest)...);
 5503|    558|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSB_OSC_DpOT1_:
 5500|  29.3k|{
 5501|  29.3k|    out.append(std::forward<Arg>(arg));
 5502|  29.3k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  29.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail8hex_byteEh:
 7225|  3.97k|{
 7226|  3.97k|    std::string result = "00";
 7227|  3.97k|    constexpr const char* nibble_to_hex = "0123456789ABCDEF";
 7228|  3.97k|    result[0] = nibble_to_hex[byte / 16];
 7229|  3.97k|    result[1] = nibble_to_hex[byte % 16];
 7230|  3.97k|    return result;
 7231|  3.97k|} // 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|  37.0k|    {
38600|  37.0k|        std::uint32_t codepoint{};
38601|  37.0k|        std::uint8_t state = UTF8_ACCEPT;
38602|  37.0k|        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|  37.0k|        std::size_t bytes_after_last_accept = 0;
38606|  37.0k|        std::size_t undumped_chars = 0;
38607|       |
38608|   280k|        for (std::size_t i = 0; i < s.size(); ++i)
  ------------------
  |  Branch (38608:33): [True: 252k, False: 27.7k]
  ------------------
38609|   252k|        {
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|   252k|            if (state == UTF8_ACCEPT)
  ------------------
  |  Branch (38623:17): [True: 199k, False: 53.0k]
  ------------------
38624|   199k|            {
38625|   199k|                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|   199k|                std::size_t run = 0;
38632|   199k|                if (!EnsureAscii)
  ------------------
  |  Branch (38632:21): [True: 199k, Folded]
  ------------------
38633|   199k|                {
38634|   199k|                    run = string_bulk_run(data + i, s.size() - i);
38635|   199k|                }
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|   199k|                if (run != 0)
  ------------------
  |  Branch (38640:21): [True: 43.5k, False: 156k]
  ------------------
38641|  43.5k|                {
38642|       |                    // emit any bytes still pending in string_buffer first to
38643|       |                    // preserve output order, then write the run directly
38644|  43.5k|                    emit_pending(bytes);
38645|  43.5k|                    put_run(s, i, run);
38646|  43.5k|                    bytes_after_last_accept = 0;
38647|  43.5k|                    undumped_chars = 0;
38648|  43.5k|                    i += run;
38649|  43.5k|                    if (i >= s.size())
  ------------------
  |  Branch (38649:25): [True: 9.34k, False: 34.2k]
  ------------------
38650|  9.34k|                    {
38651|  9.34k|                        break;
38652|  9.34k|                    }
38653|  43.5k|                }
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|   190k|                if (data[i] < 0x60)
  ------------------
  |  Branch (38661:21): [True: 71.4k, False: 118k]
  ------------------
38662|  71.4k|                {
38663|       |                    // emit any bytes still pending in string_buffer first to
38664|       |                    // preserve output order
38665|  71.4k|                    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|  71.4k|                    const auto& escape = ascii_escapes()[data[i]];
38670|  71.4k|                    if (JSON_HEDLEY_UNLIKELY(write_buffer.size() - write_buffer_pos < escape.size()))
  ------------------
  |  | 1697|  71.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 156, False: 71.3k]
  |  |  ------------------
  ------------------
38671|    156|                    {
38672|    156|                        flush();
38673|    156|                    }
38674|  71.4k|                    std::memcpy(write_buffer.data() + write_buffer_pos, escape.data(), escape.size());
38675|  71.4k|                    write_buffer_pos += static_cast<std::size_t>(escape[7]);
38676|  71.4k|                    bytes_after_last_accept = 0;
38677|  71.4k|                    undumped_chars = 0;
38678|  71.4k|                    continue;
38679|  71.4k|                }
38680|   190k|            }
38681|       |
38682|   171k|            const auto byte = static_cast<std::uint8_t>(s[i]);
38683|       |
38684|   171k|            if (EnsureAscii && state == UTF8_ACCEPT && byte >= 0x80)
  ------------------
  |  Branch (38684:17): [Folded, False: 171k]
  |  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|   171k|            switch (decode(state, codepoint, byte))
38706|   171k|            {
38707|      0|                case UTF8_ACCEPT:  // decode found a new code point
  ------------------
  |  Branch (38707:17): [True: 0, False: 171k]
  ------------------
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|   111k|                case UTF8_REJECT:  // decode found invalid UTF-8 byte
  ------------------
  |  Branch (38736:17): [True: 111k, False: 60.3k]
  ------------------
38737|   111k|                {
38738|   111k|                    switch (error_handler)
38739|   111k|                    {
38740|      0|                        case error_handler_t::strict:
  ------------------
  |  Branch (38740:25): [True: 0, False: 111k]
  ------------------
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: 111k]
  ------------------
38746|      0|                        case error_handler_t::replace:
  ------------------
  |  Branch (38746:25): [True: 0, False: 111k]
  ------------------
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|   111k|                        case error_handler_t::keep:
  ------------------
  |  Branch (38792:25): [True: 111k, False: 0]
  ------------------
38793|   111k|                        {
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|   111k|                            if (undumped_chars > 0)
  ------------------
  |  Branch (38797:33): [True: 39.8k, False: 71.7k]
  ------------------
38798|  39.8k|                            {
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|  39.8k|                                --i;
38804|  39.8k|                            }
38805|  71.7k|                            else
38806|  71.7k|                            {
38807|       |                                // a byte that cannot start a sequence (e.g.,
38808|       |                                // 0xFF or a stray continuation byte) is kept
38809|       |                                // as well
38810|  71.7k|                                string_buffer[bytes++] = s[i];
38811|  71.7k|                            }
38812|       |
38813|   111k|                            reserve_string_buffer(bytes);
38814|       |
38815|   111k|                            bytes_after_last_accept = bytes;
38816|   111k|                            undumped_chars = 0;
38817|       |
38818|       |                            // continue processing the string
38819|   111k|                            state = UTF8_ACCEPT;
38820|   111k|                            break;
38821|      0|                        }
38822|       |
38823|      0|                        default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38823:25): [True: 0, False: 111k]
  ------------------
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|   111k|                    }
38826|   111k|                    break;
38827|   111k|                }
38828|       |
38829|   111k|                default:  // decode found yet incomplete multibyte code point
  ------------------
  |  Branch (38829:17): [True: 60.3k, False: 111k]
  ------------------
38830|  60.3k|                {
38831|  60.3k|                    if (!EnsureAscii || error_handler == error_handler_t::keep)
  ------------------
  |  Branch (38831:25): [True: 60.3k, Folded]
  |  Branch (38831:41): [True: 0, False: 0]
  ------------------
38832|  60.3k|                    {
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|  60.3k|                        string_buffer[bytes++] = s[i];
38838|  60.3k|                    }
38839|  60.3k|                    ++undumped_chars;
38840|  60.3k|                    break;
38841|   111k|                }
38842|   171k|            }
38843|   171k|        }
38844|       |
38845|       |        // we finished processing the string
38846|  37.0k|        if (JSON_HEDLEY_LIKELY(state == UTF8_ACCEPT))
  ------------------
  |  | 1696|  37.0k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 29.7k, False: 7.29k]
  |  |  ------------------
  ------------------
38847|  29.7k|        {
38848|       |            // write buffer
38849|  29.7k|            if (bytes > 0)
  ------------------
  |  Branch (38849:17): [True: 10.7k, False: 19.0k]
  ------------------
38850|  10.7k|            {
38851|  10.7k|                put_buffer(string_buffer, bytes);
38852|  10.7k|            }
38853|  29.7k|        }
38854|  7.29k|        else
38855|  7.29k|        {
38856|       |            // we finish reading, but do not accept: string was incomplete
38857|  7.29k|            switch (error_handler)
38858|  7.29k|            {
38859|      0|                case error_handler_t::strict:
  ------------------
  |  Branch (38859:17): [True: 0, False: 7.29k]
  ------------------
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.29k]
  ------------------
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.29k]
  ------------------
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.29k|                case error_handler_t::keep:
  ------------------
  |  Branch (38887:17): [True: 7.29k, False: 0]
  ------------------
38888|  7.29k|                {
38889|       |                    // write the ill-formed trailing bytes as is; they were
38890|       |                    // buffered above regardless of EnsureAscii
38891|  7.29k|                    put_buffer(string_buffer, bytes);
38892|  7.29k|                    break;
38893|      0|                }
38894|       |
38895|      0|                default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38895:17): [True: 0, False: 7.29k]
  ------------------
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.29k|            }
38898|  7.29k|        }
38899|  37.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail15string_bulk_runEPKhm:
13447|   199k|{
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|   199k|    return scalar_string_bulk_run(data, n);
13456|   199k|}
_ZN8nlohmann16json_abi_v3_12_06detail22scalar_string_bulk_runEPKhm:
13368|   199k|{
13369|   199k|    const unsigned char* const e = data + n;
13370|   199k|    const unsigned char* p = data;
13371|   199k|    while (p != e)
  ------------------
  |  Branch (13371:12): [True: 199k, False: 0]
  ------------------
13372|   199k|    {
13373|   199k|#if JSON_SCAN_VECTOR
13374|   199k|        p = plain_run_end(p, e);
13375|       |#else
13376|       |        p += find_string_special(p, static_cast<std::size_t>(e - p));
13377|       |#endif
13378|   199k|        if (p == e || *p < 0x80u)
  ------------------
  |  Branch (13378:13): [True: 7.06k, False: 192k]
  |  Branch (13378:23): [True: 68.7k, False: 123k]
  ------------------
13379|  75.7k|        {
13380|  75.7k|            break; // end of buffer, or a quote/escape/control byte
13381|  75.7k|        }
13382|   123k|#if JSON_SCAN_VECTOR_UTF8
13383|   123k|#if JSON_SCAN_SSSE3_DISPATCH
13384|   123k|        if (JSON_HEDLEY_LIKELY(cpu_has_ssse3()))
  ------------------
  |  | 1696|   123k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 123k, False: 0]
  |  |  ------------------
  ------------------
13385|   123k|#endif
13386|   123k|        {
13387|   123k|            return static_cast<std::size_t>(scan_string_vector(p, e) - data);
13388|   123k|        }
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|  75.7k|    return static_cast<std::size_t>(p - data);
13406|   199k|}
_ZN8nlohmann16json_abi_v3_12_06detail13plain_run_endEPKhS3_:
13333|   199k|{
13334|   199k|    constexpr int prefix_words = JSON_SCAN_NEON ? 4 : 1;
  ------------------
  |  |12600|   199k|    #define JSON_SCAN_NEON 0
  |  |  ------------------
  |  |  |  Branch (12600:28): [Folded, False: 199k]
  |  |  ------------------
  ------------------
13335|   202k|    for (int words = prefix_words; words > 0 && e - p >= 8; --words)
  ------------------
  |  Branch (13335:36): [True: 199k, False: 3.16k]
  |  Branch (13335:49): [True: 124k, False: 75.4k]
  ------------------
13336|   124k|    {
13337|   124k|        const std::uint64_t special = swar_string_special(read_eight_bytes(p));
13338|   124k|        if (special != 0)
  ------------------
  |  Branch (13338:13): [True: 121k, False: 3.16k]
  ------------------
13339|   121k|        {
13340|   121k|            return p + (static_cast<std::size_t>(count_trailing_zeros(special)) / 8);
13341|   121k|        }
13342|  3.16k|        p += 8;
13343|  3.16k|    }
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|  78.6k|    if (e - p >= 16)
  ------------------
  |  Branch (13348:9): [True: 1.70k, False: 76.9k]
  ------------------
13349|  1.70k|    {
13350|  1.70k|        p = vector_plain_run_long(p, e);
13351|  1.70k|        if (e - p >= 16)
  ------------------
  |  Branch (13351:13): [True: 1.32k, False: 378]
  ------------------
13352|  1.32k|        {
13353|  1.32k|            return p; // the vector loop stopped at a special byte
13354|  1.32k|        }
13355|  1.70k|    }
13356|  77.3k|    return p + find_string_special(p, static_cast<std::size_t>(e - p));
13357|  78.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail19swar_string_specialEm:
13004|   125k|{
13005|   125k|    constexpr std::uint64_t ones = 0x0101010101010101ull;
13006|   125k|    constexpr std::uint64_t high = 0x8080808080808080ull;
13007|   125k|    const std::uint64_t q = v ^ 0x2222222222222222ull; // '"'  (0x22)
13008|   125k|    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|   125k|    return ((q - ones) | (b - ones) | (v - 0x2020202020202020ull) | v) & high;
13013|   125k|}
_ZN8nlohmann16json_abi_v3_12_06detail21vector_plain_run_longEPKhS3_:
12699|  1.70k|{
12700|  1.70k|    return vector_plain_run(p, e);
12701|  1.70k|}
_ZN8nlohmann16json_abi_v3_12_06detail16vector_plain_runEPKhS3_:
12659|  1.70k|{
12660|  2.59k|    while (e - p >= 16)
  ------------------
  |  Branch (12660:12): [True: 2.43k, False: 162]
  ------------------
12661|  2.43k|    {
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|  2.43k|        const __m128i in = _mm_loadu_si128(static_cast<const __m128i*>(static_cast<const void*>(p))); // NOLINT(bugprone-casting-through-void)
12675|  2.43k|        const __m128i special = _mm_or_si128(_mm_cmpeq_epi8(in, _mm_set1_epi8('\\')),
12676|  2.43k|                                             _mm_cmplt_epi8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(33)));
12677|  2.43k|        const auto bits = static_cast<std::uint64_t>(static_cast<unsigned>(_mm_movemask_epi8(special)));
12678|  2.43k|        if (bits != 0)
  ------------------
  |  Branch (12678:13): [True: 1.54k, False: 888]
  ------------------
12679|  1.54k|        {
12680|  1.54k|            return p + count_trailing_zeros(bits);
12681|  1.54k|        }
12682|    888|#endif
12683|    888|        p += 16;
12684|    888|    }
12685|    162|    return p;
12686|  1.70k|}
_ZN8nlohmann16json_abi_v3_12_06detail19find_string_specialEPKhm:
13018|  77.3k|{
13019|  77.3k|    std::size_t i = 0;
13020|  77.5k|    for (; i + 8 <= n; i += 8)
  ------------------
  |  Branch (13020:12): [True: 1.05k, False: 76.4k]
  ------------------
13021|  1.05k|    {
13022|  1.05k|        const std::uint64_t special = swar_string_special(read_eight_bytes(data + i));
13023|  1.05k|        if (special != 0)
  ------------------
  |  Branch (13023:13): [True: 840, False: 216]
  ------------------
13024|    840|        {
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|    840|            return i + (static_cast<std::size_t>(count_trailing_zeros(special)) / 8);
13028|    840|        }
13029|  1.05k|    }
13030|   102k|    for (; i < n; ++i)
  ------------------
  |  Branch (13030:12): [True: 94.9k, False: 7.06k]
  ------------------
13031|  94.9k|    {
13032|  94.9k|        if (is_string_special(data[i]))
  ------------------
  |  Branch (13032:13): [True: 69.4k, False: 25.5k]
  ------------------
13033|  69.4k|        {
13034|  69.4k|            return i;
13035|  69.4k|        }
13036|  94.9k|    }
13037|  7.06k|    return n;
13038|  76.4k|}
_ZN8nlohmann16json_abi_v3_12_06detail17is_string_specialEh:
12997|   101k|{
12998|   101k|    return c == '\"' || c == '\\' || c < 0x20u || c >= 0x80u;
  ------------------
  |  Branch (12998:12): [True: 2.65k, False: 98.7k]
  |  Branch (12998:25): [True: 1.39k, False: 97.3k]
  |  Branch (12998:38): [True: 23.7k, False: 73.6k]
  |  Branch (12998:51): [True: 43.8k, False: 29.8k]
  ------------------
12999|   101k|}
_ZN8nlohmann16json_abi_v3_12_06detail13cpu_has_ssse3Ev:
12726|   123k|{
12727|   123k|    static std::atomic<int> known{0}; // 0: not asked yet, 1: no, 2: yes
12728|   123k|    int state = known.load(std::memory_order_relaxed);
12729|   123k|    if (JSON_HEDLEY_UNLIKELY(state == 0))
  ------------------
  |  | 1697|   123k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1, False: 123k]
  |  |  ------------------
  ------------------
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|   123k|    return state == 2;
12735|   123k|}
_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|   123k|{
13317|   123k|    const unsigned char* block = p;
13318|   123k|    if (vector_utf8_run(p, e, block))
  ------------------
  |  Branch (13318:9): [True: 564, False: 123k]
  ------------------
13319|    564|    {
13320|    564|        return block;
13321|    564|    }
13322|   123k|    return scan_string_finish(p, block, e);
13323|   123k|}
_ZN8nlohmann16json_abi_v3_12_06detail15vector_utf8_runEPKhS3_RS3_:
12802|   123k|{
12803|   123k|    using lookup = utf8_lookup4<>;
12804|   123k|    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|   123k|    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|   123k|    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|   123k|    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|   123k|    const __m128i nibble = _mm_set1_epi8(0x0F);
12849|   123k|    const __m128i zero = _mm_setzero_si128();
12850|   123k|    __m128i prev = zero;
12851|   124k|    while (e - block >= 16)
  ------------------
  |  Branch (12851:12): [True: 60.8k, False: 63.8k]
  ------------------
12852|  60.8k|    {
12853|  60.8k|        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|  60.8k|        const __m128i special = _mm_or_si128(_mm_cmpeq_epi8(in, _mm_set1_epi8('\\')),
12857|  60.8k|                                             _mm_cmpeq_epi8(_mm_subs_epu8(_mm_xor_si128(in, _mm_set1_epi8(2)), _mm_set1_epi8(32)), zero));
12858|  60.8k|        const __m128i prev1 = _mm_alignr_epi8(in, prev, 15);
12859|  60.8k|        const __m128i sc = _mm_and_si128(_mm_and_si128(_mm_shuffle_epi8(t1h, _mm_and_si128(_mm_srli_epi16(prev1, 4), nibble)),
12860|  60.8k|                                         _mm_shuffle_epi8(t1l, _mm_and_si128(prev1, nibble))),
12861|  60.8k|                                         _mm_shuffle_epi8(t2h, _mm_and_si128(_mm_srli_epi16(in, 4), nibble)));
12862|  60.8k|        const __m128i must23 = _mm_or_si128(_mm_subs_epu8(_mm_alignr_epi8(in, prev, 14), _mm_set1_epi8(0xE0 - 0x80)),
12863|  60.8k|                                            _mm_subs_epu8(_mm_alignr_epi8(in, prev, 13), _mm_set1_epi8(0xF0 - 0x80)));
12864|  60.8k|        const __m128i err = _mm_xor_si128(_mm_and_si128(must23, _mm_set1_epi8(static_cast<char>(-128))), sc);
12865|  60.8k|        const auto special_bits = static_cast<unsigned>(_mm_movemask_epi8(special));
12866|  60.8k|        const auto err_bits = ~static_cast<unsigned>(_mm_movemask_epi8(_mm_cmpeq_epi8(err, zero))) & 0xFFFFu;
12867|  60.8k|        if (special_bits != 0)
  ------------------
  |  Branch (12867:13): [True: 23.6k, False: 37.2k]
  ------------------
12868|  23.6k|        {
12869|  23.6k|            const auto k = static_cast<unsigned>(count_trailing_zeros(static_cast<std::uint64_t>(special_bits)));
12870|  23.6k|            if ((err_bits & ((2u << k) - 1u)) == 0)
  ------------------
  |  Branch (12870:17): [True: 564, False: 23.0k]
  ------------------
12871|    564|            {
12872|    564|                block_out = block + k;
12873|    564|                return true;
12874|    564|            }
12875|  23.0k|            break;
12876|  23.6k|        }
12877|  37.2k|        if (err_bits != 0)
  ------------------
  |  Branch (12877:13): [True: 36.3k, False: 858]
  ------------------
12878|  36.3k|        {
12879|  36.3k|            break;
12880|  36.3k|        }
12881|    858|        prev = in;
12882|    858|        block += 16;
12883|    858|    }
12884|   123k|#endif
12885|   123k|    block_out = block;
12886|   123k|    return false;
12887|   123k|}
_ZN8nlohmann16json_abi_v3_12_06detail18scan_string_finishEPKhS3_S3_:
13274|   123k|{
13275|   124k|    for (int i = 1; i <= 3 && block - i >= p; ++i)
  ------------------
  |  Branch (13275:21): [True: 123k, False: 120]
  |  Branch (13275:31): [True: 1.07k, False: 122k]
  ------------------
13276|  1.07k|    {
13277|  1.07k|        const unsigned char c = block[-i];
13278|  1.07k|        if (c < 0x80)
  ------------------
  |  Branch (13278:13): [True: 120, False: 954]
  ------------------
13279|    120|        {
13280|    120|            break;
13281|    120|        }
13282|    954|        if (c >= 0xC0)
  ------------------
  |  Branch (13282:13): [True: 276, False: 678]
  ------------------
13283|    276|        {
13284|    276|            const int len = 2 + static_cast<int>(c >= 0xE0) + static_cast<int>(c >= 0xF0);
13285|    276|            if (len > i)
  ------------------
  |  Branch (13285:17): [True: 162, False: 114]
  ------------------
13286|    162|            {
13287|    162|                block -= i;
13288|    162|            }
13289|    276|            break;
13290|    276|        }
13291|    954|    }
13292|   134k|    for (p = block; p != e;)
  ------------------
  |  Branch (13292:21): [True: 131k, False: 2.28k]
  ------------------
13293|   131k|    {
13294|   131k|        if (*p < 0x80)
  ------------------
  |  Branch (13294:13): [True: 6.48k, False: 125k]
  ------------------
13295|  6.48k|        {
13296|  6.48k|            if (is_string_special(*p))
  ------------------
  |  Branch (13296:17): [True: 2.19k, False: 4.29k]
  ------------------
13297|  2.19k|            {
13298|  2.19k|                return p;
13299|  2.19k|            }
13300|  4.29k|            ++p;
13301|  4.29k|            continue;
13302|  6.48k|        }
13303|   125k|        const std::size_t n = validate_one_utf8(p, static_cast<std::size_t>(e - p));
13304|   125k|        if (n == 0)
  ------------------
  |  Branch (13304:13): [True: 118k, False: 6.60k]
  ------------------
13305|   118k|        {
13306|   118k|            return p;
13307|   118k|        }
13308|  6.60k|        p += n;
13309|  6.60k|    }
13310|  2.28k|    return p;
13311|   123k|}
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE8put_charEc:
38914|  1.61M|    {
38915|  1.61M|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos == write_buffer.size()))
  ------------------
  |  | 1697|  1.61M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1.45k, False: 1.61M]
  |  |  ------------------
  ------------------
38916|  1.45k|        {
38917|  1.45k|            flush();
38918|  1.45k|        }
38919|  1.61M|        write_buffer[write_buffer_pos++] = c;
38920|  1.61M|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE14put_object_keyILm3EEEvRKSC_RAT__Kc:
38294|  94.1k|    {
38295|  94.1k|#if JSON_LITTLE_ENDIAN_TARGET
38296|  94.1k|        if (put_short_quoted(s, tail))
  ------------------
  |  Branch (38296:13): [True: 78.0k, False: 16.1k]
  ------------------
38297|  78.0k|        {
38298|  78.0k|            return;
38299|  78.0k|        }
38300|  16.1k|#endif
38301|  16.1k|        put_char('"');
38302|  16.1k|        dump_escaped(s);
38303|  16.1k|        put_literal(tail);
38304|  16.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|  94.1k|    {
38349|  94.1k|        const std::size_t n = s.size();
38350|  94.1k|        if (n > short_string_max || write_buffer_pos + n + N > write_buffer.size())
  ------------------
  |  Branch (38350:13): [True: 132, False: 94.0k]
  |  Branch (38350:37): [True: 336, False: 93.6k]
  ------------------
38351|    468|        {
38352|    468|            return false;
38353|    468|        }
38354|       |
38355|  93.6k|        char* d = write_buffer.data() + write_buffer_pos + 1;
38356|  93.6k|        const char* const p = s.data();
38357|       |
38358|  93.6k|        if (n >= 8)
  ------------------
  |  Branch (38358:13): [True: 1.62k, False: 92.0k]
  ------------------
38359|  1.62k|        {
38360|  1.62k|#if JSON_SCAN_VECTOR
38361|  1.62k|            if (!(n >= 16 ? copy_plain_vectors(d, p, n) : copy_plain_halves(d, p, n)))
  ------------------
  |  Branch (38361:17): [True: 1.31k, False: 306]
  |  Branch (38361:19): [True: 708, False: 912]
  ------------------
38362|  1.31k|            {
38363|  1.31k|                return false;
38364|  1.31k|            }
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.62k|        }
38376|  92.0k|        else if (n >= 4)
  ------------------
  |  Branch (38376:18): [True: 1.20k, False: 90.8k]
  ------------------
38377|  1.20k|        {
38378|  1.20k|            const auto a = load_word<std::uint32_t>(p);
38379|  1.20k|            const auto b = load_word<std::uint32_t>(p + n - 4);
38380|       |            // the bytes above the string are filled with a plain character
38381|  1.20k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 4)))
38382|  1.20k|                                    | (0x4141414141414141ull << (8 * n));
38383|  1.20k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38383:17): [True: 696, False: 510]
  ------------------
38384|    696|            {
38385|    696|                return false;
38386|    696|            }
38387|    510|            store_word(d, a);
38388|    510|            store_word(d + n - 4, b);
38389|    510|        }
38390|  90.8k|        else if (n >= 2)
  ------------------
  |  Branch (38390:18): [True: 1.47k, False: 89.3k]
  ------------------
38391|  1.47k|        {
38392|  1.47k|            const auto a = load_word<std::uint16_t>(p);
38393|  1.47k|            const auto b = load_word<std::uint16_t>(p + n - 2);
38394|  1.47k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 2)))
38395|  1.47k|                                    | (0x4141414141414141ull << (8 * n));
38396|  1.47k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38396:17): [True: 834, False: 642]
  ------------------
38397|    834|            {
38398|    834|                return false;
38399|    834|            }
38400|    642|            store_word(d, a);
38401|    642|            store_word(d + n - 2, b);
38402|    642|        }
38403|  89.3k|        else if (n == 1)
  ------------------
  |  Branch (38403:18): [True: 32.8k, False: 56.5k]
  ------------------
38404|  32.8k|        {
38405|  32.8k|            const std::uint64_t w = static_cast<std::uint64_t>(static_cast<unsigned char>(p[0])) | (0x4141414141414141ull << 8u);
38406|  32.8k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38406:17): [True: 12.8k, False: 20.0k]
  ------------------
38407|  12.8k|            {
38408|  12.8k|                return false;
38409|  12.8k|            }
38410|  20.0k|            *d = p[0];
38411|  20.0k|        }
38412|       |
38413|  78.0k|        d[-1] = '"';
38414|  78.0k|        std::memcpy(d + n, tail, N - 1);
38415|  78.0k|        write_buffer_pos += n + N;
38416|  78.0k|        return true;
38417|  93.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11dump_scalarERKSG_m:
38106|   349k|    {
38107|   349k|        switch (val.m_data.m_type)
38108|   349k|        {
38109|  42.1k|            case value_t::string:
  ------------------
  |  Branch (38109:13): [True: 42.1k, False: 307k]
  ------------------
38110|  42.1k|            {
38111|  42.1k|                dump_string_value(*val.m_data.m_value.string);
38112|  42.1k|                return;
38113|      0|            }
38114|       |
38115|   130k|            case value_t::binary:
  ------------------
  |  Branch (38115:13): [True: 130k, False: 218k]
  ------------------
38116|   130k|            {
38117|   130k|                dump_binary_value(current_indent, *val.m_data.m_value.binary);
38118|   130k|                return;
38119|      0|            }
38120|       |
38121|  9.11k|            case value_t::boolean:
  ------------------
  |  Branch (38121:13): [True: 9.11k, False: 340k]
  ------------------
38122|  9.11k|            {
38123|  9.11k|                if (val.m_data.m_value.boolean)
  ------------------
  |  Branch (38123:21): [True: 3.40k, False: 5.71k]
  ------------------
38124|  3.40k|                {
38125|  3.40k|                    put_literal("true");
38126|  3.40k|                }
38127|  5.71k|                else
38128|  5.71k|                {
38129|  5.71k|                    put_literal("false");
38130|  5.71k|                }
38131|  9.11k|                return;
38132|      0|            }
38133|       |
38134|  42.1k|            case value_t::number_integer:
  ------------------
  |  Branch (38134:13): [True: 42.1k, False: 307k]
  ------------------
38135|  42.1k|            {
38136|  42.1k|                dump_signed_value(val.m_data.m_value.number_integer);
38137|  42.1k|                return;
38138|      0|            }
38139|       |
38140|  77.7k|            case value_t::number_unsigned:
  ------------------
  |  Branch (38140:13): [True: 77.7k, False: 271k]
  ------------------
38141|  77.7k|            {
38142|  77.7k|                dump_unsigned_value(val.m_data.m_value.number_unsigned);
38143|  77.7k|                return;
38144|      0|            }
38145|       |
38146|  40.0k|            case value_t::number_float:
  ------------------
  |  Branch (38146:13): [True: 40.0k, False: 309k]
  ------------------
38147|  40.0k|            {
38148|  40.0k|                dump_float_value(val.m_data.m_value.number_float);
38149|  40.0k|                return;
38150|      0|            }
38151|       |
38152|      0|            case value_t::discarded:
  ------------------
  |  Branch (38152:13): [True: 0, False: 349k]
  ------------------
38153|      0|            {
38154|      0|                put_literal("<discarded>");
38155|      0|                return;
38156|      0|            }
38157|       |
38158|  7.38k|            case value_t::null:
  ------------------
  |  Branch (38158:13): [True: 7.38k, False: 342k]
  ------------------
38159|  7.38k|            {
38160|  7.38k|                put_literal("null");
38161|  7.38k|                return;
38162|      0|            }
38163|       |
38164|      0|            case value_t::object: // LCOV_EXCL_LINE
  ------------------
  |  Branch (38164:13): [True: 0, False: 349k]
  ------------------
38165|      0|            case value_t::array:  // LCOV_EXCL_LINE
  ------------------
  |  Branch (38165:13): [True: 0, False: 349k]
  ------------------
38166|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (38166:13): [True: 0, False: 349k]
  ------------------
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|   349k|        }
38169|   349k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_string_valueERKSC_:
38174|  42.1k|    {
38175|  42.1k|#if JSON_LITTLE_ENDIAN_TARGET
38176|  42.1k|        if (s.size() <= short_string_max && put_short_quoted(s, "\""))
  ------------------
  |  Branch (38176:13): [True: 41.1k, False: 1.06k]
  |  Branch (38176:45): [True: 21.2k, False: 19.8k]
  ------------------
38177|  21.2k|        {
38178|  21.2k|            return;
38179|  21.2k|        }
38180|  20.9k|#endif
38181|  20.9k|        put_char('"');
38182|  20.9k|        dump_escaped(s);
38183|  20.9k|        put_char('"');
38184|  20.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16put_short_quotedILm2EEEbRKSC_RAT__Kc:
38348|  41.1k|    {
38349|  41.1k|        const std::size_t n = s.size();
38350|  41.1k|        if (n > short_string_max || write_buffer_pos + n + N > write_buffer.size())
  ------------------
  |  Branch (38350:13): [True: 0, False: 41.1k]
  |  Branch (38350:37): [True: 330, False: 40.8k]
  ------------------
38351|    330|        {
38352|    330|            return false;
38353|    330|        }
38354|       |
38355|  40.8k|        char* d = write_buffer.data() + write_buffer_pos + 1;
38356|  40.8k|        const char* const p = s.data();
38357|       |
38358|  40.8k|        if (n >= 8)
  ------------------
  |  Branch (38358:13): [True: 9.76k, False: 31.0k]
  ------------------
38359|  9.76k|        {
38360|  9.76k|#if JSON_SCAN_VECTOR
38361|  9.76k|            if (!(n >= 16 ? copy_plain_vectors(d, p, n) : copy_plain_halves(d, p, n)))
  ------------------
  |  Branch (38361:17): [True: 7.89k, False: 1.87k]
  |  Branch (38361:19): [True: 4.23k, False: 5.52k]
  ------------------
38362|  7.89k|            {
38363|  7.89k|                return false;
38364|  7.89k|            }
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.76k|        }
38376|  31.0k|        else if (n >= 4)
  ------------------
  |  Branch (38376:18): [True: 7.38k, False: 23.6k]
  ------------------
38377|  7.38k|        {
38378|  7.38k|            const auto a = load_word<std::uint32_t>(p);
38379|  7.38k|            const auto b = load_word<std::uint32_t>(p + n - 4);
38380|       |            // the bytes above the string are filled with a plain character
38381|  7.38k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 4)))
38382|  7.38k|                                    | (0x4141414141414141ull << (8 * n));
38383|  7.38k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38383:17): [True: 5.76k, False: 1.62k]
  ------------------
38384|  5.76k|            {
38385|  5.76k|                return false;
38386|  5.76k|            }
38387|  1.62k|            store_word(d, a);
38388|  1.62k|            store_word(d + n - 4, b);
38389|  1.62k|        }
38390|  23.6k|        else if (n >= 2)
  ------------------
  |  Branch (38390:18): [True: 4.20k, False: 19.4k]
  ------------------
38391|  4.20k|        {
38392|  4.20k|            const auto a = load_word<std::uint16_t>(p);
38393|  4.20k|            const auto b = load_word<std::uint16_t>(p + n - 2);
38394|  4.20k|            const std::uint64_t w = a | (static_cast<std::uint64_t>(b) << (8 * (n - 2)))
38395|  4.20k|                                    | (0x4141414141414141ull << (8 * n));
38396|  4.20k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38396:17): [True: 2.96k, False: 1.24k]
  ------------------
38397|  2.96k|            {
38398|  2.96k|                return false;
38399|  2.96k|            }
38400|  1.24k|            store_word(d, a);
38401|  1.24k|            store_word(d + n - 2, b);
38402|  1.24k|        }
38403|  19.4k|        else if (n == 1)
  ------------------
  |  Branch (38403:18): [True: 4.24k, False: 15.2k]
  ------------------
38404|  4.24k|        {
38405|  4.24k|            const std::uint64_t w = static_cast<std::uint64_t>(static_cast<unsigned char>(p[0])) | (0x4141414141414141ull << 8u);
38406|  4.24k|            if (swar_not_plain(w) != 0)
  ------------------
  |  Branch (38406:17): [True: 2.94k, False: 1.30k]
  ------------------
38407|  2.94k|            {
38408|  2.94k|                return false;
38409|  2.94k|            }
38410|  1.30k|            *d = p[0];
38411|  1.30k|        }
38412|       |
38413|  21.2k|        d[-1] = '"';
38414|  21.2k|        std::memcpy(d + n, tail, N - 1);
38415|  21.2k|        write_buffer_pos += n + N;
38416|  21.2k|        return true;
38417|  40.8k|    }
_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|   130k|    {
38207|   130k|        if (pretty_print)
  ------------------
  |  Branch (38207:13): [True: 0, False: 130k]
  ------------------
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|   130k|        else
38240|   130k|        {
38241|   130k|            put_literal("{\"bytes\":[");
38242|       |
38243|   130k|            if (!binary.empty())
  ------------------
  |  Branch (38243:17): [True: 13.0k, False: 117k]
  ------------------
38244|  13.0k|            {
38245|  87.6k|                for (auto i = binary.cbegin(); i != binary.cend() - 1; ++i)
  ------------------
  |  Branch (38245:48): [True: 74.5k, False: 13.0k]
  ------------------
38246|  74.5k|                {
38247|  74.5k|                    dump_byte(*i);
38248|  74.5k|                    put_char(',');
38249|  74.5k|                }
38250|  13.0k|                dump_byte(binary.back());
38251|  13.0k|            }
38252|       |
38253|   130k|            put_literal("],\"subtype\":");
38254|   130k|            if (binary.has_subtype())
  ------------------
  |  Branch (38254:17): [True: 0, False: 130k]
  ------------------
38255|      0|            {
38256|      0|                dump_subtype(binary.subtype());
38257|      0|                put_char('}');
38258|      0|            }
38259|   130k|            else
38260|   130k|            {
38261|   130k|                put_literal("null}");
38262|   130k|            }
38263|   130k|        }
38264|   130k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm11EEEvRAT__Kc:
39040|   130k|    {
39041|   130k|        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|   130k|        constexpr std::size_t length = N - 1;
39044|   130k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|   130k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|   130k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 198, False: 130k]
  |  |  ------------------
  ------------------
39047|    198|        {
39048|    198|            flush();
39049|    198|        }
39050|   130k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|   130k|        write_buffer_pos += length;
39052|   130k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9dump_byteIhEEvT_:
39434|  87.6k|    {
39435|  87.6k|        dump_byte(value, std::integral_constant < bool,
39436|  87.6k|                  std::is_unsigned<ByteType>::value && sizeof(ByteType) == 1
39437|  87.6k|                  && !std::is_same<ByteType, bool>::value > {});
39438|  87.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9dump_byteIhEEvT_NS4_17integral_constantIbLb1EEE:
39448|  87.6k|    {
39449|  87.6k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + 3 > write_buffer.size()))
  ------------------
  |  | 1697|  87.6k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 216, False: 87.4k]
  |  |  ------------------
  ------------------
39450|    216|        {
39451|    216|            flush();
39452|    216|        }
39453|       |
39454|  87.6k|        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|  87.6k|        std::size_t pos = write_buffer_pos;
39461|       |
39462|  87.6k|        if (byte >= 100)
  ------------------
  |  Branch (39462:13): [True: 19.5k, False: 68.0k]
  ------------------
39463|  19.5k|        {
39464|  19.5k|            write_buffer[pos++] = static_cast<char>('0' + (byte / 100));
39465|  19.5k|            write_buffer[pos++] = static_cast<char>('0' + ((byte / 10) % 10));
39466|  19.5k|        }
39467|  68.0k|        else if (byte >= 10)
  ------------------
  |  Branch (39467:18): [True: 55.5k, False: 12.4k]
  ------------------
39468|  55.5k|        {
39469|  55.5k|            write_buffer[pos++] = static_cast<char>('0' + (byte / 10));
39470|  55.5k|        }
39471|       |
39472|  87.6k|        write_buffer[pos++] = static_cast<char>('0' + (byte % 10));
39473|       |
39474|  87.6k|        write_buffer_pos = pos;
39475|  87.6k|    }
_ZNK8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEE11has_subtypeEv:
 8590|   174k|    {
 8591|   174k|        return m_has_subtype;
 8592|   174k|    }
_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|  77.7k|    {
39528|  77.7k|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
39529|  77.7k|        {
39530|  77.7k|            {
39531|  77.7k|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
39532|  77.7k|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
39533|  77.7k|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
39534|  77.7k|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
39535|  77.7k|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
39536|  77.7k|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
39537|  77.7k|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
39538|  77.7k|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
39539|  77.7k|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
39540|  77.7k|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
39541|  77.7k|            }
39542|  77.7k|        };
39543|       |
39544|       |        // special case for "0"
39545|  77.7k|        if (x == 0)
  ------------------
  |  Branch (39545:13): [True: 42.1k, False: 35.6k]
  ------------------
39546|  42.1k|        {
39547|  42.1k|            put_char('0');
39548|  42.1k|            return;
39549|  42.1k|        }
39550|       |
39551|       |        // use a pointer to fill the buffer (room for as much as number_buffer holds)
39552|  35.6k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|  35.6k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 108, False: 35.5k]
  |  |  ------------------
  ------------------
39553|    108|        {
39554|    108|            flush();
39555|    108|        }
39556|  35.6k|        auto* buffer_ptr = write_buffer.data() + write_buffer_pos;
39557|       |
39558|  35.6k|        number_magnitude_t abs_value;
39559|       |
39560|       |        // one byte for the minus sign
39561|  35.6k|        unsigned int n_chars = 0;
39562|       |
39563|  35.6k|        if (is_negative_number(x))
  ------------------
  |  Branch (39563:13): [True: 0, False: 35.6k]
  ------------------
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|  35.6k|        else
39570|  35.6k|        {
39571|  35.6k|            abs_value = static_cast<number_magnitude_t>(x);
39572|  35.6k|        }
39573|       |
39574|       |        // up to 16 digits: eight at a time (as the digits of floats), written
39575|       |        // without leading zeros
39576|  35.6k|        if (abs_value < 10000000000000000u)
  ------------------
  |  Branch (39576:13): [True: 32.6k, False: 2.94k]
  ------------------
39577|  32.6k|        {
39578|  32.6k|            const auto value = static_cast<std::uint64_t>(abs_value); // fits: abs_value < 10^16
39579|  32.6k|            const std::uint64_t upper = value / 100000000u;
39580|  32.6k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(upper != 0 ? upper : value);
  ------------------
  |  Branch (39580:70): [True: 1.69k, False: 30.9k]
  ------------------
39581|  32.6k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39582|  32.6k|            char* const p = buffer_ptr + n_chars;
39583|  32.6k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39584|  32.6k|            n_chars += 8 - leading;
39585|  32.6k|            if (upper != 0)
  ------------------
  |  Branch (39585:17): [True: 1.69k, False: 30.9k]
  ------------------
39586|  1.69k|            {
39587|  1.69k|                dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(value - (upper * 100000000u)) + 0x3030303030303030u);
39588|  1.69k|                n_chars += 8;
39589|  1.69k|            }
39590|  32.6k|            write_buffer_pos += n_chars;
39591|  32.6k|            return;
39592|  32.6k|        }
39593|       |
39594|       |        // 17 to 20 digits: the first one to four, then twice eight
39595|  2.94k|        if (magnitude_fits_64_bits(abs_value, std::integral_constant<bool, magnitude_has_at_most_64_bits>()))
  ------------------
  |  Branch (39595:13): [True: 2.94k, False: 0]
  ------------------
39596|  2.94k|        {
39597|  2.94k|            const auto value = static_cast<std::uint64_t>(abs_value);
39598|  2.94k|            const std::uint64_t top = value / 10000000000000000u; // 1 to 1844
39599|  2.94k|            const std::uint64_t low16 = value - (top * 10000000000000000u);
39600|  2.94k|            const std::uint64_t middle = low16 / 100000000u;
39601|  2.94k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(top);
39602|  2.94k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39603|  2.94k|            char* const p = buffer_ptr + n_chars;
39604|  2.94k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39605|  2.94k|            dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(middle) + 0x3030303030303030u);
39606|  2.94k|            dtoa_impl::store_msb_first(p + 16 - leading, dtoa_impl::eight_digit_bytes(low16 - (middle * 100000000u)) + 0x3030303030303030u);
39607|  2.94k|            write_buffer_pos += n_chars + 24 - leading;
39608|  2.94k|            return;
39609|  2.94k|        }
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|  35.6k|    {
39416|  35.6k|        return false;
39417|  35.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11remove_signEl:
39793|  42.1k|    {
39794|  42.1k|        JSON_ASSERT(x < 0);
  ------------------
  |  | 2653|  42.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (39794:9): [True: 42.1k, False: 0]
  ------------------
39795|  42.1k|        return static_cast<number_magnitude_t>(static_cast<number_magnitude_t>(-(x + 1)) + 1);
39796|  42.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl17eight_digit_bytesEm:
37132|  96.6k|{
37133|  96.6k|    const std::uint64_t abcd_efgh = abcdefgh + (((std::uint64_t{1} << 32u) - 10000u) * ((abcdefgh * (((std::uint64_t{1} << 40u) / 10000u) + 1u)) >> 40u));
37134|  96.6k|    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|  96.6k|    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|  96.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail19count_leading_zerosEm:
 9062|   152k|{
 9063|   152k|#if defined(__GNUC__) || defined(__clang__)
 9064|   152k|    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|   152k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl15store_msb_firstEPcm:
37142|  99.0k|{
37143|  99.0k|#if JSON_LITTLE_ENDIAN_TARGET
37144|  99.0k|    v = byteswap(v);
37145|  99.0k|    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|  99.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEm:
 9172|   148k|{
 9173|   148k|#if defined(__GNUC__) || defined(__clang__)
 9174|   148k|    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|   148k|}
_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|  5.18k|    {
39775|  5.18k|        return true;
39776|  5.18k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm13EEEvRAT__Kc:
39040|   130k|    {
39041|   130k|        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|   130k|        constexpr std::size_t length = N - 1;
39044|   130k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|   130k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|   130k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 222, False: 130k]
  |  |  ------------------
  ------------------
39047|    222|        {
39048|    222|            flush();
39049|    222|        }
39050|   130k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|   130k|        write_buffer_pos += length;
39052|   130k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm5EEEvRAT__Kc:
39040|  15.4k|    {
39041|  15.4k|        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|  15.4k|        constexpr std::size_t length = N - 1;
39044|  15.4k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|  15.4k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|  15.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 204, False: 15.2k]
  |  |  ------------------
  ------------------
39047|    204|        {
39048|    204|            flush();
39049|    204|        }
39050|  15.4k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|  15.4k|        write_buffer_pos += length;
39052|  15.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11put_literalILm6EEEvRAT__Kc:
39040|   136k|    {
39041|   136k|        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|   136k|        constexpr std::size_t length = N - 1;
39044|   136k|        static_assert(length < write_buffer_size, "string literal must fit into the write buffer");
39045|       |
39046|   136k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + length > write_buffer.size()))
  ------------------
  |  | 1697|   136k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 246, False: 136k]
  |  |  ------------------
  ------------------
39047|    246|        {
39048|    246|            flush();
39049|    246|        }
39050|   136k|        std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
39051|   136k|        write_buffer_pos += length;
39052|   136k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE17dump_signed_valueEl:
38191|  42.1k|    {
38192|  42.1k|        dump_integer(x);
38193|  42.1k|    }
_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|  42.1k|    {
39528|  42.1k|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
39529|  42.1k|        {
39530|  42.1k|            {
39531|  42.1k|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
39532|  42.1k|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
39533|  42.1k|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
39534|  42.1k|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
39535|  42.1k|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
39536|  42.1k|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
39537|  42.1k|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
39538|  42.1k|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
39539|  42.1k|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
39540|  42.1k|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
39541|  42.1k|            }
39542|  42.1k|        };
39543|       |
39544|       |        // special case for "0"
39545|  42.1k|        if (x == 0)
  ------------------
  |  Branch (39545:13): [True: 0, False: 42.1k]
  ------------------
39546|      0|        {
39547|      0|            put_char('0');
39548|      0|            return;
39549|      0|        }
39550|       |
39551|       |        // use a pointer to fill the buffer (room for as much as number_buffer holds)
39552|  42.1k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|  42.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 120, False: 42.0k]
  |  |  ------------------
  ------------------
39553|    120|        {
39554|    120|            flush();
39555|    120|        }
39556|  42.1k|        auto* buffer_ptr = write_buffer.data() + write_buffer_pos;
39557|       |
39558|  42.1k|        number_magnitude_t abs_value;
39559|       |
39560|       |        // one byte for the minus sign
39561|  42.1k|        unsigned int n_chars = 0;
39562|       |
39563|  42.1k|        if (is_negative_number(x))
  ------------------
  |  Branch (39563:13): [True: 42.1k, False: 0]
  ------------------
39564|  42.1k|        {
39565|  42.1k|            *buffer_ptr = '-';
39566|  42.1k|            abs_value = remove_sign(static_cast<number_integer_t>(x));
39567|  42.1k|            n_chars = 1;
39568|  42.1k|        }
39569|      0|        else
39570|      0|        {
39571|      0|            abs_value = static_cast<number_magnitude_t>(x);
39572|      0|        }
39573|       |
39574|       |        // up to 16 digits: eight at a time (as the digits of floats), written
39575|       |        // without leading zeros
39576|  42.1k|        if (abs_value < 10000000000000000u)
  ------------------
  |  Branch (39576:13): [True: 39.9k, False: 2.23k]
  ------------------
39577|  39.9k|        {
39578|  39.9k|            const auto value = static_cast<std::uint64_t>(abs_value); // fits: abs_value < 10^16
39579|  39.9k|            const std::uint64_t upper = value / 100000000u;
39580|  39.9k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(upper != 0 ? upper : value);
  ------------------
  |  Branch (39580:70): [True: 1.98k, False: 37.9k]
  ------------------
39581|  39.9k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39582|  39.9k|            char* const p = buffer_ptr + n_chars;
39583|  39.9k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39584|  39.9k|            n_chars += 8 - leading;
39585|  39.9k|            if (upper != 0)
  ------------------
  |  Branch (39585:17): [True: 1.98k, False: 37.9k]
  ------------------
39586|  1.98k|            {
39587|  1.98k|                dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(value - (upper * 100000000u)) + 0x3030303030303030u);
39588|  1.98k|                n_chars += 8;
39589|  1.98k|            }
39590|  39.9k|            write_buffer_pos += n_chars;
39591|  39.9k|            return;
39592|  39.9k|        }
39593|       |
39594|       |        // 17 to 20 digits: the first one to four, then twice eight
39595|  2.23k|        if (magnitude_fits_64_bits(abs_value, std::integral_constant<bool, magnitude_has_at_most_64_bits>()))
  ------------------
  |  Branch (39595:13): [True: 2.23k, False: 0]
  ------------------
39596|  2.23k|        {
39597|  2.23k|            const auto value = static_cast<std::uint64_t>(abs_value);
39598|  2.23k|            const std::uint64_t top = value / 10000000000000000u; // 1 to 1844
39599|  2.23k|            const std::uint64_t low16 = value - (top * 10000000000000000u);
39600|  2.23k|            const std::uint64_t middle = low16 / 100000000u;
39601|  2.23k|            const std::uint64_t first = dtoa_impl::eight_digit_bytes(top);
39602|  2.23k|            const auto leading = static_cast<unsigned>(count_leading_zeros(first) / 8); // (first is not 0)
39603|  2.23k|            char* const p = buffer_ptr + n_chars;
39604|  2.23k|            dtoa_impl::store_msb_first(p, (first << (8 * leading)) + 0x3030303030303030u);
39605|  2.23k|            dtoa_impl::store_msb_first(p + 8 - leading, dtoa_impl::eight_digit_bytes(middle) + 0x3030303030303030u);
39606|  2.23k|            dtoa_impl::store_msb_first(p + 16 - leading, dtoa_impl::eight_digit_bytes(low16 - (middle * 100000000u)) + 0x3030303030303030u);
39607|  2.23k|            write_buffer_pos += n_chars + 24 - leading;
39608|  2.23k|            return;
39609|  2.23k|        }
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|  42.1k|    {
39410|  42.1k|        return x < 0;
39411|  42.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE19dump_unsigned_valueEm:
38196|  77.7k|    {
38197|  77.7k|        dump_integer(x);
38198|  77.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE16dump_float_valueEd:
38201|  40.0k|    {
38202|  40.0k|        dump_float(x);
38203|  40.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_floatEd:
39652|  40.0k|    {
39653|       |        // NaN / inf
39654|  40.0k|        if (!std::isfinite(x))
  ------------------
  |  Branch (39654:13): [True: 4.68k, False: 35.3k]
  ------------------
39655|  4.68k|        {
39656|  4.68k|            put_literal("null");
39657|  4.68k|            return;
39658|  4.68k|        }
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|  35.3k|        static constexpr bool is_ieee_single_or_double
39667|  35.3k|            = (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|  35.3k|        dump_float(x, std::integral_constant<bool, is_ieee_single_or_double>());
39671|  35.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE10dump_floatEdNS4_17integral_constantIbLb1EEE:
39674|  35.3k|    {
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|  35.3k|        if (JSON_HEDLEY_UNLIKELY(write_buffer_pos + number_buffer.size() > write_buffer.size()))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 246, False: 35.1k]
  |  |  ------------------
  ------------------
39678|    246|        {
39679|    246|            flush();
39680|    246|        }
39681|  35.3k|        auto* begin = write_buffer.data() + write_buffer_pos;
39682|  35.3k|        auto* end = ::nlohmann::detail::to_chars(begin, begin + number_buffer.size(), x);
39683|  35.3k|        write_buffer_pos += static_cast<std::size_t>(end - begin);
39684|  35.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail8to_charsIdEEPcS3_PKcT_:
37575|  35.3k|{
37576|  35.3k|    JSON_ASSERT(std::isfinite(value));
  ------------------
  |  | 2653|  35.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37576:5): [True: 35.3k, False: 0]
  ------------------
37577|       |
37578|       |    // Use signbit(value) instead of (value < 0) since signbit works for -0.
37579|  35.3k|    if (std::signbit(value))
  ------------------
  |  Branch (37579:9): [True: 19.4k, False: 15.9k]
  ------------------
37580|  19.4k|    {
37581|  19.4k|        value = -value;
37582|  19.4k|        *first++ = '-';
37583|  19.4k|    }
37584|       |
37585|  35.3k|#ifdef __GNUC__
37586|  35.3k|    JSON_HEDLEY_DIAGNOSTIC_PUSH
37587|  35.3k|    JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wfloat-equal")
37588|  35.3k|#endif
37589|  35.3k|    if (value == 0) // +-0
  ------------------
  |  Branch (37589:9): [True: 780, False: 34.5k]
  ------------------
37590|    780|    {
37591|    780|        *first++ = '0';
37592|       |        // Make it look like a floating-point number (#362, #378)
37593|    780|        *first++ = '.';
37594|    780|        *first++ = '0';
37595|    780|        return first;
37596|    780|    }
37597|  34.5k|#ifdef __GNUC__
37598|  34.5k|    JSON_HEDLEY_DIAGNOSTIC_POP
37599|  34.5k|#endif
37600|       |
37601|  34.5k|    return dtoa_impl::write_positive(first, last, value);
37602|  35.3k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_positiveIdEEPcS4_PKcT_:
37555|  34.5k|{
37556|  34.5k|    return write_positive(first, last, value, is_binary64<FloatType> {});
37557|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_positiveIdEEPcS4_PKcT_NSt3__117integral_constantIbLb1EEE:
37537|  34.5k|{
37538|  34.5k|    return write_positive_zmij(first, last, value);
37539|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl19write_positive_zmijIdEEPcS4_PKcT_:
37515|  34.5k|{
37516|  34.5k|    static_assert(is_binary64<FloatType>::value,
37517|  34.5k|                  "internal error: the conversion of Zmij needs IEEE 754 binary64 numbers");
37518|  34.5k|    const auto bits = bit_cast<std::uint64_t>(value);
37519|  34.5k|    const zmij::shortest_decimal d = zmij::to_shortest(bits);
37520|  34.5k|    if (JSON_HEDLEY_LIKELY(last - first >= 41))
  ------------------
  |  | 1696|  34.5k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 34.5k, False: 0]
  |  |  ------------------
  ------------------
37521|  34.5k|    {
37522|  34.5k|        return write_shortest(first, d);
37523|  34.5k|    }
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|  34.5k|{
 9130|  34.5k|    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|  34.5k|    To to {};
 9135|  34.5k|    std::memcpy(&to, &from, sizeof(To));
 9136|  34.5k|    return to;
 9137|  34.5k|#endif
 9138|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11to_shortestEm:
36050|  34.5k|{
36051|  34.5k|    constexpr int extra_shift = 9;
36052|  34.5k|    const auto raw_exp = static_cast<int>((bits >> 52u) & 0x7FFu);
36053|  34.5k|    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|  34.5k|    const bool regular = bin_sig != 0 || raw_exp <= 1;
  ------------------
  |  Branch (36055:26): [True: 32.0k, False: 2.52k]
  |  Branch (36055:42): [True: 0, False: 2.52k]
  ------------------
36056|  34.5k|    const int bin_exp = (raw_exp == 0 ? 1 : raw_exp) - 1075;
  ------------------
  |  Branch (36056:26): [True: 2.49k, False: 32.0k]
  ------------------
36057|  34.5k|    if (raw_exp != 0)
  ------------------
  |  Branch (36057:9): [True: 32.0k, False: 2.49k]
  ------------------
36058|  32.0k|    {
36059|  32.0k|        bin_sig |= std::uint64_t{1} << 52u;
36060|  32.0k|    }
36061|       |    // floor(log10(2^bin_exp)), or floor(log10(3/4 * 2^bin_exp)) for the irregular case
36062|  34.5k|    const int dec_exp = ((bin_exp * 315653) - (regular ? 0 : 131072)) >> 20;
  ------------------
  |  Branch (36062:48): [True: 32.0k, False: 2.52k]
  ------------------
36063|       |    // scaled by 10^(-dec_exp - 1): the integral part is the shorter candidate
36064|  34.5k|    const int shift = bin_exp + ((-(dec_exp + 1) * 217707) >> 16) + 1 + extra_shift;
36065|  34.5k|    const uint128_parts p10 = pow10(-dec_exp - 1);
36066|  34.5k|    const uint128_parts p = umul192_hi128(p10.high, p10.low, bin_sig << static_cast<unsigned>(shift));
36067|  34.5k|    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|  34.5k|    constexpr auto fractional_low_shift = static_cast<unsigned>(extra_shift);
36070|  34.5k|    constexpr unsigned fractional_high_shift = 64u - fractional_low_shift;
36071|  34.5k|    const std::uint64_t fractional = (p.high << fractional_high_shift) | (p.low >> fractional_low_shift);
36072|  34.5k|    std::uint64_t digit = 0;
36073|  34.5k|    bool round_up = false;
36074|  34.5k|    bool round_down = false;
36075|  34.5k|    if (JSON_HEDLEY_LIKELY(regular))
  ------------------
  |  | 1696|  34.5k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 32.0k, False: 2.52k]
  |  |  ------------------
  ------------------
36076|  32.0k|    {
36077|  32.0k|        const std::uint64_t half_ulp = (p10.high >> static_cast<unsigned>(extra_shift + 1 - shift)) + (1 - (bin_sig & 1u));
36078|  32.0k|        round_up = fractional + half_ulp < fractional;
36079|  32.0k|        round_down = half_ulp > fractional;
36080|       |        // the last digit of the longer candidate, rounded to nearest
36081|  32.0k|        digit = umul128_add_hi64(fractional, 10, (std::uint64_t{1} << 63u) + 6);
36082|  32.0k|        if (fractional == (std::uint64_t{1} << 62u))
  ------------------
  |  Branch (36082:13): [True: 1.59k, False: 30.4k]
  ------------------
36083|  1.59k|        {
36084|  1.59k|            digit = 2; // 2.5 rounds to 2
36085|  1.59k|        }
36086|  32.0k|    }
36087|  2.52k|    else
36088|  2.52k|    {
36089|  2.52k|        const std::uint64_t half_ulp = p10.high >> static_cast<unsigned>(extra_shift + 1 - shift);
36090|  2.52k|        round_up = half_ulp > ~std::uint64_t{0} - fractional;
36091|  2.52k|        round_down = (half_ulp >> 1u) > fractional;
36092|  2.52k|        digit = umul128_add_hi64(fractional, 10, (std::uint64_t{1} << 63u) - 1);
36093|  2.52k|        const std::uint64_t lowest = umul128_add_hi64(fractional - (half_ulp >> 1u), 10, ~std::uint64_t{0});
36094|  2.52k|        digit = digit < lowest ? lowest : digit;
  ------------------
  |  Branch (36094:17): [True: 1.03k, False: 1.48k]
  ------------------
36095|  2.52k|    }
36096|  34.5k|    integral += round_up ? 1u : 0u;
  ------------------
  |  Branch (36096:17): [True: 3.37k, False: 31.2k]
  ------------------
36097|       |    // if the shorter candidate is outside the rounding interval: one digit more
36098|  34.5k|    return shortest_decimal{integral, dec_exp, static_cast<unsigned char>(digit), !round_up && !round_down};
  ------------------
  |  Branch (36098:83): [True: 31.2k, False: 3.37k]
  |  Branch (36098:96): [True: 8.20k, False: 23.0k]
  ------------------
36099|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij5pow10Ei:
36004|  34.5k|{
36005|  34.5k|    if (k > pow5_128_largest_power)
  ------------------
  |  Branch (36005:9): [True: 3.18k, False: 31.3k]
  ------------------
36006|  3.18k|    {
36007|  3.18k|        return compute_pow10(k); // (only for the smallest doubles)
36008|  3.18k|    }
36009|  31.3k|    const auto i = 2 * static_cast<std::size_t>(k - pow5_128_smallest_power);
36010|  31.3k|    uint128_parts r{pow5_128()[i + 1], pow5_128()[i]};
36011|  31.3k|    const std::uint64_t adjust = static_cast<unsigned>(k + 27) < 27u ? 1u : 0u;
  ------------------
  |  Branch (36011:34): [True: 1.78k, False: 29.6k]
  ------------------
36012|  31.3k|    r.high -= r.low < adjust ? 1u : 0u;
  ------------------
  |  Branch (36012:15): [True: 0, False: 31.3k]
  ------------------
36013|  31.3k|    r.low -= adjust;
36014|  31.3k|    return r;
36015|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij13compute_pow10Ei:
35974|  3.18k|{
35975|  3.18k|    const auto i = static_cast<unsigned>(k + 307);
35976|  3.18k|    const std::uint64_t m = pow10_minor()[(i + 24) % 28];
35977|  3.18k|    const std::size_t j = 2 * static_cast<std::size_t>((i + 24) / 28);
35978|  3.18k|    const std::uint64_t h_hi = pow10_major()[j];
35979|  3.18k|    const std::uint64_t h_lo = pow10_major()[j + 1];
35980|  3.18k|    const std::uint64_t h1 = full_multiplication(h_lo, m).high;
35981|  3.18k|    const std::uint64_t c0 = h_lo * m;
35982|  3.18k|    const std::uint64_t c1 = h1 + (h_hi * m);
35983|  3.18k|    const std::uint64_t c2 = (c1 < h1 ? 1u : 0u) + full_multiplication(h_hi, m).high;
  ------------------
  |  Branch (35983:31): [True: 522, False: 2.65k]
  ------------------
35984|  3.18k|    uint128_parts r{};
35985|  3.18k|    if ((c2 >> 63u) != 0)
  ------------------
  |  Branch (35985:9): [True: 678, False: 2.50k]
  ------------------
35986|    678|    {
35987|    678|        r.high = c2;
35988|    678|        r.low = c1;
35989|    678|    }
35990|  2.50k|    else
35991|  2.50k|    {
35992|  2.50k|        r.high = (c2 << 1u) | (c1 >> 63u);
35993|  2.50k|        r.low = (c1 << 1u) | (c0 >> 63u);
35994|  2.50k|    }
35995|  3.18k|    r.low -= (pow10_fixups()[i >> 5u] >> (i & 31u)) & 1u;
35996|  3.18k|    return r;
35997|  3.18k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11pow10_minorEv:
35922|  3.18k|{
35923|  3.18k|    static const std::array<std::uint64_t, 28> table =
35924|  3.18k|    {
35925|  3.18k|        {
35926|  3.18k|            0x8000000000000000u, 0xa000000000000000u, 0xc800000000000000u, 0xfa00000000000000u, 0x9c40000000000000u,
35927|  3.18k|            0xc350000000000000u, 0xf424000000000000u, 0x9896800000000000u, 0xbebc200000000000u, 0xee6b280000000000u,
35928|  3.18k|            0x9502f90000000000u, 0xba43b74000000000u, 0xe8d4a51000000000u, 0x9184e72a00000000u, 0xb5e620f480000000u,
35929|  3.18k|            0xe35fa931a0000000u, 0x8e1bc9bf04000000u, 0xb1a2bc2ec5000000u, 0xde0b6b3a76400000u, 0x8ac7230489e80000u,
35930|  3.18k|            0xad78ebc5ac620000u, 0xd8d726b7177a8000u, 0x878678326eac9000u, 0xa968163f0a57b400u, 0xd3c21bcecceda100u,
35931|  3.18k|            0x84595161401484a0u, 0xa56fa5b99019a5c8u, 0xcecb8f27f4200f3au
35932|  3.18k|        }
35933|  3.18k|    };
35934|  3.18k|    return table;
35935|  3.18k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij11pow10_majorEv:
35939|  6.36k|{
35940|  6.36k|    static const std::array<std::uint64_t, 50> table =
35941|  6.36k|    {
35942|  6.36k|        {
35943|  6.36k|            0xaddcb9e83c6b1793u, 0xdf4abe242a1bbf3eu, 0xaf8e5410288e1b6fu, 0x07ecf0ae5ee44ddau, 0xb1442798f49ffb4au, 0x99cd11cfdf41779du,
35944|  6.36k|            0xb2fe3f0b8599ef07u, 0x861fa7e6dcb4aa15u, 0xb4bca50b065abe63u, 0x0fed077a756b53aau, 0xb67f6455292cbf08u, 0x1a3bc84c17b1d543u,
35945|  6.36k|            0xb84687c269ef3bfbu, 0x3d5d514f40eea742u, 0xba121a4650e4ddebu, 0x92f34d62616ce413u, 0xbbe226efb628afeau, 0x890489f70a55368cu,
35946|  6.36k|            0xbdb6b8e905cb600fu, 0x5400e987bbc1c921u, 0xbf8fdb78849a5f96u, 0xde98520472bdd034u, 0xc16d9a0095928a27u, 0x75b7053c0f178294u,
35947|  6.36k|            0xc350000000000000u, 0x0000000000000000u, 0xc5371912364ce305u, 0x6c28000000000000u, 0xc722f0ef9d80aad6u, 0x424d3ad2b7b97ef6u,
35948|  6.36k|            0xc913936dd571c84cu, 0x03bc3a19cd1e38eau, 0xcb090c8001ab551cu, 0x5cadf5bfd3072cc6u, 0xcd036837130890a1u, 0x36dba887c37a8c10u,
35949|  6.36k|            0xcf02b2c21207ef2eu, 0x94f967e45e03f4bcu, 0xd106f86e69d785c7u, 0xe13336d701beba52u, 0xd31045a8341ca07cu, 0x1ede48111209a051u,
35950|  6.36k|            0xd51ea6fa85785631u, 0x552a74227f3ea566u, 0xd732290fbacaf133u, 0xa97c177947ad4096u, 0xd94ad8b1c7380874u, 0x18375281ae7822bdu,
35951|  6.36k|            0xdb68c2ca82ed2a05u, 0xa67398db9f6820e1u
35952|  6.36k|        }
35953|  6.36k|    };
35954|  6.36k|    return table;
35955|  6.36k|}
_ZN8nlohmann16json_abi_v3_12_06detail19full_multiplicationEmm:
 9195|   112k|{
 9196|   112k|#if defined(__SIZEOF_INT128__)
 9197|   112k|    __extension__ using uint128 = unsigned __int128;
 9198|   112k|    const uint128 r = static_cast<uint128>(a) * b;
 9199|   112k|    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|   112k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij12pow10_fixupsEv:
35959|  3.18k|{
35960|  3.18k|    static const std::array<std::uint32_t, 21> table =
35961|  3.18k|    {
35962|  3.18k|        {
35963|  3.18k|            0x8d8fc810u, 0x06100293u, 0x19000000u, 0x00100000u, 0x00000908u, 0x00000000u, 0x04e00300u, 0x3807e0b2u, 0x3d83d793u, 0x0006f5ccu,
35964|  3.18k|            0x00000000u, 0xffff0000u, 0x8076337du, 0x4ff45ba0u, 0x09405033u, 0x034376d9u, 0x09000000u, 0x4e100501u, 0x076d14dcu, 0xf964f45eu,
35965|  3.18k|            0x0000003du
35966|  3.18k|        }
35967|  3.18k|    };
35968|  3.18k|    return table;
35969|  3.18k|}
_ZN8nlohmann16json_abi_v3_12_06detail8pow5_128Ev:
11090|  62.7k|{
11091|  62.7k|    static const std::array<std::uint64_t, 1302> table =
11092|  62.7k|    {
11093|  62.7k|        {
11094|  62.7k|            0xeef453d6923bd65au, 0x113faa2906a13b3fu, 0x9558b4661b6565f8u, 0x4ac7ca59a424c507u,
11095|  62.7k|            0xbaaee17fa23ebf76u, 0x5d79bcf00d2df649u, 0xe95a99df8ace6f53u, 0xf4d82c2c107973dcu,
11096|  62.7k|            0x91d8a02bb6c10594u, 0x79071b9b8a4be869u, 0xb64ec836a47146f9u, 0x9748e2826cdee284u,
11097|  62.7k|            0xe3e27a444d8d98b7u, 0xfd1b1b2308169b25u, 0x8e6d8c6ab0787f72u, 0xfe30f0f5e50e20f7u,
11098|  62.7k|            0xb208ef855c969f4fu, 0xbdbd2d335e51a935u, 0xde8b2b66b3bc4723u, 0xad2c788035e61382u,
11099|  62.7k|            0x8b16fb203055ac76u, 0x4c3bcb5021afcc31u, 0xaddcb9e83c6b1793u, 0xdf4abe242a1bbf3du,
11100|  62.7k|            0xd953e8624b85dd78u, 0xd71d6dad34a2af0du, 0x87d4713d6f33aa6bu, 0x8672648c40e5ad68u,
11101|  62.7k|            0xa9c98d8ccb009506u, 0x680efdaf511f18c2u, 0xd43bf0effdc0ba48u, 0x0212bd1b2566def2u,
11102|  62.7k|            0x84a57695fe98746du, 0x014bb630f7604b57u, 0xa5ced43b7e3e9188u, 0x419ea3bd35385e2du,
11103|  62.7k|            0xcf42894a5dce35eau, 0x52064cac828675b9u, 0x818995ce7aa0e1b2u, 0x7343efebd1940993u,
11104|  62.7k|            0xa1ebfb4219491a1fu, 0x1014ebe6c5f90bf8u, 0xca66fa129f9b60a6u, 0xd41a26e077774ef6u,
11105|  62.7k|            0xfd00b897478238d0u, 0x8920b098955522b4u, 0x9e20735e8cb16382u, 0x55b46e5f5d5535b0u,
11106|  62.7k|            0xc5a890362fddbc62u, 0xeb2189f734aa831du, 0xf712b443bbd52b7bu, 0xa5e9ec7501d523e4u,
11107|  62.7k|            0x9a6bb0aa55653b2du, 0x47b233c92125366eu, 0xc1069cd4eabe89f8u, 0x999ec0bb696e840au,
11108|  62.7k|            0xf148440a256e2c76u, 0xc00670ea43ca250du, 0x96cd2a865764dbcau, 0x380406926a5e5728u,
11109|  62.7k|            0xbc807527ed3e12bcu, 0xc605083704f5ecf2u, 0xeba09271e88d976bu, 0xf7864a44c633682eu,
11110|  62.7k|            0x93445b8731587ea3u, 0x7ab3ee6afbe0211du, 0xb8157268fdae9e4cu, 0x5960ea05bad82964u,
11111|  62.7k|            0xe61acf033d1a45dfu, 0x6fb92487298e33bdu, 0x8fd0c16206306babu, 0xa5d3b6d479f8e056u,
11112|  62.7k|            0xb3c4f1ba87bc8696u, 0x8f48a4899877186cu, 0xe0b62e2929aba83cu, 0x331acdabfe94de87u,
11113|  62.7k|            0x8c71dcd9ba0b4925u, 0x9ff0c08b7f1d0b14u, 0xaf8e5410288e1b6fu, 0x07ecf0ae5ee44dd9u,
11114|  62.7k|            0xdb71e91432b1a24au, 0xc9e82cd9f69d6150u, 0x892731ac9faf056eu, 0xbe311c083a225cd2u,
11115|  62.7k|            0xab70fe17c79ac6cau, 0x6dbd630a48aaf406u, 0xd64d3d9db981787du, 0x092cbbccdad5b108u,
11116|  62.7k|            0x85f0468293f0eb4eu, 0x25bbf56008c58ea5u, 0xa76c582338ed2621u, 0xaf2af2b80af6f24eu,
11117|  62.7k|            0xd1476e2c07286faau, 0x1af5af660db4aee1u, 0x82cca4db847945cau, 0x50d98d9fc890ed4du,
11118|  62.7k|            0xa37fce126597973cu, 0xe50ff107bab528a0u, 0xcc5fc196fefd7d0cu, 0x1e53ed49a96272c8u,
11119|  62.7k|            0xff77b1fcbebcdc4fu, 0x25e8e89c13bb0f7au, 0x9faacf3df73609b1u, 0x77b191618c54e9acu,
11120|  62.7k|            0xc795830d75038c1du, 0xd59df5b9ef6a2417u, 0xf97ae3d0d2446f25u, 0x4b0573286b44ad1du,
11121|  62.7k|            0x9becce62836ac577u, 0x4ee367f9430aec32u, 0xc2e801fb244576d5u, 0x229c41f793cda73fu,
11122|  62.7k|            0xf3a20279ed56d48au, 0x6b43527578c1110fu, 0x9845418c345644d6u, 0x830a13896b78aaa9u,
11123|  62.7k|            0xbe5691ef416bd60cu, 0x23cc986bc656d553u, 0xedec366b11c6cb8fu, 0x2cbfbe86b7ec8aa8u,
11124|  62.7k|            0x94b3a202eb1c3f39u, 0x7bf7d71432f3d6a9u, 0xb9e08a83a5e34f07u, 0xdaf5ccd93fb0cc53u,
11125|  62.7k|            0xe858ad248f5c22c9u, 0xd1b3400f8f9cff68u, 0x91376c36d99995beu, 0x23100809b9c21fa1u,
11126|  62.7k|            0xb58547448ffffb2du, 0xabd40a0c2832a78au, 0xe2e69915b3fff9f9u, 0x16c90c8f323f516cu,
11127|  62.7k|            0x8dd01fad907ffc3bu, 0xae3da7d97f6792e3u, 0xb1442798f49ffb4au, 0x99cd11cfdf41779cu,
11128|  62.7k|            0xdd95317f31c7fa1du, 0x40405643d711d583u, 0x8a7d3eef7f1cfc52u, 0x482835ea666b2572u,
11129|  62.7k|            0xad1c8eab5ee43b66u, 0xda3243650005eecfu, 0xd863b256369d4a40u, 0x90bed43e40076a82u,
11130|  62.7k|            0x873e4f75e2224e68u, 0x5a7744a6e804a291u, 0xa90de3535aaae202u, 0x711515d0a205cb36u,
11131|  62.7k|            0xd3515c2831559a83u, 0x0d5a5b44ca873e03u, 0x8412d9991ed58091u, 0xe858790afe9486c2u,
11132|  62.7k|            0xa5178fff668ae0b6u, 0x626e974dbe39a872u, 0xce5d73ff402d98e3u, 0xfb0a3d212dc8128fu,
11133|  62.7k|            0x80fa687f881c7f8eu, 0x7ce66634bc9d0b99u, 0xa139029f6a239f72u, 0x1c1fffc1ebc44e80u,
11134|  62.7k|            0xc987434744ac874eu, 0xa327ffb266b56220u, 0xfbe9141915d7a922u, 0x4bf1ff9f0062baa8u,
11135|  62.7k|            0x9d71ac8fada6c9b5u, 0x6f773fc3603db4a9u, 0xc4ce17b399107c22u, 0xcb550fb4384d21d3u,
11136|  62.7k|            0xf6019da07f549b2bu, 0x7e2a53a146606a48u, 0x99c102844f94e0fbu, 0x2eda7444cbfc426du,
11137|  62.7k|            0xc0314325637a1939u, 0xfa911155fefb5308u, 0xf03d93eebc589f88u, 0x793555ab7eba27cau,
11138|  62.7k|            0x96267c7535b763b5u, 0x4bc1558b2f3458deu, 0xbbb01b9283253ca2u, 0x9eb1aaedfb016f16u,
11139|  62.7k|            0xea9c227723ee8bcbu, 0x465e15a979c1cadcu, 0x92a1958a7675175fu, 0x0bfacd89ec191ec9u,
11140|  62.7k|            0xb749faed14125d36u, 0xcef980ec671f667bu, 0xe51c79a85916f484u, 0x82b7e12780e7401au,
11141|  62.7k|            0x8f31cc0937ae58d2u, 0xd1b2ecb8b0908810u, 0xb2fe3f0b8599ef07u, 0x861fa7e6dcb4aa15u,
11142|  62.7k|            0xdfbdcece67006ac9u, 0x67a791e093e1d49au, 0x8bd6a141006042bdu, 0xe0c8bb2c5c6d24e0u,
11143|  62.7k|            0xaecc49914078536du, 0x58fae9f773886e18u, 0xda7f5bf590966848u, 0xaf39a475506a899eu,
11144|  62.7k|            0x888f99797a5e012du, 0x6d8406c952429603u, 0xaab37fd7d8f58178u, 0xc8e5087ba6d33b83u,
11145|  62.7k|            0xd5605fcdcf32e1d6u, 0xfb1e4a9a90880a64u, 0x855c3be0a17fcd26u, 0x5cf2eea09a55067fu,
11146|  62.7k|            0xa6b34ad8c9dfc06fu, 0xf42faa48c0ea481eu, 0xd0601d8efc57b08bu, 0xf13b94daf124da26u,
11147|  62.7k|            0x823c12795db6ce57u, 0x76c53d08d6b70858u, 0xa2cb1717b52481edu, 0x54768c4b0c64ca6eu,
11148|  62.7k|            0xcb7ddcdda26da268u, 0xa9942f5dcf7dfd09u, 0xfe5d54150b090b02u, 0xd3f93b35435d7c4cu,
11149|  62.7k|            0x9efa548d26e5a6e1u, 0xc47bc5014a1a6dafu, 0xc6b8e9b0709f109au, 0x359ab6419ca1091bu,
11150|  62.7k|            0xf867241c8cc6d4c0u, 0xc30163d203c94b62u, 0x9b407691d7fc44f8u, 0x79e0de63425dcf1du,
11151|  62.7k|            0xc21094364dfb5636u, 0x985915fc12f542e4u, 0xf294b943e17a2bc4u, 0x3e6f5b7b17b2939du,
11152|  62.7k|            0x979cf3ca6cec5b5au, 0xa705992ceecf9c42u, 0xbd8430bd08277231u, 0x50c6ff782a838353u,
11153|  62.7k|            0xece53cec4a314ebdu, 0xa4f8bf5635246428u, 0x940f4613ae5ed136u, 0x871b7795e136be99u,
11154|  62.7k|            0xb913179899f68584u, 0x28e2557b59846e3fu, 0xe757dd7ec07426e5u, 0x331aeada2fe589cfu,
11155|  62.7k|            0x9096ea6f3848984fu, 0x3ff0d2c85def7621u, 0xb4bca50b065abe63u, 0x0fed077a756b53a9u,
11156|  62.7k|            0xe1ebce4dc7f16dfbu, 0xd3e8495912c62894u, 0x8d3360f09cf6e4bdu, 0x64712dd7abbbd95cu,
11157|  62.7k|            0xb080392cc4349decu, 0xbd8d794d96aacfb3u, 0xdca04777f541c567u, 0xecf0d7a0fc5583a0u,
11158|  62.7k|            0x89e42caaf9491b60u, 0xf41686c49db57244u, 0xac5d37d5b79b6239u, 0x311c2875c522ced5u,
11159|  62.7k|            0xd77485cb25823ac7u, 0x7d633293366b828bu, 0x86a8d39ef77164bcu, 0xae5dff9c02033197u,
11160|  62.7k|            0xa8530886b54dbdebu, 0xd9f57f830283fdfcu, 0xd267caa862a12d66u, 0xd072df63c324fd7bu,
11161|  62.7k|            0x8380dea93da4bc60u, 0x4247cb9e59f71e6du, 0xa46116538d0deb78u, 0x52d9be85f074e608u,
11162|  62.7k|            0xcd795be870516656u, 0x67902e276c921f8bu, 0x806bd9714632dff6u, 0x00ba1cd8a3db53b6u,
11163|  62.7k|            0xa086cfcd97bf97f3u, 0x80e8a40eccd228a4u, 0xc8a883c0fdaf7df0u, 0x6122cd128006b2cdu,
11164|  62.7k|            0xfad2a4b13d1b5d6cu, 0x796b805720085f81u, 0x9cc3a6eec6311a63u, 0xcbe3303674053bb0u,
11165|  62.7k|            0xc3f490aa77bd60fcu, 0xbedbfc4411068a9cu, 0xf4f1b4d515acb93bu, 0xee92fb5515482d44u,
11166|  62.7k|            0x991711052d8bf3c5u, 0x751bdd152d4d1c4au, 0xbf5cd54678eef0b6u, 0xd262d45a78a0635du,
11167|  62.7k|            0xef340a98172aace4u, 0x86fb897116c87c34u, 0x9580869f0e7aac0eu, 0xd45d35e6ae3d4da0u,
11168|  62.7k|            0xbae0a846d2195712u, 0x8974836059cca109u, 0xe998d258869facd7u, 0x2bd1a438703fc94bu,
11169|  62.7k|            0x91ff83775423cc06u, 0x7b6306a34627ddcfu, 0xb67f6455292cbf08u, 0x1a3bc84c17b1d542u,
11170|  62.7k|            0xe41f3d6a7377eecau, 0x20caba5f1d9e4a93u, 0x8e938662882af53eu, 0x547eb47b7282ee9cu,
11171|  62.7k|            0xb23867fb2a35b28du, 0xe99e619a4f23aa43u, 0xdec681f9f4c31f31u, 0x6405fa00e2ec94d4u,
11172|  62.7k|            0x8b3c113c38f9f37eu, 0xde83bc408dd3dd04u, 0xae0b158b4738705eu, 0x9624ab50b148d445u,
11173|  62.7k|            0xd98ddaee19068c76u, 0x3badd624dd9b0957u, 0x87f8a8d4cfa417c9u, 0xe54ca5d70a80e5d6u,
11174|  62.7k|            0xa9f6d30a038d1dbcu, 0x5e9fcf4ccd211f4cu, 0xd47487cc8470652bu, 0x7647c3200069671fu,
11175|  62.7k|            0x84c8d4dfd2c63f3bu, 0x29ecd9f40041e073u, 0xa5fb0a17c777cf09u, 0xf468107100525890u,
11176|  62.7k|            0xcf79cc9db955c2ccu, 0x7182148d4066eeb4u, 0x81ac1fe293d599bfu, 0xc6f14cd848405530u,
11177|  62.7k|            0xa21727db38cb002fu, 0xb8ada00e5a506a7cu, 0xca9cf1d206fdc03bu, 0xa6d90811f0e4851cu,
11178|  62.7k|            0xfd442e4688bd304au, 0x908f4a166d1da663u, 0x9e4a9cec15763e2eu, 0x9a598e4e043287feu,
11179|  62.7k|            0xc5dd44271ad3cdbau, 0x40eff1e1853f29fdu, 0xf7549530e188c128u, 0xd12bee59e68ef47cu,
11180|  62.7k|            0x9a94dd3e8cf578b9u, 0x82bb74f8301958ceu, 0xc13a148e3032d6e7u, 0xe36a52363c1faf01u,
11181|  62.7k|            0xf18899b1bc3f8ca1u, 0xdc44e6c3cb279ac1u, 0x96f5600f15a7b7e5u, 0x29ab103a5ef8c0b9u,
11182|  62.7k|            0xbcb2b812db11a5deu, 0x7415d448f6b6f0e7u, 0xebdf661791d60f56u, 0x111b495b3464ad21u,
11183|  62.7k|            0x936b9fcebb25c995u, 0xcab10dd900beec34u, 0xb84687c269ef3bfbu, 0x3d5d514f40eea742u,
11184|  62.7k|            0xe65829b3046b0afau, 0x0cb4a5a3112a5112u, 0x8ff71a0fe2c2e6dcu, 0x47f0e785eaba72abu,
11185|  62.7k|            0xb3f4e093db73a093u, 0x59ed216765690f56u, 0xe0f218b8d25088b8u, 0x306869c13ec3532cu,
11186|  62.7k|            0x8c974f7383725573u, 0x1e414218c73a13fbu, 0xafbd2350644eeacfu, 0xe5d1929ef90898fau,
11187|  62.7k|            0xdbac6c247d62a583u, 0xdf45f746b74abf39u, 0x894bc396ce5da772u, 0x6b8bba8c328eb783u,
11188|  62.7k|            0xab9eb47c81f5114fu, 0x066ea92f3f326564u, 0xd686619ba27255a2u, 0xc80a537b0efefebdu,
11189|  62.7k|            0x8613fd0145877585u, 0xbd06742ce95f5f36u, 0xa798fc4196e952e7u, 0x2c48113823b73704u,
11190|  62.7k|            0xd17f3b51fca3a7a0u, 0xf75a15862ca504c5u, 0x82ef85133de648c4u, 0x9a984d73dbe722fbu,
11191|  62.7k|            0xa3ab66580d5fdaf5u, 0xc13e60d0d2e0ebbau, 0xcc963fee10b7d1b3u, 0x318df905079926a8u,
11192|  62.7k|            0xffbbcfe994e5c61fu, 0xfdf17746497f7052u, 0x9fd561f1fd0f9bd3u, 0xfeb6ea8bedefa633u,
11193|  62.7k|            0xc7caba6e7c5382c8u, 0xfe64a52ee96b8fc0u, 0xf9bd690a1b68637bu, 0x3dfdce7aa3c673b0u,
11194|  62.7k|            0x9c1661a651213e2du, 0x06bea10ca65c084eu, 0xc31bfa0fe5698db8u, 0x486e494fcff30a62u,
11195|  62.7k|            0xf3e2f893dec3f126u, 0x5a89dba3c3efccfau, 0x986ddb5c6b3a76b7u, 0xf89629465a75e01cu,
11196|  62.7k|            0xbe89523386091465u, 0xf6bbb397f1135823u, 0xee2ba6c0678b597fu, 0x746aa07ded582e2cu,
11197|  62.7k|            0x94db483840b717efu, 0xa8c2a44eb4571cdcu, 0xba121a4650e4ddebu, 0x92f34d62616ce413u,
11198|  62.7k|            0xe896a0d7e51e1566u, 0x77b020baf9c81d17u, 0x915e2486ef32cd60u, 0x0ace1474dc1d122eu,
11199|  62.7k|            0xb5b5ada8aaff80b8u, 0x0d819992132456bau, 0xe3231912d5bf60e6u, 0x10e1fff697ed6c69u,
11200|  62.7k|            0x8df5efabc5979c8fu, 0xca8d3ffa1ef463c1u, 0xb1736b96b6fd83b3u, 0xbd308ff8a6b17cb2u,
11201|  62.7k|            0xddd0467c64bce4a0u, 0xac7cb3f6d05ddbdeu, 0x8aa22c0dbef60ee4u, 0x6bcdf07a423aa96bu,
11202|  62.7k|            0xad4ab7112eb3929du, 0x86c16c98d2c953c6u, 0xd89d64d57a607744u, 0xe871c7bf077ba8b7u,
11203|  62.7k|            0x87625f056c7c4a8bu, 0x11471cd764ad4972u, 0xa93af6c6c79b5d2du, 0xd598e40d3dd89bcfu,
11204|  62.7k|            0xd389b47879823479u, 0x4aff1d108d4ec2c3u, 0x843610cb4bf160cbu, 0xcedf722a585139bau,
11205|  62.7k|            0xa54394fe1eedb8feu, 0xc2974eb4ee658828u, 0xce947a3da6a9273eu, 0x733d226229feea32u,
11206|  62.7k|            0x811ccc668829b887u, 0x0806357d5a3f525fu, 0xa163ff802a3426a8u, 0xca07c2dcb0cf26f7u,
11207|  62.7k|            0xc9bcff6034c13052u, 0xfc89b393dd02f0b5u, 0xfc2c3f3841f17c67u, 0xbbac2078d443ace2u,
11208|  62.7k|            0x9d9ba7832936edc0u, 0xd54b944b84aa4c0du, 0xc5029163f384a931u, 0x0a9e795e65d4df11u,
11209|  62.7k|            0xf64335bcf065d37du, 0x4d4617b5ff4a16d5u, 0x99ea0196163fa42eu, 0x504bced1bf8e4e45u,
11210|  62.7k|            0xc06481fb9bcf8d39u, 0xe45ec2862f71e1d6u, 0xf07da27a82c37088u, 0x5d767327bb4e5a4cu,
11211|  62.7k|            0x964e858c91ba2655u, 0x3a6a07f8d510f86fu, 0xbbe226efb628afeau, 0x890489f70a55368bu,
11212|  62.7k|            0xeadab0aba3b2dbe5u, 0x2b45ac74ccea842eu, 0x92c8ae6b464fc96fu, 0x3b0b8bc90012929du,
11213|  62.7k|            0xb77ada0617e3bbcbu, 0x09ce6ebb40173744u, 0xe55990879ddcaabdu, 0xcc420a6a101d0515u,
11214|  62.7k|            0x8f57fa54c2a9eab6u, 0x9fa946824a12232du, 0xb32df8e9f3546564u, 0x47939822dc96abf9u,
11215|  62.7k|            0xdff9772470297ebdu, 0x59787e2b93bc56f7u, 0x8bfbea76c619ef36u, 0x57eb4edb3c55b65au,
11216|  62.7k|            0xaefae51477a06b03u, 0xede622920b6b23f1u, 0xdab99e59958885c4u, 0xe95fab368e45ecedu,
11217|  62.7k|            0x88b402f7fd75539bu, 0x11dbcb0218ebb414u, 0xaae103b5fcd2a881u, 0xd652bdc29f26a119u,
11218|  62.7k|            0xd59944a37c0752a2u, 0x4be76d3346f0495fu, 0x857fcae62d8493a5u, 0x6f70a4400c562ddbu,
11219|  62.7k|            0xa6dfbd9fb8e5b88eu, 0xcb4ccd500f6bb952u, 0xd097ad07a71f26b2u, 0x7e2000a41346a7a7u,
11220|  62.7k|            0x825ecc24c873782fu, 0x8ed400668c0c28c8u, 0xa2f67f2dfa90563bu, 0x728900802f0f32fau,
11221|  62.7k|            0xcbb41ef979346bcau, 0x4f2b40a03ad2ffb9u, 0xfea126b7d78186bcu, 0xe2f610c84987bfa8u,
11222|  62.7k|            0x9f24b832e6b0f436u, 0x0dd9ca7d2df4d7c9u, 0xc6ede63fa05d3143u, 0x91503d1c79720dbbu,
11223|  62.7k|            0xf8a95fcf88747d94u, 0x75a44c6397ce912au, 0x9b69dbe1b548ce7cu, 0xc986afbe3ee11abau,
11224|  62.7k|            0xc24452da229b021bu, 0xfbe85badce996168u, 0xf2d56790ab41c2a2u, 0xfae27299423fb9c3u,
11225|  62.7k|            0x97c560ba6b0919a5u, 0xdccd879fc967d41au, 0xbdb6b8e905cb600fu, 0x5400e987bbc1c920u,
11226|  62.7k|            0xed246723473e3813u, 0x290123e9aab23b68u, 0x9436c0760c86e30bu, 0xf9a0b6720aaf6521u,
11227|  62.7k|            0xb94470938fa89bceu, 0xf808e40e8d5b3e69u, 0xe7958cb87392c2c2u, 0xb60b1d1230b20e04u,
11228|  62.7k|            0x90bd77f3483bb9b9u, 0xb1c6f22b5e6f48c2u, 0xb4ecd5f01a4aa828u, 0x1e38aeb6360b1af3u,
11229|  62.7k|            0xe2280b6c20dd5232u, 0x25c6da63c38de1b0u, 0x8d590723948a535fu, 0x579c487e5a38ad0eu,
11230|  62.7k|            0xb0af48ec79ace837u, 0x2d835a9df0c6d851u, 0xdcdb1b2798182244u, 0xf8e431456cf88e65u,
11231|  62.7k|            0x8a08f0f8bf0f156bu, 0x1b8e9ecb641b58ffu, 0xac8b2d36eed2dac5u, 0xe272467e3d222f3fu,
11232|  62.7k|            0xd7adf884aa879177u, 0x5b0ed81dcc6abb0fu, 0x86ccbb52ea94baeau, 0x98e947129fc2b4e9u,
11233|  62.7k|            0xa87fea27a539e9a5u, 0x3f2398d747b36224u, 0xd29fe4b18e88640eu, 0x8eec7f0d19a03aadu,
11234|  62.7k|            0x83a3eeeef9153e89u, 0x1953cf68300424acu, 0xa48ceaaab75a8e2bu, 0x5fa8c3423c052dd7u,
11235|  62.7k|            0xcdb02555653131b6u, 0x3792f412cb06794du, 0x808e17555f3ebf11u, 0xe2bbd88bbee40bd0u,
11236|  62.7k|            0xa0b19d2ab70e6ed6u, 0x5b6aceaeae9d0ec4u, 0xc8de047564d20a8bu, 0xf245825a5a445275u,
11237|  62.7k|            0xfb158592be068d2eu, 0xeed6e2f0f0d56712u, 0x9ced737bb6c4183du, 0x55464dd69685606bu,
11238|  62.7k|            0xc428d05aa4751e4cu, 0xaa97e14c3c26b886u, 0xf53304714d9265dfu, 0xd53dd99f4b3066a8u,
11239|  62.7k|            0x993fe2c6d07b7fabu, 0xe546a8038efe4029u, 0xbf8fdb78849a5f96u, 0xde98520472bdd033u,
11240|  62.7k|            0xef73d256a5c0f77cu, 0x963e66858f6d4440u, 0x95a8637627989aadu, 0xdde7001379a44aa8u,
11241|  62.7k|            0xbb127c53b17ec159u, 0x5560c018580d5d52u, 0xe9d71b689dde71afu, 0xaab8f01e6e10b4a6u,
11242|  62.7k|            0x9226712162ab070du, 0xcab3961304ca70e8u, 0xb6b00d69bb55c8d1u, 0x3d607b97c5fd0d22u,
11243|  62.7k|            0xe45c10c42a2b3b05u, 0x8cb89a7db77c506au, 0x8eb98a7a9a5b04e3u, 0x77f3608e92adb242u,
11244|  62.7k|            0xb267ed1940f1c61cu, 0x55f038b237591ed3u, 0xdf01e85f912e37a3u, 0x6b6c46dec52f6688u,
11245|  62.7k|            0x8b61313bbabce2c6u, 0x2323ac4b3b3da015u, 0xae397d8aa96c1b77u, 0xabec975e0a0d081au,
11246|  62.7k|            0xd9c7dced53c72255u, 0x96e7bd358c904a21u, 0x881cea14545c7575u, 0x7e50d64177da2e54u,
11247|  62.7k|            0xaa242499697392d2u, 0xdde50bd1d5d0b9e9u, 0xd4ad2dbfc3d07787u, 0x955e4ec64b44e864u,
11248|  62.7k|            0x84ec3c97da624ab4u, 0xbd5af13bef0b113eu, 0xa6274bbdd0fadd61u, 0xecb1ad8aeacdd58eu,
11249|  62.7k|            0xcfb11ead453994bau, 0x67de18eda5814af2u, 0x81ceb32c4b43fcf4u, 0x80eacf948770ced7u,
11250|  62.7k|            0xa2425ff75e14fc31u, 0xa1258379a94d028du, 0xcad2f7f5359a3b3eu, 0x096ee45813a04330u,
11251|  62.7k|            0xfd87b5f28300ca0du, 0x8bca9d6e188853fcu, 0x9e74d1b791e07e48u, 0x775ea264cf55347eu,
11252|  62.7k|            0xc612062576589ddau, 0x95364afe032a819eu, 0xf79687aed3eec551u, 0x3a83ddbd83f52205u,
11253|  62.7k|            0x9abe14cd44753b52u, 0xc4926a9672793543u, 0xc16d9a0095928a27u, 0x75b7053c0f178294u,
11254|  62.7k|            0xf1c90080baf72cb1u, 0x5324c68b12dd6339u, 0x971da05074da7beeu, 0xd3f6fc16ebca5e04u,
11255|  62.7k|            0xbce5086492111aeau, 0x88f4bb1ca6bcf585u, 0xec1e4a7db69561a5u, 0x2b31e9e3d06c32e6u,
11256|  62.7k|            0x9392ee8e921d5d07u, 0x3aff322e62439fd0u, 0xb877aa3236a4b449u, 0x09befeb9fad487c3u,
11257|  62.7k|            0xe69594bec44de15bu, 0x4c2ebe687989a9b4u, 0x901d7cf73ab0acd9u, 0x0f9d37014bf60a11u,
11258|  62.7k|            0xb424dc35095cd80fu, 0x538484c19ef38c95u, 0xe12e13424bb40e13u, 0x2865a5f206b06fbau,
11259|  62.7k|            0x8cbccc096f5088cbu, 0xf93f87b7442e45d4u, 0xafebff0bcb24aafeu, 0xf78f69a51539d749u,
11260|  62.7k|            0xdbe6fecebdedd5beu, 0xb573440e5a884d1cu, 0x89705f4136b4a597u, 0x31680a88f8953031u,
11261|  62.7k|            0xabcc77118461cefcu, 0xfdc20d2b36ba7c3eu, 0xd6bf94d5e57a42bcu, 0x3d32907604691b4du,
11262|  62.7k|            0x8637bd05af6c69b5u, 0xa63f9a49c2c1b110u, 0xa7c5ac471b478423u, 0x0fcf80dc33721d54u,
11263|  62.7k|            0xd1b71758e219652bu, 0xd3c36113404ea4a9u, 0x83126e978d4fdf3bu, 0x645a1cac083126eau,
11264|  62.7k|            0xa3d70a3d70a3d70au, 0x3d70a3d70a3d70a4u, 0xccccccccccccccccu, 0xcccccccccccccccdu,
11265|  62.7k|            0x8000000000000000u, 0x0000000000000000u, 0xa000000000000000u, 0x0000000000000000u,
11266|  62.7k|            0xc800000000000000u, 0x0000000000000000u, 0xfa00000000000000u, 0x0000000000000000u,
11267|  62.7k|            0x9c40000000000000u, 0x0000000000000000u, 0xc350000000000000u, 0x0000000000000000u,
11268|  62.7k|            0xf424000000000000u, 0x0000000000000000u, 0x9896800000000000u, 0x0000000000000000u,
11269|  62.7k|            0xbebc200000000000u, 0x0000000000000000u, 0xee6b280000000000u, 0x0000000000000000u,
11270|  62.7k|            0x9502f90000000000u, 0x0000000000000000u, 0xba43b74000000000u, 0x0000000000000000u,
11271|  62.7k|            0xe8d4a51000000000u, 0x0000000000000000u, 0x9184e72a00000000u, 0x0000000000000000u,
11272|  62.7k|            0xb5e620f480000000u, 0x0000000000000000u, 0xe35fa931a0000000u, 0x0000000000000000u,
11273|  62.7k|            0x8e1bc9bf04000000u, 0x0000000000000000u, 0xb1a2bc2ec5000000u, 0x0000000000000000u,
11274|  62.7k|            0xde0b6b3a76400000u, 0x0000000000000000u, 0x8ac7230489e80000u, 0x0000000000000000u,
11275|  62.7k|            0xad78ebc5ac620000u, 0x0000000000000000u, 0xd8d726b7177a8000u, 0x0000000000000000u,
11276|  62.7k|            0x878678326eac9000u, 0x0000000000000000u, 0xa968163f0a57b400u, 0x0000000000000000u,
11277|  62.7k|            0xd3c21bcecceda100u, 0x0000000000000000u, 0x84595161401484a0u, 0x0000000000000000u,
11278|  62.7k|            0xa56fa5b99019a5c8u, 0x0000000000000000u, 0xcecb8f27f4200f3au, 0x0000000000000000u,
11279|  62.7k|            0x813f3978f8940984u, 0x4000000000000000u, 0xa18f07d736b90be5u, 0x5000000000000000u,
11280|  62.7k|            0xc9f2c9cd04674edeu, 0xa400000000000000u, 0xfc6f7c4045812296u, 0x4d00000000000000u,
11281|  62.7k|            0x9dc5ada82b70b59du, 0xf020000000000000u, 0xc5371912364ce305u, 0x6c28000000000000u,
11282|  62.7k|            0xf684df56c3e01bc6u, 0xc732000000000000u, 0x9a130b963a6c115cu, 0x3c7f400000000000u,
11283|  62.7k|            0xc097ce7bc90715b3u, 0x4b9f100000000000u, 0xf0bdc21abb48db20u, 0x1e86d40000000000u,
11284|  62.7k|            0x96769950b50d88f4u, 0x1314448000000000u, 0xbc143fa4e250eb31u, 0x17d955a000000000u,
11285|  62.7k|            0xeb194f8e1ae525fdu, 0x5dcfab0800000000u, 0x92efd1b8d0cf37beu, 0x5aa1cae500000000u,
11286|  62.7k|            0xb7abc627050305adu, 0xf14a3d9e40000000u, 0xe596b7b0c643c719u, 0x6d9ccd05d0000000u,
11287|  62.7k|            0x8f7e32ce7bea5c6fu, 0xe4820023a2000000u, 0xb35dbf821ae4f38bu, 0xdda2802c8a800000u,
11288|  62.7k|            0xe0352f62a19e306eu, 0xd50b2037ad200000u, 0x8c213d9da502de45u, 0x4526f422cc340000u,
11289|  62.7k|            0xaf298d050e4395d6u, 0x9670b12b7f410000u, 0xdaf3f04651d47b4cu, 0x3c0cdd765f114000u,
11290|  62.7k|            0x88d8762bf324cd0fu, 0xa5880a69fb6ac800u, 0xab0e93b6efee0053u, 0x8eea0d047a457a00u,
11291|  62.7k|            0xd5d238a4abe98068u, 0x72a4904598d6d880u, 0x85a36366eb71f041u, 0x47a6da2b7f864750u,
11292|  62.7k|            0xa70c3c40a64e6c51u, 0x999090b65f67d924u, 0xd0cf4b50cfe20765u, 0xfff4b4e3f741cf6du,
11293|  62.7k|            0x82818f1281ed449fu, 0xbff8f10e7a8921a4u, 0xa321f2d7226895c7u, 0xaff72d52192b6a0du,
11294|  62.7k|            0xcbea6f8ceb02bb39u, 0x9bf4f8a69f764490u, 0xfee50b7025c36a08u, 0x02f236d04753d5b4u,
11295|  62.7k|            0x9f4f2726179a2245u, 0x01d762422c946590u, 0xc722f0ef9d80aad6u, 0x424d3ad2b7b97ef5u,
11296|  62.7k|            0xf8ebad2b84e0d58bu, 0xd2e0898765a7deb2u, 0x9b934c3b330c8577u, 0x63cc55f49f88eb2fu,
11297|  62.7k|            0xc2781f49ffcfa6d5u, 0x3cbf6b71c76b25fbu, 0xf316271c7fc3908au, 0x8bef464e3945ef7au,
11298|  62.7k|            0x97edd871cfda3a56u, 0x97758bf0e3cbb5acu, 0xbde94e8e43d0c8ecu, 0x3d52eeed1cbea317u,
11299|  62.7k|            0xed63a231d4c4fb27u, 0x4ca7aaa863ee4bddu, 0x945e455f24fb1cf8u, 0x8fe8caa93e74ef6au,
11300|  62.7k|            0xb975d6b6ee39e436u, 0xb3e2fd538e122b44u, 0xe7d34c64a9c85d44u, 0x60dbbca87196b616u,
11301|  62.7k|            0x90e40fbeea1d3a4au, 0xbc8955e946fe31cdu, 0xb51d13aea4a488ddu, 0x6babab6398bdbe41u,
11302|  62.7k|            0xe264589a4dcdab14u, 0xc696963c7eed2dd1u, 0x8d7eb76070a08aecu, 0xfc1e1de5cf543ca2u,
11303|  62.7k|            0xb0de65388cc8ada8u, 0x3b25a55f43294bcbu, 0xdd15fe86affad912u, 0x49ef0eb713f39ebeu,
11304|  62.7k|            0x8a2dbf142dfcc7abu, 0x6e3569326c784337u, 0xacb92ed9397bf996u, 0x49c2c37f07965404u,
11305|  62.7k|            0xd7e77a8f87daf7fbu, 0xdc33745ec97be906u, 0x86f0ac99b4e8dafdu, 0x69a028bb3ded71a3u,
11306|  62.7k|            0xa8acd7c0222311bcu, 0xc40832ea0d68ce0cu, 0xd2d80db02aabd62bu, 0xf50a3fa490c30190u,
11307|  62.7k|            0x83c7088e1aab65dbu, 0x792667c6da79e0fau, 0xa4b8cab1a1563f52u, 0x577001b891185938u,
11308|  62.7k|            0xcde6fd5e09abcf26u, 0xed4c0226b55e6f86u, 0x80b05e5ac60b6178u, 0x544f8158315b05b4u,
11309|  62.7k|            0xa0dc75f1778e39d6u, 0x696361ae3db1c721u, 0xc913936dd571c84cu, 0x03bc3a19cd1e38e9u,
11310|  62.7k|            0xfb5878494ace3a5fu, 0x04ab48a04065c723u, 0x9d174b2dcec0e47bu, 0x62eb0d64283f9c76u,
11311|  62.7k|            0xc45d1df942711d9au, 0x3ba5d0bd324f8394u, 0xf5746577930d6500u, 0xca8f44ec7ee36479u,
11312|  62.7k|            0x9968bf6abbe85f20u, 0x7e998b13cf4e1ecbu, 0xbfc2ef456ae276e8u, 0x9e3fedd8c321a67eu,
11313|  62.7k|            0xefb3ab16c59b14a2u, 0xc5cfe94ef3ea101eu, 0x95d04aee3b80ece5u, 0xbba1f1d158724a12u,
11314|  62.7k|            0xbb445da9ca61281fu, 0x2a8a6e45ae8edc97u, 0xea1575143cf97226u, 0xf52d09d71a3293bdu,
11315|  62.7k|            0x924d692ca61be758u, 0x593c2626705f9c56u, 0xb6e0c377cfa2e12eu, 0x6f8b2fb00c77836cu,
11316|  62.7k|            0xe498f455c38b997au, 0x0b6dfb9c0f956447u, 0x8edf98b59a373fecu, 0x4724bd4189bd5eacu,
11317|  62.7k|            0xb2977ee300c50fe7u, 0x58edec91ec2cb657u, 0xdf3d5e9bc0f653e1u, 0x2f2967b66737e3edu,
11318|  62.7k|            0x8b865b215899f46cu, 0xbd79e0d20082ee74u, 0xae67f1e9aec07187u, 0xecd8590680a3aa11u,
11319|  62.7k|            0xda01ee641a708de9u, 0xe80e6f4820cc9495u, 0x884134fe908658b2u, 0x3109058d147fdcddu,
11320|  62.7k|            0xaa51823e34a7eedeu, 0xbd4b46f0599fd415u, 0xd4e5e2cdc1d1ea96u, 0x6c9e18ac7007c91au,
11321|  62.7k|            0x850fadc09923329eu, 0x03e2cf6bc604ddb0u, 0xa6539930bf6bff45u, 0x84db8346b786151cu,
11322|  62.7k|            0xcfe87f7cef46ff16u, 0xe612641865679a63u, 0x81f14fae158c5f6eu, 0x4fcb7e8f3f60c07eu,
11323|  62.7k|            0xa26da3999aef7749u, 0xe3be5e330f38f09du, 0xcb090c8001ab551cu, 0x5cadf5bfd3072cc5u,
11324|  62.7k|            0xfdcb4fa002162a63u, 0x73d9732fc7c8f7f6u, 0x9e9f11c4014dda7eu, 0x2867e7fddcdd9afau,
11325|  62.7k|            0xc646d63501a1511du, 0xb281e1fd541501b8u, 0xf7d88bc24209a565u, 0x1f225a7ca91a4226u,
11326|  62.7k|            0x9ae757596946075fu, 0x3375788de9b06958u, 0xc1a12d2fc3978937u, 0x0052d6b1641c83aeu,
11327|  62.7k|            0xf209787bb47d6b84u, 0xc0678c5dbd23a49au, 0x9745eb4d50ce6332u, 0xf840b7ba963646e0u,
11328|  62.7k|            0xbd176620a501fbffu, 0xb650e5a93bc3d898u, 0xec5d3fa8ce427affu, 0xa3e51f138ab4cebeu,
11329|  62.7k|            0x93ba47c980e98cdfu, 0xc66f336c36b10137u, 0xb8a8d9bbe123f017u, 0xb80b0047445d4184u,
11330|  62.7k|            0xe6d3102ad96cec1du, 0xa60dc059157491e5u, 0x9043ea1ac7e41392u, 0x87c89837ad68db2fu,
11331|  62.7k|            0xb454e4a179dd1877u, 0x29babe4598c311fbu, 0xe16a1dc9d8545e94u, 0xf4296dd6fef3d67au,
11332|  62.7k|            0x8ce2529e2734bb1du, 0x1899e4a65f58660cu, 0xb01ae745b101e9e4u, 0x5ec05dcff72e7f8fu,
11333|  62.7k|            0xdc21a1171d42645du, 0x76707543f4fa1f73u, 0x899504ae72497ebau, 0x6a06494a791c53a8u,
11334|  62.7k|            0xabfa45da0edbde69u, 0x0487db9d17636892u, 0xd6f8d7509292d603u, 0x45a9d2845d3c42b6u,
11335|  62.7k|            0x865b86925b9bc5c2u, 0x0b8a2392ba45a9b2u, 0xa7f26836f282b732u, 0x8e6cac7768d7141eu,
11336|  62.7k|            0xd1ef0244af2364ffu, 0x3207d795430cd926u, 0x8335616aed761f1fu, 0x7f44e6bd49e807b8u,
11337|  62.7k|            0xa402b9c5a8d3a6e7u, 0x5f16206c9c6209a6u, 0xcd036837130890a1u, 0x36dba887c37a8c0fu,
11338|  62.7k|            0x802221226be55a64u, 0xc2494954da2c9789u, 0xa02aa96b06deb0fdu, 0xf2db9baa10b7bd6cu,
11339|  62.7k|            0xc83553c5c8965d3du, 0x6f92829494e5acc7u, 0xfa42a8b73abbf48cu, 0xcb772339ba1f17f9u,
11340|  62.7k|            0x9c69a97284b578d7u, 0xff2a760414536efbu, 0xc38413cf25e2d70du, 0xfef5138519684abau,
11341|  62.7k|            0xf46518c2ef5b8cd1u, 0x7eb258665fc25d69u, 0x98bf2f79d5993802u, 0xef2f773ffbd97a61u,
11342|  62.7k|            0xbeeefb584aff8603u, 0xaafb550ffacfd8fau, 0xeeaaba2e5dbf6784u, 0x95ba2a53f983cf38u,
11343|  62.7k|            0x952ab45cfa97a0b2u, 0xdd945a747bf26183u, 0xba756174393d88dfu, 0x94f971119aeef9e4u,
11344|  62.7k|            0xe912b9d1478ceb17u, 0x7a37cd5601aab85du, 0x91abb422ccb812eeu, 0xac62e055c10ab33au,
11345|  62.7k|            0xb616a12b7fe617aau, 0x577b986b314d6009u, 0xe39c49765fdf9d94u, 0xed5a7e85fda0b80bu,
11346|  62.7k|            0x8e41ade9fbebc27du, 0x14588f13be847307u, 0xb1d219647ae6b31cu, 0x596eb2d8ae258fc8u,
11347|  62.7k|            0xde469fbd99a05fe3u, 0x6fca5f8ed9aef3bbu, 0x8aec23d680043beeu, 0x25de7bb9480d5854u,
11348|  62.7k|            0xada72ccc20054ae9u, 0xaf561aa79a10ae6au, 0xd910f7ff28069da4u, 0x1b2ba1518094da04u,
11349|  62.7k|            0x87aa9aff79042286u, 0x90fb44d2f05d0842u, 0xa99541bf57452b28u, 0x353a1607ac744a53u,
11350|  62.7k|            0xd3fa922f2d1675f2u, 0x42889b8997915ce8u, 0x847c9b5d7c2e09b7u, 0x69956135febada11u,
11351|  62.7k|            0xa59bc234db398c25u, 0x43fab9837e699095u, 0xcf02b2c21207ef2eu, 0x94f967e45e03f4bbu,
11352|  62.7k|            0x8161afb94b44f57du, 0x1d1be0eebac278f5u, 0xa1ba1ba79e1632dcu, 0x6462d92a69731732u,
11353|  62.7k|            0xca28a291859bbf93u, 0x7d7b8f7503cfdcfeu, 0xfcb2cb35e702af78u, 0x5cda735244c3d43eu,
11354|  62.7k|            0x9defbf01b061adabu, 0x3a0888136afa64a7u, 0xc56baec21c7a1916u, 0x088aaa1845b8fdd0u,
11355|  62.7k|            0xf6c69a72a3989f5bu, 0x8aad549e57273d45u, 0x9a3c2087a63f6399u, 0x36ac54e2f678864bu,
11356|  62.7k|            0xc0cb28a98fcf3c7fu, 0x84576a1bb416a7ddu, 0xf0fdf2d3f3c30b9fu, 0x656d44a2a11c51d5u,
11357|  62.7k|            0x969eb7c47859e743u, 0x9f644ae5a4b1b325u, 0xbc4665b596706114u, 0x873d5d9f0dde1feeu,
11358|  62.7k|            0xeb57ff22fc0c7959u, 0xa90cb506d155a7eau, 0x9316ff75dd87cbd8u, 0x09a7f12442d588f2u,
11359|  62.7k|            0xb7dcbf5354e9beceu, 0x0c11ed6d538aeb2fu, 0xe5d3ef282a242e81u, 0x8f1668c8a86da5fau,
11360|  62.7k|            0x8fa475791a569d10u, 0xf96e017d694487bcu, 0xb38d92d760ec4455u, 0x37c981dcc395a9acu,
11361|  62.7k|            0xe070f78d3927556au, 0x85bbe253f47b1417u, 0x8c469ab843b89562u, 0x93956d7478ccec8eu,
11362|  62.7k|            0xaf58416654a6babbu, 0x387ac8d1970027b2u, 0xdb2e51bfe9d0696au, 0x06997b05fcc0319eu,
11363|  62.7k|            0x88fcf317f22241e2u, 0x441fece3bdf81f03u, 0xab3c2fddeeaad25au, 0xd527e81cad7626c3u,
11364|  62.7k|            0xd60b3bd56a5586f1u, 0x8a71e223d8d3b074u, 0x85c7056562757456u, 0xf6872d5667844e49u,
11365|  62.7k|            0xa738c6bebb12d16cu, 0xb428f8ac016561dbu, 0xd106f86e69d785c7u, 0xe13336d701beba52u,
11366|  62.7k|            0x82a45b450226b39cu, 0xecc0024661173473u, 0xa34d721642b06084u, 0x27f002d7f95d0190u,
11367|  62.7k|            0xcc20ce9bd35c78a5u, 0x31ec038df7b441f4u, 0xff290242c83396ceu, 0x7e67047175a15271u,
11368|  62.7k|            0x9f79a169bd203e41u, 0x0f0062c6e984d386u, 0xc75809c42c684dd1u, 0x52c07b78a3e60868u,
11369|  62.7k|            0xf92e0c3537826145u, 0xa7709a56ccdf8a82u, 0x9bbcc7a142b17ccbu, 0x88a66076400bb691u,
11370|  62.7k|            0xc2abf989935ddbfeu, 0x6acff893d00ea435u, 0xf356f7ebf83552feu, 0x0583f6b8c4124d43u,
11371|  62.7k|            0x98165af37b2153deu, 0xc3727a337a8b704au, 0xbe1bf1b059e9a8d6u, 0x744f18c0592e4c5cu,
11372|  62.7k|            0xeda2ee1c7064130cu, 0x1162def06f79df73u, 0x9485d4d1c63e8be7u, 0x8addcb5645ac2ba8u,
11373|  62.7k|            0xb9a74a0637ce2ee1u, 0x6d953e2bd7173692u, 0xe8111c87c5c1ba99u, 0xc8fa8db6ccdd0437u,
11374|  62.7k|            0x910ab1d4db9914a0u, 0x1d9c9892400a22a2u, 0xb54d5e4a127f59c8u, 0x2503beb6d00cab4bu,
11375|  62.7k|            0xe2a0b5dc971f303au, 0x2e44ae64840fd61du, 0x8da471a9de737e24u, 0x5ceaecfed289e5d2u,
11376|  62.7k|            0xb10d8e1456105dadu, 0x7425a83e872c5f47u, 0xdd50f1996b947518u, 0xd12f124e28f77719u,
11377|  62.7k|            0x8a5296ffe33cc92fu, 0x82bd6b70d99aaa6fu, 0xace73cbfdc0bfb7bu, 0x636cc64d1001550bu,
11378|  62.7k|            0xd8210befd30efa5au, 0x3c47f7e05401aa4eu, 0x8714a775e3e95c78u, 0x65acfaec34810a71u,
11379|  62.7k|            0xa8d9d1535ce3b396u, 0x7f1839a741a14d0du, 0xd31045a8341ca07cu, 0x1ede48111209a050u,
11380|  62.7k|            0x83ea2b892091e44du, 0x934aed0aab460432u, 0xa4e4b66b68b65d60u, 0xf81da84d5617853fu,
11381|  62.7k|            0xce1de40642e3f4b9u, 0x36251260ab9d668eu, 0x80d2ae83e9ce78f3u, 0xc1d72b7c6b426019u,
11382|  62.7k|            0xa1075a24e4421730u, 0xb24cf65b8612f81fu, 0xc94930ae1d529cfcu, 0xdee033f26797b627u,
11383|  62.7k|            0xfb9b7cd9a4a7443cu, 0x169840ef017da3b1u, 0x9d412e0806e88aa5u, 0x8e1f289560ee864eu,
11384|  62.7k|            0xc491798a08a2ad4eu, 0xf1a6f2bab92a27e2u, 0xf5b5d7ec8acb58a2u, 0xae10af696774b1dbu,
11385|  62.7k|            0x9991a6f3d6bf1765u, 0xacca6da1e0a8ef29u, 0xbff610b0cc6edd3fu, 0x17fd090a58d32af3u,
11386|  62.7k|            0xeff394dcff8a948eu, 0xddfc4b4cef07f5b0u, 0x95f83d0a1fb69cd9u, 0x4abdaf101564f98eu,
11387|  62.7k|            0xbb764c4ca7a4440fu, 0x9d6d1ad41abe37f1u, 0xea53df5fd18d5513u, 0x84c86189216dc5edu,
11388|  62.7k|            0x92746b9be2f8552cu, 0x32fd3cf5b4e49bb4u, 0xb7118682dbb66a77u, 0x3fbc8c33221dc2a1u,
11389|  62.7k|            0xe4d5e82392a40515u, 0x0fabaf3feaa5334au, 0x8f05b1163ba6832du, 0x29cb4d87f2a7400eu,
11390|  62.7k|            0xb2c71d5bca9023f8u, 0x743e20e9ef511012u, 0xdf78e4b2bd342cf6u, 0x914da9246b255416u,
11391|  62.7k|            0x8bab8eefb6409c1au, 0x1ad089b6c2f7548eu, 0xae9672aba3d0c320u, 0xa184ac2473b529b1u,
11392|  62.7k|            0xda3c0f568cc4f3e8u, 0xc9e5d72d90a2741eu, 0x8865899617fb1871u, 0x7e2fa67c7a658892u,
11393|  62.7k|            0xaa7eebfb9df9de8du, 0xddbb901b98feeab7u, 0xd51ea6fa85785631u, 0x552a74227f3ea565u,
11394|  62.7k|            0x8533285c936b35deu, 0xd53a88958f87275fu, 0xa67ff273b8460356u, 0x8a892abaf368f137u,
11395|  62.7k|            0xd01fef10a657842cu, 0x2d2b7569b0432d85u, 0x8213f56a67f6b29bu, 0x9c3b29620e29fc73u,
11396|  62.7k|            0xa298f2c501f45f42u, 0x8349f3ba91b47b8fu, 0xcb3f2f7642717713u, 0x241c70a936219a73u,
11397|  62.7k|            0xfe0efb53d30dd4d7u, 0xed238cd383aa0110u, 0x9ec95d1463e8a506u, 0xf4363804324a40aau,
11398|  62.7k|            0xc67bb4597ce2ce48u, 0xb143c6053edcd0d5u, 0xf81aa16fdc1b81dau, 0xdd94b7868e94050au,
11399|  62.7k|            0x9b10a4e5e9913128u, 0xca7cf2b4191c8326u, 0xc1d4ce1f63f57d72u, 0xfd1c2f611f63a3f0u,
11400|  62.7k|            0xf24a01a73cf2dccfu, 0xbc633b39673c8cecu, 0x976e41088617ca01u, 0xd5be0503e085d813u,
11401|  62.7k|            0xbd49d14aa79dbc82u, 0x4b2d8644d8a74e18u, 0xec9c459d51852ba2u, 0xddf8e7d60ed1219eu,
11402|  62.7k|            0x93e1ab8252f33b45u, 0xcabb90e5c942b503u, 0xb8da1662e7b00a17u, 0x3d6a751f3b936243u,
11403|  62.7k|            0xe7109bfba19c0c9du, 0x0cc512670a783ad4u, 0x906a617d450187e2u, 0x27fb2b80668b24c5u,
11404|  62.7k|            0xb484f9dc9641e9dau, 0xb1f9f660802dedf6u, 0xe1a63853bbd26451u, 0x5e7873f8a0396973u,
11405|  62.7k|            0x8d07e33455637eb2u, 0xdb0b487b6423e1e8u, 0xb049dc016abc5e5fu, 0x91ce1a9a3d2cda62u,
11406|  62.7k|            0xdc5c5301c56b75f7u, 0x7641a140cc7810fbu, 0x89b9b3e11b6329bau, 0xa9e904c87fcb0a9du,
11407|  62.7k|            0xac2820d9623bf429u, 0x546345fa9fbdcd44u, 0xd732290fbacaf133u, 0xa97c177947ad4095u,
11408|  62.7k|            0x867f59a9d4bed6c0u, 0x49ed8eabcccc485du, 0xa81f301449ee8c70u, 0x5c68f256bfff5a74u,
11409|  62.7k|            0xd226fc195c6a2f8cu, 0x73832eec6fff3111u, 0x83585d8fd9c25db7u, 0xc831fd53c5ff7eabu,
11410|  62.7k|            0xa42e74f3d032f525u, 0xba3e7ca8b77f5e55u, 0xcd3a1230c43fb26fu, 0x28ce1bd2e55f35ebu,
11411|  62.7k|            0x80444b5e7aa7cf85u, 0x7980d163cf5b81b3u, 0xa0555e361951c366u, 0xd7e105bcc332621fu,
11412|  62.7k|            0xc86ab5c39fa63440u, 0x8dd9472bf3fefaa7u, 0xfa856334878fc150u, 0xb14f98f6f0feb951u,
11413|  62.7k|            0x9c935e00d4b9d8d2u, 0x6ed1bf9a569f33d3u, 0xc3b8358109e84f07u, 0x0a862f80ec4700c8u,
11414|  62.7k|            0xf4a642e14c6262c8u, 0xcd27bb612758c0fau, 0x98e7e9cccfbd7dbdu, 0x8038d51cb897789cu,
11415|  62.7k|            0xbf21e44003acdd2cu, 0xe0470a63e6bd56c3u, 0xeeea5d5004981478u, 0x1858ccfce06cac74u,
11416|  62.7k|            0x95527a5202df0ccbu, 0x0f37801e0c43ebc8u, 0xbaa718e68396cffdu, 0xd30560258f54e6bau,
11417|  62.7k|            0xe950df20247c83fdu, 0x47c6b82ef32a2069u, 0x91d28b7416cdd27eu, 0x4cdc331d57fa5441u,
11418|  62.7k|            0xb6472e511c81471du, 0xe0133fe4adf8e952u, 0xe3d8f9e563a198e5u, 0x58180fddd97723a6u,
11419|  62.7k|            0x8e679c2f5e44ff8fu, 0x570f09eaa7ea7648u,
11420|  62.7k|        }
11421|  62.7k|    };
11422|  62.7k|    return table;
11423|  62.7k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij13umul192_hi128Emmm:
36019|  34.5k|{
36020|  34.5k|    const uint128_parts p = full_multiplication(x_hi, y);
36021|  34.5k|    uint128_parts r{};
36022|  34.5k|    r.low = p.low + full_multiplication(x_lo, y).high;
36023|  34.5k|    r.high = p.high + (r.low < p.low ? 1u : 0u);
  ------------------
  |  Branch (36023:24): [True: 156, False: 34.4k]
  ------------------
36024|  34.5k|    return r;
36025|  34.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail4zmij16umul128_add_hi64Emmm:
36029|  37.0k|{
36030|  37.0k|    const uint128_parts p = full_multiplication(x, y);
36031|  37.0k|    return p.high + (p.low + c < p.low ? 1u : 0u);
  ------------------
  |  Branch (36031:22): [True: 10.1k, False: 26.9k]
  ------------------
36032|  37.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_shortestEPcNS1_4zmij16shortest_decimalE:
37259|  34.5k|{
37260|  34.5k|    const std::uint64_t sig = d.integral;
37261|  34.5k|    if (JSON_HEDLEY_UNLIKELY(sig < 100000000000000u || sig >= 10000000000000000u))
  ------------------
  |  | 1697|  66.7k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2.40k, False: 32.1k]
  |  |  |  Branch (1697:94): [True: 2.40k, False: 32.1k]
  |  |  |  Branch (1697:94): [True: 0, False: 32.1k]
  |  |  ------------------
  ------------------
37262|  2.40k|    {
37263|       |        // (subnormals)
37264|  2.40k|        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.16k, False: 1.23k]
  ------------------
37265|  2.40k|    }
37266|  32.1k|    const bool sixteen = sig >= 1000000000000000u; // (else 15 digits)
37267|  32.1k|    const int last = d.has_digit ? d.digit : 0;
  ------------------
  |  Branch (37267:22): [True: 7.03k, False: 25.1k]
  ------------------
37268|  32.1k|    const std::uint64_t upper = sig / 100000000u;
37269|  32.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|  32.1k|    const __m128i x = _mm_set_epi64x(static_cast<long long>(sig - (upper * 100000000u)), static_cast<long long>(upper)); // NOLINT(runtime/int)
37274|  32.1k|    const __m128i abcd = _mm_srli_epi64(_mm_mul_epu32(x, _mm_set1_epi64x(109951163)), 40); // 2^40 / 10000 + 1
37275|  32.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|  32.1k|    const __m128i fours = _mm_shuffle_epi32(abcd_efgh, _MM_SHUFFLE(2, 3, 0, 1));
37278|  32.1k|    const __m128i ab = _mm_srli_epi16(_mm_mulhi_epu16(fours, _mm_set1_epi32(5243)), 3);
37279|  32.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|  32.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|  32.1k|    const auto nonzero = static_cast<std::uint64_t>(_mm_movemask_epi8(_mm_cmpgt_epi8(bytes, _mm_setzero_si128())));
37284|  32.1k|    const int digits = 63 - count_leading_zeros(nonzero) + (sixteen ? 1 : 0); // without trailing zeros
  ------------------
  |  Branch (37284:61): [True: 28.1k, False: 4.03k]
  ------------------
37285|  32.1k|    const __m128i chars = _mm_add_epi8(bytes, _mm_set1_epi8('0'));
37286|       |    // the 16 characters from the first digit
37287|  32.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: 28.1k, False: 4.03k]
  ------------------
37288|  32.1k|    const char s16 = static_cast<char>(sixteen ? '0' + last : '0'); // the 17th
  ------------------
  |  Branch (37288:40): [True: 28.1k, False: 4.03k]
  ------------------
37289|  32.1k|    const auto store_16 = [&s](char* p) noexcept
37290|  32.1k|    {
37291|  32.1k|        std::memcpy(p, &s, 16);
37292|  32.1k|    };
37293|  32.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|  32.1k|    const int len = d.has_digit ? 16 + (sixteen ? 1 : 0) : digits; // significant digits
  ------------------
  |  Branch (37334:21): [True: 7.03k, False: 25.1k]
  |  Branch (37334:41): [True: 4.69k, False: 2.34k]
  ------------------
37335|  32.1k|    const int n = 16 + (sixteen ? 1 : 0) + d.exponent;           // digits before the point
  ------------------
  |  Branch (37335:25): [True: 28.1k, False: 4.03k]
  ------------------
37336|       |
37337|  32.1k|    if (JSON_HEDLEY_LIKELY(n >= 1 && n <= 15))
  ------------------
  |  | 1696|  53.8k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 18.3k, False: 13.8k]
  |  |  |  Branch (1696:94): [True: 21.7k, False: 10.4k]
  |  |  |  Branch (1696:94): [True: 18.3k, False: 3.35k]
  |  |  ------------------
  ------------------
37338|  18.3k|    {
37339|       |        // "dig.its" and "digits[000].0": the digits after the point move by
37340|       |        // one byte ('0's follow the digits)
37341|  18.3k|#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|  18.3k|        const __m128i at = _mm_set1_epi8(static_cast<char>(n));
37346|  18.3k|        const __m128i index = _mm_setr_epi8(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
37347|  18.3k|        const __m128i before = _mm_cmpgt_epi8(at, index);
37348|  18.3k|        const __m128i after = _mm_cmpgt_epi8(index, at);
37349|  18.3k|        const __m128i text = _mm_or_si128(_mm_or_si128(_mm_and_si128(s, before), _mm_and_si128(_mm_slli_si128(s, 1), after)),
37350|  18.3k|                                          _mm_andnot_si128(_mm_or_si128(before, after), _mm_set1_epi8('.')));
37351|  18.3k|        std::memcpy(first, &text, 16);
37352|  18.3k|        first[16] = static_cast<char>(_mm_extract_epi16(s, 7) >> 8);
37353|  18.3k|        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|  18.3k|        return first + (n >= len ? n + 2 : len + 1);
  ------------------
  |  Branch (37370:25): [True: 16.6k, False: 1.69k]
  ------------------
37371|  18.3k|    }
37372|  13.8k|    if (n <= 0 && n > -4)
  ------------------
  |  Branch (37372:9): [True: 10.4k, False: 3.35k]
  |  Branch (37372:19): [True: 4.26k, False: 6.21k]
  ------------------
37373|  4.26k|    {
37374|       |        // "0.[000]digits"
37375|  4.26k|        std::memset(first, '0', 8);
37376|  4.26k|        first[1] = '.';
37377|  4.26k|        store_16(first + 2 - n);
37378|  4.26k|        first[18 - n] = s16;
37379|  4.26k|        return first + 2 - n + len;
37380|  4.26k|    }
37381|       |    // d.igitse+XX, with at least two exponent digits (as append_exponent())
37382|  9.56k|    store_16(first + 1);
37383|  9.56k|    first[17] = s16;
37384|  9.56k|    first[0] = first_digit;
37385|  9.56k|    first[1] = '.';
37386|  9.56k|    char* const end = first + (len == 1 ? 1 : len + 1);
  ------------------
  |  Branch (37386:32): [True: 72, False: 9.49k]
  ------------------
37387|  9.56k|    const int e = n - 1;
37388|  9.56k|    const auto ea = e < 0 ? 0u - static_cast<unsigned>(e) : static_cast<unsigned>(e); // (unsigned: no signed overflow to assume)
  ------------------
  |  Branch (37388:21): [True: 6.21k, False: 3.35k]
  ------------------
37389|  9.56k|    const bool three = ea >= 100;
37390|  9.56k|    end[0] = 'e';
37391|  9.56k|    end[1] = e < 0 ? '-' : '+';
  ------------------
  |  Branch (37391:14): [True: 6.21k, False: 3.35k]
  ------------------
37392|  9.56k|    end[2] = static_cast<char>('0' + (three ? ea / 100 : (ea / 10) % 10));
  ------------------
  |  Branch (37392:39): [True: 2.39k, False: 7.17k]
  ------------------
37393|  9.56k|    end[3] = static_cast<char>('0' + (three ? (ea / 10) % 10 : ea % 10));
  ------------------
  |  Branch (37393:39): [True: 2.39k, False: 7.17k]
  ------------------
37394|  9.56k|    end[4] = static_cast<char>('0' + (ea % 10));
37395|  9.56k|    return end + (three ? 5 : 4);
  ------------------
  |  Branch (37395:19): [True: 2.39k, False: 7.17k]
  ------------------
37396|  13.8k|}
_ZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl13write_decimalEPcmi:
37171|  2.40k|{
37172|  2.40k|    JSON_ASSERT(digits != 0 && digits < 100000000000000000u);
  ------------------
  |  | 2653|  2.40k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (37172:5): [True: 2.40k, False: 0]
  |  Branch (37172:5): [True: 2.40k, False: 0]
  |  Branch (37172:5): [True: 2.40k, False: 0]
  ------------------
37173|  2.40k|    const std::uint64_t upper = digits / 100000000u;
37174|  2.40k|    const std::uint64_t b0 = upper / 100000000u; // (one digit: it is its own byte)
37175|  2.40k|    const std::uint64_t b1 = eight_digit_bytes(upper % 100000000u);
37176|  2.40k|    const std::uint64_t b2 = eight_digit_bytes(digits % 100000000u);
37177|       |    // leading and trailing zero digits: zero bytes, counted without division
37178|  2.40k|    int leading = 16;
37179|  2.40k|    int zeros = 16;
37180|  2.40k|    if (b0 != 0)
  ------------------
  |  Branch (37180:9): [True: 0, False: 2.40k]
  ------------------
37181|      0|    {
37182|      0|        leading = count_leading_zeros(b0) / 8;
37183|      0|    }
37184|  2.40k|    else if (b1 != 0)
  ------------------
  |  Branch (37184:14): [True: 1.20k, False: 1.19k]
  ------------------
37185|  1.20k|    {
37186|  1.20k|        leading = 8 + (count_leading_zeros(b1) / 8);
37187|  1.20k|    }
37188|  1.19k|    else
37189|  1.19k|    {
37190|  1.19k|        leading += count_leading_zeros(b2) / 8;
37191|  1.19k|    }
37192|  2.40k|    if (b2 != 0)
  ------------------
  |  Branch (37192:9): [True: 2.40k, False: 0]
  ------------------
37193|  2.40k|    {
37194|  2.40k|        zeros = count_trailing_zeros(b2) / 8;
37195|  2.40k|    }
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|  2.40k|    std::array<char, 64> text; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
37204|  2.40k|    store_msb_first(text.data(), b0 + 0x3030303030303030u);
37205|  2.40k|    store_msb_first(text.data() + 8, b1 + 0x3030303030303030u);
37206|  2.40k|    store_msb_first(text.data() + 16, b2 + 0x3030303030303030u);
37207|  2.40k|    std::memset(text.data() + 24, '0', 40);
37208|  2.40k|    const int k = 24 - leading - zeros; // significant digits
37209|  2.40k|    const int n = k + exp + zeros;      // position of the decimal point after the first digit
37210|  2.40k|    const char* const s0 = text.data() + leading;
37211|       |
37212|  2.40k|    if (-4 < n && n <= 15)
  ------------------
  |  Branch (37212:9): [True: 0, False: 2.40k]
  |  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|  2.40k|    std::memcpy(first, s0, 16);
37229|  2.40k|    std::memcpy(first + 2, s0 + 1, 16);
37230|  2.40k|    first[1] = '.';
37231|  2.40k|    char* const end = first + (k == 1 ? 1 : k + 1);
  ------------------
  |  Branch (37231:32): [True: 630, False: 1.77k]
  ------------------
37232|  2.40k|    const int e = n - 1;
37233|  2.40k|    const auto ea = e < 0 ? 0u - static_cast<unsigned>(e) : static_cast<unsigned>(e); // (unsigned: no signed overflow to assume)
  ------------------
  |  Branch (37233:21): [True: 2.40k, False: 0]
  ------------------
37234|  2.40k|    const bool three = ea >= 100;
37235|  2.40k|    end[0] = 'e';
37236|  2.40k|    end[1] = e < 0 ? '-' : '+';
  ------------------
  |  Branch (37236:14): [True: 2.40k, False: 0]
  ------------------
37237|  2.40k|    end[2] = static_cast<char>('0' + (three ? ea / 100 : (ea / 10) % 10));
  ------------------
  |  Branch (37237:39): [True: 2.40k, False: 0]
  ------------------
37238|  2.40k|    end[3] = static_cast<char>('0' + (three ? (ea / 10) % 10 : ea % 10));
  ------------------
  |  Branch (37238:39): [True: 2.40k, False: 0]
  ------------------
37239|  2.40k|    end[4] = static_cast<char>('0' + (ea % 10));
37240|  2.40k|    return end + (three ? 5 : 4);
  ------------------
  |  Branch (37240:19): [True: 2.40k, False: 0]
  ------------------
37241|  2.40k|}
_ZZN8nlohmann16json_abi_v3_12_06detail9dtoa_impl14write_shortestEPcNS1_4zmij16shortest_decimalEENKUlS3_E_clES3_:
37290|  13.8k|    {
37291|  13.8k|        std::memcpy(p, &s, 16);
37292|  13.8k|    };
_ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE5flushEv:
39130|  30.5k|    {
39131|  30.5k|        o->write_characters(write_buffer.data(), write_buffer_pos);
39132|  30.5k|        write_buffer_pos = 0;
39133|  30.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail35binary_writer_default_error_handlerEv:
 6189|  8.93k|{
 6190|       |#if JSON_STRICT_BINARY_UTF8
 6191|       |    return error_handler_t::strict;
 6192|       |#else
 6193|  8.93k|    return error_handler_t::keep;
 6194|  8.93k|#endif
 6195|  8.93k|}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvED2Ev:
42951|  2.67M|    {
42952|  2.67M|        assert_invariant(false);
42953|  2.67M|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16assert_invariantEb:
41279|  7.34M|    {
41280|  7.34M|        JSON_ASSERT(m_data.m_type != value_t::object || m_data.m_value.object != nullptr);
  ------------------
  |  | 2653|  7.34M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41280:9): [True: 6.84M, False: 506k]
  |  Branch (41280:9): [True: 506k, False: 0]
  |  Branch (41280:9): [True: 7.34M, False: 0]
  ------------------
41281|  7.34M|        JSON_ASSERT(m_data.m_type != value_t::array || m_data.m_value.array != nullptr);
  ------------------
  |  | 2653|  7.34M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41281:9): [True: 6.34M, False: 1.00M]
  |  Branch (41281:9): [True: 1.00M, False: 0]
  |  Branch (41281:9): [True: 7.34M, False: 0]
  ------------------
41282|  7.34M|        JSON_ASSERT(m_data.m_type != value_t::string || m_data.m_value.string != nullptr);
  ------------------
  |  | 2653|  7.34M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41282:9): [True: 6.82M, False: 526k]
  |  Branch (41282:9): [True: 526k, False: 0]
  |  Branch (41282:9): [True: 7.34M, False: 0]
  ------------------
41283|  7.34M|        JSON_ASSERT(m_data.m_type != value_t::binary || m_data.m_value.binary != nullptr);
  ------------------
  |  | 2653|  7.34M|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41283:9): [True: 6.27M, False: 1.07M]
  |  Branch (41283:9): [True: 1.07M, False: 0]
  |  Branch (41283:9): [True: 7.34M, 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|  7.34M|        static_cast<void>(check_parents);
41296|  7.34M|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataD2Ev:
46531|  3.24M|        {
46532|  3.24M|            m_value.destroy(m_type);
46533|  3.24M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value7destroyENS0_6detail7value_tE:
41223|  3.95M|        {
41224|  3.95M|            if (JSON_HEDLEY_UNLIKELY(detail::owns_memory(t)))
  ------------------
  |  | 1697|  3.95M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 371k, False: 3.58M]
  |  |  ------------------
  ------------------
41225|   371k|            {
41226|   371k|                destroy_owned(t);
41227|   371k|            }
41228|  3.95M|        }
_ZN8nlohmann16json_abi_v3_12_06detail11owns_memoryENS1_7value_tE:
 3462|  3.95M|{
 3463|  3.95M|    switch (t)
 3464|  3.95M|    {
 3465|  19.0k|        case value_t::object:
  ------------------
  |  Branch (3465:9): [True: 19.0k, False: 3.93M]
  ------------------
 3466|  65.1k|        case value_t::array:
  ------------------
  |  Branch (3466:9): [True: 46.1k, False: 3.91M]
  ------------------
 3467|   170k|        case value_t::string:
  ------------------
  |  Branch (3467:9): [True: 105k, False: 3.85M]
  ------------------
 3468|   371k|        case value_t::binary:
  ------------------
  |  Branch (3468:9): [True: 201k, False: 3.75M]
  ------------------
 3469|   371k|            return true;
 3470|       |
 3471|  3.17M|        case value_t::null:
  ------------------
  |  Branch (3471:9): [True: 3.17M, False: 787k]
  ------------------
 3472|  3.20M|        case value_t::boolean:
  ------------------
  |  Branch (3472:9): [True: 30.1k, False: 3.92M]
  ------------------
 3473|  3.33M|        case value_t::number_integer:
  ------------------
  |  Branch (3473:9): [True: 130k, False: 3.82M]
  ------------------
 3474|  3.51M|        case value_t::number_unsigned:
  ------------------
  |  Branch (3474:9): [True: 187k, False: 3.76M]
  ------------------
 3475|  3.58M|        case value_t::number_float:
  ------------------
  |  Branch (3475:9): [True: 61.9k, False: 3.89M]
  ------------------
 3476|  3.58M|        case value_t::discarded:
  ------------------
  |  Branch (3476:9): [True: 4.55k, False: 3.95M]
  ------------------
 3477|  3.58M|        default:
  ------------------
  |  Branch (3477:9): [True: 0, False: 3.95M]
  ------------------
 3478|  3.58M|            return false;
 3479|  3.95M|    }
 3480|  3.95M|}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value13destroy_ownedENS0_6detail7value_tE:
41231|   371k|        {
41232|   371k|            switch (t)
41233|   371k|            {
41234|   105k|                case value_t::string:
  ------------------
  |  Branch (41234:17): [True: 105k, False: 266k]
  ------------------
41235|   105k|                    destroy_pointer(string);
41236|   105k|                    break;
41237|       |
41238|   201k|                case value_t::binary:
  ------------------
  |  Branch (41238:17): [True: 201k, False: 170k]
  ------------------
41239|   201k|                    destroy_pointer(binary);
41240|   201k|                    break;
41241|       |
41242|  19.0k|                case value_t::object:
  ------------------
  |  Branch (41242:17): [True: 19.0k, False: 352k]
  ------------------
41243|  65.1k|                case value_t::array:
  ------------------
  |  Branch (41243:17): [True: 46.1k, False: 325k]
  ------------------
41244|  65.1k|                    destroy_container(t);
41245|  65.1k|                    break;
41246|       |
41247|      0|                case value_t::null: // LCOV_EXCL_LINE
  ------------------
  |  Branch (41247:17): [True: 0, False: 371k]
  ------------------
41248|      0|                case value_t::boolean:
  ------------------
  |  Branch (41248:17): [True: 0, False: 371k]
  ------------------
41249|      0|                case value_t::number_integer:
  ------------------
  |  Branch (41249:17): [True: 0, False: 371k]
  ------------------
41250|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (41250:17): [True: 0, False: 371k]
  ------------------
41251|      0|                case value_t::number_float:
  ------------------
  |  Branch (41251:17): [True: 0, False: 371k]
  ------------------
41252|      0|                case value_t::discarded:
  ------------------
  |  Branch (41252:17): [True: 0, False: 371k]
  ------------------
41253|      0|                default:
  ------------------
  |  Branch (41253:17): [True: 0, False: 371k]
  ------------------
41254|      0|                    break; // LCOV_EXCL_LINE
41255|   371k|            }
41256|   371k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15destroy_pointerISA_EEvRPT_:
41063|   105k|        {
41064|   105k|            if (ptr == nullptr)
  ------------------
  |  Branch (41064:17): [True: 0, False: 105k]
  ------------------
41065|      0|            {
41066|       |                // not initialized (e.g., due to exception in the ctor)
41067|      0|                return;
41068|      0|            }
41069|   105k|            AllocatorType<T> alloc;
41070|   105k|            std::allocator_traits<decltype(alloc)>::destroy(alloc, ptr);
41071|   105k|            std::allocator_traits<decltype(alloc)>::deallocate(alloc, ptr, 1);
41072|   105k|        }
_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|   201k|        {
41064|   201k|            if (ptr == nullptr)
  ------------------
  |  Branch (41064:17): [True: 0, False: 201k]
  ------------------
41065|      0|            {
41066|       |                // not initialized (e.g., due to exception in the ctor)
41067|      0|                return;
41068|      0|            }
41069|   201k|            AllocatorType<T> alloc;
41070|   201k|            std::allocator_traits<decltype(alloc)>::destroy(alloc, ptr);
41071|   201k|            std::allocator_traits<decltype(alloc)>::deallocate(alloc, ptr, 1);
41072|   201k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value17destroy_containerENS0_6detail7value_tE:
41076|  65.1k|        {
41077|  65.1k|            if (
41078|  65.1k|                (t == value_t::object && object == nullptr) ||
  ------------------
  |  Branch (41078:18): [True: 19.0k, False: 46.1k]
  |  Branch (41078:42): [True: 0, False: 19.0k]
  ------------------
41079|  65.1k|                (t == value_t::array && array == nullptr)
  ------------------
  |  Branch (41079:18): [True: 46.1k, False: 19.0k]
  |  Branch (41079:41): [True: 0, False: 46.1k]
  ------------------
41080|  65.1k|            )
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|  65.1k|            data cur;
41095|  65.1k|            cur.m_type = t;
41096|  65.1k|            std::swap(cur.m_value, *this);
41097|       |
41098|  65.1k|            destroy_bounded(cur, 0);
41099|  65.1k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2Ev:
46524|  1.55M|        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|   710k|        {
41107|   710k|            if (JSON_HEDLEY_UNLIKELY(depth >= detail::recursion_depth_limit()))
  ------------------
  |  | 1697|   710k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 16.5k, False: 694k]
  |  |  ------------------
  ------------------
41108|  16.5k|            {
41109|  16.5k|                destroy_walk(v);
41110|  16.5k|                return;
41111|  16.5k|            }
41112|       |
41113|   694k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41113:17): [True: 583k, False: 110k]
  ------------------
41114|   583k|            {
41115|   583k|                for (auto& child : *v.m_value.array)
  ------------------
  |  Branch (41115:34): [True: 1.18M, False: 583k]
  ------------------
41116|  1.18M|                {
41117|  1.18M|                    if (child.m_data.m_type == value_t::array || child.m_data.m_type == value_t::object)
  ------------------
  |  Branch (41117:25): [True: 538k, False: 646k]
  |  Branch (41117:66): [True: 47.8k, False: 598k]
  ------------------
41118|   586k|                    {
41119|   586k|                        destroy_bounded(child.m_data, depth + 1);
41120|   586k|                    }
41121|  1.18M|                }
41122|   583k|            }
41123|   110k|            else
41124|   110k|            {
41125|   110k|                for (auto& child : *v.m_value.object)
  ------------------
  |  Branch (41125:34): [True: 117k, False: 110k]
  ------------------
41126|   117k|                {
41127|   117k|                    if (child.second.m_data.m_type == value_t::array || child.second.m_data.m_type == value_t::object)
  ------------------
  |  Branch (41127:25): [True: 5.01k, False: 112k]
  |  Branch (41127:73): [True: 54.2k, False: 58.1k]
  ------------------
41128|  59.2k|                    {
41129|  59.2k|                        destroy_bounded(child.second.m_data, depth + 1);
41130|  59.2k|                    }
41131|   117k|                }
41132|   110k|            }
41133|       |
41134|       |            // only leaves and already destroyed (null) children remain
41135|   694k|            free_container(v);
41136|   694k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value12destroy_walkERNSE_4dataE:
41160|  16.5k|        {
41161|  16.5k|            data cur;
41162|  16.5k|            take(cur, top);
41163|       |
41164|  16.5k|            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|  16.5k|            bool fresh = true;
41171|       |
41172|   517k|            while (true)
  ------------------
  |  Branch (41172:20): [True: 517k, Folded]
  ------------------
41173|   517k|            {
41174|   517k|                const bool fresh_now = fresh;
41175|   517k|                fresh = false;
41176|   517k|                if (has_no_children(cur) || (fresh_now && all_children_leaves(cur)))
  ------------------
  |  Branch (41176:21): [True: 239k, False: 277k]
  |  Branch (41176:46): [True: 247k, False: 30.7k]
  |  Branch (41176:59): [True: 12.5k, False: 234k]
  ------------------
41177|   252k|                {
41178|   252k|                    if (prev.m_type == value_t::null)
  ------------------
  |  Branch (41178:25): [True: 16.5k, False: 235k]
  ------------------
41179|  16.5k|                    {
41180|  16.5k|                        free_container(cur);
41181|  16.5k|                        return; // back at the top with nothing left to do
41182|  16.5k|                    }
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|   235k|                    data gp;
41188|   235k|                    take(gp, walk_child(prev));
41189|   235k|                    pop_walk_child(prev);
41190|       |
41191|   235k|                    free_container(cur);
41192|       |
41193|   235k|                    take(cur, prev);
41194|   235k|                    take(prev, gp);
41195|   235k|                    continue;
41196|   252k|                }
41197|       |
41198|   265k|                data& cur_child_ref = walk_child(cur);
41199|       |
41200|   265k|                if (has_no_children(cur_child_ref))
  ------------------
  |  Branch (41200:21): [True: 29.4k, False: 235k]
  ------------------
41201|  29.4k|                {
41202|       |                    // scalar, or already-empty array/object
41203|  29.4k|                    pop_walk_child(cur);
41204|  29.4k|                    continue;
41205|  29.4k|                }
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|   235k|                data tmp;
41211|   235k|                take(tmp, cur_child_ref);
41212|   235k|                take(cur_child_ref, prev);
41213|   235k|                take(prev, cur);
41214|   235k|                take(cur, tmp);
41215|   235k|                fresh = true;
41216|   235k|            }
41217|  16.5k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value4takeERNSE_4dataESH_:
40939|  1.66M|        {
40940|  1.66M|            dst.m_type = src.m_type;
40941|  1.66M|            dst.m_value = src.m_value;
40942|  1.66M|            src.m_type = value_t::null;
40943|  1.66M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value15has_no_childrenERKNSE_4dataE:
40947|  3.34M|        {
40948|  3.34M|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (40948:17): [True: 1.60M, False: 1.73M]
  ------------------
40949|  1.60M|            {
40950|  1.60M|                return v.m_value.array->empty();
40951|  1.60M|            }
40952|  1.73M|            if (v.m_type == value_t::object)
  ------------------
  |  Branch (40952:17): [True: 359k, False: 1.37M]
  ------------------
40953|   359k|            {
40954|   359k|                return v.m_value.object->empty();
40955|   359k|            }
40956|  1.37M|            return true;
40957|  1.73M|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value19all_children_leavesERKNSE_4dataE:
40964|   882k|        {
40965|       |            // array_t only needs forward iterators (see custom_array_type)
40966|   882k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (40966:17): [True: 754k, False: 127k]
  ------------------
40967|   754k|            {
40968|   754k|                const auto& a = *v.m_value.array;
40969|   754k|                return std::all_of(a.begin(), a.end(), [](const basic_json & el)
40970|   754k|                {
40971|   754k|                    return has_no_children(el.m_data);
40972|   754k|                });
40973|   754k|            }
40974|   127k|            const auto& o = *v.m_value.object;
40975|   127k|            return std::all_of(o.begin(), o.end(), [](const typename object_t::value_type & el)
40976|   127k|            {
40977|   127k|                return has_no_children(el.second.m_data);
40978|   127k|            });
40979|   882k|        }
_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.42M|                {
40971|  1.42M|                    return has_no_children(el.m_data);
40972|  1.42M|                });
_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|   187k|            {
40977|   187k|                return has_no_children(el.second.m_data);
40978|   187k|            });
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value10walk_childERNSE_4dataE:
41010|   501k|        {
41011|   501k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41011:17): [True: 407k, False: 93.9k]
  ------------------
41012|   407k|            {
41013|   407k|                return v.m_value.array->back().m_data;
41014|   407k|            }
41015|  93.9k|            JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|  93.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41015:13): [True: 93.9k, False: 0]
  ------------------
41016|  93.9k|            return walk_child_it(*v.m_value.object)->second.m_data;
41017|  93.9k|        }
_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|   150k|        {
41003|   150k|            JSON_ASSERT(!o.empty());
  ------------------
  |  | 2653|   150k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41003:13): [True: 150k, False: 0]
  ------------------
41004|   150k|            return walk_child_it(o, typename std::iterator_traits<typename ObjectType_::iterator>::iterator_category());
41005|   150k|        }
_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|   150k|        {
40991|   150k|            return std::prev(o.end());
40992|   150k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value14pop_walk_childERNSE_4dataE:
41024|   265k|        {
41025|   265k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41025:17): [True: 209k, False: 56.0k]
  ------------------
41026|   209k|            {
41027|   209k|                v.m_value.array->pop_back();
41028|   209k|            }
41029|  56.0k|            else
41030|  56.0k|            {
41031|  56.0k|                JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|  56.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41031:17): [True: 56.0k, False: 0]
  ------------------
41032|  56.0k|                v.m_value.object->erase(walk_child_it(*v.m_value.object));
41033|  56.0k|            }
41034|   265k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value14free_containerERNSE_4dataE:
41042|   946k|        {
41043|   946k|            JSON_ASSERT(has_no_children(v) || all_children_leaves(v));
  ------------------
  |  | 2653|   946k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41043:13): [True: 311k, False: 635k]
  |  Branch (41043:13): [True: 635k, False: 0]
  |  Branch (41043:13): [True: 946k, False: 0]
  ------------------
41044|   946k|            if (v.m_type == value_t::array)
  ------------------
  |  Branch (41044:17): [True: 786k, False: 159k]
  ------------------
41045|   786k|            {
41046|   786k|                AllocatorType<array_t> alloc;
41047|   786k|                std::allocator_traits<decltype(alloc)>::destroy(alloc, v.m_value.array);
41048|   786k|                std::allocator_traits<decltype(alloc)>::deallocate(alloc, v.m_value.array, 1);
41049|   786k|            }
41050|   159k|            else
41051|   159k|            {
41052|   159k|                JSON_ASSERT(v.m_type == value_t::object);
  ------------------
  |  | 2653|   159k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (41052:17): [True: 159k, False: 0]
  ------------------
41053|   159k|                AllocatorType<object_t> alloc;
41054|   159k|                std::allocator_traits<decltype(alloc)>::destroy(alloc, v.m_value.object);
41055|   159k|                std::allocator_traits<decltype(alloc)>::deallocate(alloc, v.m_value.object, 1);
41056|   159k|            }
41057|   946k|            v.m_type = value_t::null; // avoid a double free if v is later destructed
41058|   946k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9from_cborIRKSD_EESE_OT_bbNS0_6detail18cbor_tag_handler_tENSK_15error_handler_tE:
46797|  22.5k|    {
46798|  22.5k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::cbor, strict, allow_exceptions, error_handler, tag_handler);
46799|  22.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|  31.5k|    {
46576|  31.5k|        basic_json result;
46577|  31.5k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  31.5k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  31.5k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 4.55k, False: 26.9k]
  ------------------
46580|  4.55k|        {
46581|  4.55k|            result = value_t::discarded;
46582|  4.55k|        }
46583|  31.5k|        return result;
46584|  31.5k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EDn:
42524|   269k|    {
42525|   269k|        assert_invariant();
42526|   269k|    }
_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|  31.5k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  31.5k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_stateC2Eb:
16621|  58.6k|        : allow_exceptions(allow_exceptions_)
16622|  58.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_EEEC2EOSK_NS1_14input_format_tENS1_15error_handler_tE:
18992|  31.5k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  31.5k|    {
18994|  31.5k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  31.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11char_traitsIhE3eofEv:
 4463|   725k|    {
 4464|   725k|        return static_cast<int_type>(std::char_traits<char>::eof());
 4465|   725k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17little_endiannessEi:
18810|  67.5k|{
18811|  67.5k|    return *reinterpret_cast<char*>(&num) == 1;
18812|  67.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_EEE9sax_parseEPSM_bNS1_18cbor_tag_handler_tE:
19017|  31.5k|    {
19018|  31.5k|        sax = sax_;
19019|  31.5k|        container_stack.clear();
19020|  31.5k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  31.5k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  31.5k|        bool result = false;
19024|       |
19025|  31.5k|        switch (input_format)
19026|  31.5k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 31.5k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|  31.5k|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 31.5k, False: 0]
  ------------------
19032|  31.5k|                result = parse_cbor_internal(tag_handler);
19033|  31.5k|                break;
19034|       |
19035|      0|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 0, False: 31.5k]
  ------------------
19036|      0|                result = parse_msgpack_internal();
19037|      0|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 31.5k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 31.5k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 31.5k]
  ------------------
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: 31.5k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 31.5k]
  ------------------
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|  31.5k|        }
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|  22.7k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 18.3k, False: 4.41k]
  |  Branch (19058:23): [True: 0, False: 18.3k]
  |  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|  22.7k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 18.3k, False: 4.41k]
  |  Branch (19065:23): [True: 18.3k, False: 0]
  ------------------
19066|  18.3k|        {
19067|  18.3k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 18.3k]
  |  Branch (19067:59): [True: 0, False: 18.3k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  18.3k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 18.3k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  18.3k|            else
19077|  18.3k|            {
19078|  18.3k|                get();
19079|  18.3k|            }
19080|       |
19081|  18.3k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  18.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 444, False: 17.8k]
  |  |  ------------------
  ------------------
19082|    444|            {
19083|    444|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    444|            }
19085|  18.3k|        }
19086|       |
19087|  22.2k|        return result;
19088|  22.7k|    }
_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|  31.5k|    {
19097|  31.5k|        return s;
19098|  31.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_EEE16position_bindingC2EPNS1_24json_sax_dom_error_stateEPKm:
19119|  31.5k|            : parser(parser_), saved()
19120|  31.5k|        {
19121|  31.5k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 31.5k, False: 0]
  ------------------
19122|  31.5k|            {
19123|  31.5k|                saved = parser->get_reserve_state();
19124|  31.5k|                parser->set_input_position(position);
19125|  31.5k|            }
19126|  31.5k|        }
_ZNK8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state17get_reserve_stateEv:
16668|  58.6k|    {
16669|  58.6k|        return {input_position, credit_position, reserve_credit};
16670|  58.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state18set_input_positionEPKm:
16653|  58.6k|    {
16654|  58.6k|        input_position = position;
16655|  58.6k|        credit_position = 0;
16656|  58.6k|        reserve_credit = position != nullptr ? reserved_elements_base : (std::numeric_limits<std::size_t>::max)();
  ------------------
  |  Branch (16656:26): [True: 58.6k, False: 0]
  ------------------
16657|  58.6k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E15remaining_countEv:
10345|   232k|    {
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|   232k|        return static_cast<std::size_t>(std::distance(current, end));
10352|   232k|#endif
10353|   232k|    }
_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|  11.8k|    {
23992|  11.8k|        return sax->parse_error(chars_read, "<end of file>",
23993|  11.8k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  11.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state11parse_errorINS1_11parse_errorEEEbmRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKT_:
16634|  25.6k|    {
16635|  25.6k|        errored = true;
16636|  25.6k|        static_cast<void>(ex);
16637|  25.6k|        if (allow_exceptions)
  ------------------
  |  Branch (16637:13): [True: 21.4k, False: 4.28k]
  ------------------
16638|  21.4k|        {
16639|  21.4k|            JSON_THROW(ex);
  ------------------
  |  | 2618|  21.4k|    #define JSON_THROW(exception) throw exception
  ------------------
16640|  21.4k|        }
16641|  4.28k|        return false;
16642|  25.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5802|  25.6k|    {
 5803|  25.6k|        return create(static_cast<int>(id_), byte_, what_arg, context);
 5804|  25.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5787|  25.6k|    {
 5788|  25.6k|        const std::string w = concat(exception::name("parse_error", id_), "parse error",
 5789|  25.6k|                                     (byte_ != 0 ? (concat(" at byte ", std::to_string(byte_))) : ""),
  ------------------
  |  Branch (5789:39): [True: 25.6k, False: 0]
  ------------------
 5790|  25.6k|                                     ": ", exception::diagnostics(context), what_arg);
 5791|  25.6k|        return {id_, byte_, w.c_str()};
 5792|  25.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_RA12_KcS9_RA3_SA_S9_RKS9_EEET_DpOT0_:
 5537|  25.6k|{
 5538|  25.6k|    OutStringType str;
 5539|  25.6k|    str.reserve(concat_length(args...));
 5540|  25.6k|    concat_into(str, std::forward<Args>(args)...);
 5541|  25.6k|    return str;
 5542|  25.6k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA12_cS9_A3_cS9_S9_EEEmRKT_DpRKT0_:
 5447|  25.6k|{
 5448|  25.6k|    return str.size() + concat_length(rest...);
 5449|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cS9_S9_EEEmPKcDpRKT_:
 5441|  25.6k|{
 5442|  25.6k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cS9_S9_EEEmRKT_DpRKT0_:
 5447|  25.6k|{
 5448|  25.6k|    return str.size() + concat_length(rest...);
 5449|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_EEEmPKcDpRKT_:
 5441|  25.6k|{
 5442|  25.6k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  25.6k|}
_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|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_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|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_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|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJS9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA10_KcS9_EEET_DpOT0_:
 5537|  25.6k|{
 5538|  25.6k|    OutStringType str;
 5539|  25.6k|    str.reserve(concat_length(args...));
 5540|  25.6k|    concat_into(str, std::forward<Args>(args)...);
 5541|  25.6k|    return str;
 5542|  25.6k|} // 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|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail11parse_errorC2EimPKc:
 5819|  25.6k|        : 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|  12.8k|    {
24103|  12.8k|        std::string error_msg = "syntax error while parsing ";
24104|  12.8k|        error_msg += input_format_name(input_format);
24105|       |
24106|  12.8k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  12.8k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17input_format_nameENS1_14input_format_tE:
 9338|  25.6k|{
 9339|  25.6k|    switch (format)
 9340|  25.6k|    {
 9341|  25.6k|        case input_format_t::cbor:
  ------------------
  |  Branch (9341:9): [True: 25.6k, False: 0]
  ------------------
 9342|  25.6k|            return "CBOR";
 9343|      0|        case input_format_t::msgpack:
  ------------------
  |  Branch (9343:9): [True: 0, False: 25.6k]
  ------------------
 9344|      0|            return "MessagePack";
 9345|      0|        case input_format_t::ubjson:
  ------------------
  |  Branch (9345:9): [True: 0, False: 25.6k]
  ------------------
 9346|      0|            return "UBJSON";
 9347|      0|        case input_format_t::bson:
  ------------------
  |  Branch (9347:9): [True: 0, False: 25.6k]
  ------------------
 9348|      0|            return "BSON";
 9349|      0|        case input_format_t::bjdata:
  ------------------
  |  Branch (9349:9): [True: 0, False: 25.6k]
  ------------------
 9350|      0|            return "BJData";
 9351|      0|        case input_format_t::bon8:
  ------------------
  |  Branch (9351:9): [True: 0, False: 25.6k]
  ------------------
 9352|      0|            return "BON8";
 9353|      0|        case input_format_t::json: // LCOV_EXCL_LINE
  ------------------
  |  Branch (9353:9): [True: 0, False: 25.6k]
  ------------------
 9354|      0|        default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (9354:9): [True: 0, False: 25.6k]
  ------------------
 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|  25.6k|    }
 9358|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRS9_cRKS9_RA3_KcSC_EEET_DpOT0_:
 5537|  25.6k|{
 5538|  25.6k|    OutStringType str;
 5539|  25.6k|    str.reserve(concat_length(args...));
 5540|  25.6k|    concat_into(str, std::forward<Args>(args)...);
 5541|  25.6k|    return str;
 5542|  25.6k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJcS9_A3_cS9_EEEmRKT_DpRKT0_:
 5447|  25.6k|{
 5448|  25.6k|    return str.size() + concat_length(rest...);
 5449|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cS9_EEEmcDpRKT_:
 5435|  25.6k|{
 5436|  25.6k|    return 1 + concat_length(rest...);
 5437|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cS9_EEEmRKT_DpRKT0_:
 5447|  25.6k|{
 5448|  25.6k|    return str.size() + concat_length(rest...);
 5449|  25.6k|}
_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|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_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|  25.6k|{
 5510|  25.6k|    out += std::forward<Arg>(arg);
 5511|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5512|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JRA3_KcSB_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.6k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJRKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  25.6k|{
 5501|  25.6k|    out.append(std::forward<Arg>(arg));
 5502|  25.6k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  25.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_EEE15enter_containerEbmm:
19201|   521k|    {
19202|   521k|        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: 276, False: 520k]
  |  |  |  Branch (1697:94): [True: 86.5k, False: 434k]
  |  |  ------------------
  ------------------
19203|    276|        {
19204|    276|            return false;
19205|    276|        }
19206|       |
19207|   520k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   520k|        return true;
19209|   521k|    }
_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|  86.5k|    {
17879|  86.5k|        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|  86.5k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  86.5k|    }
_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|   521k|    {
17962|   521k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 21.7k, False: 499k]
  ------------------
17963|  21.7k|        {
17964|  21.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|  21.7k|            return &root;
17971|  21.7k|        }
17972|       |
17973|   499k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   499k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 441k, False: 58.3k]
  |  Branch (17973:9): [True: 58.3k, False: 0]
  |  Branch (17973:9): [True: 499k, False: 0]
  ------------------
17974|       |
17975|   499k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 441k, False: 58.3k]
  ------------------
17976|   441k|        {
17977|   441k|            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|   441k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   441k|        }
17985|       |
17986|  58.3k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  58.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 58.3k, False: 0]
  ------------------
17987|  58.3k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  58.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 58.3k, False: 0]
  ------------------
17988|  58.3k|        *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|  58.3k|        return object_element;
17995|  58.3k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8is_arrayEv:
43077|  4.11M|    {
43078|  4.11M|        return m_data.m_type == value_t::array;
43079|  4.11M|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9is_objectEv:
43069|   882k|    {
43070|   882k|        return m_data.m_type == value_t::object;
43071|   882k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EOSE_:
42896|   731k|        : json_base_class_t(std::move(static_cast<json_base_class_t&>(other))),
42897|   731k|          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|   731k|    {
42903|       |        // check that the passed value is valid
42904|   731k|        other.assert_invariant(false);
42905|       |
42906|       |        // invalidate payload
42907|   731k|        other.m_data.m_type = value_t::null;
42908|   731k|        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|   731k|        set_parents();
42916|   731k|        assert_invariant();
42917|   731k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE11set_parentsEv:
41299|  3.15M|    {
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.15M|    }
_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|   521k|{
16470|   521k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|  1.01M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 828, False: 520k]
  |  |  |  Branch (1697:94): [True: 496k, False: 24.7k]
  |  |  |  Branch (1697:94): [True: 828, False: 495k]
  |  |  ------------------
  ------------------
16471|    828|    {
16472|    828|        return container_too_large_error(sax, len, kind, ref);
16473|    828|    }
16474|   520k|    return true;
16475|   521k|}
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8max_sizeEv:
44948|   897k|    {
44949|   897k|        if (m_data.m_type == value_t::array)
  ------------------
  |  Branch (44949:13): [True: 746k, False: 150k]
  ------------------
44950|   746k|        {
44951|       |            // delegate call to array_t::max_size()
44952|   746k|            return m_data.m_value.array->max_size();
44953|   746k|        }
44954|       |
44955|   150k|        if (m_data.m_type == value_t::object)
  ------------------
  |  Branch (44955:13): [True: 150k, False: 0]
  ------------------
44956|   150k|        {
44957|       |            // delegate call to object_t::max_size()
44958|   150k|            return m_data.m_value.object->max_size();
44959|   150k|        }
44960|       |
44961|       |        // all other types have max_size() == size()
44962|      0|        return size();
44963|   150k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4sizeEv:
44908|  5.59k|    {
44909|  5.59k|        switch (m_data.m_type)
44910|  5.59k|        {
44911|      0|            case value_t::null:
  ------------------
  |  Branch (44911:13): [True: 0, False: 5.59k]
  ------------------
44912|      0|            {
44913|       |                // null values are empty
44914|      0|                return 0;
44915|      0|            }
44916|       |
44917|  5.02k|            case value_t::array:
  ------------------
  |  Branch (44917:13): [True: 5.02k, False: 574]
  ------------------
44918|  5.02k|            {
44919|       |                // delegate call to array_t::size()
44920|  5.02k|                return m_data.m_value.array->size();
44921|      0|            }
44922|       |
44923|    574|            case value_t::object:
  ------------------
  |  Branch (44923:13): [True: 574, False: 5.02k]
  ------------------
44924|    574|            {
44925|       |                // delegate call to object_t::size()
44926|    574|                return m_data.m_value.object->size();
44927|      0|            }
44928|       |
44929|      0|            case value_t::string:
  ------------------
  |  Branch (44929:13): [True: 0, False: 5.59k]
  ------------------
44930|      0|            case value_t::boolean:
  ------------------
  |  Branch (44930:13): [True: 0, False: 5.59k]
  ------------------
44931|      0|            case value_t::number_integer:
  ------------------
  |  Branch (44931:13): [True: 0, False: 5.59k]
  ------------------
44932|      0|            case value_t::number_unsigned:
  ------------------
  |  Branch (44932:13): [True: 0, False: 5.59k]
  ------------------
44933|      0|            case value_t::number_float:
  ------------------
  |  Branch (44933:13): [True: 0, False: 5.59k]
  ------------------
44934|      0|            case value_t::binary:
  ------------------
  |  Branch (44934:13): [True: 0, False: 5.59k]
  ------------------
44935|      0|            case value_t::discarded:
  ------------------
  |  Branch (44935:13): [True: 0, False: 5.59k]
  ------------------
44936|      0|            default:
  ------------------
  |  Branch (44936:13): [True: 0, False: 5.59k]
  ------------------
44937|      0|            {
44938|       |                // all other types have size 1
44939|      0|                return 1;
44940|      0|            }
44941|  5.59k|        }
44942|  5.59k|    }
_ZN8nlohmann16json_abi_v3_12_06detail25container_too_large_errorINS1_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_:
16463|    828|{
16464|    828|    return sax.parse_error(0, "", out_of_range::create(exception_id::container_too_large, concat("excessive ", kind, " size: ", std::to_string(len)), ref));
16465|    828|}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state11parse_errorINS1_12out_of_rangeEEEbmRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERKT_:
16634|  1.66k|    {
16635|  1.66k|        errored = true;
16636|  1.66k|        static_cast<void>(ex);
16637|  1.66k|        if (allow_exceptions)
  ------------------
  |  Branch (16637:13): [True: 1.39k, False: 278]
  ------------------
16638|  1.39k|        {
16639|  1.39k|            JSON_THROW(ex);
  ------------------
  |  | 2618|  1.39k|    #define JSON_THROW(exception) throw exception
  ------------------
16640|  1.39k|        }
16641|    278|        return false;
16642|  1.66k|    }
_ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIPNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKSD_SK_:
 5889|  1.65k|    {
 5890|  1.65k|        return create(static_cast<int>(id_), what_arg, context);
 5891|  1.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIPNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSD_SK_:
 5882|  1.65k|    {
 5883|  1.65k|        const std::string w = exception::what_impl("out_of_range", id_, what_arg, context);
 5884|  1.65k|        return {id_, w.c_str()};
 5885|  1.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exception9what_implIPNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEEEESD_RKSD_iSK_T_:
 5676|  1.65k|    {
 5677|  1.65k|        return concat(name(ename, id_), diagnostics(context), what_arg);
 5678|  1.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exception11diagnosticsINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEEEESD_PKT_:
 5687|  1.65k|    {
 5688|       |#if JSON_DIAGNOSTICS
 5689|       |        std::vector<std::string> tokens;
 5690|       |        for (const auto* current = leaf_element; current != nullptr && current->m_parent != nullptr; current = current->m_parent)
 5691|       |        {
 5692|       |            const auto* parent = current->m_parent;
 5693|       |            if (parent->is_array())
 5694|       |            {
 5695|       |                for (std::size_t i = 0; i < parent->m_data.m_value.array->size(); ++i)
 5696|       |                {
 5697|       |                    if (&parent->m_data.m_value.array->operator[](i) == current)
 5698|       |                    {
 5699|       |                        tokens.emplace_back(std::to_string(i));
 5700|       |                        break;
 5701|       |                    }
 5702|       |                }
 5703|       |            }
 5704|       |            else if (parent->is_object())
 5705|       |            {
 5706|       |                for (const auto& element : *parent->m_data.m_value.object)
 5707|       |                {
 5708|       |                    if (&element.second == current)
 5709|       |                    {
 5710|       |                        // data() is null-terminated, so a key containing
 5711|       |                        // a null byte is cut short here rather than
 5712|       |                        // truncating the whole message at what()
 5713|       |                        tokens.emplace_back(element.first.data());
 5714|       |                        break;
 5715|       |                    }
 5716|       |                }
 5717|       |            }
 5718|       |            // all other parent types (primitives) contribute no token
 5719|       |        }
 5720|       |
 5721|       |        // the root value has no path, but still has a byte range
 5722|       |        std::string prefix;
 5723|       |        if (!tokens.empty())
 5724|       |        {
 5725|       |            const auto str = std::accumulate(tokens.rbegin(), tokens.rend(), std::string{},
 5726|       |                                             [](const std::string & a, const std::string & b)
 5727|       |            {
 5728|       |                return concat(a, '/', detail::escape(b));
 5729|       |            });
 5730|       |            prefix = concat('(', str, ") ");
 5731|       |        }
 5732|       |
 5733|       |        return concat(prefix, get_byte_positions(leaf_element));
 5734|       |#else
 5735|  1.65k|        return get_byte_positions(leaf_element);
 5736|  1.65k|#endif
 5737|  1.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail9exception18get_byte_positionsINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEEEESD_PKT_:
 5756|  1.65k|    {
 5757|  1.65k|        static_cast<void>(leaf_element);
 5758|  1.65k|        return "";
 5759|  1.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail12out_of_rangeC2EiPKc:
 5895|  1.66k|    out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {}
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA11_KcRPSA_RA8_SA_S9_EEET_DpOT0_:
 5537|  1.65k|{
 5538|  1.65k|    OutStringType str;
 5539|  1.65k|    str.reserve(concat_length(args...));
 5540|  1.65k|    concat_into(str, std::forward<Args>(args)...);
 5541|  1.65k|    return str;
 5542|  1.65k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJPKcA8_cNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEEEEmS4_DpRKT_:
 5441|  1.65k|{
 5442|  1.65k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  1.65k|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA8_cNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|  1.65k|{
 5442|  1.65k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  1.65k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA11_KcJRPSA_RA8_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|  1.65k|{
 5501|  1.65k|    out.append(std::forward<Arg>(arg));
 5502|  1.65k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.65k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA8_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|  1.65k|{
 5501|  1.65k|    out.append(std::forward<Arg>(arg));
 5502|  1.65k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.65k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA8_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  1.65k|{
 5501|  1.65k|    out.append(std::forward<Arg>(arg));
 5502|  1.65k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.65k|}
_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|   434k|    {
17916|   434k|        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|   434k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   434k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 133, False: 434k]
  |  |  ------------------
  ------------------
17924|    133|        {
17925|    133|            return false;
17926|    133|        }
17927|       |
17928|   434k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 414k, False: 20.3k]
  ------------------
17929|   414k|        {
17930|   414k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   414k|        }
17932|       |
17933|   434k|        return true;
17934|   434k|    }
_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|   745k|{
16442|   745k|    arr.reserve(count);
16443|   745k|}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state13reserve_countEm:
16700|   745k|    {
16701|   745k|        const std::size_t count = (std::min)(len, reserve_cap());
16702|   745k|        if (JSON_HEDLEY_LIKELY(count <= reserve_credit))
  ------------------
  |  | 1696|   745k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 732k, False: 13.8k]
  |  |  ------------------
  ------------------
16703|   732k|        {
16704|   732k|            reserve_credit -= count;
16705|   732k|            return count;
16706|   732k|        }
16707|  13.8k|        return reserve_count_slowly(count);
16708|   745k|    }
_ZN8nlohmann16json_abi_v3_12_06detail11reserve_capEv:
16382|   745k|{
16383|   745k|    return 16384;
16384|   745k|}
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state20reserve_count_slowlyEm:
16714|  13.8k|    {
16715|  13.8k|        constexpr std::size_t max_size = (std::numeric_limits<std::size_t>::max)();
16716|  13.8k|        if (input_position == nullptr)
  ------------------
  |  Branch (16716:13): [True: 0, False: 13.8k]
  ------------------
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|  13.8k|        const std::size_t position = *input_position;
16728|  13.8k|        if (position > credit_position)
  ------------------
  |  Branch (16728:13): [True: 13.8k, False: 0]
  ------------------
16729|  13.8k|        {
16730|  13.8k|            const std::size_t bytes = position - credit_position;
16731|  13.8k|            reserve_credit = bytes <= (max_size - reserve_credit) / reserved_elements_per_byte
  ------------------
  |  Branch (16731:30): [True: 13.8k, False: 0]
  ------------------
16732|  13.8k|                             ? reserve_credit + (reserved_elements_per_byte * bytes)
16733|  13.8k|                             : max_size;
16734|  13.8k|            credit_position = position;
16735|  13.8k|        }
16736|       |
16737|  13.8k|        count = (std::min)(count, reserve_credit);
16738|  13.8k|        reserve_credit -= count;
16739|  13.8k|        return count;
16740|  13.8k|    }
_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|   520k|            : remaining(remaining_), type_marker(type_marker_), is_object(is_object_) {}
_ZN8nlohmann16json_abi_v3_12_06detail12unknown_sizeEv:
16376|  1.81M|{
16377|  1.81M|    return (std::numeric_limits<std::size_t>::max)();
16378|  1.81M|}
_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|   402k|    {
19234|   402k|        const bool is_object = container_stack.back().is_object;
19235|   402k|        container_stack.pop_back();
19236|   402k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 62.3k, False: 340k]
  ------------------
19237|   402k|    }
_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|  62.3k|    {
17902|  62.3k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  62.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 62.3k, False: 0]
  ------------------
17903|  62.3k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  62.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 62.3k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  62.3k|        ref_stack.back()->set_parents();
17910|  62.3k|        ref_stack.pop_back();
17911|  62.3k|        return true;
17912|  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_EEE9end_arrayEv:
17937|   340k|    {
17938|   340k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|   340k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 340k, False: 0]
  ------------------
17939|   340k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|   340k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 340k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|   340k|        ref_stack.back()->set_parents();
17946|   340k|        ref_stack.pop_back();
17947|   340k|        return true;
17948|   340k|    }
_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|   362k|    {
23975|   362k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|   362k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 10.6k, False: 351k]
  |  |  ------------------
  ------------------
23976|  10.6k|        {
23977|  10.6k|            return report_eof(context);
23978|  10.6k|        }
23979|   351k|        return true;
23980|   362k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E14bulk_remainingEv:
10370|   154k|    {
10371|   154k|        return remaining_count();
10372|   154k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E9bulk_dataEv:
10364|   143k|    {
10365|   143k|        return &*current;
10366|   143k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E9bulk_skipEm:
10376|   106k|    {
10377|   106k|        std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(n));
10378|   106k|    }
_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|   174k|    {
23812|   174k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 174k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|   174k|    }
_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|   120k|    {
17891|   120k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|   120k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 120k, False: 0]
  ------------------
17892|   120k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|   120k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 120k, 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|   120k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|   120k|        return true;
17898|   120k|    }
_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|  3.30k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  3.30k|        auto new_chars_read = ia.get_elements(&dest);
23507|  3.30k|        chars_read += new_chars_read;
23508|  3.30k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  3.30k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 57, False: 3.24k]
  |  |  ------------------
  ------------------
23509|     57|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     57|            ++chars_read;
23512|     57|            static_cast<void>(report_eof(context));
23513|     57|            return false;
23514|     57|        }
23515|  3.24k|        return true;
23516|  3.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIdEEmPT_m:
10326|  3.30k|    {
10327|  3.30k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  3.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIdEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  3.30k|    {
10385|  3.30k|        const std::size_t wanted = count * sizeof(T);
10386|  3.30k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  3.30k|        const std::size_t copied = (std::min)(wanted, available);
10388|  3.30k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  3.30k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 3.28k, False: 24]
  |  |  ------------------
  ------------------
10389|  3.28k|        {
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|  3.28k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  3.28k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 3.28k, False: 0]
  ------------------
10394|  3.28k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  3.28k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 3.28k, 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|  3.28k|            std::memcpy(dest, &*current, copied);
10398|  3.28k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  3.28k|        }
10400|  3.30k|        return copied;
10401|  3.30k|    }
_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.07k|    {
23536|  4.07k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  4.07k|        std::uint64_t bits{};
23538|  4.07k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  4.07k|        bits = byteswap(bits);
23540|  4.07k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  4.07k|    }
_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.07k|    {
23683|  4.07k|        const auto result = static_cast<number_float_t>(number);
23684|  4.07k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  8.14k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.07k]
  |  |  |  Branch (1697:94): [True: 4.06k, False: 9]
  |  |  |  Branch (1697:94): [True: 0, False: 4.06k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  4.07k|        return sax->number_float(result, no_source);
23689|  4.07k|    }
_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.98k|    {
24092|  1.98k|        return hex_byte(static_cast<std::uint8_t>(current));
24093|  1.98k|    }
_ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5889|     12|    {
 5890|     12|        return create(static_cast<int>(id_), what_arg, context);
 5891|     12|    }
_ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 5882|     12|    {
 5883|     12|        const std::string w = exception::what_impl("out_of_range", id_, what_arg, context);
 5884|     12|        return {id_, w.c_str()};
 5885|     12|    }
_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|  34.3k|    {
17857|  34.3k|        handle_value(val);
17858|  34.3k|        return true;
17859|  34.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_valueIRdEEPSG_OT_:
17961|  34.3k|    {
17962|  34.3k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2.32k, False: 31.9k]
  ------------------
17963|  2.32k|        {
17964|  2.32k|            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.32k|            return &root;
17971|  2.32k|        }
17972|       |
17973|  31.9k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  31.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 28.6k, False: 3.38k]
  |  Branch (17973:9): [True: 3.38k, False: 0]
  |  Branch (17973:9): [True: 31.9k, False: 0]
  ------------------
17974|       |
17975|  31.9k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 28.6k, False: 3.38k]
  ------------------
17976|  28.6k|        {
17977|  28.6k|            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|  28.6k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  28.6k|        }
17985|       |
17986|  3.38k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.38k, False: 0]
  ------------------
17987|  3.38k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.38k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.38k, False: 0]
  ------------------
17988|  3.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|  3.38k|        return object_element;
17995|  3.38k|    }
_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|  61.9k|    {
42543|  61.9k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|  61.9k|        set_parents();
42545|  61.9k|        assert_invariant();
42546|  61.9k|    }
_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|  61.9k|    {
 8497|  61.9k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|  61.9k|    }
_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|  61.9k|    {
 8441|  61.9k|        return to_json(j, std::forward<T>(val));
 8442|  61.9k|    }
_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|  61.9k|{
 8129|  61.9k|    external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::number_float_t>(val));
 8130|  61.9k|}
_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|  61.9k|    {
 7919|  61.9k|        j.replace_value(value_t::number_float, val);
 7920|  61.9k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE13replace_valueENS0_6detail7value_tERKNSE_10json_valueE:
41322|   717k|    {
41323|   717k|        m_data.m_value.destroy(m_data.m_type);
41324|   717k|        m_data.m_value = v;
41325|   717k|        m_data.m_type = t;
41326|   717k|        set_parents();
41327|   717k|        assert_invariant();
41328|   717k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Ed:
40810|  61.9k|        json_value(number_float_t v) noexcept : number_float(v) {}
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIcEEmPT_m:
10326|  1.76k|    {
10327|  1.76k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.76k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIcEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  1.76k|    {
10385|  1.76k|        const std::size_t wanted = count * sizeof(T);
10386|  1.76k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  1.76k|        const std::size_t copied = (std::min)(wanted, available);
10388|  1.76k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  1.76k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 306, False: 1.45k]
  |  |  ------------------
  ------------------
10389|    306|        {
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|    306|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|    306|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 306, False: 0]
  ------------------
10394|    306|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|    306|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 306, 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|    306|            std::memcpy(dest, &*current, copied);
10398|    306|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|    306|        }
10400|  1.76k|        return copied;
10401|  1.76k|    }
_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|  56.2k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  56.2k|        handle_value(std::move(val));
17866|  56.2k|        return true;
17867|  56.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_adapterIPKhSJ_EEE12handle_valueISC_EEPSG_OT_:
17961|  56.2k|    {
17962|  56.2k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 2.07k, False: 54.1k]
  ------------------
17963|  2.07k|        {
17964|  2.07k|            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.07k|            return &root;
17971|  2.07k|        }
17972|       |
17973|  54.1k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  54.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 41.1k, False: 12.9k]
  |  Branch (17973:9): [True: 12.9k, False: 0]
  |  Branch (17973:9): [True: 54.1k, False: 0]
  ------------------
17974|       |
17975|  54.1k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 41.1k, False: 12.9k]
  ------------------
17976|  41.1k|        {
17977|  41.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|  41.1k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  41.1k|        }
17985|       |
17986|  12.9k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  12.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 12.9k, False: 0]
  ------------------
17987|  12.9k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  12.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 12.9k, False: 0]
  ------------------
17988|  12.9k|        *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.9k|        return object_element;
17995|  12.9k|    }
_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|   105k|    {
42543|   105k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   105k|        set_parents();
42545|   105k|        assert_invariant();
42546|   105k|    }
_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|   105k|    {
 8497|   105k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   105k|    }
_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|   105k|    {
 8441|   105k|        return to_json(j, std::forward<T>(val));
 8442|   105k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEvRT_ONSH_8string_tE:
 8121|   105k|{
 8122|   105k|    external_constructor<value_t::string>::construct(j, std::move(s));
 8123|   105k|}
_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|   105k|    {
 7881|   105k|        const typename BasicJsonType::json_value value(std::move(s));
 7882|   105k|        j.replace_value(value_t::string, value);
 7883|   105k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2EOSA_:
40901|   105k|        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|   105k|    {
40735|   105k|        AllocatorType<T> alloc;
40736|   105k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   105k|        auto deleter = [&](T * obj)
40739|   105k|        {
40740|   105k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   105k|        };
40742|   105k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   105k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   105k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   105k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 105k, False: 0]
  ------------------
40745|   105k|        return obj.release();
40746|   105k|    }
_ZN8nlohmann16json_abi_v3_12_027byte_container_with_subtypeINSt3__16vectorIhNS2_9allocatorIhEEEEEC2Ev:
 8534|   205k|        : container_type()
 8535|   205k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIhEEmPT_m:
10326|  32.9k|    {
10327|  32.9k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  32.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIhEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  32.9k|    {
10385|  32.9k|        const std::size_t wanted = count * sizeof(T);
10386|  32.9k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  32.9k|        const std::size_t copied = (std::min)(wanted, available);
10388|  32.9k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  32.9k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 31.4k, False: 1.41k]
  |  |  ------------------
  ------------------
10389|  31.4k|        {
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|  31.4k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  31.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 31.4k, False: 0]
  ------------------
10394|  31.4k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  31.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 31.4k, 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|  31.4k|            std::memcpy(dest, &*current, copied);
10398|  31.4k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  31.4k|        }
10400|  32.9k|        return copied;
10401|  32.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_EEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|   111k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|   111k|        handle_value(std::move(val));
17874|   111k|        return true;
17875|   111k|    }
_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|   111k|    {
17962|   111k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 468, False: 111k]
  ------------------
17963|    468|        {
17964|    468|            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|    468|            return &root;
17971|    468|        }
17972|       |
17973|   111k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   111k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 102k, False: 8.97k]
  |  Branch (17973:9): [True: 8.97k, False: 0]
  |  Branch (17973:9): [True: 111k, False: 0]
  ------------------
17974|       |
17975|   111k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 102k, False: 8.97k]
  ------------------
17976|   102k|        {
17977|   102k|            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|   102k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   102k|        }
17985|       |
17986|  8.97k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  8.97k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 8.97k, False: 0]
  ------------------
17987|  8.97k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  8.97k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 8.97k, False: 0]
  ------------------
17988|  8.97k|        *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|  8.97k|        return object_element;
17995|  8.97k|    }
_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|   201k|    {
42543|   201k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   201k|        set_parents();
42545|   201k|        assert_invariant();
42546|   201k|    }
_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|   201k|    {
 8497|   201k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   201k|    }
_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|   201k|    {
 8441|   201k|        return to_json(j, std::forward<T>(val));
 8442|   201k|    }
_ZN8nlohmann16json_abi_v3_12_06detail7to_jsonINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEvRT_RKNSH_8binary_tE:
 8261|   201k|{
 8262|   201k|    external_constructor<value_t::binary>::construct(j, bin);
 8263|   201k|}
_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|   201k|    {
 7901|   201k|        const typename BasicJsonType::json_value value(b);
 7902|   201k|        j.replace_value(value_t::binary, value);
 7903|   201k|    }
_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|   201k|        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|   201k|    {
40735|   201k|        AllocatorType<T> alloc;
40736|   201k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   201k|        auto deleter = [&](T * obj)
40739|   201k|        {
40740|   201k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   201k|        };
40742|   201k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   201k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   201k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   201k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 201k, False: 0]
  ------------------
40745|   201k|        return obj.release();
40746|   201k|    }
_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|  14.8k|    {
23597|       |        // read in the original format
23598|       |
23599|  14.8k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  14.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 53, False: 14.8k]
  |  |  ------------------
  ------------------
23600|     53|        {
23601|     53|            return false;
23602|     53|        }
23603|  14.8k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 14.7k, False: 106]
  |  Branch (23603:34): [Folded, False: 14.7k]
  |  Branch (23603:57): [True: 0, False: 14.7k]
  ------------------
23604|  14.7k|        {
23605|  14.7k|            byte_swap(result);
23606|  14.7k|        }
23607|  14.8k|        return true;
23608|  14.8k|    }
_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|  14.8k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  14.8k|        auto new_chars_read = ia.get_elements(&dest);
23507|  14.8k|        chars_read += new_chars_read;
23508|  14.8k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  14.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 159, False: 14.7k]
  |  |  ------------------
  ------------------
23509|    159|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    159|            ++chars_read;
23512|    159|            static_cast<void>(report_eof(context));
23513|    159|            return false;
23514|    159|        }
23515|  14.7k|        return true;
23516|  14.8k|    }
_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|  14.7k|    {
23556|  14.7k|        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.7k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  14.7k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 14.7k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  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_EEE7booleanEb:
17838|  15.8k|    {
17839|  15.8k|        handle_value(val);
17840|  15.8k|        return true;
17841|  15.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_valueIRbEEPSG_OT_:
17961|  15.8k|    {
17962|  15.8k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 11, False: 15.8k]
  ------------------
17963|     11|        {
17964|     11|            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|     11|            return &root;
17971|     11|        }
17972|       |
17973|  15.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  15.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 13.0k, False: 2.81k]
  |  Branch (17973:9): [True: 2.81k, False: 0]
  |  Branch (17973:9): [True: 15.8k, False: 0]
  ------------------
17974|       |
17975|  15.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 13.0k, False: 2.81k]
  ------------------
17976|  13.0k|        {
17977|  13.0k|            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|  13.0k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  13.0k|        }
17985|       |
17986|  2.81k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.81k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.81k, False: 0]
  ------------------
17987|  2.81k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.81k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.81k, False: 0]
  ------------------
17988|  2.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|  2.81k|        return object_element;
17995|  2.81k|    }
_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|  30.1k|    {
42543|  30.1k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|  30.1k|        set_parents();
42545|  30.1k|        assert_invariant();
42546|  30.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|  30.1k|    {
 8497|  30.1k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|  30.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|  30.1k|    {
 8441|  30.1k|        return to_json(j, std::forward<T>(val));
 8442|  30.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|  30.1k|{
 8096|  30.1k|    external_constructor<value_t::boolean>::construct(j, b);
 8097|  30.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|  30.1k|    {
 7864|  30.1k|        j.replace_value(value_t::boolean, b);
 7865|  30.1k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Eb:
40804|  30.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|  13.7k|    {
17833|  13.7k|        handle_value(nullptr);
17834|  13.7k|        return true;
17835|  13.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|  13.7k|    {
17962|  13.7k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 10, False: 13.6k]
  ------------------
17963|     10|        {
17964|     10|            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|     10|            return &root;
17971|     10|        }
17972|       |
17973|  13.6k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  13.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 9.23k, False: 4.46k]
  |  Branch (17973:9): [True: 4.46k, False: 0]
  |  Branch (17973:9): [True: 13.6k, False: 0]
  ------------------
17974|       |
17975|  13.6k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 9.23k, False: 4.46k]
  ------------------
17976|  9.23k|        {
17977|  9.23k|            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.23k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  9.23k|        }
17985|       |
17986|  4.46k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.46k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 4.46k, False: 0]
  ------------------
17987|  4.46k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  4.46k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 4.46k, False: 0]
  ------------------
17988|  4.46k|        *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.46k|        return object_element;
17995|  4.46k|    }
_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|  68.9k|    {
17845|  68.9k|        handle_value(val);
17846|  68.9k|        return true;
17847|  68.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_valueIRlEEPSG_OT_:
17961|  68.9k|    {
17962|  68.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 1.01k, False: 67.9k]
  ------------------
17963|  1.01k|        {
17964|  1.01k|            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.01k|            return &root;
17971|  1.01k|        }
17972|       |
17973|  67.9k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  67.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 50.4k, False: 17.5k]
  |  Branch (17973:9): [True: 17.5k, False: 0]
  |  Branch (17973:9): [True: 67.9k, False: 0]
  ------------------
17974|       |
17975|  67.9k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 50.4k, False: 17.5k]
  ------------------
17976|  50.4k|        {
17977|  50.4k|            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|  50.4k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  50.4k|        }
17985|       |
17986|  17.5k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  17.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 17.5k, False: 0]
  ------------------
17987|  17.5k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  17.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 17.5k, False: 0]
  ------------------
17988|  17.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|  17.5k|        return object_element;
17995|  17.5k|    }
_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|   130k|    {
42543|   130k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   130k|        set_parents();
42545|   130k|        assert_invariant();
42546|   130k|    }
_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|   130k|    {
 8497|   130k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   130k|    }
_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|   130k|    {
 8441|   130k|        return to_json(j, std::forward<T>(val));
 8442|   130k|    }
_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|   130k|{
 8143|   130k|    external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::number_integer_t>(val));
 8144|   130k|}
_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|   130k|    {
 7939|   130k|        j.replace_value(value_t::number_integer, val);
 7940|   130k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2El:
40806|   130k|        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|   100k|    {
17851|   100k|        handle_value(val);
17852|   100k|        return true;
17853|   100k|    }
_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|   100k|    {
17962|   100k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 1.13k, False: 99.2k]
  ------------------
17963|  1.13k|        {
17964|  1.13k|            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.13k|            return &root;
17971|  1.13k|        }
17972|       |
17973|  99.2k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  99.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 88.7k, False: 10.5k]
  |  Branch (17973:9): [True: 10.5k, False: 0]
  |  Branch (17973:9): [True: 99.2k, False: 0]
  ------------------
17974|       |
17975|  99.2k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 88.7k, False: 10.5k]
  ------------------
17976|  88.7k|        {
17977|  88.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|  88.7k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  88.7k|        }
17985|       |
17986|  10.5k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  10.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 10.5k, False: 0]
  ------------------
17987|  10.5k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  10.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 10.5k, False: 0]
  ------------------
17988|  10.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|  10.5k|        return object_element;
17995|  10.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|   187k|    {
42543|   187k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
42544|   187k|        set_parents();
42545|   187k|        assert_invariant();
42546|   187k|    }
_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|   187k|    {
 8497|   187k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 8498|   187k|    }
_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|   187k|    {
 8441|   187k|        return to_json(j, std::forward<T>(val));
 8442|   187k|    }
_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|   187k|{
 8136|   187k|    external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::number_unsigned_t>(val));
 8137|   187k|}
_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|   187k|    {
 7929|   187k|        j.replace_value(value_t::number_unsigned, val);
 7930|   187k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Em:
40808|   187k|        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_EEE10emit_floatIeEEbT_:
23682|  1.28k|    {
23683|  1.28k|        const auto result = static_cast<number_float_t>(number);
23684|  1.28k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.56k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.28k]
  |  |  |  Branch (1697:94): [True: 1.28k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 1.28k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.28k|        return sax->number_float(result, no_source);
23689|  1.28k|    }
_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|  11.4k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  11.4k|        auto new_chars_read = ia.get_elements(&dest);
23507|  11.4k|        chars_read += new_chars_read;
23508|  11.4k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  11.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 351, False: 11.0k]
  |  |  ------------------
  ------------------
23509|    351|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    351|            ++chars_read;
23512|    351|            static_cast<void>(report_eof(context));
23513|    351|            return false;
23514|    351|        }
23515|  11.0k|        return true;
23516|  11.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsImEEmPT_m:
10326|  11.4k|    {
10327|  11.4k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  11.4k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implImEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  11.4k|    {
10385|  11.4k|        const std::size_t wanted = count * sizeof(T);
10386|  11.4k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  11.4k|        const std::size_t copied = (std::min)(wanted, available);
10388|  11.4k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  11.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 11.2k, False: 156]
  |  |  ------------------
  ------------------
10389|  11.2k|        {
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|  11.2k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  11.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 11.2k, False: 0]
  ------------------
10394|  11.2k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  11.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 11.2k, 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|  11.2k|            std::memcpy(dest, &*current, copied);
10398|  11.2k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  11.2k|        }
10400|  11.4k|        return copied;
10401|  11.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_EEE9byte_swapImEEvRT_:
23555|  13.7k|    {
23556|  13.7k|        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|  13.7k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  68.5k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 54.8k, False: 13.7k]
  ------------------
23572|  54.8k|            {
23573|  54.8k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  54.8k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  13.7k|    }
_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.24k|    {
23657|  3.24k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  3.24k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 3.24k, False: 0]
  |  |  ------------------
  ------------------
23658|  3.24k|        {
23659|  3.24k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  3.24k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  3.24k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImmEEbT0_:
 5316|  36.0k|{
 5317|  36.0k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  36.0k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImmLb1EvE4testEm:
 5309|  36.0k|    {
 5310|  36.0k|        return true;
 5311|  36.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_EEE19parse_cbor_internalENS1_18cbor_tag_handler_tE:
20840|  31.5k|    {
20841|       |        // whether the next value starts at a fresh byte or at the one already
20842|       |        // read into `current`
20843|  31.5k|        bool fetch = true;
20844|       |
20845|       |        // the key currently being read; hoisted out of the loop so that its
20846|       |        // capacity is reused across elements and across nesting levels
20847|  31.5k|        string_t key;
20848|       |
20849|  1.30M|        while (true)
  ------------------
  |  Branch (20849:16): [True: 1.29M, Folded]
  ------------------
20850|  1.29M|        {
20851|  1.29M|            if (!container_stack.empty())
  ------------------
  |  Branch (20851:17): [True: 1.26M, False: 31.5k]
  ------------------
20852|  1.26M|            {
20853|       |                // a copy, not a reference: it must stay valid across the
20854|       |                // pop_back() below, which destroys the container_stack element
20855|       |                // it would otherwise alias
20856|  1.26M|                const container_frame top = container_stack.back();
20857|  1.26M|                const bool is_object = top.is_object;
20858|  1.26M|                bool at_end = false;
20859|       |
20860|  1.26M|                if (top.remaining != npos)
  ------------------
  |  Branch (20860:21): [True: 950k, False: 315k]
  ------------------
20861|   950k|                {
20862|       |                    // definite length: the container ends once its elements
20863|       |                    // have been read
20864|   950k|                    at_end = (top.remaining == 0);
20865|   950k|                    if (!at_end)
  ------------------
  |  Branch (20865:25): [True: 555k, False: 394k]
  ------------------
20866|   555k|                    {
20867|       |                        // claim the element about to be read
20868|   555k|                        --container_stack.back().remaining;
20869|   555k|                        if (is_object)
  ------------------
  |  Branch (20869:29): [True: 78.5k, False: 476k]
  ------------------
20870|  78.5k|                        {
20871|  78.5k|                            get();
20872|  78.5k|                        }
20873|   555k|                    }
20874|   950k|                    fetch = true;
20875|   950k|                }
20876|   315k|                else
20877|   315k|                {
20878|       |                    // indefinite length: the container ends at a break marker.
20879|       |                    // Testing for it consumes a byte, which is the first byte
20880|       |                    // of the next element when it is not one.
20881|   315k|                    at_end = (get() == 0xFF);
20882|   315k|                    fetch = is_object;
20883|   315k|                }
20884|       |
20885|  1.26M|                if (at_end)
  ------------------
  |  Branch (20885:21): [True: 402k, False: 862k]
  ------------------
20886|   402k|                {
20887|   402k|                    bool value_complete = false;
20888|   402k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   402k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 402k]
  |  |  ------------------
  ------------------
20889|      0|                    {
20890|      0|                        return false;
20891|      0|                    }
20892|   402k|                    if (value_complete)
  ------------------
  |  Branch (20892:25): [True: 11.2k, False: 391k]
  ------------------
20893|  11.2k|                    {
20894|  11.2k|                        return true;
20895|  11.2k|                    }
20896|   391k|                    continue;
20897|   402k|                }
20898|       |
20899|   862k|                if (is_object)
  ------------------
  |  Branch (20899:21): [True: 121k, False: 741k]
  ------------------
20900|   121k|                {
20901|   121k|                    if (JSON_HEDLEY_UNLIKELY(!skip_cbor_key_tags(tag_handler)))
  ------------------
  |  | 1697|   121k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 121k]
  |  |  ------------------
  ------------------
20902|      0|                    {
20903|      0|                        return false;
20904|      0|                    }
20905|   121k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_cbor_object_key>(key)))
  ------------------
  |  | 1697|   121k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 608, False: 121k]
  |  |  ------------------
  ------------------
20906|    608|                    {
20907|    608|                        return false;
20908|    608|                    }
20909|   121k|                    fetch = true;
20910|   121k|                }
20911|   862k|            }
20912|       |
20913|       |            // a tag is not a value of its own: read on until the tagged value
20914|   893k|            bool tag_pending = false;
20915|   893k|            bool item_read = false;
20916|   893k|            do
20917|   893k|            {
20918|   893k|                if (JSON_HEDLEY_UNLIKELY(!parse_cbor_value(fetch, tag_handler, tag_pending, item_read)))
  ------------------
  |  | 1697|   893k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.80k, False: 890k]
  |  |  ------------------
  ------------------
20919|  3.80k|                {
20920|  3.80k|                    return false;
20921|  3.80k|                }
20922|   890k|                fetch = !item_read;
20923|   890k|            }
20924|   893k|            while (tag_pending);
  ------------------
  |  Branch (20924:20): [True: 0, False: 890k]
  ------------------
20925|       |
20926|       |            // a value that opened a container left it on the stack; one that
20927|       |            // did not, and that was not inside a container, was the whole value
20928|   890k|            if (container_stack.empty())
  ------------------
  |  Branch (20928:17): [True: 7.02k, False: 882k]
  ------------------
20929|  7.02k|            {
20930|  7.02k|                return true;
20931|  7.02k|            }
20932|   890k|        }
20933|  31.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_EEE25leave_container_and_checkERb:
19250|   402k|    {
19251|   402k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   402k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 402k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   402k|        value_complete = container_stack.empty();
19256|   402k|        return true;
19257|   402k|    }
_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_EEE18skip_cbor_key_tagsENS1_18cbor_tag_handler_tE:
20348|   121k|    {
20349|   121k|        if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20349:13): [True: 121k, False: 0]
  ------------------
20350|   121k|        {
20351|   121k|            return true;
20352|   121k|        }
20353|       |
20354|       |        // 0xC0..0xDB: tag with the tag number in the head (0xC0..0xD7) or in
20355|       |        // the 1, 2, 4, or 8 bytes that follow (0xD8..0xDB)
20356|      0|        while (current >= 0xC0 && current <= 0xDB)
  ------------------
  |  Branch (20356:16): [True: 0, False: 0]
  |  Branch (20356:35): [True: 0, False: 0]
  ------------------
20357|      0|        {
20358|      0|            if (current >= 0xD8)
  ------------------
  |  Branch (20358:17): [True: 0, False: 0]
  ------------------
20359|      0|            {
20360|      0|                std::uint64_t tag_to_ignore{};
20361|      0|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_argument(tag_to_ignore)))
  ------------------
  |  | 1697|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20362|      0|                {
20363|      0|                    return false;
20364|      0|                }
20365|      0|            }
20366|      0|            get();
20367|      0|        }
20368|      0|        return true;
20369|      0|    }
_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_EEE17get_cbor_argumentERm:
20588|  15.7k|    {
20589|  15.7k|        switch (current & 0x1F)
20590|  15.7k|        {
20591|  4.50k|            case 0x18: // 1 byte
  ------------------
  |  Branch (20591:13): [True: 4.50k, False: 11.2k]
  ------------------
20592|  4.50k|            {
20593|  4.50k|                std::uint8_t n{};
20594|  4.50k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  4.50k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 20, False: 4.48k]
  |  |  ------------------
  ------------------
20595|     20|                {
20596|     20|                    return false;
20597|     20|                }
20598|  4.48k|                value = n;
20599|  4.48k|                return true;
20600|  4.50k|            }
20601|       |
20602|  6.16k|            case 0x19: // 2 bytes
  ------------------
  |  Branch (20602:13): [True: 6.16k, False: 9.60k]
  ------------------
20603|  6.16k|            {
20604|  6.16k|                std::uint16_t n{};
20605|  6.16k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  6.16k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 39, False: 6.13k]
  |  |  ------------------
  ------------------
20606|     39|                {
20607|     39|                    return false;
20608|     39|                }
20609|  6.13k|                value = n;
20610|  6.13k|                return true;
20611|  6.16k|            }
20612|       |
20613|  2.79k|            case 0x1A: // 4 bytes
  ------------------
  |  Branch (20613:13): [True: 2.79k, False: 12.9k]
  ------------------
20614|  2.79k|            {
20615|  2.79k|                std::uint32_t n{};
20616|  2.79k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  2.79k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 31, False: 2.75k]
  |  |  ------------------
  ------------------
20617|     31|                {
20618|     31|                    return false;
20619|     31|                }
20620|  2.75k|                value = n;
20621|  2.75k|                return true;
20622|  2.79k|            }
20623|       |
20624|  2.31k|            case 0x1B: // 8 bytes
  ------------------
  |  Branch (20624:13): [True: 2.31k, False: 13.4k]
  ------------------
20625|  2.31k|            {
20626|  2.31k|                std::uint64_t n{};
20627|  2.31k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  2.31k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 33, False: 2.27k]
  |  |  ------------------
  ------------------
20628|     33|                {
20629|     33|                    return false;
20630|     33|                }
20631|  2.27k|                value = n;
20632|  2.27k|                return true;
20633|  2.31k|            }
20634|       |
20635|      0|            default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20635:13): [True: 0, False: 15.7k]
  ------------------
20636|      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 (20636:17): [Folded, False: 0]
  ------------------
20637|      0|                return false;        // LCOV_EXCL_LINE
20638|  15.7k|        }
20639|  15.7k|    }
_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|  14.7k|    {
23597|       |        // read in the original format
23598|       |
23599|  14.7k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  14.7k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 14.6k]
  |  |  ------------------
  ------------------
23600|    101|        {
23601|    101|            return false;
23602|    101|        }
23603|  14.6k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 14.4k, False: 202]
  |  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.6k|        return true;
23608|  14.7k|    }
_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|  14.7k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  14.7k|        auto new_chars_read = ia.get_elements(&dest);
23507|  14.7k|        chars_read += new_chars_read;
23508|  14.7k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  14.7k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 303, False: 14.4k]
  |  |  ------------------
  ------------------
23509|    303|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    303|            ++chars_read;
23512|    303|            static_cast<void>(report_eof(context));
23513|    303|            return false;
23514|    303|        }
23515|  14.4k|        return true;
23516|  14.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsItEEmPT_m:
10326|  14.7k|    {
10327|  14.7k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  14.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implItEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  14.7k|    {
10385|  14.7k|        const std::size_t wanted = count * sizeof(T);
10386|  14.7k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  14.7k|        const std::size_t copied = (std::min)(wanted, available);
10388|  14.7k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  14.7k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 14.5k, False: 183]
  |  |  ------------------
  ------------------
10389|  14.5k|        {
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|  14.5k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  14.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 14.5k, False: 0]
  ------------------
10394|  14.5k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  14.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 14.5k, 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|  14.5k|            std::memcpy(dest, &*current, copied);
10398|  14.5k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  14.5k|        }
10400|  14.7k|        return copied;
10401|  14.7k|    }
_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|  16.2k|    {
23556|  16.2k|        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.2k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  32.4k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 16.2k, False: 16.2k]
  ------------------
23572|  16.2k|            {
23573|  16.2k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  16.2k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  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_EEE10get_numberIjLb0EEEbRT_:
23596|  8.26k|    {
23597|       |        // read in the original format
23598|       |
23599|  8.26k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  8.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 8.16k]
  |  |  ------------------
  ------------------
23600|    101|        {
23601|    101|            return false;
23602|    101|        }
23603|  8.16k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 7.96k, False: 202]
  |  Branch (23603:34): [Folded, False: 7.96k]
  |  Branch (23603:57): [True: 0, False: 7.96k]
  ------------------
23604|  7.96k|        {
23605|  7.96k|            byte_swap(result);
23606|  7.96k|        }
23607|  8.16k|        return true;
23608|  8.26k|    }
_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|  8.26k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  8.26k|        auto new_chars_read = ia.get_elements(&dest);
23507|  8.26k|        chars_read += new_chars_read;
23508|  8.26k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  8.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 303, False: 7.96k]
  |  |  ------------------
  ------------------
23509|    303|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    303|            ++chars_read;
23512|    303|            static_cast<void>(report_eof(context));
23513|    303|            return false;
23514|    303|        }
23515|  7.96k|        return true;
23516|  8.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIjEEmPT_m:
10326|  8.26k|    {
10327|  8.26k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  8.26k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIjEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  8.26k|    {
10385|  8.26k|        const std::size_t wanted = count * sizeof(T);
10386|  8.26k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  8.26k|        const std::size_t copied = (std::min)(wanted, available);
10388|  8.26k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  8.26k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 8.11k, False: 156]
  |  |  ------------------
  ------------------
10389|  8.11k|        {
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|  8.11k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  8.11k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 8.11k, False: 0]
  ------------------
10394|  8.11k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  8.11k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 8.11k, 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|  8.11k|            std::memcpy(dest, &*current, copied);
10398|  8.11k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  8.11k|        }
10400|  8.26k|        return copied;
10401|  8.26k|    }
_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|  9.01k|    {
23556|  9.01k|        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|  9.01k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  27.0k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 18.0k, False: 9.01k]
  ------------------
23572|  18.0k|            {
23573|  18.0k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  18.0k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  9.01k|    }
_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|  11.4k|    {
23597|       |        // read in the original format
23598|       |
23599|  11.4k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  11.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 117, False: 11.2k]
  |  |  ------------------
  ------------------
23600|    117|        {
23601|    117|            return false;
23602|    117|        }
23603|  11.2k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 11.0k, False: 234]
  |  Branch (23603:34): [Folded, False: 11.0k]
  |  Branch (23603:57): [True: 0, False: 11.0k]
  ------------------
23604|  11.0k|        {
23605|  11.0k|            byte_swap(result);
23606|  11.0k|        }
23607|  11.2k|        return true;
23608|  11.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_EEE15read_object_keyIXadL_ZNSN_19get_cbor_object_keyERSC_EEEEbSP_:
19268|   121k|    {
19269|   121k|        key.clear();
19270|   121k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 120k, False: 1.82k]
  |  Branch (19270:40): [True: 120k, False: 0]
  ------------------
19271|   121k|    }
_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_EEE19get_cbor_object_keyERSC_:
20384|   121k|    {
20385|       |        // EOF and major type 3 (text string) are left to get_cbor_string
20386|   121k|        if (current == char_traits<char_type>::eof() || (static_cast<unsigned int>(current) & 0xE0u) == 0x60u)
  ------------------
  |  Branch (20386:13): [True: 1.65k, False: 120k]
  |  Branch (20386:57): [True: 120k, False: 135]
  ------------------
20387|   121k|        {
20388|   121k|            return get_cbor_string(result, "key");
20389|   121k|        }
20390|       |
20391|    135|        const char* found = nullptr;
20392|    135|        switch (static_cast<unsigned int>(current) >> 5u)
20393|    135|        {
20394|     36|            case 0:
  ------------------
  |  Branch (20394:13): [True: 36, False: 99]
  ------------------
20395|     36|                found = "an unsigned integer";
20396|     36|                break;
20397|     12|            case 1:
  ------------------
  |  Branch (20397:13): [True: 12, False: 123]
  ------------------
20398|     12|                found = "a negative integer";
20399|     12|                break;
20400|      6|            case 2:
  ------------------
  |  Branch (20400:13): [True: 6, False: 129]
  ------------------
20401|      6|                found = "a byte string";
20402|      6|                break;
20403|      9|            case 4:
  ------------------
  |  Branch (20403:13): [True: 9, False: 126]
  ------------------
20404|      9|                found = "an array";
20405|      9|                break;
20406|     12|            case 5:
  ------------------
  |  Branch (20406:13): [True: 12, False: 123]
  ------------------
20407|     12|                found = "a map";
20408|     12|                break;
20409|     15|            case 6:
  ------------------
  |  Branch (20409:13): [True: 15, False: 120]
  ------------------
20410|     15|                found = "a tag";
20411|     15|                break;
20412|     45|            default: // major type 7
  ------------------
  |  Branch (20412:13): [True: 45, False: 90]
  ------------------
20413|     45|                switch (current)
20414|     45|                {
20415|      0|                    case 0xF4:
  ------------------
  |  Branch (20415:21): [True: 0, False: 45]
  ------------------
20416|      0|                    case 0xF5:
  ------------------
  |  Branch (20416:21): [True: 0, False: 45]
  ------------------
20417|      0|                        found = "a boolean";
20418|      0|                        break;
20419|      0|                    case 0xF6:
  ------------------
  |  Branch (20419:21): [True: 0, False: 45]
  ------------------
20420|      0|                        found = "null";
20421|      0|                        break;
20422|      3|                    case 0xF7:
  ------------------
  |  Branch (20422:21): [True: 3, False: 42]
  ------------------
20423|      3|                        found = "undefined";
20424|      3|                        break;
20425|      0|                    case 0xF9:
  ------------------
  |  Branch (20425:21): [True: 0, False: 45]
  ------------------
20426|      0|                    case 0xFA:
  ------------------
  |  Branch (20426:21): [True: 0, False: 45]
  ------------------
20427|      3|                    case 0xFB:
  ------------------
  |  Branch (20427:21): [True: 3, False: 42]
  ------------------
20428|      3|                        found = "a floating-point number";
20429|      3|                        break;
20430|     12|                    case 0xFF:
  ------------------
  |  Branch (20430:21): [True: 12, False: 33]
  ------------------
20431|     12|                        found = "a break stop code";
20432|     12|                        break;
20433|     27|                    default:
  ------------------
  |  Branch (20433:21): [True: 27, False: 18]
  ------------------
20434|     27|                        found = "a simple value";
20435|     27|                        break;
20436|     45|                }
20437|     45|                break;
20438|    135|        }
20439|       |
20440|    135|        return unsupported_key_type(found);
20441|    135|    }
_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_EEE15get_cbor_stringERSC_PKc:
20267|   180k|    {
20268|       |        // read chunks iteratively, but reject a second indefinite-length
20269|       |        // level as required by RFC 8949, Section 3.2.3
20270|   180k|        bool indefinite = false;
20271|       |
20272|       |        // the chunk currently being validated; only used for the chunks of an
20273|       |        // indefinite-length string when the UTF-8 check can do something
20274|   180k|        string_t chunk;
20275|       |
20276|   189k|        while (true)
  ------------------
  |  Branch (20276:16): [True: 188k, Folded]
  ------------------
20277|   188k|        {
20278|   188k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|   188k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 582, False: 187k]
  |  |  ------------------
  ------------------
20279|    582|            {
20280|    582|                return false;
20281|    582|            }
20282|       |
20283|   187k|            if (current == 0x7F) // UTF-8 string (indefinite length)
  ------------------
  |  Branch (20283:17): [True: 2.34k, False: 185k]
  ------------------
20284|  2.34k|            {
20285|  2.34k|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|  2.34k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3, False: 2.34k]
  |  |  ------------------
  ------------------
20286|      3|                {
20287|      3|                    return cbor_indefinite_string_error("string", "string");
20288|      3|                }
20289|  2.34k|                indefinite = true;
20290|  2.34k|                get();
20291|  2.34k|                continue;
20292|  2.34k|            }
20293|       |
20294|       |            // a break marker closes the indefinite-length string; outside
20295|       |            // of one it falls through to the error below. Every chunk has
20296|       |            // been checked on its own, so there is nothing left to check.
20297|   185k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20297:17): [True: 8.33k, False: 177k]
  |  Branch (20297:31): [True: 2.06k, False: 6.27k]
  ------------------
20298|  2.06k|            {
20299|  2.06k|                return true;
20300|  2.06k|            }
20301|       |
20302|   183k|            if (!indefinite)
  ------------------
  |  Branch (20302:17): [True: 176k, False: 7.43k]
  ------------------
20303|   176k|            {
20304|   176k|                return get_cbor_string_chunk(result, false) && check_string_utf8(result, context);
  ------------------
  |  Branch (20304:24): [True: 174k, False: 1.83k]
  |  Branch (20304:64): [True: 174k, False: 0]
  ------------------
20305|   176k|            }
20306|       |
20307|  7.43k|            if (error_handler == error_handler_t::keep)
  ------------------
  |  Branch (20307:17): [True: 6.27k, False: 1.16k]
  ------------------
20308|  6.27k|            {
20309|       |                // nothing to check: read the chunk directly into the result
20310|  6.27k|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(result, true)))
  ------------------
  |  | 1697|  6.27k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 60, False: 6.21k]
  |  |  ------------------
  ------------------
20311|     60|                {
20312|     60|                    return false;
20313|     60|                }
20314|  6.27k|            }
20315|  1.16k|            else
20316|  1.16k|            {
20317|       |                // RFC 8949, Section 3.2.3: each chunk is a text string of its
20318|       |                // own and must be valid UTF-8 by itself, i.e., a code point
20319|       |                // cannot be spread over two chunks
20320|  1.16k|                chunk.clear();
20321|  1.16k|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(chunk, true) || !check_string_utf8(chunk, context)))
  ------------------
  |  | 1697|  1.16k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.16k]
  |  |  |  Branch (1697:94): [True: 1.16k, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20322|      0|                {
20323|      0|                    return false;
20324|      0|                }
20325|  1.16k|                result.append(chunk.data(), chunk.size());
20326|  1.16k|            }
20327|       |
20328|  7.37k|            get();
20329|  7.37k|        }
20330|   180k|    }
_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_EEE28cbor_indefinite_string_errorEPKcSP_:
20148|      9|    {
20149|      9|        return last_byte_error(exception_id::invalid_string_or_size, concat("indefinite-length ", type_name, " is not allowed inside indefinite-length ", type_name, "; last byte: 0x", get_token_string()), context);
20150|      9|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA19_KcRPSA_RA42_SA_SE_RA16_SA_S9_EEET_DpOT0_:
 5537|     18|{
 5538|     18|    OutStringType str;
 5539|     18|    str.reserve(concat_length(args...));
 5540|     18|    concat_into(str, std::forward<Args>(args)...);
 5541|     18|    return str;
 5542|     18|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJPKcA42_cS4_A16_cNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEEEEmS4_DpRKT_:
 5441|     18|{
 5442|     18|    return ::strlen(cstr) + concat_length(rest...);
 5443|     18|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA42_cPKcA16_cNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEEEEmS5_DpRKT_:
 5441|     18|{
 5442|     18|    return ::strlen(cstr) + concat_length(rest...);
 5443|     18|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJPKcA16_cNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEEEEmS4_DpRKT_:
 5441|     18|{
 5442|     18|    return ::strlen(cstr) + concat_length(rest...);
 5443|     18|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA16_cNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|  1.42k|{
 5442|  1.42k|    return ::strlen(cstr) + concat_length(rest...);
 5443|  1.42k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA19_KcJRPSA_RA42_SA_SE_RA16_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSK_OSL_DpOT1_:
 5500|     18|{
 5501|     18|    out.append(std::forward<Arg>(arg));
 5502|     18|    concat_into(out, std::forward<Args>(rest)...);
 5503|     18|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA42_SA_SC_RA16_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|     18|{
 5501|     18|    out.append(std::forward<Arg>(arg));
 5502|     18|    concat_into(out, std::forward<Args>(rest)...);
 5503|     18|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA42_KcJRPSA_RA16_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 5500|     18|{
 5501|     18|    out.append(std::forward<Arg>(arg));
 5502|     18|    concat_into(out, std::forward<Args>(rest)...);
 5503|     18|}
_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.42k|{
 5501|  1.42k|    out.append(std::forward<Arg>(arg));
 5502|  1.42k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.42k|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA16_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 5500|  1.42k|{
 5501|  1.42k|    out.append(std::forward<Arg>(arg));
 5502|  1.42k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.42k|}
_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_EEE21get_cbor_string_chunkERSC_b:
20196|   182k|    {
20197|   182k|        switch (current)
20198|   182k|        {
20199|       |            // UTF-8 string (0x00..0x17 bytes follow)
20200|   108k|            case 0x60:
  ------------------
  |  Branch (20200:13): [True: 108k, False: 74.1k]
  ------------------
20201|   147k|            case 0x61:
  ------------------
  |  Branch (20201:13): [True: 39.8k, False: 142k]
  ------------------
20202|   151k|            case 0x62:
  ------------------
  |  Branch (20202:13): [True: 3.69k, False: 178k]
  ------------------
20203|   153k|            case 0x63:
  ------------------
  |  Branch (20203:13): [True: 1.53k, False: 180k]
  ------------------
20204|   156k|            case 0x64:
  ------------------
  |  Branch (20204:13): [True: 2.88k, False: 179k]
  ------------------
20205|   157k|            case 0x65:
  ------------------
  |  Branch (20205:13): [True: 1.60k, False: 180k]
  ------------------
20206|   158k|            case 0x66:
  ------------------
  |  Branch (20206:13): [True: 1.23k, False: 181k]
  ------------------
20207|   159k|            case 0x67:
  ------------------
  |  Branch (20207:13): [True: 957, False: 181k]
  ------------------
20208|   161k|            case 0x68:
  ------------------
  |  Branch (20208:13): [True: 1.93k, False: 180k]
  ------------------
20209|   162k|            case 0x69:
  ------------------
  |  Branch (20209:13): [True: 833, False: 181k]
  ------------------
20210|   163k|            case 0x6A:
  ------------------
  |  Branch (20210:13): [True: 603, False: 181k]
  ------------------
20211|   163k|            case 0x6B:
  ------------------
  |  Branch (20211:13): [True: 505, False: 181k]
  ------------------
20212|   164k|            case 0x6C:
  ------------------
  |  Branch (20212:13): [True: 677, False: 181k]
  ------------------
20213|   165k|            case 0x6D:
  ------------------
  |  Branch (20213:13): [True: 618, False: 181k]
  ------------------
20214|   165k|            case 0x6E:
  ------------------
  |  Branch (20214:13): [True: 404, False: 181k]
  ------------------
20215|   165k|            case 0x6F:
  ------------------
  |  Branch (20215:13): [True: 401, False: 181k]
  ------------------
20216|   167k|            case 0x70:
  ------------------
  |  Branch (20216:13): [True: 1.19k, False: 181k]
  ------------------
20217|   167k|            case 0x71:
  ------------------
  |  Branch (20217:13): [True: 323, False: 181k]
  ------------------
20218|   167k|            case 0x72:
  ------------------
  |  Branch (20218:13): [True: 331, False: 181k]
  ------------------
20219|   167k|            case 0x73:
  ------------------
  |  Branch (20219:13): [True: 215, False: 182k]
  ------------------
20220|   168k|            case 0x74:
  ------------------
  |  Branch (20220:13): [True: 698, False: 181k]
  ------------------
20221|   168k|            case 0x75:
  ------------------
  |  Branch (20221:13): [True: 205, False: 182k]
  ------------------
20222|   169k|            case 0x76:
  ------------------
  |  Branch (20222:13): [True: 342, False: 181k]
  ------------------
20223|   170k|            case 0x77:
  ------------------
  |  Branch (20223:13): [True: 1.08k, False: 181k]
  ------------------
20224|   170k|            {
20225|   170k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result);
20226|   169k|            }
20227|       |
20228|  4.84k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20228:13): [True: 4.84k, False: 177k]
  ------------------
20229|  4.84k|            {
20230|  4.84k|                return get_cbor_sized_bytes<std::uint8_t>("string", result);
20231|   169k|            }
20232|       |
20233|  3.55k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20233:13): [True: 3.55k, False: 178k]
  ------------------
20234|  3.55k|            {
20235|  3.55k|                return get_cbor_sized_bytes<std::uint16_t>("string", result);
20236|   169k|            }
20237|       |
20238|  1.17k|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20238:13): [True: 1.17k, False: 181k]
  ------------------
20239|  1.17k|            {
20240|  1.17k|                return get_cbor_sized_bytes<std::uint32_t>("string", result);
20241|   169k|            }
20242|       |
20243|  2.40k|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20243:13): [True: 2.40k, False: 179k]
  ------------------
20244|  2.40k|            {
20245|  2.40k|                return get_cbor_sized_bytes<std::uint64_t>("string", result);
20246|   169k|            }
20247|       |
20248|     48|            default:
  ------------------
  |  Branch (20248:13): [True: 48, False: 182k]
  ------------------
20249|     48|            {
20250|     48|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x60-0x7B)", "string", inside_indefinite ? "" : " or indefinite string type (0x7F)");
  ------------------
  |  Branch (20250:133): [True: 42, False: 6]
  ------------------
20251|   169k|            }
20252|   182k|        }
20253|   182k|    }
_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|   170k|    {
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|   170k|        return get_bytes(len, "string", result);
23778|   170k|    }
_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|   171k|    {
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|   171k|        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|   171k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 61.6k, False: 109k]
  ------------------
23898|  61.6k|        {
23899|  61.6k|            return true;
23900|  61.6k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|   109k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|   109k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 834, False: 108k]
  ------------------
23906|    834|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    834|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 702, False: 132]
  ------------------
23910|    834|                                       ? static_cast<std::size_t>(len)
23911|    834|                                       : chunk_size;
23912|    834|            const std::size_t old_size = result.size();
23913|    834|            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|    834|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    834|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 834, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    834|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    834|            chars_read += bytes_read;
23921|    834|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    834|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 834, False: 0]
  |  |  ------------------
  ------------------
23922|    834|            {
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|    834|                result.resize(old_size + bytes_read);
23927|    834|                ++chars_read;
23928|    834|                current = char_traits<char_type>::eof();
23929|    834|                return unexpect_eof(context);
23930|    834|            }
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|   108k|        return true;
23936|   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_EEE17append_from_blockIjEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|   171k|    {
23943|   171k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 108k, False: 62.4k]
  ------------------
23944|   108k|        {
23945|   108k|            return false;
23946|   108k|        }
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|  62.4k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  62.4k|        const std::size_t remaining = ia.bulk_remaining();
23951|  62.4k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 834, False: 61.6k]
  ------------------
23952|    834|        {
23953|    834|            return false; // (the loop reports the premature end)
23954|    834|        }
23955|  61.6k|        const auto n = static_cast<std::size_t>(ulen);
23956|  61.6k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  61.6k|        ia.bulk_skip(n);
23958|  61.6k|        chars_read += n;
23959|  61.6k|        return true;
23960|  62.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_EEE20get_cbor_sized_bytesIhSC_EEbPKcRT0_:
20175|  4.84k|    {
20176|  4.84k|        NumberType len{};
20177|  4.84k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 4.81k, False: 27]
  |  Branch (20177:35): [True: 4.70k, False: 108]
  ------------------
20178|  4.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_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  4.81k|    {
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|  4.81k|        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|  4.81k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 2.66k, False: 2.15k]
  ------------------
23898|  2.66k|        {
23899|  2.66k|            return true;
23900|  2.66k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.15k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  2.15k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 108, False: 2.04k]
  ------------------
23906|    108|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    108|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 108, False: 0]
  ------------------
23910|    108|                                       ? static_cast<std::size_t>(len)
23911|    108|                                       : chunk_size;
23912|    108|            const std::size_t old_size = result.size();
23913|    108|            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|    108|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    108|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 108, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    108|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    108|            chars_read += bytes_read;
23921|    108|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    108|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 108, False: 0]
  |  |  ------------------
  ------------------
23922|    108|            {
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|    108|                result.resize(old_size + bytes_read);
23927|    108|                ++chars_read;
23928|    108|                current = char_traits<char_type>::eof();
23929|    108|                return unexpect_eof(context);
23930|    108|            }
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|  2.04k|        return true;
23936|  2.15k|    }
_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|  4.81k|    {
23943|  4.81k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 2.04k, False: 2.77k]
  ------------------
23944|  2.04k|        {
23945|  2.04k|            return false;
23946|  2.04k|        }
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.77k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  2.77k|        const std::size_t remaining = ia.bulk_remaining();
23951|  2.77k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 108, False: 2.66k]
  ------------------
23952|    108|        {
23953|    108|            return false; // (the loop reports the premature end)
23954|    108|        }
23955|  2.66k|        const auto n = static_cast<std::size_t>(ulen);
23956|  2.66k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  2.66k|        ia.bulk_skip(n);
23958|  2.66k|        chars_read += n;
23959|  2.66k|        return true;
23960|  2.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_EEE20get_cbor_sized_bytesItSC_EEbPKcRT0_:
20175|  3.55k|    {
20176|  3.55k|        NumberType len{};
20177|  3.55k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 3.49k, False: 60]
  |  Branch (20177:35): [True: 3.26k, False: 231]
  ------------------
20178|  3.55k|    }
_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|  3.49k|    {
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.49k|        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|  3.49k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 1.33k, False: 2.16k]
  ------------------
23898|  1.33k|        {
23899|  1.33k|            return true;
23900|  1.33k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.16k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  2.16k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 231, False: 1.92k]
  ------------------
23906|    231|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    231|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 168, False: 63]
  ------------------
23910|    231|                                       ? static_cast<std::size_t>(len)
23911|    231|                                       : chunk_size;
23912|    231|            const std::size_t old_size = result.size();
23913|    231|            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|    231|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    231|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 231, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    231|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    231|            chars_read += bytes_read;
23921|    231|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    231|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 231, False: 0]
  |  |  ------------------
  ------------------
23922|    231|            {
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|    231|                result.resize(old_size + bytes_read);
23927|    231|                ++chars_read;
23928|    231|                current = char_traits<char_type>::eof();
23929|    231|                return unexpect_eof(context);
23930|    231|            }
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.92k|        return true;
23936|  2.16k|    }
_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|  3.49k|    {
23943|  3.49k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 1.92k, False: 1.56k]
  ------------------
23944|  1.92k|        {
23945|  1.92k|            return false;
23946|  1.92k|        }
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.56k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  1.56k|        const std::size_t remaining = ia.bulk_remaining();
23951|  1.56k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 231, False: 1.33k]
  ------------------
23952|    231|        {
23953|    231|            return false; // (the loop reports the premature end)
23954|    231|        }
23955|  1.33k|        const auto n = static_cast<std::size_t>(ulen);
23956|  1.33k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  1.33k|        ia.bulk_skip(n);
23958|  1.33k|        chars_read += n;
23959|  1.33k|        return true;
23960|  1.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_EEE20get_cbor_sized_bytesIjSC_EEbPKcRT0_:
20175|  1.17k|    {
20176|  1.17k|        NumberType len{};
20177|  1.17k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.12k, False: 51]
  |  Branch (20177:35): [True: 894, False: 228]
  ------------------
20178|  1.17k|    }
_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_EEE20get_cbor_sized_bytesImSC_EEbPKcRT0_:
20175|  2.40k|    {
20176|  2.40k|        NumberType len{};
20177|  2.40k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 2.34k, False: 63]
  |  Branch (20177:35): [True: 1.75k, False: 588]
  ------------------
20178|  2.40k|    }
_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_bytesImSC_EEbT_PKcRT0_:
23893|  2.34k|    {
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.34k|        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.34k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 843, False: 1.49k]
  ------------------
23898|    843|        {
23899|    843|            return true;
23900|    843|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.49k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.49k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 588, False: 909]
  ------------------
23906|    588|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    588|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 123, False: 465]
  ------------------
23910|    588|                                       ? static_cast<std::size_t>(len)
23911|    588|                                       : chunk_size;
23912|    588|            const std::size_t old_size = result.size();
23913|    588|            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|    588|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    588|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 588, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    588|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    588|            chars_read += bytes_read;
23921|    588|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    588|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 588, False: 0]
  |  |  ------------------
  ------------------
23922|    588|            {
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|    588|                result.resize(old_size + bytes_read);
23927|    588|                ++chars_read;
23928|    588|                current = char_traits<char_type>::eof();
23929|    588|                return unexpect_eof(context);
23930|    588|            }
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|    909|        return true;
23936|  1.49k|    }
_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_blockImEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|  2.34k|    {
23943|  2.34k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 909, False: 1.43k]
  ------------------
23944|    909|        {
23945|    909|            return false;
23946|    909|        }
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.43k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  1.43k|        const std::size_t remaining = ia.bulk_remaining();
23951|  1.43k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 588, False: 843]
  ------------------
23952|    588|        {
23953|    588|            return false; // (the loop reports the premature end)
23954|    588|        }
23955|    843|        const auto n = static_cast<std::size_t>(ulen);
23956|    843|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    843|        ia.bulk_skip(n);
23958|    843|        chars_read += n;
23959|    843|        return true;
23960|  1.43k|    }
_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|    135|    {
20160|    135|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|    135|    }
_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_EEE16parse_cbor_valueEbNS1_18cbor_tag_handler_tERbSP_:
19762|   892k|    {
19763|   892k|        tag_pending = false;
19764|   892k|        item_read = false;
19765|       |
19766|   892k|        switch (get_char ? get() : current)
  ------------------
  |  Branch (19766:17): [True: 628k, False: 264k]
  ------------------
19767|   892k|        {
19768|       |            // EOF
19769|  5.47k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (19769:13): [True: 5.47k, False: 887k]
  ------------------
19770|  5.47k|                return unexpect_eof("value");
19771|       |
19772|       |            // Integer 0x00..0x17 (0..23)
19773|  36.0k|            case 0x00:
  ------------------
  |  Branch (19773:13): [True: 36.0k, False: 856k]
  ------------------
19774|  39.3k|            case 0x01:
  ------------------
  |  Branch (19774:13): [True: 3.38k, False: 889k]
  ------------------
19775|  41.1k|            case 0x02:
  ------------------
  |  Branch (19775:13): [True: 1.73k, False: 890k]
  ------------------
19776|  42.4k|            case 0x03:
  ------------------
  |  Branch (19776:13): [True: 1.30k, False: 891k]
  ------------------
19777|  43.9k|            case 0x04:
  ------------------
  |  Branch (19777:13): [True: 1.56k, False: 891k]
  ------------------
19778|  45.7k|            case 0x05:
  ------------------
  |  Branch (19778:13): [True: 1.74k, False: 890k]
  ------------------
19779|  47.5k|            case 0x06:
  ------------------
  |  Branch (19779:13): [True: 1.79k, False: 890k]
  ------------------
19780|  49.3k|            case 0x07:
  ------------------
  |  Branch (19780:13): [True: 1.80k, False: 890k]
  ------------------
19781|  51.2k|            case 0x08:
  ------------------
  |  Branch (19781:13): [True: 1.87k, False: 890k]
  ------------------
19782|  52.5k|            case 0x09:
  ------------------
  |  Branch (19782:13): [True: 1.30k, False: 891k]
  ------------------
19783|  54.3k|            case 0x0A:
  ------------------
  |  Branch (19783:13): [True: 1.82k, False: 890k]
  ------------------
19784|  55.5k|            case 0x0B:
  ------------------
  |  Branch (19784:13): [True: 1.22k, False: 891k]
  ------------------
19785|  57.6k|            case 0x0C:
  ------------------
  |  Branch (19785:13): [True: 2.08k, False: 890k]
  ------------------
19786|  59.4k|            case 0x0D:
  ------------------
  |  Branch (19786:13): [True: 1.77k, False: 890k]
  ------------------
19787|  60.5k|            case 0x0E:
  ------------------
  |  Branch (19787:13): [True: 1.12k, False: 891k]
  ------------------
19788|  61.8k|            case 0x0F:
  ------------------
  |  Branch (19788:13): [True: 1.30k, False: 891k]
  ------------------
19789|  63.9k|            case 0x10:
  ------------------
  |  Branch (19789:13): [True: 2.05k, False: 890k]
  ------------------
19790|  65.4k|            case 0x11:
  ------------------
  |  Branch (19790:13): [True: 1.56k, False: 891k]
  ------------------
19791|  66.6k|            case 0x12:
  ------------------
  |  Branch (19791:13): [True: 1.15k, False: 891k]
  ------------------
19792|  67.4k|            case 0x13:
  ------------------
  |  Branch (19792:13): [True: 817, False: 891k]
  ------------------
19793|  69.8k|            case 0x14:
  ------------------
  |  Branch (19793:13): [True: 2.41k, False: 890k]
  ------------------
19794|  70.9k|            case 0x15:
  ------------------
  |  Branch (19794:13): [True: 1.15k, False: 891k]
  ------------------
19795|  72.7k|            case 0x16:
  ------------------
  |  Branch (19795:13): [True: 1.78k, False: 890k]
  ------------------
19796|  73.6k|            case 0x17:
  ------------------
  |  Branch (19796:13): [True: 897, False: 891k]
  ------------------
19797|  73.6k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
19798|       |
19799|  1.27k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19799:13): [True: 1.27k, False: 891k]
  ------------------
19800|  1.27k|            {
19801|  1.27k|                std::uint8_t number{};
19802|  1.27k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19802:24): [True: 1.26k, False: 15]
  |  Branch (19802:46): [True: 1.26k, False: 0]
  ------------------
19803|  72.7k|            }
19804|       |
19805|  1.28k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (19805:13): [True: 1.28k, False: 891k]
  ------------------
19806|  1.28k|            {
19807|  1.28k|                std::uint16_t number{};
19808|  1.28k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19808:24): [True: 1.24k, False: 45]
  |  Branch (19808:46): [True: 1.24k, False: 0]
  ------------------
19809|  72.7k|            }
19810|       |
19811|  1.29k|            case 0x1A: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (19811:13): [True: 1.29k, False: 891k]
  ------------------
19812|  1.29k|            {
19813|  1.29k|                std::uint32_t number{};
19814|  1.29k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19814:24): [True: 1.23k, False: 54]
  |  Branch (19814:46): [True: 1.23k, False: 0]
  ------------------
19815|  72.7k|            }
19816|       |
19817|  2.26k|            case 0x1B: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (19817:13): [True: 2.26k, False: 890k]
  ------------------
19818|  2.26k|            {
19819|  2.26k|                std::uint64_t number{};
19820|  2.26k|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19820:24): [True: 2.20k, False: 57]
  |  Branch (19820:46): [True: 2.20k, False: 0]
  ------------------
19821|  72.7k|            }
19822|       |
19823|       |            // Negative integer -1-0x00..-1-0x17 (-1..-24)
19824|  2.86k|            case 0x20:
  ------------------
  |  Branch (19824:13): [True: 2.86k, False: 889k]
  ------------------
19825|  5.75k|            case 0x21:
  ------------------
  |  Branch (19825:13): [True: 2.89k, False: 889k]
  ------------------
19826|  10.0k|            case 0x22:
  ------------------
  |  Branch (19826:13): [True: 4.32k, False: 888k]
  ------------------
19827|  12.3k|            case 0x23:
  ------------------
  |  Branch (19827:13): [True: 2.29k, False: 890k]
  ------------------
19828|  13.7k|            case 0x24:
  ------------------
  |  Branch (19828:13): [True: 1.42k, False: 891k]
  ------------------
19829|  16.4k|            case 0x25:
  ------------------
  |  Branch (19829:13): [True: 2.63k, False: 889k]
  ------------------
19830|  18.3k|            case 0x26:
  ------------------
  |  Branch (19830:13): [True: 1.88k, False: 890k]
  ------------------
19831|  22.1k|            case 0x27:
  ------------------
  |  Branch (19831:13): [True: 3.88k, False: 888k]
  ------------------
19832|  23.8k|            case 0x28:
  ------------------
  |  Branch (19832:13): [True: 1.67k, False: 890k]
  ------------------
19833|  26.4k|            case 0x29:
  ------------------
  |  Branch (19833:13): [True: 2.53k, False: 890k]
  ------------------
19834|  28.2k|            case 0x2A:
  ------------------
  |  Branch (19834:13): [True: 1.88k, False: 890k]
  ------------------
19835|  30.7k|            case 0x2B:
  ------------------
  |  Branch (19835:13): [True: 2.48k, False: 890k]
  ------------------
19836|  32.3k|            case 0x2C:
  ------------------
  |  Branch (19836:13): [True: 1.56k, False: 891k]
  ------------------
19837|  34.8k|            case 0x2D:
  ------------------
  |  Branch (19837:13): [True: 2.49k, False: 890k]
  ------------------
19838|  36.3k|            case 0x2E:
  ------------------
  |  Branch (19838:13): [True: 1.49k, False: 891k]
  ------------------
19839|  39.2k|            case 0x2F:
  ------------------
  |  Branch (19839:13): [True: 2.88k, False: 889k]
  ------------------
19840|  41.8k|            case 0x30:
  ------------------
  |  Branch (19840:13): [True: 2.62k, False: 889k]
  ------------------
19841|  44.0k|            case 0x31:
  ------------------
  |  Branch (19841:13): [True: 2.25k, False: 890k]
  ------------------
19842|  46.0k|            case 0x32:
  ------------------
  |  Branch (19842:13): [True: 1.92k, False: 890k]
  ------------------
19843|  47.4k|            case 0x33:
  ------------------
  |  Branch (19843:13): [True: 1.40k, False: 891k]
  ------------------
19844|  49.4k|            case 0x34:
  ------------------
  |  Branch (19844:13): [True: 1.98k, False: 890k]
  ------------------
19845|  50.8k|            case 0x35:
  ------------------
  |  Branch (19845:13): [True: 1.46k, False: 891k]
  ------------------
19846|  52.3k|            case 0x36:
  ------------------
  |  Branch (19846:13): [True: 1.47k, False: 891k]
  ------------------
19847|  53.4k|            case 0x37:
  ------------------
  |  Branch (19847:13): [True: 1.09k, False: 891k]
  ------------------
19848|  53.4k|                return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current));
19849|       |
19850|  1.28k|            case 0x38: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19850:13): [True: 1.28k, False: 891k]
  ------------------
19851|  1.28k|                return get_cbor_negative_integer<std::uint8_t>();
19852|       |
19853|  1.22k|            case 0x39: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (19853:13): [True: 1.22k, False: 891k]
  ------------------
19854|  1.22k|                return get_cbor_negative_integer<std::uint16_t>();
19855|       |
19856|  1.71k|            case 0x3A: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (19856:13): [True: 1.71k, False: 890k]
  ------------------
19857|  1.71k|                return get_cbor_negative_integer<std::uint32_t>();
19858|       |
19859|  2.49k|            case 0x3B: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (19859:13): [True: 2.49k, False: 890k]
  ------------------
19860|  2.49k|                return get_cbor_negative_integer<std::uint64_t>();
19861|       |
19862|       |            // Binary data (0x00..0x17 bytes follow)
19863|  88.7k|            case 0x40:
  ------------------
  |  Branch (19863:13): [True: 88.7k, False: 803k]
  ------------------
19864|  93.3k|            case 0x41:
  ------------------
  |  Branch (19864:13): [True: 4.60k, False: 887k]
  ------------------
19865|  94.6k|            case 0x42:
  ------------------
  |  Branch (19865:13): [True: 1.34k, False: 891k]
  ------------------
19866|  95.1k|            case 0x43:
  ------------------
  |  Branch (19866:13): [True: 429, False: 892k]
  ------------------
19867|  95.9k|            case 0x44:
  ------------------
  |  Branch (19867:13): [True: 882, False: 891k]
  ------------------
19868|  96.4k|            case 0x45:
  ------------------
  |  Branch (19868:13): [True: 419, False: 892k]
  ------------------
19869|  96.8k|            case 0x46:
  ------------------
  |  Branch (19869:13): [True: 423, False: 892k]
  ------------------
19870|  97.4k|            case 0x47:
  ------------------
  |  Branch (19870:13): [True: 665, False: 891k]
  ------------------
19871|  98.0k|            case 0x48:
  ------------------
  |  Branch (19871:13): [True: 506, False: 892k]
  ------------------
19872|  98.4k|            case 0x49:
  ------------------
  |  Branch (19872:13): [True: 404, False: 892k]
  ------------------
19873|  98.8k|            case 0x4A:
  ------------------
  |  Branch (19873:13): [True: 407, False: 892k]
  ------------------
19874|  99.2k|            case 0x4B:
  ------------------
  |  Branch (19874:13): [True: 436, False: 892k]
  ------------------
19875|  99.6k|            case 0x4C:
  ------------------
  |  Branch (19875:13): [True: 423, False: 892k]
  ------------------
19876|   100k|            case 0x4D:
  ------------------
  |  Branch (19876:13): [True: 396, False: 892k]
  ------------------
19877|   100k|            case 0x4E:
  ------------------
  |  Branch (19877:13): [True: 163, False: 892k]
  ------------------
19878|   100k|            case 0x4F:
  ------------------
  |  Branch (19878:13): [True: 167, False: 892k]
  ------------------
19879|   100k|            case 0x50:
  ------------------
  |  Branch (19879:13): [True: 343, False: 892k]
  ------------------
19880|   100k|            case 0x51:
  ------------------
  |  Branch (19880:13): [True: 177, False: 892k]
  ------------------
19881|   101k|            case 0x52:
  ------------------
  |  Branch (19881:13): [True: 168, False: 892k]
  ------------------
19882|   101k|            case 0x53:
  ------------------
  |  Branch (19882:13): [True: 183, False: 892k]
  ------------------
19883|   101k|            case 0x54:
  ------------------
  |  Branch (19883:13): [True: 160, False: 892k]
  ------------------
19884|   101k|            case 0x55:
  ------------------
  |  Branch (19884:13): [True: 176, False: 892k]
  ------------------
19885|   101k|            case 0x56:
  ------------------
  |  Branch (19885:13): [True: 161, False: 892k]
  ------------------
19886|   101k|            case 0x57:
  ------------------
  |  Branch (19886:13): [True: 190, False: 892k]
  ------------------
19887|   104k|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19887:13): [True: 2.78k, False: 889k]
  ------------------
19888|   107k|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19888:13): [True: 2.35k, False: 890k]
  ------------------
19889|   108k|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19889:13): [True: 1.30k, False: 891k]
  ------------------
19890|   110k|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19890:13): [True: 1.94k, False: 890k]
  ------------------
19891|   113k|            case 0x5F: // Binary data (indefinite length)
  ------------------
  |  Branch (19891:13): [True: 3.07k, False: 889k]
  ------------------
19892|   113k|            {
19893|   113k|                binary_t b;
19894|   113k|                return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (19894:24): [True: 111k, False: 1.86k]
  |  Branch (19894:46): [True: 111k, False: 0]
  ------------------
19895|   110k|            }
19896|       |
19897|       |            // UTF-8 string (0x00..0x17 bytes follow)
19898|  23.5k|            case 0x60:
  ------------------
  |  Branch (19898:13): [True: 23.5k, False: 869k]
  ------------------
19899|  27.5k|            case 0x61:
  ------------------
  |  Branch (19899:13): [True: 3.90k, False: 888k]
  ------------------
19900|  29.8k|            case 0x62:
  ------------------
  |  Branch (19900:13): [True: 2.37k, False: 890k]
  ------------------
19901|  31.2k|            case 0x63:
  ------------------
  |  Branch (19901:13): [True: 1.37k, False: 891k]
  ------------------
19902|  33.3k|            case 0x64:
  ------------------
  |  Branch (19902:13): [True: 2.14k, False: 890k]
  ------------------
19903|  34.9k|            case 0x65:
  ------------------
  |  Branch (19903:13): [True: 1.57k, False: 891k]
  ------------------
19904|  36.0k|            case 0x66:
  ------------------
  |  Branch (19904:13): [True: 1.12k, False: 891k]
  ------------------
19905|  37.0k|            case 0x67:
  ------------------
  |  Branch (19905:13): [True: 940, False: 891k]
  ------------------
19906|  38.4k|            case 0x68:
  ------------------
  |  Branch (19906:13): [True: 1.43k, False: 891k]
  ------------------
19907|  39.2k|            case 0x69:
  ------------------
  |  Branch (19907:13): [True: 734, False: 891k]
  ------------------
19908|  39.7k|            case 0x6A:
  ------------------
  |  Branch (19908:13): [True: 594, False: 892k]
  ------------------
19909|  40.2k|            case 0x6B:
  ------------------
  |  Branch (19909:13): [True: 499, False: 892k]
  ------------------
19910|  40.9k|            case 0x6C:
  ------------------
  |  Branch (19910:13): [True: 626, False: 891k]
  ------------------
19911|  41.4k|            case 0x6D:
  ------------------
  |  Branch (19911:13): [True: 561, False: 892k]
  ------------------
19912|  41.7k|            case 0x6E:
  ------------------
  |  Branch (19912:13): [True: 307, False: 892k]
  ------------------
19913|  42.1k|            case 0x6F:
  ------------------
  |  Branch (19913:13): [True: 354, False: 892k]
  ------------------
19914|  43.1k|            case 0x70:
  ------------------
  |  Branch (19914:13): [True: 989, False: 891k]
  ------------------
19915|  43.4k|            case 0x71:
  ------------------
  |  Branch (19915:13): [True: 302, False: 892k]
  ------------------
19916|  43.7k|            case 0x72:
  ------------------
  |  Branch (19916:13): [True: 319, False: 892k]
  ------------------
19917|  43.9k|            case 0x73:
  ------------------
  |  Branch (19917:13): [True: 193, False: 892k]
  ------------------
19918|  44.6k|            case 0x74:
  ------------------
  |  Branch (19918:13): [True: 688, False: 891k]
  ------------------
19919|  44.8k|            case 0x75:
  ------------------
  |  Branch (19919:13): [True: 195, False: 892k]
  ------------------
19920|  45.1k|            case 0x76:
  ------------------
  |  Branch (19920:13): [True: 296, False: 892k]
  ------------------
19921|  45.5k|            case 0x77:
  ------------------
  |  Branch (19921:13): [True: 441, False: 892k]
  ------------------
19922|  49.6k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19922:13): [True: 4.07k, False: 888k]
  ------------------
19923|  52.7k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19923:13): [True: 3.14k, False: 889k]
  ------------------
19924|  53.9k|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19924:13): [True: 1.17k, False: 891k]
  ------------------
19925|  55.9k|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19925:13): [True: 2.00k, False: 890k]
  ------------------
19926|  58.2k|            case 0x7F: // UTF-8 string (indefinite length)
  ------------------
  |  Branch (19926:13): [True: 2.33k, False: 890k]
  ------------------
19927|  58.2k|            {
19928|  58.2k|                string_t s;
19929|  58.2k|                return get_cbor_string(s) && sax->string(s);
  ------------------
  |  Branch (19929:24): [True: 56.2k, False: 2.07k]
  |  Branch (19929:46): [True: 56.2k, False: 0]
  ------------------
19930|  55.9k|            }
19931|       |
19932|       |            // array (0x00..0x17 data items follow)
19933|  16.2k|            case 0x80:
  ------------------
  |  Branch (19933:13): [True: 16.2k, False: 876k]
  ------------------
19934|   364k|            case 0x81:
  ------------------
  |  Branch (19934:13): [True: 348k, False: 544k]
  ------------------
19935|   370k|            case 0x82:
  ------------------
  |  Branch (19935:13): [True: 5.82k, False: 886k]
  ------------------
19936|   372k|            case 0x83:
  ------------------
  |  Branch (19936:13): [True: 1.74k, False: 890k]
  ------------------
19937|   374k|            case 0x84:
  ------------------
  |  Branch (19937:13): [True: 1.85k, False: 890k]
  ------------------
19938|   375k|            case 0x85:
  ------------------
  |  Branch (19938:13): [True: 1.15k, False: 891k]
  ------------------
19939|   377k|            case 0x86:
  ------------------
  |  Branch (19939:13): [True: 1.98k, False: 890k]
  ------------------
19940|   379k|            case 0x87:
  ------------------
  |  Branch (19940:13): [True: 2.36k, False: 890k]
  ------------------
19941|   381k|            case 0x88:
  ------------------
  |  Branch (19941:13): [True: 1.39k, False: 891k]
  ------------------
19942|   382k|            case 0x89:
  ------------------
  |  Branch (19942:13): [True: 1.38k, False: 891k]
  ------------------
19943|   383k|            case 0x8A:
  ------------------
  |  Branch (19943:13): [True: 1.45k, False: 891k]
  ------------------
19944|   385k|            case 0x8B:
  ------------------
  |  Branch (19944:13): [True: 1.31k, False: 891k]
  ------------------
19945|   386k|            case 0x8C:
  ------------------
  |  Branch (19945:13): [True: 1.44k, False: 891k]
  ------------------
19946|   387k|            case 0x8D:
  ------------------
  |  Branch (19946:13): [True: 1.04k, False: 891k]
  ------------------
19947|   388k|            case 0x8E:
  ------------------
  |  Branch (19947:13): [True: 1.30k, False: 891k]
  ------------------
19948|   390k|            case 0x8F:
  ------------------
  |  Branch (19948:13): [True: 1.57k, False: 891k]
  ------------------
19949|   392k|            case 0x90:
  ------------------
  |  Branch (19949:13): [True: 1.77k, False: 890k]
  ------------------
19950|   393k|            case 0x91:
  ------------------
  |  Branch (19950:13): [True: 1.46k, False: 891k]
  ------------------
19951|   395k|            case 0x92:
  ------------------
  |  Branch (19951:13): [True: 1.35k, False: 891k]
  ------------------
19952|   397k|            case 0x93:
  ------------------
  |  Branch (19952:13): [True: 2.17k, False: 890k]
  ------------------
19953|   398k|            case 0x94:
  ------------------
  |  Branch (19953:13): [True: 908, False: 891k]
  ------------------
19954|   399k|            case 0x95:
  ------------------
  |  Branch (19954:13): [True: 1.23k, False: 891k]
  ------------------
19955|   400k|            case 0x96:
  ------------------
  |  Branch (19955:13): [True: 1.25k, False: 891k]
  ------------------
19956|   402k|            case 0x97:
  ------------------
  |  Branch (19956:13): [True: 2.22k, False: 890k]
  ------------------
19957|   402k|                return enter_cbor_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19958|       |
19959|  3.47k|            case 0x98: // array (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19959:13): [True: 3.47k, False: 889k]
  ------------------
19960|  8.54k|            case 0x99: // array (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19960:13): [True: 5.06k, False: 887k]
  ------------------
19961|  10.6k|            case 0x9A: // array (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19961:13): [True: 2.07k, False: 890k]
  ------------------
19962|  11.8k|            case 0x9B: // array (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19962:13): [True: 1.23k, False: 891k]
  ------------------
19963|  11.8k|            {
19964|  11.8k|                std::uint64_t len{};
19965|  11.8k|                std::size_t size{};
19966|  11.8k|                return get_cbor_argument(len) && get_container_size(len, size, "array") && enter_cbor_array(size);
  ------------------
  |  Branch (19966:24): [True: 11.6k, False: 234]
  |  Branch (19966:50): [True: 11.6k, False: 3]
  |  Branch (19966:92): [True: 11.2k, False: 399]
  ------------------
19967|  10.6k|            }
19968|       |
19969|  20.1k|            case 0x9F: // array (indefinite length)
  ------------------
  |  Branch (19969:13): [True: 20.1k, False: 872k]
  ------------------
19970|  20.1k|                return enter_array(detail::unknown_size());
19971|       |
19972|       |            // map (0x00..0x17 pairs of data items follow)
19973|  16.8k|            case 0xA0:
  ------------------
  |  Branch (19973:13): [True: 16.8k, False: 875k]
  ------------------
19974|  51.9k|            case 0xA1:
  ------------------
  |  Branch (19974:13): [True: 35.1k, False: 857k]
  ------------------
19975|  59.1k|            case 0xA2:
  ------------------
  |  Branch (19975:13): [True: 7.10k, False: 885k]
  ------------------
19976|  60.6k|            case 0xA3:
  ------------------
  |  Branch (19976:13): [True: 1.50k, False: 891k]
  ------------------
19977|  61.4k|            case 0xA4:
  ------------------
  |  Branch (19977:13): [True: 861, False: 891k]
  ------------------
19978|  62.3k|            case 0xA5:
  ------------------
  |  Branch (19978:13): [True: 906, False: 891k]
  ------------------
19979|  63.2k|            case 0xA6:
  ------------------
  |  Branch (19979:13): [True: 836, False: 891k]
  ------------------
19980|  64.4k|            case 0xA7:
  ------------------
  |  Branch (19980:13): [True: 1.26k, False: 891k]
  ------------------
19981|  65.2k|            case 0xA8:
  ------------------
  |  Branch (19981:13): [True: 798, False: 891k]
  ------------------
19982|  66.1k|            case 0xA9:
  ------------------
  |  Branch (19982:13): [True: 837, False: 891k]
  ------------------
19983|  67.0k|            case 0xAA:
  ------------------
  |  Branch (19983:13): [True: 894, False: 891k]
  ------------------
19984|  67.7k|            case 0xAB:
  ------------------
  |  Branch (19984:13): [True: 795, False: 891k]
  ------------------
19985|  68.6k|            case 0xAC:
  ------------------
  |  Branch (19985:13): [True: 808, False: 891k]
  ------------------
19986|  69.4k|            case 0xAD:
  ------------------
  |  Branch (19986:13): [True: 857, False: 891k]
  ------------------
19987|  70.2k|            case 0xAE:
  ------------------
  |  Branch (19987:13): [True: 789, False: 891k]
  ------------------
19988|  71.1k|            case 0xAF:
  ------------------
  |  Branch (19988:13): [True: 893, False: 891k]
  ------------------
19989|  71.9k|            case 0xB0:
  ------------------
  |  Branch (19989:13): [True: 827, False: 891k]
  ------------------
19990|  72.8k|            case 0xB1:
  ------------------
  |  Branch (19990:13): [True: 910, False: 891k]
  ------------------
19991|  73.6k|            case 0xB2:
  ------------------
  |  Branch (19991:13): [True: 765, False: 891k]
  ------------------
19992|  74.5k|            case 0xB3:
  ------------------
  |  Branch (19992:13): [True: 890, False: 891k]
  ------------------
19993|  75.3k|            case 0xB4:
  ------------------
  |  Branch (19993:13): [True: 790, False: 891k]
  ------------------
19994|  76.1k|            case 0xB5:
  ------------------
  |  Branch (19994:13): [True: 785, False: 891k]
  ------------------
19995|  76.9k|            case 0xB6:
  ------------------
  |  Branch (19995:13): [True: 815, False: 891k]
  ------------------
19996|  78.1k|            case 0xB7:
  ------------------
  |  Branch (19996:13): [True: 1.21k, False: 891k]
  ------------------
19997|  78.1k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19998|       |
19999|  1.02k|            case 0xB8: // map (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19999:13): [True: 1.02k, False: 891k]
  ------------------
20000|  2.12k|            case 0xB9: // map (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20000:13): [True: 1.10k, False: 891k]
  ------------------
20001|  2.84k|            case 0xBA: // map (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20001:13): [True: 720, False: 891k]
  ------------------
20002|  3.92k|            case 0xBB: // map (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20002:13): [True: 1.07k, False: 891k]
  ------------------
20003|  3.92k|            {
20004|  3.92k|                std::uint64_t len{};
20005|  3.92k|                std::size_t size{};
20006|  3.92k|                return get_cbor_argument(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (20006:24): [True: 3.78k, False: 135]
  |  Branch (20006:50): [True: 3.78k, False: 3]
  |  Branch (20006:90): [True: 3.35k, False: 429]
  ------------------
20007|  2.84k|            }
20008|       |
20009|  4.64k|            case 0xBF: // map (indefinite length)
  ------------------
  |  Branch (20009:13): [True: 4.64k, False: 887k]
  ------------------
20010|  4.64k|                return enter_object(detail::unknown_size());
20011|       |
20012|      3|            case 0xC0: // tagged item (tag value 0-23, in the head itself)
  ------------------
  |  Branch (20012:13): [True: 3, False: 892k]
  ------------------
20013|      6|            case 0xC1:
  ------------------
  |  Branch (20013:13): [True: 3, False: 892k]
  ------------------
20014|      9|            case 0xC2:
  ------------------
  |  Branch (20014:13): [True: 3, False: 892k]
  ------------------
20015|     12|            case 0xC3:
  ------------------
  |  Branch (20015:13): [True: 3, False: 892k]
  ------------------
20016|     15|            case 0xC4:
  ------------------
  |  Branch (20016:13): [True: 3, False: 892k]
  ------------------
20017|     18|            case 0xC5:
  ------------------
  |  Branch (20017:13): [True: 3, False: 892k]
  ------------------
20018|     24|            case 0xC6:
  ------------------
  |  Branch (20018:13): [True: 6, False: 892k]
  ------------------
20019|     33|            case 0xC7:
  ------------------
  |  Branch (20019:13): [True: 9, False: 892k]
  ------------------
20020|     36|            case 0xC8:
  ------------------
  |  Branch (20020:13): [True: 3, False: 892k]
  ------------------
20021|     39|            case 0xC9:
  ------------------
  |  Branch (20021:13): [True: 3, False: 892k]
  ------------------
20022|     42|            case 0xCA:
  ------------------
  |  Branch (20022:13): [True: 3, False: 892k]
  ------------------
20023|     45|            case 0xCB:
  ------------------
  |  Branch (20023:13): [True: 3, False: 892k]
  ------------------
20024|     48|            case 0xCC:
  ------------------
  |  Branch (20024:13): [True: 3, False: 892k]
  ------------------
20025|     51|            case 0xCD:
  ------------------
  |  Branch (20025:13): [True: 3, False: 892k]
  ------------------
20026|     54|            case 0xCE:
  ------------------
  |  Branch (20026:13): [True: 3, False: 892k]
  ------------------
20027|     57|            case 0xCF:
  ------------------
  |  Branch (20027:13): [True: 3, False: 892k]
  ------------------
20028|     60|            case 0xD0:
  ------------------
  |  Branch (20028:13): [True: 3, False: 892k]
  ------------------
20029|     63|            case 0xD1:
  ------------------
  |  Branch (20029:13): [True: 3, False: 892k]
  ------------------
20030|     66|            case 0xD2:
  ------------------
  |  Branch (20030:13): [True: 3, False: 892k]
  ------------------
20031|     69|            case 0xD3:
  ------------------
  |  Branch (20031:13): [True: 3, False: 892k]
  ------------------
20032|     75|            case 0xD4:
  ------------------
  |  Branch (20032:13): [True: 6, False: 892k]
  ------------------
20033|     78|            case 0xD5:
  ------------------
  |  Branch (20033:13): [True: 3, False: 892k]
  ------------------
20034|     81|            case 0xD6:
  ------------------
  |  Branch (20034:13): [True: 3, False: 892k]
  ------------------
20035|     90|            case 0xD7:
  ------------------
  |  Branch (20035:13): [True: 9, False: 892k]
  ------------------
20036|     90|            {
20037|     90|                if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20037:21): [True: 90, False: 0]
  ------------------
20038|     90|                {
20039|     90|                    return unexpected_byte("invalid byte", "value");
20040|     90|                }
20041|       |
20042|       |                // ignore and store: the tag value is already in the head, so
20043|       |                // there is nothing left to read here; the tagged value that
20044|       |                // follows is read by the loop in parse_cbor_internal() rather
20045|       |                // than by recursing here
20046|      0|                tag_pending = true;
20047|      0|                return true;
20048|     90|            }
20049|       |
20050|      6|            case 0xD8: // tagged item (1 byte follows)
  ------------------
  |  Branch (20050:13): [True: 6, False: 892k]
  ------------------
20051|      9|            case 0xD9: // tagged item (2 bytes follow)
  ------------------
  |  Branch (20051:13): [True: 3, False: 892k]
  ------------------
20052|     12|            case 0xDA: // tagged item (4 bytes follow)
  ------------------
  |  Branch (20052:13): [True: 3, False: 892k]
  ------------------
20053|     15|            case 0xDB: // tagged item (8 bytes follow)
  ------------------
  |  Branch (20053:13): [True: 3, False: 892k]
  ------------------
20054|     15|            {
20055|     15|                switch (tag_handler)
20056|     15|                {
20057|     15|                    case cbor_tag_handler_t::error:
  ------------------
  |  Branch (20057:21): [True: 15, False: 0]
  ------------------
20058|     15|                    {
20059|     15|                        return unexpected_byte("invalid byte", "value");
20060|      0|                    }
20061|       |
20062|      0|                    case cbor_tag_handler_t::ignore:
  ------------------
  |  Branch (20062:21): [True: 0, False: 15]
  ------------------
20063|      0|                    {
20064|       |                        // ignore the tag's binary subtype argument
20065|      0|                        std::uint64_t subtype_to_ignore{};
20066|      0|                        if (!get_cbor_argument(subtype_to_ignore))
  ------------------
  |  Branch (20066:29): [True: 0, False: 0]
  ------------------
20067|      0|                        {
20068|      0|                            return false;
20069|      0|                        }
20070|       |                        // the tagged value follows; it is read by the loop in
20071|       |                        // parse_cbor_internal() rather than by recursing here
20072|      0|                        tag_pending = true;
20073|      0|                        return true;
20074|      0|                    }
20075|       |
20076|      0|                    case cbor_tag_handler_t::store:
  ------------------
  |  Branch (20076:21): [True: 0, False: 15]
  ------------------
20077|      0|                    {
20078|       |                        // use binary subtype and store in a binary container
20079|      0|                        std::uint64_t subtype{};
20080|      0|                        if (!get_cbor_argument(subtype))
  ------------------
  |  Branch (20080:29): [True: 0, False: 0]
  ------------------
20081|      0|                        {
20082|      0|                            return false;
20083|      0|                        }
20084|      0|                        binary_t b;
20085|      0|                        b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
20086|       |
20087|      0|                        get();
20088|       |                        // a byte string (the heads accepted by get_cbor_binary) keeps the tag as subtype
20089|      0|                        if ((current >= 0x40 && current <= 0x5B) || current == 0x5F)
  ------------------
  |  Branch (20089:30): [True: 0, False: 0]
  |  Branch (20089:49): [True: 0, False: 0]
  |  Branch (20089:69): [True: 0, False: 0]
  ------------------
20090|      0|                        {
20091|      0|                            return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (20091:36): [True: 0, False: 0]
  |  Branch (20091:58): [True: 0, False: 0]
  ------------------
20092|      0|                        }
20093|       |
20094|       |                        // not a byte string: the tagged value, whose first byte
20095|       |                        // was just read, is read by the caller like for ignore
20096|      0|                        tag_pending = true;
20097|      0|                        item_read = true;
20098|      0|                        return true;
20099|      0|                    }
20100|       |
20101|      0|                    default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20101:21): [True: 0, False: 15]
  ------------------
20102|      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 (20102:25): [Folded, False: 0]
  ------------------
20103|      0|                        return false;        // LCOV_EXCL_LINE
20104|     15|                }
20105|     15|            }
20106|       |
20107|  4.99k|            case 0xF4: // false
  ------------------
  |  Branch (20107:13): [True: 4.99k, False: 887k]
  ------------------
20108|  4.99k|                return sax->boolean(false);
20109|       |
20110|  7.21k|            case 0xF5: // true
  ------------------
  |  Branch (20110:13): [True: 7.21k, False: 885k]
  ------------------
20111|  7.21k|                return sax->boolean(true);
20112|       |
20113|  10.6k|            case 0xF6: // null
  ------------------
  |  Branch (20113:13): [True: 10.6k, False: 881k]
  ------------------
20114|  10.6k|                return sax->null();
20115|       |
20116|  22.0k|            case 0xF9: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (20116:13): [True: 22.0k, False: 870k]
  ------------------
20117|  22.0k|                return get_half_float(false);
20118|       |
20119|  5.38k|            case 0xFA: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (20119:13): [True: 5.38k, False: 887k]
  ------------------
20120|  5.38k|                return get_cbor_float<float>();
20121|       |
20122|  3.30k|            case 0xFB: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (20122:13): [True: 3.30k, False: 889k]
  ------------------
20123|  3.30k|                return get_cbor_float<double>();
20124|       |
20125|    174|            default: // anything else (0xFF is handled inside the other types)
  ------------------
  |  Branch (20125:13): [True: 174, False: 892k]
  ------------------
20126|    174|            {
20127|    174|                return unexpected_byte("invalid byte", "value");
20128|     15|            }
20129|   892k|        }
20130|   892k|    }
_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.07k|    {
23657|  2.07k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  2.07k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.07k, False: 0]
  |  |  ------------------
  ------------------
23658|  2.07k|        {
23659|  2.07k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  2.07k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  2.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImhEEbT0_:
 5316|  4.01k|{
 5317|  4.01k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.01k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImhLb0EvE4testEh:
 5300|  4.01k|    {
 5301|  4.01k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  4.01k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImhLb0ELb0EE4testEh:
 5254|  4.01k|    {
 5255|  4.01k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  4.01k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  4.01k|    }
_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.10k|    {
23657|  2.10k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  2.10k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.10k, False: 0]
  |  |  ------------------
  ------------------
23658|  2.10k|        {
23659|  2.10k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  2.10k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  2.10k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImtEEbT0_:
 5316|  4.09k|{
 5317|  4.09k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.09k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImtLb0EvE4testEt:
 5300|  4.09k|    {
 5301|  4.09k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  4.09k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImtLb0ELb0EE4testEt:
 5254|  4.09k|    {
 5255|  4.09k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  4.09k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  4.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_unsignedIjEEbT_:
23656|  1.72k|    {
23657|  1.72k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|  1.72k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.72k, False: 0]
  |  |  ------------------
  ------------------
23658|  1.72k|        {
23659|  1.72k|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|  1.72k|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|  1.72k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofImjEEbT0_:
 5316|  3.20k|{
 5317|  3.20k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  3.20k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1ImjLb0EvE4testEj:
 5300|  3.20k|    {
 5301|  3.20k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  3.20k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2ImjLb0ELb0EE4testEj:
 5254|  3.20k|    {
 5255|  3.20k|        using CommonType = typename std::common_type<OfType, T>::type;
 5256|  3.20k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5257|  3.20k|    }
_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_EEE25get_cbor_negative_integerIhEEbv:
19724|  1.28k|    {
19725|  1.28k|        NumberType number{};
19726|  1.28k|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 1.25k, False: 27]
  |  Branch (19726:38): [True: 1.25k, False: 0]
  ------------------
19727|  1.28k|    }
_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_EEE26emit_cbor_negative_integerIhEEbT_:
19732|  2.08k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  2.08k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  2.08k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.08k, False: 0]
  |  |  ------------------
  ------------------
19737|  2.08k|        {
19738|  2.08k|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|  2.08k|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  2.08k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIlhEEbT0_:
 5316|  4.04k|{
 5317|  4.04k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.04k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IlhLb1EvE4testEh:
 5309|  4.04k|    {
 5310|  4.04k|        return true;
 5311|  4.04k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castIllTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_:
 5209|  17.2k|{
 5210|  17.2k|    return value;
 5211|  17.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_EEE25get_cbor_negative_integerItEEbv:
19724|  1.22k|    {
19725|  1.22k|        NumberType number{};
19726|  1.22k|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 1.18k, False: 33]
  |  Branch (19726:38): [True: 1.18k, False: 0]
  ------------------
19727|  1.22k|    }
_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_EEE26emit_cbor_negative_integerItEEbT_:
19732|  2.07k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  2.07k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  2.07k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.07k, False: 0]
  |  |  ------------------
  ------------------
19737|  2.07k|        {
19738|  2.07k|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|  2.07k|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  2.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIltEEbT0_:
 5316|  4.01k|{
 5317|  4.01k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.01k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IltLb1EvE4testEt:
 5309|  4.01k|    {
 5310|  4.01k|        return true;
 5311|  4.01k|    }
_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_EEE25get_cbor_negative_integerIjEEbv:
19724|  1.71k|    {
19725|  1.71k|        NumberType number{};
19726|  1.71k|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 1.65k, False: 54]
  |  Branch (19726:38): [True: 1.65k, False: 0]
  ------------------
19727|  1.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_EEE26emit_cbor_negative_integerIjEEbT_:
19732|  2.22k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  2.22k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  2.22k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.22k, False: 0]
  |  |  ------------------
  ------------------
19737|  2.22k|        {
19738|  2.22k|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|  2.22k|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  2.22k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIljEEbT0_:
 5316|  4.14k|{
 5317|  4.14k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  4.14k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IljLb1EvE4testEj:
 5309|  4.14k|    {
 5310|  4.14k|        return true;
 5311|  4.14k|    }
_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_EEE25get_cbor_negative_integerImEEbv:
19724|  2.49k|    {
19725|  2.49k|        NumberType number{};
19726|  2.49k|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 2.43k, False: 57]
  |  Branch (19726:38): [True: 2.43k, False: 0]
  ------------------
19727|  2.49k|    }
_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_EEE26emit_cbor_negative_integerImEEbT_:
19732|  4.04k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  4.04k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  4.04k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.76k, False: 1.28k]
  |  |  ------------------
  ------------------
19737|  2.76k|        {
19738|  2.76k|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|  2.76k|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|  1.28k|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  4.04k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17value_in_range_ofIlmEEbT0_:
 5316|  7.63k|{
 5317|  7.63k|    return value_in_range_of_impl1<OfType, T>::test(val);
 5318|  7.63k|}
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl1IlmLb0EvE4testEm:
 5300|  7.63k|    {
 5301|  7.63k|        return value_in_range_of_impl2<OfType, T>::test(val);
 5302|  7.63k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23value_in_range_of_impl2IlmLb1ELb0EE4testEm:
 5264|  7.63k|    {
 5265|  7.63k|        using CommonType = typename std::common_type<OfType, T>::type;
 5266|  7.63k|        return static_cast<CommonType>(val) <= static_cast<CommonType>((std::numeric_limits<OfType>::max)());
 5267|  7.63k|    }
_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_EEE15get_cbor_binaryERNS0_27byte_container_with_subtypeISF_EE:
20530|   113k|    {
20531|       |        // read chunks iteratively, but reject a second indefinite-length
20532|       |        // level as required by RFC 8949, Section 3.2.3
20533|   113k|        bool indefinite = false;
20534|       |
20535|   122k|        while (true)
  ------------------
  |  Branch (20535:16): [True: 121k, Folded]
  ------------------
20536|   121k|        {
20537|   121k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("binary")))
  ------------------
  |  | 1697|   121k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 121k]
  |  |  ------------------
  ------------------
20538|     36|            {
20539|     36|                return false;
20540|     36|            }
20541|       |
20542|   121k|            if (current == 0x5F) // Binary data (indefinite length)
  ------------------
  |  Branch (20542:17): [True: 3.08k, False: 118k]
  ------------------
20543|  3.08k|            {
20544|  3.08k|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|  3.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 6, False: 3.07k]
  |  |  ------------------
  ------------------
20545|      6|                {
20546|      6|                    return cbor_indefinite_string_error("binary array", "binary");
20547|      6|                }
20548|  3.07k|                indefinite = true;
20549|  3.07k|                get();
20550|  3.07k|                continue;
20551|  3.08k|            }
20552|       |
20553|       |            // a break marker closes the indefinite-length string; outside
20554|       |            // of one it falls through to the error below
20555|   118k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20555:17): [True: 7.77k, False: 110k]
  |  Branch (20555:31): [True: 2.77k, False: 4.99k]
  ------------------
20556|  2.77k|            {
20557|  2.77k|                return true;
20558|  2.77k|            }
20559|       |
20560|   115k|            if (JSON_HEDLEY_UNLIKELY(!get_cbor_binary_chunk(result, indefinite)))
  ------------------
  |  | 1697|   115k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 583, False: 114k]
  |  |  ------------------
  ------------------
20561|    583|            {
20562|    583|                return false;
20563|    583|            }
20564|       |
20565|   114k|            if (!indefinite)
  ------------------
  |  Branch (20565:17): [True: 108k, False: 6.04k]
  ------------------
20566|   108k|            {
20567|   108k|                return true;
20568|   108k|            }
20569|       |
20570|  6.04k|            get();
20571|  6.04k|        }
20572|   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_EEE21get_cbor_binary_chunkERNS0_27byte_container_with_subtypeISF_EEb:
20459|   115k|    {
20460|   115k|        switch (current)
20461|   115k|        {
20462|       |            // Binary data (0x00..0x17 bytes follow)
20463|  92.5k|            case 0x40:
  ------------------
  |  Branch (20463:13): [True: 92.5k, False: 22.7k]
  ------------------
20464|  97.6k|            case 0x41:
  ------------------
  |  Branch (20464:13): [True: 5.11k, False: 110k]
  ------------------
20465|  99.0k|            case 0x42:
  ------------------
  |  Branch (20465:13): [True: 1.36k, False: 113k]
  ------------------
20466|  99.4k|            case 0x43:
  ------------------
  |  Branch (20466:13): [True: 441, False: 114k]
  ------------------
20467|   100k|            case 0x44:
  ------------------
  |  Branch (20467:13): [True: 882, False: 114k]
  ------------------
20468|   100k|            case 0x45:
  ------------------
  |  Branch (20468:13): [True: 431, False: 114k]
  ------------------
20469|   101k|            case 0x46:
  ------------------
  |  Branch (20469:13): [True: 423, False: 114k]
  ------------------
20470|   101k|            case 0x47:
  ------------------
  |  Branch (20470:13): [True: 677, False: 114k]
  ------------------
20471|   102k|            case 0x48:
  ------------------
  |  Branch (20471:13): [True: 509, False: 114k]
  ------------------
20472|   102k|            case 0x49:
  ------------------
  |  Branch (20472:13): [True: 407, False: 114k]
  ------------------
20473|   103k|            case 0x4A:
  ------------------
  |  Branch (20473:13): [True: 407, False: 114k]
  ------------------
20474|   103k|            case 0x4B:
  ------------------
  |  Branch (20474:13): [True: 439, False: 114k]
  ------------------
20475|   104k|            case 0x4C:
  ------------------
  |  Branch (20475:13): [True: 423, False: 114k]
  ------------------
20476|   104k|            case 0x4D:
  ------------------
  |  Branch (20476:13): [True: 399, False: 114k]
  ------------------
20477|   104k|            case 0x4E:
  ------------------
  |  Branch (20477:13): [True: 163, False: 115k]
  ------------------
20478|   104k|            case 0x4F:
  ------------------
  |  Branch (20478:13): [True: 167, False: 115k]
  ------------------
20479|   105k|            case 0x50:
  ------------------
  |  Branch (20479:13): [True: 376, False: 114k]
  ------------------
20480|   105k|            case 0x51:
  ------------------
  |  Branch (20480:13): [True: 183, False: 115k]
  ------------------
20481|   105k|            case 0x52:
  ------------------
  |  Branch (20481:13): [True: 177, False: 115k]
  ------------------
20482|   105k|            case 0x53:
  ------------------
  |  Branch (20482:13): [True: 183, False: 115k]
  ------------------
20483|   105k|            case 0x54:
  ------------------
  |  Branch (20483:13): [True: 160, False: 115k]
  ------------------
20484|   106k|            case 0x55:
  ------------------
  |  Branch (20484:13): [True: 203, False: 115k]
  ------------------
20485|   106k|            case 0x56:
  ------------------
  |  Branch (20485:13): [True: 188, False: 115k]
  ------------------
20486|   106k|            case 0x57:
  ------------------
  |  Branch (20486:13): [True: 208, False: 115k]
  ------------------
20487|   106k|            {
20488|   106k|                return get_binary(static_cast<unsigned int>(current) & 0x1Fu, result);
20489|   106k|            }
20490|       |
20491|  2.99k|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20491:13): [True: 2.99k, False: 112k]
  ------------------
20492|  2.99k|            {
20493|  2.99k|                return get_cbor_sized_bytes<std::uint8_t>("binary", result);
20494|   106k|            }
20495|       |
20496|  2.52k|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20496:13): [True: 2.52k, False: 112k]
  ------------------
20497|  2.52k|            {
20498|  2.52k|                return get_cbor_sized_bytes<std::uint16_t>("binary", result);
20499|   106k|            }
20500|       |
20501|  1.30k|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20501:13): [True: 1.30k, False: 114k]
  ------------------
20502|  1.30k|            {
20503|  1.30k|                return get_cbor_sized_bytes<std::uint32_t>("binary", result);
20504|   106k|            }
20505|       |
20506|  1.94k|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20506:13): [True: 1.94k, False: 113k]
  ------------------
20507|  1.94k|            {
20508|  1.94k|                return get_cbor_sized_bytes<std::uint64_t>("binary", result);
20509|   106k|            }
20510|       |
20511|     75|            default:
  ------------------
  |  Branch (20511:13): [True: 75, False: 115k]
  ------------------
20512|     75|            {
20513|     75|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x40-0x5B)", "binary", inside_indefinite ? "" : " or indefinite binary array type (0x5F)");
  ------------------
  |  Branch (20513:133): [True: 75, False: 0]
  ------------------
20514|   106k|            }
20515|   115k|        }
20516|   115k|    }
_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|   106k|    {
23868|   106k|        return get_bytes(len, "binary", result);
23869|   106k|    }
_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|   107k|    {
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|   107k|        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|   107k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 107k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|   107k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|   121k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 14.1k, False: 106k]
  ------------------
23906|  14.1k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  14.1k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 14.0k, False: 153]
  ------------------
23910|  14.1k|                                       ? static_cast<std::size_t>(len)
23911|  14.1k|                                       : chunk_size;
23912|  14.1k|            const std::size_t old_size = result.size();
23913|  14.1k|            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|  14.1k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  14.1k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 14.1k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  14.1k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  14.1k|            chars_read += bytes_read;
23921|  14.1k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  14.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 828, False: 13.3k]
  |  |  ------------------
  ------------------
23922|    828|            {
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|    828|                result.resize(old_size + bytes_read);
23927|    828|                ++chars_read;
23928|    828|                current = char_traits<char_type>::eof();
23929|    828|                return unexpect_eof(context);
23930|    828|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  13.3k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  13.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 13.3k, False: 0]
  ------------------
23933|  13.3k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  13.3k|        }
23935|   106k|        return true;
23936|   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_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|   107k|    {
23965|   107k|        return false;
23966|   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_EEE20get_cbor_sized_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|  2.99k|    {
20176|  2.99k|        NumberType len{};
20177|  2.99k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 2.96k, False: 30]
  |  Branch (20177:35): [True: 2.85k, False: 108]
  ------------------
20178|  2.99k|    }
_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|  2.96k|    {
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.96k|        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.96k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.96k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.96k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  4.54k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.68k, False: 2.85k]
  ------------------
23906|  1.68k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.68k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 1.68k, False: 0]
  ------------------
23910|  1.68k|                                       ? static_cast<std::size_t>(len)
23911|  1.68k|                                       : chunk_size;
23912|  1.68k|            const std::size_t old_size = result.size();
23913|  1.68k|            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.68k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.68k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.68k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.68k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.68k|            chars_read += bytes_read;
23921|  1.68k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.68k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 108, False: 1.58k]
  |  |  ------------------
  ------------------
23922|    108|            {
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|    108|                result.resize(old_size + bytes_read);
23927|    108|                ++chars_read;
23928|    108|                current = char_traits<char_type>::eof();
23929|    108|                return unexpect_eof(context);
23930|    108|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  1.58k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  1.58k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 1.58k, False: 0]
  ------------------
23933|  1.58k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  1.58k|        }
23935|  2.85k|        return true;
23936|  2.96k|    }
_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|  2.96k|    {
23965|  2.96k|        return false;
23966|  2.96k|    }
_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_EEE20get_cbor_sized_bytesItNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|  2.52k|    {
20176|  2.52k|        NumberType len{};
20177|  2.52k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 2.47k, False: 48]
  |  Branch (20177:35): [True: 2.32k, False: 144]
  ------------------
20178|  2.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_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  2.47k|    {
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.47k|        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.47k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 2.47k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  2.47k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  3.59k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 1.26k, False: 2.32k]
  ------------------
23906|  1.26k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  1.26k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 1.21k, False: 51]
  ------------------
23910|  1.26k|                                       ? static_cast<std::size_t>(len)
23911|  1.26k|                                       : chunk_size;
23912|  1.26k|            const std::size_t old_size = result.size();
23913|  1.26k|            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.26k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  1.26k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 1.26k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  1.26k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  1.26k|            chars_read += bytes_read;
23921|  1.26k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  1.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 144, False: 1.12k]
  |  |  ------------------
  ------------------
23922|    144|            {
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|    144|                result.resize(old_size + bytes_read);
23927|    144|                ++chars_read;
23928|    144|                current = char_traits<char_type>::eof();
23929|    144|                return unexpect_eof(context);
23930|    144|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  1.12k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  1.12k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 1.12k, False: 0]
  ------------------
23933|  1.12k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  1.12k|        }
23935|  2.32k|        return true;
23936|  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_EEE17append_from_blockItNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  2.47k|    {
23965|  2.47k|        return false;
23966|  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_EEE20get_cbor_sized_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|  1.30k|    {
20176|  1.30k|        NumberType len{};
20177|  1.30k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.25k, False: 51]
  |  Branch (20177:35): [True: 1.00k, False: 249]
  ------------------
20178|  1.30k|    }
_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_EEE20get_cbor_sized_bytesImNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|  1.94k|    {
20176|  1.94k|        NumberType len{};
20177|  1.94k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.86k, False: 75]
  |  Branch (20177:35): [True: 1.47k, False: 390]
  ------------------
20178|  1.94k|    }
_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_bytesImNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  1.86k|    {
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.86k|        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.86k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.86k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.86k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  2.35k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 879, False: 1.47k]
  ------------------
23906|    879|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    879|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 576, False: 303]
  ------------------
23910|    879|                                       ? static_cast<std::size_t>(len)
23911|    879|                                       : chunk_size;
23912|    879|            const std::size_t old_size = result.size();
23913|    879|            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|    879|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    879|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 879, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    879|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    879|            chars_read += bytes_read;
23921|    879|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    879|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 390, False: 489]
  |  |  ------------------
  ------------------
23922|    390|            {
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|    390|                result.resize(old_size + bytes_read);
23927|    390|                ++chars_read;
23928|    390|                current = char_traits<char_type>::eof();
23929|    390|                return unexpect_eof(context);
23930|    390|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    489|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    489|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 489, False: 0]
  ------------------
23933|    489|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    489|        }
23935|  1.47k|        return true;
23936|  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_EEE17append_from_blockImNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.86k|    {
23965|  1.86k|        return false;
23966|  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_EEE16enter_cbor_arrayEm:
20818|   414k|    {
20819|   414k|        return enter_array(len) && (len <= 1 || parse_cbor_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (20819:16): [True: 414k, False: 399]
  |  Branch (20819:37): [True: 366k, False: 47.9k]
  |  Branch (20819:49): [True: 47.9k, False: 0]
  ------------------
20820|   414k|    }
_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_EEE21parse_cbor_scalar_runENS4_17integral_constantIbLb1EEE:
20713|  47.9k|    {
20714|       |        // nothing pushes onto the stack while the run reads scalars
20715|  47.9k|        std::size_t& remaining = container_stack.back().remaining;
20716|  88.1k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (20716:16): [True: 86.3k, False: 1.78k]
  |  Branch (20716:34): [True: 76.6k, False: 9.75k]
  ------------------
20717|  76.6k|        {
20718|  76.6k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
20719|  76.6k|            const unsigned char head = data[0];
20720|  76.6k|            bool accepted = false;
20721|  76.6k|            switch (head)
20722|  76.6k|            {
20723|    813|                case 0x18:
  ------------------
  |  Branch (20723:17): [True: 813, False: 75.7k]
  ------------------
20724|    813|                    bulk_advance(2, head);
20725|    813|                    accepted = emit_unsigned(data[1]);
20726|    813|                    break;
20727|    864|                case 0x19:
  ------------------
  |  Branch (20727:17): [True: 864, False: 75.7k]
  ------------------
20728|    864|                    bulk_advance(3, head);
20729|    864|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
20730|    864|                    break;
20731|    487|                case 0x1A:
  ------------------
  |  Branch (20731:17): [True: 487, False: 76.1k]
  ------------------
20732|    487|                    bulk_advance(5, head);
20733|    487|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
20734|    487|                    break;
20735|  1.03k|                case 0x1B:
  ------------------
  |  Branch (20735:17): [True: 1.03k, False: 75.5k]
  ------------------
20736|  1.03k|                    bulk_advance(9, head);
20737|  1.03k|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
20738|  1.03k|                    break;
20739|    833|                case 0x38:
  ------------------
  |  Branch (20739:17): [True: 833, False: 75.7k]
  ------------------
20740|    833|                    bulk_advance(2, head);
20741|    833|                    accepted = emit_cbor_negative_integer(data[1]);
20742|    833|                    break;
20743|    888|                case 0x39:
  ------------------
  |  Branch (20743:17): [True: 888, False: 75.7k]
  ------------------
20744|    888|                    bulk_advance(3, head);
20745|    888|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint16_t>(data + 1));
20746|    888|                    break;
20747|    566|                case 0x3A:
  ------------------
  |  Branch (20747:17): [True: 566, False: 76.0k]
  ------------------
20748|    566|                    bulk_advance(5, head);
20749|    566|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint32_t>(data + 1));
20750|    566|                    break;
20751|  1.60k|                case 0x3B:
  ------------------
  |  Branch (20751:17): [True: 1.60k, False: 75.0k]
  ------------------
20752|  1.60k|                    bulk_advance(9, head);
20753|  1.60k|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint64_t>(data + 1));
20754|  1.60k|                    break;
20755|  1.67k|                case 0xF4:
  ------------------
  |  Branch (20755:17): [True: 1.67k, False: 74.9k]
  ------------------
20756|  1.67k|                    bulk_advance(1, head);
20757|  1.67k|                    accepted = sax->boolean(false);
20758|  1.67k|                    break;
20759|  1.96k|                case 0xF5:
  ------------------
  |  Branch (20759:17): [True: 1.96k, False: 74.6k]
  ------------------
20760|  1.96k|                    bulk_advance(1, head);
20761|  1.96k|                    accepted = sax->boolean(true);
20762|  1.96k|                    break;
20763|  3.06k|                case 0xF6:
  ------------------
  |  Branch (20763:17): [True: 3.06k, False: 73.5k]
  ------------------
20764|  3.06k|                    bulk_advance(1, head);
20765|  3.06k|                    accepted = sax->null();
20766|  3.06k|                    break;
20767|  1.65k|                case 0xFA:
  ------------------
  |  Branch (20767:17): [True: 1.65k, False: 74.9k]
  ------------------
20768|  1.65k|                    bulk_advance(5, head);
20769|  1.65k|                    accepted = emit_float(load_big_endian<float>(data + 1));
20770|  1.65k|                    break;
20771|    827|                case 0xFB:
  ------------------
  |  Branch (20771:17): [True: 827, False: 75.7k]
  ------------------
20772|    827|                    bulk_advance(9, head);
20773|    827|                    accepted = emit_float(load_big_endian<double>(data + 1));
20774|    827|                    break;
20775|  60.3k|                default:
  ------------------
  |  Branch (20775:17): [True: 60.3k, False: 16.2k]
  ------------------
20776|  60.3k|                    if (head <= 0x17)
  ------------------
  |  Branch (20776:25): [True: 17.5k, False: 42.7k]
  ------------------
20777|  17.5k|                    {
20778|  17.5k|                        bulk_advance(1, head);
20779|  17.5k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
20780|  17.5k|                    }
20781|  42.7k|                    else if (head >= 0x20 && head <= 0x37)
  ------------------
  |  Branch (20781:30): [True: 42.7k, False: 6]
  |  Branch (20781:46): [True: 6.37k, False: 36.3k]
  ------------------
20782|  6.37k|                    {
20783|  6.37k|                        bulk_advance(1, head);
20784|  6.37k|                        accepted = sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - head));
20785|  6.37k|                    }
20786|  36.3k|                    else
20787|  36.3k|                    {
20788|       |                        // any other value is read by parse_cbor_value
20789|  36.3k|                        return true;
20790|  36.3k|                    }
20791|  23.9k|                    break;
20792|  76.6k|            }
20793|  40.2k|            --remaining;
20794|  40.2k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|  40.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 40.2k]
  |  |  ------------------
  ------------------
20795|      0|            {
20796|      0|                return false;
20797|      0|            }
20798|  40.2k|        }
20799|  11.5k|        return true;
20800|  47.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_EEE12bulk_advanceEmh:
20689|  40.2k|    {
20690|  40.2k|        ia.bulk_skip(size);
20691|  40.2k|        chars_read += size;
20692|  40.2k|        current = head;
20693|  40.2k|    }
_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.75k|    {
20671|  1.75k|        NumberType result{};
20672|  1.75k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.75k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.75k, False: 0]
  ------------------
20674|  1.75k|        {
20675|  1.75k|            byte_swap(result);
20676|  1.75k|        }
20677|  1.75k|        return result;
20678|  1.75k|    }
_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|  1.05k|    {
20671|  1.05k|        NumberType result{};
20672|  1.05k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.05k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.05k, False: 0]
  ------------------
20674|  1.05k|        {
20675|  1.05k|            byte_swap(result);
20676|  1.05k|        }
20677|  1.05k|        return result;
20678|  1.05k|    }
_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|  2.64k|    {
20671|  2.64k|        NumberType result{};
20672|  2.64k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  2.64k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 2.64k, False: 0]
  ------------------
20674|  2.64k|        {
20675|  2.64k|            byte_swap(result);
20676|  2.64k|        }
20677|  2.64k|        return result;
20678|  2.64k|    }
_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|  6.99k|    {
23683|  6.99k|        const auto result = static_cast<number_float_t>(number);
23684|  6.99k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  13.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 6.99k]
  |  |  |  Branch (1697:94): [True: 6.95k, False: 36]
  |  |  |  Branch (1697:94): [True: 0, False: 6.95k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  6.99k|        return sax->number_float(result, no_source);
23689|  6.99k|    }
_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|  1.65k|    {
20671|  1.65k|        NumberType result{};
20672|  1.65k|        std::memcpy(&result, data, sizeof(NumberType));
20673|  1.65k|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 1.65k, False: 0]
  ------------------
20674|  1.65k|        {
20675|  1.65k|            byte_swap(result);
20676|  1.65k|        }
20677|  1.65k|        return result;
20678|  1.65k|    }
_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|  6.99k|    {
23546|  6.99k|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|  6.99k|        std::uint32_t bits{};
23548|  6.99k|        std::memcpy(&bits, &number, sizeof(bits));
23549|  6.99k|        bits = byteswap(bits);
23550|  6.99k|        std::memcpy(&number, &bits, sizeof(bits));
23551|  6.99k|    }
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEj:
 9157|  18.9k|{
 9158|  18.9k|#if defined(__GNUC__) || defined(__clang__)
 9159|  18.9k|    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|  18.9k|}
_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|    827|    {
20671|    827|        NumberType result{};
20672|    827|        std::memcpy(&result, data, sizeof(NumberType));
20673|    827|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 827, False: 0]
  ------------------
20674|    827|        {
20675|    827|            byte_swap(result);
20676|    827|        }
20677|    827|        return result;
20678|    827|    }
_ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castImjTnNSt3__19enable_ifIXntsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_:
 5203|   867k|{
 5204|   867k|    return static_cast<T>(value);
 5205|   867k|}
_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|  15.4k|    {
20657|  15.4k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  30.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 6, False: 15.3k]
  |  |  |  Branch (1697:94): [True: 0, False: 15.4k]
  |  |  |  Branch (1697:94): [True: 6, False: 15.3k]
  |  |  ------------------
  ------------------
20658|      6|        {
20659|      6|            return container_size_error(context);
20660|      6|        }
20661|  15.3k|        result = conditional_static_cast<std::size_t>(len);
20662|  15.3k|        return true;
20663|  15.4k|    }
_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_EEE20container_size_errorEPKc:
24007|      6|    {
24008|      6|        return sax->parse_error(chars_read, get_token_string(), out_of_range::create(exception_id::container_too_large,
24009|      6|                                exception_message(concat("excessive ", what, " size"), "size"), nullptr));
24010|      6|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA11_KcRPSA_RA6_SA_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_lengthIJPKcA6_cEEEmS4_DpRKT_:
 5441|     12|{
 5442|     12|    return ::strlen(cstr) + concat_length(rest...);
 5443|     12|}
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA6_cEEEmPKcDpRKT_:
 5441|     12|{
 5442|     12|    return ::strlen(cstr) + concat_length(rest...);
 5443|     12|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA11_KcJRPSA_RA6_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_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_9allocatorIcEEEERPKcJRA6_SA_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_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA6_KcJETnNS3_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_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|   434k|    {
19214|   434k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   434k|    }
_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|  86.5k|    {
19220|  86.5k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  86.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_EEE15unexpected_byteEPKcSP_:
24069|    279|    {
24070|    279|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|    279|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRPKcRA5_SA_S9_EEET_DpOT0_:
 5537|    558|{
 5538|    558|    OutStringType str;
 5539|    558|    str.reserve(concat_length(args...));
 5540|    558|    concat_into(str, std::forward<Args>(args)...);
 5541|    558|    return str;
 5542|    558|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthIJA5_cNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEmPKcDpRKT_:
 5441|    558|{
 5442|    558|    return ::strlen(cstr) + concat_length(rest...);
 5443|    558|}
_ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA5_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 5500|    558|{
 5501|    558|    out.append(std::forward<Arg>(arg));
 5502|    558|    concat_into(out, std::forward<Args>(rest)...);
 5503|    558|}
_ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castImmTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_:
 5209|  30.0k|{
 5210|  30.0k|    return value;
 5211|  30.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_EEE14get_half_floatEb:
23702|  22.0k|    {
23703|  22.0k|        const auto byte1_raw = get();
23704|  22.0k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  22.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 7, False: 22.0k]
  |  |  ------------------
  ------------------
23705|      7|        {
23706|      7|            return false;
23707|      7|        }
23708|  22.0k|        const auto byte2_raw = get();
23709|  22.0k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  22.0k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 22.0k]
  |  |  ------------------
  ------------------
23710|     19|        {
23711|     19|            return false;
23712|     19|        }
23713|       |
23714|  22.0k|        const auto byte1 = static_cast<unsigned char>(byte1_raw);
23715|  22.0k|        const auto byte2 = static_cast<unsigned char>(byte2_raw);
23716|       |
23717|       |        // Code from RFC 8949, Appendix D, Figure 3:
23718|       |        // As half-precision floating-point numbers were only added
23719|       |        // to IEEE 754 in 2008, today's programming platforms often
23720|       |        // still only have limited support for them. It is very
23721|       |        // easy to include at least decoding support for them even
23722|       |        // without such support. An example of a small decoder for
23723|       |        // half-precision floating-point numbers in the C language
23724|       |        // is shown in Fig. 3.
23725|  22.0k|        const auto half = little_endian
  ------------------
  |  Branch (23725:27): [True: 0, False: 22.0k]
  ------------------
23726|  22.0k|                          ? static_cast<unsigned int>((byte2 << 8u) + byte1)
23727|  22.0k|                          : static_cast<unsigned int>((byte1 << 8u) + byte2);
23728|  22.0k|        const double val = [&half]
23729|  22.0k|        {
23730|  22.0k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  22.0k|            const unsigned int mant = half & 0x3FFu;
23732|  22.0k|            JSON_ASSERT(exp <= 31);
23733|  22.0k|            JSON_ASSERT(mant <= 1023);
23734|  22.0k|            switch (exp)
23735|  22.0k|            {
23736|  22.0k|                case 0:
23737|  22.0k|                    return std::ldexp(mant, -24);
23738|  22.0k|                case 31:
23739|  22.0k|                    return (mant == 0)
23740|  22.0k|                    ? std::numeric_limits<double>::infinity()
23741|  22.0k|                    : std::numeric_limits<double>::quiet_NaN();
23742|  22.0k|                default:
23743|  22.0k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  22.0k|            }
23745|  22.0k|        }();
23746|  22.0k|        return sax->number_float((half & 0x8000u) != 0
  ------------------
  |  Branch (23746:34): [True: 13.3k, False: 8.71k]
  ------------------
23747|  22.0k|                                 ? static_cast<number_float_t>(-val)
23748|  22.0k|                                 : static_cast<number_float_t>(val), no_source);
23749|  22.0k|    }
_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_EEE14get_half_floatEbENKUlvE_clEv:
23729|  21.9k|        {
23730|  21.9k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  21.9k|            const unsigned int mant = half & 0x3FFu;
23732|  21.9k|            JSON_ASSERT(exp <= 31);
  ------------------
  |  | 2653|  21.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23732:13): [True: 21.9k, False: 0]
  ------------------
23733|  21.9k|            JSON_ASSERT(mant <= 1023);
  ------------------
  |  | 2653|  21.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23733:13): [True: 21.9k, False: 0]
  ------------------
23734|  21.9k|            switch (exp)
23735|  21.9k|            {
23736|  4.10k|                case 0:
  ------------------
  |  Branch (23736:17): [True: 4.10k, False: 17.8k]
  ------------------
23737|  4.10k|                    return std::ldexp(mant, -24);
23738|  3.64k|                case 31:
  ------------------
  |  Branch (23738:17): [True: 3.64k, False: 18.3k]
  ------------------
23739|  3.64k|                    return (mant == 0)
  ------------------
  |  Branch (23739:28): [True: 1.93k, False: 1.71k]
  ------------------
23740|  3.64k|                    ? std::numeric_limits<double>::infinity()
23741|  3.64k|                    : std::numeric_limits<double>::quiet_NaN();
23742|  14.2k|                default:
  ------------------
  |  Branch (23742:17): [True: 14.2k, False: 7.75k]
  ------------------
23743|  14.2k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  21.9k|            }
23745|  21.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_EEE14get_cbor_floatIfEEbv:
20135|  5.38k|    {
20136|  5.38k|        NumberType number{};
20137|  5.38k|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 5.34k, False: 45]
  |  Branch (20137:38): [True: 5.34k, False: 0]
  ------------------
20138|  5.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_EEE10get_numberIfLb0EEEbRT_:
23596|  5.38k|    {
23597|       |        // read in the original format
23598|       |
23599|  5.38k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  5.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 5.37k]
  |  |  ------------------
  ------------------
23600|     15|        {
23601|     15|            return false;
23602|     15|        }
23603|  5.37k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 5.34k, False: 30]
  |  Branch (23603:34): [Folded, False: 5.34k]
  |  Branch (23603:57): [True: 0, False: 5.34k]
  ------------------
23604|  5.34k|        {
23605|  5.34k|            byte_swap(result);
23606|  5.34k|        }
23607|  5.37k|        return true;
23608|  5.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_EEE6get_toIfEEbRT_PKc:
23503|  5.38k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  5.38k|        auto new_chars_read = ia.get_elements(&dest);
23507|  5.38k|        chars_read += new_chars_read;
23508|  5.38k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  5.38k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 45, False: 5.34k]
  |  |  ------------------
  ------------------
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|  5.34k|        return true;
23516|  5.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E12get_elementsIfEEmPT_m:
10326|  5.38k|    {
10327|  5.38k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  5.38k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E17get_elements_implIfEEmPT_mNSt3__117integral_constantIbLb1EEE:
10384|  5.38k|    {
10385|  5.38k|        const std::size_t wanted = count * sizeof(T);
10386|  5.38k|        const std::size_t available = remaining_count() * sizeof(char_type);
10387|  5.38k|        const std::size_t copied = (std::min)(wanted, available);
10388|  5.38k|        if (JSON_HEDLEY_LIKELY(copied != 0))
  ------------------
  |  | 1696|  5.38k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 5.36k, False: 21]
  |  |  ------------------
  ------------------
10389|  5.36k|        {
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|  5.36k|            JSON_ASSERT(copied <= wanted);    // does not overrun the destination
  ------------------
  |  | 2653|  5.36k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10393:13): [True: 5.36k, False: 0]
  ------------------
10394|  5.36k|            JSON_ASSERT(copied <= available); // does not read past the input end
  ------------------
  |  | 2653|  5.36k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (10394:13): [True: 5.36k, 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|  5.36k|            std::memcpy(dest, &*current, copied);
10398|  5.36k|            std::advance(current, static_cast<typename std::iterator_traits<IteratorType>::difference_type>(copied / sizeof(char_type)));
10399|  5.36k|        }
10400|  5.38k|        return copied;
10401|  5.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_EEE14get_cbor_floatIdEEbv:
20135|  3.30k|    {
20136|  3.30k|        NumberType number{};
20137|  3.30k|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 3.24k, False: 57]
  |  Branch (20137:38): [True: 3.24k, False: 0]
  ------------------
20138|  3.30k|    }
_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|  3.30k|    {
23597|       |        // read in the original format
23598|       |
23599|  3.30k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  3.30k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 3.28k]
  |  |  ------------------
  ------------------
23600|     19|        {
23601|     19|            return false;
23602|     19|        }
23603|  3.28k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 3.24k, False: 38]
  |  Branch (23603:34): [Folded, False: 3.24k]
  |  Branch (23603:57): [True: 0, False: 3.24k]
  ------------------
23604|  3.24k|        {
23605|  3.24k|            byte_swap(result);
23606|  3.24k|        }
23607|  3.28k|        return true;
23608|  3.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcEC2Ev:
 9400|  18.0k|    token_text_buffer() = default;
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcED2Ev:
 9416|  36.0k|    ~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|    990|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    990|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    990|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 288, False: 702]
  ------------------
24059|    990|    }
_ZN8nlohmann16json_abi_v3_12_06detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRKS9_RPKcRA16_SC_S9_EEET_DpOT0_:
 5537|  1.40k|{
 5538|  1.40k|    OutStringType str;
 5539|  1.40k|    str.reserve(concat_length(args...));
 5540|  1.40k|    concat_into(str, std::forward<Args>(args)...);
 5541|  1.40k|    return str;
 5542|  1.40k|} // LCOV_EXCL_LINE (exception cleanup only)
_ZN8nlohmann16json_abi_v3_12_06detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJPKcA16_cS9_EEEmRKT_DpRKT0_:
 5447|  1.40k|{
 5448|  1.40k|    return str.size() + concat_length(rest...);
 5449|  1.40k|}
_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.40k|{
 5501|  1.40k|    out.append(std::forward<Arg>(arg));
 5502|  1.40k|    concat_into(out, std::forward<Args>(rest)...);
 5503|  1.40k|}
_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.10M|    {
23489|  1.10M|        ++chars_read;
23490|  1.10M|        return current = ia.get_character();
23491|  1.10M|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_E13get_characterEv:
10272|  1.10M|    {
10273|  1.10M|        if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  1.10M|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 1.07M, False: 25.2k]
  |  |  ------------------
  ------------------
10274|  1.07M|        {
10275|  1.07M|            auto result = char_traits<char_type>::to_int_type(*current);
10276|  1.07M|            std::advance(current, 1);
10277|  1.07M|            return result;
10278|  1.07M|        }
10279|       |
10280|  25.2k|        ++eof_reads;
10281|  25.2k|        return char_traits<char_type>::eof();
10282|  1.10M|    }
_ZN8nlohmann16json_abi_v3_12_06detail11char_traitsIhE11to_int_typeEh:
 4453|  1.39M|    {
 4454|  1.39M|        return static_cast<int_type>(c);
 4455|  1.39M|    }
_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|  31.5k|        {
19135|  31.5k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 31.5k, False: 0]
  ------------------
19136|  31.5k|            {
19137|  31.5k|                parser->set_reserve_state(saved);
19138|  31.5k|            }
19139|  31.5k|        }
_ZN8nlohmann16json_abi_v3_12_06detail24json_sax_dom_error_state17set_reserve_stateERKNS2_13reserve_stateE:
16673|  58.6k|    {
16674|  58.6k|        input_position = state.position;
16675|  58.6k|        credit_position = state.position_at_refill;
16676|  58.6k|        reserve_credit = state.credit;
16677|  58.6k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ENS0_6detail7value_tE:
42516|   951k|        : m_data(stored_kind(v))
42517|   951k|    {
42518|   951k|        assert_invariant();
42519|   951k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE11stored_kindENS0_6detail7value_tE:
40726|   951k|    {
40727|   951k|        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: 951k]
  |  Branch (40727:77): [True: 0, False: 0]
  ------------------
40728|   951k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2ENS0_6detail7value_tE:
46514|   951k|            : m_type(v), m_value(v)
46515|   951k|        {
46516|   951k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ENS0_6detail7value_tE:
40813|   951k|        {
40814|   951k|            switch (t)
40815|   951k|            {
40816|   159k|                case value_t::object:
  ------------------
  |  Branch (40816:17): [True: 159k, False: 791k]
  ------------------
40817|   946k|                case value_t::array:
  ------------------
  |  Branch (40817:17): [True: 786k, False: 164k]
  ------------------
40818|   946k|                case value_t::string:
  ------------------
  |  Branch (40818:17): [True: 0, False: 951k]
  ------------------
40819|   946k|                case value_t::binary:
  ------------------
  |  Branch (40819:17): [True: 0, False: 951k]
  ------------------
40820|   946k|                {
40821|       |                    // allocating: kept out of line, so the scalar cases below inline
40822|   946k|                    init_owned(t);
40823|   946k|                    break;
40824|   946k|                }
40825|       |
40826|      0|                case value_t::boolean:
  ------------------
  |  Branch (40826:17): [True: 0, False: 951k]
  ------------------
40827|      0|                {
40828|      0|                    boolean = static_cast<boolean_t>(false);
40829|      0|                    break;
40830|   946k|                }
40831|       |
40832|      0|                case value_t::number_integer:
  ------------------
  |  Branch (40832:17): [True: 0, False: 951k]
  ------------------
40833|      0|                {
40834|      0|                    number_integer = static_cast<number_integer_t>(0);
40835|      0|                    break;
40836|   946k|                }
40837|       |
40838|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (40838:17): [True: 0, False: 951k]
  ------------------
40839|      0|                {
40840|      0|                    number_unsigned = static_cast<number_unsigned_t>(0);
40841|      0|                    break;
40842|   946k|                }
40843|       |
40844|      0|                case value_t::number_float:
  ------------------
  |  Branch (40844:17): [True: 0, False: 951k]
  ------------------
40845|      0|                {
40846|      0|                    number_float = static_cast<number_float_t>(0.0);
40847|      0|                    break;
40848|   946k|                }
40849|       |
40850|      0|                case value_t::null:
  ------------------
  |  Branch (40850:17): [True: 0, False: 951k]
  ------------------
40851|      0|                {
40852|      0|                    object = nullptr;  // silence warning, see #821
40853|      0|                    break;
40854|   946k|                }
40855|       |
40856|  4.55k|                case value_t::discarded:
  ------------------
  |  Branch (40856:17): [True: 4.55k, False: 946k]
  ------------------
40857|  4.55k|                default:
  ------------------
  |  Branch (40857:17): [True: 0, False: 951k]
  ------------------
40858|  4.55k|                {
40859|  4.55k|                    object = nullptr;  // silence warning, see #821
40860|  4.55k|                    if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
  ------------------
  |  | 1697|  4.55k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.55k]
  |  |  ------------------
  ------------------
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.55k|                    break;
40865|  4.55k|                }
40866|   951k|            }
40867|   951k|        }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value10init_ownedENS0_6detail7value_tE:
40871|   946k|        {
40872|   946k|            switch (t)
40873|   946k|            {
40874|   159k|                case value_t::object:
  ------------------
  |  Branch (40874:17): [True: 159k, False: 786k]
  ------------------
40875|   159k|                    object = create<object_t>();
40876|   159k|                    break;
40877|   786k|                case value_t::array:
  ------------------
  |  Branch (40877:17): [True: 786k, False: 159k]
  ------------------
40878|   786k|                    array = create<array_t>();
40879|   786k|                    break;
40880|      0|                case value_t::string:
  ------------------
  |  Branch (40880:17): [True: 0, False: 946k]
  ------------------
40881|      0|                    string = create<string_t>("");
40882|      0|                    break;
40883|      0|                case value_t::binary:
  ------------------
  |  Branch (40883:17): [True: 0, False: 946k]
  ------------------
40884|      0|                    binary = create<binary_t>();
40885|      0|                    break;
40886|      0|                case value_t::null: // LCOV_EXCL_LINE
  ------------------
  |  Branch (40886:17): [True: 0, False: 946k]
  ------------------
40887|      0|                case value_t::boolean:
  ------------------
  |  Branch (40887:17): [True: 0, False: 946k]
  ------------------
40888|      0|                case value_t::number_integer:
  ------------------
  |  Branch (40888:17): [True: 0, False: 946k]
  ------------------
40889|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (40889:17): [True: 0, False: 946k]
  ------------------
40890|      0|                case value_t::number_float:
  ------------------
  |  Branch (40890:17): [True: 0, False: 946k]
  ------------------
40891|      0|                case value_t::discarded:
  ------------------
  |  Branch (40891:17): [True: 0, False: 946k]
  ------------------
40892|      0|                default:
  ------------------
  |  Branch (40892:17): [True: 0, False: 946k]
  ------------------
40893|      0|                    break; // LCOV_EXCL_LINE
40894|   946k|            }
40895|   946k|        }
_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|   159k|    {
40735|   159k|        AllocatorType<T> alloc;
40736|   159k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   159k|        auto deleter = [&](T * obj)
40739|   159k|        {
40740|   159k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   159k|        };
40742|   159k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   159k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   159k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   159k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 159k, False: 0]
  ------------------
40745|   159k|        return obj.release();
40746|   159k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS4_ISE_NS8_ISE_EEEEJEEEPT_DpOT0_:
40734|   786k|    {
40735|   786k|        AllocatorType<T> alloc;
40736|   786k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
40737|       |
40738|   786k|        auto deleter = [&](T * obj)
40739|   786k|        {
40740|   786k|            AllocatorTraits::deallocate(alloc, obj, 1);
40741|   786k|        };
40742|   786k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
40743|   786k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
40744|   786k|        JSON_ASSERT(obj);
  ------------------
  |  | 2653|   786k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (40744:9): [True: 786k, False: 0]
  ------------------
40745|   786k|        return obj.release();
40746|   786k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEaSESE_:
42928|   279k|    {
42929|       |        // check that the passed value is valid
42930|   279k|        other.assert_invariant();
42931|       |
42932|   279k|        using std::swap;
42933|   279k|        swap(m_data.m_type, other.m_data.m_type);
42934|   279k|        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|   279k|        json_base_class_t::operator=(std::move(other));
42942|       |
42943|   279k|        set_parents();
42944|   279k|        assert_invariant();
42945|   279k|        return *this;
42946|   279k|    }
_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|  31.5k|    ~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|  31.5k|    ~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|  22.5k|{
10853|  22.5k|    return input_adapter(container.data(), container.data() + container.size());
10854|  22.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterIPKhS4_vEENS1_30iterator_input_adapter_factoryIT_T0_vE12adapter_typeES6_S7_:
10755|  31.5k|{
10756|  31.5k|    using factory_type = iterator_input_adapter_factory<IteratorType, SentinelType>;
10757|  31.5k|    return factory_type::create(first, last);
10758|  31.5k|}
_ZN8nlohmann16json_abi_v3_12_06detail30iterator_input_adapter_factoryIPKhS4_vE6createES4_S4_:
10617|  31.5k|    {
10618|  31.5k|        return adapter_type(std::move(first), std::move(last));
10619|  31.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterIPKhS4_EC2ES4_S4_:
10268|  31.5k|        : begin(first), current(std::move(first)), end(std::move(last))
10269|  31.5k|    {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE7to_cborERKSE_NS0_6detail15error_handler_tE:
46598|  8.93k|    {
46599|  8.93k|        return to_binary_vector(j, error_handler, [&](vector_binary_writer<std::uint8_t>& w)
46600|  8.93k|        {
46601|  8.93k|            w.write_cbor(j);
46602|  8.93k|        });
46603|  8.93k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16to_binary_vectorIZNSE_7to_cborERKSE_NS0_6detail15error_handler_tEEUlRNSI_13binary_writerISE_hNSI_18output_vector_sinkIhSC_EEEEE_EESD_SH_SJ_T_:
43400|  8.93k|    {
43401|  8.93k|        std::vector<std::uint8_t> result;
43402|  8.93k|        result.reserve(detail::binary_initial_capacity(j));
43403|  8.93k|        {
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|  8.93k|            auto writer = vector_writer(result, error_handler);
43407|  8.93k|            write(writer);
43408|  8.93k|        }
43409|  8.93k|        return result;
43410|  8.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail23binary_initial_capacityINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEmRKT_:
30426|  8.93k|{
30427|  8.93k|    return (std::max)(binary_reserve_hint(j), min_vector_sink_capacity);
30428|  8.93k|}
_ZN8nlohmann16json_abi_v3_12_06detail19binary_reserve_hintINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEmRKT_:
30401|  8.93k|{
30402|  8.93k|    if (j.is_array())
  ------------------
  |  Branch (30402:9): [True: 5.02k, False: 3.90k]
  ------------------
30403|  5.02k|    {
30404|  5.02k|        return j.size() + 1;
30405|  5.02k|    }
30406|       |
30407|  3.90k|    if (j.is_object())
  ------------------
  |  Branch (30407:9): [True: 574, False: 3.33k]
  ------------------
30408|    574|    {
30409|    574|        return (j.size() * 2) + 1;
30410|    574|    }
30411|       |
30412|  3.33k|    return 0;
30413|  3.90k|}
_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|  8.93k|    {
40417|  8.93k|        return vector_binary_writer<CharType>(::nlohmann::detail::output_vector_sink<CharType>(v), error_handler);
40418|  8.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEEC2ERNS3_6vectorIhS5_EE:
29861|  8.93k|        : v(&vec), cursor(vec.data() + vec.size()), limit(cursor)
29862|  8.93k|    {}
_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|  8.93k|        : oa(std::move(sink)), error_handler(error_handler_)
30459|  8.93k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEEC2EOS6_:
29869|  8.93k|        : v(other.v), cursor(other.cursor), limit(other.limit)
29870|  8.93k|    {
29871|  8.93k|        other.v = nullptr;
29872|  8.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEED2Ev:
29875|  17.8k|    {
29876|  17.8k|        if (v != nullptr)
  ------------------
  |  Branch (29876:13): [True: 8.93k, False: 8.93k]
  ------------------
29877|  8.93k|        {
29878|  8.93k|            v->resize(position());
29879|  8.93k|        }
29880|  17.8k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE8positionEv:
29978|  24.5k|    {
29979|  24.5k|        return static_cast<std::size_t>(cursor - v->data());
29980|  24.5k|    }
_ZZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE7to_cborERKSE_NS0_6detail15error_handler_tEENKUlRNSH_13binary_writerISE_hNSH_18output_vector_sinkIhSC_EEEEE_clESN_:
46600|  8.93k|        {
46601|  8.93k|            w.write_cbor(j);
46602|  8.93k|        });
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE10write_cborERKSG_m:
30545|   190k|    {
30546|   190k|        if (JSON_HEDLEY_UNLIKELY(depth >= recursion_depth_limit()) && (j.is_array() || j.is_object()))
  ------------------
  |  | 1697|   381k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 5.95k, False: 184k]
  |  |  ------------------
  ------------------
  |  Branch (30546:72): [True: 1.53k, False: 4.42k]
  |  Branch (30546:88): [True: 2.61k, False: 1.81k]
  ------------------
30547|  4.14k|        {
30548|  4.14k|            write_cbor_iterative(j);
30549|  4.14k|            return;
30550|  4.14k|        }
30551|       |
30552|   186k|        switch (j.type())
30553|   186k|        {
30554|  1.29k|            case value_t::null:
  ------------------
  |  Branch (30554:13): [True: 1.29k, False: 185k]
  ------------------
30555|  1.29k|            {
30556|  1.29k|                oa.write_character(to_char_type(0xF6));
30557|  1.29k|                break;
30558|      0|            }
30559|       |
30560|  2.65k|            case value_t::boolean:
  ------------------
  |  Branch (30560:13): [True: 2.65k, False: 184k]
  ------------------
30561|  2.65k|            {
30562|  2.65k|                oa.write_character(j.m_data.m_value.boolean
  ------------------
  |  Branch (30562:36): [True: 1.05k, False: 1.60k]
  ------------------
30563|  2.65k|                                   ? to_char_type(0xF5)
30564|  2.65k|                                   : to_char_type(0xF4));
30565|  2.65k|                break;
30566|      0|            }
30567|       |
30568|  2.60k|            case value_t::number_integer:
  ------------------
  |  Branch (30568:13): [True: 2.60k, False: 184k]
  ------------------
30569|  5.65k|            case value_t::number_unsigned:
  ------------------
  |  Branch (30569:13): [True: 3.04k, False: 183k]
  ------------------
30570|  5.65k|            {
30571|       |                // one case for both, so that an array mixing negative
30572|       |                // (number_integer) and non-negative (number_unsigned) values
30573|       |                // does not mispredict the switch
30574|  5.65k|                write_cbor_integer(j, std::integral_constant<bool, integers_fit_64_bits()>());
30575|  5.65k|                break;
30576|  2.60k|            }
30577|       |
30578|  3.38k|            case value_t::number_float:
  ------------------
  |  Branch (30578:13): [True: 3.38k, False: 183k]
  ------------------
30579|  3.38k|            {
30580|  3.38k|                if (std::isnan(j.m_data.m_value.number_float))
  ------------------
  |  Branch (30580:21): [True: 276, False: 3.11k]
  ------------------
30581|    276|                {
30582|       |                    // NaN is 0xf97e00 in CBOR
30583|    276|                    oa.write_character(to_char_type(0xF9));
30584|    276|                    oa.write_character(to_char_type(0x7E));
30585|    276|                    oa.write_character(to_char_type(0x00));
30586|    276|                }
30587|  3.11k|                else if (std::isinf(j.m_data.m_value.number_float))
  ------------------
  |  Branch (30587:26): [True: 246, False: 2.86k]
  ------------------
30588|    246|                {
30589|       |                    // Infinity is 0xf97c00, -Infinity is 0xf9fc00
30590|    246|                    oa.write_character(to_char_type(0xf9));
30591|    246|                    oa.write_character(j.m_data.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC));
  ------------------
  |  Branch (30591:40): [True: 112, False: 134]
  ------------------
30592|    246|                    oa.write_character(to_char_type(0x00));
30593|    246|                }
30594|  2.86k|                else
30595|  2.86k|                {
30596|  2.86k|                    write_compact_float(j.m_data.m_value.number_float, to_char_type(0xFA), to_char_type(0xFB));
30597|  2.86k|                }
30598|  3.38k|                break;
30599|  2.60k|            }
30600|       |
30601|  12.5k|            case value_t::string:
  ------------------
  |  Branch (30601:13): [True: 12.5k, False: 174k]
  ------------------
30602|  12.5k|            {
30603|  12.5k|                write_cbor_string(*j.m_data.m_value.string, j);
30604|  12.5k|                break;
30605|  2.60k|            }
30606|       |
30607|   106k|            case value_t::array:
  ------------------
  |  Branch (30607:13): [True: 106k, False: 80.6k]
  ------------------
30608|   106k|            {
30609|   106k|                write_cbor_array(j, depth);
30610|   106k|                break;
30611|  2.60k|            }
30612|       |
30613|  43.5k|            case value_t::binary:
  ------------------
  |  Branch (30613:13): [True: 43.5k, False: 143k]
  ------------------
30614|  43.5k|            {
30615|  43.5k|                if (j.m_data.m_value.binary->has_subtype())
  ------------------
  |  Branch (30615:21): [True: 0, False: 43.5k]
  ------------------
30616|      0|                {
30617|       |                    // The subtype is always written as a tag with a 0xD8..0xDB
30618|       |                    // head, never in the one-byte form 0xC0..0xD7 that CBOR
30619|       |                    // allows for tags 0..23 (so this is not write_cbor_head).
30620|       |                    // binary_reader with cbor_tag_handler_t::store only turns
30621|       |                    // 0xD8..0xDB into a subtype and ignores the one-byte tags,
30622|       |                    // so the shorter form would lose subtypes 0..23 on a round
30623|       |                    // trip.
30624|      0|                    if (j.m_data.m_value.binary->subtype() <= (std::numeric_limits<std::uint8_t>::max)())
  ------------------
  |  Branch (30624:25): [True: 0, False: 0]
  ------------------
30625|      0|                    {
30626|      0|                        write_number(static_cast<std::uint8_t>(0xd8));
30627|      0|                        write_number(static_cast<std::uint8_t>(j.m_data.m_value.binary->subtype()));
30628|      0|                    }
30629|      0|                    else if (j.m_data.m_value.binary->subtype() <= (std::numeric_limits<std::uint16_t>::max)())
  ------------------
  |  Branch (30629:30): [True: 0, False: 0]
  ------------------
30630|      0|                    {
30631|      0|                        write_number(static_cast<std::uint8_t>(0xd9));
30632|      0|                        write_number(static_cast<std::uint16_t>(j.m_data.m_value.binary->subtype()));
30633|      0|                    }
30634|      0|                    else if (j.m_data.m_value.binary->subtype() <= (std::numeric_limits<std::uint32_t>::max)())
  ------------------
  |  Branch (30634:30): [True: 0, False: 0]
  ------------------
30635|      0|                    {
30636|      0|                        write_number(static_cast<std::uint8_t>(0xda));
30637|      0|                        write_number(static_cast<std::uint32_t>(j.m_data.m_value.binary->subtype()));
30638|      0|                    }
30639|      0|                    else
30640|      0|                    {
30641|      0|                        write_number(static_cast<std::uint8_t>(0xdb));
30642|      0|                        write_number(static_cast<std::uint64_t>(j.m_data.m_value.binary->subtype()));
30643|      0|                    }
30644|      0|                }
30645|       |
30646|       |                // step 1: write control byte and the binary array size
30647|  43.5k|                const auto N = j.m_data.m_value.binary->size();
30648|  43.5k|                write_cbor_head(0x40, N);
30649|       |
30650|       |                // step 2: write each element
30651|  43.5k|                write_bytes(j.m_data.m_value.binary->data(), N);
30652|       |
30653|  43.5k|                break;
30654|  2.60k|            }
30655|       |
30656|  11.6k|            case value_t::object:
  ------------------
  |  Branch (30656:13): [True: 11.6k, False: 175k]
  ------------------
30657|  11.6k|            {
30658|  11.6k|                write_cbor_object(j, depth);
30659|  11.6k|                break;
30660|  2.60k|            }
30661|       |
30662|      0|            case value_t::discarded:
  ------------------
  |  Branch (30662:13): [True: 0, False: 186k]
  ------------------
30663|      0|            default:
  ------------------
  |  Branch (30663:13): [True: 0, False: 186k]
  ------------------
30664|      0|                throw_on_discarded(j, input_format_t::cbor);
30665|   186k|        }
30666|   186k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE20write_cbor_iterativeERKSG_:
31499|  4.14k|    {
31500|  4.14k|        write_container_iterative<cbor_walk>(root);
31501|  4.14k|    }
_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_9cbor_walkEEEvRKSG_:
31456|  4.14k|    {
31457|       |        // only a container with elements is ever pushed; see write_container_value_or_push
31458|  4.14k|        std::vector<binary_container_frame> stack;
31459|  4.14k|        write_container_value_or_push<Walk>(root, stack);
31460|       |
31461|   152k|        while (!stack.empty())
  ------------------
  |  Branch (31461:16): [True: 148k, False: 4.14k]
  ------------------
31462|   148k|        {
31463|   148k|            const binary_container_frame current = stack.back();
31464|       |
31465|   148k|            if (current.value->is_array())
  ------------------
  |  Branch (31465:17): [True: 121k, False: 27.1k]
  ------------------
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.7k, False: 64.3k]
  ------------------
31469|  56.7k|                {
31470|  56.7k|                    stack.pop_back();
31471|  56.7k|                    continue;
31472|  56.7k|                }
31473|       |
31474|       |                // read the child before pushing: entering it can move every frame
31475|  64.3k|                const BasicJsonType* child = &(*current.array_it);
31476|  64.3k|                ++stack.back().array_it;
31477|  64.3k|                write_container_value_or_push<Walk>(*child, stack);
31478|  64.3k|            }
31479|  27.1k|            else
31480|  27.1k|            {
31481|  27.1k|                const auto& object = *current.value->m_data.m_value.object;
31482|  27.1k|                if (current.object_it == object.cend())
  ------------------
  |  Branch (31482:21): [True: 12.0k, False: 15.1k]
  ------------------
31483|  12.0k|                {
31484|  12.0k|                    stack.pop_back();
31485|  12.0k|                    continue;
31486|  12.0k|                }
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|  15.1k|                Walk::key(*this, current.object_it->first, *current.value);
31491|  15.1k|                const BasicJsonType* child = &(current.object_it->second);
31492|  15.1k|                ++stack.back().object_it;
31493|  15.1k|                write_container_value_or_push<Walk>(*child, stack);
31494|  15.1k|            }
31495|   148k|        }
31496|  4.14k|    }
_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_9cbor_walkEEEvRKSG_RNS6_INSJ_22binary_container_frameENSA_ISO_EEEE:
31419|  83.6k|    {
31420|  83.6k|        if (j.is_array())
  ------------------
  |  Branch (31420:13): [True: 58.7k, False: 24.9k]
  ------------------
31421|  58.7k|        {
31422|  58.7k|            Walk::array_head(*this, j);
31423|  58.7k|            if (!j.m_data.m_value.array->empty())
  ------------------
  |  Branch (31423:17): [True: 56.7k, False: 1.99k]
  ------------------
31424|  56.7k|            {
31425|  56.7k|                stack.emplace_back(&j);
31426|  56.7k|            }
31427|  58.7k|            return;
31428|  58.7k|        }
31429|       |
31430|  24.9k|        if (j.is_object())
  ------------------
  |  Branch (31430:13): [True: 15.4k, False: 9.55k]
  ------------------
31431|  15.4k|        {
31432|  15.4k|            Walk::object_head(*this, j);
31433|  15.4k|            if (!j.m_data.m_value.object->empty())
  ------------------
  |  Branch (31433:17): [True: 12.0k, False: 3.39k]
  ------------------
31434|  12.0k|            {
31435|  12.0k|                stack.emplace_back(&j);
31436|  12.0k|            }
31437|  15.4k|            return;
31438|  15.4k|        }
31439|       |
31440|  9.55k|        Walk::scalar(*this, j);
31441|  9.55k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE9cbor_walk10array_headERSJ_RKSG_:
31351|  58.7k|        {
31352|  58.7k|            w.write_cbor_head(0x80, j.m_data.m_value.array->size());
31353|  58.7k|        }
_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|  68.7k|            : value(value_)
31316|  68.7k|        {
31317|  68.7k|            if (value->is_object())
  ------------------
  |  Branch (31317:17): [True: 12.0k, False: 56.7k]
  ------------------
31318|  12.0k|            {
31319|  12.0k|                object_it = value->m_data.m_value.object->cbegin();
31320|  12.0k|            }
31321|  56.7k|            else
31322|  56.7k|            {
31323|  56.7k|                array_it = value->m_data.m_value.array->cbegin();
31324|  56.7k|            }
31325|  68.7k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE9cbor_walk11object_headERSJ_RKSG_:
31356|  15.4k|        {
31357|  15.4k|            w.write_cbor_head(0xA0, j.m_data.m_value.object->size());
31358|  15.4k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE9cbor_walk6scalarERSJ_RKSG_:
31361|  9.55k|        {
31362|  9.55k|            w.write_cbor(j);
31363|  9.55k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE9cbor_walk3keyISC_EEvRSJ_RKT_RKSG_:
31372|  15.1k|        {
31373|  15.1k|            w.write_cbor_key(k, object);
31374|  15.1k|        }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE14write_cbor_keyERKSC_RKSG_:
33629|  31.3k|    {
33630|  31.3k|        write_object_key<cbor_walk>(key, context);
33631|  31.3k|    }
_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_9cbor_walkESC_TnNS4_9enable_ifIXsr3std14is_convertibleIT0_SC_EE5valueEiE4typeELi0EEEvRKSC_RKSG_:
33616|  31.3k|    {
33617|  31.3k|        Walk::string(*this, key, context);
33618|  31.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE9cbor_walk6stringERSJ_RKSC_RKSG_:
31366|  31.3k|        {
31367|  31.3k|            w.write_cbor_string(key, context);
31368|  31.3k|        }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4typeEv:
42997|   203k|    {
42998|   203k|        return m_data.m_type;
42999|   203k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE15write_characterEh:
29886|   127k|    {
29887|   127k|        if (JSON_HEDLEY_UNLIKELY(cursor == limit))
  ------------------
  |  | 1697|   127k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 7.67k, False: 120k]
  |  |  ------------------
  ------------------
29888|  7.67k|        {
29889|  7.67k|            grow(1);
29890|  7.67k|        }
29891|   127k|        *cursor++ = c;
29892|   127k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE4growEm:
29993|  15.5k|    {
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|  15.5k|        const std::size_t written = position();
29998|  15.5k|        const std::size_t needed = written + length;
29999|  15.5k|        const std::size_t capacity = (std::max)(min_vector_sink_capacity, needed <= v->capacity()
  ------------------
  |  Branch (29999:75): [True: 8.90k, False: 6.60k]
  ------------------
30000|  15.5k|                                                ? v->capacity()
30001|  15.5k|                                                : (std::max)(needed, v->capacity() * 2));
30002|  15.5k|        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|  15.5k|        v->resize((std::min)(capacity, (std::max)(needed, written + vector_sink_window)));
30010|  15.5k|        cursor = v->data() + written;
30011|  15.5k|        limit = v->data() + v->size();
30012|  15.5k|    }
_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|   241k|    {
35773|   241k|        return x;
35774|   241k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE18write_cbor_integerERKSG_NS4_17integral_constantIbLb1EEE:
33346|  11.1k|    {
33347|  11.1k|        oa.commit(encode_cbor_integer(oa.reserve(integer_encoding_space), j));
33348|  11.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE6commitEm:
29942|  65.5k|    {
29943|  65.5k|        cursor += length;
29944|  65.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE19encode_cbor_integerEPhRKSG_:
33388|  39.9k|    {
33389|  39.9k|        std::uint64_t sign_mask = 0;
33390|  39.9k|        const std::uint64_t raw = integer_bits(j, sign_mask);
33391|       |        // ~raw is -1 - n in the 64 bits that are written
33392|  39.9k|        return encode_cbor_integer_head(out, static_cast<std::uint8_t>(sign_mask & 0x20u), raw ^ sign_mask);
33393|  39.9k|    }
_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|  39.9k|    {
33141|  39.9k|        const bool is_signed = j.m_data.m_type == value_t::number_integer;
33142|  39.9k|        const std::uint64_t raw = is_signed
  ------------------
  |  Branch (33142:35): [True: 14.0k, False: 25.9k]
  ------------------
33143|  39.9k|                                  ? static_cast<std::uint64_t>(j.m_data.m_value.number_integer)
33144|  39.9k|                                  : static_cast<std::uint64_t>(j.m_data.m_value.number_unsigned);
33145|  39.9k|        sign_mask = (std::uint64_t{0} - static_cast<std::uint64_t>(is_signed)) & (std::uint64_t{0} - (raw >> 63u));
33146|  39.9k|        return raw;
33147|  39.9k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE24encode_cbor_integer_headEPhhm:
33159|  39.9k|    {
33160|       |        // an argument of at most 23 is in size class 1 (one byte) and is moved
33161|       |        // to class 0, the first byte, by subtracting 1
33162|  39.9k|        const auto is_immediate = static_cast<unsigned>(argument <= 0x17u);
33163|  39.9k|        const unsigned size_class = integer_size_class(argument) - is_immediate;
33164|       |
33165|       |        // the first byte: the argument itself if it is immediate, else
33166|       |        // 0x17 + size_class, selected through a mask
33167|  39.9k|        const std::uint64_t immediate_mask = std::uint64_t{0} - is_immediate;
33168|  39.9k|        const auto first_byte = static_cast<std::uint8_t>(major_type + ((argument & immediate_mask) | ((0x17u + size_class) & ~immediate_mask)));
33169|  39.9k|        return encode_first_byte_and_tail(out, first_byte, size_class, argument);
33170|  39.9k|    }
_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|  39.9k|    {
33090|  39.9k|        static constexpr std::array<std::uint8_t, 64> size_class_by_leading_zeros =
33091|  39.9k|        {
33092|  39.9k|            {
33093|  39.9k|                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|  39.9k|                3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
33095|  39.9k|                2, 2, 2, 2, 2, 2, 2, 2,
33096|  39.9k|                1, 1, 1, 1, 1, 1, 1, 1
33097|  39.9k|            }
33098|  39.9k|        };
33099|       |        // x | 1 keeps count_leading_zeros() away from 0
33100|  39.9k|        return size_class_by_leading_zeros[static_cast<std::size_t>(count_leading_zeros(x | 1u))];
33101|  39.9k|    }
_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|  39.9k|    {
33117|  39.9k|        out[0] = to_char_type(first_byte);
33118|  39.9k|        const unsigned unused_bits = 64u - ((8u << size_class) >> 1u);
33119|  39.9k|        const std::uint64_t tail = is_little_endian ? byteswap(value) >> unused_bits : value << unused_bits;
  ------------------
  |  Branch (33119:36): [True: 39.9k, False: 0]
  ------------------
33120|  39.9k|        std::memcpy(out + 1, &tail, sizeof(tail));
33121|  39.9k|        return ((std::size_t{1} << size_class) >> 1u) + 1;
33122|  39.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE7reserveEm:
29930|  65.5k|    {
29931|  65.5k|        JSON_ASSERT(length <= max_reserve_size);
  ------------------
  |  | 2653|  65.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (29931:9): [True: 65.5k, False: 0]
  ------------------
29932|  65.5k|        if (JSON_HEDLEY_UNLIKELY(space() < length))
  ------------------
  |  | 1697|  65.5k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 6.81k, False: 58.7k]
  |  |  ------------------
  ------------------
29933|  6.81k|        {
29934|  6.81k|            grow(length);
29935|  6.81k|        }
29936|  65.5k|        return cursor;
29937|  65.5k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE5spaceEv:
29984|   231k|    {
29985|   231k|        return static_cast<std::size_t>(limit - cursor);
29986|   231k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE19write_compact_floatEdhh:
35722|  2.86k|    {
35723|  2.86k|        if (fits_float32(n))
  ------------------
  |  Branch (35723:13): [True: 2.15k, False: 708]
  ------------------
35724|  2.15k|        {
35725|  2.15k|            oa.write_character(float32_marker);
35726|  2.15k|            write_number(static_cast<float>(n));
35727|  2.15k|        }
35728|    708|        else
35729|    708|        {
35730|    708|            oa.write_character(float64_marker);
35731|    708|            write_number(n);
35732|    708|        }
35733|  2.86k|    }
_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|  11.7k|    {
35656|  11.7k|        static_assert(std::is_same<number_float_t, float>::value || std::is_same<number_float_t, double>::value,
35657|  11.7k|                      "number_float_t must be float or double for the CBOR/MessagePack/BON8 writer");
35658|  11.7k|#ifdef __GNUC__
35659|  11.7k|        JSON_HEDLEY_DIAGNOSTIC_PUSH
35660|  11.7k|        JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wfloat-equal")
35661|  11.7k|#endif
35662|       |#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ >= 7)
35663|       |        JSON_HEDLEY_PRAGMA(GCC diagnostic ignored "-Wduplicated-branches")
35664|       |#endif
35665|  11.7k|        return !std::isfinite(n) || ((static_cast<double>(n) >= static_cast<double>(std::numeric_limits<float>::lowest()) &&
  ------------------
  |  Branch (35665:16): [True: 0, False: 11.7k]
  |  Branch (35665:39): [True: 11.4k, False: 360]
  ------------------
35666|  11.4k|                                      static_cast<double>(n) <= static_cast<double>((std::numeric_limits<float>::max)()) &&
  ------------------
  |  Branch (35666:39): [True: 11.2k, False: 144]
  ------------------
35667|  11.2k|                                      static_cast<double>(static_cast<float>(n)) == static_cast<double>(n)));
  ------------------
  |  Branch (35667:39): [True: 9.95k, False: 1.33k]
  ------------------
35668|  11.7k|#ifdef __GNUC__
35669|  11.7k|        JSON_HEDLEY_DIAGNOSTIC_POP
35670|  11.7k|#endif
35671|  11.7k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12write_numberIfEEvT_b:
35638|  2.15k|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|  2.15k|        std::array<CharType, sizeof(NumberType)> vec{};
35641|  2.15k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|  2.15k|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 2.15k, False: 0]
  ------------------
35645|  2.15k|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|  2.15k|            reverse_bytes(vec);
35648|  2.15k|        }
35649|       |
35650|  2.15k|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|  2.15k|    }
_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|  9.95k|    {
35609|  9.95k|        byte_swap_buffer<std::uint32_t>(a);
35610|  9.95k|    }
_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|  9.95k|    {
35593|  9.95k|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|  9.95k|        UIntType v{};
35595|  9.95k|        std::memcpy(&v, a.data(), sizeof(v));
35596|  9.95k|        v = byteswap(v);
35597|  9.95k|        std::memcpy(a.data(), &v, sizeof(v));
35598|  9.95k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE16write_charactersEPKhm:
29899|   165k|    {
29900|   165k|        if (JSON_HEDLEY_UNLIKELY(space() < length))
  ------------------
  |  | 1697|   165k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1.10k, False: 164k]
  |  |  ------------------
  ------------------
29901|  1.10k|        {
29902|  1.10k|            if (length >= max_reserve_size)
  ------------------
  |  Branch (29902:17): [True: 90, False: 1.01k]
  ------------------
29903|     90|            {
29904|     90|                append(s, length);
29905|     90|                return;
29906|     90|            }
29907|  1.01k|            grow(length);
29908|  1.01k|        }
29909|   165k|        if (length <= 32)
  ------------------
  |  Branch (29909:13): [True: 165k, False: 58]
  ------------------
29910|   165k|        {
29911|   165k|            copy_short(cursor, s, length, std::integral_constant<bool, sizeof(CharType) == 1>());
29912|   165k|            cursor += length;
29913|   165k|        }
29914|     58|        else
29915|     58|        {
29916|     58|            std::memcpy(cursor, s, length * sizeof(CharType));
29917|     58|            cursor += length;
29918|     58|        }
29919|   165k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18output_vector_sinkIhNSt3__19allocatorIhEEE6appendEPKhm:
30020|     90|    {
30021|     90|        const std::size_t written = position();
30022|     90|        v->resize(written);
30023|     90|        if (v->capacity() - written < length)
  ------------------
  |  Branch (30023:13): [True: 90, False: 0]
  ------------------
30024|     90|        {
30025|       |            // grow geometrically, with room for the writes that follow, so
30026|       |            // that the next grow() need not reallocate right away
30027|     90|            v->reserve((std::max)(v->capacity() * 2, written + length + max_reserve_size));
30028|     90|        }
30029|     90|        v->insert(v->end(), s, s + length);
30030|     90|        cursor = v->data() + v->size();
30031|     90|        limit = cursor;
30032|     90|    }
_ZN8nlohmann16json_abi_v3_12_06detail10copy_shortIhEEvPT_PKS3_mNSt3__117integral_constantIbLb1EEE:
29782|   210k|{
29783|   210k|    JSON_ASSERT(length <= 32);
  ------------------
  |  | 2653|   210k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (29783:5): [True: 210k, False: 0]
  ------------------
29784|   210k|    if (length >= 16)
  ------------------
  |  Branch (29784:9): [True: 2.16k, False: 208k]
  ------------------
29785|  2.16k|    {
29786|  2.16k|        std::array<char, 16> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29787|  2.16k|        std::array<char, 16> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29788|  2.16k|        std::memcpy(first.data(), src, 16);
29789|  2.16k|        std::memcpy(last.data(), src + (length - 16), 16);
29790|  2.16k|        std::memcpy(dst, first.data(), 16);
29791|  2.16k|        std::memcpy(dst + (length - 16), last.data(), 16);
29792|  2.16k|    }
29793|   208k|    else if (length >= 8)
  ------------------
  |  Branch (29793:14): [True: 3.60k, False: 204k]
  ------------------
29794|  3.60k|    {
29795|  3.60k|        std::array<char, 8> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29796|  3.60k|        std::array<char, 8> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29797|  3.60k|        std::memcpy(first.data(), src, 8);
29798|  3.60k|        std::memcpy(last.data(), src + (length - 8), 8);
29799|  3.60k|        std::memcpy(dst, first.data(), 8);
29800|  3.60k|        std::memcpy(dst + (length - 8), last.data(), 8);
29801|  3.60k|    }
29802|   204k|    else if (length >= 4)
  ------------------
  |  Branch (29802:14): [True: 5.85k, False: 198k]
  ------------------
29803|  5.85k|    {
29804|  5.85k|        std::array<char, 4> first; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29805|  5.85k|        std::array<char, 4> last; // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init): written before read
29806|  5.85k|        std::memcpy(first.data(), src, 4);
29807|  5.85k|        std::memcpy(last.data(), src + (length - 4), 4);
29808|  5.85k|        std::memcpy(dst, first.data(), 4);
29809|  5.85k|        std::memcpy(dst + (length - 4), last.data(), 4);
29810|  5.85k|    }
29811|   198k|    else if (length != 0)
  ------------------
  |  Branch (29811:14): [True: 135k, False: 63.2k]
  ------------------
29812|   135k|    {
29813|       |        // 1 to 3: the first, the middle, and the last character
29814|   135k|        const CharType a = src[0];
29815|   135k|        const CharType b = src[length >> 1];
29816|   135k|        const CharType c = src[length - 1];
29817|   135k|        dst[0] = a;
29818|   135k|        dst[length >> 1] = b;
29819|   135k|        dst[length - 1] = c;
29820|   135k|    }
29821|   210k|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE12write_numberIdEEvT_b:
35638|    708|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|    708|        std::array<CharType, sizeof(NumberType)> vec{};
35641|    708|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|    708|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 708, False: 0]
  ------------------
35645|    708|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|    708|            reverse_bytes(vec);
35648|    708|        }
35649|       |
35650|    708|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|    708|    }
_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|  1.83k|    {
35614|  1.83k|        byte_swap_buffer<std::uint64_t>(a);
35615|  1.83k|    }
_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|  1.83k|    {
35593|  1.83k|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|  1.83k|        UIntType v{};
35595|  1.83k|        std::memcpy(&v, a.data(), sizeof(v));
35596|  1.83k|        v = byteswap(v);
35597|  1.83k|        std::memcpy(a.data(), &v, sizeof(v));
35598|  1.83k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE17write_cbor_stringERKSC_RKSG_:
33691|  45.4k|    {
33692|  45.4k|        if (JSON_HEDLEY_LIKELY(error_handler == error_handler_t::keep))
  ------------------
  |  | 1696|  45.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 45.4k, False: 0]
  |  |  ------------------
  ------------------
33693|  45.4k|        {
33694|       |            // the string is written as it is: head and characters in one reservation
33695|  45.4k|            if (JSON_HEDLEY_LIKELY(value.size() <= max_text_in_reservation))
  ------------------
  |  | 1696|  45.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 45.3k, False: 96]
  |  |  ------------------
  ------------------
33696|  45.3k|            {
33697|  45.3k|                write_cbor_string_reserved(value);
33698|  45.3k|                return;
33699|  45.3k|            }
33700|  45.4k|        }
33701|       |
33702|     96|        write_cbor_checked_string(value, context);
33703|     96|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE26write_cbor_string_reservedERKSC_:
33660|  45.3k|    {
33661|  45.3k|        CharType* const out = oa.reserve(value.size() + 2);
33662|  45.3k|        CharType* p = out;
33663|  45.3k|        if (value.size() <= 0x17)
  ------------------
  |  Branch (33663:13): [True: 44.8k, False: 492]
  ------------------
33664|  44.8k|        {
33665|  44.8k|            *p++ = to_char_type(static_cast<std::uint8_t>(0x60 + value.size()));
33666|  44.8k|        }
33667|    492|        else
33668|    492|        {
33669|    492|            *p++ = to_char_type(0x78);
33670|    492|            *p++ = to_char_type(static_cast<std::uint8_t>(value.size()));
33671|    492|        }
33672|  45.3k|        copy_characters(p, reinterpret_cast<const CharType*>(value.data()), value.size());
33673|  45.3k|        oa.commit(static_cast<std::size_t>(p - out) + value.size());
33674|  45.3k|    }
_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|  45.3k|    {
33647|  45.3k|        if (length <= 32)
  ------------------
  |  Branch (33647:13): [True: 45.0k, False: 302]
  ------------------
33648|  45.0k|        {
33649|  45.0k|            copy_short(dst, src, length, std::integral_constant<bool, sizeof(CharType) == 1>());
33650|  45.0k|        }
33651|    302|        else
33652|    302|        {
33653|    302|            std::memcpy(dst, src, length * sizeof(CharType));
33654|    302|        }
33655|  45.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_checked_stringERKSC_RKSG_:
33710|     96|    {
33711|     96|        if (error_handler == error_handler_t::strict && value.size() <= max_text_in_reservation)
  ------------------
  |  Branch (33711:13): [True: 0, False: 96]
  |  Branch (33711:57): [True: 0, False: 0]
  ------------------
33712|      0|        {
33713|      0|            check_utf8(value, context);
33714|      0|            write_cbor_string_reserved(value);
33715|      0|            return;
33716|      0|        }
33717|       |
33718|     96|        string_t storage;
33719|     96|        const string_t& sanitized = sanitize_utf8_for_write(value, context, storage);
33720|       |
33721|       |        // step 1: write control byte and the string length
33722|     96|        write_cbor_head(0x60, sanitized.size());
33723|       |
33724|       |        // step 2: write the string
33725|     96|        write_bytes(sanitized.data(), sanitized.size());
33726|     96|    }
_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|     96|    {
35415|     96|        switch (error_handler)
35416|     96|        {
35417|     96|            case error_handler_t::keep:
  ------------------
  |  Branch (35417:13): [True: 96, False: 0]
  ------------------
35418|     96|                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: 96]
  ------------------
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: 96]
  ------------------
35425|      0|            case error_handler_t::ignore:
  ------------------
  |  Branch (35425:13): [True: 0, False: 96]
  ------------------
35426|      0|            default:
  ------------------
  |  Branch (35426:13): [True: 0, False: 96]
  ------------------
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|     96|        }
35434|     96|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE16write_cbor_arrayERKSG_m:
33244|   106k|    {
33245|   106k|        write_cbor_container_head(0x80, j.m_data.m_value.array->size());
33246|   106k|        if (!j.m_data.m_value.array->empty())
  ------------------
  |  Branch (33246:13): [True: 103k, False: 2.76k]
  ------------------
33247|   103k|        {
33248|   103k|            write_cbor_array_elements(j, depth, std::integral_constant<bool, integers_fit_64_bits()>());
33249|   103k|        }
33250|   106k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_container_headEhm:
33175|   117k|    {
33176|   117k|        if (JSON_HEDLEY_LIKELY(size <= 0x17))
  ------------------
  |  | 1696|   117k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 116k, False: 1.30k]
  |  |  ------------------
  ------------------
33177|   116k|        {
33178|   116k|            oa.write_character(to_char_type(static_cast<std::uint8_t>(major_type + size)));
33179|   116k|            return;
33180|   116k|        }
33181|  1.30k|        write_cbor_head(major_type, size);
33182|  1.30k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEE:
33254|   103k|    {
33255|   103k|        write_array_elements(j, [this](CharType * out, const BasicJsonType & el)
33256|   103k|        {
33257|   103k|            return encode_cbor_integer(out, el);
33258|   103k|        }, [this](CharType * out, const number_float_t n)
33259|   103k|        {
33260|   103k|            return encode_cbor_float(out, n);
33261|   103k|        }, [this, depth](const BasicJsonType & el)
33262|   103k|        {
33263|   103k|            write_cbor(el, depth + 1);
33264|   103k|        });
33265|   103k|    }
_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_25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEEUlPhSM_E_ZNSJ_25write_cbor_array_elementsESM_mSO_EUlSP_dE_ZNSJ_25write_cbor_array_elementsESM_mSO_EUlSM_E_EEvSM_T_T0_T1_:
33287|   103k|    {
33288|   103k|        constexpr std::size_t max_run = max_reserve_size / integer_encoding_space;
33289|   103k|        auto it = j.m_data.m_value.array->begin();
33290|   103k|        const auto end = j.m_data.m_value.array->end();
33291|   277k|        while (it != end)
  ------------------
  |  Branch (33291:16): [True: 173k, False: 103k]
  ------------------
33292|   173k|        {
33293|   173k|            if (!it->is_number())
  ------------------
  |  Branch (33293:17): [True: 164k, False: 9.01k]
  ------------------
33294|   164k|            {
33295|   164k|                write_value(*it);
33296|   164k|                ++it;
33297|   164k|            }
33298|  9.01k|            else if (!it->is_number_float())
  ------------------
  |  Branch (33298:22): [True: 7.03k, False: 1.97k]
  ------------------
33299|  7.03k|            {
33300|  7.03k|                CharType* const start = oa.reserve(max_run * integer_encoding_space);
33301|  7.03k|                CharType* out = start;
33302|  35.8k|                for (std::size_t n = 0; n < max_run && it != end && it->is_number_integer(); ++n, ++it)
  ------------------
  |  Branch (33302:41): [True: 35.4k, False: 438]
  |  Branch (33302:56): [True: 32.6k, False: 2.73k]
  |  Branch (33302:69): [True: 28.8k, False: 3.86k]
  ------------------
33303|  28.8k|                {
33304|  28.8k|                    out += encode_integer(out, *it);
33305|  28.8k|                }
33306|  7.03k|                oa.commit(static_cast<std::size_t>(out - start));
33307|  7.03k|            }
33308|  1.97k|            else
33309|  1.97k|            {
33310|  1.97k|                it = write_float_elements(it, end, encode_float);
33311|  1.97k|            }
33312|   173k|        }
33313|   103k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9is_numberEv:
43037|   173k|    {
43038|   173k|        return is_number_integer() || is_number_float();
  ------------------
  |  Branch (43038:16): [True: 7.03k, False: 166k]
  |  Branch (43038:39): [True: 1.97k, False: 164k]
  ------------------
43039|   173k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlSL_E_clESL_:
33262|   164k|        {
33263|   164k|            write_cbor(el, depth + 1);
33264|   164k|        });
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE15is_number_floatEv:
43061|   186k|    {
43062|   186k|        return m_data.m_type == value_t::number_float;
43063|   186k|    }
_ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE17is_number_integerEv:
43045|   206k|    {
43046|   206k|        return m_data.m_type == value_t::number_integer || m_data.m_type == value_t::number_unsigned;
  ------------------
  |  Branch (43046:16): [True: 10.7k, False: 195k]
  |  Branch (43046:60): [True: 25.0k, False: 170k]
  ------------------
43047|   206k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlPhSL_E_clESO_SL_:
33256|  28.8k|        {
33257|  28.8k|            return encode_cbor_integer(out, el);
33258|  28.8k|        }, [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_25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEEUlPhdE_EET_SU_SU_T0_:
33325|  1.97k|    {
33326|  1.97k|        constexpr std::size_t max_run = max_reserve_size / integer_encoding_space;
33327|  1.97k|        CharType* const start = oa.reserve(max_run * integer_encoding_space);
33328|  1.97k|        CharType* out = start;
33329|  11.9k|        for (std::size_t n = 0; n < max_run && it != end && it->is_number_float(); ++n, ++it)
  ------------------
  |  Branch (33329:33): [True: 11.8k, False: 90]
  |  Branch (33329:48): [True: 11.1k, False: 746]
  |  Branch (33329:61): [True: 9.95k, False: 1.14k]
  ------------------
33330|  9.95k|        {
33331|  9.95k|            out += encode_float(out, it->m_data.m_value.number_float);
33332|  9.95k|        }
33333|  1.97k|        oa.commit(static_cast<std::size_t>(out - start));
33334|  1.97k|        return it;
33335|  1.97k|    }
_ZZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE25write_cbor_array_elementsERKSG_mNS4_17integral_constantIbLb1EEEENKUlPhdE_clESO_d:
33259|  9.95k|        {
33260|  9.95k|            return encode_cbor_float(out, n);
33261|  9.95k|        }, [this, depth](const BasicJsonType & el)
_ZNK8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE17encode_cbor_floatEPhd:
35695|  9.95k|    {
35696|  9.95k|        if (JSON_HEDLEY_UNLIKELY(!std::isfinite(n)))
  ------------------
  |  | 1697|  9.95k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1.03k, False: 8.92k]
  |  |  ------------------
  ------------------
35697|  1.03k|        {
35698|       |            // NaN is 0xf97e00, Infinity is 0xf97c00, -Infinity is 0xf9fc00
35699|  1.03k|            out[0] = to_char_type(0xF9);
35700|  1.03k|            if (std::isnan(n))
  ------------------
  |  Branch (35700:17): [True: 324, False: 714]
  ------------------
35701|    324|            {
35702|    324|                out[1] = to_char_type(0x7E);
35703|    324|            }
35704|    714|            else
35705|    714|            {
35706|    714|                out[1] = n > 0 ? to_char_type(0x7C) : to_char_type(0xFC);
  ------------------
  |  Branch (35706:26): [True: 48, False: 666]
  ------------------
35707|    714|            }
35708|  1.03k|            out[2] = to_char_type(0x00);
35709|  1.03k|            return 3;
35710|  1.03k|        }
35711|  8.92k|        return encode_compact_float(out, n, to_char_type(0xFA), to_char_type(0xFB));
35712|  9.95k|    }
_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|  8.92k|    {
35679|  8.92k|        if (fits_float32(n))
  ------------------
  |  Branch (35679:13): [True: 7.79k, False: 1.12k]
  ------------------
35680|  7.79k|        {
35681|  7.79k|            *out = float32_marker;
35682|  7.79k|            store_number(out + 1, static_cast<float>(n), false);
35683|  7.79k|            return 1 + sizeof(float);
35684|  7.79k|        }
35685|  1.12k|        *out = float64_marker;
35686|  1.12k|        store_number(out + 1, n, false);
35687|  1.12k|        return 1 + sizeof(number_float_t);
35688|  8.92k|    }
_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|  7.79k|    {
34213|  7.79k|        std::array<CharType, sizeof(NumberType)> vec{};
34214|  7.79k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
34215|  7.79k|        if (is_little_endian != output_little_endian)
  ------------------
  |  Branch (34215:13): [True: 7.79k, False: 0]
  ------------------
34216|  7.79k|        {
34217|  7.79k|            reverse_bytes(vec);
34218|  7.79k|        }
34219|  7.79k|        std::memcpy(out, vec.data(), sizeof(NumberType));
34220|  7.79k|        return out + sizeof(NumberType);
34221|  7.79k|    }
_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|  1.12k|    {
34213|  1.12k|        std::array<CharType, sizeof(NumberType)> vec{};
34214|  1.12k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
34215|  1.12k|        if (is_little_endian != output_little_endian)
  ------------------
  |  Branch (34215:13): [True: 1.12k, False: 0]
  ------------------
34216|  1.12k|        {
34217|  1.12k|            reverse_bytes(vec);
34218|  1.12k|        }
34219|  1.12k|        std::memcpy(out, vec.data(), sizeof(NumberType));
34220|  1.12k|        return out + sizeof(NumberType);
34221|  1.12k|    }
_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|   119k|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|   119k|        std::array<CharType, sizeof(NumberType)> vec{};
35641|   119k|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|   119k|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 119k, False: 0]
  ------------------
35645|   119k|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|   119k|            reverse_bytes(vec);
35648|   119k|        }
35649|       |
35650|   119k|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|   119k|    }
_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|   119k|    {
35620|   119k|        std::reverse(a.begin(), a.end());
35621|   119k|    }
_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|    124|    {
35639|       |        // step 1: write the number to an array of length NumberType
35640|    124|        std::array<CharType, sizeof(NumberType)> vec{};
35641|    124|        std::memcpy(vec.data(), &n, sizeof(NumberType));
35642|       |
35643|       |        // step 2: write the array to output (with possible reordering)
35644|    124|        if (is_little_endian != OutputIsLittleEndian)
  ------------------
  |  Branch (35644:13): [True: 124, False: 0]
  ------------------
35645|    124|        {
35646|       |            // reverse byte order prior to conversion if necessary
35647|    124|            reverse_bytes(vec);
35648|    124|        }
35649|       |
35650|    124|        oa.write_characters(vec.data(), sizeof(NumberType));
35651|    124|    }
_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|    124|    {
35604|    124|        byte_swap_buffer<std::uint16_t>(a);
35605|    124|    }
_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|    124|    {
35593|    124|        static_assert(sizeof(UIntType) == N, "swap width must match the buffer size");
35594|    124|        UIntType v{};
35595|    124|        std::memcpy(&v, a.data(), sizeof(v));
35596|    124|        v = byteswap(v);
35597|    124|        std::memcpy(a.data(), &v, sizeof(v));
35598|    124|    }
_ZN8nlohmann16json_abi_v3_12_06detail8byteswapEt:
 9143|    124|{
 9144|    124|#if defined(__GNUC__) || defined(__clang__)
 9145|    124|    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|    124|}
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE15write_cbor_headEhm:
33052|   119k|    {
33053|   119k|        if (argument <= 0x17)
  ------------------
  |  Branch (33053:13): [True: 117k, False: 1.66k]
  ------------------
33054|   117k|        {
33055|   117k|            write_number(static_cast<std::uint8_t>(major_type + argument));
33056|   117k|        }
33057|  1.66k|        else if (argument <= (std::numeric_limits<std::uint8_t>::max)())
  ------------------
  |  Branch (33057:18): [True: 1.53k, False: 124]
  ------------------
33058|  1.53k|        {
33059|  1.53k|            oa.write_character(to_char_type(static_cast<std::uint8_t>(major_type + 0x18)));
33060|  1.53k|            write_number(static_cast<std::uint8_t>(argument));
33061|  1.53k|        }
33062|    124|        else if (argument <= (std::numeric_limits<std::uint16_t>::max)())
  ------------------
  |  Branch (33062:18): [True: 124, False: 0]
  ------------------
33063|    124|        {
33064|    124|            oa.write_character(to_char_type(static_cast<std::uint8_t>(major_type + 0x19)));
33065|    124|            write_number(static_cast<std::uint16_t>(argument));
33066|    124|        }
33067|      0|        else if (argument <= (std::numeric_limits<std::uint32_t>::max)())
  ------------------
  |  Branch (33067:18): [True: 0, False: 0]
  ------------------
33068|      0|        {
33069|      0|            oa.write_character(to_char_type(static_cast<std::uint8_t>(major_type + 0x1A)));
33070|      0|            write_number(static_cast<std::uint32_t>(argument));
33071|      0|        }
33072|      0|        else
33073|      0|        {
33074|      0|            oa.write_character(to_char_type(static_cast<std::uint8_t>(major_type + 0x1B)));
33075|      0|            write_number(argument);
33076|      0|        }
33077|   119k|    }
_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|  43.6k|    {
31266|  43.6k|        oa.write_characters(static_cast<const CharType*>(data), size);
31267|  43.6k|    }
_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhNS1_18output_vector_sinkIhSE_EEE17write_cbor_objectERKSG_m:
33192|  11.6k|    {
33193|       |        // step 1: write control byte and the object size
33194|  11.6k|        write_cbor_container_head(0xA0, j.m_data.m_value.object->size());
33195|       |
33196|  11.6k|        for (const auto& el : *j.m_data.m_value.object)
  ------------------
  |  Branch (33196:29): [True: 16.2k, False: 11.6k]
  ------------------
33197|  16.2k|        {
33198|       |            // el.first is written directly (not via a temporary
33199|       |            // basic_json), with the object as diagnostics context
33200|  16.2k|            write_cbor_key(el.first, j);
33201|       |
33202|  16.2k|            const BasicJsonType& value = el.second;
33203|  16.2k|            switch (value.type())
33204|  16.2k|            {
33205|  1.17k|                case value_t::null:
  ------------------
  |  Branch (33205:17): [True: 1.17k, False: 15.0k]
  ------------------
33206|  1.17k|                    oa.write_character(to_char_type(0xF6));
33207|  1.17k|                    break;
33208|       |
33209|    384|                case value_t::boolean:
  ------------------
  |  Branch (33209:17): [True: 384, False: 15.8k]
  ------------------
33210|    384|                    oa.write_character(value.m_data.m_value.boolean ? to_char_type(0xF5) : to_char_type(0xF4));
  ------------------
  |  Branch (33210:40): [True: 82, False: 302]
  ------------------
33211|    384|                    break;
33212|       |
33213|  3.26k|                case value_t::number_integer:
  ------------------
  |  Branch (33213:17): [True: 3.26k, False: 12.9k]
  ------------------
33214|  5.51k|                case value_t::number_unsigned:
  ------------------
  |  Branch (33214:17): [True: 2.25k, False: 13.9k]
  ------------------
33215|  5.51k|                    write_cbor_integer(value, std::integral_constant<bool, integers_fit_64_bits()>());
33216|  5.51k|                    break;
33217|       |
33218|  1.56k|                case value_t::string:
  ------------------
  |  Branch (33218:17): [True: 1.56k, False: 14.6k]
  ------------------
33219|  1.56k|                    write_cbor_string(*value.m_data.m_value.string, value);
33220|  1.56k|                    break;
33221|       |
33222|  4.27k|                case value_t::object:
  ------------------
  |  Branch (33222:17): [True: 4.27k, False: 11.9k]
  ------------------
33223|  5.19k|                case value_t::array:
  ------------------
  |  Branch (33223:17): [True: 916, False: 15.2k]
  ------------------
33224|  6.16k|                case value_t::binary:
  ------------------
  |  Branch (33224:17): [True: 970, False: 15.2k]
  ------------------
33225|  7.58k|                case value_t::number_float:
  ------------------
  |  Branch (33225:17): [True: 1.42k, False: 14.7k]
  ------------------
33226|  7.58k|                case value_t::discarded:
  ------------------
  |  Branch (33226:17): [True: 0, False: 16.2k]
  ------------------
33227|  7.58k|                default:
  ------------------
  |  Branch (33227:17): [True: 0, False: 16.2k]
  ------------------
33228|  7.58k|                    write_cbor(value, depth + 1);
33229|  7.58k|                    break;
33230|  16.2k|            }
33231|  16.2k|        }
33232|  11.6k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9from_cborIPKhSH_TnNS2_9enable_ifIXsr6detail14can_compare_neIT_T0_EE5valueEiE4typeELi0EEESE_SJ_SK_bbNS0_6detail18cbor_tag_handler_tENSN_15error_handler_tE:
46811|  9.02k|    {
46812|  9.02k|        return from_binary_impl(detail::input_adapter(std::move(first), std::move(last)), input_format_t::cbor, strict, allow_exceptions, error_handler, tag_handler);
46813|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9from_cborIRNS2_19basic_istringstreamIcS7_S9_EEEESE_OT_bbNS0_6detail18cbor_tag_handler_tENSL_15error_handler_tE:
46797|  9.02k|    {
46798|  9.02k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::cbor, strict, allow_exceptions, error_handler, tag_handler);
46799|  9.02k|    }
_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.02k|    {
46576|  9.02k|        basic_json result;
46577|  9.02k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.02k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.02k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.02k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.02k|        return result;
46584|  9.02k|    }
_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.02k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.02k|    {}
_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.02k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.02k|    {
18994|  9.02k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterC2EOS2_:
 9815|  9.02k|        : 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.02k|        , token_carry(std::move(rhs.token_carry))
 9821|  9.02k|        , token_segment(rhs.token_segment)
 9822|  9.02k|        , current_in_get_area(rhs.current_in_get_area)
 9823|  9.02k|        , tracking_token(rhs.tracking_token)
 9824|  9.02k|        , no_get_area(rhs.no_get_area)
 9825|       |#endif
 9826|  9.02k|    {
 9827|  9.02k|        rhs.is = nullptr;
 9828|  9.02k|        rhs.sb = nullptr;
 9829|       |#if JSON_PRECISE_STREAM_POSITION
 9830|       |        rhs.lookahead = false;
 9831|       |#endif
 9832|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail17token_text_bufferIcEC2EOS3_:
 9404|  18.0k|        : m_data(std::move(rhs.m_data)), m_end(rhs.m_end), m_capacity_end(rhs.m_capacity_end)
 9405|  18.0k|    {
 9406|  18.0k|        rhs.m_end = rhs.m_capacity_end = nullptr;
 9407|  18.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_EEE9sax_parseEPSJ_bNS1_18cbor_tag_handler_tE:
19017|  9.02k|    {
19018|  9.02k|        sax = sax_;
19019|  9.02k|        container_stack.clear();
19020|  9.02k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.02k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.02k|        bool result = false;
19024|       |
19025|  9.02k|        switch (input_format)
19026|  9.02k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.02k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|  9.02k|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 9.02k, False: 0]
  ------------------
19032|  9.02k|                result = parse_cbor_internal(tag_handler);
19033|  9.02k|                break;
19034|       |
19035|      0|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 0, False: 9.02k]
  ------------------
19036|      0|                result = parse_msgpack_internal();
19037|      0|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.02k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.02k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.02k]
  ------------------
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.02k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.02k]
  ------------------
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.02k|        }
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|  4.61k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 4.61k, False: 0]
  |  Branch (19058:23): [True: 0, False: 4.61k]
  |  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|  4.61k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 4.61k, False: 0]
  |  Branch (19065:23): [True: 4.61k, False: 0]
  ------------------
19066|  4.61k|        {
19067|  4.61k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 4.61k]
  |  Branch (19067:59): [True: 0, False: 4.61k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  4.61k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 4.61k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  4.61k|            else
19077|  4.61k|            {
19078|  4.61k|                get();
19079|  4.61k|            }
19080|       |
19081|  4.61k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  4.61k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 148, False: 4.46k]
  |  |  ------------------
  ------------------
19082|    148|            {
19083|    148|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    148|            }
19085|  4.61k|        }
19086|       |
19087|  4.46k|        return result;
19088|  4.61k|    }
_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.02k|    {
19097|  9.02k|        return s;
19098|  9.02k|    }
_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.02k|            : parser(parser_), saved()
19120|  9.02k|        {
19121|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.02k, False: 0]
  ------------------
19122|  9.02k|            {
19123|  9.02k|                saved = parser->get_reserve_state();
19124|  9.02k|                parser->set_input_position(position);
19125|  9.02k|            }
19126|  9.02k|        }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access7get_ptrEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEE:
10087|   448k|        {
10088|   448k|            return (s->*(&streambuf_access::gptr))();
10089|   448k|        }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access7get_endEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEE:
10091|   407k|        {
10092|   407k|            return (s->*(&streambuf_access::egptr))();
10093|   407k|        }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter16streambuf_access4bumpEPNSt3__115basic_streambufIcNS4_11char_traitsIcEEEEi:
10099|   354k|        {
10100|   354k|            (s->*(&streambuf_access::gbump))(n);
10101|   354k|        }
_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|  3.95k|    {
23992|  3.95k|        return sax->parse_error(chars_read, "<end of file>",
23993|  3.95k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  3.95k|    }
_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.28k|    {
24103|  4.28k|        std::string error_msg = "syntax error while parsing ";
24104|  4.28k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.28k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.28k|    }
_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|   141k|    {
19202|   141k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   283k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 141k]
  |  |  |  Branch (1697:94): [True: 24.3k, False: 117k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   141k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   141k|        return true;
19209|   141k|    }
_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|  24.3k|    {
17879|  24.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|  24.3k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  24.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_adapterEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   141k|    {
17962|   141k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.30k, False: 135k]
  ------------------
17963|  6.30k|        {
17964|  6.30k|            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.30k|            return &root;
17971|  6.30k|        }
17972|       |
17973|   135k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   135k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 118k, False: 16.8k]
  |  Branch (17973:9): [True: 16.8k, False: 0]
  |  Branch (17973:9): [True: 135k, False: 0]
  ------------------
17974|       |
17975|   135k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 118k, False: 16.8k]
  ------------------
17976|   118k|        {
17977|   118k|            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|   118k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   118k|        }
17985|       |
17986|  16.8k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 16.8k, False: 0]
  ------------------
17987|  16.8k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 16.8k, False: 0]
  ------------------
17988|  16.8k|        *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|  16.8k|        return object_element;
17995|  16.8k|    }
_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|   141k|{
16470|   141k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   275k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 141k]
  |  |  |  Branch (1697:94): [True: 133k, False: 8.24k]
  |  |  |  Branch (1697:94): [True: 276, False: 133k]
  |  |  ------------------
  ------------------
16471|    276|    {
16472|    276|        return container_too_large_error(sax, len, kind, ref);
16473|    276|    }
16474|   141k|    return true;
16475|   141k|}
_ZN8nlohmann16json_abi_v3_12_06detail25container_too_large_errorINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_20input_stream_adapterEEESH_EEbRT_mPKcPT0_:
16463|    276|{
16464|    276|    return sax.parse_error(0, "", out_of_range::create(exception_id::container_too_large, concat("excessive ", kind, " size: ", std::to_string(len)), ref));
16465|    276|}
_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|   117k|    {
17916|   117k|        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|   117k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   117k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 117k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   117k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 110k, False: 6.83k]
  ------------------
17929|   110k|        {
17930|   110k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   110k|        }
17932|       |
17933|   117k|        return true;
17934|   117k|    }
_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|   141k|            : 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|   102k|    {
19234|   102k|        const bool is_object = container_stack.back().is_object;
19235|   102k|        container_stack.pop_back();
19236|   102k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 16.2k, False: 85.9k]
  ------------------
19237|   102k|    }
_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|  16.2k|    {
17902|  16.2k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 16.2k, False: 0]
  ------------------
17903|  16.2k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 16.2k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  16.2k|        ref_stack.back()->set_parents();
17910|  16.2k|        ref_stack.pop_back();
17911|  16.2k|        return true;
17912|  16.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_adapterEE9end_arrayEv:
17937|  85.9k|    {
17938|  85.9k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 85.9k, False: 0]
  ------------------
17939|  85.9k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 85.9k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  85.9k|        ref_stack.back()->set_parents();
17946|  85.9k|        ref_stack.pop_back();
17947|  85.9k|        return true;
17948|  85.9k|    }
_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|   105k|    {
23975|   105k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|   105k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.54k, False: 101k]
  |  |  ------------------
  ------------------
23976|  3.54k|        {
23977|  3.54k|            return report_eof(context);
23978|  3.54k|        }
23979|   101k|        return true;
23980|   105k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter14bulk_remainingEv:
 9974|  74.1k|    {
 9975|  74.1k|        if (!current_in_get_area)
  ------------------
  |  Branch (9975:13): [True: 0, False: 74.1k]
  ------------------
 9976|      0|        {
 9977|      0|            return 0;
 9978|      0|        }
 9979|  74.1k|        return static_cast<std::size_t>(streambuf_access::get_end(sb) - current_end());
 9980|  74.1k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter11current_endEv:
10112|   115k|    {
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|   115k|        return streambuf_access::get_ptr(sb);
10119|   115k|#endif
10120|   115k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail20input_stream_adapter9bulk_dataEv:
 9968|  40.9k|    {
 9969|  40.9k|        return current_end();
 9970|  40.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter9bulk_skipEm:
 9985|  29.5k|    {
 9986|  29.5k|        JSON_ASSERT(n <= bulk_remaining());
  ------------------
  |  | 2653|  29.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9986:9): [True: 29.5k, False: 0]
  ------------------
 9987|       |        // gbump() takes an int, but a get area (e.g., of a std::stringbuf) can
 9988|       |        // be larger
 9989|  29.5k|        constexpr auto max_bump = static_cast<std::size_t>((std::numeric_limits<int>::max)());
 9990|  29.5k|        for (; n > max_bump; n -= max_bump)
  ------------------
  |  Branch (9990:16): [True: 0, False: 29.5k]
  ------------------
 9991|      0|        {
 9992|      0|            streambuf_access::bump(sb, static_cast<int>(max_bump));
 9993|      0|        }
 9994|  29.5k|        streambuf_access::bump(sb, static_cast<int>(n));
 9995|  29.5k|    }
_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|  50.4k|    {
23812|  50.4k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 50.4k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  50.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_adapterEE3keyERSC_:
17890|  34.7k|    {
17891|  34.7k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 34.7k, False: 0]
  ------------------
17892|  34.7k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 34.7k, 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|  34.7k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  34.7k|        return true;
17898|  34.7k|    }
_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|    919|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    919|        auto new_chars_read = ia.get_elements(&dest);
23507|    919|        chars_read += new_chars_read;
23508|    919|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    919|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 900]
  |  |  ------------------
  ------------------
23509|     19|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     19|            ++chars_read;
23512|     19|            static_cast<void>(report_eof(context));
23513|     19|            return false;
23514|     19|        }
23515|    900|        return true;
23516|    919|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIdEEmPT_m:
 9930|    919|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    919|#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|    919|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    919|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    919|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  1.81k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 900, False: 19]
  |  |  |  Branch (1696:94): [True: 900, False: 19]
  |  |  |  Branch (1696:94): [True: 900, False: 0]
  |  |  ------------------
  ------------------
 9940|    900|        {
 9941|    900|            std::memcpy(dest, first, count * sizeof(T));
 9942|    900|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    900|            return count * sizeof(T);
 9944|    900|        }
 9945|     19|#endif
 9946|     19|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|     19|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|     19|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 0]
  |  |  ------------------
  ------------------
 9948|     19|        {
 9949|     19|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|     19|        }
 9951|     19|        return res;
 9952|    919|    }
_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.05k|    {
23536|  1.05k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.05k|        std::uint64_t bits{};
23538|  1.05k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.05k|        bits = byteswap(bits);
23540|  1.05k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.05k|    }
_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.05k|    {
23683|  1.05k|        const auto result = static_cast<number_float_t>(number);
23684|  1.05k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.10k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.05k]
  |  |  |  Branch (1697:94): [True: 1.05k, False: 3]
  |  |  |  Branch (1697:94): [True: 0, False: 1.05k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.05k|        return sax->number_float(result, no_source);
23689|  1.05k|    }
_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|    662|    {
24092|    662|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    662|    }
_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|  9.21k|    {
17857|  9.21k|        handle_value(val);
17858|  9.21k|        return true;
17859|  9.21k|    }
_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|  9.21k|    {
17962|  9.21k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 582, False: 8.63k]
  ------------------
17963|    582|        {
17964|    582|            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|    582|            return &root;
17971|    582|        }
17972|       |
17973|  8.63k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  8.63k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 7.73k, False: 893]
  |  Branch (17973:9): [True: 893, False: 0]
  |  Branch (17973:9): [True: 8.63k, False: 0]
  ------------------
17974|       |
17975|  8.63k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 7.73k, False: 893]
  ------------------
17976|  7.73k|        {
17977|  7.73k|            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|  7.73k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  7.73k|        }
17985|       |
17986|    893|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 893, False: 0]
  ------------------
17987|    893|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 893, False: 0]
  ------------------
17988|    893|        *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|    893|        return object_element;
17995|    893|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIcEEmPT_m:
 9930|    587|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    587|#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|    587|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    587|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    587|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|    587|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 0, False: 587]
  |  |  |  Branch (1696:94): [True: 0, False: 587]
  |  |  |  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|    587|#endif
 9946|    587|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    587|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    587|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 587, False: 0]
  |  |  ------------------
  ------------------
 9948|    587|        {
 9949|    587|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    587|        }
 9951|    587|        return res;
 9952|    587|    }
_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|  16.3k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  16.3k|        handle_value(std::move(val));
17866|  16.3k|        return true;
17867|  16.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_adapterEE12handle_valueISC_EEPSG_OT_:
17961|  16.3k|    {
17962|  16.3k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 529, False: 15.8k]
  ------------------
17963|    529|        {
17964|    529|            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|    529|            return &root;
17971|    529|        }
17972|       |
17973|  15.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  15.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 11.9k, False: 3.96k]
  |  Branch (17973:9): [True: 3.96k, False: 0]
  |  Branch (17973:9): [True: 15.8k, False: 0]
  ------------------
17974|       |
17975|  15.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 11.9k, False: 3.96k]
  ------------------
17976|  11.9k|        {
17977|  11.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|  11.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  11.9k|        }
17985|       |
17986|  3.96k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.96k, False: 0]
  ------------------
17987|  3.96k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.96k, False: 0]
  ------------------
17988|  3.96k|        *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|  3.96k|        return object_element;
17995|  3.96k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIhEEmPT_m:
 9930|  9.84k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  9.84k|#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|  9.84k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  9.84k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  9.84k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  19.1k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 9.30k, False: 543]
  |  |  |  Branch (1696:94): [True: 9.30k, False: 543]
  |  |  |  Branch (1696:94): [True: 9.30k, False: 0]
  |  |  ------------------
  ------------------
 9940|  9.30k|        {
 9941|  9.30k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  9.30k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  9.30k|            return count * sizeof(T);
 9944|  9.30k|        }
 9945|    543|#endif
 9946|    543|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    543|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    543|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 543, False: 0]
  |  |  ------------------
  ------------------
 9948|    543|        {
 9949|    543|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    543|        }
 9951|    543|        return res;
 9952|  9.84k|    }
_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|  29.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  29.9k|        handle_value(std::move(val));
17874|  29.9k|        return true;
17875|  29.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|  29.9k|    {
17962|  29.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 123, False: 29.7k]
  ------------------
17963|    123|        {
17964|    123|            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|    123|            return &root;
17971|    123|        }
17972|       |
17973|  29.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  29.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.1k, False: 2.59k]
  |  Branch (17973:9): [True: 2.59k, False: 0]
  |  Branch (17973:9): [True: 29.7k, False: 0]
  ------------------
17974|       |
17975|  29.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.1k, False: 2.59k]
  ------------------
17976|  27.1k|        {
17977|  27.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|  27.1k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.1k|        }
17985|       |
17986|  2.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.59k, False: 0]
  ------------------
17987|  2.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.59k, False: 0]
  ------------------
17988|  2.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|  2.59k|        return object_element;
17995|  2.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_EEE10get_numberIhLb0EEEbRT_:
23596|  4.57k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.57k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.57k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.57k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.57k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.51k, False: 53]
  |  Branch (23603:34): [Folded, False: 4.51k]
  |  Branch (23603:57): [True: 0, False: 4.51k]
  ------------------
23604|  4.51k|        {
23605|  4.51k|            byte_swap(result);
23606|  4.51k|        }
23607|  4.57k|        return true;
23608|  4.57k|    }
_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|  4.57k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.57k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.57k|        chars_read += new_chars_read;
23508|  4.57k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.57k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 53, False: 4.51k]
  |  |  ------------------
  ------------------
23509|     53|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     53|            ++chars_read;
23512|     53|            static_cast<void>(report_eof(context));
23513|     53|            return false;
23514|     53|        }
23515|  4.51k|        return true;
23516|  4.57k|    }
_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|  4.51k|    {
23556|  4.51k|        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.51k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.51k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 4.51k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.51k|    }
_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|  4.77k|    {
17839|  4.77k|        handle_value(val);
17840|  4.77k|        return true;
17841|  4.77k|    }
_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|  4.77k|    {
17962|  4.77k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.76k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.76k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.76k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.92k, False: 849]
  |  Branch (17973:9): [True: 849, False: 0]
  |  Branch (17973:9): [True: 4.76k, False: 0]
  ------------------
17974|       |
17975|  4.76k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.92k, False: 849]
  ------------------
17976|  3.92k|        {
17977|  3.92k|            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.92k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.92k|        }
17985|       |
17986|    849|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 849, False: 0]
  ------------------
17987|    849|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 849, False: 0]
  ------------------
17988|    849|        *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|    849|        return object_element;
17995|    849|    }
_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.15k|    {
17833|  4.15k|        handle_value(nullptr);
17834|  4.15k|        return true;
17835|  4.15k|    }
_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.15k|    {
17962|  4.15k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.15k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.15k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.15k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 2.88k, False: 1.27k]
  |  Branch (17973:9): [True: 1.27k, False: 0]
  |  Branch (17973:9): [True: 4.15k, False: 0]
  ------------------
17974|       |
17975|  4.15k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 2.88k, False: 1.27k]
  ------------------
17976|  2.88k|        {
17977|  2.88k|            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|  2.88k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  2.88k|        }
17985|       |
17986|  1.27k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.27k, False: 0]
  ------------------
17987|  1.27k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.27k, False: 0]
  ------------------
17988|  1.27k|        *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.27k|        return object_element;
17995|  1.27k|    }
_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|  20.6k|    {
17845|  20.6k|        handle_value(val);
17846|  20.6k|        return true;
17847|  20.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_valueIRlEEPSG_OT_:
17961|  20.6k|    {
17962|  20.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 258, False: 20.3k]
  ------------------
17963|    258|        {
17964|    258|            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|    258|            return &root;
17971|    258|        }
17972|       |
17973|  20.3k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  20.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 5.06k]
  |  Branch (17973:9): [True: 5.06k, False: 0]
  |  Branch (17973:9): [True: 20.3k, False: 0]
  ------------------
17974|       |
17975|  20.3k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 5.06k]
  ------------------
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|  5.06k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 5.06k, False: 0]
  ------------------
17987|  5.06k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 5.06k, False: 0]
  ------------------
17988|  5.06k|        *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|  5.06k|        return object_element;
17995|  5.06k|    }
_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|  29.1k|    {
17851|  29.1k|        handle_value(val);
17852|  29.1k|        return true;
17853|  29.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_adapterEE12handle_valueIRmEEPSG_OT_:
17961|  29.1k|    {
17962|  29.1k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 289, False: 28.8k]
  ------------------
17963|    289|        {
17964|    289|            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|    289|            return &root;
17971|    289|        }
17972|       |
17973|  28.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  28.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 25.8k, False: 3.00k]
  |  Branch (17973:9): [True: 3.00k, False: 0]
  |  Branch (17973:9): [True: 28.8k, False: 0]
  ------------------
17974|       |
17975|  28.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 25.8k, False: 3.00k]
  ------------------
17976|  25.8k|        {
17977|  25.8k|            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|  25.8k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  25.8k|        }
17985|       |
17986|  3.00k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.00k, False: 0]
  ------------------
17987|  3.00k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.00k, False: 0]
  ------------------
17988|  3.00k|        *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|  3.00k|        return object_element;
17995|  3.00k|    }
_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_floatIeEEbT_:
23682|    427|    {
23683|    427|        const auto result = static_cast<number_float_t>(number);
23684|    427|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|    854|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 427]
  |  |  |  Branch (1697:94): [True: 427, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 427]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    427|        return sax->number_float(result, no_source);
23689|    427|    }
_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|  3.60k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  3.60k|        auto new_chars_read = ia.get_elements(&dest);
23507|  3.60k|        chars_read += new_chars_read;
23508|  3.60k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  3.60k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 117, False: 3.48k]
  |  |  ------------------
  ------------------
23509|    117|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    117|            ++chars_read;
23512|    117|            static_cast<void>(report_eof(context));
23513|    117|            return false;
23514|    117|        }
23515|  3.48k|        return true;
23516|  3.60k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsImEEmPT_m:
 9930|  3.60k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  3.60k|#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|  3.60k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  3.60k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  3.60k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  7.09k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 3.48k, False: 117]
  |  |  |  Branch (1696:94): [True: 3.48k, False: 117]
  |  |  |  Branch (1696:94): [True: 3.48k, False: 0]
  |  |  ------------------
  ------------------
 9940|  3.48k|        {
 9941|  3.48k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  3.48k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  3.48k|            return count * sizeof(T);
 9944|  3.48k|        }
 9945|    117|#endif
 9946|    117|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    117|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    117|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 117, False: 0]
  |  |  ------------------
  ------------------
 9948|    117|        {
 9949|    117|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    117|        }
 9951|    117|        return res;
 9952|  3.60k|    }
_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|  4.22k|    {
23556|  4.22k|        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.22k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  21.1k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 16.9k, False: 4.22k]
  ------------------
23572|  16.9k|            {
23573|  16.9k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  16.9k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.22k|    }
_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|    891|    {
23657|    891|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    891|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 891, False: 0]
  |  |  ------------------
  ------------------
23658|    891|        {
23659|    891|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    891|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    891|    }
_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_cbor_internalENS1_18cbor_tag_handler_tE:
20840|  9.02k|    {
20841|       |        // whether the next value starts at a fresh byte or at the one already
20842|       |        // read into `current`
20843|  9.02k|        bool fetch = true;
20844|       |
20845|       |        // the key currently being read; hoisted out of the loop so that its
20846|       |        // capacity is reused across elements and across nesting levels
20847|  9.02k|        string_t key;
20848|       |
20849|   355k|        while (true)
  ------------------
  |  Branch (20849:16): [True: 351k, Folded]
  ------------------
20850|   351k|        {
20851|   351k|            if (!container_stack.empty())
  ------------------
  |  Branch (20851:17): [True: 342k, False: 9.02k]
  ------------------
20852|   342k|            {
20853|       |                // a copy, not a reference: it must stay valid across the
20854|       |                // pop_back() below, which destroys the container_stack element
20855|       |                // it would otherwise alias
20856|   342k|                const container_frame top = container_stack.back();
20857|   342k|                const bool is_object = top.is_object;
20858|   342k|                bool at_end = false;
20859|       |
20860|   342k|                if (top.remaining != npos)
  ------------------
  |  Branch (20860:21): [True: 237k, False: 105k]
  ------------------
20861|   237k|                {
20862|       |                    // definite length: the container ends once its elements
20863|       |                    // have been read
20864|   237k|                    at_end = (top.remaining == 0);
20865|   237k|                    if (!at_end)
  ------------------
  |  Branch (20865:25): [True: 137k, False: 99.6k]
  ------------------
20866|   137k|                    {
20867|       |                        // claim the element about to be read
20868|   137k|                        --container_stack.back().remaining;
20869|   137k|                        if (is_object)
  ------------------
  |  Branch (20869:29): [True: 20.9k, False: 116k]
  ------------------
20870|  20.9k|                        {
20871|  20.9k|                            get();
20872|  20.9k|                        }
20873|   137k|                    }
20874|   237k|                    fetch = true;
20875|   237k|                }
20876|   105k|                else
20877|   105k|                {
20878|       |                    // indefinite length: the container ends at a break marker.
20879|       |                    // Testing for it consumes a byte, which is the first byte
20880|       |                    // of the next element when it is not one.
20881|   105k|                    at_end = (get() == 0xFF);
20882|   105k|                    fetch = is_object;
20883|   105k|                }
20884|       |
20885|   342k|                if (at_end)
  ------------------
  |  Branch (20885:21): [True: 102k, False: 240k]
  ------------------
20886|   102k|                {
20887|   102k|                    bool value_complete = false;
20888|   102k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
20889|      0|                    {
20890|      0|                        return false;
20891|      0|                    }
20892|   102k|                    if (value_complete)
  ------------------
  |  Branch (20892:25): [True: 2.82k, False: 99.3k]
  ------------------
20893|  2.82k|                    {
20894|  2.82k|                        return true;
20895|  2.82k|                    }
20896|  99.3k|                    continue;
20897|   102k|                }
20898|       |
20899|   240k|                if (is_object)
  ------------------
  |  Branch (20899:21): [True: 35.3k, False: 204k]
  ------------------
20900|  35.3k|                {
20901|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!skip_cbor_key_tags(tag_handler)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20902|      0|                    {
20903|      0|                        return false;
20904|      0|                    }
20905|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_cbor_object_key>(key)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20906|      0|                    {
20907|      0|                        return false;
20908|      0|                    }
20909|  35.3k|                    fetch = true;
20910|  35.3k|                }
20911|   240k|            }
20912|       |
20913|       |            // a tag is not a value of its own: read on until the tagged value
20914|   249k|            bool tag_pending = false;
20915|   249k|            bool item_read = false;
20916|   249k|            do
20917|   249k|            {
20918|   249k|                if (JSON_HEDLEY_UNLIKELY(!parse_cbor_value(fetch, tag_handler, tag_pending, item_read)))
  ------------------
  |  | 1697|   249k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 249k]
  |  |  ------------------
  ------------------
20919|      0|                {
20920|      0|                    return false;
20921|      0|                }
20922|   249k|                fetch = !item_read;
20923|   249k|            }
20924|   249k|            while (tag_pending);
  ------------------
  |  Branch (20924:20): [True: 0, False: 249k]
  ------------------
20925|       |
20926|       |            // a value that opened a container left it on the stack; one that
20927|       |            // did not, and that was not inside a container, was the whole value
20928|   249k|            if (container_stack.empty())
  ------------------
  |  Branch (20928:17): [True: 1.78k, False: 247k]
  ------------------
20929|  1.78k|            {
20930|  1.78k|                return true;
20931|  1.78k|            }
20932|   249k|        }
20933|  9.02k|    }
_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|   102k|    {
19251|   102k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   102k|        value_complete = container_stack.empty();
19256|   102k|        return true;
19257|   102k|    }
_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_EEE18skip_cbor_key_tagsENS1_18cbor_tag_handler_tE:
20348|  35.3k|    {
20349|  35.3k|        if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20349:13): [True: 35.3k, False: 0]
  ------------------
20350|  35.3k|        {
20351|  35.3k|            return true;
20352|  35.3k|        }
20353|       |
20354|       |        // 0xC0..0xDB: tag with the tag number in the head (0xC0..0xD7) or in
20355|       |        // the 1, 2, 4, or 8 bytes that follow (0xD8..0xDB)
20356|      0|        while (current >= 0xC0 && current <= 0xDB)
  ------------------
  |  Branch (20356:16): [True: 0, False: 0]
  |  Branch (20356:35): [True: 0, False: 0]
  ------------------
20357|      0|        {
20358|      0|            if (current >= 0xD8)
  ------------------
  |  Branch (20358:17): [True: 0, False: 0]
  ------------------
20359|      0|            {
20360|      0|                std::uint64_t tag_to_ignore{};
20361|      0|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_argument(tag_to_ignore)))
  ------------------
  |  | 1697|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20362|      0|                {
20363|      0|                    return false;
20364|      0|                }
20365|      0|            }
20366|      0|            get();
20367|      0|        }
20368|      0|        return true;
20369|      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_EEE17get_cbor_argumentERm:
20588|  5.01k|    {
20589|  5.01k|        switch (current & 0x1F)
20590|  5.01k|        {
20591|  1.26k|            case 0x18: // 1 byte
  ------------------
  |  Branch (20591:13): [True: 1.26k, False: 3.75k]
  ------------------
20592|  1.26k|            {
20593|  1.26k|                std::uint8_t n{};
20594|  1.26k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  1.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.26k]
  |  |  ------------------
  ------------------
20595|      0|                {
20596|      0|                    return false;
20597|      0|                }
20598|  1.26k|                value = n;
20599|  1.26k|                return true;
20600|  1.26k|            }
20601|       |
20602|  2.05k|            case 0x19: // 2 bytes
  ------------------
  |  Branch (20602:13): [True: 2.05k, False: 2.96k]
  ------------------
20603|  2.05k|            {
20604|  2.05k|                std::uint16_t n{};
20605|  2.05k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  2.05k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.05k]
  |  |  ------------------
  ------------------
20606|      0|                {
20607|      0|                    return false;
20608|      0|                }
20609|  2.05k|                value = n;
20610|  2.05k|                return true;
20611|  2.05k|            }
20612|       |
20613|    930|            case 0x1A: // 4 bytes
  ------------------
  |  Branch (20613:13): [True: 930, False: 4.08k]
  ------------------
20614|    930|            {
20615|    930|                std::uint32_t n{};
20616|    930|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    930|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 930]
  |  |  ------------------
  ------------------
20617|      0|                {
20618|      0|                    return false;
20619|      0|                }
20620|    930|                value = n;
20621|    930|                return true;
20622|    930|            }
20623|       |
20624|    770|            case 0x1B: // 8 bytes
  ------------------
  |  Branch (20624:13): [True: 770, False: 4.24k]
  ------------------
20625|    770|            {
20626|    770|                std::uint64_t n{};
20627|    770|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    770|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 770]
  |  |  ------------------
  ------------------
20628|      0|                {
20629|      0|                    return false;
20630|      0|                }
20631|    770|                value = n;
20632|    770|                return true;
20633|    770|            }
20634|       |
20635|      0|            default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20635:13): [True: 0, False: 5.01k]
  ------------------
20636|      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 (20636:17): [Folded, False: 0]
  ------------------
20637|      0|                return false;        // LCOV_EXCL_LINE
20638|  5.01k|        }
20639|  5.01k|    }
_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|  4.84k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.84k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.84k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.84k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.84k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.74k, False: 101]
  |  Branch (23603:34): [Folded, False: 4.74k]
  |  Branch (23603:57): [True: 0, False: 4.74k]
  ------------------
23604|  4.74k|        {
23605|  4.74k|            byte_swap(result);
23606|  4.74k|        }
23607|  4.84k|        return true;
23608|  4.84k|    }
_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|  4.84k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.84k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.84k|        chars_read += new_chars_read;
23508|  4.84k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.84k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 4.74k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  4.74k|        return true;
23516|  4.84k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsItEEmPT_m:
 9930|  4.84k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  4.84k|#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.84k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  4.84k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  4.84k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  9.59k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 4.74k, False: 101]
  |  |  |  Branch (1696:94): [True: 4.74k, False: 101]
  |  |  |  Branch (1696:94): [True: 4.74k, False: 0]
  |  |  ------------------
  ------------------
 9940|  4.74k|        {
 9941|  4.74k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  4.74k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  4.74k|            return count * sizeof(T);
 9944|  4.74k|        }
 9945|    101|#endif
 9946|    101|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    101|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    101|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 0]
  |  |  ------------------
  ------------------
 9948|    101|        {
 9949|    101|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    101|        }
 9951|    101|        return res;
 9952|  4.84k|    }
_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|  5.29k|    {
23556|  5.29k|        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.29k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  10.5k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.29k, False: 5.29k]
  ------------------
23572|  5.29k|            {
23573|  5.29k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.29k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  5.29k|    }
_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.65k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.65k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.65k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.65k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.65k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.55k, False: 101]
  |  Branch (23603:34): [Folded, False: 2.55k]
  |  Branch (23603:57): [True: 0, False: 2.55k]
  ------------------
23604|  2.55k|        {
23605|  2.55k|            byte_swap(result);
23606|  2.55k|        }
23607|  2.65k|        return true;
23608|  2.65k|    }
_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.65k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.65k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.65k|        chars_read += new_chars_read;
23508|  2.65k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.65k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 2.55k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  2.55k|        return true;
23516|  2.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIjEEmPT_m:
 9930|  2.65k|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|  2.65k|#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.65k|        const char* const first = streambuf_access::get_ptr(sb);
 9938|  2.65k|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|  2.65k|        if (JSON_HEDLEY_LIKELY(count * sizeof(T) <= available && count * sizeof(T) <= static_cast<std::size_t>((std::numeric_limits<int>::max)())))
  ------------------
  |  | 1696|  5.21k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.55k, False: 101]
  |  |  |  Branch (1696:94): [True: 2.55k, False: 101]
  |  |  |  Branch (1696:94): [True: 2.55k, False: 0]
  |  |  ------------------
  ------------------
 9940|  2.55k|        {
 9941|  2.55k|            std::memcpy(dest, first, count * sizeof(T));
 9942|  2.55k|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|  2.55k|            return count * sizeof(T);
 9944|  2.55k|        }
 9945|    101|#endif
 9946|    101|        auto res = static_cast<std::size_t>(sb->sgetn(reinterpret_cast<char*>(dest), static_cast<std::streamsize>(count * sizeof(T))));
 9947|    101|        if (JSON_HEDLEY_UNLIKELY(res < count * sizeof(T)))
  ------------------
  |  | 1697|    101|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 0]
  |  |  ------------------
  ------------------
 9948|    101|        {
 9949|    101|            is->clear(is->rdstate() | std::ios::eofbit);
 9950|    101|        }
 9951|    101|        return res;
 9952|  2.65k|    }
_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.82k|    {
23556|  2.82k|        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.82k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.47k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.64k, False: 2.82k]
  ------------------
23572|  5.64k|            {
23573|  5.64k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.64k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.82k|    }
_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|  3.60k|    {
23597|       |        // read in the original format
23598|       |
23599|  3.60k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  3.60k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.60k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  3.60k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 3.48k, False: 117]
  |  Branch (23603:34): [Folded, False: 3.48k]
  |  Branch (23603:57): [True: 0, False: 3.48k]
  ------------------
23604|  3.48k|        {
23605|  3.48k|            byte_swap(result);
23606|  3.48k|        }
23607|  3.60k|        return true;
23608|  3.60k|    }
_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_19get_cbor_object_keyERSC_EEEEbSM_:
19268|  35.3k|    {
19269|  35.3k|        key.clear();
19270|  35.3k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 34.7k, False: 608]
  |  Branch (19270:40): [True: 34.7k, False: 0]
  ------------------
19271|  35.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_EEE19get_cbor_object_keyERSC_:
20384|  35.3k|    {
20385|       |        // EOF and major type 3 (text string) are left to get_cbor_string
20386|  35.3k|        if (current == char_traits<char_type>::eof() || (static_cast<unsigned int>(current) & 0xE0u) == 0x60u)
  ------------------
  |  Branch (20386:13): [True: 550, False: 34.8k]
  |  Branch (20386:57): [True: 34.7k, False: 45]
  ------------------
20387|  35.3k|        {
20388|  35.3k|            return get_cbor_string(result, "key");
20389|  35.3k|        }
20390|       |
20391|     45|        const char* found = nullptr;
20392|     45|        switch (static_cast<unsigned int>(current) >> 5u)
20393|     45|        {
20394|     12|            case 0:
  ------------------
  |  Branch (20394:13): [True: 12, False: 33]
  ------------------
20395|     12|                found = "an unsigned integer";
20396|     12|                break;
20397|      4|            case 1:
  ------------------
  |  Branch (20397:13): [True: 4, False: 41]
  ------------------
20398|      4|                found = "a negative integer";
20399|      4|                break;
20400|      2|            case 2:
  ------------------
  |  Branch (20400:13): [True: 2, False: 43]
  ------------------
20401|      2|                found = "a byte string";
20402|      2|                break;
20403|      3|            case 4:
  ------------------
  |  Branch (20403:13): [True: 3, False: 42]
  ------------------
20404|      3|                found = "an array";
20405|      3|                break;
20406|      4|            case 5:
  ------------------
  |  Branch (20406:13): [True: 4, False: 41]
  ------------------
20407|      4|                found = "a map";
20408|      4|                break;
20409|      5|            case 6:
  ------------------
  |  Branch (20409:13): [True: 5, False: 40]
  ------------------
20410|      5|                found = "a tag";
20411|      5|                break;
20412|     15|            default: // major type 7
  ------------------
  |  Branch (20412:13): [True: 15, False: 30]
  ------------------
20413|     15|                switch (current)
20414|     15|                {
20415|      0|                    case 0xF4:
  ------------------
  |  Branch (20415:21): [True: 0, False: 15]
  ------------------
20416|      0|                    case 0xF5:
  ------------------
  |  Branch (20416:21): [True: 0, False: 15]
  ------------------
20417|      0|                        found = "a boolean";
20418|      0|                        break;
20419|      0|                    case 0xF6:
  ------------------
  |  Branch (20419:21): [True: 0, False: 15]
  ------------------
20420|      0|                        found = "null";
20421|      0|                        break;
20422|      1|                    case 0xF7:
  ------------------
  |  Branch (20422:21): [True: 1, False: 14]
  ------------------
20423|      1|                        found = "undefined";
20424|      1|                        break;
20425|      0|                    case 0xF9:
  ------------------
  |  Branch (20425:21): [True: 0, False: 15]
  ------------------
20426|      0|                    case 0xFA:
  ------------------
  |  Branch (20426:21): [True: 0, False: 15]
  ------------------
20427|      1|                    case 0xFB:
  ------------------
  |  Branch (20427:21): [True: 1, False: 14]
  ------------------
20428|      1|                        found = "a floating-point number";
20429|      1|                        break;
20430|      4|                    case 0xFF:
  ------------------
  |  Branch (20430:21): [True: 4, False: 11]
  ------------------
20431|      4|                        found = "a break stop code";
20432|      4|                        break;
20433|      9|                    default:
  ------------------
  |  Branch (20433:21): [True: 9, False: 6]
  ------------------
20434|      9|                        found = "a simple value";
20435|      9|                        break;
20436|     15|                }
20437|     15|                break;
20438|     45|        }
20439|       |
20440|     45|        return unsupported_key_type(found);
20441|     45|    }
_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_EEE15get_cbor_stringERSC_PKc:
20267|  52.4k|    {
20268|       |        // read chunks iteratively, but reject a second indefinite-length
20269|       |        // level as required by RFC 8949, Section 3.2.3
20270|  52.4k|        bool indefinite = false;
20271|       |
20272|       |        // the chunk currently being validated; only used for the chunks of an
20273|       |        // indefinite-length string when the UTF-8 check can do something
20274|  52.4k|        string_t chunk;
20275|       |
20276|  55.8k|        while (true)
  ------------------
  |  Branch (20276:16): [True: 55.2k, Folded]
  ------------------
20277|  55.2k|        {
20278|  55.2k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  55.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 55.2k]
  |  |  ------------------
  ------------------
20279|      0|            {
20280|      0|                return false;
20281|      0|            }
20282|       |
20283|  55.2k|            if (current == 0x7F) // UTF-8 string (indefinite length)
  ------------------
  |  Branch (20283:17): [True: 782, False: 54.4k]
  ------------------
20284|    782|            {
20285|    782|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|    782|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1, False: 781]
  |  |  ------------------
  ------------------
20286|      1|                {
20287|      1|                    return cbor_indefinite_string_error("string", "string");
20288|      1|                }
20289|    781|                indefinite = true;
20290|    781|                get();
20291|    781|                continue;
20292|    782|            }
20293|       |
20294|       |            // a break marker closes the indefinite-length string; outside
20295|       |            // of one it falls through to the error below. Every chunk has
20296|       |            // been checked on its own, so there is nothing left to check.
20297|  54.4k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20297:17): [True: 2.77k, False: 51.6k]
  |  Branch (20297:31): [True: 688, False: 2.09k]
  ------------------
20298|    688|            {
20299|    688|                return true;
20300|    688|            }
20301|       |
20302|  53.7k|            if (!indefinite)
  ------------------
  |  Branch (20302:17): [True: 51.0k, False: 2.67k]
  ------------------
20303|  51.0k|            {
20304|  51.0k|                return get_cbor_string_chunk(result, false) && check_string_utf8(result, context);
  ------------------
  |  Branch (20304:24): [True: 50.4k, False: 610]
  |  Branch (20304:64): [True: 50.4k, False: 0]
  ------------------
20305|  51.0k|            }
20306|       |
20307|  2.67k|            if (error_handler == error_handler_t::keep)
  ------------------
  |  Branch (20307:17): [True: 2.09k, False: 582]
  ------------------
20308|  2.09k|            {
20309|       |                // nothing to check: read the chunk directly into the result
20310|  2.09k|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(result, true)))
  ------------------
  |  | 1697|  2.09k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.09k]
  |  |  ------------------
  ------------------
20311|      0|                {
20312|      0|                    return false;
20313|      0|                }
20314|  2.09k|            }
20315|    582|            else
20316|    582|            {
20317|       |                // RFC 8949, Section 3.2.3: each chunk is a text string of its
20318|       |                // own and must be valid UTF-8 by itself, i.e., a code point
20319|       |                // cannot be spread over two chunks
20320|    582|                chunk.clear();
20321|    582|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(chunk, true) || !check_string_utf8(chunk, context)))
  ------------------
  |  | 1697|    582|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 582]
  |  |  |  Branch (1697:94): [True: 582, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20322|      0|                {
20323|      0|                    return false;
20324|      0|                }
20325|    582|                result.append(chunk.data(), chunk.size());
20326|    582|            }
20327|       |
20328|  2.67k|            get();
20329|  2.67k|        }
20330|  52.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_EEE28cbor_indefinite_string_errorEPKcSM_:
20148|      3|    {
20149|      3|        return last_byte_error(exception_id::invalid_string_or_size, concat("indefinite-length ", type_name, " is not allowed inside indefinite-length ", type_name, "; last byte: 0x", get_token_string()), context);
20150|      3|    }
_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_EEE21get_cbor_string_chunkERSC_b:
20196|  53.1k|    {
20197|  53.1k|        switch (current)
20198|  53.1k|        {
20199|       |            // UTF-8 string (0x00..0x17 bytes follow)
20200|  32.0k|            case 0x60:
  ------------------
  |  Branch (20200:13): [True: 32.0k, False: 21.1k]
  ------------------
20201|  43.2k|            case 0x61:
  ------------------
  |  Branch (20201:13): [True: 11.2k, False: 41.9k]
  ------------------
20202|  44.2k|            case 0x62:
  ------------------
  |  Branch (20202:13): [True: 1.00k, False: 52.1k]
  ------------------
20203|  44.6k|            case 0x63:
  ------------------
  |  Branch (20203:13): [True: 420, False: 52.7k]
  ------------------
20204|  45.4k|            case 0x64:
  ------------------
  |  Branch (20204:13): [True: 744, False: 52.4k]
  ------------------
20205|  45.8k|            case 0x65:
  ------------------
  |  Branch (20205:13): [True: 418, False: 52.7k]
  ------------------
20206|  46.1k|            case 0x66:
  ------------------
  |  Branch (20206:13): [True: 329, False: 52.8k]
  ------------------
20207|  46.4k|            case 0x67:
  ------------------
  |  Branch (20207:13): [True: 255, False: 52.9k]
  ------------------
20208|  46.9k|            case 0x68:
  ------------------
  |  Branch (20208:13): [True: 502, False: 52.6k]
  ------------------
20209|  47.1k|            case 0x69:
  ------------------
  |  Branch (20209:13): [True: 226, False: 52.9k]
  ------------------
20210|  47.3k|            case 0x6A:
  ------------------
  |  Branch (20210:13): [True: 168, False: 53.0k]
  ------------------
20211|  47.4k|            case 0x6B:
  ------------------
  |  Branch (20211:13): [True: 143, False: 53.0k]
  ------------------
20212|  47.6k|            case 0x6C:
  ------------------
  |  Branch (20212:13): [True: 191, False: 52.9k]
  ------------------
20213|  47.8k|            case 0x6D:
  ------------------
  |  Branch (20213:13): [True: 176, False: 53.0k]
  ------------------
20214|  47.9k|            case 0x6E:
  ------------------
  |  Branch (20214:13): [True: 116, False: 53.0k]
  ------------------
20215|  48.0k|            case 0x6F:
  ------------------
  |  Branch (20215:13): [True: 111, False: 53.0k]
  ------------------
20216|  48.3k|            case 0x70:
  ------------------
  |  Branch (20216:13): [True: 309, False: 52.8k]
  ------------------
20217|  48.4k|            case 0x71:
  ------------------
  |  Branch (20217:13): [True: 90, False: 53.0k]
  ------------------
20218|  48.5k|            case 0x72:
  ------------------
  |  Branch (20218:13): [True: 92, False: 53.0k]
  ------------------
20219|  48.6k|            case 0x73:
  ------------------
  |  Branch (20219:13): [True: 63, False: 53.1k]
  ------------------
20220|  48.8k|            case 0x74:
  ------------------
  |  Branch (20220:13): [True: 185, False: 53.0k]
  ------------------
20221|  48.8k|            case 0x75:
  ------------------
  |  Branch (20221:13): [True: 60, False: 53.1k]
  ------------------
20222|  48.9k|            case 0x76:
  ------------------
  |  Branch (20222:13): [True: 97, False: 53.0k]
  ------------------
20223|  49.2k|            case 0x77:
  ------------------
  |  Branch (20223:13): [True: 317, False: 52.8k]
  ------------------
20224|  49.2k|            {
20225|  49.2k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result);
20226|  48.9k|            }
20227|       |
20228|  1.53k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20228:13): [True: 1.53k, False: 51.6k]
  ------------------
20229|  1.53k|            {
20230|  1.53k|                return get_cbor_sized_bytes<std::uint8_t>("string", result);
20231|  48.9k|            }
20232|       |
20233|  1.17k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20233:13): [True: 1.17k, False: 52.0k]
  ------------------
20234|  1.17k|            {
20235|  1.17k|                return get_cbor_sized_bytes<std::uint16_t>("string", result);
20236|  48.9k|            }
20237|       |
20238|    391|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20238:13): [True: 391, False: 52.7k]
  ------------------
20239|    391|            {
20240|    391|                return get_cbor_sized_bytes<std::uint32_t>("string", result);
20241|  48.9k|            }
20242|       |
20243|    801|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20243:13): [True: 801, False: 52.3k]
  ------------------
20244|    801|            {
20245|    801|                return get_cbor_sized_bytes<std::uint64_t>("string", result);
20246|  48.9k|            }
20247|       |
20248|     16|            default:
  ------------------
  |  Branch (20248:13): [True: 16, False: 53.1k]
  ------------------
20249|     16|            {
20250|     16|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x60-0x7B)", "string", inside_indefinite ? "" : " or indefinite string type (0x7F)");
  ------------------
  |  Branch (20250:133): [True: 14, False: 2]
  ------------------
20251|  48.9k|            }
20252|  53.1k|        }
20253|  53.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_stringIjEEbT_RSC_:
23767|  49.2k|    {
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|  49.2k|        return get_bytes(len, "string", result);
23778|  49.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_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  49.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|  49.6k|        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|  49.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 17.0k, False: 32.5k]
  ------------------
23898|  17.0k|        {
23899|  17.0k|            return true;
23900|  17.0k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  32.5k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  32.5k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 278, False: 32.3k]
  ------------------
23906|    278|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    278|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 234, False: 44]
  ------------------
23910|    278|                                       ? static_cast<std::size_t>(len)
23911|    278|                                       : chunk_size;
23912|    278|            const std::size_t old_size = result.size();
23913|    278|            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|    278|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    278|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 278, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    278|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    278|            chars_read += bytes_read;
23921|    278|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    278|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 278, False: 0]
  |  |  ------------------
  ------------------
23922|    278|            {
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|    278|                result.resize(old_size + bytes_read);
23927|    278|                ++chars_read;
23928|    278|                current = char_traits<char_type>::eof();
23929|    278|                return unexpect_eof(context);
23930|    278|            }
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|  32.3k|        return true;
23936|  32.5k|    }
_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|  49.6k|    {
23943|  49.6k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 32.3k, False: 17.3k]
  ------------------
23944|  32.3k|        {
23945|  32.3k|            return false;
23946|  32.3k|        }
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.3k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  17.3k|        const std::size_t remaining = ia.bulk_remaining();
23951|  17.3k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 278, False: 17.0k]
  ------------------
23952|    278|        {
23953|    278|            return false; // (the loop reports the premature end)
23954|    278|        }
23955|  17.0k|        const auto n = static_cast<std::size_t>(ulen);
23956|  17.0k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  17.0k|        ia.bulk_skip(n);
23958|  17.0k|        chars_read += n;
23959|  17.0k|        return true;
23960|  17.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_EEE20get_cbor_sized_bytesIhSC_EEbPKcRT0_:
20175|  1.53k|    {
20176|  1.53k|        NumberType len{};
20177|  1.53k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.52k, False: 9]
  |  Branch (20177:35): [True: 1.48k, False: 36]
  ------------------
20178|  1.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_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.52k|    {
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.52k|        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.52k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 804, False: 717]
  ------------------
23898|    804|        {
23899|    804|            return true;
23900|    804|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    717|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    717|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 36, False: 681]
  ------------------
23906|     36|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     36|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 36, False: 0]
  ------------------
23910|     36|                                       ? static_cast<std::size_t>(len)
23911|     36|                                       : chunk_size;
23912|     36|            const std::size_t old_size = result.size();
23913|     36|            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|     36|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     36|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 36, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     36|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     36|            chars_read += bytes_read;
23921|     36|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     36|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 0]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
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|    681|        return true;
23936|    717|    }
_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.52k|    {
23943|  1.52k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 681, False: 840]
  ------------------
23944|    681|        {
23945|    681|            return false;
23946|    681|        }
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|    840|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    840|        const std::size_t remaining = ia.bulk_remaining();
23951|    840|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 36, False: 804]
  ------------------
23952|     36|        {
23953|     36|            return false; // (the loop reports the premature end)
23954|     36|        }
23955|    804|        const auto n = static_cast<std::size_t>(ulen);
23956|    804|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    804|        ia.bulk_skip(n);
23958|    804|        chars_read += n;
23959|    804|        return true;
23960|    840|    }
_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_EEE20get_cbor_sized_bytesItSC_EEbPKcRT0_:
20175|  1.17k|    {
20176|  1.17k|        NumberType len{};
20177|  1.17k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.15k, False: 20]
  |  Branch (20177:35): [True: 1.07k, False: 77]
  ------------------
20178|  1.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_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|  1.15k|    {
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.15k|        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.15k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 432, False: 720]
  ------------------
23898|    432|        {
23899|    432|            return true;
23900|    432|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    720|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    720|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 77, False: 643]
  ------------------
23906|     77|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     77|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 56, False: 21]
  ------------------
23910|     77|                                       ? static_cast<std::size_t>(len)
23911|     77|                                       : chunk_size;
23912|     77|            const std::size_t old_size = result.size();
23913|     77|            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|     77|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     77|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 77, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     77|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     77|            chars_read += bytes_read;
23921|     77|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     77|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 77, False: 0]
  |  |  ------------------
  ------------------
23922|     77|            {
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|     77|                result.resize(old_size + bytes_read);
23927|     77|                ++chars_read;
23928|     77|                current = char_traits<char_type>::eof();
23929|     77|                return unexpect_eof(context);
23930|     77|            }
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|    643|        return true;
23936|    720|    }
_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|  1.15k|    {
23943|  1.15k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 643, False: 509]
  ------------------
23944|    643|        {
23945|    643|            return false;
23946|    643|        }
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|    509|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    509|        const std::size_t remaining = ia.bulk_remaining();
23951|    509|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 77, False: 432]
  ------------------
23952|     77|        {
23953|     77|            return false; // (the loop reports the premature end)
23954|     77|        }
23955|    432|        const auto n = static_cast<std::size_t>(ulen);
23956|    432|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    432|        ia.bulk_skip(n);
23958|    432|        chars_read += n;
23959|    432|        return true;
23960|    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_EEE20get_cbor_sized_bytesIjSC_EEbPKcRT0_:
20175|    391|    {
20176|    391|        NumberType len{};
20177|    391|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 374, False: 17]
  |  Branch (20177:35): [True: 298, False: 76]
  ------------------
20178|    391|    }
_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_EEE20get_cbor_sized_bytesImSC_EEbPKcRT0_:
20175|    801|    {
20176|    801|        NumberType len{};
20177|    801|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 780, False: 21]
  |  Branch (20177:35): [True: 584, False: 196]
  ------------------
20178|    801|    }
_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_bytesImSC_EEbT_PKcRT0_:
23893|    780|    {
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|    780|        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|    780|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 281, False: 499]
  ------------------
23898|    281|        {
23899|    281|            return true;
23900|    281|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    499|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    499|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 196, False: 303]
  ------------------
23906|    196|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    196|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 41, False: 155]
  ------------------
23910|    196|                                       ? static_cast<std::size_t>(len)
23911|    196|                                       : chunk_size;
23912|    196|            const std::size_t old_size = result.size();
23913|    196|            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|    196|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    196|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 196, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    196|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    196|            chars_read += bytes_read;
23921|    196|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    196|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 196, False: 0]
  |  |  ------------------
  ------------------
23922|    196|            {
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|    196|                result.resize(old_size + bytes_read);
23927|    196|                ++chars_read;
23928|    196|                current = char_traits<char_type>::eof();
23929|    196|                return unexpect_eof(context);
23930|    196|            }
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|    303|        return true;
23936|    499|    }
_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_blockImEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|    780|    {
23943|    780|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 303, False: 477]
  ------------------
23944|    303|        {
23945|    303|            return false;
23946|    303|        }
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|    477|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    477|        const std::size_t remaining = ia.bulk_remaining();
23951|    477|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 196, False: 281]
  ------------------
23952|    196|        {
23953|    196|            return false; // (the loop reports the premature end)
23954|    196|        }
23955|    281|        const auto n = static_cast<std::size_t>(ulen);
23956|    281|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    281|        ia.bulk_skip(n);
23958|    281|        chars_read += n;
23959|    281|        return true;
23960|    477|    }
_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|     45|    {
20160|     45|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     45|    }
_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_EEE16parse_cbor_valueEbNS1_18cbor_tag_handler_tERbSM_:
19762|   248k|    {
19763|   248k|        tag_pending = false;
19764|   248k|        item_read = false;
19765|       |
19766|   248k|        switch (get_char ? get() : current)
  ------------------
  |  Branch (19766:17): [True: 160k, False: 88.0k]
  ------------------
19767|   248k|        {
19768|       |            // EOF
19769|  1.82k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (19769:13): [True: 1.82k, False: 246k]
  ------------------
19770|  1.82k|                return unexpect_eof("value");
19771|       |
19772|       |            // Integer 0x00..0x17 (0..23)
19773|  10.4k|            case 0x00:
  ------------------
  |  Branch (19773:13): [True: 10.4k, False: 238k]
  ------------------
19774|  11.4k|            case 0x01:
  ------------------
  |  Branch (19774:13): [True: 985, False: 247k]
  ------------------
19775|  11.9k|            case 0x02:
  ------------------
  |  Branch (19775:13): [True: 513, False: 248k]
  ------------------
19776|  12.3k|            case 0x03:
  ------------------
  |  Branch (19776:13): [True: 394, False: 248k]
  ------------------
19777|  12.8k|            case 0x04:
  ------------------
  |  Branch (19777:13): [True: 475, False: 248k]
  ------------------
19778|  13.3k|            case 0x05:
  ------------------
  |  Branch (19778:13): [True: 512, False: 248k]
  ------------------
19779|  13.8k|            case 0x06:
  ------------------
  |  Branch (19779:13): [True: 528, False: 248k]
  ------------------
19780|  14.4k|            case 0x07:
  ------------------
  |  Branch (19780:13): [True: 551, False: 248k]
  ------------------
19781|  15.0k|            case 0x08:
  ------------------
  |  Branch (19781:13): [True: 594, False: 247k]
  ------------------
19782|  15.4k|            case 0x09:
  ------------------
  |  Branch (19782:13): [True: 398, False: 248k]
  ------------------
19783|  15.9k|            case 0x0A:
  ------------------
  |  Branch (19783:13): [True: 545, False: 248k]
  ------------------
19784|  16.3k|            case 0x0B:
  ------------------
  |  Branch (19784:13): [True: 383, False: 248k]
  ------------------
19785|  16.9k|            case 0x0C:
  ------------------
  |  Branch (19785:13): [True: 569, False: 248k]
  ------------------
19786|  17.4k|            case 0x0D:
  ------------------
  |  Branch (19786:13): [True: 555, False: 248k]
  ------------------
19787|  17.8k|            case 0x0E:
  ------------------
  |  Branch (19787:13): [True: 331, False: 248k]
  ------------------
19788|  18.2k|            case 0x0F:
  ------------------
  |  Branch (19788:13): [True: 388, False: 248k]
  ------------------
19789|  18.8k|            case 0x10:
  ------------------
  |  Branch (19789:13): [True: 602, False: 247k]
  ------------------
19790|  19.2k|            case 0x11:
  ------------------
  |  Branch (19790:13): [True: 481, False: 248k]
  ------------------
19791|  19.6k|            case 0x12:
  ------------------
  |  Branch (19791:13): [True: 342, False: 248k]
  ------------------
19792|  19.8k|            case 0x13:
  ------------------
  |  Branch (19792:13): [True: 253, False: 248k]
  ------------------
19793|  20.5k|            case 0x14:
  ------------------
  |  Branch (19793:13): [True: 707, False: 247k]
  ------------------
19794|  20.9k|            case 0x15:
  ------------------
  |  Branch (19794:13): [True: 335, False: 248k]
  ------------------
19795|  21.4k|            case 0x16:
  ------------------
  |  Branch (19795:13): [True: 531, False: 248k]
  ------------------
19796|  21.7k|            case 0x17:
  ------------------
  |  Branch (19796:13): [True: 275, False: 248k]
  ------------------
19797|  21.7k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
19798|       |
19799|    396|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19799:13): [True: 396, False: 248k]
  ------------------
19800|    396|            {
19801|    396|                std::uint8_t number{};
19802|    396|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19802:24): [True: 391, False: 5]
  |  Branch (19802:46): [True: 391, False: 0]
  ------------------
19803|  21.4k|            }
19804|       |
19805|    405|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (19805:13): [True: 405, False: 248k]
  ------------------
19806|    405|            {
19807|    405|                std::uint16_t number{};
19808|    405|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19808:24): [True: 390, False: 15]
  |  Branch (19808:46): [True: 390, False: 0]
  ------------------
19809|  21.4k|            }
19810|       |
19811|    390|            case 0x1A: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (19811:13): [True: 390, False: 248k]
  ------------------
19812|    390|            {
19813|    390|                std::uint32_t number{};
19814|    390|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19814:24): [True: 372, False: 18]
  |  Branch (19814:46): [True: 372, False: 0]
  ------------------
19815|  21.4k|            }
19816|       |
19817|    638|            case 0x1B: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (19817:13): [True: 638, False: 247k]
  ------------------
19818|    638|            {
19819|    638|                std::uint64_t number{};
19820|    638|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19820:24): [True: 619, False: 19]
  |  Branch (19820:46): [True: 619, False: 0]
  ------------------
19821|  21.4k|            }
19822|       |
19823|       |            // Negative integer -1-0x00..-1-0x17 (-1..-24)
19824|    834|            case 0x20:
  ------------------
  |  Branch (19824:13): [True: 834, False: 247k]
  ------------------
19825|  1.67k|            case 0x21:
  ------------------
  |  Branch (19825:13): [True: 837, False: 247k]
  ------------------
19826|  3.03k|            case 0x22:
  ------------------
  |  Branch (19826:13): [True: 1.36k, False: 247k]
  ------------------
19827|  3.73k|            case 0x23:
  ------------------
  |  Branch (19827:13): [True: 695, False: 247k]
  ------------------
19828|  4.15k|            case 0x24:
  ------------------
  |  Branch (19828:13): [True: 420, False: 248k]
  ------------------
19829|  4.96k|            case 0x25:
  ------------------
  |  Branch (19829:13): [True: 815, False: 247k]
  ------------------
19830|  5.51k|            case 0x26:
  ------------------
  |  Branch (19830:13): [True: 554, False: 248k]
  ------------------
19831|  6.70k|            case 0x27:
  ------------------
  |  Branch (19831:13): [True: 1.18k, False: 247k]
  ------------------
19832|  7.20k|            case 0x28:
  ------------------
  |  Branch (19832:13): [True: 501, False: 248k]
  ------------------
19833|  7.91k|            case 0x29:
  ------------------
  |  Branch (19833:13): [True: 713, False: 247k]
  ------------------
19834|  8.47k|            case 0x2A:
  ------------------
  |  Branch (19834:13): [True: 560, False: 248k]
  ------------------
19835|  9.22k|            case 0x2B:
  ------------------
  |  Branch (19835:13): [True: 752, False: 247k]
  ------------------
19836|  9.71k|            case 0x2C:
  ------------------
  |  Branch (19836:13): [True: 485, False: 248k]
  ------------------
19837|  10.4k|            case 0x2D:
  ------------------
  |  Branch (19837:13): [True: 723, False: 247k]
  ------------------
19838|  10.8k|            case 0x2E:
  ------------------
  |  Branch (19838:13): [True: 432, False: 248k]
  ------------------
19839|  11.7k|            case 0x2F:
  ------------------
  |  Branch (19839:13): [True: 850, False: 247k]
  ------------------
19840|  12.4k|            case 0x30:
  ------------------
  |  Branch (19840:13): [True: 765, False: 247k]
  ------------------
19841|  13.1k|            case 0x31:
  ------------------
  |  Branch (19841:13): [True: 672, False: 247k]
  ------------------
19842|  13.7k|            case 0x32:
  ------------------
  |  Branch (19842:13): [True: 592, False: 247k]
  ------------------
19843|  14.1k|            case 0x33:
  ------------------
  |  Branch (19843:13): [True: 421, False: 248k]
  ------------------
19844|  14.7k|            case 0x34:
  ------------------
  |  Branch (19844:13): [True: 620, False: 247k]
  ------------------
19845|  15.2k|            case 0x35:
  ------------------
  |  Branch (19845:13): [True: 448, False: 248k]
  ------------------
19846|  15.6k|            case 0x36:
  ------------------
  |  Branch (19846:13): [True: 460, False: 248k]
  ------------------
19847|  16.0k|            case 0x37:
  ------------------
  |  Branch (19847:13): [True: 344, False: 248k]
  ------------------
19848|  16.0k|                return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current));
19849|       |
19850|    401|            case 0x38: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19850:13): [True: 401, False: 248k]
  ------------------
19851|    401|                return get_cbor_negative_integer<std::uint8_t>();
19852|       |
19853|    380|            case 0x39: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (19853:13): [True: 380, False: 248k]
  ------------------
19854|    380|                return get_cbor_negative_integer<std::uint16_t>();
19855|       |
19856|    512|            case 0x3A: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (19856:13): [True: 512, False: 248k]
  ------------------
19857|    512|                return get_cbor_negative_integer<std::uint32_t>();
19858|       |
19859|    748|            case 0x3B: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (19859:13): [True: 748, False: 247k]
  ------------------
19860|    748|                return get_cbor_negative_integer<std::uint64_t>();
19861|       |
19862|       |            // Binary data (0x00..0x17 bytes follow)
19863|  23.0k|            case 0x40:
  ------------------
  |  Branch (19863:13): [True: 23.0k, False: 225k]
  ------------------
19864|  24.2k|            case 0x41:
  ------------------
  |  Branch (19864:13): [True: 1.23k, False: 247k]
  ------------------
19865|  24.6k|            case 0x42:
  ------------------
  |  Branch (19865:13): [True: 386, False: 248k]
  ------------------
19866|  24.7k|            case 0x43:
  ------------------
  |  Branch (19866:13): [True: 123, False: 248k]
  ------------------
19867|  25.0k|            case 0x44:
  ------------------
  |  Branch (19867:13): [True: 237, False: 248k]
  ------------------
19868|  25.1k|            case 0x45:
  ------------------
  |  Branch (19868:13): [True: 121, False: 248k]
  ------------------
19869|  25.2k|            case 0x46:
  ------------------
  |  Branch (19869:13): [True: 122, False: 248k]
  ------------------
19870|  25.4k|            case 0x47:
  ------------------
  |  Branch (19870:13): [True: 182, False: 248k]
  ------------------
19871|  25.5k|            case 0x48:
  ------------------
  |  Branch (19871:13): [True: 144, False: 248k]
  ------------------
19872|  25.7k|            case 0x49:
  ------------------
  |  Branch (19872:13): [True: 117, False: 248k]
  ------------------
19873|  25.8k|            case 0x4A:
  ------------------
  |  Branch (19873:13): [True: 118, False: 248k]
  ------------------
19874|  25.9k|            case 0x4B:
  ------------------
  |  Branch (19874:13): [True: 125, False: 248k]
  ------------------
19875|  26.0k|            case 0x4C:
  ------------------
  |  Branch (19875:13): [True: 124, False: 248k]
  ------------------
19876|  26.1k|            case 0x4D:
  ------------------
  |  Branch (19876:13): [True: 116, False: 248k]
  ------------------
19877|  26.2k|            case 0x4E:
  ------------------
  |  Branch (19877:13): [True: 49, False: 248k]
  ------------------
19878|  26.2k|            case 0x4F:
  ------------------
  |  Branch (19878:13): [True: 50, False: 248k]
  ------------------
19879|  26.3k|            case 0x50:
  ------------------
  |  Branch (19879:13): [True: 94, False: 248k]
  ------------------
19880|  26.4k|            case 0x51:
  ------------------
  |  Branch (19880:13): [True: 53, False: 248k]
  ------------------
19881|  26.4k|            case 0x52:
  ------------------
  |  Branch (19881:13): [True: 50, False: 248k]
  ------------------
19882|  26.5k|            case 0x53:
  ------------------
  |  Branch (19882:13): [True: 54, False: 248k]
  ------------------
19883|  26.5k|            case 0x54:
  ------------------
  |  Branch (19883:13): [True: 48, False: 248k]
  ------------------
19884|  26.6k|            case 0x55:
  ------------------
  |  Branch (19884:13): [True: 52, False: 248k]
  ------------------
19885|  26.6k|            case 0x56:
  ------------------
  |  Branch (19885:13): [True: 48, False: 248k]
  ------------------
19886|  26.7k|            case 0x57:
  ------------------
  |  Branch (19886:13): [True: 56, False: 248k]
  ------------------
19887|  27.6k|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19887:13): [True: 908, False: 247k]
  ------------------
19888|  28.4k|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19888:13): [True: 782, False: 247k]
  ------------------
19889|  28.8k|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19889:13): [True: 434, False: 248k]
  ------------------
19890|  29.5k|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19890:13): [True: 647, False: 247k]
  ------------------
19891|  30.5k|            case 0x5F: // Binary data (indefinite length)
  ------------------
  |  Branch (19891:13): [True: 1.02k, False: 247k]
  ------------------
19892|  30.5k|            {
19893|  30.5k|                binary_t b;
19894|  30.5k|                return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (19894:24): [True: 29.9k, False: 621]
  |  Branch (19894:46): [True: 29.9k, False: 0]
  ------------------
19895|  29.5k|            }
19896|       |
19897|       |            // UTF-8 string (0x00..0x17 bytes follow)
19898|  7.01k|            case 0x60:
  ------------------
  |  Branch (19898:13): [True: 7.01k, False: 241k]
  ------------------
19899|  8.08k|            case 0x61:
  ------------------
  |  Branch (19899:13): [True: 1.06k, False: 247k]
  ------------------
19900|  8.72k|            case 0x62:
  ------------------
  |  Branch (19900:13): [True: 649, False: 247k]
  ------------------
19901|  9.09k|            case 0x63:
  ------------------
  |  Branch (19901:13): [True: 367, False: 248k]
  ------------------
19902|  9.65k|            case 0x64:
  ------------------
  |  Branch (19902:13): [True: 554, False: 248k]
  ------------------
19903|  10.0k|            case 0x65:
  ------------------
  |  Branch (19903:13): [True: 410, False: 248k]
  ------------------
19904|  10.3k|            case 0x66:
  ------------------
  |  Branch (19904:13): [True: 299, False: 248k]
  ------------------
19905|  10.6k|            case 0x67:
  ------------------
  |  Branch (19905:13): [True: 250, False: 248k]
  ------------------
19906|  10.9k|            case 0x68:
  ------------------
  |  Branch (19906:13): [True: 377, False: 248k]
  ------------------
19907|  11.1k|            case 0x69:
  ------------------
  |  Branch (19907:13): [True: 200, False: 248k]
  ------------------
19908|  11.3k|            case 0x6A:
  ------------------
  |  Branch (19908:13): [True: 165, False: 248k]
  ------------------
19909|  11.4k|            case 0x6B:
  ------------------
  |  Branch (19909:13): [True: 141, False: 248k]
  ------------------
19910|  11.6k|            case 0x6C:
  ------------------
  |  Branch (19910:13): [True: 175, False: 248k]
  ------------------
19911|  11.8k|            case 0x6D:
  ------------------
  |  Branch (19911:13): [True: 157, False: 248k]
  ------------------
19912|  11.9k|            case 0x6E:
  ------------------
  |  Branch (19912:13): [True: 85, False: 248k]
  ------------------
19913|  12.0k|            case 0x6F:
  ------------------
  |  Branch (19913:13): [True: 97, False: 248k]
  ------------------
19914|  12.2k|            case 0x70:
  ------------------
  |  Branch (19914:13): [True: 256, False: 248k]
  ------------------
19915|  12.3k|            case 0x71:
  ------------------
  |  Branch (19915:13): [True: 84, False: 248k]
  ------------------
19916|  12.4k|            case 0x72:
  ------------------
  |  Branch (19916:13): [True: 88, False: 248k]
  ------------------
19917|  12.4k|            case 0x73:
  ------------------
  |  Branch (19917:13): [True: 56, False: 248k]
  ------------------
19918|  12.6k|            case 0x74:
  ------------------
  |  Branch (19918:13): [True: 182, False: 248k]
  ------------------
19919|  12.7k|            case 0x75:
  ------------------
  |  Branch (19919:13): [True: 57, False: 248k]
  ------------------
19920|  12.8k|            case 0x76:
  ------------------
  |  Branch (19920:13): [True: 82, False: 248k]
  ------------------
19921|  12.9k|            case 0x77:
  ------------------
  |  Branch (19921:13): [True: 120, False: 248k]
  ------------------
19922|  14.2k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19922:13): [True: 1.28k, False: 247k]
  ------------------
19923|  15.2k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19923:13): [True: 1.03k, False: 247k]
  ------------------
19924|  15.6k|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19924:13): [True: 391, False: 248k]
  ------------------
19925|  16.3k|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19925:13): [True: 668, False: 247k]
  ------------------
19926|  17.0k|            case 0x7F: // UTF-8 string (indefinite length)
  ------------------
  |  Branch (19926:13): [True: 778, False: 247k]
  ------------------
19927|  17.0k|            {
19928|  17.0k|                string_t s;
19929|  17.0k|                return get_cbor_string(s) && sax->string(s);
  ------------------
  |  Branch (19929:24): [True: 16.3k, False: 690]
  |  Branch (19929:46): [True: 16.3k, False: 0]
  ------------------
19930|  16.3k|            }
19931|       |
19932|       |            // array (0x00..0x17 data items follow)
19933|  4.63k|            case 0x80:
  ------------------
  |  Branch (19933:13): [True: 4.63k, False: 243k]
  ------------------
19934|  95.1k|            case 0x81:
  ------------------
  |  Branch (19934:13): [True: 90.4k, False: 158k]
  ------------------
19935|  96.6k|            case 0x82:
  ------------------
  |  Branch (19935:13): [True: 1.56k, False: 247k]
  ------------------
19936|  97.2k|            case 0x83:
  ------------------
  |  Branch (19936:13): [True: 511, False: 248k]
  ------------------
19937|  97.7k|            case 0x84:
  ------------------
  |  Branch (19937:13): [True: 546, False: 248k]
  ------------------
19938|  98.1k|            case 0x85:
  ------------------
  |  Branch (19938:13): [True: 354, False: 248k]
  ------------------
19939|  98.7k|            case 0x86:
  ------------------
  |  Branch (19939:13): [True: 625, False: 247k]
  ------------------
19940|  99.5k|            case 0x87:
  ------------------
  |  Branch (19940:13): [True: 774, False: 247k]
  ------------------
19941|  99.9k|            case 0x88:
  ------------------
  |  Branch (19941:13): [True: 407, False: 248k]
  ------------------
19942|   100k|            case 0x89:
  ------------------
  |  Branch (19942:13): [True: 446, False: 248k]
  ------------------
19943|   100k|            case 0x8A:
  ------------------
  |  Branch (19943:13): [True: 478, False: 248k]
  ------------------
19944|   101k|            case 0x8B:
  ------------------
  |  Branch (19944:13): [True: 428, False: 248k]
  ------------------
19945|   101k|            case 0x8C:
  ------------------
  |  Branch (19945:13): [True: 473, False: 248k]
  ------------------
19946|   102k|            case 0x8D:
  ------------------
  |  Branch (19946:13): [True: 341, False: 248k]
  ------------------
19947|   102k|            case 0x8E:
  ------------------
  |  Branch (19947:13): [True: 431, False: 248k]
  ------------------
19948|   103k|            case 0x8F:
  ------------------
  |  Branch (19948:13): [True: 523, False: 248k]
  ------------------
19949|   103k|            case 0x90:
  ------------------
  |  Branch (19949:13): [True: 572, False: 248k]
  ------------------
19950|   104k|            case 0x91:
  ------------------
  |  Branch (19950:13): [True: 477, False: 248k]
  ------------------
19951|   104k|            case 0x92:
  ------------------
  |  Branch (19951:13): [True: 447, False: 248k]
  ------------------
19952|   105k|            case 0x93:
  ------------------
  |  Branch (19952:13): [True: 714, False: 247k]
  ------------------
19953|   105k|            case 0x94:
  ------------------
  |  Branch (19953:13): [True: 297, False: 248k]
  ------------------
19954|   105k|            case 0x95:
  ------------------
  |  Branch (19954:13): [True: 408, False: 248k]
  ------------------
19955|   106k|            case 0x96:
  ------------------
  |  Branch (19955:13): [True: 396, False: 248k]
  ------------------
19956|   107k|            case 0x97:
  ------------------
  |  Branch (19956:13): [True: 734, False: 247k]
  ------------------
19957|   107k|                return enter_cbor_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19958|       |
19959|    940|            case 0x98: // array (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19959:13): [True: 940, False: 247k]
  ------------------
19960|  2.62k|            case 0x99: // array (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19960:13): [True: 1.68k, False: 246k]
  ------------------
19961|  3.31k|            case 0x9A: // array (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19961:13): [True: 690, False: 247k]
  ------------------
19962|  3.72k|            case 0x9B: // array (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19962:13): [True: 411, False: 248k]
  ------------------
19963|  3.72k|            {
19964|  3.72k|                std::uint64_t len{};
19965|  3.72k|                std::size_t size{};
19966|  3.72k|                return get_cbor_argument(len) && get_container_size(len, size, "array") && enter_cbor_array(size);
  ------------------
  |  Branch (19966:24): [True: 3.64k, False: 78]
  |  Branch (19966:50): [True: 3.64k, False: 1]
  |  Branch (19966:92): [True: 3.51k, False: 133]
  ------------------
19967|  3.31k|            }
19968|       |
19969|  6.70k|            case 0x9F: // array (indefinite length)
  ------------------
  |  Branch (19969:13): [True: 6.70k, False: 241k]
  ------------------
19970|  6.70k|                return enter_array(detail::unknown_size());
19971|       |
19972|       |            // map (0x00..0x17 pairs of data items follow)
19973|  4.48k|            case 0xA0:
  ------------------
  |  Branch (19973:13): [True: 4.48k, False: 244k]
  ------------------
19974|  13.4k|            case 0xA1:
  ------------------
  |  Branch (19974:13): [True: 8.94k, False: 239k]
  ------------------
19975|  15.3k|            case 0xA2:
  ------------------
  |  Branch (19975:13): [True: 1.93k, False: 246k]
  ------------------
19976|  15.8k|            case 0xA3:
  ------------------
  |  Branch (19976:13): [True: 436, False: 248k]
  ------------------
19977|  16.0k|            case 0xA4:
  ------------------
  |  Branch (19977:13): [True: 280, False: 248k]
  ------------------
19978|  16.3k|            case 0xA5:
  ------------------
  |  Branch (19978:13): [True: 295, False: 248k]
  ------------------
19979|  16.6k|            case 0xA6:
  ------------------
  |  Branch (19979:13): [True: 270, False: 248k]
  ------------------
19980|  17.0k|            case 0xA7:
  ------------------
  |  Branch (19980:13): [True: 414, False: 248k]
  ------------------
19981|  17.3k|            case 0xA8:
  ------------------
  |  Branch (19981:13): [True: 260, False: 248k]
  ------------------
19982|  17.5k|            case 0xA9:
  ------------------
  |  Branch (19982:13): [True: 274, False: 248k]
  ------------------
19983|  17.8k|            case 0xAA:
  ------------------
  |  Branch (19983:13): [True: 294, False: 248k]
  ------------------
19984|  18.1k|            case 0xAB:
  ------------------
  |  Branch (19984:13): [True: 258, False: 248k]
  ------------------
19985|  18.4k|            case 0xAC:
  ------------------
  |  Branch (19985:13): [True: 262, False: 248k]
  ------------------
19986|  18.6k|            case 0xAD:
  ------------------
  |  Branch (19986:13): [True: 280, False: 248k]
  ------------------
19987|  18.9k|            case 0xAE:
  ------------------
  |  Branch (19987:13): [True: 260, False: 248k]
  ------------------
19988|  19.2k|            case 0xAF:
  ------------------
  |  Branch (19988:13): [True: 296, False: 248k]
  ------------------
19989|  19.5k|            case 0xB0:
  ------------------
  |  Branch (19989:13): [True: 272, False: 248k]
  ------------------
19990|  19.8k|            case 0xB1:
  ------------------
  |  Branch (19990:13): [True: 302, False: 248k]
  ------------------
19991|  20.0k|            case 0xB2:
  ------------------
  |  Branch (19991:13): [True: 254, False: 248k]
  ------------------
19992|  20.3k|            case 0xB3:
  ------------------
  |  Branch (19992:13): [True: 295, False: 248k]
  ------------------
19993|  20.6k|            case 0xB4:
  ------------------
  |  Branch (19993:13): [True: 261, False: 248k]
  ------------------
19994|  20.8k|            case 0xB5:
  ------------------
  |  Branch (19994:13): [True: 259, False: 248k]
  ------------------
19995|  21.1k|            case 0xB6:
  ------------------
  |  Branch (19995:13): [True: 270, False: 248k]
  ------------------
19996|  21.5k|            case 0xB7:
  ------------------
  |  Branch (19996:13): [True: 402, False: 248k]
  ------------------
19997|  21.5k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19998|       |
19999|    327|            case 0xB8: // map (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19999:13): [True: 327, False: 248k]
  ------------------
20000|    694|            case 0xB9: // map (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20000:13): [True: 367, False: 248k]
  ------------------
20001|    934|            case 0xBA: // map (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20001:13): [True: 240, False: 248k]
  ------------------
20002|  1.29k|            case 0xBB: // map (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20002:13): [True: 359, False: 248k]
  ------------------
20003|  1.29k|            {
20004|  1.29k|                std::uint64_t len{};
20005|  1.29k|                std::size_t size{};
20006|  1.29k|                return get_cbor_argument(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (20006:24): [True: 1.24k, False: 45]
  |  Branch (20006:50): [True: 1.24k, False: 1]
  |  Branch (20006:90): [True: 1.10k, False: 143]
  ------------------
20007|    934|            }
20008|       |
20009|  1.54k|            case 0xBF: // map (indefinite length)
  ------------------
  |  Branch (20009:13): [True: 1.54k, False: 247k]
  ------------------
20010|  1.54k|                return enter_object(detail::unknown_size());
20011|       |
20012|      1|            case 0xC0: // tagged item (tag value 0-23, in the head itself)
  ------------------
  |  Branch (20012:13): [True: 1, False: 248k]
  ------------------
20013|      2|            case 0xC1:
  ------------------
  |  Branch (20013:13): [True: 1, False: 248k]
  ------------------
20014|      3|            case 0xC2:
  ------------------
  |  Branch (20014:13): [True: 1, False: 248k]
  ------------------
20015|      4|            case 0xC3:
  ------------------
  |  Branch (20015:13): [True: 1, False: 248k]
  ------------------
20016|      5|            case 0xC4:
  ------------------
  |  Branch (20016:13): [True: 1, False: 248k]
  ------------------
20017|      6|            case 0xC5:
  ------------------
  |  Branch (20017:13): [True: 1, False: 248k]
  ------------------
20018|      8|            case 0xC6:
  ------------------
  |  Branch (20018:13): [True: 2, False: 248k]
  ------------------
20019|     11|            case 0xC7:
  ------------------
  |  Branch (20019:13): [True: 3, False: 248k]
  ------------------
20020|     12|            case 0xC8:
  ------------------
  |  Branch (20020:13): [True: 1, False: 248k]
  ------------------
20021|     13|            case 0xC9:
  ------------------
  |  Branch (20021:13): [True: 1, False: 248k]
  ------------------
20022|     14|            case 0xCA:
  ------------------
  |  Branch (20022:13): [True: 1, False: 248k]
  ------------------
20023|     15|            case 0xCB:
  ------------------
  |  Branch (20023:13): [True: 1, False: 248k]
  ------------------
20024|     16|            case 0xCC:
  ------------------
  |  Branch (20024:13): [True: 1, False: 248k]
  ------------------
20025|     17|            case 0xCD:
  ------------------
  |  Branch (20025:13): [True: 1, False: 248k]
  ------------------
20026|     18|            case 0xCE:
  ------------------
  |  Branch (20026:13): [True: 1, False: 248k]
  ------------------
20027|     19|            case 0xCF:
  ------------------
  |  Branch (20027:13): [True: 1, False: 248k]
  ------------------
20028|     20|            case 0xD0:
  ------------------
  |  Branch (20028:13): [True: 1, False: 248k]
  ------------------
20029|     21|            case 0xD1:
  ------------------
  |  Branch (20029:13): [True: 1, False: 248k]
  ------------------
20030|     22|            case 0xD2:
  ------------------
  |  Branch (20030:13): [True: 1, False: 248k]
  ------------------
20031|     23|            case 0xD3:
  ------------------
  |  Branch (20031:13): [True: 1, False: 248k]
  ------------------
20032|     25|            case 0xD4:
  ------------------
  |  Branch (20032:13): [True: 2, False: 248k]
  ------------------
20033|     26|            case 0xD5:
  ------------------
  |  Branch (20033:13): [True: 1, False: 248k]
  ------------------
20034|     27|            case 0xD6:
  ------------------
  |  Branch (20034:13): [True: 1, False: 248k]
  ------------------
20035|     30|            case 0xD7:
  ------------------
  |  Branch (20035:13): [True: 3, False: 248k]
  ------------------
20036|     30|            {
20037|     30|                if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20037:21): [True: 30, False: 0]
  ------------------
20038|     30|                {
20039|     30|                    return unexpected_byte("invalid byte", "value");
20040|     30|                }
20041|       |
20042|       |                // ignore and store: the tag value is already in the head, so
20043|       |                // there is nothing left to read here; the tagged value that
20044|       |                // follows is read by the loop in parse_cbor_internal() rather
20045|       |                // than by recursing here
20046|      0|                tag_pending = true;
20047|      0|                return true;
20048|     30|            }
20049|       |
20050|      2|            case 0xD8: // tagged item (1 byte follows)
  ------------------
  |  Branch (20050:13): [True: 2, False: 248k]
  ------------------
20051|      3|            case 0xD9: // tagged item (2 bytes follow)
  ------------------
  |  Branch (20051:13): [True: 1, False: 248k]
  ------------------
20052|      4|            case 0xDA: // tagged item (4 bytes follow)
  ------------------
  |  Branch (20052:13): [True: 1, False: 248k]
  ------------------
20053|      5|            case 0xDB: // tagged item (8 bytes follow)
  ------------------
  |  Branch (20053:13): [True: 1, False: 248k]
  ------------------
20054|      5|            {
20055|      5|                switch (tag_handler)
20056|      5|                {
20057|      5|                    case cbor_tag_handler_t::error:
  ------------------
  |  Branch (20057:21): [True: 5, False: 0]
  ------------------
20058|      5|                    {
20059|      5|                        return unexpected_byte("invalid byte", "value");
20060|      0|                    }
20061|       |
20062|      0|                    case cbor_tag_handler_t::ignore:
  ------------------
  |  Branch (20062:21): [True: 0, False: 5]
  ------------------
20063|      0|                    {
20064|       |                        // ignore the tag's binary subtype argument
20065|      0|                        std::uint64_t subtype_to_ignore{};
20066|      0|                        if (!get_cbor_argument(subtype_to_ignore))
  ------------------
  |  Branch (20066:29): [True: 0, False: 0]
  ------------------
20067|      0|                        {
20068|      0|                            return false;
20069|      0|                        }
20070|       |                        // the tagged value follows; it is read by the loop in
20071|       |                        // parse_cbor_internal() rather than by recursing here
20072|      0|                        tag_pending = true;
20073|      0|                        return true;
20074|      0|                    }
20075|       |
20076|      0|                    case cbor_tag_handler_t::store:
  ------------------
  |  Branch (20076:21): [True: 0, False: 5]
  ------------------
20077|      0|                    {
20078|       |                        // use binary subtype and store in a binary container
20079|      0|                        std::uint64_t subtype{};
20080|      0|                        if (!get_cbor_argument(subtype))
  ------------------
  |  Branch (20080:29): [True: 0, False: 0]
  ------------------
20081|      0|                        {
20082|      0|                            return false;
20083|      0|                        }
20084|      0|                        binary_t b;
20085|      0|                        b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
20086|       |
20087|      0|                        get();
20088|       |                        // a byte string (the heads accepted by get_cbor_binary) keeps the tag as subtype
20089|      0|                        if ((current >= 0x40 && current <= 0x5B) || current == 0x5F)
  ------------------
  |  Branch (20089:30): [True: 0, False: 0]
  |  Branch (20089:49): [True: 0, False: 0]
  |  Branch (20089:69): [True: 0, False: 0]
  ------------------
20090|      0|                        {
20091|      0|                            return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (20091:36): [True: 0, False: 0]
  |  Branch (20091:58): [True: 0, False: 0]
  ------------------
20092|      0|                        }
20093|       |
20094|       |                        // not a byte string: the tagged value, whose first byte
20095|       |                        // was just read, is read by the caller like for ignore
20096|      0|                        tag_pending = true;
20097|      0|                        item_read = true;
20098|      0|                        return true;
20099|      0|                    }
20100|       |
20101|      0|                    default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20101:21): [True: 0, False: 5]
  ------------------
20102|      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 (20102:25): [Folded, False: 0]
  ------------------
20103|      0|                        return false;        // LCOV_EXCL_LINE
20104|      5|                }
20105|      5|            }
20106|       |
20107|  1.43k|            case 0xF4: // false
  ------------------
  |  Branch (20107:13): [True: 1.43k, False: 247k]
  ------------------
20108|  1.43k|                return sax->boolean(false);
20109|       |
20110|  2.28k|            case 0xF5: // true
  ------------------
  |  Branch (20110:13): [True: 2.28k, False: 246k]
  ------------------
20111|  2.28k|                return sax->boolean(true);
20112|       |
20113|  3.21k|            case 0xF6: // null
  ------------------
  |  Branch (20113:13): [True: 3.21k, False: 245k]
  ------------------
20114|  3.21k|                return sax->null();
20115|       |
20116|  7.08k|            case 0xF9: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (20116:13): [True: 7.08k, False: 241k]
  ------------------
20117|  7.08k|                return get_half_float(false);
20118|       |
20119|    558|            case 0xFA: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (20119:13): [True: 558, False: 248k]
  ------------------
20120|    558|                return get_cbor_float<float>();
20121|       |
20122|    919|            case 0xFB: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (20122:13): [True: 919, False: 247k]
  ------------------
20123|    919|                return get_cbor_float<double>();
20124|       |
20125|     58|            default: // anything else (0xFF is handled inside the other types)
  ------------------
  |  Branch (20125:13): [True: 58, False: 248k]
  ------------------
20126|     58|            {
20127|     58|                return unexpected_byte("invalid byte", "value");
20128|      5|            }
20129|   248k|        }
20130|   248k|    }
_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|    645|    {
23657|    645|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    645|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 645, False: 0]
  |  |  ------------------
  ------------------
23658|    645|        {
23659|    645|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    645|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    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_EEE13emit_unsignedItEEbT_:
23656|    661|    {
23657|    661|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    661|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 661, False: 0]
  |  |  ------------------
  ------------------
23658|    661|        {
23659|    661|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    661|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    661|    }
_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|    494|    {
23657|    494|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    494|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 494, False: 0]
  |  |  ------------------
  ------------------
23658|    494|        {
23659|    494|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    494|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    494|    }
_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_EEE25get_cbor_negative_integerIhEEbv:
19724|    401|    {
19725|    401|        NumberType number{};
19726|    401|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 392, False: 9]
  |  Branch (19726:38): [True: 392, False: 0]
  ------------------
19727|    401|    }
_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_EEE26emit_cbor_negative_integerIhEEbT_:
19732|    653|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    653|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    653|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 653, False: 0]
  |  |  ------------------
  ------------------
19737|    653|        {
19738|    653|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    653|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    653|    }
_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_EEE25get_cbor_negative_integerItEEbv:
19724|    380|    {
19725|    380|        NumberType number{};
19726|    380|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 369, False: 11]
  |  Branch (19726:38): [True: 369, False: 0]
  ------------------
19727|    380|    }
_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_EEE26emit_cbor_negative_integerItEEbT_:
19732|    647|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    647|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    647|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 647, False: 0]
  |  |  ------------------
  ------------------
19737|    647|        {
19738|    647|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    647|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    647|    }
_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_EEE25get_cbor_negative_integerIjEEbv:
19724|    512|    {
19725|    512|        NumberType number{};
19726|    512|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 494, False: 18]
  |  Branch (19726:38): [True: 494, False: 0]
  ------------------
19727|    512|    }
_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_EEE26emit_cbor_negative_integerIjEEbT_:
19732|    640|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    640|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    640|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 640, False: 0]
  |  |  ------------------
  ------------------
19737|    640|        {
19738|    640|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    640|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    640|    }
_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_EEE25get_cbor_negative_integerImEEbv:
19724|    748|    {
19725|    748|        NumberType number{};
19726|    748|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 729, False: 19]
  |  Branch (19726:38): [True: 729, False: 0]
  ------------------
19727|    748|    }
_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_EEE26emit_cbor_negative_integerImEEbT_:
19732|  1.19k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  1.19k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.19k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 771, False: 427]
  |  |  ------------------
  ------------------
19737|    771|        {
19738|    771|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    771|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|    427|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  1.19k|    }
_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_EEE15get_cbor_binaryERNS0_27byte_container_with_subtypeISF_EE:
20530|  30.5k|    {
20531|       |        // read chunks iteratively, but reject a second indefinite-length
20532|       |        // level as required by RFC 8949, Section 3.2.3
20533|  30.5k|        bool indefinite = false;
20534|       |
20535|  33.7k|        while (true)
  ------------------
  |  Branch (20535:16): [True: 33.1k, Folded]
  ------------------
20536|  33.1k|        {
20537|  33.1k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("binary")))
  ------------------
  |  | 1697|  33.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 33.1k]
  |  |  ------------------
  ------------------
20538|      0|            {
20539|      0|                return false;
20540|      0|            }
20541|       |
20542|  33.1k|            if (current == 0x5F) // Binary data (indefinite length)
  ------------------
  |  Branch (20542:17): [True: 1.02k, False: 32.1k]
  ------------------
20543|  1.02k|            {
20544|  1.02k|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|  1.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 1.02k]
  |  |  ------------------
  ------------------
20545|      2|                {
20546|      2|                    return cbor_indefinite_string_error("binary array", "binary");
20547|      2|                }
20548|  1.02k|                indefinite = true;
20549|  1.02k|                get();
20550|  1.02k|                continue;
20551|  1.02k|            }
20552|       |
20553|       |            // a break marker closes the indefinite-length string; outside
20554|       |            // of one it falls through to the error below
20555|  32.1k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20555:17): [True: 2.59k, False: 29.5k]
  |  Branch (20555:31): [True: 926, False: 1.66k]
  ------------------
20556|    926|            {
20557|    926|                return true;
20558|    926|            }
20559|       |
20560|  31.2k|            if (JSON_HEDLEY_UNLIKELY(!get_cbor_binary_chunk(result, indefinite)))
  ------------------
  |  | 1697|  31.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 31.2k]
  |  |  ------------------
  ------------------
20561|      0|            {
20562|      0|                return false;
20563|      0|            }
20564|       |
20565|  31.2k|            if (!indefinite)
  ------------------
  |  Branch (20565:17): [True: 28.9k, False: 2.22k]
  ------------------
20566|  28.9k|            {
20567|  28.9k|                return true;
20568|  28.9k|            }
20569|       |
20570|  2.22k|            get();
20571|  2.22k|        }
20572|  30.5k|    }
_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_EEE21get_cbor_binary_chunkERNS0_27byte_container_with_subtypeISF_EEb:
20459|  31.1k|    {
20460|  31.1k|        switch (current)
20461|  31.1k|        {
20462|       |            // Binary data (0x00..0x17 bytes follow)
20463|  24.3k|            case 0x40:
  ------------------
  |  Branch (20463:13): [True: 24.3k, False: 6.85k]
  ------------------
20464|  25.7k|            case 0x41:
  ------------------
  |  Branch (20464:13): [True: 1.40k, False: 29.7k]
  ------------------
20465|  26.1k|            case 0x42:
  ------------------
  |  Branch (20465:13): [True: 392, False: 30.7k]
  ------------------
20466|  26.2k|            case 0x43:
  ------------------
  |  Branch (20466:13): [True: 127, False: 31.0k]
  ------------------
20467|  26.4k|            case 0x44:
  ------------------
  |  Branch (20467:13): [True: 237, False: 30.9k]
  ------------------
20468|  26.6k|            case 0x45:
  ------------------
  |  Branch (20468:13): [True: 125, False: 31.0k]
  ------------------
20469|  26.7k|            case 0x46:
  ------------------
  |  Branch (20469:13): [True: 122, False: 31.0k]
  ------------------
20470|  26.9k|            case 0x47:
  ------------------
  |  Branch (20470:13): [True: 186, False: 30.9k]
  ------------------
20471|  27.0k|            case 0x48:
  ------------------
  |  Branch (20471:13): [True: 145, False: 31.0k]
  ------------------
20472|  27.1k|            case 0x49:
  ------------------
  |  Branch (20472:13): [True: 118, False: 31.0k]
  ------------------
20473|  27.2k|            case 0x4A:
  ------------------
  |  Branch (20473:13): [True: 118, False: 31.0k]
  ------------------
20474|  27.4k|            case 0x4B:
  ------------------
  |  Branch (20474:13): [True: 126, False: 31.0k]
  ------------------
20475|  27.5k|            case 0x4C:
  ------------------
  |  Branch (20475:13): [True: 124, False: 31.0k]
  ------------------
20476|  27.6k|            case 0x4D:
  ------------------
  |  Branch (20476:13): [True: 117, False: 31.0k]
  ------------------
20477|  27.7k|            case 0x4E:
  ------------------
  |  Branch (20477:13): [True: 49, False: 31.1k]
  ------------------
20478|  27.7k|            case 0x4F:
  ------------------
  |  Branch (20478:13): [True: 50, False: 31.1k]
  ------------------
20479|  27.8k|            case 0x50:
  ------------------
  |  Branch (20479:13): [True: 105, False: 31.0k]
  ------------------
20480|  27.9k|            case 0x51:
  ------------------
  |  Branch (20480:13): [True: 55, False: 31.1k]
  ------------------
20481|  27.9k|            case 0x52:
  ------------------
  |  Branch (20481:13): [True: 53, False: 31.1k]
  ------------------
20482|  28.0k|            case 0x53:
  ------------------
  |  Branch (20482:13): [True: 54, False: 31.1k]
  ------------------
20483|  28.0k|            case 0x54:
  ------------------
  |  Branch (20483:13): [True: 48, False: 31.1k]
  ------------------
20484|  28.1k|            case 0x55:
  ------------------
  |  Branch (20484:13): [True: 61, False: 31.1k]
  ------------------
20485|  28.1k|            case 0x56:
  ------------------
  |  Branch (20485:13): [True: 57, False: 31.1k]
  ------------------
20486|  28.2k|            case 0x57:
  ------------------
  |  Branch (20486:13): [True: 62, False: 31.1k]
  ------------------
20487|  28.2k|            {
20488|  28.2k|                return get_binary(static_cast<unsigned int>(current) & 0x1Fu, result);
20489|  28.1k|            }
20490|       |
20491|    978|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20491:13): [True: 978, False: 30.1k]
  ------------------
20492|    978|            {
20493|    978|                return get_cbor_sized_bytes<std::uint8_t>("binary", result);
20494|  28.1k|            }
20495|       |
20496|    839|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20496:13): [True: 839, False: 30.3k]
  ------------------
20497|    839|            {
20498|    839|                return get_cbor_sized_bytes<std::uint16_t>("binary", result);
20499|  28.1k|            }
20500|       |
20501|    434|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20501:13): [True: 434, False: 30.7k]
  ------------------
20502|    434|            {
20503|    434|                return get_cbor_sized_bytes<std::uint32_t>("binary", result);
20504|  28.1k|            }
20505|       |
20506|    647|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20506:13): [True: 647, False: 30.5k]
  ------------------
20507|    647|            {
20508|    647|                return get_cbor_sized_bytes<std::uint64_t>("binary", result);
20509|  28.1k|            }
20510|       |
20511|     25|            default:
  ------------------
  |  Branch (20511:13): [True: 25, False: 31.1k]
  ------------------
20512|     25|            {
20513|     25|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x40-0x5B)", "binary", inside_indefinite ? "" : " or indefinite binary array type (0x5F)");
  ------------------
  |  Branch (20513:133): [True: 25, False: 0]
  ------------------
20514|  28.1k|            }
20515|  31.1k|        }
20516|  31.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_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  28.2k|    {
23868|  28.2k|        return get_bytes(len, "binary", result);
23869|  28.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_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  28.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|  28.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|  28.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 28.6k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  28.6k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  32.4k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 4.02k, False: 28.3k]
  ------------------
23906|  4.02k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  4.02k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 3.97k, False: 51]
  ------------------
23910|  4.02k|                                       ? static_cast<std::size_t>(len)
23911|  4.02k|                                       : chunk_size;
23912|  4.02k|            const std::size_t old_size = result.size();
23913|  4.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|  4.02k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  4.02k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 4.02k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  4.02k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  4.02k|            chars_read += bytes_read;
23921|  4.02k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  4.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 3.74k]
  |  |  ------------------
  ------------------
23922|    276|            {
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|    276|                result.resize(old_size + bytes_read);
23927|    276|                ++chars_read;
23928|    276|                current = char_traits<char_type>::eof();
23929|    276|                return unexpect_eof(context);
23930|    276|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  3.74k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  3.74k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 3.74k, False: 0]
  ------------------
23933|  3.74k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  3.74k|        }
23935|  28.3k|        return true;
23936|  28.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_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  28.6k|    {
23965|  28.6k|        return false;
23966|  28.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_EEE20get_cbor_sized_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    978|    {
20176|    978|        NumberType len{};
20177|    978|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 968, False: 10]
  |  Branch (20177:35): [True: 932, False: 36]
  ------------------
20178|    978|    }
_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|    968|    {
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|    968|        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|    968|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 968]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    968|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.47k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 542, False: 932]
  ------------------
23906|    542|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    542|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 542, False: 0]
  ------------------
23910|    542|                                       ? static_cast<std::size_t>(len)
23911|    542|                                       : chunk_size;
23912|    542|            const std::size_t old_size = result.size();
23913|    542|            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|    542|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    542|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 542, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    542|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    542|            chars_read += bytes_read;
23921|    542|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    542|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 506]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    506|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    506|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 506, False: 0]
  ------------------
23933|    506|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    506|        }
23935|    932|        return true;
23936|    968|    }
_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|    968|    {
23965|    968|        return false;
23966|    968|    }
_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_EEE20get_cbor_sized_bytesItNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    839|    {
20176|    839|        NumberType len{};
20177|    839|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 823, False: 16]
  |  Branch (20177:35): [True: 775, False: 48]
  ------------------
20178|    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_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    823|    {
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|    823|        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|    823|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 823]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    823|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.19k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 420, False: 775]
  ------------------
23906|    420|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    420|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 403, False: 17]
  ------------------
23910|    420|                                       ? static_cast<std::size_t>(len)
23911|    420|                                       : chunk_size;
23912|    420|            const std::size_t old_size = result.size();
23913|    420|            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|    420|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    420|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 420, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    420|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    420|            chars_read += bytes_read;
23921|    420|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    420|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 48, False: 372]
  |  |  ------------------
  ------------------
23922|     48|            {
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|     48|                result.resize(old_size + bytes_read);
23927|     48|                ++chars_read;
23928|     48|                current = char_traits<char_type>::eof();
23929|     48|                return unexpect_eof(context);
23930|     48|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    372|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    372|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 372, False: 0]
  ------------------
23933|    372|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    372|        }
23935|    775|        return true;
23936|    823|    }
_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|    823|    {
23965|    823|        return false;
23966|    823|    }
_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_EEE20get_cbor_sized_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    434|    {
20176|    434|        NumberType len{};
20177|    434|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 417, False: 17]
  |  Branch (20177:35): [True: 334, False: 83]
  ------------------
20178|    434|    }
_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_EEE20get_cbor_sized_bytesImNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    647|    {
20176|    647|        NumberType len{};
20177|    647|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 622, False: 25]
  |  Branch (20177:35): [True: 492, False: 130]
  ------------------
20178|    647|    }
_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_bytesImNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    622|    {
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|    622|        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|    622|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 622]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    622|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    785|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 293, False: 492]
  ------------------
23906|    293|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    293|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 192, False: 101]
  ------------------
23910|    293|                                       ? static_cast<std::size_t>(len)
23911|    293|                                       : chunk_size;
23912|    293|            const std::size_t old_size = result.size();
23913|    293|            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|    293|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    293|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 293, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    293|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    293|            chars_read += bytes_read;
23921|    293|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    293|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 130, False: 163]
  |  |  ------------------
  ------------------
23922|    130|            {
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|    130|                result.resize(old_size + bytes_read);
23927|    130|                ++chars_read;
23928|    130|                current = char_traits<char_type>::eof();
23929|    130|                return unexpect_eof(context);
23930|    130|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    163|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    163|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 163, False: 0]
  ------------------
23933|    163|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    163|        }
23935|    492|        return true;
23936|    622|    }
_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_blockImNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    622|    {
23965|    622|        return false;
23966|    622|    }
_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_EEE16enter_cbor_arrayEm:
20818|   110k|    {
20819|   110k|        return enter_array(len) && (len <= 1 || parse_cbor_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (20819:16): [True: 110k, False: 133]
  |  Branch (20819:37): [True: 95.6k, False: 14.9k]
  |  Branch (20819:49): [True: 14.9k, False: 0]
  ------------------
20820|   110k|    }
_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_EEE21parse_cbor_scalar_runENS4_17integral_constantIbLb1EEE:
20713|  14.9k|    {
20714|       |        // nothing pushes onto the stack while the run reads scalars
20715|  14.9k|        std::size_t& remaining = container_stack.back().remaining;
20716|  25.9k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (20716:16): [True: 25.4k, False: 497]
  |  Branch (20716:34): [True: 22.4k, False: 3.01k]
  ------------------
20717|  22.4k|        {
20718|  22.4k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
20719|  22.4k|            const unsigned char head = data[0];
20720|  22.4k|            bool accepted = false;
20721|  22.4k|            switch (head)
20722|  22.4k|            {
20723|    254|                case 0x18:
  ------------------
  |  Branch (20723:17): [True: 254, False: 22.1k]
  ------------------
20724|    254|                    bulk_advance(2, head);
20725|    254|                    accepted = emit_unsigned(data[1]);
20726|    254|                    break;
20727|    271|                case 0x19:
  ------------------
  |  Branch (20727:17): [True: 271, False: 22.1k]
  ------------------
20728|    271|                    bulk_advance(3, head);
20729|    271|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
20730|    271|                    break;
20731|    122|                case 0x1A:
  ------------------
  |  Branch (20731:17): [True: 122, False: 22.2k]
  ------------------
20732|    122|                    bulk_advance(5, head);
20733|    122|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
20734|    122|                    break;
20735|    272|                case 0x1B:
  ------------------
  |  Branch (20735:17): [True: 272, False: 22.1k]
  ------------------
20736|    272|                    bulk_advance(9, head);
20737|    272|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
20738|    272|                    break;
20739|    261|                case 0x38:
  ------------------
  |  Branch (20739:17): [True: 261, False: 22.1k]
  ------------------
20740|    261|                    bulk_advance(2, head);
20741|    261|                    accepted = emit_cbor_negative_integer(data[1]);
20742|    261|                    break;
20743|    278|                case 0x39:
  ------------------
  |  Branch (20743:17): [True: 278, False: 22.1k]
  ------------------
20744|    278|                    bulk_advance(3, head);
20745|    278|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint16_t>(data + 1));
20746|    278|                    break;
20747|    146|                case 0x3A:
  ------------------
  |  Branch (20747:17): [True: 146, False: 22.2k]
  ------------------
20748|    146|                    bulk_advance(5, head);
20749|    146|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint32_t>(data + 1));
20750|    146|                    break;
20751|    469|                case 0x3B:
  ------------------
  |  Branch (20751:17): [True: 469, False: 21.9k]
  ------------------
20752|    469|                    bulk_advance(9, head);
20753|    469|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint64_t>(data + 1));
20754|    469|                    break;
20755|    464|                case 0xF4:
  ------------------
  |  Branch (20755:17): [True: 464, False: 21.9k]
  ------------------
20756|    464|                    bulk_advance(1, head);
20757|    464|                    accepted = sax->boolean(false);
20758|    464|                    break;
20759|    588|                case 0xF5:
  ------------------
  |  Branch (20759:17): [True: 588, False: 21.8k]
  ------------------
20760|    588|                    bulk_advance(1, head);
20761|    588|                    accepted = sax->boolean(true);
20762|    588|                    break;
20763|    948|                case 0xF6:
  ------------------
  |  Branch (20763:17): [True: 948, False: 21.4k]
  ------------------
20764|    948|                    bulk_advance(1, head);
20765|    948|                    accepted = sax->null();
20766|    948|                    break;
20767|    130|                case 0xFA:
  ------------------
  |  Branch (20767:17): [True: 130, False: 22.2k]
  ------------------
20768|    130|                    bulk_advance(5, head);
20769|    130|                    accepted = emit_float(load_big_endian<float>(data + 1));
20770|    130|                    break;
20771|    153|                case 0xFB:
  ------------------
  |  Branch (20771:17): [True: 153, False: 22.2k]
  ------------------
20772|    153|                    bulk_advance(9, head);
20773|    153|                    accepted = emit_float(load_big_endian<double>(data + 1));
20774|    153|                    break;
20775|  18.0k|                default:
  ------------------
  |  Branch (20775:17): [True: 18.0k, False: 4.35k]
  ------------------
20776|  18.0k|                    if (head <= 0x17)
  ------------------
  |  Branch (20776:25): [True: 4.72k, False: 13.3k]
  ------------------
20777|  4.72k|                    {
20778|  4.72k|                        bulk_advance(1, head);
20779|  4.72k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
20780|  4.72k|                    }
20781|  13.3k|                    else if (head >= 0x20 && head <= 0x37)
  ------------------
  |  Branch (20781:30): [True: 13.3k, False: 2]
  |  Branch (20781:46): [True: 1.89k, False: 11.4k]
  ------------------
20782|  1.89k|                    {
20783|  1.89k|                        bulk_advance(1, head);
20784|  1.89k|                        accepted = sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - head));
20785|  1.89k|                    }
20786|  11.4k|                    else
20787|  11.4k|                    {
20788|       |                        // any other value is read by parse_cbor_value
20789|  11.4k|                        return true;
20790|  11.4k|                    }
20791|  6.62k|                    break;
20792|  22.4k|            }
20793|  10.9k|            --remaining;
20794|  10.9k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|  10.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 10.9k]
  |  |  ------------------
  ------------------
20795|      0|            {
20796|      0|                return false;
20797|      0|            }
20798|  10.9k|        }
20799|  3.51k|        return true;
20800|  14.9k|    }
_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|  10.9k|    {
20690|  10.9k|        ia.bulk_skip(size);
20691|  10.9k|        chars_read += size;
20692|  10.9k|        current = head;
20693|  10.9k|    }
_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|    549|    {
20671|    549|        NumberType result{};
20672|    549|        std::memcpy(&result, data, sizeof(NumberType));
20673|    549|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 549, False: 0]
  ------------------
20674|    549|        {
20675|    549|            byte_swap(result);
20676|    549|        }
20677|    549|        return result;
20678|    549|    }
_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|    268|    {
20671|    268|        NumberType result{};
20672|    268|        std::memcpy(&result, data, sizeof(NumberType));
20673|    268|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 268, False: 0]
  ------------------
20674|    268|        {
20675|    268|            byte_swap(result);
20676|    268|        }
20677|    268|        return result;
20678|    268|    }
_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|    741|    {
20671|    741|        NumberType result{};
20672|    741|        std::memcpy(&result, data, sizeof(NumberType));
20673|    741|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 741, False: 0]
  ------------------
20674|    741|        {
20675|    741|            byte_swap(result);
20676|    741|        }
20677|    741|        return result;
20678|    741|    }
_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|    673|    {
23683|    673|        const auto result = static_cast<number_float_t>(number);
23684|    673|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  1.33k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 673]
  |  |  |  Branch (1697:94): [True: 661, False: 12]
  |  |  |  Branch (1697:94): [True: 0, False: 661]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    673|        return sax->number_float(result, no_source);
23689|    673|    }
_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|    130|    {
20671|    130|        NumberType result{};
20672|    130|        std::memcpy(&result, data, sizeof(NumberType));
20673|    130|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 130, False: 0]
  ------------------
20674|    130|        {
20675|    130|            byte_swap(result);
20676|    130|        }
20677|    130|        return result;
20678|    130|    }
_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|    673|    {
23546|    673|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|    673|        std::uint32_t bits{};
23548|    673|        std::memcpy(&bits, &number, sizeof(bits));
23549|    673|        bits = byteswap(bits);
23550|    673|        std::memcpy(&number, &bits, sizeof(bits));
23551|    673|    }
_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|    153|    {
20671|    153|        NumberType result{};
20672|    153|        std::memcpy(&result, data, sizeof(NumberType));
20673|    153|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 153, False: 0]
  ------------------
20674|    153|        {
20675|    153|            byte_swap(result);
20676|    153|        }
20677|    153|        return result;
20678|    153|    }
_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|  4.89k|    {
20657|  4.89k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  9.79k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 0, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 2, False: 4.89k]
  |  |  ------------------
  ------------------
20658|      2|        {
20659|      2|            return container_size_error(context);
20660|      2|        }
20661|  4.89k|        result = conditional_static_cast<std::size_t>(len);
20662|  4.89k|        return true;
20663|  4.89k|    }
_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_EEE20container_size_errorEPKc:
24007|      2|    {
24008|      2|        return sax->parse_error(chars_read, get_token_string(), out_of_range::create(exception_id::container_too_large,
24009|      2|                                exception_message(concat("excessive ", what, " size"), "size"), nullptr));
24010|      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_EEE11enter_arrayEmi:
19213|   117k|    {
19214|   117k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   117k|    }
_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|  24.3k|    {
19220|  24.3k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  24.3k|    }
_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|     93|    {
24070|     93|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|     93|    }
_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_EEE14get_half_floatEb:
23702|  7.08k|    {
23703|  7.08k|        const auto byte1_raw = get();
23704|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23705|      0|        {
23706|      0|            return false;
23707|      0|        }
23708|  7.08k|        const auto byte2_raw = get();
23709|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23710|      0|        {
23711|      0|            return false;
23712|      0|        }
23713|       |
23714|  7.08k|        const auto byte1 = static_cast<unsigned char>(byte1_raw);
23715|  7.08k|        const auto byte2 = static_cast<unsigned char>(byte2_raw);
23716|       |
23717|       |        // Code from RFC 8949, Appendix D, Figure 3:
23718|       |        // As half-precision floating-point numbers were only added
23719|       |        // to IEEE 754 in 2008, today's programming platforms often
23720|       |        // still only have limited support for them. It is very
23721|       |        // easy to include at least decoding support for them even
23722|       |        // without such support. An example of a small decoder for
23723|       |        // half-precision floating-point numbers in the C language
23724|       |        // is shown in Fig. 3.
23725|  7.08k|        const auto half = little_endian
  ------------------
  |  Branch (23725:27): [True: 0, False: 7.08k]
  ------------------
23726|  7.08k|                          ? static_cast<unsigned int>((byte2 << 8u) + byte1)
23727|  7.08k|                          : static_cast<unsigned int>((byte1 << 8u) + byte2);
23728|  7.08k|        const double val = [&half]
23729|  7.08k|        {
23730|  7.08k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.08k|            const unsigned int mant = half & 0x3FFu;
23732|  7.08k|            JSON_ASSERT(exp <= 31);
23733|  7.08k|            JSON_ASSERT(mant <= 1023);
23734|  7.08k|            switch (exp)
23735|  7.08k|            {
23736|  7.08k|                case 0:
23737|  7.08k|                    return std::ldexp(mant, -24);
23738|  7.08k|                case 31:
23739|  7.08k|                    return (mant == 0)
23740|  7.08k|                    ? std::numeric_limits<double>::infinity()
23741|  7.08k|                    : std::numeric_limits<double>::quiet_NaN();
23742|  7.08k|                default:
23743|  7.08k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.08k|            }
23745|  7.08k|        }();
23746|  7.08k|        return sax->number_float((half & 0x8000u) != 0
  ------------------
  |  Branch (23746:34): [True: 4.30k, False: 2.78k]
  ------------------
23747|  7.08k|                                 ? static_cast<number_float_t>(-val)
23748|  7.08k|                                 : static_cast<number_float_t>(val), no_source);
23749|  7.08k|    }
_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_EEE14get_half_floatEbENKUlvE_clEv:
23729|  7.06k|        {
23730|  7.06k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.06k|            const unsigned int mant = half & 0x3FFu;
23732|  7.06k|            JSON_ASSERT(exp <= 31);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23732:13): [True: 7.06k, False: 0]
  ------------------
23733|  7.06k|            JSON_ASSERT(mant <= 1023);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23733:13): [True: 7.06k, False: 0]
  ------------------
23734|  7.06k|            switch (exp)
23735|  7.06k|            {
23736|  1.36k|                case 0:
  ------------------
  |  Branch (23736:17): [True: 1.36k, False: 5.69k]
  ------------------
23737|  1.36k|                    return std::ldexp(mant, -24);
23738|    955|                case 31:
  ------------------
  |  Branch (23738:17): [True: 955, False: 6.10k]
  ------------------
23739|    955|                    return (mant == 0)
  ------------------
  |  Branch (23739:28): [True: 485, False: 470]
  ------------------
23740|    955|                    ? std::numeric_limits<double>::infinity()
23741|    955|                    : std::numeric_limits<double>::quiet_NaN();
23742|  4.73k|                default:
  ------------------
  |  Branch (23742:17): [True: 4.73k, False: 2.32k]
  ------------------
23743|  4.73k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.06k|            }
23745|  7.06k|        }();
_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_EEE14get_cbor_floatIfEEbv:
20135|    558|    {
20136|    558|        NumberType number{};
20137|    558|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 543, False: 15]
  |  Branch (20137:38): [True: 543, False: 0]
  ------------------
20138|    558|    }
_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|    558|    {
23597|       |        // read in the original format
23598|       |
23599|    558|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    558|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 558]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    558|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 543, False: 15]
  |  Branch (23603:34): [Folded, False: 543]
  |  Branch (23603:57): [True: 0, False: 543]
  ------------------
23604|    543|        {
23605|    543|            byte_swap(result);
23606|    543|        }
23607|    558|        return true;
23608|    558|    }
_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|    558|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    558|        auto new_chars_read = ia.get_elements(&dest);
23507|    558|        chars_read += new_chars_read;
23508|    558|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    558|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 543]
  |  |  ------------------
  ------------------
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|    543|        return true;
23516|    558|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter12get_elementsIfEEmPT_m:
 9930|    558|    {
 9931|       |#if JSON_PRECISE_STREAM_POSITION
 9932|       |        commit_lookahead();
 9933|       |#endif
 9934|    558|#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|    558|        const char* const first = streambuf_access::get_ptr(sb);
 9938|    558|        const auto available = static_cast<std::size_t>(streambuf_access::get_end(sb) - first);
 9939|    558|        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: 543, False: 15]
  |  |  |  Branch (1696:94): [True: 543, False: 15]
  |  |  |  Branch (1696:94): [True: 543, False: 0]
  |  |  ------------------
  ------------------
 9940|    543|        {
 9941|    543|            std::memcpy(dest, first, count * sizeof(T));
 9942|    543|            streambuf_access::bump(sb, static_cast<int>(count * sizeof(T)));
 9943|    543|            return count * sizeof(T);
 9944|    543|        }
 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|    558|    }
_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_EEE14get_cbor_floatIdEEbv:
20135|    919|    {
20136|    919|        NumberType number{};
20137|    919|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 900, False: 19]
  |  Branch (20137:38): [True: 900, False: 0]
  ------------------
20138|    919|    }
_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|    919|    {
23597|       |        // read in the original format
23598|       |
23599|    919|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    919|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 919]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    919|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 900, False: 19]
  |  Branch (23603:34): [Folded, False: 900]
  |  Branch (23603:57): [True: 0, False: 900]
  ------------------
23604|    900|        {
23605|    900|            byte_swap(result);
23606|    900|        }
23607|    919|        return true;
23608|    919|    }
_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|    330|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    330|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    330|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 96, False: 234]
  ------------------
24059|    330|    }
_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|   310k|    {
23489|   310k|        ++chars_read;
23490|   310k|        return current = ia.get_character();
23491|   310k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter13get_characterEv:
 9909|   310k|    {
 9910|   310k|#if !JSON_DISABLE_STREAM_BULK_SCAN
 9911|       |        // the character is in the get area: step over it, as sbumpc() does
 9912|   310k|        const char* const next = streambuf_access::get_ptr(sb);
 9913|   310k|        if (JSON_HEDLEY_LIKELY(next != streambuf_access::get_end(sb)))
  ------------------
  |  | 1696|   310k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 303k, False: 6.93k]
  |  |  ------------------
  ------------------
 9914|   303k|        {
 9915|   303k|            current_in_get_area = true;
 9916|   303k|            streambuf_access::bump(sb, 1);
 9917|   303k|            return std::char_traits<char>::to_int_type(*next);
 9918|   303k|        }
 9919|  6.93k|        if (no_get_area)
  ------------------
  |  Branch (9919:13): [True: 0, False: 6.93k]
  ------------------
 9920|      0|        {
 9921|      0|            return get_character_no_get_area();
 9922|      0|        }
 9923|  6.93k|#endif
 9924|  6.93k|        return get_character_slow();
 9925|  6.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter18get_character_slowEv:
10051|  6.93k|    {
10052|  6.93k|#if !JSON_DISABLE_STREAM_BULK_SCAN
10053|       |        // the get area is exhausted (get_character() handles the other case),
10054|       |        // so sbumpc() refills it
10055|  6.93k|        save_token_segment();
10056|  6.93k|#endif
10057|       |
10058|  6.93k|        auto res = sb->sbumpc();
10059|       |        // set eof manually, as we don't use the istream interface.
10060|  6.93k|        if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof()))
  ------------------
  |  | 1697|  6.93k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 6.93k, False: 0]
  |  |  ------------------
  ------------------
10061|  6.93k|        {
10062|  6.93k|#if !JSON_DISABLE_STREAM_BULK_SCAN
10063|  6.93k|            current_in_get_area = false;
10064|  6.93k|#endif
10065|  6.93k|            is->clear(is->rdstate() | std::ios::eofbit);
10066|  6.93k|        }
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|  6.93k|#endif
10076|  6.93k|        return res;
10077|  6.93k|    }
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapter18save_token_segmentEv:
10124|  6.93k|    {
10125|  6.93k|        if (token_segment != nullptr)
  ------------------
  |  Branch (10125:13): [True: 0, False: 6.93k]
  ------------------
10126|      0|        {
10127|      0|            token_carry.append(token_segment, streambuf_access::get_end(sb));
10128|      0|            token_segment = nullptr;
10129|      0|        }
10130|  6.93k|    }
_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.02k|        {
19135|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.02k, False: 0]
  ------------------
19136|  9.02k|            {
19137|  9.02k|                parser->set_reserve_state(saved);
19138|  9.02k|            }
19139|  9.02k|        }
_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.02k|    ~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.02k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterERNSt3__113basic_istreamIcNS2_11char_traitsIcEEEE:
10871|  9.02k|{
10872|  9.02k|    if (stream.rdbuf() == nullptr)
  ------------------
  |  Branch (10872:9): [True: 0, False: 9.02k]
  ------------------
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.02k|    return input_stream_adapter(stream);
10877|  9.02k|}
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterC2ERNSt3__113basic_istreamIcNS3_11char_traitsIcEEEE:
 9806|  9.02k|        : is(&i), sb(i.rdbuf())
 9807|  9.02k|    {}
_ZN8nlohmann16json_abi_v3_12_06detail20input_stream_adapterD2Ev:
 9785|  18.0k|    {
 9786|       |        // clear stream flags; we use underlying streambuf I/O, do not
 9787|       |        // maintain ifstream flags, except eof
 9788|  18.0k|        if (is != nullptr)
  ------------------
  |  Branch (9788:13): [True: 9.02k, False: 9.02k]
  ------------------
 9789|  9.02k|        {
 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.02k|            if ((is->rdstate() & ~std::ios::eofbit) != 0)
  ------------------
  |  Branch (9798:17): [True: 0, False: 9.02k]
  ------------------
 9799|      0|            {
 9800|      0|                is->clear(is->rdstate() & std::ios::eofbit);
 9801|      0|            }
 9802|  9.02k|        }
 9803|  18.0k|    }
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9from_cborINS2_21__list_const_iteratorIhPvEESI_TnNS2_9enable_ifIXsr6detail14can_compare_neIT_T0_EE5valueEiE4typeELi0EEESE_SK_SL_bbNS0_6detail18cbor_tag_handler_tENSO_15error_handler_tE:
46811|  9.02k|    {
46812|  9.02k|        return from_binary_impl(detail::input_adapter(std::move(first), std::move(last)), input_format_t::cbor, strict, allow_exceptions, error_handler, tag_handler);
46813|  9.02k|    }
_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.02k|    {
46576|  9.02k|        basic_json result;
46577|  9.02k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.02k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.02k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.02k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.02k|        return result;
46584|  9.02k|    }
_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.02k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.02k|    {}
_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.02k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.02k|    {
18994|  9.02k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.02k|    }
_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.02k|    {
19018|  9.02k|        sax = sax_;
19019|  9.02k|        container_stack.clear();
19020|  9.02k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.02k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.02k|        bool result = false;
19024|       |
19025|  9.02k|        switch (input_format)
19026|  9.02k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.02k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|  9.02k|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 9.02k, False: 0]
  ------------------
19032|  9.02k|                result = parse_cbor_internal(tag_handler);
19033|  9.02k|                break;
19034|       |
19035|      0|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 0, False: 9.02k]
  ------------------
19036|      0|                result = parse_msgpack_internal();
19037|      0|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.02k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.02k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.02k]
  ------------------
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.02k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.02k]
  ------------------
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.02k|        }
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|  4.61k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 4.61k, False: 0]
  |  Branch (19058:23): [True: 0, False: 4.61k]
  |  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|  4.61k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 4.61k, False: 0]
  |  Branch (19065:23): [True: 4.61k, False: 0]
  ------------------
19066|  4.61k|        {
19067|  4.61k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 4.61k]
  |  Branch (19067:59): [True: 0, False: 4.61k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  4.61k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 4.61k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  4.61k|            else
19077|  4.61k|            {
19078|  4.61k|                get();
19079|  4.61k|            }
19080|       |
19081|  4.61k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  4.61k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 148, False: 4.46k]
  |  |  ------------------
  ------------------
19082|    148|            {
19083|    148|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    148|            }
19085|  4.61k|        }
19086|       |
19087|  4.46k|        return result;
19088|  4.61k|    }
_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.02k|    {
19097|  9.02k|        return s;
19098|  9.02k|    }
_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.02k|            : parser(parser_), saved()
19120|  9.02k|        {
19121|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.02k, False: 0]
  ------------------
19122|  9.02k|            {
19123|  9.02k|                saved = parser->get_reserve_state();
19124|  9.02k|                parser->set_input_position(position);
19125|  9.02k|            }
19126|  9.02k|        }
_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|  3.95k|    {
23992|  3.95k|        return sax->parse_error(chars_read, "<end of file>",
23993|  3.95k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  3.95k|    }
_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.28k|    {
24103|  4.28k|        std::string error_msg = "syntax error while parsing ";
24104|  4.28k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.28k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.28k|    }
_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|   141k|    {
19202|   141k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   283k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 141k]
  |  |  |  Branch (1697:94): [True: 24.3k, False: 117k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   141k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   141k|        return true;
19209|   141k|    }
_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|  24.3k|    {
17879|  24.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|  24.3k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  24.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_EEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   141k|    {
17962|   141k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.30k, False: 135k]
  ------------------
17963|  6.30k|        {
17964|  6.30k|            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.30k|            return &root;
17971|  6.30k|        }
17972|       |
17973|   135k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   135k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 118k, False: 16.8k]
  |  Branch (17973:9): [True: 16.8k, False: 0]
  |  Branch (17973:9): [True: 135k, False: 0]
  ------------------
17974|       |
17975|   135k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 118k, False: 16.8k]
  ------------------
17976|   118k|        {
17977|   118k|            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|   118k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   118k|        }
17985|       |
17986|  16.8k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 16.8k, False: 0]
  ------------------
17987|  16.8k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 16.8k, False: 0]
  ------------------
17988|  16.8k|        *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|  16.8k|        return object_element;
17995|  16.8k|    }
_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|   141k|{
16470|   141k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   275k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 141k]
  |  |  |  Branch (1697:94): [True: 133k, False: 8.24k]
  |  |  |  Branch (1697:94): [True: 276, False: 133k]
  |  |  ------------------
  ------------------
16471|    276|    {
16472|    276|        return container_too_large_error(sax, len, kind, ref);
16473|    276|    }
16474|   141k|    return true;
16475|   141k|}
_ZN8nlohmann16json_abi_v3_12_06detail25container_too_large_errorINS1_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_:
16463|    276|{
16464|    276|    return sax.parse_error(0, "", out_of_range::create(exception_id::container_too_large, concat("excessive ", kind, " size: ", std::to_string(len)), ref));
16465|    276|}
_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|   117k|    {
17916|   117k|        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|   117k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   117k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 117k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   117k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 110k, False: 6.83k]
  ------------------
17929|   110k|        {
17930|   110k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   110k|        }
17932|       |
17933|   117k|        return true;
17934|   117k|    }
_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|   141k|            : 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|   102k|    {
19234|   102k|        const bool is_object = container_stack.back().is_object;
19235|   102k|        container_stack.pop_back();
19236|   102k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 16.2k, False: 85.9k]
  ------------------
19237|   102k|    }
_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|  16.2k|    {
17902|  16.2k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 16.2k, False: 0]
  ------------------
17903|  16.2k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 16.2k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  16.2k|        ref_stack.back()->set_parents();
17910|  16.2k|        ref_stack.pop_back();
17911|  16.2k|        return true;
17912|  16.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_EEE9end_arrayEv:
17937|  85.9k|    {
17938|  85.9k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 85.9k, False: 0]
  ------------------
17939|  85.9k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 85.9k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  85.9k|        ref_stack.back()->set_parents();
17946|  85.9k|        ref_stack.pop_back();
17947|  85.9k|        return true;
17948|  85.9k|    }
_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|   105k|    {
23975|   105k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|   105k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.54k, False: 101k]
  |  |  ------------------
  ------------------
23976|  3.54k|        {
23977|  3.54k|            return report_eof(context);
23978|  3.54k|        }
23979|   101k|        return true;
23980|   105k|    }
_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|  50.4k|    {
23812|  50.4k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 50.4k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  50.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_EEE3keyERSC_:
17890|  34.7k|    {
17891|  34.7k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 34.7k, False: 0]
  ------------------
17892|  34.7k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 34.7k, 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|  34.7k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  34.7k|        return true;
17898|  34.7k|    }
_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.07k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  1.07k|        auto new_chars_read = ia.get_elements(&dest);
23507|  1.07k|        chars_read += new_chars_read;
23508|  1.07k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  1.07k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 1.05k]
  |  |  ------------------
  ------------------
23509|     19|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     19|            ++chars_read;
23512|     19|            static_cast<void>(report_eof(context));
23513|     19|            return false;
23514|     19|        }
23515|  1.05k|        return true;
23516|  1.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIdEEmPT_m:
10326|  1.07k|    {
10327|  1.07k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  1.07k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIdEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  1.07k|    {
10407|  1.07k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  9.53k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 8.47k, False: 1.05k]
  ------------------
10409|  8.47k|        {
10410|  8.47k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  8.47k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 8.45k, False: 19]
  |  |  ------------------
  ------------------
10411|  8.45k|            {
10412|  8.45k|                ptr[read_index] = static_cast<char>(*current);
10413|  8.45k|                std::advance(current, 1);
10414|  8.45k|            }
10415|     19|            else
10416|     19|            {
10417|     19|                return read_index;
10418|     19|            }
10419|  8.47k|        }
10420|  1.05k|        return count * sizeof(T);
10421|  1.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_EEE9byte_swapERd:
23535|  1.05k|    {
23536|  1.05k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.05k|        std::uint64_t bits{};
23538|  1.05k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.05k|        bits = byteswap(bits);
23540|  1.05k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.05k|    }
_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.05k|    {
23683|  1.05k|        const auto result = static_cast<number_float_t>(number);
23684|  1.05k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.10k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.05k]
  |  |  |  Branch (1697:94): [True: 1.05k, False: 3]
  |  |  |  Branch (1697:94): [True: 0, False: 1.05k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.05k|        return sax->number_float(result, no_source);
23689|  1.05k|    }
_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|    662|    {
24092|    662|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    662|    }
_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|  9.21k|    {
17857|  9.21k|        handle_value(val);
17858|  9.21k|        return true;
17859|  9.21k|    }
_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|  9.21k|    {
17962|  9.21k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 582, False: 8.63k]
  ------------------
17963|    582|        {
17964|    582|            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|    582|            return &root;
17971|    582|        }
17972|       |
17973|  8.63k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  8.63k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 7.73k, False: 893]
  |  Branch (17973:9): [True: 893, False: 0]
  |  Branch (17973:9): [True: 8.63k, False: 0]
  ------------------
17974|       |
17975|  8.63k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 7.73k, False: 893]
  ------------------
17976|  7.73k|        {
17977|  7.73k|            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|  7.73k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  7.73k|        }
17985|       |
17986|    893|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 893, False: 0]
  ------------------
17987|    893|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 893, False: 0]
  ------------------
17988|    893|        *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|    893|        return object_element;
17995|    893|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIcEEmPT_m:
10326|  19.1k|    {
10327|  19.1k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  19.1k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIcEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  19.1k|    {
10407|  19.1k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|   117k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 99.3k, False: 18.5k]
  ------------------
10409|  99.3k|        {
10410|  99.3k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  99.3k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 98.7k, False: 587]
  |  |  ------------------
  ------------------
10411|  98.7k|            {
10412|  98.7k|                ptr[read_index] = static_cast<char>(*current);
10413|  98.7k|                std::advance(current, 1);
10414|  98.7k|            }
10415|    587|            else
10416|    587|            {
10417|    587|                return read_index;
10418|    587|            }
10419|  99.3k|        }
10420|  18.5k|        return count * sizeof(T);
10421|  19.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_EEE6stringERSC_:
17862|  16.3k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  16.3k|        handle_value(std::move(val));
17866|  16.3k|        return true;
17867|  16.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_EEE12handle_valueISC_EEPSG_OT_:
17961|  16.3k|    {
17962|  16.3k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 529, False: 15.8k]
  ------------------
17963|    529|        {
17964|    529|            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|    529|            return &root;
17971|    529|        }
17972|       |
17973|  15.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  15.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 11.9k, False: 3.96k]
  |  Branch (17973:9): [True: 3.96k, False: 0]
  |  Branch (17973:9): [True: 15.8k, False: 0]
  ------------------
17974|       |
17975|  15.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 11.9k, False: 3.96k]
  ------------------
17976|  11.9k|        {
17977|  11.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|  11.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  11.9k|        }
17985|       |
17986|  3.96k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.96k, False: 0]
  ------------------
17987|  3.96k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.96k, False: 0]
  ------------------
17988|  3.96k|        *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|  3.96k|        return object_element;
17995|  3.96k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIhEEmPT_m:
10326|  10.3k|    {
10327|  10.3k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  10.3k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIhEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  10.3k|    {
10407|  10.3k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  47.5k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 37.7k, False: 9.82k]
  ------------------
10409|  37.7k|        {
10410|  37.7k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  37.7k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 37.2k, False: 543]
  |  |  ------------------
  ------------------
10411|  37.2k|            {
10412|  37.2k|                ptr[read_index] = static_cast<char>(*current);
10413|  37.2k|                std::advance(current, 1);
10414|  37.2k|            }
10415|    543|            else
10416|    543|            {
10417|    543|                return read_index;
10418|    543|            }
10419|  37.7k|        }
10420|  9.82k|        return count * sizeof(T);
10421|  10.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_EEE6binaryERNS0_27byte_container_with_subtypeISF_EE:
17870|  29.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  29.9k|        handle_value(std::move(val));
17874|  29.9k|        return true;
17875|  29.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|  29.9k|    {
17962|  29.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 123, False: 29.7k]
  ------------------
17963|    123|        {
17964|    123|            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|    123|            return &root;
17971|    123|        }
17972|       |
17973|  29.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  29.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.1k, False: 2.59k]
  |  Branch (17973:9): [True: 2.59k, False: 0]
  |  Branch (17973:9): [True: 29.7k, False: 0]
  ------------------
17974|       |
17975|  29.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.1k, False: 2.59k]
  ------------------
17976|  27.1k|        {
17977|  27.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|  27.1k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.1k|        }
17985|       |
17986|  2.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.59k, False: 0]
  ------------------
17987|  2.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.59k, False: 0]
  ------------------
17988|  2.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|  2.59k|        return object_element;
17995|  2.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_EEE10get_numberIhLb0EEEbRT_:
23596|  5.08k|    {
23597|       |        // read in the original format
23598|       |
23599|  5.08k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  5.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 5.08k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  5.08k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 5.03k, False: 53]
  |  Branch (23603:34): [Folded, False: 5.03k]
  |  Branch (23603:57): [True: 0, False: 5.03k]
  ------------------
23604|  5.03k|        {
23605|  5.03k|            byte_swap(result);
23606|  5.03k|        }
23607|  5.08k|        return true;
23608|  5.08k|    }
_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|  5.08k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  5.08k|        auto new_chars_read = ia.get_elements(&dest);
23507|  5.08k|        chars_read += new_chars_read;
23508|  5.08k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  5.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 53, False: 5.03k]
  |  |  ------------------
  ------------------
23509|     53|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     53|            ++chars_read;
23512|     53|            static_cast<void>(report_eof(context));
23513|     53|            return false;
23514|     53|        }
23515|  5.03k|        return true;
23516|  5.08k|    }
_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|  5.03k|    {
23556|  5.03k|        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.03k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  5.03k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 5.03k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  5.03k|    }
_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|  4.77k|    {
17839|  4.77k|        handle_value(val);
17840|  4.77k|        return true;
17841|  4.77k|    }
_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|  4.77k|    {
17962|  4.77k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.76k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.76k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.76k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.92k, False: 849]
  |  Branch (17973:9): [True: 849, False: 0]
  |  Branch (17973:9): [True: 4.76k, False: 0]
  ------------------
17974|       |
17975|  4.76k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.92k, False: 849]
  ------------------
17976|  3.92k|        {
17977|  3.92k|            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.92k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.92k|        }
17985|       |
17986|    849|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 849, False: 0]
  ------------------
17987|    849|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 849, False: 0]
  ------------------
17988|    849|        *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|    849|        return object_element;
17995|    849|    }
_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.15k|    {
17833|  4.15k|        handle_value(nullptr);
17834|  4.15k|        return true;
17835|  4.15k|    }
_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.15k|    {
17962|  4.15k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.15k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.15k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.15k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 2.88k, False: 1.27k]
  |  Branch (17973:9): [True: 1.27k, False: 0]
  |  Branch (17973:9): [True: 4.15k, False: 0]
  ------------------
17974|       |
17975|  4.15k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 2.88k, False: 1.27k]
  ------------------
17976|  2.88k|        {
17977|  2.88k|            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|  2.88k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  2.88k|        }
17985|       |
17986|  1.27k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.27k, False: 0]
  ------------------
17987|  1.27k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.27k, False: 0]
  ------------------
17988|  1.27k|        *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.27k|        return object_element;
17995|  1.27k|    }
_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|  20.6k|    {
17845|  20.6k|        handle_value(val);
17846|  20.6k|        return true;
17847|  20.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_valueIRlEEPSG_OT_:
17961|  20.6k|    {
17962|  20.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 258, False: 20.3k]
  ------------------
17963|    258|        {
17964|    258|            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|    258|            return &root;
17971|    258|        }
17972|       |
17973|  20.3k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  20.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 5.06k]
  |  Branch (17973:9): [True: 5.06k, False: 0]
  |  Branch (17973:9): [True: 20.3k, False: 0]
  ------------------
17974|       |
17975|  20.3k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 5.06k]
  ------------------
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|  5.06k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 5.06k, False: 0]
  ------------------
17987|  5.06k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 5.06k, False: 0]
  ------------------
17988|  5.06k|        *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|  5.06k|        return object_element;
17995|  5.06k|    }
_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|  29.1k|    {
17851|  29.1k|        handle_value(val);
17852|  29.1k|        return true;
17853|  29.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_EEE12handle_valueIRmEEPSG_OT_:
17961|  29.1k|    {
17962|  29.1k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 289, False: 28.8k]
  ------------------
17963|    289|        {
17964|    289|            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|    289|            return &root;
17971|    289|        }
17972|       |
17973|  28.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  28.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 25.8k, False: 3.00k]
  |  Branch (17973:9): [True: 3.00k, False: 0]
  |  Branch (17973:9): [True: 28.8k, False: 0]
  ------------------
17974|       |
17975|  28.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 25.8k, False: 3.00k]
  ------------------
17976|  25.8k|        {
17977|  25.8k|            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|  25.8k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  25.8k|        }
17985|       |
17986|  3.00k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.00k, False: 0]
  ------------------
17987|  3.00k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.00k, False: 0]
  ------------------
17988|  3.00k|        *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|  3.00k|        return object_element;
17995|  3.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_EEE10emit_floatIeEEbT_:
23682|    427|    {
23683|    427|        const auto result = static_cast<number_float_t>(number);
23684|    427|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|    854|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 427]
  |  |  |  Branch (1697:94): [True: 427, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 427]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    427|        return sax->number_float(result, no_source);
23689|    427|    }
_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|  4.34k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.34k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.34k|        chars_read += new_chars_read;
23508|  4.34k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.34k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 117, False: 4.22k]
  |  |  ------------------
  ------------------
23509|    117|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    117|            ++chars_read;
23512|    117|            static_cast<void>(report_eof(context));
23513|    117|            return false;
23514|    117|        }
23515|  4.22k|        return true;
23516|  4.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsImEEmPT_m:
10326|  4.34k|    {
10327|  4.34k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  4.34k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implImEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  4.34k|    {
10407|  4.34k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  38.3k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 34.1k, False: 4.22k]
  ------------------
10409|  34.1k|        {
10410|  34.1k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  34.1k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 34.0k, False: 117]
  |  |  ------------------
  ------------------
10411|  34.0k|            {
10412|  34.0k|                ptr[read_index] = static_cast<char>(*current);
10413|  34.0k|                std::advance(current, 1);
10414|  34.0k|            }
10415|    117|            else
10416|    117|            {
10417|    117|                return read_index;
10418|    117|            }
10419|  34.1k|        }
10420|  4.22k|        return count * sizeof(T);
10421|  4.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_EEE9byte_swapImEEvRT_:
23555|  4.22k|    {
23556|  4.22k|        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.22k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  21.1k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 16.9k, False: 4.22k]
  ------------------
23572|  16.9k|            {
23573|  16.9k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  16.9k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.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_EEE13emit_unsignedImEEbT_:
23656|    891|    {
23657|    891|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    891|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 891, False: 0]
  |  |  ------------------
  ------------------
23658|    891|        {
23659|    891|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    891|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    891|    }
_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_cbor_internalENS1_18cbor_tag_handler_tE:
20840|  9.02k|    {
20841|       |        // whether the next value starts at a fresh byte or at the one already
20842|       |        // read into `current`
20843|  9.02k|        bool fetch = true;
20844|       |
20845|       |        // the key currently being read; hoisted out of the loop so that its
20846|       |        // capacity is reused across elements and across nesting levels
20847|  9.02k|        string_t key;
20848|       |
20849|   366k|        while (true)
  ------------------
  |  Branch (20849:16): [True: 362k, Folded]
  ------------------
20850|   362k|        {
20851|   362k|            if (!container_stack.empty())
  ------------------
  |  Branch (20851:17): [True: 353k, False: 9.02k]
  ------------------
20852|   353k|            {
20853|       |                // a copy, not a reference: it must stay valid across the
20854|       |                // pop_back() below, which destroys the container_stack element
20855|       |                // it would otherwise alias
20856|   353k|                const container_frame top = container_stack.back();
20857|   353k|                const bool is_object = top.is_object;
20858|   353k|                bool at_end = false;
20859|       |
20860|   353k|                if (top.remaining != npos)
  ------------------
  |  Branch (20860:21): [True: 248k, False: 105k]
  ------------------
20861|   248k|                {
20862|       |                    // definite length: the container ends once its elements
20863|       |                    // have been read
20864|   248k|                    at_end = (top.remaining == 0);
20865|   248k|                    if (!at_end)
  ------------------
  |  Branch (20865:25): [True: 148k, False: 99.6k]
  ------------------
20866|   148k|                    {
20867|       |                        // claim the element about to be read
20868|   148k|                        --container_stack.back().remaining;
20869|   148k|                        if (is_object)
  ------------------
  |  Branch (20869:29): [True: 20.9k, False: 127k]
  ------------------
20870|  20.9k|                        {
20871|  20.9k|                            get();
20872|  20.9k|                        }
20873|   148k|                    }
20874|   248k|                    fetch = true;
20875|   248k|                }
20876|   105k|                else
20877|   105k|                {
20878|       |                    // indefinite length: the container ends at a break marker.
20879|       |                    // Testing for it consumes a byte, which is the first byte
20880|       |                    // of the next element when it is not one.
20881|   105k|                    at_end = (get() == 0xFF);
20882|   105k|                    fetch = is_object;
20883|   105k|                }
20884|       |
20885|   353k|                if (at_end)
  ------------------
  |  Branch (20885:21): [True: 102k, False: 251k]
  ------------------
20886|   102k|                {
20887|   102k|                    bool value_complete = false;
20888|   102k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
20889|      0|                    {
20890|      0|                        return false;
20891|      0|                    }
20892|   102k|                    if (value_complete)
  ------------------
  |  Branch (20892:25): [True: 2.82k, False: 99.3k]
  ------------------
20893|  2.82k|                    {
20894|  2.82k|                        return true;
20895|  2.82k|                    }
20896|  99.3k|                    continue;
20897|   102k|                }
20898|       |
20899|   251k|                if (is_object)
  ------------------
  |  Branch (20899:21): [True: 35.3k, False: 215k]
  ------------------
20900|  35.3k|                {
20901|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!skip_cbor_key_tags(tag_handler)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20902|      0|                    {
20903|      0|                        return false;
20904|      0|                    }
20905|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_cbor_object_key>(key)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20906|      0|                    {
20907|      0|                        return false;
20908|      0|                    }
20909|  35.3k|                    fetch = true;
20910|  35.3k|                }
20911|   251k|            }
20912|       |
20913|       |            // a tag is not a value of its own: read on until the tagged value
20914|   260k|            bool tag_pending = false;
20915|   260k|            bool item_read = false;
20916|   260k|            do
20917|   260k|            {
20918|   260k|                if (JSON_HEDLEY_UNLIKELY(!parse_cbor_value(fetch, tag_handler, tag_pending, item_read)))
  ------------------
  |  | 1697|   260k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 260k]
  |  |  ------------------
  ------------------
20919|      0|                {
20920|      0|                    return false;
20921|      0|                }
20922|   260k|                fetch = !item_read;
20923|   260k|            }
20924|   260k|            while (tag_pending);
  ------------------
  |  Branch (20924:20): [True: 0, False: 260k]
  ------------------
20925|       |
20926|       |            // a value that opened a container left it on the stack; one that
20927|       |            // did not, and that was not inside a container, was the whole value
20928|   260k|            if (container_stack.empty())
  ------------------
  |  Branch (20928:17): [True: 1.78k, False: 258k]
  ------------------
20929|  1.78k|            {
20930|  1.78k|                return true;
20931|  1.78k|            }
20932|   260k|        }
20933|  9.02k|    }
_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|   102k|    {
19251|   102k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   102k|        value_complete = container_stack.empty();
19256|   102k|        return true;
19257|   102k|    }
_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_EEE18skip_cbor_key_tagsENS1_18cbor_tag_handler_tE:
20348|  35.3k|    {
20349|  35.3k|        if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20349:13): [True: 35.3k, False: 0]
  ------------------
20350|  35.3k|        {
20351|  35.3k|            return true;
20352|  35.3k|        }
20353|       |
20354|       |        // 0xC0..0xDB: tag with the tag number in the head (0xC0..0xD7) or in
20355|       |        // the 1, 2, 4, or 8 bytes that follow (0xD8..0xDB)
20356|      0|        while (current >= 0xC0 && current <= 0xDB)
  ------------------
  |  Branch (20356:16): [True: 0, False: 0]
  |  Branch (20356:35): [True: 0, False: 0]
  ------------------
20357|      0|        {
20358|      0|            if (current >= 0xD8)
  ------------------
  |  Branch (20358:17): [True: 0, False: 0]
  ------------------
20359|      0|            {
20360|      0|                std::uint64_t tag_to_ignore{};
20361|      0|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_argument(tag_to_ignore)))
  ------------------
  |  | 1697|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20362|      0|                {
20363|      0|                    return false;
20364|      0|                }
20365|      0|            }
20366|      0|            get();
20367|      0|        }
20368|      0|        return true;
20369|      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_EEE17get_cbor_argumentERm:
20588|  5.01k|    {
20589|  5.01k|        switch (current & 0x1F)
20590|  5.01k|        {
20591|  1.26k|            case 0x18: // 1 byte
  ------------------
  |  Branch (20591:13): [True: 1.26k, False: 3.75k]
  ------------------
20592|  1.26k|            {
20593|  1.26k|                std::uint8_t n{};
20594|  1.26k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  1.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.26k]
  |  |  ------------------
  ------------------
20595|      0|                {
20596|      0|                    return false;
20597|      0|                }
20598|  1.26k|                value = n;
20599|  1.26k|                return true;
20600|  1.26k|            }
20601|       |
20602|  2.05k|            case 0x19: // 2 bytes
  ------------------
  |  Branch (20602:13): [True: 2.05k, False: 2.96k]
  ------------------
20603|  2.05k|            {
20604|  2.05k|                std::uint16_t n{};
20605|  2.05k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  2.05k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.05k]
  |  |  ------------------
  ------------------
20606|      0|                {
20607|      0|                    return false;
20608|      0|                }
20609|  2.05k|                value = n;
20610|  2.05k|                return true;
20611|  2.05k|            }
20612|       |
20613|    930|            case 0x1A: // 4 bytes
  ------------------
  |  Branch (20613:13): [True: 930, False: 4.08k]
  ------------------
20614|    930|            {
20615|    930|                std::uint32_t n{};
20616|    930|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    930|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 930]
  |  |  ------------------
  ------------------
20617|      0|                {
20618|      0|                    return false;
20619|      0|                }
20620|    930|                value = n;
20621|    930|                return true;
20622|    930|            }
20623|       |
20624|    770|            case 0x1B: // 8 bytes
  ------------------
  |  Branch (20624:13): [True: 770, False: 4.24k]
  ------------------
20625|    770|            {
20626|    770|                std::uint64_t n{};
20627|    770|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    770|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 770]
  |  |  ------------------
  ------------------
20628|      0|                {
20629|      0|                    return false;
20630|      0|                }
20631|    770|                value = n;
20632|    770|                return true;
20633|    770|            }
20634|       |
20635|      0|            default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20635:13): [True: 0, False: 5.01k]
  ------------------
20636|      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 (20636:17): [Folded, False: 0]
  ------------------
20637|      0|                return false;        // LCOV_EXCL_LINE
20638|  5.01k|        }
20639|  5.01k|    }
_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|  5.39k|    {
23597|       |        // read in the original format
23598|       |
23599|  5.39k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  5.39k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 5.39k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  5.39k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 5.29k, False: 101]
  |  Branch (23603:34): [Folded, False: 5.29k]
  |  Branch (23603:57): [True: 0, False: 5.29k]
  ------------------
23604|  5.29k|        {
23605|  5.29k|            byte_swap(result);
23606|  5.29k|        }
23607|  5.39k|        return true;
23608|  5.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_EEE6get_toItEEbRT_PKc:
23503|  5.39k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  5.39k|        auto new_chars_read = ia.get_elements(&dest);
23507|  5.39k|        chars_read += new_chars_read;
23508|  5.39k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  5.39k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 5.29k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  5.29k|        return true;
23516|  5.39k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsItEEmPT_m:
10326|  5.39k|    {
10327|  5.39k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  5.39k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implItEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  5.39k|    {
10407|  5.39k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  16.0k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 10.7k, False: 5.29k]
  ------------------
10409|  10.7k|        {
10410|  10.7k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  10.7k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 10.6k, False: 101]
  |  |  ------------------
  ------------------
10411|  10.6k|            {
10412|  10.6k|                ptr[read_index] = static_cast<char>(*current);
10413|  10.6k|                std::advance(current, 1);
10414|  10.6k|            }
10415|    101|            else
10416|    101|            {
10417|    101|                return read_index;
10418|    101|            }
10419|  10.7k|        }
10420|  5.29k|        return count * sizeof(T);
10421|  5.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_swapItEEvRT_:
23555|  5.29k|    {
23556|  5.29k|        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.29k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  10.5k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.29k, False: 5.29k]
  ------------------
23572|  5.29k|            {
23573|  5.29k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.29k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  5.29k|    }
_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.92k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.92k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.92k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.92k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.92k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.82k, False: 101]
  |  Branch (23603:34): [Folded, False: 2.82k]
  |  Branch (23603:57): [True: 0, False: 2.82k]
  ------------------
23604|  2.82k|        {
23605|  2.82k|            byte_swap(result);
23606|  2.82k|        }
23607|  2.92k|        return true;
23608|  2.92k|    }
_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.92k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.92k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.92k|        chars_read += new_chars_read;
23508|  2.92k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.92k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 2.82k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  2.82k|        return true;
23516|  2.92k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIjEEmPT_m:
10326|  2.92k|    {
10327|  2.92k|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|  2.92k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIjEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|  2.92k|    {
10407|  2.92k|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  14.3k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 11.4k, False: 2.82k]
  ------------------
10409|  11.4k|        {
10410|  11.4k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  11.4k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 11.3k, False: 101]
  |  |  ------------------
  ------------------
10411|  11.3k|            {
10412|  11.3k|                ptr[read_index] = static_cast<char>(*current);
10413|  11.3k|                std::advance(current, 1);
10414|  11.3k|            }
10415|    101|            else
10416|    101|            {
10417|    101|                return read_index;
10418|    101|            }
10419|  11.4k|        }
10420|  2.82k|        return count * sizeof(T);
10421|  2.92k|    }
_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.82k|    {
23556|  2.82k|        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.82k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.47k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.64k, False: 2.82k]
  ------------------
23572|  5.64k|            {
23573|  5.64k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.64k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.82k|    }
_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|  4.34k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.34k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.34k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.34k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.34k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.22k, False: 117]
  |  Branch (23603:34): [Folded, False: 4.22k]
  |  Branch (23603:57): [True: 0, False: 4.22k]
  ------------------
23604|  4.22k|        {
23605|  4.22k|            byte_swap(result);
23606|  4.22k|        }
23607|  4.34k|        return true;
23608|  4.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_EEE15read_object_keyIXadL_ZNSO_19get_cbor_object_keyERSC_EEEEbSQ_:
19268|  35.3k|    {
19269|  35.3k|        key.clear();
19270|  35.3k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 34.7k, False: 608]
  |  Branch (19270:40): [True: 34.7k, False: 0]
  ------------------
19271|  35.3k|    }
_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_EEE19get_cbor_object_keyERSC_:
20384|  35.3k|    {
20385|       |        // EOF and major type 3 (text string) are left to get_cbor_string
20386|  35.3k|        if (current == char_traits<char_type>::eof() || (static_cast<unsigned int>(current) & 0xE0u) == 0x60u)
  ------------------
  |  Branch (20386:13): [True: 550, False: 34.8k]
  |  Branch (20386:57): [True: 34.7k, False: 45]
  ------------------
20387|  35.3k|        {
20388|  35.3k|            return get_cbor_string(result, "key");
20389|  35.3k|        }
20390|       |
20391|     45|        const char* found = nullptr;
20392|     45|        switch (static_cast<unsigned int>(current) >> 5u)
20393|     45|        {
20394|     12|            case 0:
  ------------------
  |  Branch (20394:13): [True: 12, False: 33]
  ------------------
20395|     12|                found = "an unsigned integer";
20396|     12|                break;
20397|      4|            case 1:
  ------------------
  |  Branch (20397:13): [True: 4, False: 41]
  ------------------
20398|      4|                found = "a negative integer";
20399|      4|                break;
20400|      2|            case 2:
  ------------------
  |  Branch (20400:13): [True: 2, False: 43]
  ------------------
20401|      2|                found = "a byte string";
20402|      2|                break;
20403|      3|            case 4:
  ------------------
  |  Branch (20403:13): [True: 3, False: 42]
  ------------------
20404|      3|                found = "an array";
20405|      3|                break;
20406|      4|            case 5:
  ------------------
  |  Branch (20406:13): [True: 4, False: 41]
  ------------------
20407|      4|                found = "a map";
20408|      4|                break;
20409|      5|            case 6:
  ------------------
  |  Branch (20409:13): [True: 5, False: 40]
  ------------------
20410|      5|                found = "a tag";
20411|      5|                break;
20412|     15|            default: // major type 7
  ------------------
  |  Branch (20412:13): [True: 15, False: 30]
  ------------------
20413|     15|                switch (current)
20414|     15|                {
20415|      0|                    case 0xF4:
  ------------------
  |  Branch (20415:21): [True: 0, False: 15]
  ------------------
20416|      0|                    case 0xF5:
  ------------------
  |  Branch (20416:21): [True: 0, False: 15]
  ------------------
20417|      0|                        found = "a boolean";
20418|      0|                        break;
20419|      0|                    case 0xF6:
  ------------------
  |  Branch (20419:21): [True: 0, False: 15]
  ------------------
20420|      0|                        found = "null";
20421|      0|                        break;
20422|      1|                    case 0xF7:
  ------------------
  |  Branch (20422:21): [True: 1, False: 14]
  ------------------
20423|      1|                        found = "undefined";
20424|      1|                        break;
20425|      0|                    case 0xF9:
  ------------------
  |  Branch (20425:21): [True: 0, False: 15]
  ------------------
20426|      0|                    case 0xFA:
  ------------------
  |  Branch (20426:21): [True: 0, False: 15]
  ------------------
20427|      1|                    case 0xFB:
  ------------------
  |  Branch (20427:21): [True: 1, False: 14]
  ------------------
20428|      1|                        found = "a floating-point number";
20429|      1|                        break;
20430|      4|                    case 0xFF:
  ------------------
  |  Branch (20430:21): [True: 4, False: 11]
  ------------------
20431|      4|                        found = "a break stop code";
20432|      4|                        break;
20433|      9|                    default:
  ------------------
  |  Branch (20433:21): [True: 9, False: 6]
  ------------------
20434|      9|                        found = "a simple value";
20435|      9|                        break;
20436|     15|                }
20437|     15|                break;
20438|     45|        }
20439|       |
20440|     45|        return unsupported_key_type(found);
20441|     45|    }
_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_EEE15get_cbor_stringERSC_PKc:
20267|  52.4k|    {
20268|       |        // read chunks iteratively, but reject a second indefinite-length
20269|       |        // level as required by RFC 8949, Section 3.2.3
20270|  52.4k|        bool indefinite = false;
20271|       |
20272|       |        // the chunk currently being validated; only used for the chunks of an
20273|       |        // indefinite-length string when the UTF-8 check can do something
20274|  52.4k|        string_t chunk;
20275|       |
20276|  55.8k|        while (true)
  ------------------
  |  Branch (20276:16): [True: 55.2k, Folded]
  ------------------
20277|  55.2k|        {
20278|  55.2k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  55.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 55.2k]
  |  |  ------------------
  ------------------
20279|      0|            {
20280|      0|                return false;
20281|      0|            }
20282|       |
20283|  55.2k|            if (current == 0x7F) // UTF-8 string (indefinite length)
  ------------------
  |  Branch (20283:17): [True: 782, False: 54.4k]
  ------------------
20284|    782|            {
20285|    782|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|    782|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1, False: 781]
  |  |  ------------------
  ------------------
20286|      1|                {
20287|      1|                    return cbor_indefinite_string_error("string", "string");
20288|      1|                }
20289|    781|                indefinite = true;
20290|    781|                get();
20291|    781|                continue;
20292|    782|            }
20293|       |
20294|       |            // a break marker closes the indefinite-length string; outside
20295|       |            // of one it falls through to the error below. Every chunk has
20296|       |            // been checked on its own, so there is nothing left to check.
20297|  54.4k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20297:17): [True: 2.77k, False: 51.6k]
  |  Branch (20297:31): [True: 688, False: 2.09k]
  ------------------
20298|    688|            {
20299|    688|                return true;
20300|    688|            }
20301|       |
20302|  53.7k|            if (!indefinite)
  ------------------
  |  Branch (20302:17): [True: 51.0k, False: 2.67k]
  ------------------
20303|  51.0k|            {
20304|  51.0k|                return get_cbor_string_chunk(result, false) && check_string_utf8(result, context);
  ------------------
  |  Branch (20304:24): [True: 50.4k, False: 610]
  |  Branch (20304:64): [True: 50.4k, False: 0]
  ------------------
20305|  51.0k|            }
20306|       |
20307|  2.67k|            if (error_handler == error_handler_t::keep)
  ------------------
  |  Branch (20307:17): [True: 2.09k, False: 582]
  ------------------
20308|  2.09k|            {
20309|       |                // nothing to check: read the chunk directly into the result
20310|  2.09k|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(result, true)))
  ------------------
  |  | 1697|  2.09k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.09k]
  |  |  ------------------
  ------------------
20311|      0|                {
20312|      0|                    return false;
20313|      0|                }
20314|  2.09k|            }
20315|    582|            else
20316|    582|            {
20317|       |                // RFC 8949, Section 3.2.3: each chunk is a text string of its
20318|       |                // own and must be valid UTF-8 by itself, i.e., a code point
20319|       |                // cannot be spread over two chunks
20320|    582|                chunk.clear();
20321|    582|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(chunk, true) || !check_string_utf8(chunk, context)))
  ------------------
  |  | 1697|    582|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 582]
  |  |  |  Branch (1697:94): [True: 582, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20322|      0|                {
20323|      0|                    return false;
20324|      0|                }
20325|    582|                result.append(chunk.data(), chunk.size());
20326|    582|            }
20327|       |
20328|  2.67k|            get();
20329|  2.67k|        }
20330|  52.4k|    }
_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_EEE28cbor_indefinite_string_errorEPKcSQ_:
20148|      3|    {
20149|      3|        return last_byte_error(exception_id::invalid_string_or_size, concat("indefinite-length ", type_name, " is not allowed inside indefinite-length ", type_name, "; last byte: 0x", get_token_string()), context);
20150|      3|    }
_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_EEE21get_cbor_string_chunkERSC_b:
20196|  53.1k|    {
20197|  53.1k|        switch (current)
20198|  53.1k|        {
20199|       |            // UTF-8 string (0x00..0x17 bytes follow)
20200|  32.0k|            case 0x60:
  ------------------
  |  Branch (20200:13): [True: 32.0k, False: 21.1k]
  ------------------
20201|  43.2k|            case 0x61:
  ------------------
  |  Branch (20201:13): [True: 11.2k, False: 41.9k]
  ------------------
20202|  44.2k|            case 0x62:
  ------------------
  |  Branch (20202:13): [True: 1.00k, False: 52.1k]
  ------------------
20203|  44.6k|            case 0x63:
  ------------------
  |  Branch (20203:13): [True: 420, False: 52.7k]
  ------------------
20204|  45.4k|            case 0x64:
  ------------------
  |  Branch (20204:13): [True: 744, False: 52.4k]
  ------------------
20205|  45.8k|            case 0x65:
  ------------------
  |  Branch (20205:13): [True: 418, False: 52.7k]
  ------------------
20206|  46.1k|            case 0x66:
  ------------------
  |  Branch (20206:13): [True: 329, False: 52.8k]
  ------------------
20207|  46.4k|            case 0x67:
  ------------------
  |  Branch (20207:13): [True: 255, False: 52.9k]
  ------------------
20208|  46.9k|            case 0x68:
  ------------------
  |  Branch (20208:13): [True: 502, False: 52.6k]
  ------------------
20209|  47.1k|            case 0x69:
  ------------------
  |  Branch (20209:13): [True: 226, False: 52.9k]
  ------------------
20210|  47.3k|            case 0x6A:
  ------------------
  |  Branch (20210:13): [True: 168, False: 53.0k]
  ------------------
20211|  47.4k|            case 0x6B:
  ------------------
  |  Branch (20211:13): [True: 143, False: 53.0k]
  ------------------
20212|  47.6k|            case 0x6C:
  ------------------
  |  Branch (20212:13): [True: 191, False: 52.9k]
  ------------------
20213|  47.8k|            case 0x6D:
  ------------------
  |  Branch (20213:13): [True: 176, False: 53.0k]
  ------------------
20214|  47.9k|            case 0x6E:
  ------------------
  |  Branch (20214:13): [True: 116, False: 53.0k]
  ------------------
20215|  48.0k|            case 0x6F:
  ------------------
  |  Branch (20215:13): [True: 111, False: 53.0k]
  ------------------
20216|  48.3k|            case 0x70:
  ------------------
  |  Branch (20216:13): [True: 309, False: 52.8k]
  ------------------
20217|  48.4k|            case 0x71:
  ------------------
  |  Branch (20217:13): [True: 90, False: 53.0k]
  ------------------
20218|  48.5k|            case 0x72:
  ------------------
  |  Branch (20218:13): [True: 92, False: 53.0k]
  ------------------
20219|  48.6k|            case 0x73:
  ------------------
  |  Branch (20219:13): [True: 63, False: 53.1k]
  ------------------
20220|  48.8k|            case 0x74:
  ------------------
  |  Branch (20220:13): [True: 185, False: 53.0k]
  ------------------
20221|  48.8k|            case 0x75:
  ------------------
  |  Branch (20221:13): [True: 60, False: 53.1k]
  ------------------
20222|  48.9k|            case 0x76:
  ------------------
  |  Branch (20222:13): [True: 97, False: 53.0k]
  ------------------
20223|  49.2k|            case 0x77:
  ------------------
  |  Branch (20223:13): [True: 317, False: 52.8k]
  ------------------
20224|  49.2k|            {
20225|  49.2k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result);
20226|  48.9k|            }
20227|       |
20228|  1.53k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20228:13): [True: 1.53k, False: 51.6k]
  ------------------
20229|  1.53k|            {
20230|  1.53k|                return get_cbor_sized_bytes<std::uint8_t>("string", result);
20231|  48.9k|            }
20232|       |
20233|  1.17k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20233:13): [True: 1.17k, False: 52.0k]
  ------------------
20234|  1.17k|            {
20235|  1.17k|                return get_cbor_sized_bytes<std::uint16_t>("string", result);
20236|  48.9k|            }
20237|       |
20238|    391|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20238:13): [True: 391, False: 52.7k]
  ------------------
20239|    391|            {
20240|    391|                return get_cbor_sized_bytes<std::uint32_t>("string", result);
20241|  48.9k|            }
20242|       |
20243|    801|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20243:13): [True: 801, False: 52.3k]
  ------------------
20244|    801|            {
20245|    801|                return get_cbor_sized_bytes<std::uint64_t>("string", result);
20246|  48.9k|            }
20247|       |
20248|     16|            default:
  ------------------
  |  Branch (20248:13): [True: 16, False: 53.1k]
  ------------------
20249|     16|            {
20250|     16|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x60-0x7B)", "string", inside_indefinite ? "" : " or indefinite string type (0x7F)");
  ------------------
  |  Branch (20250:133): [True: 14, False: 2]
  ------------------
20251|  48.9k|            }
20252|  53.1k|        }
20253|  53.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_stringIjEEbT_RSC_:
23767|  49.2k|    {
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|  49.2k|        return get_bytes(len, "string", result);
23778|  49.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_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  49.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|  49.6k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 49.6k]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  49.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 49.6k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  49.6k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  66.7k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 17.3k, False: 49.3k]
  ------------------
23906|  17.3k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  17.3k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 17.2k, False: 44]
  ------------------
23910|  17.3k|                                       ? static_cast<std::size_t>(len)
23911|  17.3k|                                       : chunk_size;
23912|  17.3k|            const std::size_t old_size = result.size();
23913|  17.3k|            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.3k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  17.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 17.3k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  17.3k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  17.3k|            chars_read += bytes_read;
23921|  17.3k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  17.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 278, False: 17.0k]
  |  |  ------------------
  ------------------
23922|    278|            {
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|    278|                result.resize(old_size + bytes_read);
23927|    278|                ++chars_read;
23928|    278|                current = char_traits<char_type>::eof();
23929|    278|                return unexpect_eof(context);
23930|    278|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  17.0k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  17.0k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 17.0k, False: 0]
  ------------------
23933|  17.0k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  17.0k|        }
23935|  49.3k|        return true;
23936|  49.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_EEE17append_from_blockIjSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  49.6k|    {
23965|  49.6k|        return false;
23966|  49.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_EEE20get_cbor_sized_bytesIhSC_EEbPKcRT0_:
20175|  1.53k|    {
20176|  1.53k|        NumberType len{};
20177|  1.53k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.52k, False: 9]
  |  Branch (20177:35): [True: 1.48k, False: 36]
  ------------------
20178|  1.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_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.52k|    {
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.52k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 1.52k]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  1.52k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.52k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
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|  2.32k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 840, False: 1.48k]
  ------------------
23906|    840|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    840|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 840, False: 0]
  ------------------
23910|    840|                                       ? static_cast<std::size_t>(len)
23911|    840|                                       : chunk_size;
23912|    840|            const std::size_t old_size = result.size();
23913|    840|            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|    840|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    840|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 840, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    840|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    840|            chars_read += bytes_read;
23921|    840|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    840|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 804]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    804|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    804|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 804, False: 0]
  ------------------
23933|    804|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    804|        }
23935|  1.48k|        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_adapterINS4_21__list_const_iteratorIhPvEESK_EENS1_26json_sax_dom_binary_parserISG_SL_EEE17append_from_blockIhSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  1.52k|    {
23965|  1.52k|        return false;
23966|  1.52k|    }
_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_EEE20get_cbor_sized_bytesItSC_EEbPKcRT0_:
20175|  1.17k|    {
20176|  1.17k|        NumberType len{};
20177|  1.17k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.15k, False: 20]
  |  Branch (20177:35): [True: 1.07k, False: 77]
  ------------------
20178|  1.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_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|  1.15k|    {
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.15k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 1.15k]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|  1.15k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 1.15k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  1.15k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.58k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 509, False: 1.07k]
  ------------------
23906|    509|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    509|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 488, False: 21]
  ------------------
23910|    509|                                       ? static_cast<std::size_t>(len)
23911|    509|                                       : chunk_size;
23912|    509|            const std::size_t old_size = result.size();
23913|    509|            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|    509|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    509|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 509, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    509|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    509|            chars_read += bytes_read;
23921|    509|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    509|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 77, False: 432]
  |  |  ------------------
  ------------------
23922|     77|            {
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|     77|                result.resize(old_size + bytes_read);
23927|     77|                ++chars_read;
23928|     77|                current = char_traits<char_type>::eof();
23929|     77|                return unexpect_eof(context);
23930|     77|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    432|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    432|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 432, False: 0]
  ------------------
23933|    432|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    432|        }
23935|  1.07k|        return true;
23936|  1.15k|    }
_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|  1.15k|    {
23965|  1.15k|        return false;
23966|  1.15k|    }
_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_EEE20get_cbor_sized_bytesIjSC_EEbPKcRT0_:
20175|    391|    {
20176|    391|        NumberType len{};
20177|    391|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 374, False: 17]
  |  Branch (20177:35): [True: 298, False: 76]
  ------------------
20178|    391|    }
_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_EEE20get_cbor_sized_bytesImSC_EEbPKcRT0_:
20175|    801|    {
20176|    801|        NumberType len{};
20177|    801|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 780, False: 21]
  |  Branch (20177:35): [True: 584, False: 196]
  ------------------
20178|    801|    }
_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_bytesImSC_EEbT_PKcRT0_:
23893|    780|    {
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|    780|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 780]
  |  Branch (23896:50): [True: 0, Folded]
  ------------------
23897|    780|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 780]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    780|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.06k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 477, False: 584]
  ------------------
23906|    477|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    477|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 322, False: 155]
  ------------------
23910|    477|                                       ? static_cast<std::size_t>(len)
23911|    477|                                       : chunk_size;
23912|    477|            const std::size_t old_size = result.size();
23913|    477|            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|    477|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    477|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 477, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    477|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    477|            chars_read += bytes_read;
23921|    477|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    477|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 196, False: 281]
  |  |  ------------------
  ------------------
23922|    196|            {
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|    196|                result.resize(old_size + bytes_read);
23927|    196|                ++chars_read;
23928|    196|                current = char_traits<char_type>::eof();
23929|    196|                return unexpect_eof(context);
23930|    196|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    281|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    281|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 281, False: 0]
  ------------------
23933|    281|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    281|        }
23935|    584|        return true;
23936|    780|    }
_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_blockImSC_EEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    780|    {
23965|    780|        return false;
23966|    780|    }
_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|     45|    {
20160|     45|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     45|    }
_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_EEE16parse_cbor_valueEbNS1_18cbor_tag_handler_tERbSQ_:
19762|   259k|    {
19763|   259k|        tag_pending = false;
19764|   259k|        item_read = false;
19765|       |
19766|   259k|        switch (get_char ? get() : current)
  ------------------
  |  Branch (19766:17): [True: 171k, False: 88.0k]
  ------------------
19767|   259k|        {
19768|       |            // EOF
19769|  1.82k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (19769:13): [True: 1.82k, False: 257k]
  ------------------
19770|  1.82k|                return unexpect_eof("value");
19771|       |
19772|       |            // Integer 0x00..0x17 (0..23)
19773|  14.0k|            case 0x00:
  ------------------
  |  Branch (19773:13): [True: 14.0k, False: 245k]
  ------------------
19774|  15.0k|            case 0x01:
  ------------------
  |  Branch (19774:13): [True: 1.02k, False: 258k]
  ------------------
19775|  15.6k|            case 0x02:
  ------------------
  |  Branch (19775:13): [True: 595, False: 258k]
  ------------------
19776|  16.0k|            case 0x03:
  ------------------
  |  Branch (19776:13): [True: 397, False: 259k]
  ------------------
19777|  16.5k|            case 0x04:
  ------------------
  |  Branch (19777:13): [True: 485, False: 259k]
  ------------------
19778|  17.2k|            case 0x05:
  ------------------
  |  Branch (19778:13): [True: 690, False: 258k]
  ------------------
19779|  17.8k|            case 0x06:
  ------------------
  |  Branch (19779:13): [True: 561, False: 258k]
  ------------------
19780|  18.3k|            case 0x07:
  ------------------
  |  Branch (19780:13): [True: 559, False: 258k]
  ------------------
19781|  18.9k|            case 0x08:
  ------------------
  |  Branch (19781:13): [True: 612, False: 258k]
  ------------------
19782|  19.4k|            case 0x09:
  ------------------
  |  Branch (19782:13): [True: 499, False: 259k]
  ------------------
19783|  20.0k|            case 0x0A:
  ------------------
  |  Branch (19783:13): [True: 611, False: 258k]
  ------------------
19784|  20.4k|            case 0x0B:
  ------------------
  |  Branch (19784:13): [True: 388, False: 259k]
  ------------------
19785|  21.0k|            case 0x0C:
  ------------------
  |  Branch (19785:13): [True: 577, False: 258k]
  ------------------
19786|  21.6k|            case 0x0D:
  ------------------
  |  Branch (19786:13): [True: 559, False: 258k]
  ------------------
19787|  22.2k|            case 0x0E:
  ------------------
  |  Branch (19787:13): [True: 621, False: 258k]
  ------------------
19788|  22.7k|            case 0x0F:
  ------------------
  |  Branch (19788:13): [True: 524, False: 259k]
  ------------------
19789|  23.3k|            case 0x10:
  ------------------
  |  Branch (19789:13): [True: 607, False: 258k]
  ------------------
19790|  23.8k|            case 0x11:
  ------------------
  |  Branch (19790:13): [True: 489, False: 259k]
  ------------------
19791|  24.2k|            case 0x12:
  ------------------
  |  Branch (19791:13): [True: 384, False: 259k]
  ------------------
19792|  24.5k|            case 0x13:
  ------------------
  |  Branch (19792:13): [True: 311, False: 259k]
  ------------------
19793|  25.2k|            case 0x14:
  ------------------
  |  Branch (19793:13): [True: 710, False: 258k]
  ------------------
19794|  25.5k|            case 0x15:
  ------------------
  |  Branch (19794:13): [True: 338, False: 259k]
  ------------------
19795|  26.1k|            case 0x16:
  ------------------
  |  Branch (19795:13): [True: 589, False: 258k]
  ------------------
19796|  26.4k|            case 0x17:
  ------------------
  |  Branch (19796:13): [True: 277, False: 259k]
  ------------------
19797|  26.4k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
19798|       |
19799|    650|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19799:13): [True: 650, False: 258k]
  ------------------
19800|    650|            {
19801|    650|                std::uint8_t number{};
19802|    650|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19802:24): [True: 645, False: 5]
  |  Branch (19802:46): [True: 645, False: 0]
  ------------------
19803|  26.1k|            }
19804|       |
19805|    676|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (19805:13): [True: 676, False: 258k]
  ------------------
19806|    676|            {
19807|    676|                std::uint16_t number{};
19808|    676|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19808:24): [True: 661, False: 15]
  |  Branch (19808:46): [True: 661, False: 0]
  ------------------
19809|  26.1k|            }
19810|       |
19811|    512|            case 0x1A: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (19811:13): [True: 512, False: 259k]
  ------------------
19812|    512|            {
19813|    512|                std::uint32_t number{};
19814|    512|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19814:24): [True: 494, False: 18]
  |  Branch (19814:46): [True: 494, False: 0]
  ------------------
19815|  26.1k|            }
19816|       |
19817|    910|            case 0x1B: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (19817:13): [True: 910, False: 258k]
  ------------------
19818|    910|            {
19819|    910|                std::uint64_t number{};
19820|    910|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19820:24): [True: 891, False: 19]
  |  Branch (19820:46): [True: 891, False: 0]
  ------------------
19821|  26.1k|            }
19822|       |
19823|       |            // Negative integer -1-0x00..-1-0x17 (-1..-24)
19824|    935|            case 0x20:
  ------------------
  |  Branch (19824:13): [True: 935, False: 258k]
  ------------------
19825|  1.79k|            case 0x21:
  ------------------
  |  Branch (19825:13): [True: 863, False: 258k]
  ------------------
19826|  3.25k|            case 0x22:
  ------------------
  |  Branch (19826:13): [True: 1.45k, False: 258k]
  ------------------
19827|  3.97k|            case 0x23:
  ------------------
  |  Branch (19827:13): [True: 725, False: 258k]
  ------------------
19828|  4.44k|            case 0x24:
  ------------------
  |  Branch (19828:13): [True: 471, False: 259k]
  ------------------
19829|  5.27k|            case 0x25:
  ------------------
  |  Branch (19829:13): [True: 826, False: 258k]
  ------------------
19830|  5.83k|            case 0x26:
  ------------------
  |  Branch (19830:13): [True: 557, False: 258k]
  ------------------
19831|  7.01k|            case 0x27:
  ------------------
  |  Branch (19831:13): [True: 1.18k, False: 258k]
  ------------------
19832|  7.57k|            case 0x28:
  ------------------
  |  Branch (19832:13): [True: 561, False: 258k]
  ------------------
19833|  8.29k|            case 0x29:
  ------------------
  |  Branch (19833:13): [True: 717, False: 258k]
  ------------------
19834|  8.87k|            case 0x2A:
  ------------------
  |  Branch (19834:13): [True: 575, False: 258k]
  ------------------
19835|  10.0k|            case 0x2B:
  ------------------
  |  Branch (19835:13): [True: 1.15k, False: 258k]
  ------------------
19836|  10.5k|            case 0x2C:
  ------------------
  |  Branch (19836:13): [True: 557, False: 258k]
  ------------------
19837|  11.4k|            case 0x2D:
  ------------------
  |  Branch (19837:13): [True: 847, False: 258k]
  ------------------
19838|  11.9k|            case 0x2E:
  ------------------
  |  Branch (19838:13): [True: 483, False: 259k]
  ------------------
19839|  12.7k|            case 0x2F:
  ------------------
  |  Branch (19839:13): [True: 864, False: 258k]
  ------------------
19840|  14.0k|            case 0x30:
  ------------------
  |  Branch (19840:13): [True: 1.27k, False: 258k]
  ------------------
19841|  14.7k|            case 0x31:
  ------------------
  |  Branch (19841:13): [True: 732, False: 258k]
  ------------------
19842|  15.4k|            case 0x32:
  ------------------
  |  Branch (19842:13): [True: 660, False: 258k]
  ------------------
19843|  15.9k|            case 0x33:
  ------------------
  |  Branch (19843:13): [True: 461, False: 259k]
  ------------------
19844|  16.5k|            case 0x34:
  ------------------
  |  Branch (19844:13): [True: 646, False: 258k]
  ------------------
19845|  17.0k|            case 0x35:
  ------------------
  |  Branch (19845:13): [True: 464, False: 259k]
  ------------------
19846|  17.5k|            case 0x36:
  ------------------
  |  Branch (19846:13): [True: 532, False: 259k]
  ------------------
19847|  17.9k|            case 0x37:
  ------------------
  |  Branch (19847:13): [True: 383, False: 259k]
  ------------------
19848|  17.9k|                return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current));
19849|       |
19850|    662|            case 0x38: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19850:13): [True: 662, False: 258k]
  ------------------
19851|    662|                return get_cbor_negative_integer<std::uint8_t>();
19852|       |
19853|    658|            case 0x39: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (19853:13): [True: 658, False: 258k]
  ------------------
19854|    658|                return get_cbor_negative_integer<std::uint16_t>();
19855|       |
19856|    658|            case 0x3A: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (19856:13): [True: 658, False: 258k]
  ------------------
19857|    658|                return get_cbor_negative_integer<std::uint32_t>();
19858|       |
19859|  1.21k|            case 0x3B: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (19859:13): [True: 1.21k, False: 258k]
  ------------------
19860|  1.21k|                return get_cbor_negative_integer<std::uint64_t>();
19861|       |
19862|       |            // Binary data (0x00..0x17 bytes follow)
19863|  23.0k|            case 0x40:
  ------------------
  |  Branch (19863:13): [True: 23.0k, False: 236k]
  ------------------
19864|  24.2k|            case 0x41:
  ------------------
  |  Branch (19864:13): [True: 1.23k, False: 258k]
  ------------------
19865|  24.6k|            case 0x42:
  ------------------
  |  Branch (19865:13): [True: 386, False: 259k]
  ------------------
19866|  24.7k|            case 0x43:
  ------------------
  |  Branch (19866:13): [True: 123, False: 259k]
  ------------------
19867|  25.0k|            case 0x44:
  ------------------
  |  Branch (19867:13): [True: 237, False: 259k]
  ------------------
19868|  25.1k|            case 0x45:
  ------------------
  |  Branch (19868:13): [True: 121, False: 259k]
  ------------------
19869|  25.2k|            case 0x46:
  ------------------
  |  Branch (19869:13): [True: 122, False: 259k]
  ------------------
19870|  25.4k|            case 0x47:
  ------------------
  |  Branch (19870:13): [True: 182, False: 259k]
  ------------------
19871|  25.5k|            case 0x48:
  ------------------
  |  Branch (19871:13): [True: 144, False: 259k]
  ------------------
19872|  25.7k|            case 0x49:
  ------------------
  |  Branch (19872:13): [True: 117, False: 259k]
  ------------------
19873|  25.8k|            case 0x4A:
  ------------------
  |  Branch (19873:13): [True: 118, False: 259k]
  ------------------
19874|  25.9k|            case 0x4B:
  ------------------
  |  Branch (19874:13): [True: 125, False: 259k]
  ------------------
19875|  26.0k|            case 0x4C:
  ------------------
  |  Branch (19875:13): [True: 124, False: 259k]
  ------------------
19876|  26.1k|            case 0x4D:
  ------------------
  |  Branch (19876:13): [True: 116, False: 259k]
  ------------------
19877|  26.2k|            case 0x4E:
  ------------------
  |  Branch (19877:13): [True: 49, False: 259k]
  ------------------
19878|  26.2k|            case 0x4F:
  ------------------
  |  Branch (19878:13): [True: 50, False: 259k]
  ------------------
19879|  26.3k|            case 0x50:
  ------------------
  |  Branch (19879:13): [True: 94, False: 259k]
  ------------------
19880|  26.4k|            case 0x51:
  ------------------
  |  Branch (19880:13): [True: 53, False: 259k]
  ------------------
19881|  26.4k|            case 0x52:
  ------------------
  |  Branch (19881:13): [True: 50, False: 259k]
  ------------------
19882|  26.5k|            case 0x53:
  ------------------
  |  Branch (19882:13): [True: 54, False: 259k]
  ------------------
19883|  26.5k|            case 0x54:
  ------------------
  |  Branch (19883:13): [True: 48, False: 259k]
  ------------------
19884|  26.6k|            case 0x55:
  ------------------
  |  Branch (19884:13): [True: 52, False: 259k]
  ------------------
19885|  26.6k|            case 0x56:
  ------------------
  |  Branch (19885:13): [True: 48, False: 259k]
  ------------------
19886|  26.7k|            case 0x57:
  ------------------
  |  Branch (19886:13): [True: 56, False: 259k]
  ------------------
19887|  27.6k|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19887:13): [True: 908, False: 258k]
  ------------------
19888|  28.4k|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19888:13): [True: 782, False: 258k]
  ------------------
19889|  28.8k|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19889:13): [True: 434, False: 259k]
  ------------------
19890|  29.5k|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19890:13): [True: 647, False: 258k]
  ------------------
19891|  30.5k|            case 0x5F: // Binary data (indefinite length)
  ------------------
  |  Branch (19891:13): [True: 1.02k, False: 258k]
  ------------------
19892|  30.5k|            {
19893|  30.5k|                binary_t b;
19894|  30.5k|                return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (19894:24): [True: 29.9k, False: 621]
  |  Branch (19894:46): [True: 29.9k, False: 0]
  ------------------
19895|  29.5k|            }
19896|       |
19897|       |            // UTF-8 string (0x00..0x17 bytes follow)
19898|  7.01k|            case 0x60:
  ------------------
  |  Branch (19898:13): [True: 7.01k, False: 252k]
  ------------------
19899|  8.08k|            case 0x61:
  ------------------
  |  Branch (19899:13): [True: 1.06k, False: 258k]
  ------------------
19900|  8.72k|            case 0x62:
  ------------------
  |  Branch (19900:13): [True: 649, False: 258k]
  ------------------
19901|  9.09k|            case 0x63:
  ------------------
  |  Branch (19901:13): [True: 367, False: 259k]
  ------------------
19902|  9.65k|            case 0x64:
  ------------------
  |  Branch (19902:13): [True: 554, False: 259k]
  ------------------
19903|  10.0k|            case 0x65:
  ------------------
  |  Branch (19903:13): [True: 410, False: 259k]
  ------------------
19904|  10.3k|            case 0x66:
  ------------------
  |  Branch (19904:13): [True: 299, False: 259k]
  ------------------
19905|  10.6k|            case 0x67:
  ------------------
  |  Branch (19905:13): [True: 250, False: 259k]
  ------------------
19906|  10.9k|            case 0x68:
  ------------------
  |  Branch (19906:13): [True: 377, False: 259k]
  ------------------
19907|  11.1k|            case 0x69:
  ------------------
  |  Branch (19907:13): [True: 200, False: 259k]
  ------------------
19908|  11.3k|            case 0x6A:
  ------------------
  |  Branch (19908:13): [True: 165, False: 259k]
  ------------------
19909|  11.4k|            case 0x6B:
  ------------------
  |  Branch (19909:13): [True: 141, False: 259k]
  ------------------
19910|  11.6k|            case 0x6C:
  ------------------
  |  Branch (19910:13): [True: 175, False: 259k]
  ------------------
19911|  11.8k|            case 0x6D:
  ------------------
  |  Branch (19911:13): [True: 157, False: 259k]
  ------------------
19912|  11.9k|            case 0x6E:
  ------------------
  |  Branch (19912:13): [True: 85, False: 259k]
  ------------------
19913|  12.0k|            case 0x6F:
  ------------------
  |  Branch (19913:13): [True: 97, False: 259k]
  ------------------
19914|  12.2k|            case 0x70:
  ------------------
  |  Branch (19914:13): [True: 256, False: 259k]
  ------------------
19915|  12.3k|            case 0x71:
  ------------------
  |  Branch (19915:13): [True: 84, False: 259k]
  ------------------
19916|  12.4k|            case 0x72:
  ------------------
  |  Branch (19916:13): [True: 88, False: 259k]
  ------------------
19917|  12.4k|            case 0x73:
  ------------------
  |  Branch (19917:13): [True: 56, False: 259k]
  ------------------
19918|  12.6k|            case 0x74:
  ------------------
  |  Branch (19918:13): [True: 182, False: 259k]
  ------------------
19919|  12.7k|            case 0x75:
  ------------------
  |  Branch (19919:13): [True: 57, False: 259k]
  ------------------
19920|  12.8k|            case 0x76:
  ------------------
  |  Branch (19920:13): [True: 82, False: 259k]
  ------------------
19921|  12.9k|            case 0x77:
  ------------------
  |  Branch (19921:13): [True: 120, False: 259k]
  ------------------
19922|  14.2k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19922:13): [True: 1.28k, False: 258k]
  ------------------
19923|  15.2k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19923:13): [True: 1.03k, False: 258k]
  ------------------
19924|  15.6k|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19924:13): [True: 391, False: 259k]
  ------------------
19925|  16.3k|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19925:13): [True: 668, False: 258k]
  ------------------
19926|  17.0k|            case 0x7F: // UTF-8 string (indefinite length)
  ------------------
  |  Branch (19926:13): [True: 778, False: 258k]
  ------------------
19927|  17.0k|            {
19928|  17.0k|                string_t s;
19929|  17.0k|                return get_cbor_string(s) && sax->string(s);
  ------------------
  |  Branch (19929:24): [True: 16.3k, False: 690]
  |  Branch (19929:46): [True: 16.3k, False: 0]
  ------------------
19930|  16.3k|            }
19931|       |
19932|       |            // array (0x00..0x17 data items follow)
19933|  4.63k|            case 0x80:
  ------------------
  |  Branch (19933:13): [True: 4.63k, False: 254k]
  ------------------
19934|  95.1k|            case 0x81:
  ------------------
  |  Branch (19934:13): [True: 90.4k, False: 169k]
  ------------------
19935|  96.6k|            case 0x82:
  ------------------
  |  Branch (19935:13): [True: 1.56k, False: 257k]
  ------------------
19936|  97.2k|            case 0x83:
  ------------------
  |  Branch (19936:13): [True: 511, False: 259k]
  ------------------
19937|  97.7k|            case 0x84:
  ------------------
  |  Branch (19937:13): [True: 546, False: 259k]
  ------------------
19938|  98.1k|            case 0x85:
  ------------------
  |  Branch (19938:13): [True: 354, False: 259k]
  ------------------
19939|  98.7k|            case 0x86:
  ------------------
  |  Branch (19939:13): [True: 625, False: 258k]
  ------------------
19940|  99.5k|            case 0x87:
  ------------------
  |  Branch (19940:13): [True: 774, False: 258k]
  ------------------
19941|  99.9k|            case 0x88:
  ------------------
  |  Branch (19941:13): [True: 407, False: 259k]
  ------------------
19942|   100k|            case 0x89:
  ------------------
  |  Branch (19942:13): [True: 446, False: 259k]
  ------------------
19943|   100k|            case 0x8A:
  ------------------
  |  Branch (19943:13): [True: 478, False: 259k]
  ------------------
19944|   101k|            case 0x8B:
  ------------------
  |  Branch (19944:13): [True: 428, False: 259k]
  ------------------
19945|   101k|            case 0x8C:
  ------------------
  |  Branch (19945:13): [True: 473, False: 259k]
  ------------------
19946|   102k|            case 0x8D:
  ------------------
  |  Branch (19946:13): [True: 341, False: 259k]
  ------------------
19947|   102k|            case 0x8E:
  ------------------
  |  Branch (19947:13): [True: 431, False: 259k]
  ------------------
19948|   103k|            case 0x8F:
  ------------------
  |  Branch (19948:13): [True: 523, False: 259k]
  ------------------
19949|   103k|            case 0x90:
  ------------------
  |  Branch (19949:13): [True: 572, False: 258k]
  ------------------
19950|   104k|            case 0x91:
  ------------------
  |  Branch (19950:13): [True: 477, False: 259k]
  ------------------
19951|   104k|            case 0x92:
  ------------------
  |  Branch (19951:13): [True: 447, False: 259k]
  ------------------
19952|   105k|            case 0x93:
  ------------------
  |  Branch (19952:13): [True: 714, False: 258k]
  ------------------
19953|   105k|            case 0x94:
  ------------------
  |  Branch (19953:13): [True: 297, False: 259k]
  ------------------
19954|   105k|            case 0x95:
  ------------------
  |  Branch (19954:13): [True: 408, False: 259k]
  ------------------
19955|   106k|            case 0x96:
  ------------------
  |  Branch (19955:13): [True: 396, False: 259k]
  ------------------
19956|   107k|            case 0x97:
  ------------------
  |  Branch (19956:13): [True: 734, False: 258k]
  ------------------
19957|   107k|                return enter_cbor_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19958|       |
19959|    940|            case 0x98: // array (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19959:13): [True: 940, False: 258k]
  ------------------
19960|  2.62k|            case 0x99: // array (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19960:13): [True: 1.68k, False: 257k]
  ------------------
19961|  3.31k|            case 0x9A: // array (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19961:13): [True: 690, False: 258k]
  ------------------
19962|  3.72k|            case 0x9B: // array (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19962:13): [True: 411, False: 259k]
  ------------------
19963|  3.72k|            {
19964|  3.72k|                std::uint64_t len{};
19965|  3.72k|                std::size_t size{};
19966|  3.72k|                return get_cbor_argument(len) && get_container_size(len, size, "array") && enter_cbor_array(size);
  ------------------
  |  Branch (19966:24): [True: 3.64k, False: 78]
  |  Branch (19966:50): [True: 3.64k, False: 1]
  |  Branch (19966:92): [True: 3.51k, False: 133]
  ------------------
19967|  3.31k|            }
19968|       |
19969|  6.70k|            case 0x9F: // array (indefinite length)
  ------------------
  |  Branch (19969:13): [True: 6.70k, False: 252k]
  ------------------
19970|  6.70k|                return enter_array(detail::unknown_size());
19971|       |
19972|       |            // map (0x00..0x17 pairs of data items follow)
19973|  4.48k|            case 0xA0:
  ------------------
  |  Branch (19973:13): [True: 4.48k, False: 255k]
  ------------------
19974|  13.4k|            case 0xA1:
  ------------------
  |  Branch (19974:13): [True: 8.94k, False: 250k]
  ------------------
19975|  15.3k|            case 0xA2:
  ------------------
  |  Branch (19975:13): [True: 1.93k, False: 257k]
  ------------------
19976|  15.8k|            case 0xA3:
  ------------------
  |  Branch (19976:13): [True: 436, False: 259k]
  ------------------
19977|  16.0k|            case 0xA4:
  ------------------
  |  Branch (19977:13): [True: 280, False: 259k]
  ------------------
19978|  16.3k|            case 0xA5:
  ------------------
  |  Branch (19978:13): [True: 295, False: 259k]
  ------------------
19979|  16.6k|            case 0xA6:
  ------------------
  |  Branch (19979:13): [True: 270, False: 259k]
  ------------------
19980|  17.0k|            case 0xA7:
  ------------------
  |  Branch (19980:13): [True: 414, False: 259k]
  ------------------
19981|  17.3k|            case 0xA8:
  ------------------
  |  Branch (19981:13): [True: 260, False: 259k]
  ------------------
19982|  17.5k|            case 0xA9:
  ------------------
  |  Branch (19982:13): [True: 274, False: 259k]
  ------------------
19983|  17.8k|            case 0xAA:
  ------------------
  |  Branch (19983:13): [True: 294, False: 259k]
  ------------------
19984|  18.1k|            case 0xAB:
  ------------------
  |  Branch (19984:13): [True: 258, False: 259k]
  ------------------
19985|  18.4k|            case 0xAC:
  ------------------
  |  Branch (19985:13): [True: 262, False: 259k]
  ------------------
19986|  18.6k|            case 0xAD:
  ------------------
  |  Branch (19986:13): [True: 280, False: 259k]
  ------------------
19987|  18.9k|            case 0xAE:
  ------------------
  |  Branch (19987:13): [True: 260, False: 259k]
  ------------------
19988|  19.2k|            case 0xAF:
  ------------------
  |  Branch (19988:13): [True: 296, False: 259k]
  ------------------
19989|  19.5k|            case 0xB0:
  ------------------
  |  Branch (19989:13): [True: 272, False: 259k]
  ------------------
19990|  19.8k|            case 0xB1:
  ------------------
  |  Branch (19990:13): [True: 302, False: 259k]
  ------------------
19991|  20.0k|            case 0xB2:
  ------------------
  |  Branch (19991:13): [True: 254, False: 259k]
  ------------------
19992|  20.3k|            case 0xB3:
  ------------------
  |  Branch (19992:13): [True: 295, False: 259k]
  ------------------
19993|  20.6k|            case 0xB4:
  ------------------
  |  Branch (19993:13): [True: 261, False: 259k]
  ------------------
19994|  20.8k|            case 0xB5:
  ------------------
  |  Branch (19994:13): [True: 259, False: 259k]
  ------------------
19995|  21.1k|            case 0xB6:
  ------------------
  |  Branch (19995:13): [True: 270, False: 259k]
  ------------------
19996|  21.5k|            case 0xB7:
  ------------------
  |  Branch (19996:13): [True: 402, False: 259k]
  ------------------
19997|  21.5k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19998|       |
19999|    327|            case 0xB8: // map (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19999:13): [True: 327, False: 259k]
  ------------------
20000|    694|            case 0xB9: // map (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20000:13): [True: 367, False: 259k]
  ------------------
20001|    934|            case 0xBA: // map (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20001:13): [True: 240, False: 259k]
  ------------------
20002|  1.29k|            case 0xBB: // map (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20002:13): [True: 359, False: 259k]
  ------------------
20003|  1.29k|            {
20004|  1.29k|                std::uint64_t len{};
20005|  1.29k|                std::size_t size{};
20006|  1.29k|                return get_cbor_argument(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (20006:24): [True: 1.24k, False: 45]
  |  Branch (20006:50): [True: 1.24k, False: 1]
  |  Branch (20006:90): [True: 1.10k, False: 143]
  ------------------
20007|    934|            }
20008|       |
20009|  1.54k|            case 0xBF: // map (indefinite length)
  ------------------
  |  Branch (20009:13): [True: 1.54k, False: 258k]
  ------------------
20010|  1.54k|                return enter_object(detail::unknown_size());
20011|       |
20012|      1|            case 0xC0: // tagged item (tag value 0-23, in the head itself)
  ------------------
  |  Branch (20012:13): [True: 1, False: 259k]
  ------------------
20013|      2|            case 0xC1:
  ------------------
  |  Branch (20013:13): [True: 1, False: 259k]
  ------------------
20014|      3|            case 0xC2:
  ------------------
  |  Branch (20014:13): [True: 1, False: 259k]
  ------------------
20015|      4|            case 0xC3:
  ------------------
  |  Branch (20015:13): [True: 1, False: 259k]
  ------------------
20016|      5|            case 0xC4:
  ------------------
  |  Branch (20016:13): [True: 1, False: 259k]
  ------------------
20017|      6|            case 0xC5:
  ------------------
  |  Branch (20017:13): [True: 1, False: 259k]
  ------------------
20018|      8|            case 0xC6:
  ------------------
  |  Branch (20018:13): [True: 2, False: 259k]
  ------------------
20019|     11|            case 0xC7:
  ------------------
  |  Branch (20019:13): [True: 3, False: 259k]
  ------------------
20020|     12|            case 0xC8:
  ------------------
  |  Branch (20020:13): [True: 1, False: 259k]
  ------------------
20021|     13|            case 0xC9:
  ------------------
  |  Branch (20021:13): [True: 1, False: 259k]
  ------------------
20022|     14|            case 0xCA:
  ------------------
  |  Branch (20022:13): [True: 1, False: 259k]
  ------------------
20023|     15|            case 0xCB:
  ------------------
  |  Branch (20023:13): [True: 1, False: 259k]
  ------------------
20024|     16|            case 0xCC:
  ------------------
  |  Branch (20024:13): [True: 1, False: 259k]
  ------------------
20025|     17|            case 0xCD:
  ------------------
  |  Branch (20025:13): [True: 1, False: 259k]
  ------------------
20026|     18|            case 0xCE:
  ------------------
  |  Branch (20026:13): [True: 1, False: 259k]
  ------------------
20027|     19|            case 0xCF:
  ------------------
  |  Branch (20027:13): [True: 1, False: 259k]
  ------------------
20028|     20|            case 0xD0:
  ------------------
  |  Branch (20028:13): [True: 1, False: 259k]
  ------------------
20029|     21|            case 0xD1:
  ------------------
  |  Branch (20029:13): [True: 1, False: 259k]
  ------------------
20030|     22|            case 0xD2:
  ------------------
  |  Branch (20030:13): [True: 1, False: 259k]
  ------------------
20031|     23|            case 0xD3:
  ------------------
  |  Branch (20031:13): [True: 1, False: 259k]
  ------------------
20032|     25|            case 0xD4:
  ------------------
  |  Branch (20032:13): [True: 2, False: 259k]
  ------------------
20033|     26|            case 0xD5:
  ------------------
  |  Branch (20033:13): [True: 1, False: 259k]
  ------------------
20034|     27|            case 0xD6:
  ------------------
  |  Branch (20034:13): [True: 1, False: 259k]
  ------------------
20035|     30|            case 0xD7:
  ------------------
  |  Branch (20035:13): [True: 3, False: 259k]
  ------------------
20036|     30|            {
20037|     30|                if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20037:21): [True: 30, False: 0]
  ------------------
20038|     30|                {
20039|     30|                    return unexpected_byte("invalid byte", "value");
20040|     30|                }
20041|       |
20042|       |                // ignore and store: the tag value is already in the head, so
20043|       |                // there is nothing left to read here; the tagged value that
20044|       |                // follows is read by the loop in parse_cbor_internal() rather
20045|       |                // than by recursing here
20046|      0|                tag_pending = true;
20047|      0|                return true;
20048|     30|            }
20049|       |
20050|      2|            case 0xD8: // tagged item (1 byte follows)
  ------------------
  |  Branch (20050:13): [True: 2, False: 259k]
  ------------------
20051|      3|            case 0xD9: // tagged item (2 bytes follow)
  ------------------
  |  Branch (20051:13): [True: 1, False: 259k]
  ------------------
20052|      4|            case 0xDA: // tagged item (4 bytes follow)
  ------------------
  |  Branch (20052:13): [True: 1, False: 259k]
  ------------------
20053|      5|            case 0xDB: // tagged item (8 bytes follow)
  ------------------
  |  Branch (20053:13): [True: 1, False: 259k]
  ------------------
20054|      5|            {
20055|      5|                switch (tag_handler)
20056|      5|                {
20057|      5|                    case cbor_tag_handler_t::error:
  ------------------
  |  Branch (20057:21): [True: 5, False: 0]
  ------------------
20058|      5|                    {
20059|      5|                        return unexpected_byte("invalid byte", "value");
20060|      0|                    }
20061|       |
20062|      0|                    case cbor_tag_handler_t::ignore:
  ------------------
  |  Branch (20062:21): [True: 0, False: 5]
  ------------------
20063|      0|                    {
20064|       |                        // ignore the tag's binary subtype argument
20065|      0|                        std::uint64_t subtype_to_ignore{};
20066|      0|                        if (!get_cbor_argument(subtype_to_ignore))
  ------------------
  |  Branch (20066:29): [True: 0, False: 0]
  ------------------
20067|      0|                        {
20068|      0|                            return false;
20069|      0|                        }
20070|       |                        // the tagged value follows; it is read by the loop in
20071|       |                        // parse_cbor_internal() rather than by recursing here
20072|      0|                        tag_pending = true;
20073|      0|                        return true;
20074|      0|                    }
20075|       |
20076|      0|                    case cbor_tag_handler_t::store:
  ------------------
  |  Branch (20076:21): [True: 0, False: 5]
  ------------------
20077|      0|                    {
20078|       |                        // use binary subtype and store in a binary container
20079|      0|                        std::uint64_t subtype{};
20080|      0|                        if (!get_cbor_argument(subtype))
  ------------------
  |  Branch (20080:29): [True: 0, False: 0]
  ------------------
20081|      0|                        {
20082|      0|                            return false;
20083|      0|                        }
20084|      0|                        binary_t b;
20085|      0|                        b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
20086|       |
20087|      0|                        get();
20088|       |                        // a byte string (the heads accepted by get_cbor_binary) keeps the tag as subtype
20089|      0|                        if ((current >= 0x40 && current <= 0x5B) || current == 0x5F)
  ------------------
  |  Branch (20089:30): [True: 0, False: 0]
  |  Branch (20089:49): [True: 0, False: 0]
  |  Branch (20089:69): [True: 0, False: 0]
  ------------------
20090|      0|                        {
20091|      0|                            return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (20091:36): [True: 0, False: 0]
  |  Branch (20091:58): [True: 0, False: 0]
  ------------------
20092|      0|                        }
20093|       |
20094|       |                        // not a byte string: the tagged value, whose first byte
20095|       |                        // was just read, is read by the caller like for ignore
20096|      0|                        tag_pending = true;
20097|      0|                        item_read = true;
20098|      0|                        return true;
20099|      0|                    }
20100|       |
20101|      0|                    default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20101:21): [True: 0, False: 5]
  ------------------
20102|      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 (20102:25): [Folded, False: 0]
  ------------------
20103|      0|                        return false;        // LCOV_EXCL_LINE
20104|      5|                }
20105|      5|            }
20106|       |
20107|  1.90k|            case 0xF4: // false
  ------------------
  |  Branch (20107:13): [True: 1.90k, False: 257k]
  ------------------
20108|  1.90k|                return sax->boolean(false);
20109|       |
20110|  2.86k|            case 0xF5: // true
  ------------------
  |  Branch (20110:13): [True: 2.86k, False: 256k]
  ------------------
20111|  2.86k|                return sax->boolean(true);
20112|       |
20113|  4.15k|            case 0xF6: // null
  ------------------
  |  Branch (20113:13): [True: 4.15k, False: 255k]
  ------------------
20114|  4.15k|                return sax->null();
20115|       |
20116|  7.08k|            case 0xF9: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (20116:13): [True: 7.08k, False: 252k]
  ------------------
20117|  7.08k|                return get_half_float(false);
20118|       |
20119|    688|            case 0xFA: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (20119:13): [True: 688, False: 258k]
  ------------------
20120|    688|                return get_cbor_float<float>();
20121|       |
20122|  1.07k|            case 0xFB: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (20122:13): [True: 1.07k, False: 258k]
  ------------------
20123|  1.07k|                return get_cbor_float<double>();
20124|       |
20125|     58|            default: // anything else (0xFF is handled inside the other types)
  ------------------
  |  Branch (20125:13): [True: 58, False: 259k]
  ------------------
20126|     58|            {
20127|     58|                return unexpected_byte("invalid byte", "value");
20128|      5|            }
20129|   259k|        }
20130|   259k|    }
_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|    645|    {
23657|    645|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    645|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 645, False: 0]
  |  |  ------------------
  ------------------
23658|    645|        {
23659|    645|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    645|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    645|    }
_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|    661|    {
23657|    661|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    661|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 661, False: 0]
  |  |  ------------------
  ------------------
23658|    661|        {
23659|    661|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    661|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    661|    }
_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|    494|    {
23657|    494|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    494|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 494, False: 0]
  |  |  ------------------
  ------------------
23658|    494|        {
23659|    494|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    494|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    494|    }
_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_EEE25get_cbor_negative_integerIhEEbv:
19724|    662|    {
19725|    662|        NumberType number{};
19726|    662|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 653, False: 9]
  |  Branch (19726:38): [True: 653, False: 0]
  ------------------
19727|    662|    }
_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_EEE26emit_cbor_negative_integerIhEEbT_:
19732|    653|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    653|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    653|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 653, False: 0]
  |  |  ------------------
  ------------------
19737|    653|        {
19738|    653|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    653|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    653|    }
_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_EEE25get_cbor_negative_integerItEEbv:
19724|    658|    {
19725|    658|        NumberType number{};
19726|    658|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 647, False: 11]
  |  Branch (19726:38): [True: 647, False: 0]
  ------------------
19727|    658|    }
_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_EEE26emit_cbor_negative_integerItEEbT_:
19732|    647|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    647|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    647|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 647, False: 0]
  |  |  ------------------
  ------------------
19737|    647|        {
19738|    647|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    647|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    647|    }
_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_EEE25get_cbor_negative_integerIjEEbv:
19724|    658|    {
19725|    658|        NumberType number{};
19726|    658|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 640, False: 18]
  |  Branch (19726:38): [True: 640, False: 0]
  ------------------
19727|    658|    }
_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_EEE26emit_cbor_negative_integerIjEEbT_:
19732|    640|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    640|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    640|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 640, False: 0]
  |  |  ------------------
  ------------------
19737|    640|        {
19738|    640|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    640|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    640|    }
_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_EEE25get_cbor_negative_integerImEEbv:
19724|  1.21k|    {
19725|  1.21k|        NumberType number{};
19726|  1.21k|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 1.19k, False: 19]
  |  Branch (19726:38): [True: 1.19k, False: 0]
  ------------------
19727|  1.21k|    }
_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_EEE26emit_cbor_negative_integerImEEbT_:
19732|  1.19k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  1.19k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.19k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 771, False: 427]
  |  |  ------------------
  ------------------
19737|    771|        {
19738|    771|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    771|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|    427|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  1.19k|    }
_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_EEE15get_cbor_binaryERNS0_27byte_container_with_subtypeISF_EE:
20530|  30.5k|    {
20531|       |        // read chunks iteratively, but reject a second indefinite-length
20532|       |        // level as required by RFC 8949, Section 3.2.3
20533|  30.5k|        bool indefinite = false;
20534|       |
20535|  33.7k|        while (true)
  ------------------
  |  Branch (20535:16): [True: 33.1k, Folded]
  ------------------
20536|  33.1k|        {
20537|  33.1k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("binary")))
  ------------------
  |  | 1697|  33.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 33.1k]
  |  |  ------------------
  ------------------
20538|      0|            {
20539|      0|                return false;
20540|      0|            }
20541|       |
20542|  33.1k|            if (current == 0x5F) // Binary data (indefinite length)
  ------------------
  |  Branch (20542:17): [True: 1.02k, False: 32.1k]
  ------------------
20543|  1.02k|            {
20544|  1.02k|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|  1.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 1.02k]
  |  |  ------------------
  ------------------
20545|      2|                {
20546|      2|                    return cbor_indefinite_string_error("binary array", "binary");
20547|      2|                }
20548|  1.02k|                indefinite = true;
20549|  1.02k|                get();
20550|  1.02k|                continue;
20551|  1.02k|            }
20552|       |
20553|       |            // a break marker closes the indefinite-length string; outside
20554|       |            // of one it falls through to the error below
20555|  32.1k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20555:17): [True: 2.59k, False: 29.5k]
  |  Branch (20555:31): [True: 926, False: 1.66k]
  ------------------
20556|    926|            {
20557|    926|                return true;
20558|    926|            }
20559|       |
20560|  31.2k|            if (JSON_HEDLEY_UNLIKELY(!get_cbor_binary_chunk(result, indefinite)))
  ------------------
  |  | 1697|  31.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 31.2k]
  |  |  ------------------
  ------------------
20561|      0|            {
20562|      0|                return false;
20563|      0|            }
20564|       |
20565|  31.2k|            if (!indefinite)
  ------------------
  |  Branch (20565:17): [True: 28.9k, False: 2.22k]
  ------------------
20566|  28.9k|            {
20567|  28.9k|                return true;
20568|  28.9k|            }
20569|       |
20570|  2.22k|            get();
20571|  2.22k|        }
20572|  30.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_EEE21get_cbor_binary_chunkERNS0_27byte_container_with_subtypeISF_EEb:
20459|  31.1k|    {
20460|  31.1k|        switch (current)
20461|  31.1k|        {
20462|       |            // Binary data (0x00..0x17 bytes follow)
20463|  24.3k|            case 0x40:
  ------------------
  |  Branch (20463:13): [True: 24.3k, False: 6.85k]
  ------------------
20464|  25.7k|            case 0x41:
  ------------------
  |  Branch (20464:13): [True: 1.40k, False: 29.7k]
  ------------------
20465|  26.1k|            case 0x42:
  ------------------
  |  Branch (20465:13): [True: 392, False: 30.7k]
  ------------------
20466|  26.2k|            case 0x43:
  ------------------
  |  Branch (20466:13): [True: 127, False: 31.0k]
  ------------------
20467|  26.4k|            case 0x44:
  ------------------
  |  Branch (20467:13): [True: 237, False: 30.9k]
  ------------------
20468|  26.6k|            case 0x45:
  ------------------
  |  Branch (20468:13): [True: 125, False: 31.0k]
  ------------------
20469|  26.7k|            case 0x46:
  ------------------
  |  Branch (20469:13): [True: 122, False: 31.0k]
  ------------------
20470|  26.9k|            case 0x47:
  ------------------
  |  Branch (20470:13): [True: 186, False: 30.9k]
  ------------------
20471|  27.0k|            case 0x48:
  ------------------
  |  Branch (20471:13): [True: 145, False: 31.0k]
  ------------------
20472|  27.1k|            case 0x49:
  ------------------
  |  Branch (20472:13): [True: 118, False: 31.0k]
  ------------------
20473|  27.2k|            case 0x4A:
  ------------------
  |  Branch (20473:13): [True: 118, False: 31.0k]
  ------------------
20474|  27.4k|            case 0x4B:
  ------------------
  |  Branch (20474:13): [True: 126, False: 31.0k]
  ------------------
20475|  27.5k|            case 0x4C:
  ------------------
  |  Branch (20475:13): [True: 124, False: 31.0k]
  ------------------
20476|  27.6k|            case 0x4D:
  ------------------
  |  Branch (20476:13): [True: 117, False: 31.0k]
  ------------------
20477|  27.7k|            case 0x4E:
  ------------------
  |  Branch (20477:13): [True: 49, False: 31.1k]
  ------------------
20478|  27.7k|            case 0x4F:
  ------------------
  |  Branch (20478:13): [True: 50, False: 31.1k]
  ------------------
20479|  27.8k|            case 0x50:
  ------------------
  |  Branch (20479:13): [True: 105, False: 31.0k]
  ------------------
20480|  27.9k|            case 0x51:
  ------------------
  |  Branch (20480:13): [True: 55, False: 31.1k]
  ------------------
20481|  27.9k|            case 0x52:
  ------------------
  |  Branch (20481:13): [True: 53, False: 31.1k]
  ------------------
20482|  28.0k|            case 0x53:
  ------------------
  |  Branch (20482:13): [True: 54, False: 31.1k]
  ------------------
20483|  28.0k|            case 0x54:
  ------------------
  |  Branch (20483:13): [True: 48, False: 31.1k]
  ------------------
20484|  28.1k|            case 0x55:
  ------------------
  |  Branch (20484:13): [True: 61, False: 31.1k]
  ------------------
20485|  28.1k|            case 0x56:
  ------------------
  |  Branch (20485:13): [True: 57, False: 31.1k]
  ------------------
20486|  28.2k|            case 0x57:
  ------------------
  |  Branch (20486:13): [True: 62, False: 31.1k]
  ------------------
20487|  28.2k|            {
20488|  28.2k|                return get_binary(static_cast<unsigned int>(current) & 0x1Fu, result);
20489|  28.1k|            }
20490|       |
20491|    978|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20491:13): [True: 978, False: 30.1k]
  ------------------
20492|    978|            {
20493|    978|                return get_cbor_sized_bytes<std::uint8_t>("binary", result);
20494|  28.1k|            }
20495|       |
20496|    839|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20496:13): [True: 839, False: 30.3k]
  ------------------
20497|    839|            {
20498|    839|                return get_cbor_sized_bytes<std::uint16_t>("binary", result);
20499|  28.1k|            }
20500|       |
20501|    434|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20501:13): [True: 434, False: 30.7k]
  ------------------
20502|    434|            {
20503|    434|                return get_cbor_sized_bytes<std::uint32_t>("binary", result);
20504|  28.1k|            }
20505|       |
20506|    647|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20506:13): [True: 647, False: 30.5k]
  ------------------
20507|    647|            {
20508|    647|                return get_cbor_sized_bytes<std::uint64_t>("binary", result);
20509|  28.1k|            }
20510|       |
20511|     25|            default:
  ------------------
  |  Branch (20511:13): [True: 25, False: 31.1k]
  ------------------
20512|     25|            {
20513|     25|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x40-0x5B)", "binary", inside_indefinite ? "" : " or indefinite binary array type (0x5F)");
  ------------------
  |  Branch (20513:133): [True: 25, False: 0]
  ------------------
20514|  28.1k|            }
20515|  31.1k|        }
20516|  31.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_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  28.2k|    {
23868|  28.2k|        return get_bytes(len, "binary", result);
23869|  28.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_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  28.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|  28.6k|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 28.6k]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|  28.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 28.6k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  28.6k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  32.4k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 4.02k, False: 28.3k]
  ------------------
23906|  4.02k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  4.02k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 3.97k, False: 51]
  ------------------
23910|  4.02k|                                       ? static_cast<std::size_t>(len)
23911|  4.02k|                                       : chunk_size;
23912|  4.02k|            const std::size_t old_size = result.size();
23913|  4.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|  4.02k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  4.02k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 4.02k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  4.02k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  4.02k|            chars_read += bytes_read;
23921|  4.02k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  4.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 3.74k]
  |  |  ------------------
  ------------------
23922|    276|            {
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|    276|                result.resize(old_size + bytes_read);
23927|    276|                ++chars_read;
23928|    276|                current = char_traits<char_type>::eof();
23929|    276|                return unexpect_eof(context);
23930|    276|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  3.74k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  3.74k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 3.74k, False: 0]
  ------------------
23933|  3.74k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  3.74k|        }
23935|  28.3k|        return true;
23936|  28.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_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  28.6k|    {
23965|  28.6k|        return false;
23966|  28.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_EEE20get_cbor_sized_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    978|    {
20176|    978|        NumberType len{};
20177|    978|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 968, False: 10]
  |  Branch (20177:35): [True: 932, False: 36]
  ------------------
20178|    978|    }
_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|    968|    {
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|    968|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 968]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    968|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 968]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    968|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.47k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 542, False: 932]
  ------------------
23906|    542|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    542|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 542, False: 0]
  ------------------
23910|    542|                                       ? static_cast<std::size_t>(len)
23911|    542|                                       : chunk_size;
23912|    542|            const std::size_t old_size = result.size();
23913|    542|            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|    542|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    542|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 542, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    542|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    542|            chars_read += bytes_read;
23921|    542|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    542|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 506]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    506|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    506|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 506, False: 0]
  ------------------
23933|    506|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    506|        }
23935|    932|        return true;
23936|    968|    }
_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|    968|    {
23965|    968|        return false;
23966|    968|    }
_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_EEE20get_cbor_sized_bytesItNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    839|    {
20176|    839|        NumberType len{};
20177|    839|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 823, False: 16]
  |  Branch (20177:35): [True: 775, False: 48]
  ------------------
20178|    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_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    823|    {
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|    823|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 823]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    823|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 823]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    823|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.19k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 420, False: 775]
  ------------------
23906|    420|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    420|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 403, False: 17]
  ------------------
23910|    420|                                       ? static_cast<std::size_t>(len)
23911|    420|                                       : chunk_size;
23912|    420|            const std::size_t old_size = result.size();
23913|    420|            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|    420|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    420|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 420, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    420|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    420|            chars_read += bytes_read;
23921|    420|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    420|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 48, False: 372]
  |  |  ------------------
  ------------------
23922|     48|            {
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|     48|                result.resize(old_size + bytes_read);
23927|     48|                ++chars_read;
23928|     48|                current = char_traits<char_type>::eof();
23929|     48|                return unexpect_eof(context);
23930|     48|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    372|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    372|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 372, False: 0]
  ------------------
23933|    372|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    372|        }
23935|    775|        return true;
23936|    823|    }
_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|    823|    {
23965|    823|        return false;
23966|    823|    }
_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_EEE20get_cbor_sized_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    434|    {
20176|    434|        NumberType len{};
20177|    434|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 417, False: 17]
  |  Branch (20177:35): [True: 334, False: 83]
  ------------------
20178|    434|    }
_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_EEE20get_cbor_sized_bytesImNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    647|    {
20176|    647|        NumberType len{};
20177|    647|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 622, False: 25]
  |  Branch (20177:35): [True: 492, False: 130]
  ------------------
20178|    647|    }
_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_bytesImNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    622|    {
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|    622|        constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
  ------------------
  |  Branch (23896:37): [Folded, False: 622]
  |  Branch (23896:50): [Folded, False: 0]
  ------------------
23897|    622|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 622]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    622|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    785|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 293, False: 492]
  ------------------
23906|    293|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    293|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 192, False: 101]
  ------------------
23910|    293|                                       ? static_cast<std::size_t>(len)
23911|    293|                                       : chunk_size;
23912|    293|            const std::size_t old_size = result.size();
23913|    293|            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|    293|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    293|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 293, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    293|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    293|            chars_read += bytes_read;
23921|    293|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    293|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 130, False: 163]
  |  |  ------------------
  ------------------
23922|    130|            {
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|    130|                result.resize(old_size + bytes_read);
23927|    130|                ++chars_read;
23928|    130|                current = char_traits<char_type>::eof();
23929|    130|                return unexpect_eof(context);
23930|    130|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    163|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    163|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 163, False: 0]
  ------------------
23933|    163|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    163|        }
23935|    492|        return true;
23936|    622|    }
_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_blockImNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    622|    {
23965|    622|        return false;
23966|    622|    }
_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_EEE16enter_cbor_arrayEm:
20818|   110k|    {
20819|   110k|        return enter_array(len) && (len <= 1 || parse_cbor_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (20819:16): [True: 110k, False: 133]
  |  Branch (20819:37): [True: 95.6k, False: 14.9k]
  |  Branch (20819:49): [True: 14.9k, False: 0]
  ------------------
20820|   110k|    }
_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_EEE21parse_cbor_scalar_runENS4_17integral_constantIbLb0EEE:
20824|  14.9k|    {
20825|  14.9k|        return true;
20826|  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_EEE18get_container_sizeEmRmPKc:
20656|  4.89k|    {
20657|  4.89k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  9.79k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 0, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 2, False: 4.89k]
  |  |  ------------------
  ------------------
20658|      2|        {
20659|      2|            return container_size_error(context);
20660|      2|        }
20661|  4.89k|        result = conditional_static_cast<std::size_t>(len);
20662|  4.89k|        return true;
20663|  4.89k|    }
_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_EEE20container_size_errorEPKc:
24007|      2|    {
24008|      2|        return sax->parse_error(chars_read, get_token_string(), out_of_range::create(exception_id::container_too_large,
24009|      2|                                exception_message(concat("excessive ", what, " size"), "size"), nullptr));
24010|      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_EEE11enter_arrayEmm:
19213|   117k|    {
19214|   117k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   117k|    }
_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|  24.3k|    {
19220|  24.3k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  24.3k|    }
_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|     93|    {
24070|     93|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|     93|    }
_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_EEE14get_half_floatEb:
23702|  7.08k|    {
23703|  7.08k|        const auto byte1_raw = get();
23704|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23705|      0|        {
23706|      0|            return false;
23707|      0|        }
23708|  7.08k|        const auto byte2_raw = get();
23709|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23710|      0|        {
23711|      0|            return false;
23712|      0|        }
23713|       |
23714|  7.08k|        const auto byte1 = static_cast<unsigned char>(byte1_raw);
23715|  7.08k|        const auto byte2 = static_cast<unsigned char>(byte2_raw);
23716|       |
23717|       |        // Code from RFC 8949, Appendix D, Figure 3:
23718|       |        // As half-precision floating-point numbers were only added
23719|       |        // to IEEE 754 in 2008, today's programming platforms often
23720|       |        // still only have limited support for them. It is very
23721|       |        // easy to include at least decoding support for them even
23722|       |        // without such support. An example of a small decoder for
23723|       |        // half-precision floating-point numbers in the C language
23724|       |        // is shown in Fig. 3.
23725|  7.08k|        const auto half = little_endian
  ------------------
  |  Branch (23725:27): [True: 0, False: 7.08k]
  ------------------
23726|  7.08k|                          ? static_cast<unsigned int>((byte2 << 8u) + byte1)
23727|  7.08k|                          : static_cast<unsigned int>((byte1 << 8u) + byte2);
23728|  7.08k|        const double val = [&half]
23729|  7.08k|        {
23730|  7.08k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.08k|            const unsigned int mant = half & 0x3FFu;
23732|  7.08k|            JSON_ASSERT(exp <= 31);
23733|  7.08k|            JSON_ASSERT(mant <= 1023);
23734|  7.08k|            switch (exp)
23735|  7.08k|            {
23736|  7.08k|                case 0:
23737|  7.08k|                    return std::ldexp(mant, -24);
23738|  7.08k|                case 31:
23739|  7.08k|                    return (mant == 0)
23740|  7.08k|                    ? std::numeric_limits<double>::infinity()
23741|  7.08k|                    : std::numeric_limits<double>::quiet_NaN();
23742|  7.08k|                default:
23743|  7.08k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.08k|            }
23745|  7.08k|        }();
23746|  7.08k|        return sax->number_float((half & 0x8000u) != 0
  ------------------
  |  Branch (23746:34): [True: 4.30k, False: 2.78k]
  ------------------
23747|  7.08k|                                 ? static_cast<number_float_t>(-val)
23748|  7.08k|                                 : static_cast<number_float_t>(val), no_source);
23749|  7.08k|    }
_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_EEE14get_half_floatEbENKUlvE_clEv:
23729|  7.06k|        {
23730|  7.06k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.06k|            const unsigned int mant = half & 0x3FFu;
23732|  7.06k|            JSON_ASSERT(exp <= 31);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23732:13): [True: 7.06k, False: 0]
  ------------------
23733|  7.06k|            JSON_ASSERT(mant <= 1023);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23733:13): [True: 7.06k, False: 0]
  ------------------
23734|  7.06k|            switch (exp)
23735|  7.06k|            {
23736|  1.36k|                case 0:
  ------------------
  |  Branch (23736:17): [True: 1.36k, False: 5.69k]
  ------------------
23737|  1.36k|                    return std::ldexp(mant, -24);
23738|    955|                case 31:
  ------------------
  |  Branch (23738:17): [True: 955, False: 6.10k]
  ------------------
23739|    955|                    return (mant == 0)
  ------------------
  |  Branch (23739:28): [True: 485, False: 470]
  ------------------
23740|    955|                    ? std::numeric_limits<double>::infinity()
23741|    955|                    : std::numeric_limits<double>::quiet_NaN();
23742|  4.73k|                default:
  ------------------
  |  Branch (23742:17): [True: 4.73k, False: 2.32k]
  ------------------
23743|  4.73k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.06k|            }
23745|  7.06k|        }();
_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_EEE14get_cbor_floatIfEEbv:
20135|    688|    {
20136|    688|        NumberType number{};
20137|    688|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 673, False: 15]
  |  Branch (20137:38): [True: 673, False: 0]
  ------------------
20138|    688|    }
_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|    688|    {
23597|       |        // read in the original format
23598|       |
23599|    688|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    688|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 688]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    688|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 673, False: 15]
  |  Branch (23603:34): [Folded, False: 673]
  |  Branch (23603:57): [True: 0, False: 673]
  ------------------
23604|    673|        {
23605|    673|            byte_swap(result);
23606|    673|        }
23607|    688|        return true;
23608|    688|    }
_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|    688|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    688|        auto new_chars_read = ia.get_elements(&dest);
23507|    688|        chars_read += new_chars_read;
23508|    688|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    688|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 673]
  |  |  ------------------
  ------------------
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|    673|        return true;
23516|    688|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E12get_elementsIfEEmPT_m:
10326|    688|    {
10327|    688|        return get_elements_impl(dest, count, std::integral_constant<bool, iterator_is_contiguous> {});
10328|    688|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E17get_elements_implIfEEmPT_mNS3_17integral_constantIbLb0EEE:
10406|    688|    {
10407|    688|        auto* ptr = reinterpret_cast<char*>(dest);
10408|  3.39k|        for (std::size_t read_index = 0; read_index < count * sizeof(T); ++read_index)
  ------------------
  |  Branch (10408:42): [True: 2.72k, False: 673]
  ------------------
10409|  2.72k|        {
10410|  2.72k|            if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|  2.72k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 2.70k, False: 15]
  |  |  ------------------
  ------------------
10411|  2.70k|            {
10412|  2.70k|                ptr[read_index] = static_cast<char>(*current);
10413|  2.70k|                std::advance(current, 1);
10414|  2.70k|            }
10415|     15|            else
10416|     15|            {
10417|     15|                return read_index;
10418|     15|            }
10419|  2.72k|        }
10420|    673|        return count * sizeof(T);
10421|    688|    }
_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|    673|    {
23546|    673|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|    673|        std::uint32_t bits{};
23548|    673|        std::memcpy(&bits, &number, sizeof(bits));
23549|    673|        bits = byteswap(bits);
23550|    673|        std::memcpy(&number, &bits, sizeof(bits));
23551|    673|    }
_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|    673|    {
23683|    673|        const auto result = static_cast<number_float_t>(number);
23684|    673|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  1.33k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 673]
  |  |  |  Branch (1697:94): [True: 661, False: 12]
  |  |  |  Branch (1697:94): [True: 0, False: 661]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    673|        return sax->number_float(result, no_source);
23689|    673|    }
_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_EEE14get_cbor_floatIdEEbv:
20135|  1.07k|    {
20136|  1.07k|        NumberType number{};
20137|  1.07k|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 1.05k, False: 19]
  |  Branch (20137:38): [True: 1.05k, False: 0]
  ------------------
20138|  1.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.07k|    {
23597|       |        // read in the original format
23598|       |
23599|  1.07k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  1.07k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.07k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  1.07k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 1.05k, False: 19]
  |  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.07k|        return true;
23608|  1.07k|    }
_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|    330|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    330|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    330|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 96, False: 234]
  ------------------
24059|    330|    }
_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|   321k|    {
23489|   321k|        ++chars_read;
23490|   321k|        return current = ia.get_character();
23491|   321k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_E13get_characterEv:
10272|   321k|    {
10273|   321k|        if (JSON_HEDLEY_LIKELY(current != end))
  ------------------
  |  | 1696|   321k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 314k, False: 6.93k]
  |  |  ------------------
  ------------------
10274|   314k|        {
10275|   314k|            auto result = char_traits<char_type>::to_int_type(*current);
10276|   314k|            std::advance(current, 1);
10277|   314k|            return result;
10278|   314k|        }
10279|       |
10280|  6.93k|        ++eof_reads;
10281|  6.93k|        return char_traits<char_type>::eof();
10282|   321k|    }
_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.02k|        {
19135|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.02k, False: 0]
  ------------------
19136|  9.02k|            {
19137|  9.02k|                parser->set_reserve_state(saved);
19138|  9.02k|            }
19139|  9.02k|        }
_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.02k|    ~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.02k|    ~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.02k|{
10756|  9.02k|    using factory_type = iterator_input_adapter_factory<IteratorType, SentinelType>;
10757|  9.02k|    return factory_type::create(first, last);
10758|  9.02k|}
_ZN8nlohmann16json_abi_v3_12_06detail30iterator_input_adapter_factoryINSt3__121__list_const_iteratorIhPvEES6_vE6createES6_S6_:
10617|  9.02k|    {
10618|  9.02k|        return adapter_type(std::move(first), std::move(last));
10619|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail22iterator_input_adapterINSt3__121__list_const_iteratorIhPvEES6_EC2ES6_S6_:
10268|  9.02k|        : begin(first), current(std::move(first)), end(std::move(last))
10269|  9.02k|    {}
_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9from_cborIRP8_IO_FILEEESE_OT_bbNS0_6detail18cbor_tag_handler_tENSL_15error_handler_tE:
46797|  9.02k|    {
46798|  9.02k|        return from_binary_impl(detail::input_adapter(std::forward<InputType>(i)), input_format_t::cbor, strict, allow_exceptions, error_handler, tag_handler);
46799|  9.02k|    }
_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.02k|    {
46576|  9.02k|        basic_json result;
46577|  9.02k|        detail::json_sax_dom_binary_parser<basic_json, InputAdapterType> sdp(result, allow_exceptions);
46578|  9.02k|        binary_reader<InputAdapterType> reader(std::move(ia), format, error_handler);
46579|  9.02k|        if (!reader.sax_parse(&sdp, strict, tag_handler))
  ------------------
  |  Branch (46579:13): [True: 0, False: 9.02k]
  ------------------
46580|      0|        {
46581|      0|            result = value_t::discarded;
46582|      0|        }
46583|  9.02k|        return result;
46584|  9.02k|    }
_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.02k|        : json_sax_dom_error_state(allow_exceptions_), root(r), m_lexer_ref(lexer_)
17822|  9.02k|    {}
_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.02k|        : ia(std::move(adapter)), input_format(format), error_handler(error_handler_)
18993|  9.02k|    {
18994|  9.02k|        (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
18995|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterC2EOS2_:
 9548|  9.02k|        : m_file(rhs.m_file)
 9549|       |#if JSON_FILE_WINDOW
 9550|  9.02k|        , token_carry(std::move(rhs.token_carry))
 9551|  9.02k|        , token_segment(rhs.token_segment)
 9552|  9.02k|        , current_in_buffer(rhs.current_in_buffer)
 9553|  9.02k|        , tracking_token(rhs.tracking_token)
 9554|       |#endif
 9555|  9.02k|    {
 9556|       |        // the lock is owned by the thread, not the adapter: hand it over
 9557|  9.02k|        rhs.m_file = nullptr;
 9558|  9.02k|    }
_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.02k|    {
19018|  9.02k|        sax = sax_;
19019|  9.02k|        container_stack.clear();
19020|  9.02k|        bon8_pushback_size = 0;
19021|       |        // the position is only known to the DOM parser while this reader lives
19022|  9.02k|        const position_binding binding(bound_parser(sax, std::is_convertible<SAX*, json_sax_dom_error_state*> {}), &chars_read);
19023|  9.02k|        bool result = false;
19024|       |
19025|  9.02k|        switch (input_format)
19026|  9.02k|        {
19027|      0|            case input_format_t::bson:
  ------------------
  |  Branch (19027:13): [True: 0, False: 9.02k]
  ------------------
19028|      0|                result = parse_bson_internal();
19029|      0|                break;
19030|       |
19031|  9.02k|            case input_format_t::cbor:
  ------------------
  |  Branch (19031:13): [True: 9.02k, False: 0]
  ------------------
19032|  9.02k|                result = parse_cbor_internal(tag_handler);
19033|  9.02k|                break;
19034|       |
19035|      0|            case input_format_t::msgpack:
  ------------------
  |  Branch (19035:13): [True: 0, False: 9.02k]
  ------------------
19036|      0|                result = parse_msgpack_internal();
19037|      0|                break;
19038|       |
19039|      0|            case input_format_t::ubjson:
  ------------------
  |  Branch (19039:13): [True: 0, False: 9.02k]
  ------------------
19040|      0|            case input_format_t::bjdata:
  ------------------
  |  Branch (19040:13): [True: 0, False: 9.02k]
  ------------------
19041|      0|                result = parse_ubjson_internal();
19042|      0|                break;
19043|       |
19044|      0|            case input_format_t::bon8:
  ------------------
  |  Branch (19044:13): [True: 0, False: 9.02k]
  ------------------
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.02k]
  ------------------
19049|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (19049:13): [True: 0, False: 9.02k]
  ------------------
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.02k|        }
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|  4.61k|        if (result && !strict && input_format == input_format_t::bon8 && bon8_pushback_size != 0)
  ------------------
  |  Branch (19058:13): [True: 4.61k, False: 0]
  |  Branch (19058:23): [True: 0, False: 4.61k]
  |  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|  4.61k|        if (result && strict)
  ------------------
  |  Branch (19065:13): [True: 4.61k, False: 0]
  |  Branch (19065:23): [True: 4.61k, False: 0]
  ------------------
19066|  4.61k|        {
19067|  4.61k|            if (input_format == input_format_t::ubjson || input_format == input_format_t::bjdata)
  ------------------
  |  Branch (19067:17): [True: 0, False: 4.61k]
  |  Branch (19067:59): [True: 0, False: 4.61k]
  ------------------
19068|      0|            {
19069|      0|                get_ignore_noop();
19070|      0|            }
19071|  4.61k|            else if (input_format == input_format_t::bon8)
  ------------------
  |  Branch (19071:22): [True: 0, False: 4.61k]
  ------------------
19072|      0|            {
19073|       |                // a string that ends a container hands back the byte after it
19074|      0|                get_bon8();
19075|      0|            }
19076|  4.61k|            else
19077|  4.61k|            {
19078|  4.61k|                get();
19079|  4.61k|            }
19080|       |
19081|  4.61k|            if (JSON_HEDLEY_UNLIKELY(current != char_traits<char_type>::eof()))
  ------------------
  |  | 1697|  4.61k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 148, False: 4.46k]
  |  |  ------------------
  ------------------
19082|    148|            {
19083|    148|                return last_byte_error(exception_id::unexpected_end_of_input, "expected end of input", "value", "");
19084|    148|            }
19085|  4.61k|        }
19086|       |
19087|  4.46k|        return result;
19088|  4.61k|    }
_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.02k|    {
19097|  9.02k|        return s;
19098|  9.02k|    }
_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.02k|            : parser(parser_), saved()
19120|  9.02k|        {
19121|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19121:17): [True: 9.02k, False: 0]
  ------------------
19122|  9.02k|            {
19123|  9.02k|                saved = parser->get_reserve_state();
19124|  9.02k|                parser->set_input_position(position);
19125|  9.02k|            }
19126|  9.02k|        }
_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|  3.95k|    {
23992|  3.95k|        return sax->parse_error(chars_read, "<end of file>",
23993|  3.95k|                                parse_error::create(exception_id::unexpected_end_of_input, chars_read, exception_message("unexpected end of input", context), nullptr));
23994|  3.95k|    }
_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.28k|    {
24103|  4.28k|        std::string error_msg = "syntax error while parsing ";
24104|  4.28k|        error_msg += input_format_name(input_format);
24105|       |
24106|  4.28k|        return concat(error_msg, ' ', context, ": ", detail);
24107|  4.28k|    }
_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|   141k|    {
19202|   141k|        if (JSON_HEDLEY_UNLIKELY(is_object ? !sax->start_object(len) : !sax->start_array(len)))
  ------------------
  |  | 1697|   283k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 141k]
  |  |  |  Branch (1697:94): [True: 24.3k, False: 117k]
  |  |  ------------------
  ------------------
19203|      0|        {
19204|      0|            return false;
19205|      0|        }
19206|       |
19207|   141k|        container_stack.emplace_back(len, is_object, type_marker);
19208|   141k|        return true;
19209|   141k|    }
_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|  24.3k|    {
17879|  24.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|  24.3k|        return check_container_size(*this, len, "object", ref_stack.back());
17887|  24.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_adapterEE12handle_valueINS1_7value_tEEEPSG_OT_:
17961|   141k|    {
17962|   141k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 6.30k, False: 135k]
  ------------------
17963|  6.30k|        {
17964|  6.30k|            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.30k|            return &root;
17971|  6.30k|        }
17972|       |
17973|   135k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|   135k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 118k, False: 16.8k]
  |  Branch (17973:9): [True: 16.8k, False: 0]
  |  Branch (17973:9): [True: 135k, False: 0]
  ------------------
17974|       |
17975|   135k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 118k, False: 16.8k]
  ------------------
17976|   118k|        {
17977|   118k|            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|   118k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|   118k|        }
17985|       |
17986|  16.8k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 16.8k, False: 0]
  ------------------
17987|  16.8k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  16.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 16.8k, False: 0]
  ------------------
17988|  16.8k|        *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|  16.8k|        return object_element;
17995|  16.8k|    }
_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|   141k|{
16470|   141k|    if (JSON_HEDLEY_UNLIKELY(len != detail::unknown_size() && len > ref->max_size()))
  ------------------
  |  | 1697|   275k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 141k]
  |  |  |  Branch (1697:94): [True: 133k, False: 8.24k]
  |  |  |  Branch (1697:94): [True: 276, False: 133k]
  |  |  ------------------
  ------------------
16471|    276|    {
16472|    276|        return container_too_large_error(sax, len, kind, ref);
16473|    276|    }
16474|   141k|    return true;
16475|   141k|}
_ZN8nlohmann16json_abi_v3_12_06detail25container_too_large_errorINS1_26json_sax_dom_binary_parserINS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEENS1_18file_input_adapterEEESH_EEbRT_mPKcPT0_:
16463|    276|{
16464|    276|    return sax.parse_error(0, "", out_of_range::create(exception_id::container_too_large, concat("excessive ", kind, " size: ", std::to_string(len)), ref));
16465|    276|}
_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|   117k|    {
17916|   117k|        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|   117k|        if (JSON_HEDLEY_UNLIKELY(!check_container_size(*this, len, "array", ref_stack.back())))
  ------------------
  |  | 1697|   117k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 117k]
  |  |  ------------------
  ------------------
17924|      0|        {
17925|      0|            return false;
17926|      0|        }
17927|       |
17928|   117k|        if (len != detail::unknown_size())
  ------------------
  |  Branch (17928:13): [True: 110k, False: 6.83k]
  ------------------
17929|   110k|        {
17930|   110k|            reserve_array_capped(*ref_stack.back()->m_data.m_value.array, reserve_count(len), priority_tag<1> {});
17931|   110k|        }
17932|       |
17933|   117k|        return true;
17934|   117k|    }
_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|   141k|            : 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|   102k|    {
19234|   102k|        const bool is_object = container_stack.back().is_object;
19235|   102k|        container_stack.pop_back();
19236|   102k|        return is_object ? sax->end_object() : sax->end_array();
  ------------------
  |  Branch (19236:16): [True: 16.2k, False: 85.9k]
  ------------------
19237|   102k|    }
_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|  16.2k|    {
17902|  16.2k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17902:9): [True: 16.2k, False: 0]
  ------------------
17903|  16.2k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  16.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17903:9): [True: 16.2k, False: 0]
  ------------------
17904|       |
17905|       |#if JSON_DIAGNOSTIC_POSITIONS
17906|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17907|       |#endif
17908|       |
17909|  16.2k|        ref_stack.back()->set_parents();
17910|  16.2k|        ref_stack.pop_back();
17911|  16.2k|        return true;
17912|  16.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_adapterEE9end_arrayEv:
17937|  85.9k|    {
17938|  85.9k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17938:9): [True: 85.9k, False: 0]
  ------------------
17939|  85.9k|        JSON_ASSERT(ref_stack.back()->is_array());
  ------------------
  |  | 2653|  85.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17939:9): [True: 85.9k, False: 0]
  ------------------
17940|       |
17941|       |#if JSON_DIAGNOSTIC_POSITIONS
17942|       |        diagnostic_positions::set_container_end(*ref_stack.back(), m_lexer_ref);
17943|       |#endif
17944|       |
17945|  85.9k|        ref_stack.back()->set_parents();
17946|  85.9k|        ref_stack.pop_back();
17947|  85.9k|        return true;
17948|  85.9k|    }
_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|   105k|    {
23975|   105k|        if (JSON_HEDLEY_UNLIKELY(current == char_traits<char_type>::eof()))
  ------------------
  |  | 1697|   105k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 3.54k, False: 101k]
  |  |  ------------------
  ------------------
23976|  3.54k|        {
23977|  3.54k|            return report_eof(context);
23978|  3.54k|        }
23979|   101k|        return true;
23980|   105k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter14bulk_remainingEv:
 9616|  74.1k|    {
 9617|  74.1k|        if (!current_in_buffer)
  ------------------
  |  Branch (9617:13): [True: 0, False: 74.1k]
  ------------------
 9618|      0|        {
 9619|      0|            return 0;
 9620|      0|        }
 9621|  74.1k|        return static_cast<std::size_t>(buffer_end() - buffer_ptr());
 9622|  74.1k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter10buffer_endEv:
 9681|   384k|    {
 9682|   384k|        return m_file->_IO_read_end;
 9683|   384k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter10buffer_ptrEv:
 9677|   425k|    {
 9678|   425k|        return m_file->_IO_read_ptr;
 9679|   425k|    }
_ZNK8nlohmann16json_abi_v3_12_06detail18file_input_adapter9bulk_dataEv:
 9610|  40.9k|    {
 9611|  40.9k|        return buffer_ptr();
 9612|  40.9k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter9bulk_skipEm:
 9626|  29.5k|    {
 9627|  29.5k|        JSON_ASSERT(n <= bulk_remaining());
  ------------------
  |  | 2653|  29.5k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9627:9): [True: 29.5k, False: 0]
  ------------------
 9628|  29.5k|        buffer_bump(n);
 9629|  29.5k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter11buffer_bumpEm:
 9685|   324k|    {
 9686|   324k|        m_file->_IO_read_ptr += n;
 9687|   324k|    }
_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|  50.4k|    {
23812|  50.4k|        return error_handler == error_handler_t::keep || check_string_utf8_handler(result, context);
  ------------------
  |  Branch (23812:16): [True: 50.4k, False: 0]
  |  Branch (23812:58): [True: 0, False: 0]
  ------------------
23813|  50.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_adapterEE3keyERSC_:
17890|  34.7k|    {
17891|  34.7k|        JSON_ASSERT(!ref_stack.empty());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17891:9): [True: 34.7k, False: 0]
  ------------------
17892|  34.7k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  34.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17892:9): [True: 34.7k, 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|  34.7k|        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](std::move(val)));
17897|  34.7k|        return true;
17898|  34.7k|    }
_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|    919|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    919|        auto new_chars_read = ia.get_elements(&dest);
23507|    919|        chars_read += new_chars_read;
23508|    919|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    919|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 19, False: 900]
  |  |  ------------------
  ------------------
23509|     19|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     19|            ++chars_read;
23512|     19|            static_cast<void>(report_eof(context));
23513|     19|            return false;
23514|     19|        }
23515|    900|        return true;
23516|    919|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIdEEmPT_m:
 9597|    919|    {
 9598|    919|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    919|    }
_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.05k|    {
23536|  1.05k|        static_assert(sizeof(double) == sizeof(std::uint64_t), "double must have 64 bits");
23537|  1.05k|        std::uint64_t bits{};
23538|  1.05k|        std::memcpy(&bits, &number, sizeof(bits));
23539|  1.05k|        bits = byteswap(bits);
23540|  1.05k|        std::memcpy(&number, &bits, sizeof(bits));
23541|  1.05k|    }
_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.05k|    {
23683|  1.05k|        const auto result = static_cast<number_float_t>(number);
23684|  1.05k|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  2.10k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.05k]
  |  |  |  Branch (1697:94): [True: 1.05k, False: 3]
  |  |  |  Branch (1697:94): [True: 0, False: 1.05k]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|  1.05k|        return sax->number_float(result, no_source);
23689|  1.05k|    }
_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|    662|    {
24092|    662|        return hex_byte(static_cast<std::uint8_t>(current));
24093|    662|    }
_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|  9.21k|    {
17857|  9.21k|        handle_value(val);
17858|  9.21k|        return true;
17859|  9.21k|    }
_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|  9.21k|    {
17962|  9.21k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 582, False: 8.63k]
  ------------------
17963|    582|        {
17964|    582|            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|    582|            return &root;
17971|    582|        }
17972|       |
17973|  8.63k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  8.63k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 7.73k, False: 893]
  |  Branch (17973:9): [True: 893, False: 0]
  |  Branch (17973:9): [True: 8.63k, False: 0]
  ------------------
17974|       |
17975|  8.63k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 7.73k, False: 893]
  ------------------
17976|  7.73k|        {
17977|  7.73k|            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|  7.73k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  7.73k|        }
17985|       |
17986|    893|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 893, False: 0]
  ------------------
17987|    893|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    893|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 893, False: 0]
  ------------------
17988|    893|        *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|    893|        return object_element;
17995|    893|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIcEEmPT_m:
 9597|    587|    {
 9598|    587|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    587|    }
_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|  16.3k|    {
17863|       |        // json_sax documents that the passed value may be moved from,
17864|       |        // so hand the buffer over instead of copying it
17865|  16.3k|        handle_value(std::move(val));
17866|  16.3k|        return true;
17867|  16.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_adapterEE12handle_valueISC_EEPSG_OT_:
17961|  16.3k|    {
17962|  16.3k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 529, False: 15.8k]
  ------------------
17963|    529|        {
17964|    529|            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|    529|            return &root;
17971|    529|        }
17972|       |
17973|  15.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  15.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 11.9k, False: 3.96k]
  |  Branch (17973:9): [True: 3.96k, False: 0]
  |  Branch (17973:9): [True: 15.8k, False: 0]
  ------------------
17974|       |
17975|  15.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 11.9k, False: 3.96k]
  ------------------
17976|  11.9k|        {
17977|  11.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|  11.9k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  11.9k|        }
17985|       |
17986|  3.96k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.96k, False: 0]
  ------------------
17987|  3.96k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.96k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.96k, False: 0]
  ------------------
17988|  3.96k|        *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|  3.96k|        return object_element;
17995|  3.96k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIhEEmPT_m:
 9597|  9.84k|    {
 9598|  9.84k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  9.84k|    }
_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|  29.9k|    {
17871|       |        // json_sax documents that the passed value may be moved from,
17872|       |        // so hand the buffer over instead of copying it
17873|  29.9k|        handle_value(std::move(val));
17874|  29.9k|        return true;
17875|  29.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|  29.9k|    {
17962|  29.9k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 123, False: 29.7k]
  ------------------
17963|    123|        {
17964|    123|            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|    123|            return &root;
17971|    123|        }
17972|       |
17973|  29.7k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  29.7k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 27.1k, False: 2.59k]
  |  Branch (17973:9): [True: 2.59k, False: 0]
  |  Branch (17973:9): [True: 29.7k, False: 0]
  ------------------
17974|       |
17975|  29.7k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 27.1k, False: 2.59k]
  ------------------
17976|  27.1k|        {
17977|  27.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|  27.1k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  27.1k|        }
17985|       |
17986|  2.59k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 2.59k, False: 0]
  ------------------
17987|  2.59k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  2.59k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 2.59k, False: 0]
  ------------------
17988|  2.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|  2.59k|        return object_element;
17995|  2.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_EEE10get_numberIhLb0EEEbRT_:
23596|  4.57k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.57k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.57k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.57k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.57k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.51k, False: 53]
  |  Branch (23603:34): [Folded, False: 4.51k]
  |  Branch (23603:57): [True: 0, False: 4.51k]
  ------------------
23604|  4.51k|        {
23605|  4.51k|            byte_swap(result);
23606|  4.51k|        }
23607|  4.57k|        return true;
23608|  4.57k|    }
_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|  4.57k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.57k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.57k|        chars_read += new_chars_read;
23508|  4.57k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.57k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 53, False: 4.51k]
  |  |  ------------------
  ------------------
23509|     53|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|     53|            ++chars_read;
23512|     53|            static_cast<void>(report_eof(context));
23513|     53|            return false;
23514|     53|        }
23515|  4.51k|        return true;
23516|  4.57k|    }
_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|  4.51k|    {
23556|  4.51k|        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.51k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  4.51k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 0, False: 4.51k]
  ------------------
23572|      0|            {
23573|      0|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|      0|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.51k|    }
_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|  4.77k|    {
17839|  4.77k|        handle_value(val);
17840|  4.77k|        return true;
17841|  4.77k|    }
_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|  4.77k|    {
17962|  4.77k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.76k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.76k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.76k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 3.92k, False: 849]
  |  Branch (17973:9): [True: 849, False: 0]
  |  Branch (17973:9): [True: 4.76k, False: 0]
  ------------------
17974|       |
17975|  4.76k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 3.92k, False: 849]
  ------------------
17976|  3.92k|        {
17977|  3.92k|            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.92k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  3.92k|        }
17985|       |
17986|    849|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 849, False: 0]
  ------------------
17987|    849|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|    849|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 849, False: 0]
  ------------------
17988|    849|        *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|    849|        return object_element;
17995|    849|    }
_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.15k|    {
17833|  4.15k|        handle_value(nullptr);
17834|  4.15k|        return true;
17835|  4.15k|    }
_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.15k|    {
17962|  4.15k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 3, False: 4.15k]
  ------------------
17963|      3|        {
17964|      3|            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|      3|            return &root;
17971|      3|        }
17972|       |
17973|  4.15k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  4.15k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 2.88k, False: 1.27k]
  |  Branch (17973:9): [True: 1.27k, False: 0]
  |  Branch (17973:9): [True: 4.15k, False: 0]
  ------------------
17974|       |
17975|  4.15k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 2.88k, False: 1.27k]
  ------------------
17976|  2.88k|        {
17977|  2.88k|            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|  2.88k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  2.88k|        }
17985|       |
17986|  1.27k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 1.27k, False: 0]
  ------------------
17987|  1.27k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  1.27k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 1.27k, False: 0]
  ------------------
17988|  1.27k|        *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.27k|        return object_element;
17995|  1.27k|    }
_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|  20.6k|    {
17845|  20.6k|        handle_value(val);
17846|  20.6k|        return true;
17847|  20.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_valueIRlEEPSG_OT_:
17961|  20.6k|    {
17962|  20.6k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 258, False: 20.3k]
  ------------------
17963|    258|        {
17964|    258|            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|    258|            return &root;
17971|    258|        }
17972|       |
17973|  20.3k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  20.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 15.3k, False: 5.06k]
  |  Branch (17973:9): [True: 5.06k, False: 0]
  |  Branch (17973:9): [True: 20.3k, False: 0]
  ------------------
17974|       |
17975|  20.3k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 15.3k, False: 5.06k]
  ------------------
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|  5.06k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 5.06k, False: 0]
  ------------------
17987|  5.06k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  5.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 5.06k, False: 0]
  ------------------
17988|  5.06k|        *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|  5.06k|        return object_element;
17995|  5.06k|    }
_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|  29.1k|    {
17851|  29.1k|        handle_value(val);
17852|  29.1k|        return true;
17853|  29.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_adapterEE12handle_valueIRmEEPSG_OT_:
17961|  29.1k|    {
17962|  29.1k|        if (ref_stack.empty())
  ------------------
  |  Branch (17962:13): [True: 289, False: 28.8k]
  ------------------
17963|    289|        {
17964|    289|            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|    289|            return &root;
17971|    289|        }
17972|       |
17973|  28.8k|        JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
  ------------------
  |  | 2653|  28.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17973:9): [True: 25.8k, False: 3.00k]
  |  Branch (17973:9): [True: 3.00k, False: 0]
  |  Branch (17973:9): [True: 28.8k, False: 0]
  ------------------
17974|       |
17975|  28.8k|        if (ref_stack.back()->is_array())
  ------------------
  |  Branch (17975:13): [True: 25.8k, False: 3.00k]
  ------------------
17976|  25.8k|        {
17977|  25.8k|            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|  25.8k|            return &(ref_stack.back()->m_data.m_value.array->back());
17984|  25.8k|        }
17985|       |
17986|  3.00k|        JSON_ASSERT(ref_stack.back()->is_object());
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17986:9): [True: 3.00k, False: 0]
  ------------------
17987|  3.00k|        JSON_ASSERT(object_element);
  ------------------
  |  | 2653|  3.00k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (17987:9): [True: 3.00k, False: 0]
  ------------------
17988|  3.00k|        *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|  3.00k|        return object_element;
17995|  3.00k|    }
_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_floatIeEEbT_:
23682|    427|    {
23683|    427|        const auto result = static_cast<number_float_t>(number);
23684|    427|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|    854|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 427]
  |  |  |  Branch (1697:94): [True: 427, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 427]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    427|        return sax->number_float(result, no_source);
23689|    427|    }
_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|  3.60k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  3.60k|        auto new_chars_read = ia.get_elements(&dest);
23507|  3.60k|        chars_read += new_chars_read;
23508|  3.60k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  3.60k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 117, False: 3.48k]
  |  |  ------------------
  ------------------
23509|    117|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    117|            ++chars_read;
23512|    117|            static_cast<void>(report_eof(context));
23513|    117|            return false;
23514|    117|        }
23515|  3.48k|        return true;
23516|  3.60k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsImEEmPT_m:
 9597|  3.60k|    {
 9598|  3.60k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  3.60k|    }
_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|  4.22k|    {
23556|  4.22k|        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.22k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  21.1k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 16.9k, False: 4.22k]
  ------------------
23572|  16.9k|            {
23573|  16.9k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  16.9k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  4.22k|    }
_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|    891|    {
23657|    891|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    891|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 891, False: 0]
  |  |  ------------------
  ------------------
23658|    891|        {
23659|    891|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    891|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    891|    }
_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_cbor_internalENS1_18cbor_tag_handler_tE:
20840|  9.02k|    {
20841|       |        // whether the next value starts at a fresh byte or at the one already
20842|       |        // read into `current`
20843|  9.02k|        bool fetch = true;
20844|       |
20845|       |        // the key currently being read; hoisted out of the loop so that its
20846|       |        // capacity is reused across elements and across nesting levels
20847|  9.02k|        string_t key;
20848|       |
20849|   355k|        while (true)
  ------------------
  |  Branch (20849:16): [True: 351k, Folded]
  ------------------
20850|   351k|        {
20851|   351k|            if (!container_stack.empty())
  ------------------
  |  Branch (20851:17): [True: 342k, False: 9.02k]
  ------------------
20852|   342k|            {
20853|       |                // a copy, not a reference: it must stay valid across the
20854|       |                // pop_back() below, which destroys the container_stack element
20855|       |                // it would otherwise alias
20856|   342k|                const container_frame top = container_stack.back();
20857|   342k|                const bool is_object = top.is_object;
20858|   342k|                bool at_end = false;
20859|       |
20860|   342k|                if (top.remaining != npos)
  ------------------
  |  Branch (20860:21): [True: 237k, False: 105k]
  ------------------
20861|   237k|                {
20862|       |                    // definite length: the container ends once its elements
20863|       |                    // have been read
20864|   237k|                    at_end = (top.remaining == 0);
20865|   237k|                    if (!at_end)
  ------------------
  |  Branch (20865:25): [True: 137k, False: 99.6k]
  ------------------
20866|   137k|                    {
20867|       |                        // claim the element about to be read
20868|   137k|                        --container_stack.back().remaining;
20869|   137k|                        if (is_object)
  ------------------
  |  Branch (20869:29): [True: 20.9k, False: 116k]
  ------------------
20870|  20.9k|                        {
20871|  20.9k|                            get();
20872|  20.9k|                        }
20873|   137k|                    }
20874|   237k|                    fetch = true;
20875|   237k|                }
20876|   105k|                else
20877|   105k|                {
20878|       |                    // indefinite length: the container ends at a break marker.
20879|       |                    // Testing for it consumes a byte, which is the first byte
20880|       |                    // of the next element when it is not one.
20881|   105k|                    at_end = (get() == 0xFF);
20882|   105k|                    fetch = is_object;
20883|   105k|                }
20884|       |
20885|   342k|                if (at_end)
  ------------------
  |  Branch (20885:21): [True: 102k, False: 240k]
  ------------------
20886|   102k|                {
20887|   102k|                    bool value_complete = false;
20888|   102k|                    if (JSON_HEDLEY_UNLIKELY(!leave_container_and_check(value_complete)))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
20889|      0|                    {
20890|      0|                        return false;
20891|      0|                    }
20892|   102k|                    if (value_complete)
  ------------------
  |  Branch (20892:25): [True: 2.82k, False: 99.3k]
  ------------------
20893|  2.82k|                    {
20894|  2.82k|                        return true;
20895|  2.82k|                    }
20896|  99.3k|                    continue;
20897|   102k|                }
20898|       |
20899|   240k|                if (is_object)
  ------------------
  |  Branch (20899:21): [True: 35.3k, False: 204k]
  ------------------
20900|  35.3k|                {
20901|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!skip_cbor_key_tags(tag_handler)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20902|      0|                    {
20903|      0|                        return false;
20904|      0|                    }
20905|  35.3k|                    if (JSON_HEDLEY_UNLIKELY(!read_object_key<&binary_reader::get_cbor_object_key>(key)))
  ------------------
  |  | 1697|  35.3k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 35.3k]
  |  |  ------------------
  ------------------
20906|      0|                    {
20907|      0|                        return false;
20908|      0|                    }
20909|  35.3k|                    fetch = true;
20910|  35.3k|                }
20911|   240k|            }
20912|       |
20913|       |            // a tag is not a value of its own: read on until the tagged value
20914|   249k|            bool tag_pending = false;
20915|   249k|            bool item_read = false;
20916|   249k|            do
20917|   249k|            {
20918|   249k|                if (JSON_HEDLEY_UNLIKELY(!parse_cbor_value(fetch, tag_handler, tag_pending, item_read)))
  ------------------
  |  | 1697|   249k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 249k]
  |  |  ------------------
  ------------------
20919|      0|                {
20920|      0|                    return false;
20921|      0|                }
20922|   249k|                fetch = !item_read;
20923|   249k|            }
20924|   249k|            while (tag_pending);
  ------------------
  |  Branch (20924:20): [True: 0, False: 249k]
  ------------------
20925|       |
20926|       |            // a value that opened a container left it on the stack; one that
20927|       |            // did not, and that was not inside a container, was the whole value
20928|   249k|            if (container_stack.empty())
  ------------------
  |  Branch (20928:17): [True: 1.78k, False: 247k]
  ------------------
20929|  1.78k|            {
20930|  1.78k|                return true;
20931|  1.78k|            }
20932|   249k|        }
20933|  9.02k|    }
_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|   102k|    {
19251|   102k|        if (JSON_HEDLEY_UNLIKELY(!leave_container()))
  ------------------
  |  | 1697|   102k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 102k]
  |  |  ------------------
  ------------------
19252|      0|        {
19253|      0|            return false;
19254|      0|        }
19255|   102k|        value_complete = container_stack.empty();
19256|   102k|        return true;
19257|   102k|    }
_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_EEE18skip_cbor_key_tagsENS1_18cbor_tag_handler_tE:
20348|  35.3k|    {
20349|  35.3k|        if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20349:13): [True: 35.3k, False: 0]
  ------------------
20350|  35.3k|        {
20351|  35.3k|            return true;
20352|  35.3k|        }
20353|       |
20354|       |        // 0xC0..0xDB: tag with the tag number in the head (0xC0..0xD7) or in
20355|       |        // the 1, 2, 4, or 8 bytes that follow (0xD8..0xDB)
20356|      0|        while (current >= 0xC0 && current <= 0xDB)
  ------------------
  |  Branch (20356:16): [True: 0, False: 0]
  |  Branch (20356:35): [True: 0, False: 0]
  ------------------
20357|      0|        {
20358|      0|            if (current >= 0xD8)
  ------------------
  |  Branch (20358:17): [True: 0, False: 0]
  ------------------
20359|      0|            {
20360|      0|                std::uint64_t tag_to_ignore{};
20361|      0|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_argument(tag_to_ignore)))
  ------------------
  |  | 1697|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20362|      0|                {
20363|      0|                    return false;
20364|      0|                }
20365|      0|            }
20366|      0|            get();
20367|      0|        }
20368|      0|        return true;
20369|      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_EEE17get_cbor_argumentERm:
20588|  5.01k|    {
20589|  5.01k|        switch (current & 0x1F)
20590|  5.01k|        {
20591|  1.26k|            case 0x18: // 1 byte
  ------------------
  |  Branch (20591:13): [True: 1.26k, False: 3.75k]
  ------------------
20592|  1.26k|            {
20593|  1.26k|                std::uint8_t n{};
20594|  1.26k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  1.26k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 1.26k]
  |  |  ------------------
  ------------------
20595|      0|                {
20596|      0|                    return false;
20597|      0|                }
20598|  1.26k|                value = n;
20599|  1.26k|                return true;
20600|  1.26k|            }
20601|       |
20602|  2.05k|            case 0x19: // 2 bytes
  ------------------
  |  Branch (20602:13): [True: 2.05k, False: 2.96k]
  ------------------
20603|  2.05k|            {
20604|  2.05k|                std::uint16_t n{};
20605|  2.05k|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|  2.05k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.05k]
  |  |  ------------------
  ------------------
20606|      0|                {
20607|      0|                    return false;
20608|      0|                }
20609|  2.05k|                value = n;
20610|  2.05k|                return true;
20611|  2.05k|            }
20612|       |
20613|    930|            case 0x1A: // 4 bytes
  ------------------
  |  Branch (20613:13): [True: 930, False: 4.08k]
  ------------------
20614|    930|            {
20615|    930|                std::uint32_t n{};
20616|    930|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    930|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 930]
  |  |  ------------------
  ------------------
20617|      0|                {
20618|      0|                    return false;
20619|      0|                }
20620|    930|                value = n;
20621|    930|                return true;
20622|    930|            }
20623|       |
20624|    770|            case 0x1B: // 8 bytes
  ------------------
  |  Branch (20624:13): [True: 770, False: 4.24k]
  ------------------
20625|    770|            {
20626|    770|                std::uint64_t n{};
20627|    770|                if (JSON_HEDLEY_UNLIKELY(!get_number(n)))
  ------------------
  |  | 1697|    770|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 770]
  |  |  ------------------
  ------------------
20628|      0|                {
20629|      0|                    return false;
20630|      0|                }
20631|    770|                value = n;
20632|    770|                return true;
20633|    770|            }
20634|       |
20635|      0|            default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20635:13): [True: 0, False: 5.01k]
  ------------------
20636|      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 (20636:17): [Folded, False: 0]
  ------------------
20637|      0|                return false;        // LCOV_EXCL_LINE
20638|  5.01k|        }
20639|  5.01k|    }
_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|  4.84k|    {
23597|       |        // read in the original format
23598|       |
23599|  4.84k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  4.84k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 4.84k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  4.84k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 4.74k, False: 101]
  |  Branch (23603:34): [Folded, False: 4.74k]
  |  Branch (23603:57): [True: 0, False: 4.74k]
  ------------------
23604|  4.74k|        {
23605|  4.74k|            byte_swap(result);
23606|  4.74k|        }
23607|  4.84k|        return true;
23608|  4.84k|    }
_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|  4.84k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  4.84k|        auto new_chars_read = ia.get_elements(&dest);
23507|  4.84k|        chars_read += new_chars_read;
23508|  4.84k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  4.84k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 4.74k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  4.74k|        return true;
23516|  4.84k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsItEEmPT_m:
 9597|  4.84k|    {
 9598|  4.84k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  4.84k|    }
_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|  5.29k|    {
23556|  5.29k|        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.29k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  10.5k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.29k, False: 5.29k]
  ------------------
23572|  5.29k|            {
23573|  5.29k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.29k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  5.29k|    }
_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.65k|    {
23597|       |        // read in the original format
23598|       |
23599|  2.65k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  2.65k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.65k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  2.65k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 2.55k, False: 101]
  |  Branch (23603:34): [Folded, False: 2.55k]
  |  Branch (23603:57): [True: 0, False: 2.55k]
  ------------------
23604|  2.55k|        {
23605|  2.55k|            byte_swap(result);
23606|  2.55k|        }
23607|  2.65k|        return true;
23608|  2.65k|    }
_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.65k|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|  2.65k|        auto new_chars_read = ia.get_elements(&dest);
23507|  2.65k|        chars_read += new_chars_read;
23508|  2.65k|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|  2.65k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 101, False: 2.55k]
  |  |  ------------------
  ------------------
23509|    101|        {
23510|       |            // in case of failure, advance position by 1 to report the failing location
23511|    101|            ++chars_read;
23512|    101|            static_cast<void>(report_eof(context));
23513|    101|            return false;
23514|    101|        }
23515|  2.55k|        return true;
23516|  2.65k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIjEEmPT_m:
 9597|  2.65k|    {
 9598|  2.65k|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|  2.65k|    }
_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.82k|    {
23556|  2.82k|        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.82k|            auto* ptr = reinterpret_cast<std::uint8_t*>(&number);
23571|  8.47k|            for (std::size_t i = 0; i < sz / 2; ++i)
  ------------------
  |  Branch (23571:37): [True: 5.64k, False: 2.82k]
  ------------------
23572|  5.64k|            {
23573|  5.64k|                std::swap(ptr[i], ptr[sz - i - 1]);
23574|  5.64k|            }
23575|       |#ifdef __cpp_lib_byteswap
23576|       |        }
23577|       |#endif
23578|  2.82k|    }
_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|  3.60k|    {
23597|       |        // read in the original format
23598|       |
23599|  3.60k|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|  3.60k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 3.60k]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|  3.60k|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 3.48k, False: 117]
  |  Branch (23603:34): [Folded, False: 3.48k]
  |  Branch (23603:57): [True: 0, False: 3.48k]
  ------------------
23604|  3.48k|        {
23605|  3.48k|            byte_swap(result);
23606|  3.48k|        }
23607|  3.60k|        return true;
23608|  3.60k|    }
_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_19get_cbor_object_keyERSC_EEEEbSM_:
19268|  35.3k|    {
19269|  35.3k|        key.clear();
19270|  35.3k|        return (this->*GetKey)(key) && sax->key(key);
  ------------------
  |  Branch (19270:16): [True: 34.7k, False: 608]
  |  Branch (19270:40): [True: 34.7k, False: 0]
  ------------------
19271|  35.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_EEE19get_cbor_object_keyERSC_:
20384|  35.3k|    {
20385|       |        // EOF and major type 3 (text string) are left to get_cbor_string
20386|  35.3k|        if (current == char_traits<char_type>::eof() || (static_cast<unsigned int>(current) & 0xE0u) == 0x60u)
  ------------------
  |  Branch (20386:13): [True: 550, False: 34.8k]
  |  Branch (20386:57): [True: 34.7k, False: 45]
  ------------------
20387|  35.3k|        {
20388|  35.3k|            return get_cbor_string(result, "key");
20389|  35.3k|        }
20390|       |
20391|     45|        const char* found = nullptr;
20392|     45|        switch (static_cast<unsigned int>(current) >> 5u)
20393|     45|        {
20394|     12|            case 0:
  ------------------
  |  Branch (20394:13): [True: 12, False: 33]
  ------------------
20395|     12|                found = "an unsigned integer";
20396|     12|                break;
20397|      4|            case 1:
  ------------------
  |  Branch (20397:13): [True: 4, False: 41]
  ------------------
20398|      4|                found = "a negative integer";
20399|      4|                break;
20400|      2|            case 2:
  ------------------
  |  Branch (20400:13): [True: 2, False: 43]
  ------------------
20401|      2|                found = "a byte string";
20402|      2|                break;
20403|      3|            case 4:
  ------------------
  |  Branch (20403:13): [True: 3, False: 42]
  ------------------
20404|      3|                found = "an array";
20405|      3|                break;
20406|      4|            case 5:
  ------------------
  |  Branch (20406:13): [True: 4, False: 41]
  ------------------
20407|      4|                found = "a map";
20408|      4|                break;
20409|      5|            case 6:
  ------------------
  |  Branch (20409:13): [True: 5, False: 40]
  ------------------
20410|      5|                found = "a tag";
20411|      5|                break;
20412|     15|            default: // major type 7
  ------------------
  |  Branch (20412:13): [True: 15, False: 30]
  ------------------
20413|     15|                switch (current)
20414|     15|                {
20415|      0|                    case 0xF4:
  ------------------
  |  Branch (20415:21): [True: 0, False: 15]
  ------------------
20416|      0|                    case 0xF5:
  ------------------
  |  Branch (20416:21): [True: 0, False: 15]
  ------------------
20417|      0|                        found = "a boolean";
20418|      0|                        break;
20419|      0|                    case 0xF6:
  ------------------
  |  Branch (20419:21): [True: 0, False: 15]
  ------------------
20420|      0|                        found = "null";
20421|      0|                        break;
20422|      1|                    case 0xF7:
  ------------------
  |  Branch (20422:21): [True: 1, False: 14]
  ------------------
20423|      1|                        found = "undefined";
20424|      1|                        break;
20425|      0|                    case 0xF9:
  ------------------
  |  Branch (20425:21): [True: 0, False: 15]
  ------------------
20426|      0|                    case 0xFA:
  ------------------
  |  Branch (20426:21): [True: 0, False: 15]
  ------------------
20427|      1|                    case 0xFB:
  ------------------
  |  Branch (20427:21): [True: 1, False: 14]
  ------------------
20428|      1|                        found = "a floating-point number";
20429|      1|                        break;
20430|      4|                    case 0xFF:
  ------------------
  |  Branch (20430:21): [True: 4, False: 11]
  ------------------
20431|      4|                        found = "a break stop code";
20432|      4|                        break;
20433|      9|                    default:
  ------------------
  |  Branch (20433:21): [True: 9, False: 6]
  ------------------
20434|      9|                        found = "a simple value";
20435|      9|                        break;
20436|     15|                }
20437|     15|                break;
20438|     45|        }
20439|       |
20440|     45|        return unsupported_key_type(found);
20441|     45|    }
_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_EEE15get_cbor_stringERSC_PKc:
20267|  52.4k|    {
20268|       |        // read chunks iteratively, but reject a second indefinite-length
20269|       |        // level as required by RFC 8949, Section 3.2.3
20270|  52.4k|        bool indefinite = false;
20271|       |
20272|       |        // the chunk currently being validated; only used for the chunks of an
20273|       |        // indefinite-length string when the UTF-8 check can do something
20274|  52.4k|        string_t chunk;
20275|       |
20276|  55.8k|        while (true)
  ------------------
  |  Branch (20276:16): [True: 55.2k, Folded]
  ------------------
20277|  55.2k|        {
20278|  55.2k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("string")))
  ------------------
  |  | 1697|  55.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 55.2k]
  |  |  ------------------
  ------------------
20279|      0|            {
20280|      0|                return false;
20281|      0|            }
20282|       |
20283|  55.2k|            if (current == 0x7F) // UTF-8 string (indefinite length)
  ------------------
  |  Branch (20283:17): [True: 782, False: 54.4k]
  ------------------
20284|    782|            {
20285|    782|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|    782|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 1, False: 781]
  |  |  ------------------
  ------------------
20286|      1|                {
20287|      1|                    return cbor_indefinite_string_error("string", "string");
20288|      1|                }
20289|    781|                indefinite = true;
20290|    781|                get();
20291|    781|                continue;
20292|    782|            }
20293|       |
20294|       |            // a break marker closes the indefinite-length string; outside
20295|       |            // of one it falls through to the error below. Every chunk has
20296|       |            // been checked on its own, so there is nothing left to check.
20297|  54.4k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20297:17): [True: 2.77k, False: 51.6k]
  |  Branch (20297:31): [True: 688, False: 2.09k]
  ------------------
20298|    688|            {
20299|    688|                return true;
20300|    688|            }
20301|       |
20302|  53.7k|            if (!indefinite)
  ------------------
  |  Branch (20302:17): [True: 51.0k, False: 2.67k]
  ------------------
20303|  51.0k|            {
20304|  51.0k|                return get_cbor_string_chunk(result, false) && check_string_utf8(result, context);
  ------------------
  |  Branch (20304:24): [True: 50.4k, False: 610]
  |  Branch (20304:64): [True: 50.4k, False: 0]
  ------------------
20305|  51.0k|            }
20306|       |
20307|  2.67k|            if (error_handler == error_handler_t::keep)
  ------------------
  |  Branch (20307:17): [True: 2.09k, False: 582]
  ------------------
20308|  2.09k|            {
20309|       |                // nothing to check: read the chunk directly into the result
20310|  2.09k|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(result, true)))
  ------------------
  |  | 1697|  2.09k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 2.09k]
  |  |  ------------------
  ------------------
20311|      0|                {
20312|      0|                    return false;
20313|      0|                }
20314|  2.09k|            }
20315|    582|            else
20316|    582|            {
20317|       |                // RFC 8949, Section 3.2.3: each chunk is a text string of its
20318|       |                // own and must be valid UTF-8 by itself, i.e., a code point
20319|       |                // cannot be spread over two chunks
20320|    582|                chunk.clear();
20321|    582|                if (JSON_HEDLEY_UNLIKELY(!get_cbor_string_chunk(chunk, true) || !check_string_utf8(chunk, context)))
  ------------------
  |  | 1697|    582|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 582]
  |  |  |  Branch (1697:94): [True: 582, False: 0]
  |  |  |  Branch (1697:94): [True: 0, False: 0]
  |  |  ------------------
  ------------------
20322|      0|                {
20323|      0|                    return false;
20324|      0|                }
20325|    582|                result.append(chunk.data(), chunk.size());
20326|    582|            }
20327|       |
20328|  2.67k|            get();
20329|  2.67k|        }
20330|  52.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_EEE28cbor_indefinite_string_errorEPKcSM_:
20148|      3|    {
20149|      3|        return last_byte_error(exception_id::invalid_string_or_size, concat("indefinite-length ", type_name, " is not allowed inside indefinite-length ", type_name, "; last byte: 0x", get_token_string()), context);
20150|      3|    }
_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_EEE21get_cbor_string_chunkERSC_b:
20196|  53.1k|    {
20197|  53.1k|        switch (current)
20198|  53.1k|        {
20199|       |            // UTF-8 string (0x00..0x17 bytes follow)
20200|  32.0k|            case 0x60:
  ------------------
  |  Branch (20200:13): [True: 32.0k, False: 21.1k]
  ------------------
20201|  43.2k|            case 0x61:
  ------------------
  |  Branch (20201:13): [True: 11.2k, False: 41.9k]
  ------------------
20202|  44.2k|            case 0x62:
  ------------------
  |  Branch (20202:13): [True: 1.00k, False: 52.1k]
  ------------------
20203|  44.6k|            case 0x63:
  ------------------
  |  Branch (20203:13): [True: 420, False: 52.7k]
  ------------------
20204|  45.4k|            case 0x64:
  ------------------
  |  Branch (20204:13): [True: 744, False: 52.4k]
  ------------------
20205|  45.8k|            case 0x65:
  ------------------
  |  Branch (20205:13): [True: 418, False: 52.7k]
  ------------------
20206|  46.1k|            case 0x66:
  ------------------
  |  Branch (20206:13): [True: 329, False: 52.8k]
  ------------------
20207|  46.4k|            case 0x67:
  ------------------
  |  Branch (20207:13): [True: 255, False: 52.9k]
  ------------------
20208|  46.9k|            case 0x68:
  ------------------
  |  Branch (20208:13): [True: 502, False: 52.6k]
  ------------------
20209|  47.1k|            case 0x69:
  ------------------
  |  Branch (20209:13): [True: 226, False: 52.9k]
  ------------------
20210|  47.3k|            case 0x6A:
  ------------------
  |  Branch (20210:13): [True: 168, False: 53.0k]
  ------------------
20211|  47.4k|            case 0x6B:
  ------------------
  |  Branch (20211:13): [True: 143, False: 53.0k]
  ------------------
20212|  47.6k|            case 0x6C:
  ------------------
  |  Branch (20212:13): [True: 191, False: 52.9k]
  ------------------
20213|  47.8k|            case 0x6D:
  ------------------
  |  Branch (20213:13): [True: 176, False: 53.0k]
  ------------------
20214|  47.9k|            case 0x6E:
  ------------------
  |  Branch (20214:13): [True: 116, False: 53.0k]
  ------------------
20215|  48.0k|            case 0x6F:
  ------------------
  |  Branch (20215:13): [True: 111, False: 53.0k]
  ------------------
20216|  48.3k|            case 0x70:
  ------------------
  |  Branch (20216:13): [True: 309, False: 52.8k]
  ------------------
20217|  48.4k|            case 0x71:
  ------------------
  |  Branch (20217:13): [True: 90, False: 53.0k]
  ------------------
20218|  48.5k|            case 0x72:
  ------------------
  |  Branch (20218:13): [True: 92, False: 53.0k]
  ------------------
20219|  48.6k|            case 0x73:
  ------------------
  |  Branch (20219:13): [True: 63, False: 53.1k]
  ------------------
20220|  48.8k|            case 0x74:
  ------------------
  |  Branch (20220:13): [True: 185, False: 53.0k]
  ------------------
20221|  48.8k|            case 0x75:
  ------------------
  |  Branch (20221:13): [True: 60, False: 53.1k]
  ------------------
20222|  48.9k|            case 0x76:
  ------------------
  |  Branch (20222:13): [True: 97, False: 53.0k]
  ------------------
20223|  49.2k|            case 0x77:
  ------------------
  |  Branch (20223:13): [True: 317, False: 52.8k]
  ------------------
20224|  49.2k|            {
20225|  49.2k|                return get_string(static_cast<unsigned int>(current) & 0x1Fu, result);
20226|  48.9k|            }
20227|       |
20228|  1.53k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20228:13): [True: 1.53k, False: 51.6k]
  ------------------
20229|  1.53k|            {
20230|  1.53k|                return get_cbor_sized_bytes<std::uint8_t>("string", result);
20231|  48.9k|            }
20232|       |
20233|  1.17k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20233:13): [True: 1.17k, False: 52.0k]
  ------------------
20234|  1.17k|            {
20235|  1.17k|                return get_cbor_sized_bytes<std::uint16_t>("string", result);
20236|  48.9k|            }
20237|       |
20238|    391|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20238:13): [True: 391, False: 52.7k]
  ------------------
20239|    391|            {
20240|    391|                return get_cbor_sized_bytes<std::uint32_t>("string", result);
20241|  48.9k|            }
20242|       |
20243|    801|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20243:13): [True: 801, False: 52.3k]
  ------------------
20244|    801|            {
20245|    801|                return get_cbor_sized_bytes<std::uint64_t>("string", result);
20246|  48.9k|            }
20247|       |
20248|     16|            default:
  ------------------
  |  Branch (20248:13): [True: 16, False: 53.1k]
  ------------------
20249|     16|            {
20250|     16|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x60-0x7B)", "string", inside_indefinite ? "" : " or indefinite string type (0x7F)");
  ------------------
  |  Branch (20250:133): [True: 14, False: 2]
  ------------------
20251|  48.9k|            }
20252|  53.1k|        }
20253|  53.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_stringIjEEbT_RSC_:
23767|  49.2k|    {
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|  49.2k|        return get_bytes(len, "string", result);
23778|  49.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_EEE9get_bytesIjSC_EEbT_PKcRT0_:
23893|  49.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|  49.6k|        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|  49.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 17.0k, False: 32.5k]
  ------------------
23898|  17.0k|        {
23899|  17.0k|            return true;
23900|  17.0k|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  32.5k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  32.5k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 278, False: 32.3k]
  ------------------
23906|    278|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    278|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 234, False: 44]
  ------------------
23910|    278|                                       ? static_cast<std::size_t>(len)
23911|    278|                                       : chunk_size;
23912|    278|            const std::size_t old_size = result.size();
23913|    278|            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|    278|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    278|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 278, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    278|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    278|            chars_read += bytes_read;
23921|    278|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    278|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 278, False: 0]
  |  |  ------------------
  ------------------
23922|    278|            {
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|    278|                result.resize(old_size + bytes_read);
23927|    278|                ++chars_read;
23928|    278|                current = char_traits<char_type>::eof();
23929|    278|                return unexpect_eof(context);
23930|    278|            }
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|  32.3k|        return true;
23936|  32.5k|    }
_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|  49.6k|    {
23943|  49.6k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 32.3k, False: 17.3k]
  ------------------
23944|  32.3k|        {
23945|  32.3k|            return false;
23946|  32.3k|        }
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.3k|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|  17.3k|        const std::size_t remaining = ia.bulk_remaining();
23951|  17.3k|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 278, False: 17.0k]
  ------------------
23952|    278|        {
23953|    278|            return false; // (the loop reports the premature end)
23954|    278|        }
23955|  17.0k|        const auto n = static_cast<std::size_t>(ulen);
23956|  17.0k|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|  17.0k|        ia.bulk_skip(n);
23958|  17.0k|        chars_read += n;
23959|  17.0k|        return true;
23960|  17.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_EEE20get_cbor_sized_bytesIhSC_EEbPKcRT0_:
20175|  1.53k|    {
20176|  1.53k|        NumberType len{};
20177|  1.53k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.52k, False: 9]
  |  Branch (20177:35): [True: 1.48k, False: 36]
  ------------------
20178|  1.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_EEE9get_bytesIhSC_EEbT_PKcRT0_:
23893|  1.52k|    {
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.52k|        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.52k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 804, False: 717]
  ------------------
23898|    804|        {
23899|    804|            return true;
23900|    804|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    717|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    717|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 36, False: 681]
  ------------------
23906|     36|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     36|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 36, False: 0]
  ------------------
23910|     36|                                       ? static_cast<std::size_t>(len)
23911|     36|                                       : chunk_size;
23912|     36|            const std::size_t old_size = result.size();
23913|     36|            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|     36|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     36|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 36, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     36|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     36|            chars_read += bytes_read;
23921|     36|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     36|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 0]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
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|    681|        return true;
23936|    717|    }
_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.52k|    {
23943|  1.52k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 681, False: 840]
  ------------------
23944|    681|        {
23945|    681|            return false;
23946|    681|        }
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|    840|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    840|        const std::size_t remaining = ia.bulk_remaining();
23951|    840|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 36, False: 804]
  ------------------
23952|     36|        {
23953|     36|            return false; // (the loop reports the premature end)
23954|     36|        }
23955|    804|        const auto n = static_cast<std::size_t>(ulen);
23956|    804|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    804|        ia.bulk_skip(n);
23958|    804|        chars_read += n;
23959|    804|        return true;
23960|    840|    }
_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_EEE20get_cbor_sized_bytesItSC_EEbPKcRT0_:
20175|  1.17k|    {
20176|  1.17k|        NumberType len{};
20177|  1.17k|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 1.15k, False: 20]
  |  Branch (20177:35): [True: 1.07k, False: 77]
  ------------------
20178|  1.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_EEE9get_bytesItSC_EEbT_PKcRT0_:
23893|  1.15k|    {
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.15k|        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.15k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 432, False: 720]
  ------------------
23898|    432|        {
23899|    432|            return true;
23900|    432|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    720|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    720|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 77, False: 643]
  ------------------
23906|     77|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|     77|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 56, False: 21]
  ------------------
23910|     77|                                       ? static_cast<std::size_t>(len)
23911|     77|                                       : chunk_size;
23912|     77|            const std::size_t old_size = result.size();
23913|     77|            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|     77|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|     77|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 77, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|     77|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|     77|            chars_read += bytes_read;
23921|     77|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|     77|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 77, False: 0]
  |  |  ------------------
  ------------------
23922|     77|            {
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|     77|                result.resize(old_size + bytes_read);
23927|     77|                ++chars_read;
23928|     77|                current = char_traits<char_type>::eof();
23929|     77|                return unexpect_eof(context);
23930|     77|            }
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|    643|        return true;
23936|    720|    }
_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|  1.15k|    {
23943|  1.15k|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 643, False: 509]
  ------------------
23944|    643|        {
23945|    643|            return false;
23946|    643|        }
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|    509|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    509|        const std::size_t remaining = ia.bulk_remaining();
23951|    509|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 77, False: 432]
  ------------------
23952|     77|        {
23953|     77|            return false; // (the loop reports the premature end)
23954|     77|        }
23955|    432|        const auto n = static_cast<std::size_t>(ulen);
23956|    432|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    432|        ia.bulk_skip(n);
23958|    432|        chars_read += n;
23959|    432|        return true;
23960|    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_EEE20get_cbor_sized_bytesIjSC_EEbPKcRT0_:
20175|    391|    {
20176|    391|        NumberType len{};
20177|    391|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 374, False: 17]
  |  Branch (20177:35): [True: 298, False: 76]
  ------------------
20178|    391|    }
_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_EEE20get_cbor_sized_bytesImSC_EEbPKcRT0_:
20175|    801|    {
20176|    801|        NumberType len{};
20177|    801|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 780, False: 21]
  |  Branch (20177:35): [True: 584, False: 196]
  ------------------
20178|    801|    }
_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_bytesImSC_EEbT_PKcRT0_:
23893|    780|    {
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|    780|        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|    780|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 281, False: 499]
  ------------------
23898|    281|        {
23899|    281|            return true;
23900|    281|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    499|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    499|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 196, False: 303]
  ------------------
23906|    196|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    196|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 41, False: 155]
  ------------------
23910|    196|                                       ? static_cast<std::size_t>(len)
23911|    196|                                       : chunk_size;
23912|    196|            const std::size_t old_size = result.size();
23913|    196|            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|    196|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    196|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 196, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    196|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    196|            chars_read += bytes_read;
23921|    196|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    196|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 196, False: 0]
  |  |  ------------------
  ------------------
23922|    196|            {
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|    196|                result.resize(old_size + bytes_read);
23927|    196|                ++chars_read;
23928|    196|                current = char_traits<char_type>::eof();
23929|    196|                return unexpect_eof(context);
23930|    196|            }
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|    303|        return true;
23936|    499|    }
_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_blockImEEbT_RSC_NS4_17integral_constantIbLb1EEE:
23942|    780|    {
23943|    780|        if (len <= 0)
  ------------------
  |  Branch (23943:13): [True: 303, False: 477]
  ------------------
23944|    303|        {
23945|    303|            return false;
23946|    303|        }
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|    477|        const auto ulen = static_cast<typename std::make_unsigned<NumberType>::type>(len);
23950|    477|        const std::size_t remaining = ia.bulk_remaining();
23951|    477|        if (static_cast<std::uintmax_t>(ulen) > static_cast<std::uintmax_t>(remaining))
  ------------------
  |  Branch (23951:13): [True: 196, False: 281]
  ------------------
23952|    196|        {
23953|    196|            return false; // (the loop reports the premature end)
23954|    196|        }
23955|    281|        const auto n = static_cast<std::size_t>(ulen);
23956|    281|        result.append(reinterpret_cast<const typename string_t::value_type*>(ia.bulk_data()), n);
23957|    281|        ia.bulk_skip(n);
23958|    281|        chars_read += n;
23959|    281|        return true;
23960|    477|    }
_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|     45|    {
20160|     45|        return last_byte_error(exception_id::invalid_string_or_size, "only string keys are supported, but found ", "object key", found);
20161|     45|    }
_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_EEE16parse_cbor_valueEbNS1_18cbor_tag_handler_tERbSM_:
19762|   248k|    {
19763|   248k|        tag_pending = false;
19764|   248k|        item_read = false;
19765|       |
19766|   248k|        switch (get_char ? get() : current)
  ------------------
  |  Branch (19766:17): [True: 160k, False: 88.0k]
  ------------------
19767|   248k|        {
19768|       |            // EOF
19769|  1.82k|            case char_traits<char_type>::eof():
  ------------------
  |  Branch (19769:13): [True: 1.82k, False: 246k]
  ------------------
19770|  1.82k|                return unexpect_eof("value");
19771|       |
19772|       |            // Integer 0x00..0x17 (0..23)
19773|  10.4k|            case 0x00:
  ------------------
  |  Branch (19773:13): [True: 10.4k, False: 238k]
  ------------------
19774|  11.4k|            case 0x01:
  ------------------
  |  Branch (19774:13): [True: 985, False: 247k]
  ------------------
19775|  11.9k|            case 0x02:
  ------------------
  |  Branch (19775:13): [True: 513, False: 248k]
  ------------------
19776|  12.3k|            case 0x03:
  ------------------
  |  Branch (19776:13): [True: 394, False: 248k]
  ------------------
19777|  12.8k|            case 0x04:
  ------------------
  |  Branch (19777:13): [True: 475, False: 248k]
  ------------------
19778|  13.3k|            case 0x05:
  ------------------
  |  Branch (19778:13): [True: 512, False: 248k]
  ------------------
19779|  13.8k|            case 0x06:
  ------------------
  |  Branch (19779:13): [True: 528, False: 248k]
  ------------------
19780|  14.4k|            case 0x07:
  ------------------
  |  Branch (19780:13): [True: 551, False: 248k]
  ------------------
19781|  15.0k|            case 0x08:
  ------------------
  |  Branch (19781:13): [True: 594, False: 247k]
  ------------------
19782|  15.4k|            case 0x09:
  ------------------
  |  Branch (19782:13): [True: 398, False: 248k]
  ------------------
19783|  15.9k|            case 0x0A:
  ------------------
  |  Branch (19783:13): [True: 545, False: 248k]
  ------------------
19784|  16.3k|            case 0x0B:
  ------------------
  |  Branch (19784:13): [True: 383, False: 248k]
  ------------------
19785|  16.9k|            case 0x0C:
  ------------------
  |  Branch (19785:13): [True: 569, False: 248k]
  ------------------
19786|  17.4k|            case 0x0D:
  ------------------
  |  Branch (19786:13): [True: 555, False: 248k]
  ------------------
19787|  17.8k|            case 0x0E:
  ------------------
  |  Branch (19787:13): [True: 331, False: 248k]
  ------------------
19788|  18.2k|            case 0x0F:
  ------------------
  |  Branch (19788:13): [True: 388, False: 248k]
  ------------------
19789|  18.8k|            case 0x10:
  ------------------
  |  Branch (19789:13): [True: 602, False: 247k]
  ------------------
19790|  19.2k|            case 0x11:
  ------------------
  |  Branch (19790:13): [True: 481, False: 248k]
  ------------------
19791|  19.6k|            case 0x12:
  ------------------
  |  Branch (19791:13): [True: 342, False: 248k]
  ------------------
19792|  19.8k|            case 0x13:
  ------------------
  |  Branch (19792:13): [True: 253, False: 248k]
  ------------------
19793|  20.5k|            case 0x14:
  ------------------
  |  Branch (19793:13): [True: 707, False: 247k]
  ------------------
19794|  20.9k|            case 0x15:
  ------------------
  |  Branch (19794:13): [True: 335, False: 248k]
  ------------------
19795|  21.4k|            case 0x16:
  ------------------
  |  Branch (19795:13): [True: 531, False: 248k]
  ------------------
19796|  21.7k|            case 0x17:
  ------------------
  |  Branch (19796:13): [True: 275, False: 248k]
  ------------------
19797|  21.7k|                return sax->number_unsigned(static_cast<number_unsigned_t>(current));
19798|       |
19799|    396|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19799:13): [True: 396, False: 248k]
  ------------------
19800|    396|            {
19801|    396|                std::uint8_t number{};
19802|    396|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19802:24): [True: 391, False: 5]
  |  Branch (19802:46): [True: 391, False: 0]
  ------------------
19803|  21.4k|            }
19804|       |
19805|    405|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (19805:13): [True: 405, False: 248k]
  ------------------
19806|    405|            {
19807|    405|                std::uint16_t number{};
19808|    405|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19808:24): [True: 390, False: 15]
  |  Branch (19808:46): [True: 390, False: 0]
  ------------------
19809|  21.4k|            }
19810|       |
19811|    390|            case 0x1A: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (19811:13): [True: 390, False: 248k]
  ------------------
19812|    390|            {
19813|    390|                std::uint32_t number{};
19814|    390|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19814:24): [True: 372, False: 18]
  |  Branch (19814:46): [True: 372, False: 0]
  ------------------
19815|  21.4k|            }
19816|       |
19817|    638|            case 0x1B: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (19817:13): [True: 638, False: 247k]
  ------------------
19818|    638|            {
19819|    638|                std::uint64_t number{};
19820|    638|                return get_number(number) && emit_unsigned(number);
  ------------------
  |  Branch (19820:24): [True: 619, False: 19]
  |  Branch (19820:46): [True: 619, False: 0]
  ------------------
19821|  21.4k|            }
19822|       |
19823|       |            // Negative integer -1-0x00..-1-0x17 (-1..-24)
19824|    834|            case 0x20:
  ------------------
  |  Branch (19824:13): [True: 834, False: 247k]
  ------------------
19825|  1.67k|            case 0x21:
  ------------------
  |  Branch (19825:13): [True: 837, False: 247k]
  ------------------
19826|  3.03k|            case 0x22:
  ------------------
  |  Branch (19826:13): [True: 1.36k, False: 247k]
  ------------------
19827|  3.73k|            case 0x23:
  ------------------
  |  Branch (19827:13): [True: 695, False: 247k]
  ------------------
19828|  4.15k|            case 0x24:
  ------------------
  |  Branch (19828:13): [True: 420, False: 248k]
  ------------------
19829|  4.96k|            case 0x25:
  ------------------
  |  Branch (19829:13): [True: 815, False: 247k]
  ------------------
19830|  5.51k|            case 0x26:
  ------------------
  |  Branch (19830:13): [True: 554, False: 248k]
  ------------------
19831|  6.70k|            case 0x27:
  ------------------
  |  Branch (19831:13): [True: 1.18k, False: 247k]
  ------------------
19832|  7.20k|            case 0x28:
  ------------------
  |  Branch (19832:13): [True: 501, False: 248k]
  ------------------
19833|  7.91k|            case 0x29:
  ------------------
  |  Branch (19833:13): [True: 713, False: 247k]
  ------------------
19834|  8.47k|            case 0x2A:
  ------------------
  |  Branch (19834:13): [True: 560, False: 248k]
  ------------------
19835|  9.22k|            case 0x2B:
  ------------------
  |  Branch (19835:13): [True: 752, False: 247k]
  ------------------
19836|  9.71k|            case 0x2C:
  ------------------
  |  Branch (19836:13): [True: 485, False: 248k]
  ------------------
19837|  10.4k|            case 0x2D:
  ------------------
  |  Branch (19837:13): [True: 723, False: 247k]
  ------------------
19838|  10.8k|            case 0x2E:
  ------------------
  |  Branch (19838:13): [True: 432, False: 248k]
  ------------------
19839|  11.7k|            case 0x2F:
  ------------------
  |  Branch (19839:13): [True: 850, False: 247k]
  ------------------
19840|  12.4k|            case 0x30:
  ------------------
  |  Branch (19840:13): [True: 765, False: 247k]
  ------------------
19841|  13.1k|            case 0x31:
  ------------------
  |  Branch (19841:13): [True: 672, False: 247k]
  ------------------
19842|  13.7k|            case 0x32:
  ------------------
  |  Branch (19842:13): [True: 592, False: 247k]
  ------------------
19843|  14.1k|            case 0x33:
  ------------------
  |  Branch (19843:13): [True: 421, False: 248k]
  ------------------
19844|  14.7k|            case 0x34:
  ------------------
  |  Branch (19844:13): [True: 620, False: 247k]
  ------------------
19845|  15.2k|            case 0x35:
  ------------------
  |  Branch (19845:13): [True: 448, False: 248k]
  ------------------
19846|  15.6k|            case 0x36:
  ------------------
  |  Branch (19846:13): [True: 460, False: 248k]
  ------------------
19847|  16.0k|            case 0x37:
  ------------------
  |  Branch (19847:13): [True: 344, False: 248k]
  ------------------
19848|  16.0k|                return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current));
19849|       |
19850|    401|            case 0x38: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (19850:13): [True: 401, False: 248k]
  ------------------
19851|    401|                return get_cbor_negative_integer<std::uint8_t>();
19852|       |
19853|    380|            case 0x39: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (19853:13): [True: 380, False: 248k]
  ------------------
19854|    380|                return get_cbor_negative_integer<std::uint16_t>();
19855|       |
19856|    512|            case 0x3A: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (19856:13): [True: 512, False: 248k]
  ------------------
19857|    512|                return get_cbor_negative_integer<std::uint32_t>();
19858|       |
19859|    748|            case 0x3B: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (19859:13): [True: 748, False: 247k]
  ------------------
19860|    748|                return get_cbor_negative_integer<std::uint64_t>();
19861|       |
19862|       |            // Binary data (0x00..0x17 bytes follow)
19863|  23.0k|            case 0x40:
  ------------------
  |  Branch (19863:13): [True: 23.0k, False: 225k]
  ------------------
19864|  24.2k|            case 0x41:
  ------------------
  |  Branch (19864:13): [True: 1.23k, False: 247k]
  ------------------
19865|  24.6k|            case 0x42:
  ------------------
  |  Branch (19865:13): [True: 386, False: 248k]
  ------------------
19866|  24.7k|            case 0x43:
  ------------------
  |  Branch (19866:13): [True: 123, False: 248k]
  ------------------
19867|  25.0k|            case 0x44:
  ------------------
  |  Branch (19867:13): [True: 237, False: 248k]
  ------------------
19868|  25.1k|            case 0x45:
  ------------------
  |  Branch (19868:13): [True: 121, False: 248k]
  ------------------
19869|  25.2k|            case 0x46:
  ------------------
  |  Branch (19869:13): [True: 122, False: 248k]
  ------------------
19870|  25.4k|            case 0x47:
  ------------------
  |  Branch (19870:13): [True: 182, False: 248k]
  ------------------
19871|  25.5k|            case 0x48:
  ------------------
  |  Branch (19871:13): [True: 144, False: 248k]
  ------------------
19872|  25.7k|            case 0x49:
  ------------------
  |  Branch (19872:13): [True: 117, False: 248k]
  ------------------
19873|  25.8k|            case 0x4A:
  ------------------
  |  Branch (19873:13): [True: 118, False: 248k]
  ------------------
19874|  25.9k|            case 0x4B:
  ------------------
  |  Branch (19874:13): [True: 125, False: 248k]
  ------------------
19875|  26.0k|            case 0x4C:
  ------------------
  |  Branch (19875:13): [True: 124, False: 248k]
  ------------------
19876|  26.1k|            case 0x4D:
  ------------------
  |  Branch (19876:13): [True: 116, False: 248k]
  ------------------
19877|  26.2k|            case 0x4E:
  ------------------
  |  Branch (19877:13): [True: 49, False: 248k]
  ------------------
19878|  26.2k|            case 0x4F:
  ------------------
  |  Branch (19878:13): [True: 50, False: 248k]
  ------------------
19879|  26.3k|            case 0x50:
  ------------------
  |  Branch (19879:13): [True: 94, False: 248k]
  ------------------
19880|  26.4k|            case 0x51:
  ------------------
  |  Branch (19880:13): [True: 53, False: 248k]
  ------------------
19881|  26.4k|            case 0x52:
  ------------------
  |  Branch (19881:13): [True: 50, False: 248k]
  ------------------
19882|  26.5k|            case 0x53:
  ------------------
  |  Branch (19882:13): [True: 54, False: 248k]
  ------------------
19883|  26.5k|            case 0x54:
  ------------------
  |  Branch (19883:13): [True: 48, False: 248k]
  ------------------
19884|  26.6k|            case 0x55:
  ------------------
  |  Branch (19884:13): [True: 52, False: 248k]
  ------------------
19885|  26.6k|            case 0x56:
  ------------------
  |  Branch (19885:13): [True: 48, False: 248k]
  ------------------
19886|  26.7k|            case 0x57:
  ------------------
  |  Branch (19886:13): [True: 56, False: 248k]
  ------------------
19887|  27.6k|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19887:13): [True: 908, False: 247k]
  ------------------
19888|  28.4k|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19888:13): [True: 782, False: 247k]
  ------------------
19889|  28.8k|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19889:13): [True: 434, False: 248k]
  ------------------
19890|  29.5k|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19890:13): [True: 647, False: 247k]
  ------------------
19891|  30.5k|            case 0x5F: // Binary data (indefinite length)
  ------------------
  |  Branch (19891:13): [True: 1.02k, False: 247k]
  ------------------
19892|  30.5k|            {
19893|  30.5k|                binary_t b;
19894|  30.5k|                return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (19894:24): [True: 29.9k, False: 621]
  |  Branch (19894:46): [True: 29.9k, False: 0]
  ------------------
19895|  29.5k|            }
19896|       |
19897|       |            // UTF-8 string (0x00..0x17 bytes follow)
19898|  7.01k|            case 0x60:
  ------------------
  |  Branch (19898:13): [True: 7.01k, False: 241k]
  ------------------
19899|  8.08k|            case 0x61:
  ------------------
  |  Branch (19899:13): [True: 1.06k, False: 247k]
  ------------------
19900|  8.72k|            case 0x62:
  ------------------
  |  Branch (19900:13): [True: 649, False: 247k]
  ------------------
19901|  9.09k|            case 0x63:
  ------------------
  |  Branch (19901:13): [True: 367, False: 248k]
  ------------------
19902|  9.65k|            case 0x64:
  ------------------
  |  Branch (19902:13): [True: 554, False: 248k]
  ------------------
19903|  10.0k|            case 0x65:
  ------------------
  |  Branch (19903:13): [True: 410, False: 248k]
  ------------------
19904|  10.3k|            case 0x66:
  ------------------
  |  Branch (19904:13): [True: 299, False: 248k]
  ------------------
19905|  10.6k|            case 0x67:
  ------------------
  |  Branch (19905:13): [True: 250, False: 248k]
  ------------------
19906|  10.9k|            case 0x68:
  ------------------
  |  Branch (19906:13): [True: 377, False: 248k]
  ------------------
19907|  11.1k|            case 0x69:
  ------------------
  |  Branch (19907:13): [True: 200, False: 248k]
  ------------------
19908|  11.3k|            case 0x6A:
  ------------------
  |  Branch (19908:13): [True: 165, False: 248k]
  ------------------
19909|  11.4k|            case 0x6B:
  ------------------
  |  Branch (19909:13): [True: 141, False: 248k]
  ------------------
19910|  11.6k|            case 0x6C:
  ------------------
  |  Branch (19910:13): [True: 175, False: 248k]
  ------------------
19911|  11.8k|            case 0x6D:
  ------------------
  |  Branch (19911:13): [True: 157, False: 248k]
  ------------------
19912|  11.9k|            case 0x6E:
  ------------------
  |  Branch (19912:13): [True: 85, False: 248k]
  ------------------
19913|  12.0k|            case 0x6F:
  ------------------
  |  Branch (19913:13): [True: 97, False: 248k]
  ------------------
19914|  12.2k|            case 0x70:
  ------------------
  |  Branch (19914:13): [True: 256, False: 248k]
  ------------------
19915|  12.3k|            case 0x71:
  ------------------
  |  Branch (19915:13): [True: 84, False: 248k]
  ------------------
19916|  12.4k|            case 0x72:
  ------------------
  |  Branch (19916:13): [True: 88, False: 248k]
  ------------------
19917|  12.4k|            case 0x73:
  ------------------
  |  Branch (19917:13): [True: 56, False: 248k]
  ------------------
19918|  12.6k|            case 0x74:
  ------------------
  |  Branch (19918:13): [True: 182, False: 248k]
  ------------------
19919|  12.7k|            case 0x75:
  ------------------
  |  Branch (19919:13): [True: 57, False: 248k]
  ------------------
19920|  12.8k|            case 0x76:
  ------------------
  |  Branch (19920:13): [True: 82, False: 248k]
  ------------------
19921|  12.9k|            case 0x77:
  ------------------
  |  Branch (19921:13): [True: 120, False: 248k]
  ------------------
19922|  14.2k|            case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19922:13): [True: 1.28k, False: 247k]
  ------------------
19923|  15.2k|            case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19923:13): [True: 1.03k, False: 247k]
  ------------------
19924|  15.6k|            case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19924:13): [True: 391, False: 248k]
  ------------------
19925|  16.3k|            case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19925:13): [True: 668, False: 247k]
  ------------------
19926|  17.0k|            case 0x7F: // UTF-8 string (indefinite length)
  ------------------
  |  Branch (19926:13): [True: 778, False: 247k]
  ------------------
19927|  17.0k|            {
19928|  17.0k|                string_t s;
19929|  17.0k|                return get_cbor_string(s) && sax->string(s);
  ------------------
  |  Branch (19929:24): [True: 16.3k, False: 690]
  |  Branch (19929:46): [True: 16.3k, False: 0]
  ------------------
19930|  16.3k|            }
19931|       |
19932|       |            // array (0x00..0x17 data items follow)
19933|  4.63k|            case 0x80:
  ------------------
  |  Branch (19933:13): [True: 4.63k, False: 243k]
  ------------------
19934|  95.1k|            case 0x81:
  ------------------
  |  Branch (19934:13): [True: 90.4k, False: 158k]
  ------------------
19935|  96.6k|            case 0x82:
  ------------------
  |  Branch (19935:13): [True: 1.56k, False: 247k]
  ------------------
19936|  97.2k|            case 0x83:
  ------------------
  |  Branch (19936:13): [True: 511, False: 248k]
  ------------------
19937|  97.7k|            case 0x84:
  ------------------
  |  Branch (19937:13): [True: 546, False: 248k]
  ------------------
19938|  98.1k|            case 0x85:
  ------------------
  |  Branch (19938:13): [True: 354, False: 248k]
  ------------------
19939|  98.7k|            case 0x86:
  ------------------
  |  Branch (19939:13): [True: 625, False: 247k]
  ------------------
19940|  99.5k|            case 0x87:
  ------------------
  |  Branch (19940:13): [True: 774, False: 247k]
  ------------------
19941|  99.9k|            case 0x88:
  ------------------
  |  Branch (19941:13): [True: 407, False: 248k]
  ------------------
19942|   100k|            case 0x89:
  ------------------
  |  Branch (19942:13): [True: 446, False: 248k]
  ------------------
19943|   100k|            case 0x8A:
  ------------------
  |  Branch (19943:13): [True: 478, False: 248k]
  ------------------
19944|   101k|            case 0x8B:
  ------------------
  |  Branch (19944:13): [True: 428, False: 248k]
  ------------------
19945|   101k|            case 0x8C:
  ------------------
  |  Branch (19945:13): [True: 473, False: 248k]
  ------------------
19946|   102k|            case 0x8D:
  ------------------
  |  Branch (19946:13): [True: 341, False: 248k]
  ------------------
19947|   102k|            case 0x8E:
  ------------------
  |  Branch (19947:13): [True: 431, False: 248k]
  ------------------
19948|   103k|            case 0x8F:
  ------------------
  |  Branch (19948:13): [True: 523, False: 248k]
  ------------------
19949|   103k|            case 0x90:
  ------------------
  |  Branch (19949:13): [True: 572, False: 248k]
  ------------------
19950|   104k|            case 0x91:
  ------------------
  |  Branch (19950:13): [True: 477, False: 248k]
  ------------------
19951|   104k|            case 0x92:
  ------------------
  |  Branch (19951:13): [True: 447, False: 248k]
  ------------------
19952|   105k|            case 0x93:
  ------------------
  |  Branch (19952:13): [True: 714, False: 247k]
  ------------------
19953|   105k|            case 0x94:
  ------------------
  |  Branch (19953:13): [True: 297, False: 248k]
  ------------------
19954|   105k|            case 0x95:
  ------------------
  |  Branch (19954:13): [True: 408, False: 248k]
  ------------------
19955|   106k|            case 0x96:
  ------------------
  |  Branch (19955:13): [True: 396, False: 248k]
  ------------------
19956|   107k|            case 0x97:
  ------------------
  |  Branch (19956:13): [True: 734, False: 247k]
  ------------------
19957|   107k|                return enter_cbor_array(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19958|       |
19959|    940|            case 0x98: // array (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19959:13): [True: 940, False: 247k]
  ------------------
19960|  2.62k|            case 0x99: // array (two-byte uint16_t for n follow)
  ------------------
  |  Branch (19960:13): [True: 1.68k, False: 246k]
  ------------------
19961|  3.31k|            case 0x9A: // array (four-byte uint32_t for n follow)
  ------------------
  |  Branch (19961:13): [True: 690, False: 247k]
  ------------------
19962|  3.72k|            case 0x9B: // array (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (19962:13): [True: 411, False: 248k]
  ------------------
19963|  3.72k|            {
19964|  3.72k|                std::uint64_t len{};
19965|  3.72k|                std::size_t size{};
19966|  3.72k|                return get_cbor_argument(len) && get_container_size(len, size, "array") && enter_cbor_array(size);
  ------------------
  |  Branch (19966:24): [True: 3.64k, False: 78]
  |  Branch (19966:50): [True: 3.64k, False: 1]
  |  Branch (19966:92): [True: 3.51k, False: 133]
  ------------------
19967|  3.31k|            }
19968|       |
19969|  6.70k|            case 0x9F: // array (indefinite length)
  ------------------
  |  Branch (19969:13): [True: 6.70k, False: 241k]
  ------------------
19970|  6.70k|                return enter_array(detail::unknown_size());
19971|       |
19972|       |            // map (0x00..0x17 pairs of data items follow)
19973|  4.48k|            case 0xA0:
  ------------------
  |  Branch (19973:13): [True: 4.48k, False: 244k]
  ------------------
19974|  13.4k|            case 0xA1:
  ------------------
  |  Branch (19974:13): [True: 8.94k, False: 239k]
  ------------------
19975|  15.3k|            case 0xA2:
  ------------------
  |  Branch (19975:13): [True: 1.93k, False: 246k]
  ------------------
19976|  15.8k|            case 0xA3:
  ------------------
  |  Branch (19976:13): [True: 436, False: 248k]
  ------------------
19977|  16.0k|            case 0xA4:
  ------------------
  |  Branch (19977:13): [True: 280, False: 248k]
  ------------------
19978|  16.3k|            case 0xA5:
  ------------------
  |  Branch (19978:13): [True: 295, False: 248k]
  ------------------
19979|  16.6k|            case 0xA6:
  ------------------
  |  Branch (19979:13): [True: 270, False: 248k]
  ------------------
19980|  17.0k|            case 0xA7:
  ------------------
  |  Branch (19980:13): [True: 414, False: 248k]
  ------------------
19981|  17.3k|            case 0xA8:
  ------------------
  |  Branch (19981:13): [True: 260, False: 248k]
  ------------------
19982|  17.5k|            case 0xA9:
  ------------------
  |  Branch (19982:13): [True: 274, False: 248k]
  ------------------
19983|  17.8k|            case 0xAA:
  ------------------
  |  Branch (19983:13): [True: 294, False: 248k]
  ------------------
19984|  18.1k|            case 0xAB:
  ------------------
  |  Branch (19984:13): [True: 258, False: 248k]
  ------------------
19985|  18.4k|            case 0xAC:
  ------------------
  |  Branch (19985:13): [True: 262, False: 248k]
  ------------------
19986|  18.6k|            case 0xAD:
  ------------------
  |  Branch (19986:13): [True: 280, False: 248k]
  ------------------
19987|  18.9k|            case 0xAE:
  ------------------
  |  Branch (19987:13): [True: 260, False: 248k]
  ------------------
19988|  19.2k|            case 0xAF:
  ------------------
  |  Branch (19988:13): [True: 296, False: 248k]
  ------------------
19989|  19.5k|            case 0xB0:
  ------------------
  |  Branch (19989:13): [True: 272, False: 248k]
  ------------------
19990|  19.8k|            case 0xB1:
  ------------------
  |  Branch (19990:13): [True: 302, False: 248k]
  ------------------
19991|  20.0k|            case 0xB2:
  ------------------
  |  Branch (19991:13): [True: 254, False: 248k]
  ------------------
19992|  20.3k|            case 0xB3:
  ------------------
  |  Branch (19992:13): [True: 295, False: 248k]
  ------------------
19993|  20.6k|            case 0xB4:
  ------------------
  |  Branch (19993:13): [True: 261, False: 248k]
  ------------------
19994|  20.8k|            case 0xB5:
  ------------------
  |  Branch (19994:13): [True: 259, False: 248k]
  ------------------
19995|  21.1k|            case 0xB6:
  ------------------
  |  Branch (19995:13): [True: 270, False: 248k]
  ------------------
19996|  21.5k|            case 0xB7:
  ------------------
  |  Branch (19996:13): [True: 402, False: 248k]
  ------------------
19997|  21.5k|                return enter_object(conditional_static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu));
19998|       |
19999|    327|            case 0xB8: // map (one-byte uint8_t for n follows)
  ------------------
  |  Branch (19999:13): [True: 327, False: 248k]
  ------------------
20000|    694|            case 0xB9: // map (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20000:13): [True: 367, False: 248k]
  ------------------
20001|    934|            case 0xBA: // map (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20001:13): [True: 240, False: 248k]
  ------------------
20002|  1.29k|            case 0xBB: // map (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20002:13): [True: 359, False: 248k]
  ------------------
20003|  1.29k|            {
20004|  1.29k|                std::uint64_t len{};
20005|  1.29k|                std::size_t size{};
20006|  1.29k|                return get_cbor_argument(len) && get_container_size(len, size, "map") && enter_object(size);
  ------------------
  |  Branch (20006:24): [True: 1.24k, False: 45]
  |  Branch (20006:50): [True: 1.24k, False: 1]
  |  Branch (20006:90): [True: 1.10k, False: 143]
  ------------------
20007|    934|            }
20008|       |
20009|  1.54k|            case 0xBF: // map (indefinite length)
  ------------------
  |  Branch (20009:13): [True: 1.54k, False: 247k]
  ------------------
20010|  1.54k|                return enter_object(detail::unknown_size());
20011|       |
20012|      1|            case 0xC0: // tagged item (tag value 0-23, in the head itself)
  ------------------
  |  Branch (20012:13): [True: 1, False: 248k]
  ------------------
20013|      2|            case 0xC1:
  ------------------
  |  Branch (20013:13): [True: 1, False: 248k]
  ------------------
20014|      3|            case 0xC2:
  ------------------
  |  Branch (20014:13): [True: 1, False: 248k]
  ------------------
20015|      4|            case 0xC3:
  ------------------
  |  Branch (20015:13): [True: 1, False: 248k]
  ------------------
20016|      5|            case 0xC4:
  ------------------
  |  Branch (20016:13): [True: 1, False: 248k]
  ------------------
20017|      6|            case 0xC5:
  ------------------
  |  Branch (20017:13): [True: 1, False: 248k]
  ------------------
20018|      8|            case 0xC6:
  ------------------
  |  Branch (20018:13): [True: 2, False: 248k]
  ------------------
20019|     11|            case 0xC7:
  ------------------
  |  Branch (20019:13): [True: 3, False: 248k]
  ------------------
20020|     12|            case 0xC8:
  ------------------
  |  Branch (20020:13): [True: 1, False: 248k]
  ------------------
20021|     13|            case 0xC9:
  ------------------
  |  Branch (20021:13): [True: 1, False: 248k]
  ------------------
20022|     14|            case 0xCA:
  ------------------
  |  Branch (20022:13): [True: 1, False: 248k]
  ------------------
20023|     15|            case 0xCB:
  ------------------
  |  Branch (20023:13): [True: 1, False: 248k]
  ------------------
20024|     16|            case 0xCC:
  ------------------
  |  Branch (20024:13): [True: 1, False: 248k]
  ------------------
20025|     17|            case 0xCD:
  ------------------
  |  Branch (20025:13): [True: 1, False: 248k]
  ------------------
20026|     18|            case 0xCE:
  ------------------
  |  Branch (20026:13): [True: 1, False: 248k]
  ------------------
20027|     19|            case 0xCF:
  ------------------
  |  Branch (20027:13): [True: 1, False: 248k]
  ------------------
20028|     20|            case 0xD0:
  ------------------
  |  Branch (20028:13): [True: 1, False: 248k]
  ------------------
20029|     21|            case 0xD1:
  ------------------
  |  Branch (20029:13): [True: 1, False: 248k]
  ------------------
20030|     22|            case 0xD2:
  ------------------
  |  Branch (20030:13): [True: 1, False: 248k]
  ------------------
20031|     23|            case 0xD3:
  ------------------
  |  Branch (20031:13): [True: 1, False: 248k]
  ------------------
20032|     25|            case 0xD4:
  ------------------
  |  Branch (20032:13): [True: 2, False: 248k]
  ------------------
20033|     26|            case 0xD5:
  ------------------
  |  Branch (20033:13): [True: 1, False: 248k]
  ------------------
20034|     27|            case 0xD6:
  ------------------
  |  Branch (20034:13): [True: 1, False: 248k]
  ------------------
20035|     30|            case 0xD7:
  ------------------
  |  Branch (20035:13): [True: 3, False: 248k]
  ------------------
20036|     30|            {
20037|     30|                if (tag_handler == cbor_tag_handler_t::error)
  ------------------
  |  Branch (20037:21): [True: 30, False: 0]
  ------------------
20038|     30|                {
20039|     30|                    return unexpected_byte("invalid byte", "value");
20040|     30|                }
20041|       |
20042|       |                // ignore and store: the tag value is already in the head, so
20043|       |                // there is nothing left to read here; the tagged value that
20044|       |                // follows is read by the loop in parse_cbor_internal() rather
20045|       |                // than by recursing here
20046|      0|                tag_pending = true;
20047|      0|                return true;
20048|     30|            }
20049|       |
20050|      2|            case 0xD8: // tagged item (1 byte follows)
  ------------------
  |  Branch (20050:13): [True: 2, False: 248k]
  ------------------
20051|      3|            case 0xD9: // tagged item (2 bytes follow)
  ------------------
  |  Branch (20051:13): [True: 1, False: 248k]
  ------------------
20052|      4|            case 0xDA: // tagged item (4 bytes follow)
  ------------------
  |  Branch (20052:13): [True: 1, False: 248k]
  ------------------
20053|      5|            case 0xDB: // tagged item (8 bytes follow)
  ------------------
  |  Branch (20053:13): [True: 1, False: 248k]
  ------------------
20054|      5|            {
20055|      5|                switch (tag_handler)
20056|      5|                {
20057|      5|                    case cbor_tag_handler_t::error:
  ------------------
  |  Branch (20057:21): [True: 5, False: 0]
  ------------------
20058|      5|                    {
20059|      5|                        return unexpected_byte("invalid byte", "value");
20060|      0|                    }
20061|       |
20062|      0|                    case cbor_tag_handler_t::ignore:
  ------------------
  |  Branch (20062:21): [True: 0, False: 5]
  ------------------
20063|      0|                    {
20064|       |                        // ignore the tag's binary subtype argument
20065|      0|                        std::uint64_t subtype_to_ignore{};
20066|      0|                        if (!get_cbor_argument(subtype_to_ignore))
  ------------------
  |  Branch (20066:29): [True: 0, False: 0]
  ------------------
20067|      0|                        {
20068|      0|                            return false;
20069|      0|                        }
20070|       |                        // the tagged value follows; it is read by the loop in
20071|       |                        // parse_cbor_internal() rather than by recursing here
20072|      0|                        tag_pending = true;
20073|      0|                        return true;
20074|      0|                    }
20075|       |
20076|      0|                    case cbor_tag_handler_t::store:
  ------------------
  |  Branch (20076:21): [True: 0, False: 5]
  ------------------
20077|      0|                    {
20078|       |                        // use binary subtype and store in a binary container
20079|      0|                        std::uint64_t subtype{};
20080|      0|                        if (!get_cbor_argument(subtype))
  ------------------
  |  Branch (20080:29): [True: 0, False: 0]
  ------------------
20081|      0|                        {
20082|      0|                            return false;
20083|      0|                        }
20084|      0|                        binary_t b;
20085|      0|                        b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
20086|       |
20087|      0|                        get();
20088|       |                        // a byte string (the heads accepted by get_cbor_binary) keeps the tag as subtype
20089|      0|                        if ((current >= 0x40 && current <= 0x5B) || current == 0x5F)
  ------------------
  |  Branch (20089:30): [True: 0, False: 0]
  |  Branch (20089:49): [True: 0, False: 0]
  |  Branch (20089:69): [True: 0, False: 0]
  ------------------
20090|      0|                        {
20091|      0|                            return get_cbor_binary(b) && sax->binary(b);
  ------------------
  |  Branch (20091:36): [True: 0, False: 0]
  |  Branch (20091:58): [True: 0, False: 0]
  ------------------
20092|      0|                        }
20093|       |
20094|       |                        // not a byte string: the tagged value, whose first byte
20095|       |                        // was just read, is read by the caller like for ignore
20096|      0|                        tag_pending = true;
20097|      0|                        item_read = true;
20098|      0|                        return true;
20099|      0|                    }
20100|       |
20101|      0|                    default:                 // LCOV_EXCL_LINE
  ------------------
  |  Branch (20101:21): [True: 0, False: 5]
  ------------------
20102|      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 (20102:25): [Folded, False: 0]
  ------------------
20103|      0|                        return false;        // LCOV_EXCL_LINE
20104|      5|                }
20105|      5|            }
20106|       |
20107|  1.43k|            case 0xF4: // false
  ------------------
  |  Branch (20107:13): [True: 1.43k, False: 247k]
  ------------------
20108|  1.43k|                return sax->boolean(false);
20109|       |
20110|  2.28k|            case 0xF5: // true
  ------------------
  |  Branch (20110:13): [True: 2.28k, False: 246k]
  ------------------
20111|  2.28k|                return sax->boolean(true);
20112|       |
20113|  3.21k|            case 0xF6: // null
  ------------------
  |  Branch (20113:13): [True: 3.21k, False: 245k]
  ------------------
20114|  3.21k|                return sax->null();
20115|       |
20116|  7.08k|            case 0xF9: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (20116:13): [True: 7.08k, False: 241k]
  ------------------
20117|  7.08k|                return get_half_float(false);
20118|       |
20119|    558|            case 0xFA: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (20119:13): [True: 558, False: 248k]
  ------------------
20120|    558|                return get_cbor_float<float>();
20121|       |
20122|    919|            case 0xFB: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (20122:13): [True: 919, False: 247k]
  ------------------
20123|    919|                return get_cbor_float<double>();
20124|       |
20125|     58|            default: // anything else (0xFF is handled inside the other types)
  ------------------
  |  Branch (20125:13): [True: 58, False: 248k]
  ------------------
20126|     58|            {
20127|     58|                return unexpected_byte("invalid byte", "value");
20128|      5|            }
20129|   248k|        }
20130|   248k|    }
_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|    645|    {
23657|    645|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    645|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 645, False: 0]
  |  |  ------------------
  ------------------
23658|    645|        {
23659|    645|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    645|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    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_EEE13emit_unsignedItEEbT_:
23656|    661|    {
23657|    661|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    661|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 661, False: 0]
  |  |  ------------------
  ------------------
23658|    661|        {
23659|    661|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    661|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    661|    }
_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|    494|    {
23657|    494|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_unsigned_t>(number)))
  ------------------
  |  | 1696|    494|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 494, False: 0]
  |  |  ------------------
  ------------------
23658|    494|        {
23659|    494|            return sax->number_unsigned(static_cast<number_unsigned_t>(number));
23660|    494|        }
23661|       |        // std::isfinite has no integer overloads in MSVC's <cmath>
23662|      0|        return emit_float(static_cast<long double>(number));
23663|    494|    }
_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_EEE25get_cbor_negative_integerIhEEbv:
19724|    401|    {
19725|    401|        NumberType number{};
19726|    401|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 392, False: 9]
  |  Branch (19726:38): [True: 392, False: 0]
  ------------------
19727|    401|    }
_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_EEE26emit_cbor_negative_integerIhEEbT_:
19732|    653|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    653|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    653|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 653, False: 0]
  |  |  ------------------
  ------------------
19737|    653|        {
19738|    653|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    653|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    653|    }
_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_EEE25get_cbor_negative_integerItEEbv:
19724|    380|    {
19725|    380|        NumberType number{};
19726|    380|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 369, False: 11]
  |  Branch (19726:38): [True: 369, False: 0]
  ------------------
19727|    380|    }
_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_EEE26emit_cbor_negative_integerItEEbT_:
19732|    647|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    647|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    647|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 647, False: 0]
  |  |  ------------------
  ------------------
19737|    647|        {
19738|    647|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    647|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    647|    }
_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_EEE25get_cbor_negative_integerIjEEbv:
19724|    512|    {
19725|    512|        NumberType number{};
19726|    512|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 494, False: 18]
  |  Branch (19726:38): [True: 494, False: 0]
  ------------------
19727|    512|    }
_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_EEE26emit_cbor_negative_integerIjEEbT_:
19732|    640|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|    640|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|    640|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 640, False: 0]
  |  |  ------------------
  ------------------
19737|    640|        {
19738|    640|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    640|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|      0|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|    640|    }
_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_EEE25get_cbor_negative_integerImEEbv:
19724|    748|    {
19725|    748|        NumberType number{};
19726|    748|        return get_number(number) && emit_cbor_negative_integer(number);
  ------------------
  |  Branch (19726:16): [True: 729, False: 19]
  |  Branch (19726:38): [True: 729, False: 0]
  ------------------
19727|    748|    }
_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_EEE26emit_cbor_negative_integerImEEbT_:
19732|  1.19k|    {
19733|       |        // the value is -1 - number, which fits into number_integer_t
19734|       |        // whenever number does; the outer cast undoes the integral promotion
19735|       |        // for number_integer_t types narrower than int
19736|  1.19k|        if (JSON_HEDLEY_LIKELY(value_in_range_of<number_integer_t>(number)))
  ------------------
  |  | 1696|  1.19k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 771, False: 427]
  |  |  ------------------
  ------------------
19737|    771|        {
19738|    771|            return sax->number_integer(conditional_static_cast<number_integer_t>(static_cast<number_integer_t>(-1) - static_cast<number_integer_t>(number)));
19739|    771|        }
19740|       |
19741|       |        // like the lexer does for JSON text, store a value too small for
19742|       |        // number_integer_t as number_float_t; compute it as long double so
19743|       |        // that emit_float sees a finite value and can detect an overflow of
19744|       |        // number_float_t
19745|    427|        return emit_float(static_cast<long double>(-1) - static_cast<long double>(number));
19746|  1.19k|    }
_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_EEE15get_cbor_binaryERNS0_27byte_container_with_subtypeISF_EE:
20530|  30.5k|    {
20531|       |        // read chunks iteratively, but reject a second indefinite-length
20532|       |        // level as required by RFC 8949, Section 3.2.3
20533|  30.5k|        bool indefinite = false;
20534|       |
20535|  33.7k|        while (true)
  ------------------
  |  Branch (20535:16): [True: 33.1k, Folded]
  ------------------
20536|  33.1k|        {
20537|  33.1k|            if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("binary")))
  ------------------
  |  | 1697|  33.1k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 33.1k]
  |  |  ------------------
  ------------------
20538|      0|            {
20539|      0|                return false;
20540|      0|            }
20541|       |
20542|  33.1k|            if (current == 0x5F) // Binary data (indefinite length)
  ------------------
  |  Branch (20542:17): [True: 1.02k, False: 32.1k]
  ------------------
20543|  1.02k|            {
20544|  1.02k|                if (JSON_HEDLEY_UNLIKELY(indefinite))
  ------------------
  |  | 1697|  1.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 1.02k]
  |  |  ------------------
  ------------------
20545|      2|                {
20546|      2|                    return cbor_indefinite_string_error("binary array", "binary");
20547|      2|                }
20548|  1.02k|                indefinite = true;
20549|  1.02k|                get();
20550|  1.02k|                continue;
20551|  1.02k|            }
20552|       |
20553|       |            // a break marker closes the indefinite-length string; outside
20554|       |            // of one it falls through to the error below
20555|  32.1k|            if (indefinite && current == 0xFF)
  ------------------
  |  Branch (20555:17): [True: 2.59k, False: 29.5k]
  |  Branch (20555:31): [True: 926, False: 1.66k]
  ------------------
20556|    926|            {
20557|    926|                return true;
20558|    926|            }
20559|       |
20560|  31.2k|            if (JSON_HEDLEY_UNLIKELY(!get_cbor_binary_chunk(result, indefinite)))
  ------------------
  |  | 1697|  31.2k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 31.2k]
  |  |  ------------------
  ------------------
20561|      0|            {
20562|      0|                return false;
20563|      0|            }
20564|       |
20565|  31.2k|            if (!indefinite)
  ------------------
  |  Branch (20565:17): [True: 28.9k, False: 2.22k]
  ------------------
20566|  28.9k|            {
20567|  28.9k|                return true;
20568|  28.9k|            }
20569|       |
20570|  2.22k|            get();
20571|  2.22k|        }
20572|  30.5k|    }
_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_EEE21get_cbor_binary_chunkERNS0_27byte_container_with_subtypeISF_EEb:
20459|  31.1k|    {
20460|  31.1k|        switch (current)
20461|  31.1k|        {
20462|       |            // Binary data (0x00..0x17 bytes follow)
20463|  24.3k|            case 0x40:
  ------------------
  |  Branch (20463:13): [True: 24.3k, False: 6.85k]
  ------------------
20464|  25.7k|            case 0x41:
  ------------------
  |  Branch (20464:13): [True: 1.40k, False: 29.7k]
  ------------------
20465|  26.1k|            case 0x42:
  ------------------
  |  Branch (20465:13): [True: 392, False: 30.7k]
  ------------------
20466|  26.2k|            case 0x43:
  ------------------
  |  Branch (20466:13): [True: 127, False: 31.0k]
  ------------------
20467|  26.4k|            case 0x44:
  ------------------
  |  Branch (20467:13): [True: 237, False: 30.9k]
  ------------------
20468|  26.6k|            case 0x45:
  ------------------
  |  Branch (20468:13): [True: 125, False: 31.0k]
  ------------------
20469|  26.7k|            case 0x46:
  ------------------
  |  Branch (20469:13): [True: 122, False: 31.0k]
  ------------------
20470|  26.9k|            case 0x47:
  ------------------
  |  Branch (20470:13): [True: 186, False: 30.9k]
  ------------------
20471|  27.0k|            case 0x48:
  ------------------
  |  Branch (20471:13): [True: 145, False: 31.0k]
  ------------------
20472|  27.1k|            case 0x49:
  ------------------
  |  Branch (20472:13): [True: 118, False: 31.0k]
  ------------------
20473|  27.2k|            case 0x4A:
  ------------------
  |  Branch (20473:13): [True: 118, False: 31.0k]
  ------------------
20474|  27.4k|            case 0x4B:
  ------------------
  |  Branch (20474:13): [True: 126, False: 31.0k]
  ------------------
20475|  27.5k|            case 0x4C:
  ------------------
  |  Branch (20475:13): [True: 124, False: 31.0k]
  ------------------
20476|  27.6k|            case 0x4D:
  ------------------
  |  Branch (20476:13): [True: 117, False: 31.0k]
  ------------------
20477|  27.7k|            case 0x4E:
  ------------------
  |  Branch (20477:13): [True: 49, False: 31.1k]
  ------------------
20478|  27.7k|            case 0x4F:
  ------------------
  |  Branch (20478:13): [True: 50, False: 31.1k]
  ------------------
20479|  27.8k|            case 0x50:
  ------------------
  |  Branch (20479:13): [True: 105, False: 31.0k]
  ------------------
20480|  27.9k|            case 0x51:
  ------------------
  |  Branch (20480:13): [True: 55, False: 31.1k]
  ------------------
20481|  27.9k|            case 0x52:
  ------------------
  |  Branch (20481:13): [True: 53, False: 31.1k]
  ------------------
20482|  28.0k|            case 0x53:
  ------------------
  |  Branch (20482:13): [True: 54, False: 31.1k]
  ------------------
20483|  28.0k|            case 0x54:
  ------------------
  |  Branch (20483:13): [True: 48, False: 31.1k]
  ------------------
20484|  28.1k|            case 0x55:
  ------------------
  |  Branch (20484:13): [True: 61, False: 31.1k]
  ------------------
20485|  28.1k|            case 0x56:
  ------------------
  |  Branch (20485:13): [True: 57, False: 31.1k]
  ------------------
20486|  28.2k|            case 0x57:
  ------------------
  |  Branch (20486:13): [True: 62, False: 31.1k]
  ------------------
20487|  28.2k|            {
20488|  28.2k|                return get_binary(static_cast<unsigned int>(current) & 0x1Fu, result);
20489|  28.1k|            }
20490|       |
20491|    978|            case 0x58: // Binary data (one-byte uint8_t for n follows)
  ------------------
  |  Branch (20491:13): [True: 978, False: 30.1k]
  ------------------
20492|    978|            {
20493|    978|                return get_cbor_sized_bytes<std::uint8_t>("binary", result);
20494|  28.1k|            }
20495|       |
20496|    839|            case 0x59: // Binary data (two-byte uint16_t for n follow)
  ------------------
  |  Branch (20496:13): [True: 839, False: 30.3k]
  ------------------
20497|    839|            {
20498|    839|                return get_cbor_sized_bytes<std::uint16_t>("binary", result);
20499|  28.1k|            }
20500|       |
20501|    434|            case 0x5A: // Binary data (four-byte uint32_t for n follow)
  ------------------
  |  Branch (20501:13): [True: 434, False: 30.7k]
  ------------------
20502|    434|            {
20503|    434|                return get_cbor_sized_bytes<std::uint32_t>("binary", result);
20504|  28.1k|            }
20505|       |
20506|    647|            case 0x5B: // Binary data (eight-byte uint64_t for n follow)
  ------------------
  |  Branch (20506:13): [True: 647, False: 30.5k]
  ------------------
20507|    647|            {
20508|    647|                return get_cbor_sized_bytes<std::uint64_t>("binary", result);
20509|  28.1k|            }
20510|       |
20511|     25|            default:
  ------------------
  |  Branch (20511:13): [True: 25, False: 31.1k]
  ------------------
20512|     25|            {
20513|     25|                return last_byte_error(exception_id::invalid_string_or_size, "expected length specification (0x40-0x5B)", "binary", inside_indefinite ? "" : " or indefinite binary array type (0x5F)");
  ------------------
  |  Branch (20513:133): [True: 25, False: 0]
  ------------------
20514|  28.1k|            }
20515|  31.1k|        }
20516|  31.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_binaryIjEEbT_RNS0_27byte_container_with_subtypeISF_EE:
23867|  28.2k|    {
23868|  28.2k|        return get_bytes(len, "binary", result);
23869|  28.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_EEE9get_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|  28.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|  28.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|  28.6k|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 28.6k]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|  28.6k|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  32.4k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 4.02k, False: 28.3k]
  ------------------
23906|  4.02k|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|  4.02k|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 3.97k, False: 51]
  ------------------
23910|  4.02k|                                       ? static_cast<std::size_t>(len)
23911|  4.02k|                                       : chunk_size;
23912|  4.02k|            const std::size_t old_size = result.size();
23913|  4.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|  4.02k|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|  4.02k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 4.02k, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|  4.02k|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|  4.02k|            chars_read += bytes_read;
23921|  4.02k|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|  4.02k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 276, False: 3.74k]
  |  |  ------------------
  ------------------
23922|    276|            {
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|    276|                result.resize(old_size + bytes_read);
23927|    276|                ++chars_read;
23928|    276|                current = char_traits<char_type>::eof();
23929|    276|                return unexpect_eof(context);
23930|    276|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|  3.74k|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|  3.74k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 3.74k, False: 0]
  ------------------
23933|  3.74k|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|  3.74k|        }
23935|  28.3k|        return true;
23936|  28.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_EEE17append_from_blockIjNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|  28.6k|    {
23965|  28.6k|        return false;
23966|  28.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_EEE20get_cbor_sized_bytesIhNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    978|    {
20176|    978|        NumberType len{};
20177|    978|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 968, False: 10]
  |  Branch (20177:35): [True: 932, False: 36]
  ------------------
20178|    978|    }
_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|    968|    {
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|    968|        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|    968|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 968]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    968|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.47k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 542, False: 932]
  ------------------
23906|    542|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    542|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 542, False: 0]
  ------------------
23910|    542|                                       ? static_cast<std::size_t>(len)
23911|    542|                                       : chunk_size;
23912|    542|            const std::size_t old_size = result.size();
23913|    542|            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|    542|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    542|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 542, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    542|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    542|            chars_read += bytes_read;
23921|    542|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    542|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 36, False: 506]
  |  |  ------------------
  ------------------
23922|     36|            {
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|     36|                result.resize(old_size + bytes_read);
23927|     36|                ++chars_read;
23928|     36|                current = char_traits<char_type>::eof();
23929|     36|                return unexpect_eof(context);
23930|     36|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    506|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    506|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 506, False: 0]
  ------------------
23933|    506|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    506|        }
23935|    932|        return true;
23936|    968|    }
_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|    968|    {
23965|    968|        return false;
23966|    968|    }
_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_EEE20get_cbor_sized_bytesItNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    839|    {
20176|    839|        NumberType len{};
20177|    839|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 823, False: 16]
  |  Branch (20177:35): [True: 775, False: 48]
  ------------------
20178|    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_EEE9get_bytesItNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    823|    {
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|    823|        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|    823|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 823]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    823|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|  1.19k|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 420, False: 775]
  ------------------
23906|    420|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    420|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 403, False: 17]
  ------------------
23910|    420|                                       ? static_cast<std::size_t>(len)
23911|    420|                                       : chunk_size;
23912|    420|            const std::size_t old_size = result.size();
23913|    420|            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|    420|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    420|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 420, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    420|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    420|            chars_read += bytes_read;
23921|    420|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    420|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 48, False: 372]
  |  |  ------------------
  ------------------
23922|     48|            {
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|     48|                result.resize(old_size + bytes_read);
23927|     48|                ++chars_read;
23928|     48|                current = char_traits<char_type>::eof();
23929|     48|                return unexpect_eof(context);
23930|     48|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    372|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    372|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 372, False: 0]
  ------------------
23933|    372|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    372|        }
23935|    775|        return true;
23936|    823|    }
_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|    823|    {
23965|    823|        return false;
23966|    823|    }
_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_EEE20get_cbor_sized_bytesIjNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    434|    {
20176|    434|        NumberType len{};
20177|    434|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 417, False: 17]
  |  Branch (20177:35): [True: 334, False: 83]
  ------------------
20178|    434|    }
_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_EEE20get_cbor_sized_bytesImNS0_27byte_container_with_subtypeISF_EEEEbPKcRT0_:
20175|    647|    {
20176|    647|        NumberType len{};
20177|    647|        return get_number(len) && get_bytes(len, context, result);
  ------------------
  |  Branch (20177:16): [True: 622, False: 25]
  |  Branch (20177:35): [True: 492, False: 130]
  ------------------
20178|    647|    }
_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_bytesImNS0_27byte_container_with_subtypeISF_EEEEbT_PKcRT0_:
23893|    622|    {
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|    622|        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|    622|        if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
  ------------------
  |  Branch (23897:13): [True: 0, False: 622]
  ------------------
23898|      0|        {
23899|      0|            return true;
23900|      0|        }
23901|       |
23902|       |        // upper bound on the number of bytes read (and allocated) per chunk
23903|    622|        constexpr std::size_t chunk_size = 4096;
23904|       |
23905|    785|        while (len > 0)
  ------------------
  |  Branch (23905:16): [True: 293, False: 492]
  ------------------
23906|    293|        {
23907|       |            // number of bytes to read this iteration: min(chunk_size, len),
23908|       |            // computed without truncating chunk_size to a narrow NumberType
23909|    293|            const std::size_t wanted = (static_cast<std::uintmax_t>(len) < static_cast<std::uintmax_t>(chunk_size))
  ------------------
  |  Branch (23909:40): [True: 192, False: 101]
  ------------------
23910|    293|                                       ? static_cast<std::size_t>(len)
23911|    293|                                       : chunk_size;
23912|    293|            const std::size_t old_size = result.size();
23913|    293|            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|    293|            JSON_ASSERT(result.size() == old_size + wanted);
  ------------------
  |  | 2653|    293|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23916:13): [True: 293, False: 0]
  ------------------
23917|       |            // false positive: bytes_read is read on the next lines
23918|       |            // @infer-ignore DEAD_STORE
23919|    293|            const std::size_t bytes_read = ia.get_elements(&result[old_size], wanted);
23920|    293|            chars_read += bytes_read;
23921|    293|            if (JSON_HEDLEY_UNLIKELY(bytes_read < wanted))
  ------------------
  |  | 1697|    293|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 130, False: 163]
  |  |  ------------------
  ------------------
23922|    130|            {
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|    130|                result.resize(old_size + bytes_read);
23927|    130|                ++chars_read;
23928|    130|                current = char_traits<char_type>::eof();
23929|    130|                return unexpect_eof(context);
23930|    130|            }
23931|       |            // a full chunk was read; get_elements() never returns more than requested
23932|    163|            JSON_ASSERT(bytes_read == wanted);
  ------------------
  |  | 2653|    163|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23932:13): [True: 163, False: 0]
  ------------------
23933|    163|            len = static_cast<NumberType>(len - static_cast<NumberType>(wanted));
23934|    163|        }
23935|    492|        return true;
23936|    622|    }
_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_blockImNS0_27byte_container_with_subtypeISF_EEEEbT_RT0_NS4_17integral_constantIbLb0EEE:
23964|    622|    {
23965|    622|        return false;
23966|    622|    }
_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_EEE16enter_cbor_arrayEm:
20818|   110k|    {
20819|   110k|        return enter_array(len) && (len <= 1 || parse_cbor_scalar_run(std::integral_constant<bool, bulk_scan> {}));
  ------------------
  |  Branch (20819:16): [True: 110k, False: 133]
  |  Branch (20819:37): [True: 95.6k, False: 14.9k]
  |  Branch (20819:49): [True: 14.9k, False: 0]
  ------------------
20820|   110k|    }
_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_EEE21parse_cbor_scalar_runENS4_17integral_constantIbLb1EEE:
20713|  14.9k|    {
20714|       |        // nothing pushes onto the stack while the run reads scalars
20715|  14.9k|        std::size_t& remaining = container_stack.back().remaining;
20716|  25.9k|        while (remaining != 0 && ia.bulk_remaining() >= 9)
  ------------------
  |  Branch (20716:16): [True: 25.4k, False: 497]
  |  Branch (20716:34): [True: 22.4k, False: 3.01k]
  ------------------
20717|  22.4k|        {
20718|  22.4k|            const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
20719|  22.4k|            const unsigned char head = data[0];
20720|  22.4k|            bool accepted = false;
20721|  22.4k|            switch (head)
20722|  22.4k|            {
20723|    254|                case 0x18:
  ------------------
  |  Branch (20723:17): [True: 254, False: 22.1k]
  ------------------
20724|    254|                    bulk_advance(2, head);
20725|    254|                    accepted = emit_unsigned(data[1]);
20726|    254|                    break;
20727|    271|                case 0x19:
  ------------------
  |  Branch (20727:17): [True: 271, False: 22.1k]
  ------------------
20728|    271|                    bulk_advance(3, head);
20729|    271|                    accepted = emit_unsigned(load_big_endian<std::uint16_t>(data + 1));
20730|    271|                    break;
20731|    122|                case 0x1A:
  ------------------
  |  Branch (20731:17): [True: 122, False: 22.2k]
  ------------------
20732|    122|                    bulk_advance(5, head);
20733|    122|                    accepted = emit_unsigned(load_big_endian<std::uint32_t>(data + 1));
20734|    122|                    break;
20735|    272|                case 0x1B:
  ------------------
  |  Branch (20735:17): [True: 272, False: 22.1k]
  ------------------
20736|    272|                    bulk_advance(9, head);
20737|    272|                    accepted = emit_unsigned(load_big_endian<std::uint64_t>(data + 1));
20738|    272|                    break;
20739|    261|                case 0x38:
  ------------------
  |  Branch (20739:17): [True: 261, False: 22.1k]
  ------------------
20740|    261|                    bulk_advance(2, head);
20741|    261|                    accepted = emit_cbor_negative_integer(data[1]);
20742|    261|                    break;
20743|    278|                case 0x39:
  ------------------
  |  Branch (20743:17): [True: 278, False: 22.1k]
  ------------------
20744|    278|                    bulk_advance(3, head);
20745|    278|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint16_t>(data + 1));
20746|    278|                    break;
20747|    146|                case 0x3A:
  ------------------
  |  Branch (20747:17): [True: 146, False: 22.2k]
  ------------------
20748|    146|                    bulk_advance(5, head);
20749|    146|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint32_t>(data + 1));
20750|    146|                    break;
20751|    469|                case 0x3B:
  ------------------
  |  Branch (20751:17): [True: 469, False: 21.9k]
  ------------------
20752|    469|                    bulk_advance(9, head);
20753|    469|                    accepted = emit_cbor_negative_integer(load_big_endian<std::uint64_t>(data + 1));
20754|    469|                    break;
20755|    464|                case 0xF4:
  ------------------
  |  Branch (20755:17): [True: 464, False: 21.9k]
  ------------------
20756|    464|                    bulk_advance(1, head);
20757|    464|                    accepted = sax->boolean(false);
20758|    464|                    break;
20759|    588|                case 0xF5:
  ------------------
  |  Branch (20759:17): [True: 588, False: 21.8k]
  ------------------
20760|    588|                    bulk_advance(1, head);
20761|    588|                    accepted = sax->boolean(true);
20762|    588|                    break;
20763|    948|                case 0xF6:
  ------------------
  |  Branch (20763:17): [True: 948, False: 21.4k]
  ------------------
20764|    948|                    bulk_advance(1, head);
20765|    948|                    accepted = sax->null();
20766|    948|                    break;
20767|    130|                case 0xFA:
  ------------------
  |  Branch (20767:17): [True: 130, False: 22.2k]
  ------------------
20768|    130|                    bulk_advance(5, head);
20769|    130|                    accepted = emit_float(load_big_endian<float>(data + 1));
20770|    130|                    break;
20771|    153|                case 0xFB:
  ------------------
  |  Branch (20771:17): [True: 153, False: 22.2k]
  ------------------
20772|    153|                    bulk_advance(9, head);
20773|    153|                    accepted = emit_float(load_big_endian<double>(data + 1));
20774|    153|                    break;
20775|  18.0k|                default:
  ------------------
  |  Branch (20775:17): [True: 18.0k, False: 4.35k]
  ------------------
20776|  18.0k|                    if (head <= 0x17)
  ------------------
  |  Branch (20776:25): [True: 4.72k, False: 13.3k]
  ------------------
20777|  4.72k|                    {
20778|  4.72k|                        bulk_advance(1, head);
20779|  4.72k|                        accepted = sax->number_unsigned(static_cast<number_unsigned_t>(head));
20780|  4.72k|                    }
20781|  13.3k|                    else if (head >= 0x20 && head <= 0x37)
  ------------------
  |  Branch (20781:30): [True: 13.3k, False: 2]
  |  Branch (20781:46): [True: 1.89k, False: 11.4k]
  ------------------
20782|  1.89k|                    {
20783|  1.89k|                        bulk_advance(1, head);
20784|  1.89k|                        accepted = sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - head));
20785|  1.89k|                    }
20786|  11.4k|                    else
20787|  11.4k|                    {
20788|       |                        // any other value is read by parse_cbor_value
20789|  11.4k|                        return true;
20790|  11.4k|                    }
20791|  6.62k|                    break;
20792|  22.4k|            }
20793|  10.9k|            --remaining;
20794|  10.9k|            if (JSON_HEDLEY_UNLIKELY(!accepted))
  ------------------
  |  | 1697|  10.9k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 10.9k]
  |  |  ------------------
  ------------------
20795|      0|            {
20796|      0|                return false;
20797|      0|            }
20798|  10.9k|        }
20799|  3.51k|        return true;
20800|  14.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_EEE12bulk_advanceEmh:
20689|  10.9k|    {
20690|  10.9k|        ia.bulk_skip(size);
20691|  10.9k|        chars_read += size;
20692|  10.9k|        current = head;
20693|  10.9k|    }
_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|    549|    {
20671|    549|        NumberType result{};
20672|    549|        std::memcpy(&result, data, sizeof(NumberType));
20673|    549|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 549, False: 0]
  ------------------
20674|    549|        {
20675|    549|            byte_swap(result);
20676|    549|        }
20677|    549|        return result;
20678|    549|    }
_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|    268|    {
20671|    268|        NumberType result{};
20672|    268|        std::memcpy(&result, data, sizeof(NumberType));
20673|    268|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 268, False: 0]
  ------------------
20674|    268|        {
20675|    268|            byte_swap(result);
20676|    268|        }
20677|    268|        return result;
20678|    268|    }
_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|    741|    {
20671|    741|        NumberType result{};
20672|    741|        std::memcpy(&result, data, sizeof(NumberType));
20673|    741|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 741, False: 0]
  ------------------
20674|    741|        {
20675|    741|            byte_swap(result);
20676|    741|        }
20677|    741|        return result;
20678|    741|    }
_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|    673|    {
23683|    673|        const auto result = static_cast<number_float_t>(number);
23684|    673|        if (JSON_HEDLEY_UNLIKELY(std::isfinite(number) && !std::isfinite(result)))
  ------------------
  |  | 1697|  1.33k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 673]
  |  |  |  Branch (1697:94): [True: 661, False: 12]
  |  |  |  Branch (1697:94): [True: 0, False: 661]
  |  |  ------------------
  ------------------
23685|      0|        {
23686|      0|            return out_of_range_error(exception_id::number_overflow, "number overflow", "value");
23687|      0|        }
23688|    673|        return sax->number_float(result, no_source);
23689|    673|    }
_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|    130|    {
20671|    130|        NumberType result{};
20672|    130|        std::memcpy(&result, data, sizeof(NumberType));
20673|    130|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 130, False: 0]
  ------------------
20674|    130|        {
20675|    130|            byte_swap(result);
20676|    130|        }
20677|    130|        return result;
20678|    130|    }
_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|    673|    {
23546|    673|        static_assert(sizeof(float) == sizeof(std::uint32_t), "float must have 32 bits");
23547|    673|        std::uint32_t bits{};
23548|    673|        std::memcpy(&bits, &number, sizeof(bits));
23549|    673|        bits = byteswap(bits);
23550|    673|        std::memcpy(&number, &bits, sizeof(bits));
23551|    673|    }
_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|    153|    {
20671|    153|        NumberType result{};
20672|    153|        std::memcpy(&result, data, sizeof(NumberType));
20673|    153|        if (is_little_endian)
  ------------------
  |  Branch (20673:13): [True: 153, False: 0]
  ------------------
20674|    153|        {
20675|    153|            byte_swap(result);
20676|    153|        }
20677|    153|        return result;
20678|    153|    }
_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|  4.89k|    {
20657|  4.89k|        if (JSON_HEDLEY_UNLIKELY(!value_in_range_of<std::size_t>(len) || len == detail::unknown_size()))
  ------------------
  |  | 1697|  9.79k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 2, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 0, False: 4.89k]
  |  |  |  Branch (1697:94): [True: 2, False: 4.89k]
  |  |  ------------------
  ------------------
20658|      2|        {
20659|      2|            return container_size_error(context);
20660|      2|        }
20661|  4.89k|        result = conditional_static_cast<std::size_t>(len);
20662|  4.89k|        return true;
20663|  4.89k|    }
_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_EEE20container_size_errorEPKc:
24007|      2|    {
24008|      2|        return sax->parse_error(chars_read, get_token_string(), out_of_range::create(exception_id::container_too_large,
24009|      2|                                exception_message(concat("excessive ", what, " size"), "size"), nullptr));
24010|      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_EEE11enter_arrayEmi:
19213|   117k|    {
19214|   117k|        return enter_container(/*is_object*/false, len, type_marker);
19215|   117k|    }
_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|  24.3k|    {
19220|  24.3k|        return enter_container(/*is_object*/true, len, type_marker);
19221|  24.3k|    }
_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|     93|    {
24070|     93|        return last_byte_error(exception_id::unexpected_byte, concat(detail, ": 0x", get_token_string()), context);
24071|     93|    }
_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_EEE14get_half_floatEb:
23702|  7.08k|    {
23703|  7.08k|        const auto byte1_raw = get();
23704|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23705|      0|        {
23706|      0|            return false;
23707|      0|        }
23708|  7.08k|        const auto byte2_raw = get();
23709|  7.08k|        if (JSON_HEDLEY_UNLIKELY(!unexpect_eof("number")))
  ------------------
  |  | 1697|  7.08k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 7.08k]
  |  |  ------------------
  ------------------
23710|      0|        {
23711|      0|            return false;
23712|      0|        }
23713|       |
23714|  7.08k|        const auto byte1 = static_cast<unsigned char>(byte1_raw);
23715|  7.08k|        const auto byte2 = static_cast<unsigned char>(byte2_raw);
23716|       |
23717|       |        // Code from RFC 8949, Appendix D, Figure 3:
23718|       |        // As half-precision floating-point numbers were only added
23719|       |        // to IEEE 754 in 2008, today's programming platforms often
23720|       |        // still only have limited support for them. It is very
23721|       |        // easy to include at least decoding support for them even
23722|       |        // without such support. An example of a small decoder for
23723|       |        // half-precision floating-point numbers in the C language
23724|       |        // is shown in Fig. 3.
23725|  7.08k|        const auto half = little_endian
  ------------------
  |  Branch (23725:27): [True: 0, False: 7.08k]
  ------------------
23726|  7.08k|                          ? static_cast<unsigned int>((byte2 << 8u) + byte1)
23727|  7.08k|                          : static_cast<unsigned int>((byte1 << 8u) + byte2);
23728|  7.08k|        const double val = [&half]
23729|  7.08k|        {
23730|  7.08k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.08k|            const unsigned int mant = half & 0x3FFu;
23732|  7.08k|            JSON_ASSERT(exp <= 31);
23733|  7.08k|            JSON_ASSERT(mant <= 1023);
23734|  7.08k|            switch (exp)
23735|  7.08k|            {
23736|  7.08k|                case 0:
23737|  7.08k|                    return std::ldexp(mant, -24);
23738|  7.08k|                case 31:
23739|  7.08k|                    return (mant == 0)
23740|  7.08k|                    ? std::numeric_limits<double>::infinity()
23741|  7.08k|                    : std::numeric_limits<double>::quiet_NaN();
23742|  7.08k|                default:
23743|  7.08k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.08k|            }
23745|  7.08k|        }();
23746|  7.08k|        return sax->number_float((half & 0x8000u) != 0
  ------------------
  |  Branch (23746:34): [True: 4.30k, False: 2.78k]
  ------------------
23747|  7.08k|                                 ? static_cast<number_float_t>(-val)
23748|  7.08k|                                 : static_cast<number_float_t>(val), no_source);
23749|  7.08k|    }
_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_EEE14get_half_floatEbENKUlvE_clEv:
23729|  7.06k|        {
23730|  7.06k|            const int exp = (half >> 10u) & 0x1Fu;
23731|  7.06k|            const unsigned int mant = half & 0x3FFu;
23732|  7.06k|            JSON_ASSERT(exp <= 31);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23732:13): [True: 7.06k, False: 0]
  ------------------
23733|  7.06k|            JSON_ASSERT(mant <= 1023);
  ------------------
  |  | 2653|  7.06k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (23733:13): [True: 7.06k, False: 0]
  ------------------
23734|  7.06k|            switch (exp)
23735|  7.06k|            {
23736|  1.36k|                case 0:
  ------------------
  |  Branch (23736:17): [True: 1.36k, False: 5.69k]
  ------------------
23737|  1.36k|                    return std::ldexp(mant, -24);
23738|    955|                case 31:
  ------------------
  |  Branch (23738:17): [True: 955, False: 6.10k]
  ------------------
23739|    955|                    return (mant == 0)
  ------------------
  |  Branch (23739:28): [True: 485, False: 470]
  ------------------
23740|    955|                    ? std::numeric_limits<double>::infinity()
23741|    955|                    : std::numeric_limits<double>::quiet_NaN();
23742|  4.73k|                default:
  ------------------
  |  Branch (23742:17): [True: 4.73k, False: 2.32k]
  ------------------
23743|  4.73k|                    return std::ldexp(mant + 1024, exp - 25);
23744|  7.06k|            }
23745|  7.06k|        }();
_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_EEE14get_cbor_floatIfEEbv:
20135|    558|    {
20136|    558|        NumberType number{};
20137|    558|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 543, False: 15]
  |  Branch (20137:38): [True: 543, False: 0]
  ------------------
20138|    558|    }
_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|    558|    {
23597|       |        // read in the original format
23598|       |
23599|    558|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    558|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 558]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    558|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 543, False: 15]
  |  Branch (23603:34): [Folded, False: 543]
  |  Branch (23603:57): [True: 0, False: 543]
  ------------------
23604|    543|        {
23605|    543|            byte_swap(result);
23606|    543|        }
23607|    558|        return true;
23608|    558|    }
_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|    558|    {
23504|       |        // false positive: new_chars_read is read on the next lines
23505|       |        // @infer-ignore DEAD_STORE
23506|    558|        auto new_chars_read = ia.get_elements(&dest);
23507|    558|        chars_read += new_chars_read;
23508|    558|        if (JSON_HEDLEY_UNLIKELY(new_chars_read < sizeof(T)))
  ------------------
  |  | 1697|    558|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 15, False: 543]
  |  |  ------------------
  ------------------
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|    543|        return true;
23516|    558|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter12get_elementsIfEEmPT_m:
 9597|    558|    {
 9598|    558|        return fread(dest, 1, sizeof(T) * count, m_file);
 9599|    558|    }
_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_EEE14get_cbor_floatIdEEbv:
20135|    919|    {
20136|    919|        NumberType number{};
20137|    919|        return get_number(number) && emit_float(number);
  ------------------
  |  Branch (20137:16): [True: 900, False: 19]
  |  Branch (20137:38): [True: 900, False: 0]
  ------------------
20138|    919|    }
_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|    919|    {
23597|       |        // read in the original format
23598|       |
23599|    919|        if (JSON_HEDLEY_UNLIKELY(!get_to(result, "number")))
  ------------------
  |  | 1697|    919|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1697:57): [True: 0, False: 919]
  |  |  ------------------
  ------------------
23600|      0|        {
23601|      0|            return false;
23602|      0|        }
23603|    919|        if (is_little_endian != (InputIsLittleEndian || input_format == input_format_t::bjdata))
  ------------------
  |  Branch (23603:13): [True: 900, False: 19]
  |  Branch (23603:34): [Folded, False: 900]
  |  Branch (23603:57): [True: 0, False: 900]
  ------------------
23604|    900|        {
23605|    900|            byte_swap(result);
23606|    900|        }
23607|    919|        return true;
23608|    919|    }
_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|    330|    {
24056|       |        // with a tail, the message reads "<detail><tail>; last byte: 0x<token>"
24057|    330|        return sax->parse_error(chars_read, get_token_string(), parse_error::create(id_, chars_read,
24058|    330|                                exception_message(tail == nullptr ? detail : concat(detail, tail, "; last byte: 0x", get_token_string()), context), nullptr));
  ------------------
  |  Branch (24058:51): [True: 96, False: 234]
  ------------------
24059|    330|    }
_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|   310k|    {
23489|   310k|        ++chars_read;
23490|   310k|        return current = ia.get_character();
23491|   310k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter13get_characterEv:
 9568|   310k|    {
 9569|       |        // what getc_unlocked() does, while the buffer has characters
 9570|   310k|        const char* const next = buffer_ptr();
 9571|   310k|        if (JSON_HEDLEY_LIKELY(next != buffer_end()))
  ------------------
  |  | 1696|   310k|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1696:57): [True: 294k, False: 15.9k]
  |  |  ------------------
  ------------------
 9572|   294k|        {
 9573|   294k|            current_in_buffer = true;
 9574|   294k|            buffer_bump(1);
 9575|   294k|            return std::char_traits<char>::to_int_type(*next);
 9576|   294k|        }
 9577|  15.9k|        return get_character_slow();
 9578|   310k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter18get_character_slowEv:
 9706|  15.9k|    {
 9707|  15.9k|        if (token_segment != nullptr)
  ------------------
  |  Branch (9707:13): [True: 0, False: 15.9k]
  ------------------
 9708|      0|        {
 9709|      0|            token_carry.append(token_segment, buffer_end());
 9710|      0|            token_segment = nullptr;
 9711|      0|        }
 9712|  15.9k|        const auto res = getc_unlocked(m_file);
 9713|  15.9k|        if (res == EOF)
  ------------------
  |  Branch (9713:13): [True: 6.93k, False: 9.02k]
  ------------------
 9714|  6.93k|        {
 9715|  6.93k|            current_in_buffer = false;
 9716|  6.93k|            return std::char_traits<char>::eof();
 9717|  6.93k|        }
 9718|       |        // the character was taken from the refilled buffer, at buffer_ptr() - 1
 9719|  9.02k|        current_in_buffer = true;
 9720|  9.02k|        if (tracking_token)
  ------------------
  |  Branch (9720:13): [True: 0, False: 9.02k]
  ------------------
 9721|      0|        {
 9722|      0|            token_segment = buffer_ptr() - 1;
 9723|      0|        }
 9724|  9.02k|        return res;
 9725|  15.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.02k|        {
19135|  9.02k|            if (parser != nullptr)
  ------------------
  |  Branch (19135:17): [True: 9.02k, False: 0]
  ------------------
19136|  9.02k|            {
19137|  9.02k|                parser->set_reserve_state(saved);
19138|  9.02k|            }
19139|  9.02k|        }
_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.02k|    ~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.02k|    ~json_sax_dom_binary_parser() = default;
_ZN8nlohmann16json_abi_v3_12_06detail13input_adapterEP8_IO_FILE:
10862|  9.02k|{
10863|  9.02k|    if (file == nullptr)
  ------------------
  |  Branch (10863:9): [True: 0, False: 9.02k]
  ------------------
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.02k|    return file_input_adapter(file);
10868|  9.02k|}
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterC2EP8_IO_FILE:
 9539|  9.02k|        : m_file(f)
 9540|  9.02k|    {
 9541|  9.02k|        JSON_ASSERT(m_file != nullptr);
  ------------------
  |  | 2653|  9.02k|    #define JSON_ASSERT(x) assert(x)
  ------------------
  |  Branch (9541:9): [True: 9.02k, False: 0]
  ------------------
 9542|  9.02k|        lock();
 9543|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter4lockEv:
 9733|  9.02k|    {
 9734|  9.02k|#if JSON_UNLOCKED_FILE_IO == 1
 9735|  9.02k|        flockfile(m_file);
 9736|       |#elif JSON_UNLOCKED_FILE_IO == 2
 9737|       |        _lock_file(m_file);
 9738|       |#endif
 9739|  9.02k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapterD2Ev:
 9562|  18.0k|    {
 9563|  18.0k|        unlock();
 9564|  18.0k|    }
_ZN8nlohmann16json_abi_v3_12_06detail18file_input_adapter6unlockEv:
 9742|  18.0k|    {
 9743|       |        // a moved-from adapter has no file and holds no lock
 9744|  18.0k|        if (m_file == nullptr)
  ------------------
  |  Branch (9744:13): [True: 9.02k, False: 9.02k]
  ------------------
 9745|  9.02k|        {
 9746|  9.02k|            return;
 9747|  9.02k|        }
 9748|  9.02k|#if JSON_UNLOCKED_FILE_IO == 1
 9749|  9.02k|        funlockfile(m_file);
 9750|       |#elif JSON_UNLOCKED_FILE_IO == 2
 9751|       |        _unlock_file(m_file);
 9752|       |#endif
 9753|  9.02k|    }

LLVMFuzzerTestOneInput:
   46|  9.02k|{
   47|  9.02k|    std::vector<uint8_t> const vec1(data, data + size);
   48|       |
   49|       |    // step 0: parse input without exceptions
   50|  9.02k|    bool noexcept_threw = false;
   51|  9.02k|    json const j_noexcept = parse_without_exceptions([&] { return json::from_cbor(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.02k|    bool parsed = false;
   55|       |
   56|  9.02k|    try
   57|  9.02k|    {
   58|       |        // step 1: parse input
   59|  9.02k|        json const j1 = json::from_cbor(vec1);
   60|  9.02k|        parsed = true;
   61|       |
   62|       |        // without exceptions, the same input must give the same value
   63|  9.02k|        assert(!noexcept_threw && !j_noexcept.is_discarded() && same_value(j_noexcept, j1));
  ------------------
  |  Branch (63:9): [True: 4.46k, False: 4.55k]
  |  Branch (63:9): [True: 4.46k, False: 0]
  |  Branch (63:9): [True: 4.46k, False: 0]
  |  Branch (63:9): [True: 4.46k, False: 4.55k]
  ------------------
   64|       |
   65|  4.46k|        try
   66|  4.46k|        {
   67|       |            // step 2: round trip
   68|  4.46k|            std::vector<uint8_t> const vec2 = json::to_cbor(j1);
   69|       |
   70|       |            // parse serialization
   71|  4.46k|            json const j2 = json::from_cbor(vec2);
   72|       |
   73|       |            // serializations must match
   74|  4.46k|            assert(json::to_cbor(j2) == vec2);
  ------------------
  |  Branch (74:13): [True: 4.46k, False: 0]
  ------------------
   75|  4.46k|        }
   76|  4.46k|        catch (const json::parse_error&)
   77|  4.46k|        {
   78|       |            // parsing a CBOR serialization must not fail
   79|      0|            assert(false);
  ------------------
  |  Branch (79:13): [Folded, False: 0]
  ------------------
   80|      0|        }
   81|  4.46k|    }
   82|  9.02k|    catch (const json::parse_error&)
   83|  9.02k|    {
   84|       |        // parse errors are ok, because input may be random bytes
   85|  4.28k|        assert(parsed || noexcept_threw || j_noexcept.is_discarded());
  ------------------
  |  Branch (85:9): [True: 0, False: 4.28k]
  |  Branch (85:9): [True: 0, False: 4.28k]
  |  Branch (85:9): [True: 4.28k, False: 0]
  |  Branch (85:9): [True: 4.28k, False: 0]
  ------------------
   86|  4.28k|    }
   87|  9.02k|    catch (const json::type_error&)
   88|  9.02k|    {
   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.02k|    catch (const json::out_of_range&)
   93|  9.02k|    {
   94|       |        // out of range errors can occur during parsing, too
   95|    278|        assert(parsed || noexcept_threw || j_noexcept.is_discarded());
  ------------------
  |  Branch (95:9): [True: 0, False: 278]
  |  Branch (95:9): [True: 0, False: 278]
  |  Branch (95:9): [True: 278, False: 0]
  |  Branch (95:9): [True: 278, False: 0]
  ------------------
   96|    278|    }
   97|       |
   98|       |    // step 3: the other input adapters must read the data alike
   99|  9.02k|    check_input_adapters(data, size, read_cbor());
  100|       |
  101|       |    // return 0 - non-zero return values are reserved for future use
  102|  9.02k|    return 0;
  103|  9.02k|}
fuzzer-parse_cbor.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clEv:
   51|  9.02k|    json const j_noexcept = parse_without_exceptions([&] { return json::from_cbor(vec1, true, false); }, noexcept_threw);
fuzzer-parse_cbor.cpp:_ZNK12_GLOBAL__N_19read_cborclIJRPKhS3_EEEN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS8_6vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSE_NS6_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.02k|    {
   39|  9.02k|        return json::from_cbor(std::forward<Args>(args)...);
   40|  9.02k|    }
fuzzer-parse_cbor.cpp:_ZNK12_GLOBAL__N_19read_cborclIJRNSt3__119basic_istringstreamIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEN8nlohmann16json_abi_v3_12_010basic_jsonINS2_3mapENS2_6vectorENS2_12basic_stringIcS5_S7_EEblmdS6_NSB_14adl_serializerENSE_IhNS6_IhEEEEvEEDpOT_:
   38|  9.02k|    {
   39|  9.02k|        return json::from_cbor(std::forward<Args>(args)...);
   40|  9.02k|    }
fuzzer-parse_cbor.cpp:_ZNK12_GLOBAL__N_19read_cborclIJNSt3__121__list_const_iteratorIhPvEES5_EEEN8nlohmann16json_abi_v3_12_010basic_jsonINS2_3mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdSE_NS7_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.02k|    {
   39|  9.02k|        return json::from_cbor(std::forward<Args>(args)...);
   40|  9.02k|    }
fuzzer-parse_cbor.cpp:_ZNK12_GLOBAL__N_19read_cborclIJRP8_IO_FILEEEEN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS8_6vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSE_NS6_14adl_serializerENSA_IhNSE_IhEEEEvEEDpOT_:
   38|  9.02k|    {
   39|  9.02k|        return json::from_cbor(std::forward<Args>(args)...);
   40|  9.02k|    }

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

